blob: 941d10408a041e566188b2c0f14b9883a69d158c [file] [log] [blame]
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers
2
3
4import pybindgen.settings
5import warnings
6
7class ErrorHandler(pybindgen.settings.ErrorHandler):
8 def handle_error(self, wrapper, exception, traceback_):
9 warnings.warn("exception %r in wrapper %s" % (exception, wrapper))
10 return True
11pybindgen.settings.error_handler = ErrorHandler()
12
13
14import sys
15
16def module_init():
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -070017 root_module = Module('ns.ndnSIM', cpp_namespace='::ns3')
Alexander Afanasyev381dea02011-11-03 08:33:26 -070018 return root_module
19
20def register_types(module):
21 root_module = module.get_root()
22
Alexander Afanasyev381dea02011-11-03 08:33:26 -070023 ## address.h (module 'network'): ns3::Address [class]
24 module.add_class('Address', import_from_module='ns.network')
25 ## address.h (module 'network'): ns3::Address::MaxSize_e [enumeration]
26 module.add_enum('MaxSize_e', ['MAX_SIZE'], outer_class=root_module['ns3::Address'], import_from_module='ns.network')
27 ## application-container.h (module 'network'): ns3::ApplicationContainer [class]
28 module.add_class('ApplicationContainer', import_from_module='ns.network')
Alexander Afanasyev381dea02011-11-03 08:33:26 -070029 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class]
30 module.add_class('AttributeConstructionList', import_from_module='ns.core')
31 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct]
32 module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList'])
33 ## buffer.h (module 'network'): ns3::Buffer [class]
34 module.add_class('Buffer', import_from_module='ns.network')
35 ## buffer.h (module 'network'): ns3::Buffer::Iterator [class]
36 module.add_class('Iterator', import_from_module='ns.network', outer_class=root_module['ns3::Buffer'])
37 ## packet.h (module 'network'): ns3::ByteTagIterator [class]
38 module.add_class('ByteTagIterator', import_from_module='ns.network')
39 ## packet.h (module 'network'): ns3::ByteTagIterator::Item [class]
40 module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::ByteTagIterator'])
41 ## byte-tag-list.h (module 'network'): ns3::ByteTagList [class]
42 module.add_class('ByteTagList', import_from_module='ns.network')
43 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator [class]
44 module.add_class('Iterator', import_from_module='ns.network', outer_class=root_module['ns3::ByteTagList'])
45 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item [struct]
46 module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::ByteTagList::Iterator'])
47 ## callback.h (module 'core'): ns3::CallbackBase [class]
48 module.add_class('CallbackBase', import_from_module='ns.core')
Alexander Afanasyev381dea02011-11-03 08:33:26 -070049 ## event-id.h (module 'core'): ns3::EventId [class]
50 module.add_class('EventId', import_from_module='ns.core')
51 ## ipv4-address.h (module 'network'): ns3::Ipv4Address [class]
52 module.add_class('Ipv4Address', import_from_module='ns.network')
53 ## ipv4-address.h (module 'network'): ns3::Ipv4Address [class]
54 root_module['ns3::Ipv4Address'].implicitly_converts_to(root_module['ns3::Address'])
55 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask [class]
56 module.add_class('Ipv4Mask', import_from_module='ns.network')
57 ## ipv6-address.h (module 'network'): ns3::Ipv6Address [class]
58 module.add_class('Ipv6Address', import_from_module='ns.network')
59 ## ipv6-address.h (module 'network'): ns3::Ipv6Address [class]
60 root_module['ns3::Ipv6Address'].implicitly_converts_to(root_module['ns3::Address'])
61 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix [class]
62 module.add_class('Ipv6Prefix', import_from_module='ns.network')
Alexander Afanasyev29c19b92012-09-03 23:46:41 -070063 ## net-device-container.h (module 'network'): ns3::NetDeviceContainer [class]
64 module.add_class('NetDeviceContainer', import_from_module='ns.network')
Alexander Afanasyev381dea02011-11-03 08:33:26 -070065 ## node-container.h (module 'network'): ns3::NodeContainer [class]
66 module.add_class('NodeContainer', import_from_module='ns.network')
67 ## object-base.h (module 'core'): ns3::ObjectBase [class]
68 module.add_class('ObjectBase', allow_subclassing=True, import_from_module='ns.core')
69 ## object.h (module 'core'): ns3::ObjectDeleter [struct]
70 module.add_class('ObjectDeleter', import_from_module='ns.core')
71 ## object-factory.h (module 'core'): ns3::ObjectFactory [class]
72 module.add_class('ObjectFactory', import_from_module='ns.core')
73 ## packet-metadata.h (module 'network'): ns3::PacketMetadata [class]
74 module.add_class('PacketMetadata', import_from_module='ns.network')
75 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item [struct]
76 module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::PacketMetadata'])
77 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item [enumeration]
78 module.add_enum('', ['PAYLOAD', 'HEADER', 'TRAILER'], outer_class=root_module['ns3::PacketMetadata::Item'], import_from_module='ns.network')
79 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator [class]
80 module.add_class('ItemIterator', import_from_module='ns.network', outer_class=root_module['ns3::PacketMetadata'])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -070081 ## packet.h (module 'network'): ns3::PacketTagIterator [class]
82 module.add_class('PacketTagIterator', import_from_module='ns.network')
83 ## packet.h (module 'network'): ns3::PacketTagIterator::Item [class]
84 module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::PacketTagIterator'])
85 ## packet-tag-list.h (module 'network'): ns3::PacketTagList [class]
86 module.add_class('PacketTagList', import_from_module='ns.network')
87 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData [struct]
88 module.add_class('TagData', import_from_module='ns.network', outer_class=root_module['ns3::PacketTagList'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -070089 ## random-variable.h (module 'core'): ns3::RandomVariable [class]
90 module.add_class('RandomVariable', import_from_module='ns.core')
91 ## rng-seed-manager.h (module 'core'): ns3::RngSeedManager [class]
92 module.add_class('RngSeedManager', import_from_module='ns.core')
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -070093 ## sequence-number.h (module 'network'): ns3::SequenceNumber<unsigned int, int> [class]
94 module.add_class('SequenceNumber32', import_from_module='ns.network')
Alexander Afanasyev29c19b92012-09-03 23:46:41 -070095 ## random-variable.h (module 'core'): ns3::SequentialVariable [class]
96 module.add_class('SequentialVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -070097 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter> [class]
98 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Object', 'ns3::ObjectBase', 'ns3::ObjectDeleter'], parent=root_module['ns3::ObjectBase'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyevad5acce2012-05-31 12:43:08 -070099 ## tag.h (module 'network'): ns3::Tag [class]
100 module.add_class('Tag', import_from_module='ns.network', parent=root_module['ns3::ObjectBase'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700101 ## tag-buffer.h (module 'network'): ns3::TagBuffer [class]
102 module.add_class('TagBuffer', import_from_module='ns.network')
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -0700103 ## traced-value.h (module 'core'): ns3::TracedValue<ns3::ndn::fib::FaceMetric::Status> [class]
104 module.add_class('TracedValue', template_parameters=['ns3::ndn::fib::FaceMetric::Status'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700105 ## random-variable.h (module 'core'): ns3::TriangularVariable [class]
106 module.add_class('TriangularVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700107 ## type-id.h (module 'core'): ns3::TypeId [class]
108 module.add_class('TypeId', import_from_module='ns.core')
109 ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration]
110 module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core')
111 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct]
112 module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId'])
113 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct]
114 module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700115 ## random-variable.h (module 'core'): ns3::UniformVariable [class]
116 module.add_class('UniformVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700117 ## random-variable.h (module 'core'): ns3::WeibullVariable [class]
118 module.add_class('WeibullVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
119 ## random-variable.h (module 'core'): ns3::ZetaVariable [class]
120 module.add_class('ZetaVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
121 ## random-variable.h (module 'core'): ns3::ZipfVariable [class]
122 module.add_class('ZipfVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700123 ## empty.h (module 'core'): ns3::empty [class]
124 module.add_class('empty', import_from_module='ns.core')
125 ## int64x64-double.h (module 'core'): ns3::int64x64_t [class]
126 module.add_class('int64x64_t', import_from_module='ns.core')
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700127 ## chunk.h (module 'network'): ns3::Chunk [class]
Alexander Afanasyev4756b892012-04-18 14:48:43 -0700128 module.add_class('Chunk', import_from_module='ns.network', parent=root_module['ns3::ObjectBase'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700129 ## random-variable.h (module 'core'): ns3::ConstantVariable [class]
130 module.add_class('ConstantVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
131 ## random-variable.h (module 'core'): ns3::DeterministicVariable [class]
132 module.add_class('DeterministicVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
133 ## random-variable.h (module 'core'): ns3::EmpiricalVariable [class]
134 module.add_class('EmpiricalVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
135 ## random-variable.h (module 'core'): ns3::ErlangVariable [class]
136 module.add_class('ErlangVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
137 ## random-variable.h (module 'core'): ns3::ExponentialVariable [class]
138 module.add_class('ExponentialVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
139 ## random-variable.h (module 'core'): ns3::GammaVariable [class]
140 module.add_class('GammaVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700141 ## header.h (module 'network'): ns3::Header [class]
142 module.add_class('Header', import_from_module='ns.network', parent=root_module['ns3::Chunk'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700143 ## random-variable.h (module 'core'): ns3::IntEmpiricalVariable [class]
144 module.add_class('IntEmpiricalVariable', import_from_module='ns.core', parent=root_module['ns3::EmpiricalVariable'])
145 ## random-variable.h (module 'core'): ns3::LogNormalVariable [class]
146 module.add_class('LogNormalVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
147 ## random-variable.h (module 'core'): ns3::NormalVariable [class]
148 module.add_class('NormalVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700149 ## object.h (module 'core'): ns3::Object [class]
150 module.add_class('Object', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >'])
151 ## object.h (module 'core'): ns3::Object::AggregateIterator [class]
152 module.add_class('AggregateIterator', import_from_module='ns.core', outer_class=root_module['ns3::Object'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700153 ## random-variable.h (module 'core'): ns3::ParetoVariable [class]
154 module.add_class('ParetoVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700155 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> > [class]
156 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::AttributeAccessor', 'ns3::empty', 'ns3::DefaultDeleter<ns3::AttributeAccessor>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
157 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> > [class]
158 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::AttributeChecker', 'ns3::empty', 'ns3::DefaultDeleter<ns3::AttributeChecker>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
159 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> > [class]
160 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::AttributeValue', 'ns3::empty', 'ns3::DefaultDeleter<ns3::AttributeValue>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
161 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> > [class]
162 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::CallbackImplBase', 'ns3::empty', 'ns3::DefaultDeleter<ns3::CallbackImplBase>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700163 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> > [class]
164 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::EventImpl', 'ns3::empty', 'ns3::DefaultDeleter<ns3::EventImpl>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
165 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> > [class]
166 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::NixVector', 'ns3::empty', 'ns3::DefaultDeleter<ns3::NixVector>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700167 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> > [class]
168 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Packet', 'ns3::empty', 'ns3::DefaultDeleter<ns3::Packet>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700169 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TopologyReader, ns3::empty, ns3::DefaultDeleter<ns3::TopologyReader> > [class]
170 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::TopologyReader', 'ns3::empty', 'ns3::DefaultDeleter<ns3::TopologyReader>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700171 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> > [class]
172 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::TraceSourceAccessor', 'ns3::empty', 'ns3::DefaultDeleter<ns3::TraceSourceAccessor>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700173 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::ContentObjectHeader, ns3::Header, ns3::DefaultDeleter<ns3::ndn::ContentObjectHeader> > [class]
174 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'))
175 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::FaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::ndn::FaceContainer> > [class]
176 module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::ndn::FaceContainer', 'ns3::empty', 'ns3::DefaultDeleter<ns3::ndn::FaceContainer>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
177 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::InterestHeader, ns3::Header, ns3::DefaultDeleter<ns3::ndn::InterestHeader> > [class]
178 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'))
Alexander Afanasyev32c07562013-02-01 12:58:43 -0800179 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::Name, ns3::empty, ns3::DefaultDeleter<ns3::ndn::Name> > [class]
180 module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::ndn::Name', 'ns3::empty', 'ns3::DefaultDeleter<ns3::ndn::Name>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700181 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::cs::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::cs::Entry> > [class]
182 module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::ndn::cs::Entry', 'ns3::empty', 'ns3::DefaultDeleter<ns3::ndn::cs::Entry>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700183 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::pit::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::pit::Entry> > [class]
184 module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::ndn::pit::Entry', 'ns3::empty', 'ns3::DefaultDeleter<ns3::ndn::pit::Entry>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700185 ## nstime.h (module 'core'): ns3::Time [class]
186 module.add_class('Time', import_from_module='ns.core')
187 ## nstime.h (module 'core'): ns3::Time::Unit [enumeration]
188 module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core')
189 ## nstime.h (module 'core'): ns3::Time [class]
190 root_module['ns3::Time'].implicitly_converts_to(root_module['ns3::int64x64_t'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700191 ## topology-reader.h (module 'topology-read'): ns3::TopologyReader [class]
192 module.add_class('TopologyReader', import_from_module='ns.topology_read', parent=root_module['ns3::SimpleRefCount< ns3::TopologyReader, ns3::empty, ns3::DefaultDeleter<ns3::TopologyReader> >'])
193 ## topology-reader.h (module 'topology-read'): ns3::TopologyReader::Link [class]
194 module.add_class('Link', import_from_module='ns.topology_read', outer_class=root_module['ns3::TopologyReader'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700195 ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor [class]
196 module.add_class('TraceSourceAccessor', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
197 ## trailer.h (module 'network'): ns3::Trailer [class]
198 module.add_class('Trailer', import_from_module='ns.network', parent=root_module['ns3::Chunk'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700199 ## annotated-topology-reader.h (module 'ndnSIM'): ns3::AnnotatedTopologyReader [class]
200 module.add_class('AnnotatedTopologyReader', parent=root_module['ns3::TopologyReader'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700201 ## application.h (module 'network'): ns3::Application [class]
202 module.add_class('Application', import_from_module='ns.network', parent=root_module['ns3::Object'])
203 ## attribute.h (module 'core'): ns3::AttributeAccessor [class]
204 module.add_class('AttributeAccessor', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >'])
205 ## attribute.h (module 'core'): ns3::AttributeChecker [class]
206 module.add_class('AttributeChecker', allow_subclassing=False, automatic_type_narrowing=True, import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >'])
207 ## attribute.h (module 'core'): ns3::AttributeValue [class]
208 module.add_class('AttributeValue', allow_subclassing=False, automatic_type_narrowing=True, import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700209 ## boolean.h (module 'core'): ns3::BooleanChecker [class]
210 module.add_class('BooleanChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
211 ## boolean.h (module 'core'): ns3::BooleanValue [class]
212 module.add_class('BooleanValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700213 ## callback.h (module 'core'): ns3::CallbackChecker [class]
214 module.add_class('CallbackChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
215 ## callback.h (module 'core'): ns3::CallbackImplBase [class]
216 module.add_class('CallbackImplBase', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >'])
217 ## callback.h (module 'core'): ns3::CallbackValue [class]
218 module.add_class('CallbackValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700219 ## double.h (module 'core'): ns3::DoubleValue [class]
220 module.add_class('DoubleValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700221 ## attribute.h (module 'core'): ns3::EmptyAttributeValue [class]
222 module.add_class('EmptyAttributeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700223 ## enum.h (module 'core'): ns3::EnumChecker [class]
224 module.add_class('EnumChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
225 ## enum.h (module 'core'): ns3::EnumValue [class]
226 module.add_class('EnumValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700227 ## event-impl.h (module 'core'): ns3::EventImpl [class]
228 module.add_class('EventImpl', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >'])
229 ## integer.h (module 'core'): ns3::IntegerValue [class]
230 module.add_class('IntegerValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
231 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker [class]
232 module.add_class('Ipv4AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
233 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue [class]
234 module.add_class('Ipv4AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
235 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker [class]
236 module.add_class('Ipv4MaskChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
237 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue [class]
238 module.add_class('Ipv4MaskValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
239 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker [class]
240 module.add_class('Ipv6AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
241 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue [class]
242 module.add_class('Ipv6AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
243 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker [class]
244 module.add_class('Ipv6PrefixChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
245 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue [class]
246 module.add_class('Ipv6PrefixValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700247 ## net-device.h (module 'network'): ns3::NetDevice [class]
248 module.add_class('NetDevice', import_from_module='ns.network', parent=root_module['ns3::Object'])
249 ## net-device.h (module 'network'): ns3::NetDevice::PacketType [enumeration]
250 module.add_enum('PacketType', ['PACKET_HOST', 'NS3_PACKET_HOST', 'PACKET_BROADCAST', 'NS3_PACKET_BROADCAST', 'PACKET_MULTICAST', 'NS3_PACKET_MULTICAST', 'PACKET_OTHERHOST', 'NS3_PACKET_OTHERHOST'], outer_class=root_module['ns3::NetDevice'], import_from_module='ns.network')
251 ## nix-vector.h (module 'network'): ns3::NixVector [class]
252 module.add_class('NixVector', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >'])
253 ## node.h (module 'network'): ns3::Node [class]
254 module.add_class('Node', import_from_module='ns.network', parent=root_module['ns3::Object'])
255 ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker [class]
256 module.add_class('ObjectFactoryChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
257 ## object-factory.h (module 'core'): ns3::ObjectFactoryValue [class]
258 module.add_class('ObjectFactoryValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700259 ## packet.h (module 'network'): ns3::Packet [class]
260 module.add_class('Packet', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700261 ## random-variable.h (module 'core'): ns3::RandomVariableChecker [class]
262 module.add_class('RandomVariableChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
263 ## random-variable.h (module 'core'): ns3::RandomVariableValue [class]
264 module.add_class('RandomVariableValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
265 ## rocketfuel-weights-reader.h (module 'ndnSIM'): ns3::RocketfuelWeightsReader [class]
266 module.add_class('RocketfuelWeightsReader', parent=root_module['ns3::AnnotatedTopologyReader'])
267 ## rocketfuel-weights-reader.h (module 'ndnSIM'): ns3::RocketfuelWeightsReader [enumeration]
268 module.add_enum('', ['LINKS', 'WEIGHTS', 'LATENCIES', 'POSITIONS'], outer_class=root_module['ns3::RocketfuelWeightsReader'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700269 ## nstime.h (module 'core'): ns3::TimeChecker [class]
270 module.add_class('TimeChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
271 ## nstime.h (module 'core'): ns3::TimeValue [class]
272 module.add_class('TimeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
273 ## type-id.h (module 'core'): ns3::TypeIdChecker [class]
274 module.add_class('TypeIdChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
275 ## type-id.h (module 'core'): ns3::TypeIdValue [class]
276 module.add_class('TypeIdValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700277 ## uinteger.h (module 'core'): ns3::UintegerValue [class]
278 module.add_class('UintegerValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700279 ## address.h (module 'network'): ns3::AddressChecker [class]
280 module.add_class('AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
281 ## address.h (module 'network'): ns3::AddressValue [class]
282 module.add_class('AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700283 module.add_container('std::map< std::string, std::string >', ('std::string', 'std::string'), container_type='map')
284 module.add_container('std::list< ns3::TopologyReader::Link >', 'ns3::TopologyReader::Link', container_type='list')
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -0700285 typehandlers.add_type_alias('ns3::SequenceNumber< short unsigned int, short int >', 'ns3::SequenceNumber16')
286 typehandlers.add_type_alias('ns3::SequenceNumber< short unsigned int, short int >*', 'ns3::SequenceNumber16*')
287 typehandlers.add_type_alias('ns3::SequenceNumber< short unsigned int, short int >&', 'ns3::SequenceNumber16&')
288 typehandlers.add_type_alias('ns3::SequenceNumber< unsigned int, int >', 'ns3::SequenceNumber32')
289 typehandlers.add_type_alias('ns3::SequenceNumber< unsigned int, int >*', 'ns3::SequenceNumber32*')
290 typehandlers.add_type_alias('ns3::SequenceNumber< unsigned int, int >&', 'ns3::SequenceNumber32&')
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700291 typehandlers.add_type_alias('ns3::RngSeedManager', 'ns3::SeedManager')
292 typehandlers.add_type_alias('ns3::RngSeedManager*', 'ns3::SeedManager*')
293 typehandlers.add_type_alias('ns3::RngSeedManager&', 'ns3::SeedManager&')
294 module.add_typedef(root_module['ns3::RngSeedManager'], 'SeedManager')
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700295
296 ## Register a nested module for the namespace FatalImpl
297
298 nested_module = module.add_cpp_namespace('FatalImpl')
299 register_types_ns3_FatalImpl(nested_module)
300
301
302 ## Register a nested module for the namespace internal
303
304 nested_module = module.add_cpp_namespace('internal')
305 register_types_ns3_internal(nested_module)
306
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700307
308 ## Register a nested module for the namespace ndn
309
310 nested_module = module.add_cpp_namespace('ndn')
311 register_types_ns3_ndn(nested_module)
312
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700313
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700314def register_types_ns3_FatalImpl(module):
315 root_module = module.get_root()
316
317
318def register_types_ns3_internal(module):
319 root_module = module.get_root()
320
321
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700322def register_types_ns3_ndn(module):
323 root_module = module.get_root()
324
325 ## ndn-app.h (module 'ndnSIM'): ns3::ndn::App [class]
326 module.add_class('App', parent=root_module['ns3::Application'])
327 ## ndn-app-helper.h (module 'ndnSIM'): ns3::ndn::AppHelper [class]
328 module.add_class('AppHelper')
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -0800329 ## ndn-content-object.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeader [class]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700330 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 -0800331 ## ndn-content-object.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeaderException [class]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700332 module.add_class('ContentObjectHeaderException')
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -0800333 ## ndn-content-object.h (module 'ndnSIM'): ns3::ndn::ContentObjectTail [class]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700334 module.add_class('ContentObjectTail', parent=root_module['ns3::Trailer'])
335 ## ndn-content-store.h (module 'ndnSIM'): ns3::ndn::ContentStore [class]
336 module.add_class('ContentStore', parent=root_module['ns3::Object'])
337 ## ndn-face.h (module 'ndnSIM'): ns3::ndn::Face [class]
338 module.add_class('Face', parent=root_module['ns3::Object'])
339 ## ndn-face-container.h (module 'ndnSIM'): ns3::ndn::FaceContainer [class]
340 module.add_class('FaceContainer', parent=root_module['ns3::SimpleRefCount< ns3::ndn::FaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::ndn::FaceContainer> >'])
341 ## ndn-fib.h (module 'ndnSIM'): ns3::ndn::Fib [class]
342 module.add_class('Fib', parent=root_module['ns3::Object'])
343 ## ndn-forwarding-strategy.h (module 'ndnSIM'): ns3::ndn::ForwardingStrategy [class]
344 module.add_class('ForwardingStrategy', parent=root_module['ns3::Object'])
345 ## ndn-global-routing-helper.h (module 'ndnSIM'): ns3::ndn::GlobalRoutingHelper [class]
346 module.add_class('GlobalRoutingHelper')
347 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::HeaderHelper [class]
348 module.add_class('HeaderHelper')
349 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::HeaderHelper::Type [enumeration]
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -0800350 module.add_enum('Type', ['INTEREST_CCNB', 'CONTENT_OBJECT_CCNB', 'INTEREST_NDNSIM', 'CONTENT_OBJECT_NDNSIM'], outer_class=root_module['ns3::ndn::HeaderHelper'])
351 ## ndn-interest.h (module 'ndnSIM'): ns3::ndn::InterestHeader [class]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700352 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 -0800353 ## ndn-interest.h (module 'ndnSIM'): ns3::ndn::InterestHeader [enumeration]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700354 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 -0800355 ## ndn-interest.h (module 'ndnSIM'): ns3::ndn::InterestHeaderException [class]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700356 module.add_class('InterestHeaderException')
357 ## ndn-l3-protocol.h (module 'ndnSIM'): ns3::ndn::L3Protocol [class]
358 module.add_class('L3Protocol', parent=root_module['ns3::Object'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700359 ## ndn-limits.h (module 'ndnSIM'): ns3::ndn::Limits [class]
360 module.add_class('Limits', parent=root_module['ns3::Object'])
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -0800361 ## ndn-name.h (module 'ndnSIM'): ns3::ndn::Name [class]
Alexander Afanasyev32c07562013-02-01 12:58:43 -0800362 module.add_class('Name', parent=root_module['ns3::SimpleRefCount< ns3::ndn::Name, ns3::empty, ns3::DefaultDeleter<ns3::ndn::Name> >'])
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -0800363 ## ndn-name.h (module 'ndnSIM'): ns3::ndn::NameChecker [class]
Alexander Afanasyev32c07562013-02-01 12:58:43 -0800364 module.add_class('NameChecker', parent=root_module['ns3::AttributeChecker'])
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -0700365 ## ndn-name.h (module 'ndnSIM'): ns3::ndn::Name [class]
366 module.add_class('Name', parent=root_module['ns3::ndn::Name'])
367 ## ndn-name.h (module 'ndnSIM'): ns3::ndn::NameChecker [class]
368 module.add_class('NameChecker', parent=root_module['ns3::AttributeChecker'])
369 ## ndn-name.h (module 'ndnSIM'): ns3::ndn::NameValue [class]
370 module.add_class('NameValue', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -0800371 ## ndn-name.h (module 'ndnSIM'): ns3::ndn::NameValue [class]
Alexander Afanasyev32c07562013-02-01 12:58:43 -0800372 module.add_class('NameValue', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700373 ## ndn-net-device-face.h (module 'ndnSIM'): ns3::ndn::NetDeviceFace [class]
374 module.add_class('NetDeviceFace', parent=root_module['ns3::ndn::Face'])
375 ## ndn-pit.h (module 'ndnSIM'): ns3::ndn::Pit [class]
376 module.add_class('Pit', parent=root_module['ns3::Object'])
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -0700377 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::ndn::RttEstimator [class]
378 module.add_class('RttEstimator', parent=root_module['ns3::Object'])
379 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::ndn::RttHistory [class]
380 module.add_class('RttHistory')
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700381 ## ndn-stack-helper.h (module 'ndnSIM'): ns3::ndn::StackHelper [class]
382 module.add_class('StackHelper')
383 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::UnknownHeaderException [class]
384 module.add_class('UnknownHeaderException')
385 ## ndn-app-face.h (module 'ndnSIM'): ns3::ndn::AppFace [class]
386 module.add_class('AppFace', parent=root_module['ns3::ndn::Face'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700387 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 -0700388 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')
389 module.add_container('std::list< std::string >', 'std::string', container_type='list')
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -0700390 typehandlers.add_type_alias('std::deque< ns3::ndn::RttHistory, std::allocator< ns3::ndn::RttHistory > >', 'ns3::ndn::RttHistory_t')
391 typehandlers.add_type_alias('std::deque< ns3::ndn::RttHistory, std::allocator< ns3::ndn::RttHistory > >*', 'ns3::ndn::RttHistory_t*')
392 typehandlers.add_type_alias('std::deque< ns3::ndn::RttHistory, std::allocator< ns3::ndn::RttHistory > >&', 'ns3::ndn::RttHistory_t&')
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700393
394 ## Register a nested module for the namespace cs
395
396 nested_module = module.add_cpp_namespace('cs')
397 register_types_ns3_ndn_cs(nested_module)
398
399
400 ## Register a nested module for the namespace fib
401
402 nested_module = module.add_cpp_namespace('fib')
403 register_types_ns3_ndn_fib(nested_module)
404
405
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700406 ## Register a nested module for the namespace fw
407
408 nested_module = module.add_cpp_namespace('fw')
409 register_types_ns3_ndn_fw(nested_module)
410
411
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700412 ## Register a nested module for the namespace pit
413
414 nested_module = module.add_cpp_namespace('pit')
415 register_types_ns3_ndn_pit(nested_module)
416
417
418def register_types_ns3_ndn_cs(module):
419 root_module = module.get_root()
420
421 ## ndn-content-store.h (module 'ndnSIM'): ns3::ndn::cs::Entry [class]
422 module.add_class('Entry', parent=root_module['ns3::SimpleRefCount< ns3::ndn::cs::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::cs::Entry> >'])
423
424def register_types_ns3_ndn_fib(module):
425 root_module = module.get_root()
426
427 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry [class]
Alexander Afanasyevf5c07742012-10-31 13:13:05 -0700428 module.add_class('Entry', parent=root_module['ns3::Object'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700429 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::NoFaces [class]
430 module.add_class('NoFaces', outer_class=root_module['ns3::ndn::fib::Entry'])
431 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric [class]
432 module.add_class('FaceMetric')
433 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric::Status [enumeration]
434 module.add_enum('Status', ['NDN_FIB_GREEN', 'NDN_FIB_YELLOW', 'NDN_FIB_RED'], outer_class=root_module['ns3::ndn::fib::FaceMetric'])
435 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetricContainer [struct]
436 module.add_class('FaceMetricContainer')
437 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_face [class]
438 module.add_class('i_face')
439 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_metric [class]
440 module.add_class('i_metric')
441 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_nth [class]
442 module.add_class('i_nth')
443
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700444def register_types_ns3_ndn_fw(module):
445 root_module = module.get_root()
446
447 ## ndn-fw-tag.h (module 'ndnSIM'): ns3::ndn::fw::Tag [class]
448 module.add_class('Tag')
449
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700450def register_types_ns3_ndn_pit(module):
451 root_module = module.get_root()
452
453 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::Entry [class]
454 module.add_class('Entry', parent=root_module['ns3::SimpleRefCount< ns3::ndn::pit::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::pit::Entry> >'])
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -0800455 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::EntryIsNotEmpty [struct]
456 module.add_class('EntryIsNotEmpty')
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700457 ## ndn-pit-entry-incoming-face.h (module 'ndnSIM'): ns3::ndn::pit::IncomingFace [struct]
458 module.add_class('IncomingFace')
459 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace [struct]
460 module.add_class('OutgoingFace')
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700461 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::i_face [class]
462 module.add_class('i_face')
463 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::i_retx [class]
464 module.add_class('i_retx')
465 module.add_container('std::set< ns3::ndn::pit::IncomingFace >', 'ns3::ndn::pit::IncomingFace', container_type='set')
Alexander Afanasyevc202fd92012-09-03 21:46:00 -0700466 module.add_container('std::set< ns3::ndn::pit::OutgoingFace >', 'ns3::ndn::pit::OutgoingFace', container_type='set')
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700467 module.add_container('std::set< unsigned int >', 'unsigned int', container_type='set')
468
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700469def register_methods(root_module):
470 register_Ns3Address_methods(root_module, root_module['ns3::Address'])
471 register_Ns3ApplicationContainer_methods(root_module, root_module['ns3::ApplicationContainer'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700472 register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList'])
473 register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item'])
474 register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer'])
475 register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator'])
476 register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator'])
477 register_Ns3ByteTagIteratorItem_methods(root_module, root_module['ns3::ByteTagIterator::Item'])
478 register_Ns3ByteTagList_methods(root_module, root_module['ns3::ByteTagList'])
479 register_Ns3ByteTagListIterator_methods(root_module, root_module['ns3::ByteTagList::Iterator'])
480 register_Ns3ByteTagListIteratorItem_methods(root_module, root_module['ns3::ByteTagList::Iterator::Item'])
481 register_Ns3CallbackBase_methods(root_module, root_module['ns3::CallbackBase'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700482 register_Ns3EventId_methods(root_module, root_module['ns3::EventId'])
483 register_Ns3Ipv4Address_methods(root_module, root_module['ns3::Ipv4Address'])
484 register_Ns3Ipv4Mask_methods(root_module, root_module['ns3::Ipv4Mask'])
485 register_Ns3Ipv6Address_methods(root_module, root_module['ns3::Ipv6Address'])
486 register_Ns3Ipv6Prefix_methods(root_module, root_module['ns3::Ipv6Prefix'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700487 register_Ns3NetDeviceContainer_methods(root_module, root_module['ns3::NetDeviceContainer'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700488 register_Ns3NodeContainer_methods(root_module, root_module['ns3::NodeContainer'])
489 register_Ns3ObjectBase_methods(root_module, root_module['ns3::ObjectBase'])
490 register_Ns3ObjectDeleter_methods(root_module, root_module['ns3::ObjectDeleter'])
491 register_Ns3ObjectFactory_methods(root_module, root_module['ns3::ObjectFactory'])
492 register_Ns3PacketMetadata_methods(root_module, root_module['ns3::PacketMetadata'])
493 register_Ns3PacketMetadataItem_methods(root_module, root_module['ns3::PacketMetadata::Item'])
494 register_Ns3PacketMetadataItemIterator_methods(root_module, root_module['ns3::PacketMetadata::ItemIterator'])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -0700495 register_Ns3PacketTagIterator_methods(root_module, root_module['ns3::PacketTagIterator'])
496 register_Ns3PacketTagIteratorItem_methods(root_module, root_module['ns3::PacketTagIterator::Item'])
497 register_Ns3PacketTagList_methods(root_module, root_module['ns3::PacketTagList'])
498 register_Ns3PacketTagListTagData_methods(root_module, root_module['ns3::PacketTagList::TagData'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700499 register_Ns3RandomVariable_methods(root_module, root_module['ns3::RandomVariable'])
500 register_Ns3RngSeedManager_methods(root_module, root_module['ns3::RngSeedManager'])
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -0700501 register_Ns3SequenceNumber32_methods(root_module, root_module['ns3::SequenceNumber32'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700502 register_Ns3SequentialVariable_methods(root_module, root_module['ns3::SequentialVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700503 register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >'])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -0700504 register_Ns3Tag_methods(root_module, root_module['ns3::Tag'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700505 register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer'])
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -0700506 register_Ns3TracedValue__Ns3NdnFibFaceMetricStatus_methods(root_module, root_module['ns3::TracedValue< ns3::ndn::fib::FaceMetric::Status >'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700507 register_Ns3TriangularVariable_methods(root_module, root_module['ns3::TriangularVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700508 register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId'])
509 register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation'])
510 register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700511 register_Ns3UniformVariable_methods(root_module, root_module['ns3::UniformVariable'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700512 register_Ns3WeibullVariable_methods(root_module, root_module['ns3::WeibullVariable'])
513 register_Ns3ZetaVariable_methods(root_module, root_module['ns3::ZetaVariable'])
514 register_Ns3ZipfVariable_methods(root_module, root_module['ns3::ZipfVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700515 register_Ns3Empty_methods(root_module, root_module['ns3::empty'])
516 register_Ns3Int64x64_t_methods(root_module, root_module['ns3::int64x64_t'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700517 register_Ns3Chunk_methods(root_module, root_module['ns3::Chunk'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700518 register_Ns3ConstantVariable_methods(root_module, root_module['ns3::ConstantVariable'])
519 register_Ns3DeterministicVariable_methods(root_module, root_module['ns3::DeterministicVariable'])
520 register_Ns3EmpiricalVariable_methods(root_module, root_module['ns3::EmpiricalVariable'])
521 register_Ns3ErlangVariable_methods(root_module, root_module['ns3::ErlangVariable'])
522 register_Ns3ExponentialVariable_methods(root_module, root_module['ns3::ExponentialVariable'])
523 register_Ns3GammaVariable_methods(root_module, root_module['ns3::GammaVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700524 register_Ns3Header_methods(root_module, root_module['ns3::Header'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700525 register_Ns3IntEmpiricalVariable_methods(root_module, root_module['ns3::IntEmpiricalVariable'])
526 register_Ns3LogNormalVariable_methods(root_module, root_module['ns3::LogNormalVariable'])
527 register_Ns3NormalVariable_methods(root_module, root_module['ns3::NormalVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700528 register_Ns3Object_methods(root_module, root_module['ns3::Object'])
529 register_Ns3ObjectAggregateIterator_methods(root_module, root_module['ns3::Object::AggregateIterator'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700530 register_Ns3ParetoVariable_methods(root_module, root_module['ns3::ParetoVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700531 register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >'])
532 register_Ns3SimpleRefCount__Ns3AttributeChecker_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeChecker__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >'])
533 register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeValue__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >'])
534 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 -0700535 register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >'])
536 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 -0700537 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 -0700538 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 -0700539 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 -0700540 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> >'])
541 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> >'])
542 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> >'])
Alexander Afanasyev32c07562013-02-01 12:58:43 -0800543 register_Ns3SimpleRefCount__Ns3NdnName_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnName__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::ndn::Name, ns3::empty, ns3::DefaultDeleter<ns3::ndn::Name> >'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700544 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 -0700545 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 -0700546 register_Ns3Time_methods(root_module, root_module['ns3::Time'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700547 register_Ns3TopologyReader_methods(root_module, root_module['ns3::TopologyReader'])
548 register_Ns3TopologyReaderLink_methods(root_module, root_module['ns3::TopologyReader::Link'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700549 register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor'])
550 register_Ns3Trailer_methods(root_module, root_module['ns3::Trailer'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700551 register_Ns3AnnotatedTopologyReader_methods(root_module, root_module['ns3::AnnotatedTopologyReader'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700552 register_Ns3Application_methods(root_module, root_module['ns3::Application'])
553 register_Ns3AttributeAccessor_methods(root_module, root_module['ns3::AttributeAccessor'])
554 register_Ns3AttributeChecker_methods(root_module, root_module['ns3::AttributeChecker'])
555 register_Ns3AttributeValue_methods(root_module, root_module['ns3::AttributeValue'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700556 register_Ns3BooleanChecker_methods(root_module, root_module['ns3::BooleanChecker'])
557 register_Ns3BooleanValue_methods(root_module, root_module['ns3::BooleanValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700558 register_Ns3CallbackChecker_methods(root_module, root_module['ns3::CallbackChecker'])
559 register_Ns3CallbackImplBase_methods(root_module, root_module['ns3::CallbackImplBase'])
560 register_Ns3CallbackValue_methods(root_module, root_module['ns3::CallbackValue'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700561 register_Ns3DoubleValue_methods(root_module, root_module['ns3::DoubleValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700562 register_Ns3EmptyAttributeValue_methods(root_module, root_module['ns3::EmptyAttributeValue'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700563 register_Ns3EnumChecker_methods(root_module, root_module['ns3::EnumChecker'])
564 register_Ns3EnumValue_methods(root_module, root_module['ns3::EnumValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700565 register_Ns3EventImpl_methods(root_module, root_module['ns3::EventImpl'])
566 register_Ns3IntegerValue_methods(root_module, root_module['ns3::IntegerValue'])
567 register_Ns3Ipv4AddressChecker_methods(root_module, root_module['ns3::Ipv4AddressChecker'])
568 register_Ns3Ipv4AddressValue_methods(root_module, root_module['ns3::Ipv4AddressValue'])
569 register_Ns3Ipv4MaskChecker_methods(root_module, root_module['ns3::Ipv4MaskChecker'])
570 register_Ns3Ipv4MaskValue_methods(root_module, root_module['ns3::Ipv4MaskValue'])
571 register_Ns3Ipv6AddressChecker_methods(root_module, root_module['ns3::Ipv6AddressChecker'])
572 register_Ns3Ipv6AddressValue_methods(root_module, root_module['ns3::Ipv6AddressValue'])
573 register_Ns3Ipv6PrefixChecker_methods(root_module, root_module['ns3::Ipv6PrefixChecker'])
574 register_Ns3Ipv6PrefixValue_methods(root_module, root_module['ns3::Ipv6PrefixValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700575 register_Ns3NetDevice_methods(root_module, root_module['ns3::NetDevice'])
576 register_Ns3NixVector_methods(root_module, root_module['ns3::NixVector'])
577 register_Ns3Node_methods(root_module, root_module['ns3::Node'])
578 register_Ns3ObjectFactoryChecker_methods(root_module, root_module['ns3::ObjectFactoryChecker'])
579 register_Ns3ObjectFactoryValue_methods(root_module, root_module['ns3::ObjectFactoryValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700580 register_Ns3Packet_methods(root_module, root_module['ns3::Packet'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700581 register_Ns3RandomVariableChecker_methods(root_module, root_module['ns3::RandomVariableChecker'])
582 register_Ns3RandomVariableValue_methods(root_module, root_module['ns3::RandomVariableValue'])
583 register_Ns3RocketfuelWeightsReader_methods(root_module, root_module['ns3::RocketfuelWeightsReader'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700584 register_Ns3TimeChecker_methods(root_module, root_module['ns3::TimeChecker'])
585 register_Ns3TimeValue_methods(root_module, root_module['ns3::TimeValue'])
586 register_Ns3TypeIdChecker_methods(root_module, root_module['ns3::TypeIdChecker'])
587 register_Ns3TypeIdValue_methods(root_module, root_module['ns3::TypeIdValue'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700588 register_Ns3UintegerValue_methods(root_module, root_module['ns3::UintegerValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700589 register_Ns3AddressChecker_methods(root_module, root_module['ns3::AddressChecker'])
590 register_Ns3AddressValue_methods(root_module, root_module['ns3::AddressValue'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700591 register_Ns3NdnApp_methods(root_module, root_module['ns3::ndn::App'])
592 register_Ns3NdnAppHelper_methods(root_module, root_module['ns3::ndn::AppHelper'])
593 register_Ns3NdnContentObjectHeader_methods(root_module, root_module['ns3::ndn::ContentObjectHeader'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700594 register_Ns3NdnContentObjectHeaderException_methods(root_module, root_module['ns3::ndn::ContentObjectHeaderException'])
595 register_Ns3NdnContentObjectTail_methods(root_module, root_module['ns3::ndn::ContentObjectTail'])
596 register_Ns3NdnContentStore_methods(root_module, root_module['ns3::ndn::ContentStore'])
597 register_Ns3NdnFace_methods(root_module, root_module['ns3::ndn::Face'])
598 register_Ns3NdnFaceContainer_methods(root_module, root_module['ns3::ndn::FaceContainer'])
599 register_Ns3NdnFib_methods(root_module, root_module['ns3::ndn::Fib'])
600 register_Ns3NdnForwardingStrategy_methods(root_module, root_module['ns3::ndn::ForwardingStrategy'])
601 register_Ns3NdnGlobalRoutingHelper_methods(root_module, root_module['ns3::ndn::GlobalRoutingHelper'])
602 register_Ns3NdnHeaderHelper_methods(root_module, root_module['ns3::ndn::HeaderHelper'])
603 register_Ns3NdnInterestHeader_methods(root_module, root_module['ns3::ndn::InterestHeader'])
604 register_Ns3NdnInterestHeaderException_methods(root_module, root_module['ns3::ndn::InterestHeaderException'])
605 register_Ns3NdnL3Protocol_methods(root_module, root_module['ns3::ndn::L3Protocol'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700606 register_Ns3NdnLimits_methods(root_module, root_module['ns3::ndn::Limits'])
Alexander Afanasyev32c07562013-02-01 12:58:43 -0800607 register_Ns3NdnName_methods(root_module, root_module['ns3::ndn::Name'])
608 register_Ns3NdnNameChecker_methods(root_module, root_module['ns3::ndn::NameChecker'])
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -0700609 register_Ns3NdnName_methods(root_module, root_module['ns3::ndn::Name'])
610 register_Ns3NdnNameChecker_methods(root_module, root_module['ns3::ndn::NameChecker'])
611 register_Ns3NdnNameValue_methods(root_module, root_module['ns3::ndn::NameValue'])
Alexander Afanasyev32c07562013-02-01 12:58:43 -0800612 register_Ns3NdnNameValue_methods(root_module, root_module['ns3::ndn::NameValue'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700613 register_Ns3NdnNetDeviceFace_methods(root_module, root_module['ns3::ndn::NetDeviceFace'])
614 register_Ns3NdnPit_methods(root_module, root_module['ns3::ndn::Pit'])
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -0700615 register_Ns3NdnRttEstimator_methods(root_module, root_module['ns3::ndn::RttEstimator'])
616 register_Ns3NdnRttHistory_methods(root_module, root_module['ns3::ndn::RttHistory'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700617 register_Ns3NdnStackHelper_methods(root_module, root_module['ns3::ndn::StackHelper'])
618 register_Ns3NdnUnknownHeaderException_methods(root_module, root_module['ns3::ndn::UnknownHeaderException'])
619 register_Ns3NdnAppFace_methods(root_module, root_module['ns3::ndn::AppFace'])
620 register_Ns3NdnCsEntry_methods(root_module, root_module['ns3::ndn::cs::Entry'])
621 register_Ns3NdnFibEntry_methods(root_module, root_module['ns3::ndn::fib::Entry'])
622 register_Ns3NdnFibEntryNoFaces_methods(root_module, root_module['ns3::ndn::fib::Entry::NoFaces'])
623 register_Ns3NdnFibFaceMetric_methods(root_module, root_module['ns3::ndn::fib::FaceMetric'])
624 register_Ns3NdnFibFaceMetricContainer_methods(root_module, root_module['ns3::ndn::fib::FaceMetricContainer'])
625 register_Ns3NdnFibI_face_methods(root_module, root_module['ns3::ndn::fib::i_face'])
626 register_Ns3NdnFibI_metric_methods(root_module, root_module['ns3::ndn::fib::i_metric'])
627 register_Ns3NdnFibI_nth_methods(root_module, root_module['ns3::ndn::fib::i_nth'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700628 register_Ns3NdnFwTag_methods(root_module, root_module['ns3::ndn::fw::Tag'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700629 register_Ns3NdnPitEntry_methods(root_module, root_module['ns3::ndn::pit::Entry'])
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -0800630 register_Ns3NdnPitEntryIsNotEmpty_methods(root_module, root_module['ns3::ndn::pit::EntryIsNotEmpty'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700631 register_Ns3NdnPitIncomingFace_methods(root_module, root_module['ns3::ndn::pit::IncomingFace'])
632 register_Ns3NdnPitOutgoingFace_methods(root_module, root_module['ns3::ndn::pit::OutgoingFace'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700633 register_Ns3NdnPitI_face_methods(root_module, root_module['ns3::ndn::pit::i_face'])
634 register_Ns3NdnPitI_retx_methods(root_module, root_module['ns3::ndn::pit::i_retx'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700635 return
636
637def register_Ns3Address_methods(root_module, cls):
638 cls.add_binary_comparison_operator('!=')
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700639 cls.add_output_stream_operator()
Alexander Afanasyeva28ec562012-10-25 14:07:32 -0700640 cls.add_binary_comparison_operator('==')
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700641 cls.add_binary_comparison_operator('<')
642 ## address.h (module 'network'): ns3::Address::Address() [constructor]
643 cls.add_constructor([])
644 ## address.h (module 'network'): ns3::Address::Address(uint8_t type, uint8_t const * buffer, uint8_t len) [constructor]
645 cls.add_constructor([param('uint8_t', 'type'), param('uint8_t const *', 'buffer'), param('uint8_t', 'len')])
646 ## address.h (module 'network'): ns3::Address::Address(ns3::Address const & address) [copy constructor]
647 cls.add_constructor([param('ns3::Address const &', 'address')])
648 ## address.h (module 'network'): bool ns3::Address::CheckCompatible(uint8_t type, uint8_t len) const [member function]
649 cls.add_method('CheckCompatible',
650 'bool',
651 [param('uint8_t', 'type'), param('uint8_t', 'len')],
652 is_const=True)
653 ## address.h (module 'network'): uint32_t ns3::Address::CopyAllFrom(uint8_t const * buffer, uint8_t len) [member function]
654 cls.add_method('CopyAllFrom',
655 'uint32_t',
656 [param('uint8_t const *', 'buffer'), param('uint8_t', 'len')])
657 ## address.h (module 'network'): uint32_t ns3::Address::CopyAllTo(uint8_t * buffer, uint8_t len) const [member function]
658 cls.add_method('CopyAllTo',
659 'uint32_t',
660 [param('uint8_t *', 'buffer'), param('uint8_t', 'len')],
661 is_const=True)
662 ## address.h (module 'network'): uint32_t ns3::Address::CopyFrom(uint8_t const * buffer, uint8_t len) [member function]
663 cls.add_method('CopyFrom',
664 'uint32_t',
665 [param('uint8_t const *', 'buffer'), param('uint8_t', 'len')])
666 ## address.h (module 'network'): uint32_t ns3::Address::CopyTo(uint8_t * buffer) const [member function]
667 cls.add_method('CopyTo',
668 'uint32_t',
669 [param('uint8_t *', 'buffer')],
670 is_const=True)
671 ## address.h (module 'network'): void ns3::Address::Deserialize(ns3::TagBuffer buffer) [member function]
672 cls.add_method('Deserialize',
673 'void',
674 [param('ns3::TagBuffer', 'buffer')])
675 ## address.h (module 'network'): uint8_t ns3::Address::GetLength() const [member function]
676 cls.add_method('GetLength',
677 'uint8_t',
678 [],
679 is_const=True)
680 ## address.h (module 'network'): uint32_t ns3::Address::GetSerializedSize() const [member function]
681 cls.add_method('GetSerializedSize',
682 'uint32_t',
683 [],
684 is_const=True)
685 ## address.h (module 'network'): bool ns3::Address::IsInvalid() const [member function]
686 cls.add_method('IsInvalid',
687 'bool',
688 [],
689 is_const=True)
690 ## address.h (module 'network'): bool ns3::Address::IsMatchingType(uint8_t type) const [member function]
691 cls.add_method('IsMatchingType',
692 'bool',
693 [param('uint8_t', 'type')],
694 is_const=True)
695 ## address.h (module 'network'): static uint8_t ns3::Address::Register() [member function]
696 cls.add_method('Register',
697 'uint8_t',
698 [],
699 is_static=True)
700 ## address.h (module 'network'): void ns3::Address::Serialize(ns3::TagBuffer buffer) const [member function]
701 cls.add_method('Serialize',
702 'void',
703 [param('ns3::TagBuffer', 'buffer')],
704 is_const=True)
705 return
706
707def register_Ns3ApplicationContainer_methods(root_module, cls):
708 ## application-container.h (module 'network'): ns3::ApplicationContainer::ApplicationContainer(ns3::ApplicationContainer const & arg0) [copy constructor]
709 cls.add_constructor([param('ns3::ApplicationContainer const &', 'arg0')])
710 ## application-container.h (module 'network'): ns3::ApplicationContainer::ApplicationContainer() [constructor]
711 cls.add_constructor([])
712 ## application-container.h (module 'network'): ns3::ApplicationContainer::ApplicationContainer(ns3::Ptr<ns3::Application> application) [constructor]
713 cls.add_constructor([param('ns3::Ptr< ns3::Application >', 'application')])
714 ## application-container.h (module 'network'): ns3::ApplicationContainer::ApplicationContainer(std::string name) [constructor]
715 cls.add_constructor([param('std::string', 'name')])
716 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Add(ns3::ApplicationContainer other) [member function]
717 cls.add_method('Add',
718 'void',
719 [param('ns3::ApplicationContainer', 'other')])
720 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Add(ns3::Ptr<ns3::Application> application) [member function]
721 cls.add_method('Add',
722 'void',
723 [param('ns3::Ptr< ns3::Application >', 'application')])
724 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Add(std::string name) [member function]
725 cls.add_method('Add',
726 'void',
727 [param('std::string', 'name')])
728 ## 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]
729 cls.add_method('Begin',
730 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Application > const, std::vector< ns3::Ptr< ns3::Application > > >',
731 [],
732 is_const=True)
733 ## 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]
734 cls.add_method('End',
735 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Application > const, std::vector< ns3::Ptr< ns3::Application > > >',
736 [],
737 is_const=True)
738 ## application-container.h (module 'network'): ns3::Ptr<ns3::Application> ns3::ApplicationContainer::Get(uint32_t i) const [member function]
739 cls.add_method('Get',
740 'ns3::Ptr< ns3::Application >',
741 [param('uint32_t', 'i')],
742 is_const=True)
743 ## application-container.h (module 'network'): uint32_t ns3::ApplicationContainer::GetN() const [member function]
744 cls.add_method('GetN',
745 'uint32_t',
746 [],
747 is_const=True)
748 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Start(ns3::Time start) [member function]
749 cls.add_method('Start',
750 'void',
751 [param('ns3::Time', 'start')])
752 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Stop(ns3::Time stop) [member function]
753 cls.add_method('Stop',
754 'void',
755 [param('ns3::Time', 'stop')])
756 return
757
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700758def register_Ns3AttributeConstructionList_methods(root_module, cls):
759 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor]
760 cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')])
761 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor]
762 cls.add_constructor([])
763 ## 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]
764 cls.add_method('Add',
765 'void',
766 [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')])
767 ## attribute-construction-list.h (module 'core'): std::_List_const_iterator<ns3::AttributeConstructionList::Item> ns3::AttributeConstructionList::Begin() const [member function]
768 cls.add_method('Begin',
769 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >',
770 [],
771 is_const=True)
772 ## attribute-construction-list.h (module 'core'): std::_List_const_iterator<ns3::AttributeConstructionList::Item> ns3::AttributeConstructionList::End() const [member function]
773 cls.add_method('End',
774 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >',
775 [],
776 is_const=True)
777 ## attribute-construction-list.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeConstructionList::Find(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
778 cls.add_method('Find',
779 'ns3::Ptr< ns3::AttributeValue >',
780 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
781 is_const=True)
782 return
783
784def register_Ns3AttributeConstructionListItem_methods(root_module, cls):
785 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor]
786 cls.add_constructor([])
787 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor]
788 cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')])
789 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable]
790 cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False)
791 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable]
792 cls.add_instance_attribute('name', 'std::string', is_const=False)
793 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable]
794 cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False)
795 return
796
797def register_Ns3Buffer_methods(root_module, cls):
798 ## buffer.h (module 'network'): ns3::Buffer::Buffer() [constructor]
799 cls.add_constructor([])
800 ## buffer.h (module 'network'): ns3::Buffer::Buffer(uint32_t dataSize) [constructor]
801 cls.add_constructor([param('uint32_t', 'dataSize')])
802 ## buffer.h (module 'network'): ns3::Buffer::Buffer(uint32_t dataSize, bool initialize) [constructor]
803 cls.add_constructor([param('uint32_t', 'dataSize'), param('bool', 'initialize')])
804 ## buffer.h (module 'network'): ns3::Buffer::Buffer(ns3::Buffer const & o) [copy constructor]
805 cls.add_constructor([param('ns3::Buffer const &', 'o')])
806 ## buffer.h (module 'network'): bool ns3::Buffer::AddAtEnd(uint32_t end) [member function]
807 cls.add_method('AddAtEnd',
808 'bool',
809 [param('uint32_t', 'end')])
810 ## buffer.h (module 'network'): void ns3::Buffer::AddAtEnd(ns3::Buffer const & o) [member function]
811 cls.add_method('AddAtEnd',
812 'void',
813 [param('ns3::Buffer const &', 'o')])
814 ## buffer.h (module 'network'): bool ns3::Buffer::AddAtStart(uint32_t start) [member function]
815 cls.add_method('AddAtStart',
816 'bool',
817 [param('uint32_t', 'start')])
818 ## buffer.h (module 'network'): ns3::Buffer::Iterator ns3::Buffer::Begin() const [member function]
819 cls.add_method('Begin',
820 'ns3::Buffer::Iterator',
821 [],
822 is_const=True)
823 ## buffer.h (module 'network'): void ns3::Buffer::CopyData(std::ostream * os, uint32_t size) const [member function]
824 cls.add_method('CopyData',
825 'void',
826 [param('std::ostream *', 'os'), param('uint32_t', 'size')],
827 is_const=True)
828 ## buffer.h (module 'network'): uint32_t ns3::Buffer::CopyData(uint8_t * buffer, uint32_t size) const [member function]
829 cls.add_method('CopyData',
830 'uint32_t',
831 [param('uint8_t *', 'buffer'), param('uint32_t', 'size')],
832 is_const=True)
833 ## buffer.h (module 'network'): ns3::Buffer ns3::Buffer::CreateFragment(uint32_t start, uint32_t length) const [member function]
834 cls.add_method('CreateFragment',
835 'ns3::Buffer',
836 [param('uint32_t', 'start'), param('uint32_t', 'length')],
837 is_const=True)
838 ## buffer.h (module 'network'): ns3::Buffer ns3::Buffer::CreateFullCopy() const [member function]
839 cls.add_method('CreateFullCopy',
840 'ns3::Buffer',
841 [],
842 is_const=True)
843 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Deserialize(uint8_t const * buffer, uint32_t size) [member function]
844 cls.add_method('Deserialize',
845 'uint32_t',
846 [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
847 ## buffer.h (module 'network'): ns3::Buffer::Iterator ns3::Buffer::End() const [member function]
848 cls.add_method('End',
849 'ns3::Buffer::Iterator',
850 [],
851 is_const=True)
852 ## buffer.h (module 'network'): int32_t ns3::Buffer::GetCurrentEndOffset() const [member function]
853 cls.add_method('GetCurrentEndOffset',
854 'int32_t',
855 [],
856 is_const=True)
857 ## buffer.h (module 'network'): int32_t ns3::Buffer::GetCurrentStartOffset() const [member function]
858 cls.add_method('GetCurrentStartOffset',
859 'int32_t',
860 [],
861 is_const=True)
862 ## buffer.h (module 'network'): uint32_t ns3::Buffer::GetSerializedSize() const [member function]
863 cls.add_method('GetSerializedSize',
864 'uint32_t',
865 [],
866 is_const=True)
867 ## buffer.h (module 'network'): uint32_t ns3::Buffer::GetSize() const [member function]
868 cls.add_method('GetSize',
869 'uint32_t',
870 [],
871 is_const=True)
872 ## buffer.h (module 'network'): uint8_t const * ns3::Buffer::PeekData() const [member function]
873 cls.add_method('PeekData',
874 'uint8_t const *',
875 [],
876 is_const=True)
877 ## buffer.h (module 'network'): void ns3::Buffer::RemoveAtEnd(uint32_t end) [member function]
878 cls.add_method('RemoveAtEnd',
879 'void',
880 [param('uint32_t', 'end')])
881 ## buffer.h (module 'network'): void ns3::Buffer::RemoveAtStart(uint32_t start) [member function]
882 cls.add_method('RemoveAtStart',
883 'void',
884 [param('uint32_t', 'start')])
885 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
886 cls.add_method('Serialize',
887 'uint32_t',
888 [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')],
889 is_const=True)
890 return
891
892def register_Ns3BufferIterator_methods(root_module, cls):
893 ## buffer.h (module 'network'): ns3::Buffer::Iterator::Iterator(ns3::Buffer::Iterator const & arg0) [copy constructor]
894 cls.add_constructor([param('ns3::Buffer::Iterator const &', 'arg0')])
895 ## buffer.h (module 'network'): ns3::Buffer::Iterator::Iterator() [constructor]
896 cls.add_constructor([])
897 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::CalculateIpChecksum(uint16_t size) [member function]
898 cls.add_method('CalculateIpChecksum',
899 'uint16_t',
900 [param('uint16_t', 'size')])
901 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::CalculateIpChecksum(uint16_t size, uint32_t initialChecksum) [member function]
902 cls.add_method('CalculateIpChecksum',
903 'uint16_t',
904 [param('uint16_t', 'size'), param('uint32_t', 'initialChecksum')])
905 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::GetDistanceFrom(ns3::Buffer::Iterator const & o) const [member function]
906 cls.add_method('GetDistanceFrom',
907 'uint32_t',
908 [param('ns3::Buffer::Iterator const &', 'o')],
909 is_const=True)
910 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::GetSize() const [member function]
911 cls.add_method('GetSize',
912 'uint32_t',
913 [],
914 is_const=True)
915 ## buffer.h (module 'network'): bool ns3::Buffer::Iterator::IsEnd() const [member function]
916 cls.add_method('IsEnd',
917 'bool',
918 [],
919 is_const=True)
920 ## buffer.h (module 'network'): bool ns3::Buffer::Iterator::IsStart() const [member function]
921 cls.add_method('IsStart',
922 'bool',
923 [],
924 is_const=True)
925 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Next() [member function]
926 cls.add_method('Next',
927 'void',
928 [])
929 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Next(uint32_t delta) [member function]
930 cls.add_method('Next',
931 'void',
932 [param('uint32_t', 'delta')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -0700933 ## buffer.h (module 'network'): uint8_t ns3::Buffer::Iterator::PeekU8() [member function]
934 cls.add_method('PeekU8',
935 'uint8_t',
936 [])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700937 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Prev() [member function]
938 cls.add_method('Prev',
939 'void',
940 [])
941 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Prev(uint32_t delta) [member function]
942 cls.add_method('Prev',
943 'void',
944 [param('uint32_t', 'delta')])
945 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Read(uint8_t * buffer, uint32_t size) [member function]
946 cls.add_method('Read',
947 'void',
948 [param('uint8_t *', 'buffer'), param('uint32_t', 'size')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -0700949 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Read(ns3::Buffer::Iterator start, uint32_t size) [member function]
950 cls.add_method('Read',
951 'void',
952 [param('ns3::Buffer::Iterator', 'start'), param('uint32_t', 'size')])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700953 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadLsbtohU16() [member function]
954 cls.add_method('ReadLsbtohU16',
955 'uint16_t',
956 [])
957 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadLsbtohU32() [member function]
958 cls.add_method('ReadLsbtohU32',
959 'uint32_t',
960 [])
961 ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadLsbtohU64() [member function]
962 cls.add_method('ReadLsbtohU64',
963 'uint64_t',
964 [])
965 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadNtohU16() [member function]
966 cls.add_method('ReadNtohU16',
967 'uint16_t',
968 [])
969 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadNtohU32() [member function]
970 cls.add_method('ReadNtohU32',
971 'uint32_t',
972 [])
973 ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadNtohU64() [member function]
974 cls.add_method('ReadNtohU64',
975 'uint64_t',
976 [])
977 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadU16() [member function]
978 cls.add_method('ReadU16',
979 'uint16_t',
980 [])
981 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadU32() [member function]
982 cls.add_method('ReadU32',
983 'uint32_t',
984 [])
985 ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadU64() [member function]
986 cls.add_method('ReadU64',
987 'uint64_t',
988 [])
989 ## buffer.h (module 'network'): uint8_t ns3::Buffer::Iterator::ReadU8() [member function]
990 cls.add_method('ReadU8',
991 'uint8_t',
992 [])
993 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Write(uint8_t const * buffer, uint32_t size) [member function]
994 cls.add_method('Write',
995 'void',
996 [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
997 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Write(ns3::Buffer::Iterator start, ns3::Buffer::Iterator end) [member function]
998 cls.add_method('Write',
999 'void',
1000 [param('ns3::Buffer::Iterator', 'start'), param('ns3::Buffer::Iterator', 'end')])
1001 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU16(uint16_t data) [member function]
1002 cls.add_method('WriteHtolsbU16',
1003 'void',
1004 [param('uint16_t', 'data')])
1005 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU32(uint32_t data) [member function]
1006 cls.add_method('WriteHtolsbU32',
1007 'void',
1008 [param('uint32_t', 'data')])
1009 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU64(uint64_t data) [member function]
1010 cls.add_method('WriteHtolsbU64',
1011 'void',
1012 [param('uint64_t', 'data')])
1013 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU16(uint16_t data) [member function]
1014 cls.add_method('WriteHtonU16',
1015 'void',
1016 [param('uint16_t', 'data')])
1017 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU32(uint32_t data) [member function]
1018 cls.add_method('WriteHtonU32',
1019 'void',
1020 [param('uint32_t', 'data')])
1021 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU64(uint64_t data) [member function]
1022 cls.add_method('WriteHtonU64',
1023 'void',
1024 [param('uint64_t', 'data')])
1025 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU16(uint16_t data) [member function]
1026 cls.add_method('WriteU16',
1027 'void',
1028 [param('uint16_t', 'data')])
1029 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU32(uint32_t data) [member function]
1030 cls.add_method('WriteU32',
1031 'void',
1032 [param('uint32_t', 'data')])
1033 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU64(uint64_t data) [member function]
1034 cls.add_method('WriteU64',
1035 'void',
1036 [param('uint64_t', 'data')])
1037 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU8(uint8_t data) [member function]
1038 cls.add_method('WriteU8',
1039 'void',
1040 [param('uint8_t', 'data')])
1041 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU8(uint8_t data, uint32_t len) [member function]
1042 cls.add_method('WriteU8',
1043 'void',
1044 [param('uint8_t', 'data'), param('uint32_t', 'len')])
1045 return
1046
1047def register_Ns3ByteTagIterator_methods(root_module, cls):
1048 ## packet.h (module 'network'): ns3::ByteTagIterator::ByteTagIterator(ns3::ByteTagIterator const & arg0) [copy constructor]
1049 cls.add_constructor([param('ns3::ByteTagIterator const &', 'arg0')])
1050 ## packet.h (module 'network'): bool ns3::ByteTagIterator::HasNext() const [member function]
1051 cls.add_method('HasNext',
1052 'bool',
1053 [],
1054 is_const=True)
1055 ## packet.h (module 'network'): ns3::ByteTagIterator::Item ns3::ByteTagIterator::Next() [member function]
1056 cls.add_method('Next',
1057 'ns3::ByteTagIterator::Item',
1058 [])
1059 return
1060
1061def register_Ns3ByteTagIteratorItem_methods(root_module, cls):
1062 ## packet.h (module 'network'): ns3::ByteTagIterator::Item::Item(ns3::ByteTagIterator::Item const & arg0) [copy constructor]
1063 cls.add_constructor([param('ns3::ByteTagIterator::Item const &', 'arg0')])
1064 ## packet.h (module 'network'): uint32_t ns3::ByteTagIterator::Item::GetEnd() const [member function]
1065 cls.add_method('GetEnd',
1066 'uint32_t',
1067 [],
1068 is_const=True)
1069 ## packet.h (module 'network'): uint32_t ns3::ByteTagIterator::Item::GetStart() const [member function]
1070 cls.add_method('GetStart',
1071 'uint32_t',
1072 [],
1073 is_const=True)
1074 ## packet.h (module 'network'): void ns3::ByteTagIterator::Item::GetTag(ns3::Tag & tag) const [member function]
1075 cls.add_method('GetTag',
1076 'void',
1077 [param('ns3::Tag &', 'tag')],
1078 is_const=True)
1079 ## packet.h (module 'network'): ns3::TypeId ns3::ByteTagIterator::Item::GetTypeId() const [member function]
1080 cls.add_method('GetTypeId',
1081 'ns3::TypeId',
1082 [],
1083 is_const=True)
1084 return
1085
1086def register_Ns3ByteTagList_methods(root_module, cls):
1087 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::ByteTagList() [constructor]
1088 cls.add_constructor([])
1089 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::ByteTagList(ns3::ByteTagList const & o) [copy constructor]
1090 cls.add_constructor([param('ns3::ByteTagList const &', 'o')])
1091 ## 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]
1092 cls.add_method('Add',
1093 'ns3::TagBuffer',
1094 [param('ns3::TypeId', 'tid'), param('uint32_t', 'bufferSize'), param('int32_t', 'start'), param('int32_t', 'end')])
1095 ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::Add(ns3::ByteTagList const & o) [member function]
1096 cls.add_method('Add',
1097 'void',
1098 [param('ns3::ByteTagList const &', 'o')])
1099 ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::AddAtEnd(int32_t adjustment, int32_t appendOffset) [member function]
1100 cls.add_method('AddAtEnd',
1101 'void',
1102 [param('int32_t', 'adjustment'), param('int32_t', 'appendOffset')])
1103 ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::AddAtStart(int32_t adjustment, int32_t prependOffset) [member function]
1104 cls.add_method('AddAtStart',
1105 'void',
1106 [param('int32_t', 'adjustment'), param('int32_t', 'prependOffset')])
1107 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator ns3::ByteTagList::Begin(int32_t offsetStart, int32_t offsetEnd) const [member function]
1108 cls.add_method('Begin',
1109 'ns3::ByteTagList::Iterator',
1110 [param('int32_t', 'offsetStart'), param('int32_t', 'offsetEnd')],
1111 is_const=True)
1112 ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::RemoveAll() [member function]
1113 cls.add_method('RemoveAll',
1114 'void',
1115 [])
1116 return
1117
1118def register_Ns3ByteTagListIterator_methods(root_module, cls):
1119 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Iterator(ns3::ByteTagList::Iterator const & arg0) [copy constructor]
1120 cls.add_constructor([param('ns3::ByteTagList::Iterator const &', 'arg0')])
1121 ## byte-tag-list.h (module 'network'): uint32_t ns3::ByteTagList::Iterator::GetOffsetStart() const [member function]
1122 cls.add_method('GetOffsetStart',
1123 'uint32_t',
1124 [],
1125 is_const=True)
1126 ## byte-tag-list.h (module 'network'): bool ns3::ByteTagList::Iterator::HasNext() const [member function]
1127 cls.add_method('HasNext',
1128 'bool',
1129 [],
1130 is_const=True)
1131 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item ns3::ByteTagList::Iterator::Next() [member function]
1132 cls.add_method('Next',
1133 'ns3::ByteTagList::Iterator::Item',
1134 [])
1135 return
1136
1137def register_Ns3ByteTagListIteratorItem_methods(root_module, cls):
1138 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::Item(ns3::ByteTagList::Iterator::Item const & arg0) [copy constructor]
1139 cls.add_constructor([param('ns3::ByteTagList::Iterator::Item const &', 'arg0')])
1140 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::Item(ns3::TagBuffer buf) [constructor]
1141 cls.add_constructor([param('ns3::TagBuffer', 'buf')])
1142 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::buf [variable]
1143 cls.add_instance_attribute('buf', 'ns3::TagBuffer', is_const=False)
1144 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::end [variable]
1145 cls.add_instance_attribute('end', 'int32_t', is_const=False)
1146 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::size [variable]
1147 cls.add_instance_attribute('size', 'uint32_t', is_const=False)
1148 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::start [variable]
1149 cls.add_instance_attribute('start', 'int32_t', is_const=False)
1150 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::tid [variable]
1151 cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
1152 return
1153
1154def register_Ns3CallbackBase_methods(root_module, cls):
1155 ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase(ns3::CallbackBase const & arg0) [copy constructor]
1156 cls.add_constructor([param('ns3::CallbackBase const &', 'arg0')])
1157 ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase() [constructor]
1158 cls.add_constructor([])
1159 ## callback.h (module 'core'): ns3::Ptr<ns3::CallbackImplBase> ns3::CallbackBase::GetImpl() const [member function]
1160 cls.add_method('GetImpl',
1161 'ns3::Ptr< ns3::CallbackImplBase >',
1162 [],
1163 is_const=True)
1164 ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase(ns3::Ptr<ns3::CallbackImplBase> impl) [constructor]
1165 cls.add_constructor([param('ns3::Ptr< ns3::CallbackImplBase >', 'impl')],
1166 visibility='protected')
1167 ## callback.h (module 'core'): static std::string ns3::CallbackBase::Demangle(std::string const & mangled) [member function]
1168 cls.add_method('Demangle',
1169 'std::string',
1170 [param('std::string const &', 'mangled')],
1171 is_static=True, visibility='protected')
1172 return
1173
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001174def register_Ns3EventId_methods(root_module, cls):
1175 cls.add_binary_comparison_operator('!=')
1176 cls.add_binary_comparison_operator('==')
1177 ## event-id.h (module 'core'): ns3::EventId::EventId(ns3::EventId const & arg0) [copy constructor]
1178 cls.add_constructor([param('ns3::EventId const &', 'arg0')])
1179 ## event-id.h (module 'core'): ns3::EventId::EventId() [constructor]
1180 cls.add_constructor([])
1181 ## event-id.h (module 'core'): ns3::EventId::EventId(ns3::Ptr<ns3::EventImpl> const & impl, uint64_t ts, uint32_t context, uint32_t uid) [constructor]
1182 cls.add_constructor([param('ns3::Ptr< ns3::EventImpl > const &', 'impl'), param('uint64_t', 'ts'), param('uint32_t', 'context'), param('uint32_t', 'uid')])
1183 ## event-id.h (module 'core'): void ns3::EventId::Cancel() [member function]
1184 cls.add_method('Cancel',
1185 'void',
1186 [])
1187 ## event-id.h (module 'core'): uint32_t ns3::EventId::GetContext() const [member function]
1188 cls.add_method('GetContext',
1189 'uint32_t',
1190 [],
1191 is_const=True)
1192 ## event-id.h (module 'core'): uint64_t ns3::EventId::GetTs() const [member function]
1193 cls.add_method('GetTs',
1194 'uint64_t',
1195 [],
1196 is_const=True)
1197 ## event-id.h (module 'core'): uint32_t ns3::EventId::GetUid() const [member function]
1198 cls.add_method('GetUid',
1199 'uint32_t',
1200 [],
1201 is_const=True)
1202 ## event-id.h (module 'core'): bool ns3::EventId::IsExpired() const [member function]
1203 cls.add_method('IsExpired',
1204 'bool',
1205 [],
1206 is_const=True)
1207 ## event-id.h (module 'core'): bool ns3::EventId::IsRunning() const [member function]
1208 cls.add_method('IsRunning',
1209 'bool',
1210 [],
1211 is_const=True)
1212 ## event-id.h (module 'core'): ns3::EventImpl * ns3::EventId::PeekEventImpl() const [member function]
1213 cls.add_method('PeekEventImpl',
1214 'ns3::EventImpl *',
1215 [],
1216 is_const=True)
1217 return
1218
1219def register_Ns3Ipv4Address_methods(root_module, cls):
1220 cls.add_binary_comparison_operator('!=')
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07001221 cls.add_output_stream_operator()
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07001222 cls.add_binary_comparison_operator('==')
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001223 cls.add_binary_comparison_operator('<')
1224 ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address(ns3::Ipv4Address const & arg0) [copy constructor]
1225 cls.add_constructor([param('ns3::Ipv4Address const &', 'arg0')])
1226 ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address() [constructor]
1227 cls.add_constructor([])
1228 ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address(uint32_t address) [constructor]
1229 cls.add_constructor([param('uint32_t', 'address')])
1230 ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address(char const * address) [constructor]
1231 cls.add_constructor([param('char const *', 'address')])
1232 ## ipv4-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv4Address::CombineMask(ns3::Ipv4Mask const & mask) const [member function]
1233 cls.add_method('CombineMask',
1234 'ns3::Ipv4Address',
1235 [param('ns3::Ipv4Mask const &', 'mask')],
1236 is_const=True)
1237 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::ConvertFrom(ns3::Address const & address) [member function]
1238 cls.add_method('ConvertFrom',
1239 'ns3::Ipv4Address',
1240 [param('ns3::Address const &', 'address')],
1241 is_static=True)
1242 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::Deserialize(uint8_t const * buf) [member function]
1243 cls.add_method('Deserialize',
1244 'ns3::Ipv4Address',
1245 [param('uint8_t const *', 'buf')],
1246 is_static=True)
Alexander Afanasyev4052f952012-06-08 17:57:59 -07001247 ## ipv4-address.h (module 'network'): uint32_t ns3::Ipv4Address::Get() const [member function]
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001248 cls.add_method('Get',
Alexander Afanasyev4052f952012-06-08 17:57:59 -07001249 'uint32_t',
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001250 [],
1251 is_const=True)
1252 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetAny() [member function]
1253 cls.add_method('GetAny',
1254 'ns3::Ipv4Address',
1255 [],
1256 is_static=True)
1257 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetBroadcast() [member function]
1258 cls.add_method('GetBroadcast',
1259 'ns3::Ipv4Address',
1260 [],
1261 is_static=True)
1262 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetLoopback() [member function]
1263 cls.add_method('GetLoopback',
1264 'ns3::Ipv4Address',
1265 [],
1266 is_static=True)
1267 ## ipv4-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv4Address::GetSubnetDirectedBroadcast(ns3::Ipv4Mask const & mask) const [member function]
1268 cls.add_method('GetSubnetDirectedBroadcast',
1269 'ns3::Ipv4Address',
1270 [param('ns3::Ipv4Mask const &', 'mask')],
1271 is_const=True)
1272 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetZero() [member function]
1273 cls.add_method('GetZero',
1274 'ns3::Ipv4Address',
1275 [],
1276 is_static=True)
1277 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsBroadcast() const [member function]
1278 cls.add_method('IsBroadcast',
1279 'bool',
1280 [],
1281 is_const=True)
1282 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsEqual(ns3::Ipv4Address const & other) const [member function]
1283 cls.add_method('IsEqual',
1284 'bool',
1285 [param('ns3::Ipv4Address const &', 'other')],
1286 is_const=True)
1287 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsLocalMulticast() const [member function]
1288 cls.add_method('IsLocalMulticast',
1289 'bool',
1290 [],
1291 is_const=True)
1292 ## ipv4-address.h (module 'network'): static bool ns3::Ipv4Address::IsMatchingType(ns3::Address const & address) [member function]
1293 cls.add_method('IsMatchingType',
1294 'bool',
1295 [param('ns3::Address const &', 'address')],
1296 is_static=True)
1297 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsMulticast() const [member function]
1298 cls.add_method('IsMulticast',
1299 'bool',
1300 [],
1301 is_const=True)
1302 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsSubnetDirectedBroadcast(ns3::Ipv4Mask const & mask) const [member function]
1303 cls.add_method('IsSubnetDirectedBroadcast',
1304 'bool',
1305 [param('ns3::Ipv4Mask const &', 'mask')],
1306 is_const=True)
1307 ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Print(std::ostream & os) const [member function]
1308 cls.add_method('Print',
1309 'void',
1310 [param('std::ostream &', 'os')],
1311 is_const=True)
1312 ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Serialize(uint8_t * buf) const [member function]
1313 cls.add_method('Serialize',
1314 'void',
1315 [param('uint8_t *', 'buf')],
1316 is_const=True)
1317 ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Set(uint32_t address) [member function]
1318 cls.add_method('Set',
1319 'void',
1320 [param('uint32_t', 'address')])
1321 ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Set(char const * address) [member function]
1322 cls.add_method('Set',
1323 'void',
1324 [param('char const *', 'address')])
1325 return
1326
1327def register_Ns3Ipv4Mask_methods(root_module, cls):
1328 cls.add_binary_comparison_operator('!=')
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07001329 cls.add_output_stream_operator()
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07001330 cls.add_binary_comparison_operator('==')
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001331 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask(ns3::Ipv4Mask const & arg0) [copy constructor]
1332 cls.add_constructor([param('ns3::Ipv4Mask const &', 'arg0')])
1333 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask() [constructor]
1334 cls.add_constructor([])
1335 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask(uint32_t mask) [constructor]
1336 cls.add_constructor([param('uint32_t', 'mask')])
1337 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask(char const * mask) [constructor]
1338 cls.add_constructor([param('char const *', 'mask')])
1339 ## ipv4-address.h (module 'network'): uint32_t ns3::Ipv4Mask::Get() const [member function]
1340 cls.add_method('Get',
1341 'uint32_t',
1342 [],
1343 is_const=True)
1344 ## ipv4-address.h (module 'network'): uint32_t ns3::Ipv4Mask::GetInverse() const [member function]
1345 cls.add_method('GetInverse',
1346 'uint32_t',
1347 [],
1348 is_const=True)
1349 ## ipv4-address.h (module 'network'): static ns3::Ipv4Mask ns3::Ipv4Mask::GetLoopback() [member function]
1350 cls.add_method('GetLoopback',
1351 'ns3::Ipv4Mask',
1352 [],
1353 is_static=True)
1354 ## ipv4-address.h (module 'network'): static ns3::Ipv4Mask ns3::Ipv4Mask::GetOnes() [member function]
1355 cls.add_method('GetOnes',
1356 'ns3::Ipv4Mask',
1357 [],
1358 is_static=True)
1359 ## ipv4-address.h (module 'network'): uint16_t ns3::Ipv4Mask::GetPrefixLength() const [member function]
1360 cls.add_method('GetPrefixLength',
1361 'uint16_t',
1362 [],
1363 is_const=True)
1364 ## ipv4-address.h (module 'network'): static ns3::Ipv4Mask ns3::Ipv4Mask::GetZero() [member function]
1365 cls.add_method('GetZero',
1366 'ns3::Ipv4Mask',
1367 [],
1368 is_static=True)
1369 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Mask::IsEqual(ns3::Ipv4Mask other) const [member function]
1370 cls.add_method('IsEqual',
1371 'bool',
1372 [param('ns3::Ipv4Mask', 'other')],
1373 is_const=True)
1374 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Mask::IsMatch(ns3::Ipv4Address a, ns3::Ipv4Address b) const [member function]
1375 cls.add_method('IsMatch',
1376 'bool',
1377 [param('ns3::Ipv4Address', 'a'), param('ns3::Ipv4Address', 'b')],
1378 is_const=True)
1379 ## ipv4-address.h (module 'network'): void ns3::Ipv4Mask::Print(std::ostream & os) const [member function]
1380 cls.add_method('Print',
1381 'void',
1382 [param('std::ostream &', 'os')],
1383 is_const=True)
1384 ## ipv4-address.h (module 'network'): void ns3::Ipv4Mask::Set(uint32_t mask) [member function]
1385 cls.add_method('Set',
1386 'void',
1387 [param('uint32_t', 'mask')])
1388 return
1389
1390def register_Ns3Ipv6Address_methods(root_module, cls):
1391 cls.add_binary_comparison_operator('!=')
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07001392 cls.add_output_stream_operator()
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07001393 cls.add_binary_comparison_operator('==')
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001394 cls.add_binary_comparison_operator('<')
1395 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address() [constructor]
1396 cls.add_constructor([])
1397 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(char const * address) [constructor]
1398 cls.add_constructor([param('char const *', 'address')])
1399 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(uint8_t * address) [constructor]
1400 cls.add_constructor([param('uint8_t *', 'address')])
1401 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(ns3::Ipv6Address const & addr) [copy constructor]
1402 cls.add_constructor([param('ns3::Ipv6Address const &', 'addr')])
1403 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(ns3::Ipv6Address const * addr) [constructor]
1404 cls.add_constructor([param('ns3::Ipv6Address const *', 'addr')])
1405 ## ipv6-address.h (module 'network'): ns3::Ipv6Address ns3::Ipv6Address::CombinePrefix(ns3::Ipv6Prefix const & prefix) [member function]
1406 cls.add_method('CombinePrefix',
1407 'ns3::Ipv6Address',
1408 [param('ns3::Ipv6Prefix const &', 'prefix')])
1409 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::ConvertFrom(ns3::Address const & address) [member function]
1410 cls.add_method('ConvertFrom',
1411 'ns3::Ipv6Address',
1412 [param('ns3::Address const &', 'address')],
1413 is_static=True)
1414 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::Deserialize(uint8_t const * buf) [member function]
1415 cls.add_method('Deserialize',
1416 'ns3::Ipv6Address',
1417 [param('uint8_t const *', 'buf')],
1418 is_static=True)
1419 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAllHostsMulticast() [member function]
1420 cls.add_method('GetAllHostsMulticast',
1421 'ns3::Ipv6Address',
1422 [],
1423 is_static=True)
1424 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAllNodesMulticast() [member function]
1425 cls.add_method('GetAllNodesMulticast',
1426 'ns3::Ipv6Address',
1427 [],
1428 is_static=True)
1429 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAllRoutersMulticast() [member function]
1430 cls.add_method('GetAllRoutersMulticast',
1431 'ns3::Ipv6Address',
1432 [],
1433 is_static=True)
1434 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAny() [member function]
1435 cls.add_method('GetAny',
1436 'ns3::Ipv6Address',
1437 [],
1438 is_static=True)
1439 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::GetBytes(uint8_t * buf) const [member function]
1440 cls.add_method('GetBytes',
1441 'void',
1442 [param('uint8_t *', 'buf')],
1443 is_const=True)
Alexander Afanasyev6f933532012-02-29 13:30:37 -08001444 ## ipv6-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv6Address::GetIpv4MappedAddress() const [member function]
1445 cls.add_method('GetIpv4MappedAddress',
1446 'ns3::Ipv4Address',
1447 [],
1448 is_const=True)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001449 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetLoopback() [member function]
1450 cls.add_method('GetLoopback',
1451 'ns3::Ipv6Address',
1452 [],
1453 is_static=True)
1454 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetOnes() [member function]
1455 cls.add_method('GetOnes',
1456 'ns3::Ipv6Address',
1457 [],
1458 is_static=True)
1459 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetZero() [member function]
1460 cls.add_method('GetZero',
1461 'ns3::Ipv6Address',
1462 [],
1463 is_static=True)
1464 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAllHostsMulticast() const [member function]
1465 cls.add_method('IsAllHostsMulticast',
1466 'bool',
1467 [],
1468 is_const=True)
1469 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAllNodesMulticast() const [member function]
1470 cls.add_method('IsAllNodesMulticast',
1471 'bool',
1472 [],
1473 is_const=True)
1474 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAllRoutersMulticast() const [member function]
1475 cls.add_method('IsAllRoutersMulticast',
1476 'bool',
1477 [],
1478 is_const=True)
1479 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAny() const [member function]
1480 cls.add_method('IsAny',
1481 'bool',
1482 [],
1483 is_const=True)
1484 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsEqual(ns3::Ipv6Address const & other) const [member function]
1485 cls.add_method('IsEqual',
1486 'bool',
1487 [param('ns3::Ipv6Address const &', 'other')],
1488 is_const=True)
Alexander Afanasyev6f933532012-02-29 13:30:37 -08001489 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsIpv4MappedAddress() [member function]
1490 cls.add_method('IsIpv4MappedAddress',
1491 'bool',
1492 [])
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001493 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsLinkLocal() const [member function]
1494 cls.add_method('IsLinkLocal',
1495 'bool',
1496 [],
1497 is_const=True)
Alexander Afanasyev6f933532012-02-29 13:30:37 -08001498 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsLinkLocalMulticast() const [member function]
1499 cls.add_method('IsLinkLocalMulticast',
1500 'bool',
1501 [],
1502 is_const=True)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001503 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsLocalhost() const [member function]
1504 cls.add_method('IsLocalhost',
1505 'bool',
1506 [],
1507 is_const=True)
1508 ## ipv6-address.h (module 'network'): static bool ns3::Ipv6Address::IsMatchingType(ns3::Address const & address) [member function]
1509 cls.add_method('IsMatchingType',
1510 'bool',
1511 [param('ns3::Address const &', 'address')],
1512 is_static=True)
1513 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsMulticast() const [member function]
1514 cls.add_method('IsMulticast',
1515 'bool',
1516 [],
1517 is_const=True)
1518 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsSolicitedMulticast() const [member function]
1519 cls.add_method('IsSolicitedMulticast',
1520 'bool',
1521 [],
1522 is_const=True)
1523 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeAutoconfiguredAddress(ns3::Mac48Address addr, ns3::Ipv6Address prefix) [member function]
1524 cls.add_method('MakeAutoconfiguredAddress',
1525 'ns3::Ipv6Address',
1526 [param('ns3::Mac48Address', 'addr'), param('ns3::Ipv6Address', 'prefix')],
1527 is_static=True)
1528 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeAutoconfiguredLinkLocalAddress(ns3::Mac48Address mac) [member function]
1529 cls.add_method('MakeAutoconfiguredLinkLocalAddress',
1530 'ns3::Ipv6Address',
1531 [param('ns3::Mac48Address', 'mac')],
1532 is_static=True)
Alexander Afanasyev6f933532012-02-29 13:30:37 -08001533 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeIpv4MappedAddress(ns3::Ipv4Address addr) [member function]
1534 cls.add_method('MakeIpv4MappedAddress',
1535 'ns3::Ipv6Address',
1536 [param('ns3::Ipv4Address', 'addr')],
1537 is_static=True)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001538 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeSolicitedAddress(ns3::Ipv6Address addr) [member function]
1539 cls.add_method('MakeSolicitedAddress',
1540 'ns3::Ipv6Address',
1541 [param('ns3::Ipv6Address', 'addr')],
1542 is_static=True)
1543 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Print(std::ostream & os) const [member function]
1544 cls.add_method('Print',
1545 'void',
1546 [param('std::ostream &', 'os')],
1547 is_const=True)
1548 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Serialize(uint8_t * buf) const [member function]
1549 cls.add_method('Serialize',
1550 'void',
1551 [param('uint8_t *', 'buf')],
1552 is_const=True)
1553 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Set(char const * address) [member function]
1554 cls.add_method('Set',
1555 'void',
1556 [param('char const *', 'address')])
1557 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Set(uint8_t * address) [member function]
1558 cls.add_method('Set',
1559 'void',
1560 [param('uint8_t *', 'address')])
1561 return
1562
1563def register_Ns3Ipv6Prefix_methods(root_module, cls):
1564 cls.add_binary_comparison_operator('!=')
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07001565 cls.add_output_stream_operator()
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07001566 cls.add_binary_comparison_operator('==')
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001567 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix() [constructor]
1568 cls.add_constructor([])
1569 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(uint8_t * prefix) [constructor]
1570 cls.add_constructor([param('uint8_t *', 'prefix')])
1571 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(char const * prefix) [constructor]
1572 cls.add_constructor([param('char const *', 'prefix')])
1573 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(uint8_t prefix) [constructor]
1574 cls.add_constructor([param('uint8_t', 'prefix')])
1575 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(ns3::Ipv6Prefix const & prefix) [copy constructor]
1576 cls.add_constructor([param('ns3::Ipv6Prefix const &', 'prefix')])
1577 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(ns3::Ipv6Prefix const * prefix) [constructor]
1578 cls.add_constructor([param('ns3::Ipv6Prefix const *', 'prefix')])
1579 ## ipv6-address.h (module 'network'): void ns3::Ipv6Prefix::GetBytes(uint8_t * buf) const [member function]
1580 cls.add_method('GetBytes',
1581 'void',
1582 [param('uint8_t *', 'buf')],
1583 is_const=True)
1584 ## ipv6-address.h (module 'network'): static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetLoopback() [member function]
1585 cls.add_method('GetLoopback',
1586 'ns3::Ipv6Prefix',
1587 [],
1588 is_static=True)
1589 ## ipv6-address.h (module 'network'): static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetOnes() [member function]
1590 cls.add_method('GetOnes',
1591 'ns3::Ipv6Prefix',
1592 [],
1593 is_static=True)
1594 ## ipv6-address.h (module 'network'): uint8_t ns3::Ipv6Prefix::GetPrefixLength() const [member function]
1595 cls.add_method('GetPrefixLength',
1596 'uint8_t',
1597 [],
1598 is_const=True)
1599 ## ipv6-address.h (module 'network'): static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetZero() [member function]
1600 cls.add_method('GetZero',
1601 'ns3::Ipv6Prefix',
1602 [],
1603 is_static=True)
1604 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Prefix::IsEqual(ns3::Ipv6Prefix const & other) const [member function]
1605 cls.add_method('IsEqual',
1606 'bool',
1607 [param('ns3::Ipv6Prefix const &', 'other')],
1608 is_const=True)
1609 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Prefix::IsMatch(ns3::Ipv6Address a, ns3::Ipv6Address b) const [member function]
1610 cls.add_method('IsMatch',
1611 'bool',
1612 [param('ns3::Ipv6Address', 'a'), param('ns3::Ipv6Address', 'b')],
1613 is_const=True)
1614 ## ipv6-address.h (module 'network'): void ns3::Ipv6Prefix::Print(std::ostream & os) const [member function]
1615 cls.add_method('Print',
1616 'void',
1617 [param('std::ostream &', 'os')],
1618 is_const=True)
1619 return
1620
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07001621def register_Ns3NetDeviceContainer_methods(root_module, cls):
1622 ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(ns3::NetDeviceContainer const & arg0) [copy constructor]
1623 cls.add_constructor([param('ns3::NetDeviceContainer const &', 'arg0')])
1624 ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer() [constructor]
1625 cls.add_constructor([])
1626 ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(ns3::Ptr<ns3::NetDevice> dev) [constructor]
1627 cls.add_constructor([param('ns3::Ptr< ns3::NetDevice >', 'dev')])
1628 ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(std::string devName) [constructor]
1629 cls.add_constructor([param('std::string', 'devName')])
1630 ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(ns3::NetDeviceContainer const & a, ns3::NetDeviceContainer const & b) [constructor]
1631 cls.add_constructor([param('ns3::NetDeviceContainer const &', 'a'), param('ns3::NetDeviceContainer const &', 'b')])
1632 ## net-device-container.h (module 'network'): void ns3::NetDeviceContainer::Add(ns3::NetDeviceContainer other) [member function]
1633 cls.add_method('Add',
1634 'void',
1635 [param('ns3::NetDeviceContainer', 'other')])
1636 ## net-device-container.h (module 'network'): void ns3::NetDeviceContainer::Add(ns3::Ptr<ns3::NetDevice> device) [member function]
1637 cls.add_method('Add',
1638 'void',
1639 [param('ns3::Ptr< ns3::NetDevice >', 'device')])
1640 ## net-device-container.h (module 'network'): void ns3::NetDeviceContainer::Add(std::string deviceName) [member function]
1641 cls.add_method('Add',
1642 'void',
1643 [param('std::string', 'deviceName')])
1644 ## 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]
1645 cls.add_method('Begin',
1646 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::NetDevice > const, std::vector< ns3::Ptr< ns3::NetDevice > > >',
1647 [],
1648 is_const=True)
1649 ## 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]
1650 cls.add_method('End',
1651 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::NetDevice > const, std::vector< ns3::Ptr< ns3::NetDevice > > >',
1652 [],
1653 is_const=True)
1654 ## net-device-container.h (module 'network'): ns3::Ptr<ns3::NetDevice> ns3::NetDeviceContainer::Get(uint32_t i) const [member function]
1655 cls.add_method('Get',
1656 'ns3::Ptr< ns3::NetDevice >',
1657 [param('uint32_t', 'i')],
1658 is_const=True)
1659 ## net-device-container.h (module 'network'): uint32_t ns3::NetDeviceContainer::GetN() const [member function]
1660 cls.add_method('GetN',
1661 'uint32_t',
1662 [],
1663 is_const=True)
1664 return
1665
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001666def register_Ns3NodeContainer_methods(root_module, cls):
1667 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & arg0) [copy constructor]
1668 cls.add_constructor([param('ns3::NodeContainer const &', 'arg0')])
1669 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer() [constructor]
1670 cls.add_constructor([])
1671 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::Ptr<ns3::Node> node) [constructor]
1672 cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node')])
1673 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(std::string nodeName) [constructor]
1674 cls.add_constructor([param('std::string', 'nodeName')])
1675 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b) [constructor]
1676 cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b')])
1677 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b, ns3::NodeContainer const & c) [constructor]
1678 cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b'), param('ns3::NodeContainer const &', 'c')])
1679 ## 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]
1680 cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b'), param('ns3::NodeContainer const &', 'c'), param('ns3::NodeContainer const &', 'd')])
1681 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b, ns3::NodeContainer const & c, ns3::NodeContainer const & d, ns3::NodeContainer const & e) [constructor]
1682 cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b'), param('ns3::NodeContainer const &', 'c'), param('ns3::NodeContainer const &', 'd'), param('ns3::NodeContainer const &', 'e')])
1683 ## node-container.h (module 'network'): void ns3::NodeContainer::Add(ns3::NodeContainer other) [member function]
1684 cls.add_method('Add',
1685 'void',
1686 [param('ns3::NodeContainer', 'other')])
1687 ## node-container.h (module 'network'): void ns3::NodeContainer::Add(ns3::Ptr<ns3::Node> node) [member function]
1688 cls.add_method('Add',
1689 'void',
1690 [param('ns3::Ptr< ns3::Node >', 'node')])
1691 ## node-container.h (module 'network'): void ns3::NodeContainer::Add(std::string nodeName) [member function]
1692 cls.add_method('Add',
1693 'void',
1694 [param('std::string', 'nodeName')])
1695 ## 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]
1696 cls.add_method('Begin',
1697 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > >',
1698 [],
1699 is_const=True)
1700 ## node-container.h (module 'network'): void ns3::NodeContainer::Create(uint32_t n) [member function]
1701 cls.add_method('Create',
1702 'void',
1703 [param('uint32_t', 'n')])
1704 ## node-container.h (module 'network'): void ns3::NodeContainer::Create(uint32_t n, uint32_t systemId) [member function]
1705 cls.add_method('Create',
1706 'void',
1707 [param('uint32_t', 'n'), param('uint32_t', 'systemId')])
1708 ## 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]
1709 cls.add_method('End',
1710 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > >',
1711 [],
1712 is_const=True)
1713 ## node-container.h (module 'network'): ns3::Ptr<ns3::Node> ns3::NodeContainer::Get(uint32_t i) const [member function]
1714 cls.add_method('Get',
1715 'ns3::Ptr< ns3::Node >',
1716 [param('uint32_t', 'i')],
1717 is_const=True)
1718 ## node-container.h (module 'network'): static ns3::NodeContainer ns3::NodeContainer::GetGlobal() [member function]
1719 cls.add_method('GetGlobal',
1720 'ns3::NodeContainer',
1721 [],
1722 is_static=True)
1723 ## node-container.h (module 'network'): uint32_t ns3::NodeContainer::GetN() const [member function]
1724 cls.add_method('GetN',
1725 'uint32_t',
1726 [],
1727 is_const=True)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001728 return
1729
1730def register_Ns3ObjectBase_methods(root_module, cls):
1731 ## object-base.h (module 'core'): ns3::ObjectBase::ObjectBase() [constructor]
1732 cls.add_constructor([])
1733 ## object-base.h (module 'core'): ns3::ObjectBase::ObjectBase(ns3::ObjectBase const & arg0) [copy constructor]
1734 cls.add_constructor([param('ns3::ObjectBase const &', 'arg0')])
1735 ## object-base.h (module 'core'): void ns3::ObjectBase::GetAttribute(std::string name, ns3::AttributeValue & value) const [member function]
1736 cls.add_method('GetAttribute',
1737 'void',
1738 [param('std::string', 'name'), param('ns3::AttributeValue &', 'value')],
1739 is_const=True)
1740 ## object-base.h (module 'core'): bool ns3::ObjectBase::GetAttributeFailSafe(std::string name, ns3::AttributeValue & attribute) const [member function]
1741 cls.add_method('GetAttributeFailSafe',
1742 'bool',
1743 [param('std::string', 'name'), param('ns3::AttributeValue &', 'attribute')],
1744 is_const=True)
1745 ## object-base.h (module 'core'): ns3::TypeId ns3::ObjectBase::GetInstanceTypeId() const [member function]
1746 cls.add_method('GetInstanceTypeId',
1747 'ns3::TypeId',
1748 [],
1749 is_pure_virtual=True, is_const=True, is_virtual=True)
1750 ## object-base.h (module 'core'): static ns3::TypeId ns3::ObjectBase::GetTypeId() [member function]
1751 cls.add_method('GetTypeId',
1752 'ns3::TypeId',
1753 [],
1754 is_static=True)
1755 ## object-base.h (module 'core'): void ns3::ObjectBase::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function]
1756 cls.add_method('SetAttribute',
1757 'void',
1758 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
1759 ## object-base.h (module 'core'): bool ns3::ObjectBase::SetAttributeFailSafe(std::string name, ns3::AttributeValue const & value) [member function]
1760 cls.add_method('SetAttributeFailSafe',
1761 'bool',
1762 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
1763 ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceConnect(std::string name, std::string context, ns3::CallbackBase const & cb) [member function]
1764 cls.add_method('TraceConnect',
1765 'bool',
1766 [param('std::string', 'name'), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')])
1767 ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceConnectWithoutContext(std::string name, ns3::CallbackBase const & cb) [member function]
1768 cls.add_method('TraceConnectWithoutContext',
1769 'bool',
1770 [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')])
1771 ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceDisconnect(std::string name, std::string context, ns3::CallbackBase const & cb) [member function]
1772 cls.add_method('TraceDisconnect',
1773 'bool',
1774 [param('std::string', 'name'), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')])
1775 ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceDisconnectWithoutContext(std::string name, ns3::CallbackBase const & cb) [member function]
1776 cls.add_method('TraceDisconnectWithoutContext',
1777 'bool',
1778 [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')])
1779 ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function]
1780 cls.add_method('ConstructSelf',
1781 'void',
1782 [param('ns3::AttributeConstructionList const &', 'attributes')],
1783 visibility='protected')
1784 ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function]
1785 cls.add_method('NotifyConstructionCompleted',
1786 'void',
1787 [],
1788 visibility='protected', is_virtual=True)
1789 return
1790
1791def register_Ns3ObjectDeleter_methods(root_module, cls):
1792 ## object.h (module 'core'): ns3::ObjectDeleter::ObjectDeleter() [constructor]
1793 cls.add_constructor([])
1794 ## object.h (module 'core'): ns3::ObjectDeleter::ObjectDeleter(ns3::ObjectDeleter const & arg0) [copy constructor]
1795 cls.add_constructor([param('ns3::ObjectDeleter const &', 'arg0')])
1796 ## object.h (module 'core'): static void ns3::ObjectDeleter::Delete(ns3::Object * object) [member function]
1797 cls.add_method('Delete',
1798 'void',
1799 [param('ns3::Object *', 'object')],
1800 is_static=True)
1801 return
1802
1803def register_Ns3ObjectFactory_methods(root_module, cls):
1804 cls.add_output_stream_operator()
1805 ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(ns3::ObjectFactory const & arg0) [copy constructor]
1806 cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')])
1807 ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor]
1808 cls.add_constructor([])
1809 ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor]
1810 cls.add_constructor([param('std::string', 'typeId')])
1811 ## object-factory.h (module 'core'): ns3::Ptr<ns3::Object> ns3::ObjectFactory::Create() const [member function]
1812 cls.add_method('Create',
1813 'ns3::Ptr< ns3::Object >',
1814 [],
1815 is_const=True)
1816 ## object-factory.h (module 'core'): ns3::TypeId ns3::ObjectFactory::GetTypeId() const [member function]
1817 cls.add_method('GetTypeId',
1818 'ns3::TypeId',
1819 [],
1820 is_const=True)
1821 ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(std::string name, ns3::AttributeValue const & value) [member function]
1822 cls.add_method('Set',
1823 'void',
1824 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
1825 ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function]
1826 cls.add_method('SetTypeId',
1827 'void',
1828 [param('ns3::TypeId', 'tid')])
1829 ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(char const * tid) [member function]
1830 cls.add_method('SetTypeId',
1831 'void',
1832 [param('char const *', 'tid')])
1833 ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(std::string tid) [member function]
1834 cls.add_method('SetTypeId',
1835 'void',
1836 [param('std::string', 'tid')])
1837 return
1838
1839def register_Ns3PacketMetadata_methods(root_module, cls):
1840 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::PacketMetadata(uint64_t uid, uint32_t size) [constructor]
1841 cls.add_constructor([param('uint64_t', 'uid'), param('uint32_t', 'size')])
1842 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::PacketMetadata(ns3::PacketMetadata const & o) [copy constructor]
1843 cls.add_constructor([param('ns3::PacketMetadata const &', 'o')])
1844 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddAtEnd(ns3::PacketMetadata const & o) [member function]
1845 cls.add_method('AddAtEnd',
1846 'void',
1847 [param('ns3::PacketMetadata const &', 'o')])
1848 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddHeader(ns3::Header const & header, uint32_t size) [member function]
1849 cls.add_method('AddHeader',
1850 'void',
1851 [param('ns3::Header const &', 'header'), param('uint32_t', 'size')])
1852 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddPaddingAtEnd(uint32_t end) [member function]
1853 cls.add_method('AddPaddingAtEnd',
1854 'void',
1855 [param('uint32_t', 'end')])
1856 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddTrailer(ns3::Trailer const & trailer, uint32_t size) [member function]
1857 cls.add_method('AddTrailer',
1858 'void',
1859 [param('ns3::Trailer const &', 'trailer'), param('uint32_t', 'size')])
1860 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator ns3::PacketMetadata::BeginItem(ns3::Buffer buffer) const [member function]
1861 cls.add_method('BeginItem',
1862 'ns3::PacketMetadata::ItemIterator',
1863 [param('ns3::Buffer', 'buffer')],
1864 is_const=True)
1865 ## packet-metadata.h (module 'network'): ns3::PacketMetadata ns3::PacketMetadata::CreateFragment(uint32_t start, uint32_t end) const [member function]
1866 cls.add_method('CreateFragment',
1867 'ns3::PacketMetadata',
1868 [param('uint32_t', 'start'), param('uint32_t', 'end')],
1869 is_const=True)
1870 ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::Deserialize(uint8_t const * buffer, uint32_t size) [member function]
1871 cls.add_method('Deserialize',
1872 'uint32_t',
1873 [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
1874 ## packet-metadata.h (module 'network'): static void ns3::PacketMetadata::Enable() [member function]
1875 cls.add_method('Enable',
1876 'void',
1877 [],
1878 is_static=True)
1879 ## packet-metadata.h (module 'network'): static void ns3::PacketMetadata::EnableChecking() [member function]
1880 cls.add_method('EnableChecking',
1881 'void',
1882 [],
1883 is_static=True)
1884 ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::GetSerializedSize() const [member function]
1885 cls.add_method('GetSerializedSize',
1886 'uint32_t',
1887 [],
1888 is_const=True)
1889 ## packet-metadata.h (module 'network'): uint64_t ns3::PacketMetadata::GetUid() const [member function]
1890 cls.add_method('GetUid',
1891 'uint64_t',
1892 [],
1893 is_const=True)
1894 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveAtEnd(uint32_t end) [member function]
1895 cls.add_method('RemoveAtEnd',
1896 'void',
1897 [param('uint32_t', 'end')])
1898 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveAtStart(uint32_t start) [member function]
1899 cls.add_method('RemoveAtStart',
1900 'void',
1901 [param('uint32_t', 'start')])
1902 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveHeader(ns3::Header const & header, uint32_t size) [member function]
1903 cls.add_method('RemoveHeader',
1904 'void',
1905 [param('ns3::Header const &', 'header'), param('uint32_t', 'size')])
1906 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveTrailer(ns3::Trailer const & trailer, uint32_t size) [member function]
1907 cls.add_method('RemoveTrailer',
1908 'void',
1909 [param('ns3::Trailer const &', 'trailer'), param('uint32_t', 'size')])
1910 ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
1911 cls.add_method('Serialize',
1912 'uint32_t',
1913 [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')],
1914 is_const=True)
1915 return
1916
1917def register_Ns3PacketMetadataItem_methods(root_module, cls):
1918 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::Item() [constructor]
1919 cls.add_constructor([])
1920 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::Item(ns3::PacketMetadata::Item const & arg0) [copy constructor]
1921 cls.add_constructor([param('ns3::PacketMetadata::Item const &', 'arg0')])
1922 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::current [variable]
1923 cls.add_instance_attribute('current', 'ns3::Buffer::Iterator', is_const=False)
1924 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentSize [variable]
1925 cls.add_instance_attribute('currentSize', 'uint32_t', is_const=False)
1926 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentTrimedFromEnd [variable]
1927 cls.add_instance_attribute('currentTrimedFromEnd', 'uint32_t', is_const=False)
1928 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentTrimedFromStart [variable]
1929 cls.add_instance_attribute('currentTrimedFromStart', 'uint32_t', is_const=False)
1930 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::isFragment [variable]
1931 cls.add_instance_attribute('isFragment', 'bool', is_const=False)
1932 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::tid [variable]
1933 cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
1934 return
1935
1936def register_Ns3PacketMetadataItemIterator_methods(root_module, cls):
1937 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator::ItemIterator(ns3::PacketMetadata::ItemIterator const & arg0) [copy constructor]
1938 cls.add_constructor([param('ns3::PacketMetadata::ItemIterator const &', 'arg0')])
1939 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator::ItemIterator(ns3::PacketMetadata const * metadata, ns3::Buffer buffer) [constructor]
1940 cls.add_constructor([param('ns3::PacketMetadata const *', 'metadata'), param('ns3::Buffer', 'buffer')])
1941 ## packet-metadata.h (module 'network'): bool ns3::PacketMetadata::ItemIterator::HasNext() const [member function]
1942 cls.add_method('HasNext',
1943 'bool',
1944 [],
1945 is_const=True)
1946 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item ns3::PacketMetadata::ItemIterator::Next() [member function]
1947 cls.add_method('Next',
1948 'ns3::PacketMetadata::Item',
1949 [])
1950 return
1951
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001952def register_Ns3PacketTagIterator_methods(root_module, cls):
1953 ## packet.h (module 'network'): ns3::PacketTagIterator::PacketTagIterator(ns3::PacketTagIterator const & arg0) [copy constructor]
1954 cls.add_constructor([param('ns3::PacketTagIterator const &', 'arg0')])
1955 ## packet.h (module 'network'): bool ns3::PacketTagIterator::HasNext() const [member function]
1956 cls.add_method('HasNext',
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001957 'bool',
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001958 [],
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001959 is_const=True)
1960 ## packet.h (module 'network'): ns3::PacketTagIterator::Item ns3::PacketTagIterator::Next() [member function]
1961 cls.add_method('Next',
1962 'ns3::PacketTagIterator::Item',
1963 [])
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001964 return
1965
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001966def register_Ns3PacketTagIteratorItem_methods(root_module, cls):
1967 ## packet.h (module 'network'): ns3::PacketTagIterator::Item::Item(ns3::PacketTagIterator::Item const & arg0) [copy constructor]
1968 cls.add_constructor([param('ns3::PacketTagIterator::Item const &', 'arg0')])
1969 ## packet.h (module 'network'): void ns3::PacketTagIterator::Item::GetTag(ns3::Tag & tag) const [member function]
1970 cls.add_method('GetTag',
1971 'void',
1972 [param('ns3::Tag &', 'tag')],
1973 is_const=True)
1974 ## packet.h (module 'network'): ns3::TypeId ns3::PacketTagIterator::Item::GetTypeId() const [member function]
1975 cls.add_method('GetTypeId',
1976 'ns3::TypeId',
1977 [],
1978 is_const=True)
1979 return
1980
1981def register_Ns3PacketTagList_methods(root_module, cls):
1982 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::PacketTagList() [constructor]
1983 cls.add_constructor([])
1984 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::PacketTagList(ns3::PacketTagList const & o) [copy constructor]
1985 cls.add_constructor([param('ns3::PacketTagList const &', 'o')])
1986 ## packet-tag-list.h (module 'network'): void ns3::PacketTagList::Add(ns3::Tag const & tag) const [member function]
1987 cls.add_method('Add',
1988 'void',
1989 [param('ns3::Tag const &', 'tag')],
1990 is_const=True)
1991 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData const * ns3::PacketTagList::Head() const [member function]
1992 cls.add_method('Head',
1993 'ns3::PacketTagList::TagData const *',
1994 [],
1995 is_const=True)
1996 ## packet-tag-list.h (module 'network'): bool ns3::PacketTagList::Peek(ns3::Tag & tag) const [member function]
1997 cls.add_method('Peek',
1998 'bool',
1999 [param('ns3::Tag &', 'tag')],
2000 is_const=True)
2001 ## packet-tag-list.h (module 'network'): bool ns3::PacketTagList::Remove(ns3::Tag & tag) [member function]
2002 cls.add_method('Remove',
2003 'bool',
2004 [param('ns3::Tag &', 'tag')])
2005 ## packet-tag-list.h (module 'network'): void ns3::PacketTagList::RemoveAll() [member function]
2006 cls.add_method('RemoveAll',
2007 'void',
2008 [])
2009 return
2010
2011def register_Ns3PacketTagListTagData_methods(root_module, cls):
2012 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::TagData() [constructor]
2013 cls.add_constructor([])
2014 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::TagData(ns3::PacketTagList::TagData const & arg0) [copy constructor]
2015 cls.add_constructor([param('ns3::PacketTagList::TagData const &', 'arg0')])
2016 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::count [variable]
2017 cls.add_instance_attribute('count', 'uint32_t', is_const=False)
2018 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::data [variable]
2019 cls.add_instance_attribute('data', 'uint8_t [ 20 ]', is_const=False)
2020 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::next [variable]
2021 cls.add_instance_attribute('next', 'ns3::PacketTagList::TagData *', is_const=False)
2022 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::tid [variable]
2023 cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002024 return
2025
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002026def register_Ns3RandomVariable_methods(root_module, cls):
2027 cls.add_output_stream_operator()
2028 ## random-variable.h (module 'core'): ns3::RandomVariable::RandomVariable() [constructor]
2029 cls.add_constructor([])
2030 ## random-variable.h (module 'core'): ns3::RandomVariable::RandomVariable(ns3::RandomVariable const & o) [copy constructor]
2031 cls.add_constructor([param('ns3::RandomVariable const &', 'o')])
2032 ## random-variable.h (module 'core'): uint32_t ns3::RandomVariable::GetInteger() const [member function]
2033 cls.add_method('GetInteger',
2034 'uint32_t',
2035 [],
2036 is_const=True)
2037 ## random-variable.h (module 'core'): double ns3::RandomVariable::GetValue() const [member function]
2038 cls.add_method('GetValue',
2039 'double',
2040 [],
2041 is_const=True)
2042 return
2043
2044def register_Ns3RngSeedManager_methods(root_module, cls):
2045 ## rng-seed-manager.h (module 'core'): ns3::RngSeedManager::RngSeedManager() [constructor]
2046 cls.add_constructor([])
2047 ## rng-seed-manager.h (module 'core'): ns3::RngSeedManager::RngSeedManager(ns3::RngSeedManager const & arg0) [copy constructor]
2048 cls.add_constructor([param('ns3::RngSeedManager const &', 'arg0')])
2049 ## rng-seed-manager.h (module 'core'): static uint64_t ns3::RngSeedManager::GetNextStreamIndex() [member function]
2050 cls.add_method('GetNextStreamIndex',
2051 'uint64_t',
2052 [],
2053 is_static=True)
2054 ## rng-seed-manager.h (module 'core'): static uint64_t ns3::RngSeedManager::GetRun() [member function]
2055 cls.add_method('GetRun',
2056 'uint64_t',
2057 [],
2058 is_static=True)
2059 ## rng-seed-manager.h (module 'core'): static uint32_t ns3::RngSeedManager::GetSeed() [member function]
2060 cls.add_method('GetSeed',
2061 'uint32_t',
2062 [],
2063 is_static=True)
2064 ## rng-seed-manager.h (module 'core'): static void ns3::RngSeedManager::SetRun(uint64_t run) [member function]
2065 cls.add_method('SetRun',
2066 'void',
2067 [param('uint64_t', 'run')],
2068 is_static=True)
2069 ## rng-seed-manager.h (module 'core'): static void ns3::RngSeedManager::SetSeed(uint32_t seed) [member function]
2070 cls.add_method('SetSeed',
2071 'void',
2072 [param('uint32_t', 'seed')],
2073 is_static=True)
2074 return
2075
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -07002076def register_Ns3SequenceNumber32_methods(root_module, cls):
2077 cls.add_binary_comparison_operator('!=')
2078 cls.add_binary_numeric_operator('+', root_module['ns3::SequenceNumber32'], root_module['ns3::SequenceNumber32'], param('ns3::SequenceNumber< unsigned int, int > const &', 'right'))
2079 cls.add_binary_numeric_operator('+', root_module['ns3::SequenceNumber32'], root_module['ns3::SequenceNumber32'], param('int', 'right'))
2080 cls.add_inplace_numeric_operator('+=', param('int', 'right'))
2081 cls.add_binary_numeric_operator('-', root_module['ns3::SequenceNumber32'], root_module['ns3::SequenceNumber32'], param('int', 'right'))
2082 cls.add_inplace_numeric_operator('-=', param('int', 'right'))
2083 cls.add_binary_comparison_operator('<')
2084 cls.add_binary_comparison_operator('<=')
2085 cls.add_binary_comparison_operator('==')
2086 cls.add_binary_comparison_operator('>')
2087 cls.add_binary_comparison_operator('>=')
2088 ## sequence-number.h (module 'network'): ns3::SequenceNumber<unsigned int, int>::SequenceNumber() [constructor]
2089 cls.add_constructor([])
2090 ## sequence-number.h (module 'network'): ns3::SequenceNumber<unsigned int, int>::SequenceNumber(unsigned int value) [constructor]
2091 cls.add_constructor([param('unsigned int', 'value')])
2092 ## sequence-number.h (module 'network'): ns3::SequenceNumber<unsigned int, int>::SequenceNumber(ns3::SequenceNumber<unsigned int, int> const & value) [copy constructor]
2093 cls.add_constructor([param('ns3::SequenceNumber< unsigned int, int > const &', 'value')])
2094 ## sequence-number.h (module 'network'): unsigned int ns3::SequenceNumber<unsigned int, int>::GetValue() const [member function]
2095 cls.add_method('GetValue',
2096 'unsigned int',
2097 [],
2098 is_const=True)
2099 return
2100
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002101def register_Ns3SequentialVariable_methods(root_module, cls):
2102 ## random-variable.h (module 'core'): ns3::SequentialVariable::SequentialVariable(ns3::SequentialVariable const & arg0) [copy constructor]
2103 cls.add_constructor([param('ns3::SequentialVariable const &', 'arg0')])
2104 ## random-variable.h (module 'core'): ns3::SequentialVariable::SequentialVariable(double f, double l, double i=1, uint32_t c=1) [constructor]
2105 cls.add_constructor([param('double', 'f'), param('double', 'l'), param('double', 'i', default_value='1'), param('uint32_t', 'c', default_value='1')])
2106 ## random-variable.h (module 'core'): ns3::SequentialVariable::SequentialVariable(double f, double l, ns3::RandomVariable const & i, uint32_t c=1) [constructor]
2107 cls.add_constructor([param('double', 'f'), param('double', 'l'), param('ns3::RandomVariable const &', 'i'), param('uint32_t', 'c', default_value='1')])
2108 return
2109
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002110def register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, cls):
2111 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter>::SimpleRefCount() [constructor]
2112 cls.add_constructor([])
2113 ## 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]
2114 cls.add_constructor([param('ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter > const &', 'o')])
2115 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter>::Cleanup() [member function]
2116 cls.add_method('Cleanup',
2117 'void',
2118 [],
2119 is_static=True)
2120 return
2121
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002122def register_Ns3Tag_methods(root_module, cls):
2123 ## tag.h (module 'network'): ns3::Tag::Tag() [constructor]
Alexander Afanasyev4975f732011-12-20 17:52:19 -08002124 cls.add_constructor([])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002125 ## tag.h (module 'network'): ns3::Tag::Tag(ns3::Tag const & arg0) [copy constructor]
2126 cls.add_constructor([param('ns3::Tag const &', 'arg0')])
2127 ## tag.h (module 'network'): void ns3::Tag::Deserialize(ns3::TagBuffer i) [member function]
2128 cls.add_method('Deserialize',
Alexander Afanasyev4975f732011-12-20 17:52:19 -08002129 'void',
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002130 [param('ns3::TagBuffer', 'i')],
2131 is_pure_virtual=True, is_virtual=True)
2132 ## tag.h (module 'network'): uint32_t ns3::Tag::GetSerializedSize() const [member function]
2133 cls.add_method('GetSerializedSize',
2134 'uint32_t',
2135 [],
2136 is_pure_virtual=True, is_const=True, is_virtual=True)
2137 ## tag.h (module 'network'): static ns3::TypeId ns3::Tag::GetTypeId() [member function]
2138 cls.add_method('GetTypeId',
2139 'ns3::TypeId',
2140 [],
Alexander Afanasyev4975f732011-12-20 17:52:19 -08002141 is_static=True)
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002142 ## tag.h (module 'network'): void ns3::Tag::Print(std::ostream & os) const [member function]
2143 cls.add_method('Print',
Alexander Afanasyev4975f732011-12-20 17:52:19 -08002144 'void',
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002145 [param('std::ostream &', 'os')],
2146 is_pure_virtual=True, is_const=True, is_virtual=True)
2147 ## tag.h (module 'network'): void ns3::Tag::Serialize(ns3::TagBuffer i) const [member function]
2148 cls.add_method('Serialize',
2149 'void',
2150 [param('ns3::TagBuffer', 'i')],
2151 is_pure_virtual=True, is_const=True, is_virtual=True)
Alexander Afanasyev4975f732011-12-20 17:52:19 -08002152 return
2153
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002154def register_Ns3TagBuffer_methods(root_module, cls):
2155 ## tag-buffer.h (module 'network'): ns3::TagBuffer::TagBuffer(ns3::TagBuffer const & arg0) [copy constructor]
2156 cls.add_constructor([param('ns3::TagBuffer const &', 'arg0')])
2157 ## tag-buffer.h (module 'network'): ns3::TagBuffer::TagBuffer(uint8_t * start, uint8_t * end) [constructor]
2158 cls.add_constructor([param('uint8_t *', 'start'), param('uint8_t *', 'end')])
2159 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::CopyFrom(ns3::TagBuffer o) [member function]
2160 cls.add_method('CopyFrom',
2161 'void',
2162 [param('ns3::TagBuffer', 'o')])
2163 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::Read(uint8_t * buffer, uint32_t size) [member function]
2164 cls.add_method('Read',
2165 'void',
2166 [param('uint8_t *', 'buffer'), param('uint32_t', 'size')])
2167 ## tag-buffer.h (module 'network'): double ns3::TagBuffer::ReadDouble() [member function]
2168 cls.add_method('ReadDouble',
2169 'double',
2170 [])
2171 ## tag-buffer.h (module 'network'): uint16_t ns3::TagBuffer::ReadU16() [member function]
2172 cls.add_method('ReadU16',
2173 'uint16_t',
2174 [])
2175 ## tag-buffer.h (module 'network'): uint32_t ns3::TagBuffer::ReadU32() [member function]
2176 cls.add_method('ReadU32',
2177 'uint32_t',
2178 [])
2179 ## tag-buffer.h (module 'network'): uint64_t ns3::TagBuffer::ReadU64() [member function]
2180 cls.add_method('ReadU64',
2181 'uint64_t',
2182 [])
2183 ## tag-buffer.h (module 'network'): uint8_t ns3::TagBuffer::ReadU8() [member function]
2184 cls.add_method('ReadU8',
2185 'uint8_t',
2186 [])
2187 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::TrimAtEnd(uint32_t trim) [member function]
2188 cls.add_method('TrimAtEnd',
2189 'void',
2190 [param('uint32_t', 'trim')])
2191 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::Write(uint8_t const * buffer, uint32_t size) [member function]
2192 cls.add_method('Write',
2193 'void',
2194 [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
2195 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteDouble(double v) [member function]
2196 cls.add_method('WriteDouble',
2197 'void',
2198 [param('double', 'v')])
2199 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU16(uint16_t data) [member function]
2200 cls.add_method('WriteU16',
2201 'void',
2202 [param('uint16_t', 'data')])
2203 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU32(uint32_t data) [member function]
2204 cls.add_method('WriteU32',
2205 'void',
2206 [param('uint32_t', 'data')])
2207 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU64(uint64_t v) [member function]
2208 cls.add_method('WriteU64',
2209 'void',
2210 [param('uint64_t', 'v')])
2211 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU8(uint8_t v) [member function]
2212 cls.add_method('WriteU8',
2213 'void',
2214 [param('uint8_t', 'v')])
2215 return
2216
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -07002217def register_Ns3TracedValue__Ns3NdnFibFaceMetricStatus_methods(root_module, cls):
2218 ## traced-value.h (module 'core'): ns3::TracedValue<ns3::ndn::fib::FaceMetric::Status>::TracedValue() [constructor]
2219 cls.add_constructor([])
2220 ## traced-value.h (module 'core'): ns3::TracedValue<ns3::ndn::fib::FaceMetric::Status>::TracedValue(ns3::TracedValue<ns3::ndn::fib::FaceMetric::Status> const & o) [copy constructor]
2221 cls.add_constructor([param('ns3::TracedValue< ns3::ndn::fib::FaceMetric::Status > const &', 'o')])
2222 ## traced-value.h (module 'core'): ns3::TracedValue<ns3::ndn::fib::FaceMetric::Status>::TracedValue(ns3::ndn::fib::FaceMetric::Status const & v) [constructor]
2223 cls.add_constructor([param('ns3::ndn::fib::FaceMetric::Status const &', 'v')])
2224 ## traced-value.h (module 'core'): void ns3::TracedValue<ns3::ndn::fib::FaceMetric::Status>::Connect(ns3::CallbackBase const & cb, std::basic_string<char,std::char_traits<char>,std::allocator<char> > path) [member function]
2225 cls.add_method('Connect',
2226 'void',
2227 [param('ns3::CallbackBase const &', 'cb'), param('std::string', 'path')])
2228 ## traced-value.h (module 'core'): void ns3::TracedValue<ns3::ndn::fib::FaceMetric::Status>::ConnectWithoutContext(ns3::CallbackBase const & cb) [member function]
2229 cls.add_method('ConnectWithoutContext',
2230 'void',
2231 [param('ns3::CallbackBase const &', 'cb')])
2232 ## traced-value.h (module 'core'): void ns3::TracedValue<ns3::ndn::fib::FaceMetric::Status>::Disconnect(ns3::CallbackBase const & cb, std::basic_string<char,std::char_traits<char>,std::allocator<char> > path) [member function]
2233 cls.add_method('Disconnect',
2234 'void',
2235 [param('ns3::CallbackBase const &', 'cb'), param('std::string', 'path')])
2236 ## traced-value.h (module 'core'): void ns3::TracedValue<ns3::ndn::fib::FaceMetric::Status>::DisconnectWithoutContext(ns3::CallbackBase const & cb) [member function]
2237 cls.add_method('DisconnectWithoutContext',
2238 'void',
2239 [param('ns3::CallbackBase const &', 'cb')])
2240 ## traced-value.h (module 'core'): ns3::ndn::fib::FaceMetric::Status ns3::TracedValue<ns3::ndn::fib::FaceMetric::Status>::Get() const [member function]
2241 cls.add_method('Get',
2242 'ns3::ndn::fib::FaceMetric::Status',
2243 [],
2244 is_const=True)
2245 ## traced-value.h (module 'core'): void ns3::TracedValue<ns3::ndn::fib::FaceMetric::Status>::Set(ns3::ndn::fib::FaceMetric::Status const & v) [member function]
2246 cls.add_method('Set',
2247 'void',
2248 [param('ns3::ndn::fib::FaceMetric::Status const &', 'v')])
2249 return
2250
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002251def register_Ns3TriangularVariable_methods(root_module, cls):
2252 ## random-variable.h (module 'core'): ns3::TriangularVariable::TriangularVariable(ns3::TriangularVariable const & arg0) [copy constructor]
2253 cls.add_constructor([param('ns3::TriangularVariable const &', 'arg0')])
2254 ## random-variable.h (module 'core'): ns3::TriangularVariable::TriangularVariable() [constructor]
2255 cls.add_constructor([])
2256 ## random-variable.h (module 'core'): ns3::TriangularVariable::TriangularVariable(double s, double l, double mean) [constructor]
2257 cls.add_constructor([param('double', 's'), param('double', 'l'), param('double', 'mean')])
2258 return
2259
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002260def register_Ns3TypeId_methods(root_module, cls):
2261 cls.add_binary_comparison_operator('!=')
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07002262 cls.add_output_stream_operator()
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07002263 cls.add_binary_comparison_operator('==')
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002264 cls.add_binary_comparison_operator('<')
2265 ## type-id.h (module 'core'): ns3::TypeId::TypeId(char const * name) [constructor]
2266 cls.add_constructor([param('char const *', 'name')])
2267 ## type-id.h (module 'core'): ns3::TypeId::TypeId() [constructor]
2268 cls.add_constructor([])
2269 ## type-id.h (module 'core'): ns3::TypeId::TypeId(ns3::TypeId const & o) [copy constructor]
2270 cls.add_constructor([param('ns3::TypeId const &', 'o')])
2271 ## 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]
2272 cls.add_method('AddAttribute',
2273 'ns3::TypeId',
2274 [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')])
2275 ## 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]
2276 cls.add_method('AddAttribute',
2277 'ns3::TypeId',
2278 [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')])
2279 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr<ns3::TraceSourceAccessor const> accessor) [member function]
2280 cls.add_method('AddTraceSource',
2281 'ns3::TypeId',
2282 [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')])
2283 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function]
2284 cls.add_method('GetAttribute',
2285 'ns3::TypeId::AttributeInformation',
2286 [param('uint32_t', 'i')],
2287 is_const=True)
2288 ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function]
2289 cls.add_method('GetAttributeFullName',
2290 'std::string',
2291 [param('uint32_t', 'i')],
2292 is_const=True)
2293 ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function]
2294 cls.add_method('GetAttributeN',
2295 'uint32_t',
2296 [],
2297 is_const=True)
2298 ## 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]
2299 cls.add_method('GetConstructor',
2300 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >',
2301 [],
2302 is_const=True)
2303 ## type-id.h (module 'core'): std::string ns3::TypeId::GetGroupName() const [member function]
2304 cls.add_method('GetGroupName',
2305 'std::string',
2306 [],
2307 is_const=True)
2308 ## type-id.h (module 'core'): std::string ns3::TypeId::GetName() const [member function]
2309 cls.add_method('GetName',
2310 'std::string',
2311 [],
2312 is_const=True)
2313 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::GetParent() const [member function]
2314 cls.add_method('GetParent',
2315 'ns3::TypeId',
2316 [],
2317 is_const=True)
2318 ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::GetRegistered(uint32_t i) [member function]
2319 cls.add_method('GetRegistered',
2320 'ns3::TypeId',
2321 [param('uint32_t', 'i')],
2322 is_static=True)
2323 ## type-id.h (module 'core'): static uint32_t ns3::TypeId::GetRegisteredN() [member function]
2324 cls.add_method('GetRegisteredN',
2325 'uint32_t',
2326 [],
2327 is_static=True)
2328 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function]
2329 cls.add_method('GetTraceSource',
2330 'ns3::TypeId::TraceSourceInformation',
2331 [param('uint32_t', 'i')],
2332 is_const=True)
2333 ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function]
2334 cls.add_method('GetTraceSourceN',
2335 'uint32_t',
2336 [],
2337 is_const=True)
2338 ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function]
2339 cls.add_method('GetUid',
2340 'uint16_t',
2341 [],
2342 is_const=True)
2343 ## type-id.h (module 'core'): bool ns3::TypeId::HasConstructor() const [member function]
2344 cls.add_method('HasConstructor',
2345 'bool',
2346 [],
2347 is_const=True)
2348 ## type-id.h (module 'core'): bool ns3::TypeId::HasParent() const [member function]
2349 cls.add_method('HasParent',
2350 'bool',
2351 [],
2352 is_const=True)
2353 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::HideFromDocumentation() [member function]
2354 cls.add_method('HideFromDocumentation',
2355 'ns3::TypeId',
2356 [])
2357 ## type-id.h (module 'core'): bool ns3::TypeId::IsChildOf(ns3::TypeId other) const [member function]
2358 cls.add_method('IsChildOf',
2359 'bool',
2360 [param('ns3::TypeId', 'other')],
2361 is_const=True)
2362 ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function]
2363 cls.add_method('LookupAttributeByName',
2364 'bool',
Alexander Afanasyev6f933532012-02-29 13:30:37 -08002365 [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info', transfer_ownership=False)],
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002366 is_const=True)
2367 ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function]
2368 cls.add_method('LookupByName',
2369 'ns3::TypeId',
2370 [param('std::string', 'name')],
2371 is_static=True)
2372 ## type-id.h (module 'core'): ns3::Ptr<ns3::TraceSourceAccessor const> ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function]
2373 cls.add_method('LookupTraceSourceByName',
2374 'ns3::Ptr< ns3::TraceSourceAccessor const >',
2375 [param('std::string', 'name')],
2376 is_const=True)
2377 ## type-id.h (module 'core'): bool ns3::TypeId::MustHideFromDocumentation() const [member function]
2378 cls.add_method('MustHideFromDocumentation',
2379 'bool',
2380 [],
2381 is_const=True)
2382 ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr<ns3::AttributeValue const> initialValue) [member function]
2383 cls.add_method('SetAttributeInitialValue',
2384 'bool',
2385 [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')])
2386 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function]
2387 cls.add_method('SetGroupName',
2388 'ns3::TypeId',
2389 [param('std::string', 'groupName')])
2390 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetParent(ns3::TypeId tid) [member function]
2391 cls.add_method('SetParent',
2392 'ns3::TypeId',
2393 [param('ns3::TypeId', 'tid')])
2394 ## type-id.h (module 'core'): void ns3::TypeId::SetUid(uint16_t tid) [member function]
2395 cls.add_method('SetUid',
2396 'void',
2397 [param('uint16_t', 'tid')])
2398 return
2399
2400def register_Ns3TypeIdAttributeInformation_methods(root_module, cls):
2401 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor]
2402 cls.add_constructor([])
2403 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor]
2404 cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')])
2405 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable]
2406 cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False)
2407 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable]
2408 cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False)
2409 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable]
2410 cls.add_instance_attribute('flags', 'uint32_t', is_const=False)
2411 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable]
2412 cls.add_instance_attribute('help', 'std::string', is_const=False)
2413 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable]
2414 cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False)
2415 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable]
2416 cls.add_instance_attribute('name', 'std::string', is_const=False)
2417 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable]
2418 cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False)
2419 return
2420
2421def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls):
2422 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor]
2423 cls.add_constructor([])
2424 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor]
2425 cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')])
2426 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable]
2427 cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False)
2428 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable]
2429 cls.add_instance_attribute('help', 'std::string', is_const=False)
2430 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable]
2431 cls.add_instance_attribute('name', 'std::string', is_const=False)
2432 return
2433
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002434def register_Ns3UniformVariable_methods(root_module, cls):
2435 ## random-variable.h (module 'core'): ns3::UniformVariable::UniformVariable(ns3::UniformVariable const & arg0) [copy constructor]
2436 cls.add_constructor([param('ns3::UniformVariable const &', 'arg0')])
2437 ## random-variable.h (module 'core'): ns3::UniformVariable::UniformVariable() [constructor]
2438 cls.add_constructor([])
2439 ## random-variable.h (module 'core'): ns3::UniformVariable::UniformVariable(double s, double l) [constructor]
2440 cls.add_constructor([param('double', 's'), param('double', 'l')])
2441 ## random-variable.h (module 'core'): uint32_t ns3::UniformVariable::GetInteger(uint32_t s, uint32_t l) [member function]
2442 cls.add_method('GetInteger',
2443 'uint32_t',
2444 [param('uint32_t', 's'), param('uint32_t', 'l')])
2445 ## random-variable.h (module 'core'): double ns3::UniformVariable::GetValue() const [member function]
2446 cls.add_method('GetValue',
2447 'double',
2448 [],
2449 is_const=True)
2450 ## random-variable.h (module 'core'): double ns3::UniformVariable::GetValue(double s, double l) [member function]
2451 cls.add_method('GetValue',
2452 'double',
2453 [param('double', 's'), param('double', 'l')])
2454 return
2455
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002456def register_Ns3WeibullVariable_methods(root_module, cls):
2457 ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(ns3::WeibullVariable const & arg0) [copy constructor]
2458 cls.add_constructor([param('ns3::WeibullVariable const &', 'arg0')])
2459 ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable() [constructor]
2460 cls.add_constructor([])
2461 ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(double m) [constructor]
2462 cls.add_constructor([param('double', 'm')])
2463 ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(double m, double s) [constructor]
2464 cls.add_constructor([param('double', 'm'), param('double', 's')])
2465 ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(double m, double s, double b) [constructor]
2466 cls.add_constructor([param('double', 'm'), param('double', 's'), param('double', 'b')])
2467 return
2468
2469def register_Ns3ZetaVariable_methods(root_module, cls):
2470 ## random-variable.h (module 'core'): ns3::ZetaVariable::ZetaVariable(ns3::ZetaVariable const & arg0) [copy constructor]
2471 cls.add_constructor([param('ns3::ZetaVariable const &', 'arg0')])
2472 ## random-variable.h (module 'core'): ns3::ZetaVariable::ZetaVariable(double alpha) [constructor]
2473 cls.add_constructor([param('double', 'alpha')])
2474 ## random-variable.h (module 'core'): ns3::ZetaVariable::ZetaVariable() [constructor]
2475 cls.add_constructor([])
2476 return
2477
2478def register_Ns3ZipfVariable_methods(root_module, cls):
2479 ## random-variable.h (module 'core'): ns3::ZipfVariable::ZipfVariable(ns3::ZipfVariable const & arg0) [copy constructor]
2480 cls.add_constructor([param('ns3::ZipfVariable const &', 'arg0')])
2481 ## random-variable.h (module 'core'): ns3::ZipfVariable::ZipfVariable(long int N, double alpha) [constructor]
2482 cls.add_constructor([param('long int', 'N'), param('double', 'alpha')])
2483 ## random-variable.h (module 'core'): ns3::ZipfVariable::ZipfVariable() [constructor]
2484 cls.add_constructor([])
2485 return
2486
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002487def register_Ns3Empty_methods(root_module, cls):
2488 ## empty.h (module 'core'): ns3::empty::empty() [constructor]
2489 cls.add_constructor([])
2490 ## empty.h (module 'core'): ns3::empty::empty(ns3::empty const & arg0) [copy constructor]
2491 cls.add_constructor([param('ns3::empty const &', 'arg0')])
2492 return
2493
2494def register_Ns3Int64x64_t_methods(root_module, cls):
2495 cls.add_binary_comparison_operator('!=')
2496 cls.add_inplace_numeric_operator('*=', param('ns3::int64x64_t const &', 'right'))
2497 cls.add_inplace_numeric_operator('+=', param('ns3::int64x64_t const &', 'right'))
2498 cls.add_inplace_numeric_operator('-=', param('ns3::int64x64_t const &', 'right'))
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07002499 cls.add_output_stream_operator()
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08002500 cls.add_binary_comparison_operator('<=')
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002501 cls.add_binary_comparison_operator('==')
2502 cls.add_binary_comparison_operator('>=')
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002503 cls.add_inplace_numeric_operator('/=', param('ns3::int64x64_t const &', 'right'))
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002504 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
2505 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
2506 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
2507 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
2508 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
2509 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
2510 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
2511 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
2512 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
2513 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
2514 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
2515 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
2516 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
2517 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
2518 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
2519 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
2520 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
2521 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
2522 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
2523 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
2524 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
2525 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
2526 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
2527 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
2528 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
2529 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
2530 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
2531 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
2532 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
2533 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
2534 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
2535 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
2536 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
2537 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
2538 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
2539 cls.add_unary_numeric_operator('-')
2540 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
2541 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
2542 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
2543 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
2544 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
2545 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
2546 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
2547 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
2548 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
2549 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
2550 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
2551 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
2552 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
2553 cls.add_binary_comparison_operator('<')
2554 cls.add_binary_comparison_operator('>')
2555 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t() [constructor]
2556 cls.add_constructor([])
2557 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(double v) [constructor]
2558 cls.add_constructor([param('double', 'v')])
2559 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(int v) [constructor]
2560 cls.add_constructor([param('int', 'v')])
2561 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long int v) [constructor]
2562 cls.add_constructor([param('long int', 'v')])
2563 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long long int v) [constructor]
2564 cls.add_constructor([param('long long int', 'v')])
2565 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(unsigned int v) [constructor]
2566 cls.add_constructor([param('unsigned int', 'v')])
2567 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long unsigned int v) [constructor]
2568 cls.add_constructor([param('long unsigned int', 'v')])
2569 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long long unsigned int v) [constructor]
2570 cls.add_constructor([param('long long unsigned int', 'v')])
2571 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(int64_t hi, uint64_t lo) [constructor]
2572 cls.add_constructor([param('int64_t', 'hi'), param('uint64_t', 'lo')])
2573 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(ns3::int64x64_t const & o) [copy constructor]
2574 cls.add_constructor([param('ns3::int64x64_t const &', 'o')])
2575 ## int64x64-double.h (module 'core'): double ns3::int64x64_t::GetDouble() const [member function]
2576 cls.add_method('GetDouble',
2577 'double',
2578 [],
2579 is_const=True)
2580 ## int64x64-double.h (module 'core'): int64_t ns3::int64x64_t::GetHigh() const [member function]
2581 cls.add_method('GetHigh',
2582 'int64_t',
2583 [],
2584 is_const=True)
2585 ## int64x64-double.h (module 'core'): uint64_t ns3::int64x64_t::GetLow() const [member function]
2586 cls.add_method('GetLow',
2587 'uint64_t',
2588 [],
2589 is_const=True)
2590 ## int64x64-double.h (module 'core'): static ns3::int64x64_t ns3::int64x64_t::Invert(uint64_t v) [member function]
2591 cls.add_method('Invert',
2592 'ns3::int64x64_t',
2593 [param('uint64_t', 'v')],
2594 is_static=True)
2595 ## int64x64-double.h (module 'core'): void ns3::int64x64_t::MulByInvert(ns3::int64x64_t const & o) [member function]
2596 cls.add_method('MulByInvert',
2597 'void',
2598 [param('ns3::int64x64_t const &', 'o')])
2599 return
2600
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002601def register_Ns3Chunk_methods(root_module, cls):
2602 ## chunk.h (module 'network'): ns3::Chunk::Chunk() [constructor]
2603 cls.add_constructor([])
2604 ## chunk.h (module 'network'): ns3::Chunk::Chunk(ns3::Chunk const & arg0) [copy constructor]
2605 cls.add_constructor([param('ns3::Chunk const &', 'arg0')])
2606 ## chunk.h (module 'network'): uint32_t ns3::Chunk::Deserialize(ns3::Buffer::Iterator start) [member function]
2607 cls.add_method('Deserialize',
2608 'uint32_t',
2609 [param('ns3::Buffer::Iterator', 'start')],
2610 is_pure_virtual=True, is_virtual=True)
2611 ## chunk.h (module 'network'): static ns3::TypeId ns3::Chunk::GetTypeId() [member function]
2612 cls.add_method('GetTypeId',
2613 'ns3::TypeId',
2614 [],
2615 is_static=True)
2616 ## chunk.h (module 'network'): void ns3::Chunk::Print(std::ostream & os) const [member function]
2617 cls.add_method('Print',
2618 'void',
2619 [param('std::ostream &', 'os')],
2620 is_pure_virtual=True, is_const=True, is_virtual=True)
2621 return
2622
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002623def register_Ns3ConstantVariable_methods(root_module, cls):
2624 ## random-variable.h (module 'core'): ns3::ConstantVariable::ConstantVariable(ns3::ConstantVariable const & arg0) [copy constructor]
2625 cls.add_constructor([param('ns3::ConstantVariable const &', 'arg0')])
2626 ## random-variable.h (module 'core'): ns3::ConstantVariable::ConstantVariable() [constructor]
2627 cls.add_constructor([])
2628 ## random-variable.h (module 'core'): ns3::ConstantVariable::ConstantVariable(double c) [constructor]
2629 cls.add_constructor([param('double', 'c')])
2630 ## random-variable.h (module 'core'): void ns3::ConstantVariable::SetConstant(double c) [member function]
2631 cls.add_method('SetConstant',
2632 'void',
2633 [param('double', 'c')])
2634 return
2635
2636def register_Ns3DeterministicVariable_methods(root_module, cls):
2637 ## random-variable.h (module 'core'): ns3::DeterministicVariable::DeterministicVariable(ns3::DeterministicVariable const & arg0) [copy constructor]
2638 cls.add_constructor([param('ns3::DeterministicVariable const &', 'arg0')])
2639 ## random-variable.h (module 'core'): ns3::DeterministicVariable::DeterministicVariable(double * d, uint32_t c) [constructor]
2640 cls.add_constructor([param('double *', 'd'), param('uint32_t', 'c')])
2641 return
2642
2643def register_Ns3EmpiricalVariable_methods(root_module, cls):
2644 ## random-variable.h (module 'core'): ns3::EmpiricalVariable::EmpiricalVariable(ns3::EmpiricalVariable const & arg0) [copy constructor]
2645 cls.add_constructor([param('ns3::EmpiricalVariable const &', 'arg0')])
2646 ## random-variable.h (module 'core'): ns3::EmpiricalVariable::EmpiricalVariable() [constructor]
2647 cls.add_constructor([])
2648 ## random-variable.h (module 'core'): void ns3::EmpiricalVariable::CDF(double v, double c) [member function]
2649 cls.add_method('CDF',
2650 'void',
2651 [param('double', 'v'), param('double', 'c')])
2652 return
2653
2654def register_Ns3ErlangVariable_methods(root_module, cls):
2655 ## random-variable.h (module 'core'): ns3::ErlangVariable::ErlangVariable(ns3::ErlangVariable const & arg0) [copy constructor]
2656 cls.add_constructor([param('ns3::ErlangVariable const &', 'arg0')])
2657 ## random-variable.h (module 'core'): ns3::ErlangVariable::ErlangVariable() [constructor]
2658 cls.add_constructor([])
2659 ## random-variable.h (module 'core'): ns3::ErlangVariable::ErlangVariable(unsigned int k, double lambda) [constructor]
2660 cls.add_constructor([param('unsigned int', 'k'), param('double', 'lambda')])
2661 ## random-variable.h (module 'core'): double ns3::ErlangVariable::GetValue() const [member function]
2662 cls.add_method('GetValue',
2663 'double',
2664 [],
2665 is_const=True)
2666 ## random-variable.h (module 'core'): double ns3::ErlangVariable::GetValue(unsigned int k, double lambda) const [member function]
2667 cls.add_method('GetValue',
2668 'double',
2669 [param('unsigned int', 'k'), param('double', 'lambda')],
2670 is_const=True)
2671 return
2672
2673def register_Ns3ExponentialVariable_methods(root_module, cls):
2674 ## random-variable.h (module 'core'): ns3::ExponentialVariable::ExponentialVariable(ns3::ExponentialVariable const & arg0) [copy constructor]
2675 cls.add_constructor([param('ns3::ExponentialVariable const &', 'arg0')])
2676 ## random-variable.h (module 'core'): ns3::ExponentialVariable::ExponentialVariable() [constructor]
2677 cls.add_constructor([])
2678 ## random-variable.h (module 'core'): ns3::ExponentialVariable::ExponentialVariable(double m) [constructor]
2679 cls.add_constructor([param('double', 'm')])
2680 ## random-variable.h (module 'core'): ns3::ExponentialVariable::ExponentialVariable(double m, double b) [constructor]
2681 cls.add_constructor([param('double', 'm'), param('double', 'b')])
2682 return
2683
2684def register_Ns3GammaVariable_methods(root_module, cls):
2685 ## random-variable.h (module 'core'): ns3::GammaVariable::GammaVariable(ns3::GammaVariable const & arg0) [copy constructor]
2686 cls.add_constructor([param('ns3::GammaVariable const &', 'arg0')])
2687 ## random-variable.h (module 'core'): ns3::GammaVariable::GammaVariable() [constructor]
2688 cls.add_constructor([])
2689 ## random-variable.h (module 'core'): ns3::GammaVariable::GammaVariable(double alpha, double beta) [constructor]
2690 cls.add_constructor([param('double', 'alpha'), param('double', 'beta')])
2691 ## random-variable.h (module 'core'): double ns3::GammaVariable::GetValue() const [member function]
2692 cls.add_method('GetValue',
2693 'double',
2694 [],
2695 is_const=True)
2696 ## random-variable.h (module 'core'): double ns3::GammaVariable::GetValue(double alpha, double beta) const [member function]
2697 cls.add_method('GetValue',
2698 'double',
2699 [param('double', 'alpha'), param('double', 'beta')],
2700 is_const=True)
2701 return
2702
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002703def register_Ns3Header_methods(root_module, cls):
2704 cls.add_output_stream_operator()
2705 ## header.h (module 'network'): ns3::Header::Header() [constructor]
2706 cls.add_constructor([])
2707 ## header.h (module 'network'): ns3::Header::Header(ns3::Header const & arg0) [copy constructor]
2708 cls.add_constructor([param('ns3::Header const &', 'arg0')])
2709 ## header.h (module 'network'): uint32_t ns3::Header::Deserialize(ns3::Buffer::Iterator start) [member function]
2710 cls.add_method('Deserialize',
2711 'uint32_t',
2712 [param('ns3::Buffer::Iterator', 'start')],
2713 is_pure_virtual=True, is_virtual=True)
2714 ## header.h (module 'network'): uint32_t ns3::Header::GetSerializedSize() const [member function]
2715 cls.add_method('GetSerializedSize',
2716 'uint32_t',
2717 [],
2718 is_pure_virtual=True, is_const=True, is_virtual=True)
2719 ## header.h (module 'network'): static ns3::TypeId ns3::Header::GetTypeId() [member function]
2720 cls.add_method('GetTypeId',
2721 'ns3::TypeId',
2722 [],
2723 is_static=True)
2724 ## header.h (module 'network'): void ns3::Header::Print(std::ostream & os) const [member function]
2725 cls.add_method('Print',
2726 'void',
2727 [param('std::ostream &', 'os')],
2728 is_pure_virtual=True, is_const=True, is_virtual=True)
2729 ## header.h (module 'network'): void ns3::Header::Serialize(ns3::Buffer::Iterator start) const [member function]
2730 cls.add_method('Serialize',
2731 'void',
2732 [param('ns3::Buffer::Iterator', 'start')],
2733 is_pure_virtual=True, is_const=True, is_virtual=True)
2734 return
2735
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002736def register_Ns3IntEmpiricalVariable_methods(root_module, cls):
2737 ## random-variable.h (module 'core'): ns3::IntEmpiricalVariable::IntEmpiricalVariable(ns3::IntEmpiricalVariable const & arg0) [copy constructor]
2738 cls.add_constructor([param('ns3::IntEmpiricalVariable const &', 'arg0')])
2739 ## random-variable.h (module 'core'): ns3::IntEmpiricalVariable::IntEmpiricalVariable() [constructor]
2740 cls.add_constructor([])
2741 return
2742
2743def register_Ns3LogNormalVariable_methods(root_module, cls):
2744 ## random-variable.h (module 'core'): ns3::LogNormalVariable::LogNormalVariable(ns3::LogNormalVariable const & arg0) [copy constructor]
2745 cls.add_constructor([param('ns3::LogNormalVariable const &', 'arg0')])
2746 ## random-variable.h (module 'core'): ns3::LogNormalVariable::LogNormalVariable(double mu, double sigma) [constructor]
2747 cls.add_constructor([param('double', 'mu'), param('double', 'sigma')])
2748 return
2749
2750def register_Ns3NormalVariable_methods(root_module, cls):
2751 ## random-variable.h (module 'core'): ns3::NormalVariable::NormalVariable(ns3::NormalVariable const & arg0) [copy constructor]
2752 cls.add_constructor([param('ns3::NormalVariable const &', 'arg0')])
2753 ## random-variable.h (module 'core'): ns3::NormalVariable::NormalVariable() [constructor]
2754 cls.add_constructor([])
2755 ## random-variable.h (module 'core'): ns3::NormalVariable::NormalVariable(double m, double v) [constructor]
2756 cls.add_constructor([param('double', 'm'), param('double', 'v')])
2757 ## random-variable.h (module 'core'): ns3::NormalVariable::NormalVariable(double m, double v, double b) [constructor]
2758 cls.add_constructor([param('double', 'm'), param('double', 'v'), param('double', 'b')])
2759 return
2760
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002761def register_Ns3Object_methods(root_module, cls):
2762 ## object.h (module 'core'): ns3::Object::Object() [constructor]
2763 cls.add_constructor([])
2764 ## object.h (module 'core'): void ns3::Object::AggregateObject(ns3::Ptr<ns3::Object> other) [member function]
2765 cls.add_method('AggregateObject',
2766 'void',
2767 [param('ns3::Ptr< ns3::Object >', 'other')])
2768 ## object.h (module 'core'): void ns3::Object::Dispose() [member function]
2769 cls.add_method('Dispose',
2770 'void',
2771 [])
2772 ## object.h (module 'core'): ns3::Object::AggregateIterator ns3::Object::GetAggregateIterator() const [member function]
2773 cls.add_method('GetAggregateIterator',
2774 'ns3::Object::AggregateIterator',
2775 [],
2776 is_const=True)
2777 ## object.h (module 'core'): ns3::TypeId ns3::Object::GetInstanceTypeId() const [member function]
2778 cls.add_method('GetInstanceTypeId',
2779 'ns3::TypeId',
2780 [],
2781 is_const=True, is_virtual=True)
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002782 ## object.h (module 'core'): ns3::Ptr<ns3::ndn::ContentStore> ns3::Object::GetObject() const [member function]
2783 cls.add_method('GetObject',
2784 'ns3::Ptr< ns3::ndn::ContentStore >',
2785 [],
2786 is_const=True, template_parameters=['ns3::ndn::ContentStore'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07002787 ## object.h (module 'core'): ns3::Ptr<ns3::ndn::Fib> ns3::Object::GetObject() const [member function]
Alexander Afanasyev1c0248b2012-07-24 15:59:50 -07002788 cls.add_method('GetObject',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07002789 'ns3::Ptr< ns3::ndn::Fib >',
Alexander Afanasyev1c0248b2012-07-24 15:59:50 -07002790 [],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07002791 is_const=True, template_parameters=['ns3::ndn::Fib'])
2792 ## object.h (module 'core'): ns3::Ptr<ns3::ndn::Pit> ns3::Object::GetObject() const [member function]
Alexander Afanasyev5feb38b2012-08-09 11:01:43 -07002793 cls.add_method('GetObject',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07002794 'ns3::Ptr< ns3::ndn::Pit >',
Alexander Afanasyev5feb38b2012-08-09 11:01:43 -07002795 [],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07002796 is_const=True, template_parameters=['ns3::ndn::Pit'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002797 ## object.h (module 'core'): static ns3::TypeId ns3::Object::GetTypeId() [member function]
2798 cls.add_method('GetTypeId',
2799 'ns3::TypeId',
2800 [],
2801 is_static=True)
2802 ## object.h (module 'core'): void ns3::Object::Start() [member function]
2803 cls.add_method('Start',
2804 'void',
2805 [])
2806 ## object.h (module 'core'): ns3::Object::Object(ns3::Object const & o) [copy constructor]
2807 cls.add_constructor([param('ns3::Object const &', 'o')],
2808 visibility='protected')
2809 ## object.h (module 'core'): void ns3::Object::DoDispose() [member function]
2810 cls.add_method('DoDispose',
2811 'void',
2812 [],
2813 visibility='protected', is_virtual=True)
2814 ## object.h (module 'core'): void ns3::Object::DoStart() [member function]
2815 cls.add_method('DoStart',
2816 'void',
2817 [],
2818 visibility='protected', is_virtual=True)
2819 ## object.h (module 'core'): void ns3::Object::NotifyNewAggregate() [member function]
2820 cls.add_method('NotifyNewAggregate',
2821 'void',
2822 [],
2823 visibility='protected', is_virtual=True)
2824 return
2825
2826def register_Ns3ObjectAggregateIterator_methods(root_module, cls):
2827 ## object.h (module 'core'): ns3::Object::AggregateIterator::AggregateIterator(ns3::Object::AggregateIterator const & arg0) [copy constructor]
2828 cls.add_constructor([param('ns3::Object::AggregateIterator const &', 'arg0')])
2829 ## object.h (module 'core'): ns3::Object::AggregateIterator::AggregateIterator() [constructor]
2830 cls.add_constructor([])
2831 ## object.h (module 'core'): bool ns3::Object::AggregateIterator::HasNext() const [member function]
2832 cls.add_method('HasNext',
2833 'bool',
2834 [],
2835 is_const=True)
2836 ## object.h (module 'core'): ns3::Ptr<ns3::Object const> ns3::Object::AggregateIterator::Next() [member function]
2837 cls.add_method('Next',
2838 'ns3::Ptr< ns3::Object const >',
2839 [])
2840 return
2841
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002842def register_Ns3ParetoVariable_methods(root_module, cls):
2843 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(ns3::ParetoVariable const & arg0) [copy constructor]
2844 cls.add_constructor([param('ns3::ParetoVariable const &', 'arg0')])
2845 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable() [constructor]
2846 cls.add_constructor([])
2847 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(double m) [constructor]
2848 cls.add_constructor([param('double', 'm')])
2849 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(double m, double s) [constructor]
2850 cls.add_constructor([param('double', 'm'), param('double', 's')])
2851 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(double m, double s, double b) [constructor]
2852 cls.add_constructor([param('double', 'm'), param('double', 's'), param('double', 'b')])
2853 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(std::pair<double,double> params) [constructor]
2854 cls.add_constructor([param('std::pair< double, double >', 'params')])
2855 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(std::pair<double,double> params, double b) [constructor]
2856 cls.add_constructor([param('std::pair< double, double >', 'params'), param('double', 'b')])
2857 return
2858
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002859def register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, cls):
2860 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >::SimpleRefCount() [constructor]
2861 cls.add_constructor([])
2862 ## 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]
2863 cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter< ns3::AttributeAccessor > > const &', 'o')])
2864 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >::Cleanup() [member function]
2865 cls.add_method('Cleanup',
2866 'void',
2867 [],
2868 is_static=True)
2869 return
2870
2871def register_Ns3SimpleRefCount__Ns3AttributeChecker_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeChecker__gt___methods(root_module, cls):
2872 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >::SimpleRefCount() [constructor]
2873 cls.add_constructor([])
2874 ## 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]
2875 cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter< ns3::AttributeChecker > > const &', 'o')])
2876 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >::Cleanup() [member function]
2877 cls.add_method('Cleanup',
2878 'void',
2879 [],
2880 is_static=True)
2881 return
2882
2883def register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeValue__gt___methods(root_module, cls):
2884 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >::SimpleRefCount() [constructor]
2885 cls.add_constructor([])
2886 ## 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]
2887 cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter< ns3::AttributeValue > > const &', 'o')])
2888 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >::Cleanup() [member function]
2889 cls.add_method('Cleanup',
2890 'void',
2891 [],
2892 is_static=True)
2893 return
2894
2895def register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__lt__ns3CallbackImplBase__gt___methods(root_module, cls):
2896 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >::SimpleRefCount() [constructor]
2897 cls.add_constructor([])
2898 ## 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]
2899 cls.add_constructor([param('ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter< ns3::CallbackImplBase > > const &', 'o')])
2900 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >::Cleanup() [member function]
2901 cls.add_method('Cleanup',
2902 'void',
2903 [],
2904 is_static=True)
2905 return
2906
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002907def register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__gt___methods(root_module, cls):
2908 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >::SimpleRefCount() [constructor]
2909 cls.add_constructor([])
2910 ## 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]
2911 cls.add_constructor([param('ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter< ns3::EventImpl > > const &', 'o')])
2912 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >::Cleanup() [member function]
2913 cls.add_method('Cleanup',
2914 'void',
2915 [],
2916 is_static=True)
2917 return
2918
2919def register_Ns3SimpleRefCount__Ns3NixVector_Ns3Empty_Ns3DefaultDeleter__lt__ns3NixVector__gt___methods(root_module, cls):
2920 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >::SimpleRefCount() [constructor]
2921 cls.add_constructor([])
2922 ## 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]
2923 cls.add_constructor([param('ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter< ns3::NixVector > > const &', 'o')])
2924 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >::Cleanup() [member function]
2925 cls.add_method('Cleanup',
2926 'void',
2927 [],
2928 is_static=True)
2929 return
2930
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002931def register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, cls):
2932 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >::SimpleRefCount() [constructor]
2933 cls.add_constructor([])
2934 ## 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]
2935 cls.add_constructor([param('ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter< ns3::Packet > > const &', 'o')])
2936 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >::Cleanup() [member function]
2937 cls.add_method('Cleanup',
2938 'void',
2939 [],
2940 is_static=True)
2941 return
2942
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002943def register_Ns3SimpleRefCount__Ns3TopologyReader_Ns3Empty_Ns3DefaultDeleter__lt__ns3TopologyReader__gt___methods(root_module, cls):
2944 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TopologyReader, ns3::empty, ns3::DefaultDeleter<ns3::TopologyReader> >::SimpleRefCount() [constructor]
2945 cls.add_constructor([])
2946 ## 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]
2947 cls.add_constructor([param('ns3::SimpleRefCount< ns3::TopologyReader, ns3::empty, ns3::DefaultDeleter< ns3::TopologyReader > > const &', 'o')])
2948 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::TopologyReader, ns3::empty, ns3::DefaultDeleter<ns3::TopologyReader> >::Cleanup() [member function]
2949 cls.add_method('Cleanup',
2950 'void',
2951 [],
2952 is_static=True)
2953 return
2954
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002955def register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, cls):
2956 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >::SimpleRefCount() [constructor]
2957 cls.add_constructor([])
2958 ## 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]
2959 cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > const &', 'o')])
2960 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >::Cleanup() [member function]
2961 cls.add_method('Cleanup',
2962 'void',
2963 [],
2964 is_static=True)
2965 return
2966
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07002967def register_Ns3SimpleRefCount__Ns3NdnContentObjectHeader_Ns3Header_Ns3DefaultDeleter__lt__ns3NdnContentObjectHeader__gt___methods(root_module, cls):
2968 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::ContentObjectHeader, ns3::Header, ns3::DefaultDeleter<ns3::ndn::ContentObjectHeader> >::SimpleRefCount() [constructor]
2969 cls.add_constructor([])
2970 ## 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]
2971 cls.add_constructor([param('ns3::SimpleRefCount< ns3::ndn::ContentObjectHeader, ns3::Header, ns3::DefaultDeleter< ns3::ndn::ContentObjectHeader > > const &', 'o')])
2972 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::ndn::ContentObjectHeader, ns3::Header, ns3::DefaultDeleter<ns3::ndn::ContentObjectHeader> >::Cleanup() [member function]
2973 cls.add_method('Cleanup',
2974 'void',
2975 [],
2976 is_static=True)
2977 return
2978
2979def register_Ns3SimpleRefCount__Ns3NdnFaceContainer_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnFaceContainer__gt___methods(root_module, cls):
2980 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::FaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::ndn::FaceContainer> >::SimpleRefCount() [constructor]
2981 cls.add_constructor([])
2982 ## 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]
2983 cls.add_constructor([param('ns3::SimpleRefCount< ns3::ndn::FaceContainer, ns3::empty, ns3::DefaultDeleter< ns3::ndn::FaceContainer > > const &', 'o')])
2984 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::ndn::FaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::ndn::FaceContainer> >::Cleanup() [member function]
2985 cls.add_method('Cleanup',
2986 'void',
2987 [],
2988 is_static=True)
2989 return
2990
2991def register_Ns3SimpleRefCount__Ns3NdnInterestHeader_Ns3Header_Ns3DefaultDeleter__lt__ns3NdnInterestHeader__gt___methods(root_module, cls):
2992 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::InterestHeader, ns3::Header, ns3::DefaultDeleter<ns3::ndn::InterestHeader> >::SimpleRefCount() [constructor]
2993 cls.add_constructor([])
2994 ## 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]
2995 cls.add_constructor([param('ns3::SimpleRefCount< ns3::ndn::InterestHeader, ns3::Header, ns3::DefaultDeleter< ns3::ndn::InterestHeader > > const &', 'o')])
2996 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::ndn::InterestHeader, ns3::Header, ns3::DefaultDeleter<ns3::ndn::InterestHeader> >::Cleanup() [member function]
2997 cls.add_method('Cleanup',
2998 'void',
2999 [],
3000 is_static=True)
3001 return
3002
Alexander Afanasyev32c07562013-02-01 12:58:43 -08003003def register_Ns3SimpleRefCount__Ns3NdnName_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnName__gt___methods(root_module, cls):
3004 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::Name, ns3::empty, ns3::DefaultDeleter<ns3::ndn::Name> >::SimpleRefCount() [constructor]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07003005 cls.add_constructor([])
Alexander Afanasyev32c07562013-02-01 12:58:43 -08003006 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::Name, ns3::empty, ns3::DefaultDeleter<ns3::ndn::Name> >::SimpleRefCount(ns3::SimpleRefCount<ns3::ndn::Name, ns3::empty, ns3::DefaultDeleter<ns3::ndn::Name> > const & o) [copy constructor]
3007 cls.add_constructor([param('ns3::SimpleRefCount< ns3::ndn::Name, ns3::empty, ns3::DefaultDeleter< ns3::ndn::Name > > const &', 'o')])
3008 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::ndn::Name, ns3::empty, ns3::DefaultDeleter<ns3::ndn::Name> >::Cleanup() [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07003009 cls.add_method('Cleanup',
3010 'void',
3011 [],
3012 is_static=True)
3013 return
3014
3015def register_Ns3SimpleRefCount__Ns3NdnCsEntry_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnCsEntry__gt___methods(root_module, cls):
3016 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::cs::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::cs::Entry> >::SimpleRefCount() [constructor]
3017 cls.add_constructor([])
3018 ## 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]
3019 cls.add_constructor([param('ns3::SimpleRefCount< ns3::ndn::cs::Entry, ns3::empty, ns3::DefaultDeleter< ns3::ndn::cs::Entry > > const &', 'o')])
3020 ## 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]
3021 cls.add_method('Cleanup',
3022 'void',
3023 [],
3024 is_static=True)
3025 return
3026
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07003027def register_Ns3SimpleRefCount__Ns3NdnPitEntry_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnPitEntry__gt___methods(root_module, cls):
3028 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::pit::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::pit::Entry> >::SimpleRefCount() [constructor]
3029 cls.add_constructor([])
3030 ## 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]
3031 cls.add_constructor([param('ns3::SimpleRefCount< ns3::ndn::pit::Entry, ns3::empty, ns3::DefaultDeleter< ns3::ndn::pit::Entry > > const &', 'o')])
3032 ## 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]
3033 cls.add_method('Cleanup',
3034 'void',
3035 [],
3036 is_static=True)
3037 return
3038
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003039def register_Ns3Time_methods(root_module, cls):
3040 cls.add_binary_comparison_operator('!=')
3041 cls.add_inplace_numeric_operator('+=', param('ns3::Time const &', 'right'))
3042 cls.add_inplace_numeric_operator('-=', param('ns3::Time const &', 'right'))
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07003043 cls.add_output_stream_operator()
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08003044 cls.add_binary_comparison_operator('<=')
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003045 cls.add_binary_comparison_operator('==')
3046 cls.add_binary_comparison_operator('>=')
3047 cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right'))
3048 cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right'))
3049 cls.add_binary_comparison_operator('<')
3050 cls.add_binary_comparison_operator('>')
3051 ## nstime.h (module 'core'): ns3::Time::Time() [constructor]
3052 cls.add_constructor([])
3053 ## nstime.h (module 'core'): ns3::Time::Time(ns3::Time const & o) [copy constructor]
3054 cls.add_constructor([param('ns3::Time const &', 'o')])
3055 ## nstime.h (module 'core'): ns3::Time::Time(double v) [constructor]
3056 cls.add_constructor([param('double', 'v')])
3057 ## nstime.h (module 'core'): ns3::Time::Time(int v) [constructor]
3058 cls.add_constructor([param('int', 'v')])
3059 ## nstime.h (module 'core'): ns3::Time::Time(long int v) [constructor]
3060 cls.add_constructor([param('long int', 'v')])
3061 ## nstime.h (module 'core'): ns3::Time::Time(long long int v) [constructor]
3062 cls.add_constructor([param('long long int', 'v')])
3063 ## nstime.h (module 'core'): ns3::Time::Time(unsigned int v) [constructor]
3064 cls.add_constructor([param('unsigned int', 'v')])
3065 ## nstime.h (module 'core'): ns3::Time::Time(long unsigned int v) [constructor]
3066 cls.add_constructor([param('long unsigned int', 'v')])
3067 ## nstime.h (module 'core'): ns3::Time::Time(long long unsigned int v) [constructor]
3068 cls.add_constructor([param('long long unsigned int', 'v')])
3069 ## nstime.h (module 'core'): ns3::Time::Time(std::string const & s) [constructor]
3070 cls.add_constructor([param('std::string const &', 's')])
3071 ## nstime.h (module 'core'): ns3::Time::Time(ns3::int64x64_t const & value) [constructor]
3072 cls.add_constructor([param('ns3::int64x64_t const &', 'value')])
3073 ## nstime.h (module 'core'): int ns3::Time::Compare(ns3::Time const & o) const [member function]
3074 cls.add_method('Compare',
3075 'int',
3076 [param('ns3::Time const &', 'o')],
3077 is_const=True)
3078 ## nstime.h (module 'core'): static ns3::Time ns3::Time::From(ns3::int64x64_t const & from, ns3::Time::Unit timeUnit) [member function]
3079 cls.add_method('From',
3080 'ns3::Time',
3081 [param('ns3::int64x64_t const &', 'from'), param('ns3::Time::Unit', 'timeUnit')],
3082 is_static=True)
3083 ## nstime.h (module 'core'): static ns3::Time ns3::Time::From(ns3::int64x64_t const & value) [member function]
3084 cls.add_method('From',
3085 'ns3::Time',
3086 [param('ns3::int64x64_t const &', 'value')],
3087 is_static=True)
3088 ## nstime.h (module 'core'): static ns3::Time ns3::Time::FromDouble(double value, ns3::Time::Unit timeUnit) [member function]
3089 cls.add_method('FromDouble',
3090 'ns3::Time',
3091 [param('double', 'value'), param('ns3::Time::Unit', 'timeUnit')],
3092 is_static=True)
3093 ## nstime.h (module 'core'): static ns3::Time ns3::Time::FromInteger(uint64_t value, ns3::Time::Unit timeUnit) [member function]
3094 cls.add_method('FromInteger',
3095 'ns3::Time',
3096 [param('uint64_t', 'value'), param('ns3::Time::Unit', 'timeUnit')],
3097 is_static=True)
3098 ## nstime.h (module 'core'): double ns3::Time::GetDouble() const [member function]
3099 cls.add_method('GetDouble',
3100 'double',
3101 [],
3102 is_const=True)
3103 ## nstime.h (module 'core'): int64_t ns3::Time::GetFemtoSeconds() const [member function]
3104 cls.add_method('GetFemtoSeconds',
3105 'int64_t',
3106 [],
3107 is_const=True)
3108 ## nstime.h (module 'core'): int64_t ns3::Time::GetInteger() const [member function]
3109 cls.add_method('GetInteger',
3110 'int64_t',
3111 [],
3112 is_const=True)
3113 ## nstime.h (module 'core'): int64_t ns3::Time::GetMicroSeconds() const [member function]
3114 cls.add_method('GetMicroSeconds',
3115 'int64_t',
3116 [],
3117 is_const=True)
3118 ## nstime.h (module 'core'): int64_t ns3::Time::GetMilliSeconds() const [member function]
3119 cls.add_method('GetMilliSeconds',
3120 'int64_t',
3121 [],
3122 is_const=True)
3123 ## nstime.h (module 'core'): int64_t ns3::Time::GetNanoSeconds() const [member function]
3124 cls.add_method('GetNanoSeconds',
3125 'int64_t',
3126 [],
3127 is_const=True)
3128 ## nstime.h (module 'core'): int64_t ns3::Time::GetPicoSeconds() const [member function]
3129 cls.add_method('GetPicoSeconds',
3130 'int64_t',
3131 [],
3132 is_const=True)
3133 ## nstime.h (module 'core'): static ns3::Time::Unit ns3::Time::GetResolution() [member function]
3134 cls.add_method('GetResolution',
3135 'ns3::Time::Unit',
3136 [],
3137 is_static=True)
3138 ## nstime.h (module 'core'): double ns3::Time::GetSeconds() const [member function]
3139 cls.add_method('GetSeconds',
3140 'double',
3141 [],
3142 is_const=True)
3143 ## nstime.h (module 'core'): int64_t ns3::Time::GetTimeStep() const [member function]
3144 cls.add_method('GetTimeStep',
3145 'int64_t',
3146 [],
3147 is_const=True)
3148 ## nstime.h (module 'core'): bool ns3::Time::IsNegative() const [member function]
3149 cls.add_method('IsNegative',
3150 'bool',
3151 [],
3152 is_const=True)
3153 ## nstime.h (module 'core'): bool ns3::Time::IsPositive() const [member function]
3154 cls.add_method('IsPositive',
3155 'bool',
3156 [],
3157 is_const=True)
3158 ## nstime.h (module 'core'): bool ns3::Time::IsStrictlyNegative() const [member function]
3159 cls.add_method('IsStrictlyNegative',
3160 'bool',
3161 [],
3162 is_const=True)
3163 ## nstime.h (module 'core'): bool ns3::Time::IsStrictlyPositive() const [member function]
3164 cls.add_method('IsStrictlyPositive',
3165 'bool',
3166 [],
3167 is_const=True)
3168 ## nstime.h (module 'core'): bool ns3::Time::IsZero() const [member function]
3169 cls.add_method('IsZero',
3170 'bool',
3171 [],
3172 is_const=True)
3173 ## nstime.h (module 'core'): static void ns3::Time::SetResolution(ns3::Time::Unit resolution) [member function]
3174 cls.add_method('SetResolution',
3175 'void',
3176 [param('ns3::Time::Unit', 'resolution')],
3177 is_static=True)
3178 ## nstime.h (module 'core'): ns3::int64x64_t ns3::Time::To(ns3::Time::Unit timeUnit) const [member function]
3179 cls.add_method('To',
3180 'ns3::int64x64_t',
3181 [param('ns3::Time::Unit', 'timeUnit')],
3182 is_const=True)
3183 ## nstime.h (module 'core'): double ns3::Time::ToDouble(ns3::Time::Unit timeUnit) const [member function]
3184 cls.add_method('ToDouble',
3185 'double',
3186 [param('ns3::Time::Unit', 'timeUnit')],
3187 is_const=True)
3188 ## nstime.h (module 'core'): int64_t ns3::Time::ToInteger(ns3::Time::Unit timeUnit) const [member function]
3189 cls.add_method('ToInteger',
3190 'int64_t',
3191 [param('ns3::Time::Unit', 'timeUnit')],
3192 is_const=True)
3193 return
3194
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07003195def register_Ns3TopologyReader_methods(root_module, cls):
3196 ## topology-reader.h (module 'topology-read'): ns3::TopologyReader::TopologyReader() [constructor]
3197 cls.add_constructor([])
3198 ## topology-reader.h (module 'topology-read'): void ns3::TopologyReader::AddLink(ns3::TopologyReader::Link link) [member function]
3199 cls.add_method('AddLink',
3200 'void',
3201 [param('ns3::TopologyReader::Link', 'link')])
3202 ## topology-reader.h (module 'topology-read'): std::string ns3::TopologyReader::GetFileName() const [member function]
3203 cls.add_method('GetFileName',
3204 'std::string',
3205 [],
3206 is_const=True)
3207 ## topology-reader.h (module 'topology-read'): std::_List_const_iterator<ns3::TopologyReader::Link> ns3::TopologyReader::LinksBegin() const [member function]
3208 cls.add_method('LinksBegin',
3209 'std::_List_const_iterator< ns3::TopologyReader::Link >',
3210 [],
3211 is_const=True)
3212 ## topology-reader.h (module 'topology-read'): bool ns3::TopologyReader::LinksEmpty() const [member function]
3213 cls.add_method('LinksEmpty',
3214 'bool',
3215 [],
3216 is_const=True)
3217 ## topology-reader.h (module 'topology-read'): std::_List_const_iterator<ns3::TopologyReader::Link> ns3::TopologyReader::LinksEnd() const [member function]
3218 cls.add_method('LinksEnd',
3219 'std::_List_const_iterator< ns3::TopologyReader::Link >',
3220 [],
3221 is_const=True)
3222 ## topology-reader.h (module 'topology-read'): int ns3::TopologyReader::LinksSize() const [member function]
3223 cls.add_method('LinksSize',
3224 'int',
3225 [],
3226 is_const=True)
3227 ## topology-reader.h (module 'topology-read'): ns3::NodeContainer ns3::TopologyReader::Read() [member function]
3228 cls.add_method('Read',
3229 'ns3::NodeContainer',
3230 [],
3231 is_pure_virtual=True, is_virtual=True)
3232 ## topology-reader.h (module 'topology-read'): void ns3::TopologyReader::SetFileName(std::string const & fileName) [member function]
3233 cls.add_method('SetFileName',
3234 'void',
3235 [param('std::string const &', 'fileName')])
3236 return
3237
3238def register_Ns3TopologyReaderLink_methods(root_module, cls):
3239 ## topology-reader.h (module 'topology-read'): ns3::TopologyReader::Link::Link(ns3::TopologyReader::Link const & arg0) [copy constructor]
3240 cls.add_constructor([param('ns3::TopologyReader::Link const &', 'arg0')])
3241 ## topology-reader.h (module 'topology-read'): ns3::TopologyReader::Link::Link() [constructor]
3242 cls.add_constructor([])
3243 ## 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]
3244 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')])
3245 ## 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]
3246 cls.add_method('AttributesBegin',
3247 '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 > > > >',
3248 [])
3249 ## 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]
3250 cls.add_method('AttributesEnd',
3251 '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 > > > >',
3252 [])
3253 ## topology-reader.h (module 'topology-read'): std::string ns3::TopologyReader::Link::GetAttribute(std::string const & name) const [member function]
3254 cls.add_method('GetAttribute',
3255 'std::string',
3256 [param('std::string const &', 'name')],
3257 is_const=True)
3258 ## topology-reader.h (module 'topology-read'): bool ns3::TopologyReader::Link::GetAttributeFailSafe(std::string const & name, std::string & value) const [member function]
3259 cls.add_method('GetAttributeFailSafe',
3260 'bool',
3261 [param('std::string const &', 'name'), param('std::string &', 'value')],
3262 is_const=True)
3263 ## topology-reader.h (module 'topology-read'): ns3::Ptr<ns3::NetDevice> ns3::TopologyReader::Link::GetFromNetDevice() const [member function]
3264 cls.add_method('GetFromNetDevice',
3265 'ns3::Ptr< ns3::NetDevice >',
3266 [],
3267 is_const=True)
3268 ## topology-reader.h (module 'topology-read'): ns3::Ptr<ns3::Node> ns3::TopologyReader::Link::GetFromNode() const [member function]
3269 cls.add_method('GetFromNode',
3270 'ns3::Ptr< ns3::Node >',
3271 [],
3272 is_const=True)
3273 ## topology-reader.h (module 'topology-read'): std::string ns3::TopologyReader::Link::GetFromNodeName() const [member function]
3274 cls.add_method('GetFromNodeName',
3275 'std::string',
3276 [],
3277 is_const=True)
3278 ## topology-reader.h (module 'topology-read'): ns3::Ptr<ns3::NetDevice> ns3::TopologyReader::Link::GetToNetDevice() const [member function]
3279 cls.add_method('GetToNetDevice',
3280 'ns3::Ptr< ns3::NetDevice >',
3281 [],
3282 is_const=True)
3283 ## topology-reader.h (module 'topology-read'): ns3::Ptr<ns3::Node> ns3::TopologyReader::Link::GetToNode() const [member function]
3284 cls.add_method('GetToNode',
3285 'ns3::Ptr< ns3::Node >',
3286 [],
3287 is_const=True)
3288 ## topology-reader.h (module 'topology-read'): std::string ns3::TopologyReader::Link::GetToNodeName() const [member function]
3289 cls.add_method('GetToNodeName',
3290 'std::string',
3291 [],
3292 is_const=True)
3293 ## topology-reader.h (module 'topology-read'): void ns3::TopologyReader::Link::SetAttribute(std::string const & name, std::string const & value) [member function]
3294 cls.add_method('SetAttribute',
3295 'void',
3296 [param('std::string const &', 'name'), param('std::string const &', 'value')])
3297 ## topology-reader.h (module 'topology-read'): void ns3::TopologyReader::Link::SetNetDevices(ns3::Ptr<ns3::NetDevice> from, ns3::Ptr<ns3::NetDevice> to) [member function]
3298 cls.add_method('SetNetDevices',
3299 'void',
3300 [param('ns3::Ptr< ns3::NetDevice >', 'from'), param('ns3::Ptr< ns3::NetDevice >', 'to')])
3301 return
3302
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003303def register_Ns3TraceSourceAccessor_methods(root_module, cls):
3304 ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor]
3305 cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')])
3306 ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor]
3307 cls.add_constructor([])
3308 ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function]
3309 cls.add_method('Connect',
3310 'bool',
3311 [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')],
3312 is_pure_virtual=True, is_const=True, is_virtual=True)
3313 ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function]
3314 cls.add_method('ConnectWithoutContext',
3315 'bool',
3316 [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')],
3317 is_pure_virtual=True, is_const=True, is_virtual=True)
3318 ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function]
3319 cls.add_method('Disconnect',
3320 'bool',
3321 [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')],
3322 is_pure_virtual=True, is_const=True, is_virtual=True)
3323 ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function]
3324 cls.add_method('DisconnectWithoutContext',
3325 'bool',
3326 [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')],
3327 is_pure_virtual=True, is_const=True, is_virtual=True)
3328 return
3329
3330def register_Ns3Trailer_methods(root_module, cls):
3331 cls.add_output_stream_operator()
3332 ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor]
3333 cls.add_constructor([])
3334 ## trailer.h (module 'network'): ns3::Trailer::Trailer(ns3::Trailer const & arg0) [copy constructor]
3335 cls.add_constructor([param('ns3::Trailer const &', 'arg0')])
3336 ## trailer.h (module 'network'): uint32_t ns3::Trailer::Deserialize(ns3::Buffer::Iterator end) [member function]
3337 cls.add_method('Deserialize',
3338 'uint32_t',
3339 [param('ns3::Buffer::Iterator', 'end')],
3340 is_pure_virtual=True, is_virtual=True)
3341 ## trailer.h (module 'network'): uint32_t ns3::Trailer::GetSerializedSize() const [member function]
3342 cls.add_method('GetSerializedSize',
3343 'uint32_t',
3344 [],
3345 is_pure_virtual=True, is_const=True, is_virtual=True)
3346 ## trailer.h (module 'network'): static ns3::TypeId ns3::Trailer::GetTypeId() [member function]
3347 cls.add_method('GetTypeId',
3348 'ns3::TypeId',
3349 [],
3350 is_static=True)
3351 ## trailer.h (module 'network'): void ns3::Trailer::Print(std::ostream & os) const [member function]
3352 cls.add_method('Print',
3353 'void',
3354 [param('std::ostream &', 'os')],
3355 is_pure_virtual=True, is_const=True, is_virtual=True)
3356 ## trailer.h (module 'network'): void ns3::Trailer::Serialize(ns3::Buffer::Iterator start) const [member function]
3357 cls.add_method('Serialize',
3358 'void',
3359 [param('ns3::Buffer::Iterator', 'start')],
3360 is_pure_virtual=True, is_const=True, is_virtual=True)
3361 return
3362
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07003363def register_Ns3AnnotatedTopologyReader_methods(root_module, cls):
3364 ## annotated-topology-reader.h (module 'ndnSIM'): ns3::AnnotatedTopologyReader::AnnotatedTopologyReader(std::string const & path="", double scale=1.0e+0) [constructor]
3365 cls.add_constructor([param('std::string const &', 'path', default_value='""'), param('double', 'scale', default_value='1.0e+0')])
3366 ## annotated-topology-reader.h (module 'ndnSIM'): ns3::NodeContainer ns3::AnnotatedTopologyReader::Read() [member function]
3367 cls.add_method('Read',
3368 'ns3::NodeContainer',
3369 [],
3370 is_virtual=True)
3371 ## annotated-topology-reader.h (module 'ndnSIM'): ns3::NodeContainer ns3::AnnotatedTopologyReader::GetNodes() const [member function]
3372 cls.add_method('GetNodes',
3373 'ns3::NodeContainer',
3374 [],
3375 is_const=True)
3376 ## annotated-topology-reader.h (module 'ndnSIM'): std::list<ns3::TopologyReader::Link, std::allocator<ns3::TopologyReader::Link> > const & ns3::AnnotatedTopologyReader::GetLinks() const [member function]
3377 cls.add_method('GetLinks',
3378 'std::list< ns3::TopologyReader::Link > const &',
3379 [],
3380 is_const=True)
3381 ## annotated-topology-reader.h (module 'ndnSIM'): void ns3::AnnotatedTopologyReader::AssignIpv4Addresses(ns3::Ipv4Address base) [member function]
3382 cls.add_method('AssignIpv4Addresses',
3383 'void',
3384 [param('ns3::Ipv4Address', 'base')])
3385 ## annotated-topology-reader.h (module 'ndnSIM'): void ns3::AnnotatedTopologyReader::SetBoundingBox(double ulx, double uly, double lrx, double lry) [member function]
3386 cls.add_method('SetBoundingBox',
3387 'void',
3388 [param('double', 'ulx'), param('double', 'uly'), param('double', 'lrx'), param('double', 'lry')])
3389 ## annotated-topology-reader.h (module 'ndnSIM'): void ns3::AnnotatedTopologyReader::SetMobilityModel(std::string const & model) [member function]
3390 cls.add_method('SetMobilityModel',
3391 'void',
3392 [param('std::string const &', 'model')])
3393 ## annotated-topology-reader.h (module 'ndnSIM'): void ns3::AnnotatedTopologyReader::ApplyOspfMetric() [member function]
3394 cls.add_method('ApplyOspfMetric',
3395 'void',
3396 [])
Alexander Afanasyev71029732012-11-19 23:50:52 -08003397 ## annotated-topology-reader.h (module 'ndnSIM'): void ns3::AnnotatedTopologyReader::SaveTopology(std::string const & file) const [member function]
3398 cls.add_method('SaveTopology',
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07003399 'void',
3400 [param('std::string const &', 'file')],
3401 is_const=True)
3402 ## annotated-topology-reader.h (module 'ndnSIM'): ns3::Ptr<ns3::Node> ns3::AnnotatedTopologyReader::CreateNode(std::string const name, uint32_t systemId) [member function]
3403 cls.add_method('CreateNode',
3404 'ns3::Ptr< ns3::Node >',
3405 [param('std::string const', 'name'), param('uint32_t', 'systemId')],
3406 visibility='protected')
3407 ## 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]
3408 cls.add_method('CreateNode',
3409 'ns3::Ptr< ns3::Node >',
3410 [param('std::string const', 'name'), param('double', 'posX'), param('double', 'posY'), param('uint32_t', 'systemId')],
3411 visibility='protected')
3412 ## annotated-topology-reader.h (module 'ndnSIM'): void ns3::AnnotatedTopologyReader::ApplySettings() [member function]
3413 cls.add_method('ApplySettings',
3414 'void',
3415 [],
3416 visibility='protected')
3417 return
3418
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003419def register_Ns3Application_methods(root_module, cls):
3420 ## application.h (module 'network'): ns3::Application::Application(ns3::Application const & arg0) [copy constructor]
3421 cls.add_constructor([param('ns3::Application const &', 'arg0')])
3422 ## application.h (module 'network'): ns3::Application::Application() [constructor]
3423 cls.add_constructor([])
3424 ## application.h (module 'network'): ns3::Ptr<ns3::Node> ns3::Application::GetNode() const [member function]
3425 cls.add_method('GetNode',
3426 'ns3::Ptr< ns3::Node >',
3427 [],
3428 is_const=True)
3429 ## application.h (module 'network'): static ns3::TypeId ns3::Application::GetTypeId() [member function]
3430 cls.add_method('GetTypeId',
3431 'ns3::TypeId',
3432 [],
3433 is_static=True)
3434 ## application.h (module 'network'): void ns3::Application::SetNode(ns3::Ptr<ns3::Node> node) [member function]
3435 cls.add_method('SetNode',
3436 'void',
3437 [param('ns3::Ptr< ns3::Node >', 'node')])
3438 ## application.h (module 'network'): void ns3::Application::SetStartTime(ns3::Time start) [member function]
3439 cls.add_method('SetStartTime',
3440 'void',
3441 [param('ns3::Time', 'start')])
3442 ## application.h (module 'network'): void ns3::Application::SetStopTime(ns3::Time stop) [member function]
3443 cls.add_method('SetStopTime',
3444 'void',
3445 [param('ns3::Time', 'stop')])
3446 ## application.h (module 'network'): void ns3::Application::DoDispose() [member function]
3447 cls.add_method('DoDispose',
3448 'void',
3449 [],
3450 visibility='protected', is_virtual=True)
3451 ## application.h (module 'network'): void ns3::Application::DoStart() [member function]
3452 cls.add_method('DoStart',
3453 'void',
3454 [],
3455 visibility='protected', is_virtual=True)
3456 ## application.h (module 'network'): void ns3::Application::StartApplication() [member function]
3457 cls.add_method('StartApplication',
3458 'void',
3459 [],
Alexander Afanasyev4756b892012-04-18 14:48:43 -07003460 visibility='private', is_virtual=True)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003461 ## application.h (module 'network'): void ns3::Application::StopApplication() [member function]
3462 cls.add_method('StopApplication',
3463 'void',
3464 [],
Alexander Afanasyev4756b892012-04-18 14:48:43 -07003465 visibility='private', is_virtual=True)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003466 return
3467
3468def register_Ns3AttributeAccessor_methods(root_module, cls):
3469 ## attribute.h (module 'core'): ns3::AttributeAccessor::AttributeAccessor(ns3::AttributeAccessor const & arg0) [copy constructor]
3470 cls.add_constructor([param('ns3::AttributeAccessor const &', 'arg0')])
3471 ## attribute.h (module 'core'): ns3::AttributeAccessor::AttributeAccessor() [constructor]
3472 cls.add_constructor([])
3473 ## attribute.h (module 'core'): bool ns3::AttributeAccessor::Get(ns3::ObjectBase const * object, ns3::AttributeValue & attribute) const [member function]
3474 cls.add_method('Get',
3475 'bool',
3476 [param('ns3::ObjectBase const *', 'object'), param('ns3::AttributeValue &', 'attribute')],
3477 is_pure_virtual=True, is_const=True, is_virtual=True)
3478 ## attribute.h (module 'core'): bool ns3::AttributeAccessor::HasGetter() const [member function]
3479 cls.add_method('HasGetter',
3480 'bool',
3481 [],
3482 is_pure_virtual=True, is_const=True, is_virtual=True)
3483 ## attribute.h (module 'core'): bool ns3::AttributeAccessor::HasSetter() const [member function]
3484 cls.add_method('HasSetter',
3485 'bool',
3486 [],
3487 is_pure_virtual=True, is_const=True, is_virtual=True)
3488 ## attribute.h (module 'core'): bool ns3::AttributeAccessor::Set(ns3::ObjectBase * object, ns3::AttributeValue const & value) const [member function]
3489 cls.add_method('Set',
3490 'bool',
3491 [param('ns3::ObjectBase *', 'object', transfer_ownership=False), param('ns3::AttributeValue const &', 'value')],
3492 is_pure_virtual=True, is_const=True, is_virtual=True)
3493 return
3494
3495def register_Ns3AttributeChecker_methods(root_module, cls):
3496 ## attribute.h (module 'core'): ns3::AttributeChecker::AttributeChecker(ns3::AttributeChecker const & arg0) [copy constructor]
3497 cls.add_constructor([param('ns3::AttributeChecker const &', 'arg0')])
3498 ## attribute.h (module 'core'): ns3::AttributeChecker::AttributeChecker() [constructor]
3499 cls.add_constructor([])
3500 ## attribute.h (module 'core'): bool ns3::AttributeChecker::Check(ns3::AttributeValue const & value) const [member function]
3501 cls.add_method('Check',
3502 'bool',
3503 [param('ns3::AttributeValue const &', 'value')],
3504 is_pure_virtual=True, is_const=True, is_virtual=True)
3505 ## attribute.h (module 'core'): bool ns3::AttributeChecker::Copy(ns3::AttributeValue const & source, ns3::AttributeValue & destination) const [member function]
3506 cls.add_method('Copy',
3507 'bool',
3508 [param('ns3::AttributeValue const &', 'source'), param('ns3::AttributeValue &', 'destination')],
3509 is_pure_virtual=True, is_const=True, is_virtual=True)
3510 ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeChecker::Create() const [member function]
3511 cls.add_method('Create',
3512 'ns3::Ptr< ns3::AttributeValue >',
3513 [],
3514 is_pure_virtual=True, is_const=True, is_virtual=True)
3515 ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function]
3516 cls.add_method('CreateValidValue',
3517 'ns3::Ptr< ns3::AttributeValue >',
3518 [param('ns3::AttributeValue const &', 'value')],
3519 is_const=True)
3520 ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function]
3521 cls.add_method('GetUnderlyingTypeInformation',
3522 'std::string',
3523 [],
3524 is_pure_virtual=True, is_const=True, is_virtual=True)
3525 ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetValueTypeName() const [member function]
3526 cls.add_method('GetValueTypeName',
3527 'std::string',
3528 [],
3529 is_pure_virtual=True, is_const=True, is_virtual=True)
3530 ## attribute.h (module 'core'): bool ns3::AttributeChecker::HasUnderlyingTypeInformation() const [member function]
3531 cls.add_method('HasUnderlyingTypeInformation',
3532 'bool',
3533 [],
3534 is_pure_virtual=True, is_const=True, is_virtual=True)
3535 return
3536
3537def register_Ns3AttributeValue_methods(root_module, cls):
3538 ## attribute.h (module 'core'): ns3::AttributeValue::AttributeValue(ns3::AttributeValue const & arg0) [copy constructor]
3539 cls.add_constructor([param('ns3::AttributeValue const &', 'arg0')])
3540 ## attribute.h (module 'core'): ns3::AttributeValue::AttributeValue() [constructor]
3541 cls.add_constructor([])
3542 ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeValue::Copy() const [member function]
3543 cls.add_method('Copy',
3544 'ns3::Ptr< ns3::AttributeValue >',
3545 [],
3546 is_pure_virtual=True, is_const=True, is_virtual=True)
3547 ## attribute.h (module 'core'): bool ns3::AttributeValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3548 cls.add_method('DeserializeFromString',
3549 'bool',
3550 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3551 is_pure_virtual=True, is_virtual=True)
3552 ## attribute.h (module 'core'): std::string ns3::AttributeValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3553 cls.add_method('SerializeToString',
3554 'std::string',
3555 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3556 is_pure_virtual=True, is_const=True, is_virtual=True)
3557 return
3558
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07003559def register_Ns3BooleanChecker_methods(root_module, cls):
3560 ## boolean.h (module 'core'): ns3::BooleanChecker::BooleanChecker() [constructor]
3561 cls.add_constructor([])
3562 ## boolean.h (module 'core'): ns3::BooleanChecker::BooleanChecker(ns3::BooleanChecker const & arg0) [copy constructor]
3563 cls.add_constructor([param('ns3::BooleanChecker const &', 'arg0')])
3564 return
3565
3566def register_Ns3BooleanValue_methods(root_module, cls):
3567 cls.add_output_stream_operator()
3568 ## boolean.h (module 'core'): ns3::BooleanValue::BooleanValue(ns3::BooleanValue const & arg0) [copy constructor]
3569 cls.add_constructor([param('ns3::BooleanValue const &', 'arg0')])
3570 ## boolean.h (module 'core'): ns3::BooleanValue::BooleanValue() [constructor]
3571 cls.add_constructor([])
3572 ## boolean.h (module 'core'): ns3::BooleanValue::BooleanValue(bool value) [constructor]
3573 cls.add_constructor([param('bool', 'value')])
3574 ## boolean.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::BooleanValue::Copy() const [member function]
3575 cls.add_method('Copy',
3576 'ns3::Ptr< ns3::AttributeValue >',
3577 [],
3578 is_const=True, is_virtual=True)
3579 ## boolean.h (module 'core'): bool ns3::BooleanValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3580 cls.add_method('DeserializeFromString',
3581 'bool',
3582 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3583 is_virtual=True)
3584 ## boolean.h (module 'core'): bool ns3::BooleanValue::Get() const [member function]
3585 cls.add_method('Get',
3586 'bool',
3587 [],
3588 is_const=True)
3589 ## boolean.h (module 'core'): std::string ns3::BooleanValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3590 cls.add_method('SerializeToString',
3591 'std::string',
3592 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3593 is_const=True, is_virtual=True)
3594 ## boolean.h (module 'core'): void ns3::BooleanValue::Set(bool value) [member function]
3595 cls.add_method('Set',
3596 'void',
3597 [param('bool', 'value')])
3598 return
3599
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003600def register_Ns3CallbackChecker_methods(root_module, cls):
3601 ## callback.h (module 'core'): ns3::CallbackChecker::CallbackChecker() [constructor]
3602 cls.add_constructor([])
3603 ## callback.h (module 'core'): ns3::CallbackChecker::CallbackChecker(ns3::CallbackChecker const & arg0) [copy constructor]
3604 cls.add_constructor([param('ns3::CallbackChecker const &', 'arg0')])
3605 return
3606
3607def register_Ns3CallbackImplBase_methods(root_module, cls):
3608 ## callback.h (module 'core'): ns3::CallbackImplBase::CallbackImplBase() [constructor]
3609 cls.add_constructor([])
3610 ## callback.h (module 'core'): ns3::CallbackImplBase::CallbackImplBase(ns3::CallbackImplBase const & arg0) [copy constructor]
3611 cls.add_constructor([param('ns3::CallbackImplBase const &', 'arg0')])
3612 ## callback.h (module 'core'): bool ns3::CallbackImplBase::IsEqual(ns3::Ptr<ns3::CallbackImplBase const> other) const [member function]
3613 cls.add_method('IsEqual',
3614 'bool',
3615 [param('ns3::Ptr< ns3::CallbackImplBase const >', 'other')],
3616 is_pure_virtual=True, is_const=True, is_virtual=True)
3617 return
3618
3619def register_Ns3CallbackValue_methods(root_module, cls):
3620 ## callback.h (module 'core'): ns3::CallbackValue::CallbackValue(ns3::CallbackValue const & arg0) [copy constructor]
3621 cls.add_constructor([param('ns3::CallbackValue const &', 'arg0')])
3622 ## callback.h (module 'core'): ns3::CallbackValue::CallbackValue() [constructor]
3623 cls.add_constructor([])
3624 ## callback.h (module 'core'): ns3::CallbackValue::CallbackValue(ns3::CallbackBase const & base) [constructor]
3625 cls.add_constructor([param('ns3::CallbackBase const &', 'base')])
3626 ## callback.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::CallbackValue::Copy() const [member function]
3627 cls.add_method('Copy',
3628 'ns3::Ptr< ns3::AttributeValue >',
3629 [],
3630 is_const=True, is_virtual=True)
3631 ## callback.h (module 'core'): bool ns3::CallbackValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3632 cls.add_method('DeserializeFromString',
3633 'bool',
3634 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3635 is_virtual=True)
3636 ## callback.h (module 'core'): std::string ns3::CallbackValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3637 cls.add_method('SerializeToString',
3638 'std::string',
3639 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3640 is_const=True, is_virtual=True)
3641 ## callback.h (module 'core'): void ns3::CallbackValue::Set(ns3::CallbackBase base) [member function]
3642 cls.add_method('Set',
3643 'void',
3644 [param('ns3::CallbackBase', 'base')])
3645 return
3646
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07003647def register_Ns3DoubleValue_methods(root_module, cls):
3648 ## double.h (module 'core'): ns3::DoubleValue::DoubleValue() [constructor]
3649 cls.add_constructor([])
3650 ## double.h (module 'core'): ns3::DoubleValue::DoubleValue(ns3::DoubleValue const & arg0) [copy constructor]
3651 cls.add_constructor([param('ns3::DoubleValue const &', 'arg0')])
3652 ## double.h (module 'core'): ns3::DoubleValue::DoubleValue(double const & value) [constructor]
3653 cls.add_constructor([param('double const &', 'value')])
3654 ## double.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::DoubleValue::Copy() const [member function]
3655 cls.add_method('Copy',
3656 'ns3::Ptr< ns3::AttributeValue >',
3657 [],
3658 is_const=True, is_virtual=True)
3659 ## double.h (module 'core'): bool ns3::DoubleValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3660 cls.add_method('DeserializeFromString',
3661 'bool',
3662 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3663 is_virtual=True)
3664 ## double.h (module 'core'): double ns3::DoubleValue::Get() const [member function]
3665 cls.add_method('Get',
3666 'double',
3667 [],
3668 is_const=True)
3669 ## double.h (module 'core'): std::string ns3::DoubleValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3670 cls.add_method('SerializeToString',
3671 'std::string',
3672 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3673 is_const=True, is_virtual=True)
3674 ## double.h (module 'core'): void ns3::DoubleValue::Set(double const & value) [member function]
3675 cls.add_method('Set',
3676 'void',
3677 [param('double const &', 'value')])
3678 return
3679
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003680def register_Ns3EmptyAttributeValue_methods(root_module, cls):
3681 ## attribute.h (module 'core'): ns3::EmptyAttributeValue::EmptyAttributeValue(ns3::EmptyAttributeValue const & arg0) [copy constructor]
3682 cls.add_constructor([param('ns3::EmptyAttributeValue const &', 'arg0')])
3683 ## attribute.h (module 'core'): ns3::EmptyAttributeValue::EmptyAttributeValue() [constructor]
3684 cls.add_constructor([])
3685 ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::EmptyAttributeValue::Copy() const [member function]
3686 cls.add_method('Copy',
3687 'ns3::Ptr< ns3::AttributeValue >',
3688 [],
3689 is_const=True, visibility='private', is_virtual=True)
3690 ## attribute.h (module 'core'): bool ns3::EmptyAttributeValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3691 cls.add_method('DeserializeFromString',
3692 'bool',
3693 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3694 visibility='private', is_virtual=True)
3695 ## attribute.h (module 'core'): std::string ns3::EmptyAttributeValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3696 cls.add_method('SerializeToString',
3697 'std::string',
3698 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3699 is_const=True, visibility='private', is_virtual=True)
3700 return
3701
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07003702def register_Ns3EnumChecker_methods(root_module, cls):
3703 ## enum.h (module 'core'): ns3::EnumChecker::EnumChecker(ns3::EnumChecker const & arg0) [copy constructor]
3704 cls.add_constructor([param('ns3::EnumChecker const &', 'arg0')])
3705 ## enum.h (module 'core'): ns3::EnumChecker::EnumChecker() [constructor]
3706 cls.add_constructor([])
3707 ## enum.h (module 'core'): void ns3::EnumChecker::Add(int v, std::string name) [member function]
3708 cls.add_method('Add',
3709 'void',
3710 [param('int', 'v'), param('std::string', 'name')])
3711 ## enum.h (module 'core'): void ns3::EnumChecker::AddDefault(int v, std::string name) [member function]
3712 cls.add_method('AddDefault',
3713 'void',
3714 [param('int', 'v'), param('std::string', 'name')])
3715 ## enum.h (module 'core'): bool ns3::EnumChecker::Check(ns3::AttributeValue const & value) const [member function]
3716 cls.add_method('Check',
3717 'bool',
3718 [param('ns3::AttributeValue const &', 'value')],
3719 is_const=True, is_virtual=True)
3720 ## enum.h (module 'core'): bool ns3::EnumChecker::Copy(ns3::AttributeValue const & src, ns3::AttributeValue & dst) const [member function]
3721 cls.add_method('Copy',
3722 'bool',
3723 [param('ns3::AttributeValue const &', 'src'), param('ns3::AttributeValue &', 'dst')],
3724 is_const=True, is_virtual=True)
3725 ## enum.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::EnumChecker::Create() const [member function]
3726 cls.add_method('Create',
3727 'ns3::Ptr< ns3::AttributeValue >',
3728 [],
3729 is_const=True, is_virtual=True)
3730 ## enum.h (module 'core'): std::string ns3::EnumChecker::GetUnderlyingTypeInformation() const [member function]
3731 cls.add_method('GetUnderlyingTypeInformation',
3732 'std::string',
3733 [],
3734 is_const=True, is_virtual=True)
3735 ## enum.h (module 'core'): std::string ns3::EnumChecker::GetValueTypeName() const [member function]
3736 cls.add_method('GetValueTypeName',
3737 'std::string',
3738 [],
3739 is_const=True, is_virtual=True)
3740 ## enum.h (module 'core'): bool ns3::EnumChecker::HasUnderlyingTypeInformation() const [member function]
3741 cls.add_method('HasUnderlyingTypeInformation',
3742 'bool',
3743 [],
3744 is_const=True, is_virtual=True)
3745 return
3746
3747def register_Ns3EnumValue_methods(root_module, cls):
3748 ## enum.h (module 'core'): ns3::EnumValue::EnumValue(ns3::EnumValue const & arg0) [copy constructor]
3749 cls.add_constructor([param('ns3::EnumValue const &', 'arg0')])
3750 ## enum.h (module 'core'): ns3::EnumValue::EnumValue() [constructor]
3751 cls.add_constructor([])
3752 ## enum.h (module 'core'): ns3::EnumValue::EnumValue(int v) [constructor]
3753 cls.add_constructor([param('int', 'v')])
3754 ## enum.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::EnumValue::Copy() const [member function]
3755 cls.add_method('Copy',
3756 'ns3::Ptr< ns3::AttributeValue >',
3757 [],
3758 is_const=True, is_virtual=True)
3759 ## enum.h (module 'core'): bool ns3::EnumValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3760 cls.add_method('DeserializeFromString',
3761 'bool',
3762 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3763 is_virtual=True)
3764 ## enum.h (module 'core'): int ns3::EnumValue::Get() const [member function]
3765 cls.add_method('Get',
3766 'int',
3767 [],
3768 is_const=True)
3769 ## enum.h (module 'core'): std::string ns3::EnumValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3770 cls.add_method('SerializeToString',
3771 'std::string',
3772 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3773 is_const=True, is_virtual=True)
3774 ## enum.h (module 'core'): void ns3::EnumValue::Set(int v) [member function]
3775 cls.add_method('Set',
3776 'void',
3777 [param('int', 'v')])
3778 return
3779
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003780def register_Ns3EventImpl_methods(root_module, cls):
3781 ## event-impl.h (module 'core'): ns3::EventImpl::EventImpl(ns3::EventImpl const & arg0) [copy constructor]
3782 cls.add_constructor([param('ns3::EventImpl const &', 'arg0')])
3783 ## event-impl.h (module 'core'): ns3::EventImpl::EventImpl() [constructor]
3784 cls.add_constructor([])
3785 ## event-impl.h (module 'core'): void ns3::EventImpl::Cancel() [member function]
3786 cls.add_method('Cancel',
3787 'void',
3788 [])
3789 ## event-impl.h (module 'core'): void ns3::EventImpl::Invoke() [member function]
3790 cls.add_method('Invoke',
3791 'void',
3792 [])
3793 ## event-impl.h (module 'core'): bool ns3::EventImpl::IsCancelled() [member function]
3794 cls.add_method('IsCancelled',
3795 'bool',
3796 [])
3797 ## event-impl.h (module 'core'): void ns3::EventImpl::Notify() [member function]
3798 cls.add_method('Notify',
3799 'void',
3800 [],
3801 is_pure_virtual=True, visibility='protected', is_virtual=True)
3802 return
3803
3804def register_Ns3IntegerValue_methods(root_module, cls):
3805 ## integer.h (module 'core'): ns3::IntegerValue::IntegerValue() [constructor]
3806 cls.add_constructor([])
3807 ## integer.h (module 'core'): ns3::IntegerValue::IntegerValue(ns3::IntegerValue const & arg0) [copy constructor]
3808 cls.add_constructor([param('ns3::IntegerValue const &', 'arg0')])
3809 ## integer.h (module 'core'): ns3::IntegerValue::IntegerValue(int64_t const & value) [constructor]
3810 cls.add_constructor([param('int64_t const &', 'value')])
3811 ## integer.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::IntegerValue::Copy() const [member function]
3812 cls.add_method('Copy',
3813 'ns3::Ptr< ns3::AttributeValue >',
3814 [],
3815 is_const=True, is_virtual=True)
3816 ## integer.h (module 'core'): bool ns3::IntegerValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3817 cls.add_method('DeserializeFromString',
3818 'bool',
3819 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3820 is_virtual=True)
3821 ## integer.h (module 'core'): int64_t ns3::IntegerValue::Get() const [member function]
3822 cls.add_method('Get',
3823 'int64_t',
3824 [],
3825 is_const=True)
3826 ## integer.h (module 'core'): std::string ns3::IntegerValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3827 cls.add_method('SerializeToString',
3828 'std::string',
3829 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3830 is_const=True, is_virtual=True)
3831 ## integer.h (module 'core'): void ns3::IntegerValue::Set(int64_t const & value) [member function]
3832 cls.add_method('Set',
3833 'void',
3834 [param('int64_t const &', 'value')])
3835 return
3836
3837def register_Ns3Ipv4AddressChecker_methods(root_module, cls):
3838 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker::Ipv4AddressChecker() [constructor]
3839 cls.add_constructor([])
3840 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker::Ipv4AddressChecker(ns3::Ipv4AddressChecker const & arg0) [copy constructor]
3841 cls.add_constructor([param('ns3::Ipv4AddressChecker const &', 'arg0')])
3842 return
3843
3844def register_Ns3Ipv4AddressValue_methods(root_module, cls):
3845 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue::Ipv4AddressValue() [constructor]
3846 cls.add_constructor([])
3847 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue::Ipv4AddressValue(ns3::Ipv4AddressValue const & arg0) [copy constructor]
3848 cls.add_constructor([param('ns3::Ipv4AddressValue const &', 'arg0')])
3849 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue::Ipv4AddressValue(ns3::Ipv4Address const & value) [constructor]
3850 cls.add_constructor([param('ns3::Ipv4Address const &', 'value')])
3851 ## ipv4-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv4AddressValue::Copy() const [member function]
3852 cls.add_method('Copy',
3853 'ns3::Ptr< ns3::AttributeValue >',
3854 [],
3855 is_const=True, is_virtual=True)
3856 ## ipv4-address.h (module 'network'): bool ns3::Ipv4AddressValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3857 cls.add_method('DeserializeFromString',
3858 'bool',
3859 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3860 is_virtual=True)
3861 ## ipv4-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv4AddressValue::Get() const [member function]
3862 cls.add_method('Get',
3863 'ns3::Ipv4Address',
3864 [],
3865 is_const=True)
3866 ## ipv4-address.h (module 'network'): std::string ns3::Ipv4AddressValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3867 cls.add_method('SerializeToString',
3868 'std::string',
3869 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3870 is_const=True, is_virtual=True)
3871 ## ipv4-address.h (module 'network'): void ns3::Ipv4AddressValue::Set(ns3::Ipv4Address const & value) [member function]
3872 cls.add_method('Set',
3873 'void',
3874 [param('ns3::Ipv4Address const &', 'value')])
3875 return
3876
3877def register_Ns3Ipv4MaskChecker_methods(root_module, cls):
3878 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker::Ipv4MaskChecker() [constructor]
3879 cls.add_constructor([])
3880 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker::Ipv4MaskChecker(ns3::Ipv4MaskChecker const & arg0) [copy constructor]
3881 cls.add_constructor([param('ns3::Ipv4MaskChecker const &', 'arg0')])
3882 return
3883
3884def register_Ns3Ipv4MaskValue_methods(root_module, cls):
3885 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue::Ipv4MaskValue() [constructor]
3886 cls.add_constructor([])
3887 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue::Ipv4MaskValue(ns3::Ipv4MaskValue const & arg0) [copy constructor]
3888 cls.add_constructor([param('ns3::Ipv4MaskValue const &', 'arg0')])
3889 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue::Ipv4MaskValue(ns3::Ipv4Mask const & value) [constructor]
3890 cls.add_constructor([param('ns3::Ipv4Mask const &', 'value')])
3891 ## ipv4-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv4MaskValue::Copy() const [member function]
3892 cls.add_method('Copy',
3893 'ns3::Ptr< ns3::AttributeValue >',
3894 [],
3895 is_const=True, is_virtual=True)
3896 ## ipv4-address.h (module 'network'): bool ns3::Ipv4MaskValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3897 cls.add_method('DeserializeFromString',
3898 'bool',
3899 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3900 is_virtual=True)
3901 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask ns3::Ipv4MaskValue::Get() const [member function]
3902 cls.add_method('Get',
3903 'ns3::Ipv4Mask',
3904 [],
3905 is_const=True)
3906 ## ipv4-address.h (module 'network'): std::string ns3::Ipv4MaskValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3907 cls.add_method('SerializeToString',
3908 'std::string',
3909 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3910 is_const=True, is_virtual=True)
3911 ## ipv4-address.h (module 'network'): void ns3::Ipv4MaskValue::Set(ns3::Ipv4Mask const & value) [member function]
3912 cls.add_method('Set',
3913 'void',
3914 [param('ns3::Ipv4Mask const &', 'value')])
3915 return
3916
3917def register_Ns3Ipv6AddressChecker_methods(root_module, cls):
3918 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker::Ipv6AddressChecker() [constructor]
3919 cls.add_constructor([])
3920 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker::Ipv6AddressChecker(ns3::Ipv6AddressChecker const & arg0) [copy constructor]
3921 cls.add_constructor([param('ns3::Ipv6AddressChecker const &', 'arg0')])
3922 return
3923
3924def register_Ns3Ipv6AddressValue_methods(root_module, cls):
3925 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue::Ipv6AddressValue() [constructor]
3926 cls.add_constructor([])
3927 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue::Ipv6AddressValue(ns3::Ipv6AddressValue const & arg0) [copy constructor]
3928 cls.add_constructor([param('ns3::Ipv6AddressValue const &', 'arg0')])
3929 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue::Ipv6AddressValue(ns3::Ipv6Address const & value) [constructor]
3930 cls.add_constructor([param('ns3::Ipv6Address const &', 'value')])
3931 ## ipv6-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv6AddressValue::Copy() const [member function]
3932 cls.add_method('Copy',
3933 'ns3::Ptr< ns3::AttributeValue >',
3934 [],
3935 is_const=True, is_virtual=True)
3936 ## ipv6-address.h (module 'network'): bool ns3::Ipv6AddressValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3937 cls.add_method('DeserializeFromString',
3938 'bool',
3939 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3940 is_virtual=True)
3941 ## ipv6-address.h (module 'network'): ns3::Ipv6Address ns3::Ipv6AddressValue::Get() const [member function]
3942 cls.add_method('Get',
3943 'ns3::Ipv6Address',
3944 [],
3945 is_const=True)
3946 ## ipv6-address.h (module 'network'): std::string ns3::Ipv6AddressValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3947 cls.add_method('SerializeToString',
3948 'std::string',
3949 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3950 is_const=True, is_virtual=True)
3951 ## ipv6-address.h (module 'network'): void ns3::Ipv6AddressValue::Set(ns3::Ipv6Address const & value) [member function]
3952 cls.add_method('Set',
3953 'void',
3954 [param('ns3::Ipv6Address const &', 'value')])
3955 return
3956
3957def register_Ns3Ipv6PrefixChecker_methods(root_module, cls):
3958 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker::Ipv6PrefixChecker() [constructor]
3959 cls.add_constructor([])
3960 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker::Ipv6PrefixChecker(ns3::Ipv6PrefixChecker const & arg0) [copy constructor]
3961 cls.add_constructor([param('ns3::Ipv6PrefixChecker const &', 'arg0')])
3962 return
3963
3964def register_Ns3Ipv6PrefixValue_methods(root_module, cls):
3965 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue::Ipv6PrefixValue() [constructor]
3966 cls.add_constructor([])
3967 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue::Ipv6PrefixValue(ns3::Ipv6PrefixValue const & arg0) [copy constructor]
3968 cls.add_constructor([param('ns3::Ipv6PrefixValue const &', 'arg0')])
3969 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue::Ipv6PrefixValue(ns3::Ipv6Prefix const & value) [constructor]
3970 cls.add_constructor([param('ns3::Ipv6Prefix const &', 'value')])
3971 ## ipv6-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv6PrefixValue::Copy() const [member function]
3972 cls.add_method('Copy',
3973 'ns3::Ptr< ns3::AttributeValue >',
3974 [],
3975 is_const=True, is_virtual=True)
3976 ## ipv6-address.h (module 'network'): bool ns3::Ipv6PrefixValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3977 cls.add_method('DeserializeFromString',
3978 'bool',
3979 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3980 is_virtual=True)
3981 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix ns3::Ipv6PrefixValue::Get() const [member function]
3982 cls.add_method('Get',
3983 'ns3::Ipv6Prefix',
3984 [],
3985 is_const=True)
3986 ## ipv6-address.h (module 'network'): std::string ns3::Ipv6PrefixValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3987 cls.add_method('SerializeToString',
3988 'std::string',
3989 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3990 is_const=True, is_virtual=True)
3991 ## ipv6-address.h (module 'network'): void ns3::Ipv6PrefixValue::Set(ns3::Ipv6Prefix const & value) [member function]
3992 cls.add_method('Set',
3993 'void',
3994 [param('ns3::Ipv6Prefix const &', 'value')])
3995 return
3996
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003997def register_Ns3NetDevice_methods(root_module, cls):
3998 ## net-device.h (module 'network'): ns3::NetDevice::NetDevice() [constructor]
3999 cls.add_constructor([])
4000 ## net-device.h (module 'network'): ns3::NetDevice::NetDevice(ns3::NetDevice const & arg0) [copy constructor]
4001 cls.add_constructor([param('ns3::NetDevice const &', 'arg0')])
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08004002 ## 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 -07004003 cls.add_method('AddLinkChangeCallback',
4004 'void',
4005 [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')],
4006 is_pure_virtual=True, is_virtual=True)
4007 ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetAddress() const [member function]
4008 cls.add_method('GetAddress',
4009 'ns3::Address',
4010 [],
4011 is_pure_virtual=True, is_const=True, is_virtual=True)
4012 ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetBroadcast() const [member function]
4013 cls.add_method('GetBroadcast',
4014 'ns3::Address',
4015 [],
4016 is_pure_virtual=True, is_const=True, is_virtual=True)
4017 ## net-device.h (module 'network'): ns3::Ptr<ns3::Channel> ns3::NetDevice::GetChannel() const [member function]
4018 cls.add_method('GetChannel',
4019 'ns3::Ptr< ns3::Channel >',
4020 [],
4021 is_pure_virtual=True, is_const=True, is_virtual=True)
4022 ## net-device.h (module 'network'): uint32_t ns3::NetDevice::GetIfIndex() const [member function]
4023 cls.add_method('GetIfIndex',
4024 'uint32_t',
4025 [],
4026 is_pure_virtual=True, is_const=True, is_virtual=True)
4027 ## net-device.h (module 'network'): uint16_t ns3::NetDevice::GetMtu() const [member function]
4028 cls.add_method('GetMtu',
4029 'uint16_t',
4030 [],
4031 is_pure_virtual=True, is_const=True, is_virtual=True)
4032 ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetMulticast(ns3::Ipv4Address multicastGroup) const [member function]
4033 cls.add_method('GetMulticast',
4034 'ns3::Address',
4035 [param('ns3::Ipv4Address', 'multicastGroup')],
4036 is_pure_virtual=True, is_const=True, is_virtual=True)
4037 ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetMulticast(ns3::Ipv6Address addr) const [member function]
4038 cls.add_method('GetMulticast',
4039 'ns3::Address',
4040 [param('ns3::Ipv6Address', 'addr')],
4041 is_pure_virtual=True, is_const=True, is_virtual=True)
4042 ## net-device.h (module 'network'): ns3::Ptr<ns3::Node> ns3::NetDevice::GetNode() const [member function]
4043 cls.add_method('GetNode',
4044 'ns3::Ptr< ns3::Node >',
4045 [],
4046 is_pure_virtual=True, is_const=True, is_virtual=True)
4047 ## net-device.h (module 'network'): static ns3::TypeId ns3::NetDevice::GetTypeId() [member function]
4048 cls.add_method('GetTypeId',
4049 'ns3::TypeId',
4050 [],
4051 is_static=True)
4052 ## net-device.h (module 'network'): bool ns3::NetDevice::IsBridge() const [member function]
4053 cls.add_method('IsBridge',
4054 'bool',
4055 [],
4056 is_pure_virtual=True, is_const=True, is_virtual=True)
4057 ## net-device.h (module 'network'): bool ns3::NetDevice::IsBroadcast() const [member function]
4058 cls.add_method('IsBroadcast',
4059 'bool',
4060 [],
4061 is_pure_virtual=True, is_const=True, is_virtual=True)
4062 ## net-device.h (module 'network'): bool ns3::NetDevice::IsLinkUp() const [member function]
4063 cls.add_method('IsLinkUp',
4064 'bool',
4065 [],
4066 is_pure_virtual=True, is_const=True, is_virtual=True)
4067 ## net-device.h (module 'network'): bool ns3::NetDevice::IsMulticast() const [member function]
4068 cls.add_method('IsMulticast',
4069 'bool',
4070 [],
4071 is_pure_virtual=True, is_const=True, is_virtual=True)
4072 ## net-device.h (module 'network'): bool ns3::NetDevice::IsPointToPoint() const [member function]
4073 cls.add_method('IsPointToPoint',
4074 'bool',
4075 [],
4076 is_pure_virtual=True, is_const=True, is_virtual=True)
4077 ## net-device.h (module 'network'): bool ns3::NetDevice::NeedsArp() const [member function]
4078 cls.add_method('NeedsArp',
4079 'bool',
4080 [],
4081 is_pure_virtual=True, is_const=True, is_virtual=True)
4082 ## net-device.h (module 'network'): bool ns3::NetDevice::Send(ns3::Ptr<ns3::Packet> packet, ns3::Address const & dest, uint16_t protocolNumber) [member function]
4083 cls.add_method('Send',
4084 'bool',
4085 [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')],
4086 is_pure_virtual=True, is_virtual=True)
4087 ## 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]
4088 cls.add_method('SendFrom',
4089 'bool',
4090 [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'source'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')],
4091 is_pure_virtual=True, is_virtual=True)
4092 ## net-device.h (module 'network'): void ns3::NetDevice::SetAddress(ns3::Address address) [member function]
4093 cls.add_method('SetAddress',
4094 'void',
4095 [param('ns3::Address', 'address')],
4096 is_pure_virtual=True, is_virtual=True)
4097 ## net-device.h (module 'network'): void ns3::NetDevice::SetIfIndex(uint32_t const index) [member function]
4098 cls.add_method('SetIfIndex',
4099 'void',
4100 [param('uint32_t const', 'index')],
4101 is_pure_virtual=True, is_virtual=True)
4102 ## net-device.h (module 'network'): bool ns3::NetDevice::SetMtu(uint16_t const mtu) [member function]
4103 cls.add_method('SetMtu',
4104 'bool',
4105 [param('uint16_t const', 'mtu')],
4106 is_pure_virtual=True, is_virtual=True)
4107 ## net-device.h (module 'network'): void ns3::NetDevice::SetNode(ns3::Ptr<ns3::Node> node) [member function]
4108 cls.add_method('SetNode',
4109 'void',
4110 [param('ns3::Ptr< ns3::Node >', 'node')],
4111 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyev07827182011-12-13 01:07:32 -08004112 ## 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 -07004113 cls.add_method('SetPromiscReceiveCallback',
4114 'void',
Alexander Afanasyev07827182011-12-13 01:07:32 -08004115 [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 -07004116 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyev07827182011-12-13 01:07:32 -08004117 ## 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 -07004118 cls.add_method('SetReceiveCallback',
4119 'void',
Alexander Afanasyev07827182011-12-13 01:07:32 -08004120 [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 -07004121 is_pure_virtual=True, is_virtual=True)
4122 ## net-device.h (module 'network'): bool ns3::NetDevice::SupportsSendFrom() const [member function]
4123 cls.add_method('SupportsSendFrom',
4124 'bool',
4125 [],
4126 is_pure_virtual=True, is_const=True, is_virtual=True)
4127 return
4128
4129def register_Ns3NixVector_methods(root_module, cls):
4130 cls.add_output_stream_operator()
4131 ## nix-vector.h (module 'network'): ns3::NixVector::NixVector() [constructor]
4132 cls.add_constructor([])
4133 ## nix-vector.h (module 'network'): ns3::NixVector::NixVector(ns3::NixVector const & o) [copy constructor]
4134 cls.add_constructor([param('ns3::NixVector const &', 'o')])
4135 ## nix-vector.h (module 'network'): void ns3::NixVector::AddNeighborIndex(uint32_t newBits, uint32_t numberOfBits) [member function]
4136 cls.add_method('AddNeighborIndex',
4137 'void',
4138 [param('uint32_t', 'newBits'), param('uint32_t', 'numberOfBits')])
4139 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::BitCount(uint32_t numberOfNeighbors) const [member function]
4140 cls.add_method('BitCount',
4141 'uint32_t',
4142 [param('uint32_t', 'numberOfNeighbors')],
4143 is_const=True)
4144 ## nix-vector.h (module 'network'): ns3::Ptr<ns3::NixVector> ns3::NixVector::Copy() const [member function]
4145 cls.add_method('Copy',
4146 'ns3::Ptr< ns3::NixVector >',
4147 [],
4148 is_const=True)
4149 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::Deserialize(uint32_t const * buffer, uint32_t size) [member function]
4150 cls.add_method('Deserialize',
4151 'uint32_t',
4152 [param('uint32_t const *', 'buffer'), param('uint32_t', 'size')])
4153 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::ExtractNeighborIndex(uint32_t numberOfBits) [member function]
4154 cls.add_method('ExtractNeighborIndex',
4155 'uint32_t',
4156 [param('uint32_t', 'numberOfBits')])
4157 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::GetRemainingBits() [member function]
4158 cls.add_method('GetRemainingBits',
4159 'uint32_t',
4160 [])
4161 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::GetSerializedSize() const [member function]
4162 cls.add_method('GetSerializedSize',
4163 'uint32_t',
4164 [],
4165 is_const=True)
4166 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::Serialize(uint32_t * buffer, uint32_t maxSize) const [member function]
4167 cls.add_method('Serialize',
4168 'uint32_t',
4169 [param('uint32_t *', 'buffer'), param('uint32_t', 'maxSize')],
4170 is_const=True)
4171 return
4172
4173def register_Ns3Node_methods(root_module, cls):
4174 ## node.h (module 'network'): ns3::Node::Node(ns3::Node const & arg0) [copy constructor]
4175 cls.add_constructor([param('ns3::Node const &', 'arg0')])
4176 ## node.h (module 'network'): ns3::Node::Node() [constructor]
4177 cls.add_constructor([])
4178 ## node.h (module 'network'): ns3::Node::Node(uint32_t systemId) [constructor]
4179 cls.add_constructor([param('uint32_t', 'systemId')])
4180 ## node.h (module 'network'): uint32_t ns3::Node::AddApplication(ns3::Ptr<ns3::Application> application) [member function]
4181 cls.add_method('AddApplication',
4182 'uint32_t',
4183 [param('ns3::Ptr< ns3::Application >', 'application')])
4184 ## node.h (module 'network'): uint32_t ns3::Node::AddDevice(ns3::Ptr<ns3::NetDevice> device) [member function]
4185 cls.add_method('AddDevice',
4186 'uint32_t',
4187 [param('ns3::Ptr< ns3::NetDevice >', 'device')])
4188 ## node.h (module 'network'): static bool ns3::Node::ChecksumEnabled() [member function]
4189 cls.add_method('ChecksumEnabled',
4190 'bool',
4191 [],
4192 is_static=True)
4193 ## node.h (module 'network'): ns3::Ptr<ns3::Application> ns3::Node::GetApplication(uint32_t index) const [member function]
4194 cls.add_method('GetApplication',
4195 'ns3::Ptr< ns3::Application >',
4196 [param('uint32_t', 'index')],
4197 is_const=True)
4198 ## node.h (module 'network'): ns3::Ptr<ns3::NetDevice> ns3::Node::GetDevice(uint32_t index) const [member function]
4199 cls.add_method('GetDevice',
4200 'ns3::Ptr< ns3::NetDevice >',
4201 [param('uint32_t', 'index')],
4202 is_const=True)
4203 ## node.h (module 'network'): uint32_t ns3::Node::GetId() const [member function]
4204 cls.add_method('GetId',
4205 'uint32_t',
4206 [],
4207 is_const=True)
4208 ## node.h (module 'network'): uint32_t ns3::Node::GetNApplications() const [member function]
4209 cls.add_method('GetNApplications',
4210 'uint32_t',
4211 [],
4212 is_const=True)
4213 ## node.h (module 'network'): uint32_t ns3::Node::GetNDevices() const [member function]
4214 cls.add_method('GetNDevices',
4215 'uint32_t',
4216 [],
4217 is_const=True)
4218 ## node.h (module 'network'): uint32_t ns3::Node::GetSystemId() const [member function]
4219 cls.add_method('GetSystemId',
4220 'uint32_t',
4221 [],
4222 is_const=True)
4223 ## node.h (module 'network'): static ns3::TypeId ns3::Node::GetTypeId() [member function]
4224 cls.add_method('GetTypeId',
4225 'ns3::TypeId',
4226 [],
4227 is_static=True)
4228 ## 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]
4229 cls.add_method('RegisterDeviceAdditionListener',
4230 'void',
4231 [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')])
4232 ## 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]
4233 cls.add_method('RegisterProtocolHandler',
4234 'void',
4235 [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')])
4236 ## 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]
4237 cls.add_method('UnregisterDeviceAdditionListener',
4238 'void',
4239 [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')])
4240 ## 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]
4241 cls.add_method('UnregisterProtocolHandler',
4242 'void',
4243 [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')])
4244 ## node.h (module 'network'): void ns3::Node::DoDispose() [member function]
4245 cls.add_method('DoDispose',
4246 'void',
4247 [],
4248 visibility='protected', is_virtual=True)
4249 ## node.h (module 'network'): void ns3::Node::DoStart() [member function]
4250 cls.add_method('DoStart',
4251 'void',
4252 [],
4253 visibility='protected', is_virtual=True)
4254 return
4255
4256def register_Ns3ObjectFactoryChecker_methods(root_module, cls):
4257 ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker::ObjectFactoryChecker() [constructor]
4258 cls.add_constructor([])
4259 ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker::ObjectFactoryChecker(ns3::ObjectFactoryChecker const & arg0) [copy constructor]
4260 cls.add_constructor([param('ns3::ObjectFactoryChecker const &', 'arg0')])
4261 return
4262
4263def register_Ns3ObjectFactoryValue_methods(root_module, cls):
4264 ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue() [constructor]
4265 cls.add_constructor([])
4266 ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue(ns3::ObjectFactoryValue const & arg0) [copy constructor]
4267 cls.add_constructor([param('ns3::ObjectFactoryValue const &', 'arg0')])
4268 ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue(ns3::ObjectFactory const & value) [constructor]
4269 cls.add_constructor([param('ns3::ObjectFactory const &', 'value')])
4270 ## object-factory.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::ObjectFactoryValue::Copy() const [member function]
4271 cls.add_method('Copy',
4272 'ns3::Ptr< ns3::AttributeValue >',
4273 [],
4274 is_const=True, is_virtual=True)
4275 ## object-factory.h (module 'core'): bool ns3::ObjectFactoryValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4276 cls.add_method('DeserializeFromString',
4277 'bool',
4278 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4279 is_virtual=True)
4280 ## object-factory.h (module 'core'): ns3::ObjectFactory ns3::ObjectFactoryValue::Get() const [member function]
4281 cls.add_method('Get',
4282 'ns3::ObjectFactory',
4283 [],
4284 is_const=True)
4285 ## object-factory.h (module 'core'): std::string ns3::ObjectFactoryValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4286 cls.add_method('SerializeToString',
4287 'std::string',
4288 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4289 is_const=True, is_virtual=True)
4290 ## object-factory.h (module 'core'): void ns3::ObjectFactoryValue::Set(ns3::ObjectFactory const & value) [member function]
4291 cls.add_method('Set',
4292 'void',
4293 [param('ns3::ObjectFactory const &', 'value')])
4294 return
4295
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004296def register_Ns3Packet_methods(root_module, cls):
4297 cls.add_output_stream_operator()
4298 ## packet.h (module 'network'): ns3::Packet::Packet() [constructor]
4299 cls.add_constructor([])
4300 ## packet.h (module 'network'): ns3::Packet::Packet(ns3::Packet const & o) [copy constructor]
4301 cls.add_constructor([param('ns3::Packet const &', 'o')])
4302 ## packet.h (module 'network'): ns3::Packet::Packet(uint32_t size) [constructor]
4303 cls.add_constructor([param('uint32_t', 'size')])
4304 ## packet.h (module 'network'): ns3::Packet::Packet(uint8_t const * buffer, uint32_t size, bool magic) [constructor]
4305 cls.add_constructor([param('uint8_t const *', 'buffer'), param('uint32_t', 'size'), param('bool', 'magic')])
4306 ## packet.h (module 'network'): ns3::Packet::Packet(uint8_t const * buffer, uint32_t size) [constructor]
4307 cls.add_constructor([param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
Alexander Afanasyev07827182011-12-13 01:07:32 -08004308 ## packet.h (module 'network'): void ns3::Packet::AddAtEnd(ns3::Ptr<const ns3::Packet> packet) [member function]
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004309 cls.add_method('AddAtEnd',
4310 'void',
4311 [param('ns3::Ptr< ns3::Packet const >', 'packet')])
4312 ## packet.h (module 'network'): void ns3::Packet::AddByteTag(ns3::Tag const & tag) const [member function]
4313 cls.add_method('AddByteTag',
4314 'void',
4315 [param('ns3::Tag const &', 'tag')],
4316 is_const=True)
4317 ## packet.h (module 'network'): void ns3::Packet::AddHeader(ns3::Header const & header) [member function]
4318 cls.add_method('AddHeader',
4319 'void',
4320 [param('ns3::Header const &', 'header')])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004321 ## packet.h (module 'network'): void ns3::Packet::AddPacketTag(ns3::Tag const & tag) const [member function]
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004322 cls.add_method('AddPacketTag',
4323 'void',
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004324 [param('ns3::Tag const &', 'tag')],
4325 is_const=True)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004326 ## packet.h (module 'network'): void ns3::Packet::AddPaddingAtEnd(uint32_t size) [member function]
4327 cls.add_method('AddPaddingAtEnd',
4328 'void',
4329 [param('uint32_t', 'size')])
4330 ## packet.h (module 'network'): void ns3::Packet::AddTrailer(ns3::Trailer const & trailer) [member function]
4331 cls.add_method('AddTrailer',
4332 'void',
4333 [param('ns3::Trailer const &', 'trailer')])
4334 ## packet.h (module 'network'): ns3::PacketMetadata::ItemIterator ns3::Packet::BeginItem() const [member function]
4335 cls.add_method('BeginItem',
4336 'ns3::PacketMetadata::ItemIterator',
4337 [],
4338 is_const=True)
4339 ## packet.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Packet::Copy() const [member function]
4340 cls.add_method('Copy',
4341 'ns3::Ptr< ns3::Packet >',
4342 [],
4343 is_const=True)
4344 ## packet.h (module 'network'): uint32_t ns3::Packet::CopyData(uint8_t * buffer, uint32_t size) const [member function]
4345 cls.add_method('CopyData',
4346 'uint32_t',
4347 [param('uint8_t *', 'buffer'), param('uint32_t', 'size')],
4348 is_const=True)
4349 ## packet.h (module 'network'): void ns3::Packet::CopyData(std::ostream * os, uint32_t size) const [member function]
4350 cls.add_method('CopyData',
4351 'void',
4352 [param('std::ostream *', 'os'), param('uint32_t', 'size')],
4353 is_const=True)
4354 ## packet.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Packet::CreateFragment(uint32_t start, uint32_t length) const [member function]
4355 cls.add_method('CreateFragment',
4356 'ns3::Ptr< ns3::Packet >',
4357 [param('uint32_t', 'start'), param('uint32_t', 'length')],
4358 is_const=True)
4359 ## packet.h (module 'network'): static void ns3::Packet::EnableChecking() [member function]
4360 cls.add_method('EnableChecking',
4361 'void',
4362 [],
4363 is_static=True)
4364 ## packet.h (module 'network'): static void ns3::Packet::EnablePrinting() [member function]
4365 cls.add_method('EnablePrinting',
4366 'void',
4367 [],
4368 is_static=True)
4369 ## packet.h (module 'network'): bool ns3::Packet::FindFirstMatchingByteTag(ns3::Tag & tag) const [member function]
4370 cls.add_method('FindFirstMatchingByteTag',
4371 'bool',
4372 [param('ns3::Tag &', 'tag')],
4373 is_const=True)
4374 ## packet.h (module 'network'): ns3::ByteTagIterator ns3::Packet::GetByteTagIterator() const [member function]
4375 cls.add_method('GetByteTagIterator',
4376 'ns3::ByteTagIterator',
4377 [],
4378 is_const=True)
4379 ## packet.h (module 'network'): ns3::Ptr<ns3::NixVector> ns3::Packet::GetNixVector() const [member function]
4380 cls.add_method('GetNixVector',
4381 'ns3::Ptr< ns3::NixVector >',
4382 [],
4383 is_const=True)
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004384 ## packet.h (module 'network'): ns3::PacketTagIterator ns3::Packet::GetPacketTagIterator() const [member function]
4385 cls.add_method('GetPacketTagIterator',
4386 'ns3::PacketTagIterator',
4387 [],
4388 is_const=True)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004389 ## packet.h (module 'network'): uint32_t ns3::Packet::GetSerializedSize() const [member function]
4390 cls.add_method('GetSerializedSize',
4391 'uint32_t',
4392 [],
4393 is_const=True)
4394 ## packet.h (module 'network'): uint32_t ns3::Packet::GetSize() const [member function]
4395 cls.add_method('GetSize',
4396 'uint32_t',
4397 [],
4398 is_const=True)
4399 ## packet.h (module 'network'): uint64_t ns3::Packet::GetUid() const [member function]
4400 cls.add_method('GetUid',
4401 'uint64_t',
4402 [],
4403 is_const=True)
4404 ## packet.h (module 'network'): uint8_t const * ns3::Packet::PeekData() const [member function]
4405 cls.add_method('PeekData',
4406 'uint8_t const *',
4407 [],
4408 deprecated=True, is_const=True)
4409 ## packet.h (module 'network'): uint32_t ns3::Packet::PeekHeader(ns3::Header & header) const [member function]
4410 cls.add_method('PeekHeader',
4411 'uint32_t',
4412 [param('ns3::Header &', 'header')],
4413 is_const=True)
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004414 ## packet.h (module 'network'): bool ns3::Packet::PeekPacketTag(ns3::Tag & tag) const [member function]
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004415 cls.add_method('PeekPacketTag',
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004416 'bool',
4417 [param('ns3::Tag &', 'tag')],
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004418 is_const=True)
4419 ## packet.h (module 'network'): uint32_t ns3::Packet::PeekTrailer(ns3::Trailer & trailer) [member function]
4420 cls.add_method('PeekTrailer',
4421 'uint32_t',
4422 [param('ns3::Trailer &', 'trailer')])
4423 ## packet.h (module 'network'): void ns3::Packet::Print(std::ostream & os) const [member function]
4424 cls.add_method('Print',
4425 'void',
4426 [param('std::ostream &', 'os')],
4427 is_const=True)
4428 ## packet.h (module 'network'): void ns3::Packet::PrintByteTags(std::ostream & os) const [member function]
4429 cls.add_method('PrintByteTags',
4430 'void',
4431 [param('std::ostream &', 'os')],
4432 is_const=True)
4433 ## packet.h (module 'network'): void ns3::Packet::PrintPacketTags(std::ostream & os) const [member function]
4434 cls.add_method('PrintPacketTags',
4435 'void',
4436 [param('std::ostream &', 'os')],
4437 is_const=True)
4438 ## packet.h (module 'network'): void ns3::Packet::RemoveAllByteTags() [member function]
4439 cls.add_method('RemoveAllByteTags',
4440 'void',
4441 [])
4442 ## packet.h (module 'network'): void ns3::Packet::RemoveAllPacketTags() [member function]
4443 cls.add_method('RemoveAllPacketTags',
4444 'void',
4445 [])
4446 ## packet.h (module 'network'): void ns3::Packet::RemoveAtEnd(uint32_t size) [member function]
4447 cls.add_method('RemoveAtEnd',
4448 'void',
4449 [param('uint32_t', 'size')])
4450 ## packet.h (module 'network'): void ns3::Packet::RemoveAtStart(uint32_t size) [member function]
4451 cls.add_method('RemoveAtStart',
4452 'void',
4453 [param('uint32_t', 'size')])
4454 ## packet.h (module 'network'): uint32_t ns3::Packet::RemoveHeader(ns3::Header & header) [member function]
4455 cls.add_method('RemoveHeader',
4456 'uint32_t',
4457 [param('ns3::Header &', 'header')])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004458 ## packet.h (module 'network'): bool ns3::Packet::RemovePacketTag(ns3::Tag & tag) [member function]
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004459 cls.add_method('RemovePacketTag',
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004460 'bool',
4461 [param('ns3::Tag &', 'tag')])
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004462 ## packet.h (module 'network'): uint32_t ns3::Packet::RemoveTrailer(ns3::Trailer & trailer) [member function]
4463 cls.add_method('RemoveTrailer',
4464 'uint32_t',
4465 [param('ns3::Trailer &', 'trailer')])
4466 ## packet.h (module 'network'): uint32_t ns3::Packet::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
4467 cls.add_method('Serialize',
4468 'uint32_t',
4469 [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')],
4470 is_const=True)
4471 ## packet.h (module 'network'): void ns3::Packet::SetNixVector(ns3::Ptr<ns3::NixVector> arg0) [member function]
4472 cls.add_method('SetNixVector',
4473 'void',
4474 [param('ns3::Ptr< ns3::NixVector >', 'arg0')])
4475 return
4476
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07004477def register_Ns3RandomVariableChecker_methods(root_module, cls):
4478 ## random-variable.h (module 'core'): ns3::RandomVariableChecker::RandomVariableChecker() [constructor]
4479 cls.add_constructor([])
4480 ## random-variable.h (module 'core'): ns3::RandomVariableChecker::RandomVariableChecker(ns3::RandomVariableChecker const & arg0) [copy constructor]
4481 cls.add_constructor([param('ns3::RandomVariableChecker const &', 'arg0')])
4482 return
4483
4484def register_Ns3RandomVariableValue_methods(root_module, cls):
4485 ## random-variable.h (module 'core'): ns3::RandomVariableValue::RandomVariableValue() [constructor]
4486 cls.add_constructor([])
4487 ## random-variable.h (module 'core'): ns3::RandomVariableValue::RandomVariableValue(ns3::RandomVariableValue const & arg0) [copy constructor]
4488 cls.add_constructor([param('ns3::RandomVariableValue const &', 'arg0')])
4489 ## random-variable.h (module 'core'): ns3::RandomVariableValue::RandomVariableValue(ns3::RandomVariable const & value) [constructor]
4490 cls.add_constructor([param('ns3::RandomVariable const &', 'value')])
4491 ## random-variable.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::RandomVariableValue::Copy() const [member function]
4492 cls.add_method('Copy',
4493 'ns3::Ptr< ns3::AttributeValue >',
4494 [],
4495 is_const=True, is_virtual=True)
4496 ## random-variable.h (module 'core'): bool ns3::RandomVariableValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4497 cls.add_method('DeserializeFromString',
4498 'bool',
4499 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4500 is_virtual=True)
4501 ## random-variable.h (module 'core'): ns3::RandomVariable ns3::RandomVariableValue::Get() const [member function]
4502 cls.add_method('Get',
4503 'ns3::RandomVariable',
4504 [],
4505 is_const=True)
4506 ## random-variable.h (module 'core'): std::string ns3::RandomVariableValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4507 cls.add_method('SerializeToString',
4508 'std::string',
4509 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4510 is_const=True, is_virtual=True)
4511 ## random-variable.h (module 'core'): void ns3::RandomVariableValue::Set(ns3::RandomVariable const & value) [member function]
4512 cls.add_method('Set',
4513 'void',
4514 [param('ns3::RandomVariable const &', 'value')])
4515 return
4516
4517def register_Ns3RocketfuelWeightsReader_methods(root_module, cls):
4518 ## rocketfuel-weights-reader.h (module 'ndnSIM'): ns3::RocketfuelWeightsReader::RocketfuelWeightsReader(std::string const & path="", double scale=1.0e+0) [constructor]
4519 cls.add_constructor([param('std::string const &', 'path', default_value='""'), param('double', 'scale', default_value='1.0e+0')])
4520 ## rocketfuel-weights-reader.h (module 'ndnSIM'): void ns3::RocketfuelWeightsReader::SetFileType(uint8_t inputType) [member function]
4521 cls.add_method('SetFileType',
4522 'void',
4523 [param('uint8_t', 'inputType')])
4524 ## rocketfuel-weights-reader.h (module 'ndnSIM'): ns3::NodeContainer ns3::RocketfuelWeightsReader::Read() [member function]
4525 cls.add_method('Read',
4526 'ns3::NodeContainer',
4527 [],
4528 is_virtual=True)
4529 ## rocketfuel-weights-reader.h (module 'ndnSIM'): void ns3::RocketfuelWeightsReader::Commit() [member function]
4530 cls.add_method('Commit',
4531 'void',
4532 [])
4533 return
4534
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004535def register_Ns3TimeChecker_methods(root_module, cls):
4536 ## nstime.h (module 'core'): ns3::TimeChecker::TimeChecker() [constructor]
4537 cls.add_constructor([])
4538 ## nstime.h (module 'core'): ns3::TimeChecker::TimeChecker(ns3::TimeChecker const & arg0) [copy constructor]
4539 cls.add_constructor([param('ns3::TimeChecker const &', 'arg0')])
4540 return
4541
4542def register_Ns3TimeValue_methods(root_module, cls):
4543 ## nstime.h (module 'core'): ns3::TimeValue::TimeValue() [constructor]
4544 cls.add_constructor([])
4545 ## nstime.h (module 'core'): ns3::TimeValue::TimeValue(ns3::TimeValue const & arg0) [copy constructor]
4546 cls.add_constructor([param('ns3::TimeValue const &', 'arg0')])
4547 ## nstime.h (module 'core'): ns3::TimeValue::TimeValue(ns3::Time const & value) [constructor]
4548 cls.add_constructor([param('ns3::Time const &', 'value')])
4549 ## nstime.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::TimeValue::Copy() const [member function]
4550 cls.add_method('Copy',
4551 'ns3::Ptr< ns3::AttributeValue >',
4552 [],
4553 is_const=True, is_virtual=True)
4554 ## nstime.h (module 'core'): bool ns3::TimeValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4555 cls.add_method('DeserializeFromString',
4556 'bool',
4557 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4558 is_virtual=True)
4559 ## nstime.h (module 'core'): ns3::Time ns3::TimeValue::Get() const [member function]
4560 cls.add_method('Get',
4561 'ns3::Time',
4562 [],
4563 is_const=True)
4564 ## nstime.h (module 'core'): std::string ns3::TimeValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4565 cls.add_method('SerializeToString',
4566 'std::string',
4567 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4568 is_const=True, is_virtual=True)
4569 ## nstime.h (module 'core'): void ns3::TimeValue::Set(ns3::Time const & value) [member function]
4570 cls.add_method('Set',
4571 'void',
4572 [param('ns3::Time const &', 'value')])
4573 return
4574
4575def register_Ns3TypeIdChecker_methods(root_module, cls):
4576 ## type-id.h (module 'core'): ns3::TypeIdChecker::TypeIdChecker() [constructor]
4577 cls.add_constructor([])
4578 ## type-id.h (module 'core'): ns3::TypeIdChecker::TypeIdChecker(ns3::TypeIdChecker const & arg0) [copy constructor]
4579 cls.add_constructor([param('ns3::TypeIdChecker const &', 'arg0')])
4580 return
4581
4582def register_Ns3TypeIdValue_methods(root_module, cls):
4583 ## type-id.h (module 'core'): ns3::TypeIdValue::TypeIdValue() [constructor]
4584 cls.add_constructor([])
4585 ## type-id.h (module 'core'): ns3::TypeIdValue::TypeIdValue(ns3::TypeIdValue const & arg0) [copy constructor]
4586 cls.add_constructor([param('ns3::TypeIdValue const &', 'arg0')])
4587 ## type-id.h (module 'core'): ns3::TypeIdValue::TypeIdValue(ns3::TypeId const & value) [constructor]
4588 cls.add_constructor([param('ns3::TypeId const &', 'value')])
4589 ## type-id.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::TypeIdValue::Copy() const [member function]
4590 cls.add_method('Copy',
4591 'ns3::Ptr< ns3::AttributeValue >',
4592 [],
4593 is_const=True, is_virtual=True)
4594 ## type-id.h (module 'core'): bool ns3::TypeIdValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4595 cls.add_method('DeserializeFromString',
4596 'bool',
4597 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4598 is_virtual=True)
4599 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeIdValue::Get() const [member function]
4600 cls.add_method('Get',
4601 'ns3::TypeId',
4602 [],
4603 is_const=True)
4604 ## type-id.h (module 'core'): std::string ns3::TypeIdValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4605 cls.add_method('SerializeToString',
4606 'std::string',
4607 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4608 is_const=True, is_virtual=True)
4609 ## type-id.h (module 'core'): void ns3::TypeIdValue::Set(ns3::TypeId const & value) [member function]
4610 cls.add_method('Set',
4611 'void',
4612 [param('ns3::TypeId const &', 'value')])
4613 return
4614
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07004615def register_Ns3UintegerValue_methods(root_module, cls):
4616 ## uinteger.h (module 'core'): ns3::UintegerValue::UintegerValue() [constructor]
4617 cls.add_constructor([])
4618 ## uinteger.h (module 'core'): ns3::UintegerValue::UintegerValue(ns3::UintegerValue const & arg0) [copy constructor]
4619 cls.add_constructor([param('ns3::UintegerValue const &', 'arg0')])
4620 ## uinteger.h (module 'core'): ns3::UintegerValue::UintegerValue(uint64_t const & value) [constructor]
4621 cls.add_constructor([param('uint64_t const &', 'value')])
4622 ## uinteger.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::UintegerValue::Copy() const [member function]
4623 cls.add_method('Copy',
4624 'ns3::Ptr< ns3::AttributeValue >',
4625 [],
4626 is_const=True, is_virtual=True)
4627 ## uinteger.h (module 'core'): bool ns3::UintegerValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4628 cls.add_method('DeserializeFromString',
4629 'bool',
4630 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4631 is_virtual=True)
4632 ## uinteger.h (module 'core'): uint64_t ns3::UintegerValue::Get() const [member function]
4633 cls.add_method('Get',
4634 'uint64_t',
4635 [],
4636 is_const=True)
4637 ## uinteger.h (module 'core'): std::string ns3::UintegerValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4638 cls.add_method('SerializeToString',
4639 'std::string',
4640 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4641 is_const=True, is_virtual=True)
4642 ## uinteger.h (module 'core'): void ns3::UintegerValue::Set(uint64_t const & value) [member function]
4643 cls.add_method('Set',
4644 'void',
4645 [param('uint64_t const &', 'value')])
4646 return
4647
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004648def register_Ns3AddressChecker_methods(root_module, cls):
4649 ## address.h (module 'network'): ns3::AddressChecker::AddressChecker() [constructor]
4650 cls.add_constructor([])
4651 ## address.h (module 'network'): ns3::AddressChecker::AddressChecker(ns3::AddressChecker const & arg0) [copy constructor]
4652 cls.add_constructor([param('ns3::AddressChecker const &', 'arg0')])
4653 return
4654
4655def register_Ns3AddressValue_methods(root_module, cls):
4656 ## address.h (module 'network'): ns3::AddressValue::AddressValue() [constructor]
4657 cls.add_constructor([])
4658 ## address.h (module 'network'): ns3::AddressValue::AddressValue(ns3::AddressValue const & arg0) [copy constructor]
4659 cls.add_constructor([param('ns3::AddressValue const &', 'arg0')])
4660 ## address.h (module 'network'): ns3::AddressValue::AddressValue(ns3::Address const & value) [constructor]
4661 cls.add_constructor([param('ns3::Address const &', 'value')])
4662 ## address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::AddressValue::Copy() const [member function]
4663 cls.add_method('Copy',
4664 'ns3::Ptr< ns3::AttributeValue >',
4665 [],
4666 is_const=True, is_virtual=True)
4667 ## address.h (module 'network'): bool ns3::AddressValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4668 cls.add_method('DeserializeFromString',
4669 'bool',
4670 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4671 is_virtual=True)
4672 ## address.h (module 'network'): ns3::Address ns3::AddressValue::Get() const [member function]
4673 cls.add_method('Get',
4674 'ns3::Address',
4675 [],
4676 is_const=True)
4677 ## address.h (module 'network'): std::string ns3::AddressValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4678 cls.add_method('SerializeToString',
4679 'std::string',
4680 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4681 is_const=True, is_virtual=True)
4682 ## address.h (module 'network'): void ns3::AddressValue::Set(ns3::Address const & value) [member function]
4683 cls.add_method('Set',
4684 'void',
4685 [param('ns3::Address const &', 'value')])
4686 return
4687
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004688def register_Ns3NdnApp_methods(root_module, cls):
4689 ## ndn-app.h (module 'ndnSIM'): ns3::ndn::App::App(ns3::ndn::App const & arg0) [copy constructor]
4690 cls.add_constructor([param('ns3::ndn::App const &', 'arg0')])
4691 ## ndn-app.h (module 'ndnSIM'): ns3::ndn::App::App() [constructor]
4692 cls.add_constructor([])
Alexander Afanasyev32c07562013-02-01 12:58:43 -08004693 ## ndn-app.h (module 'ndnSIM'): uint32_t ns3::ndn::App::GetId() const [member function]
4694 cls.add_method('GetId',
4695 'uint32_t',
4696 [],
4697 is_const=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004698 ## ndn-app.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::App::GetTypeId() [member function]
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07004699 cls.add_method('GetTypeId',
4700 'ns3::TypeId',
4701 [],
4702 is_static=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004703 ## 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]
4704 cls.add_method('OnContentObject',
4705 'void',
4706 [param('ns3::Ptr< ns3::ndn::ContentObjectHeader const > const &', 'contentObject'), param('ns3::Ptr< ns3::Packet >', 'payload')],
4707 is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07004708 ## 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 -07004709 cls.add_method('OnInterest',
4710 'void',
4711 [param('ns3::Ptr< ns3::ndn::InterestHeader const > const &', 'interest'), param('ns3::Ptr< ns3::Packet >', 'packet')],
4712 is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07004713 ## 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 -07004714 cls.add_method('OnNack',
4715 'void',
4716 [param('ns3::Ptr< ns3::ndn::InterestHeader const > const &', 'interest'), param('ns3::Ptr< ns3::Packet >', 'packet')],
4717 is_virtual=True)
4718 ## 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 -07004719 cls.add_method('RegisterProtocolHandler',
4720 'void',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004721 [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')])
4722 ## ndn-app.h (module 'ndnSIM'): void ns3::ndn::App::DoDispose() [member function]
4723 cls.add_method('DoDispose',
4724 'void',
4725 [],
4726 visibility='protected', is_virtual=True)
4727 ## ndn-app.h (module 'ndnSIM'): void ns3::ndn::App::StartApplication() [member function]
4728 cls.add_method('StartApplication',
4729 'void',
4730 [],
4731 visibility='protected', is_virtual=True)
4732 ## ndn-app.h (module 'ndnSIM'): void ns3::ndn::App::StopApplication() [member function]
4733 cls.add_method('StopApplication',
4734 'void',
4735 [],
4736 visibility='protected', is_virtual=True)
4737 return
4738
4739def register_Ns3NdnAppHelper_methods(root_module, cls):
4740 ## ndn-app-helper.h (module 'ndnSIM'): ns3::ndn::AppHelper::AppHelper(ns3::ndn::AppHelper const & arg0) [copy constructor]
4741 cls.add_constructor([param('ns3::ndn::AppHelper const &', 'arg0')])
4742 ## ndn-app-helper.h (module 'ndnSIM'): ns3::ndn::AppHelper::AppHelper(std::string const & prefix) [constructor]
4743 cls.add_constructor([param('std::string const &', 'prefix')])
4744 ## ndn-app-helper.h (module 'ndnSIM'): ns3::ApplicationContainer ns3::ndn::AppHelper::Install(ns3::NodeContainer c) [member function]
4745 cls.add_method('Install',
4746 'ns3::ApplicationContainer',
4747 [param('ns3::NodeContainer', 'c')])
4748 ## ndn-app-helper.h (module 'ndnSIM'): ns3::ApplicationContainer ns3::ndn::AppHelper::Install(ns3::Ptr<ns3::Node> node) [member function]
4749 cls.add_method('Install',
4750 'ns3::ApplicationContainer',
4751 [param('ns3::Ptr< ns3::Node >', 'node')])
4752 ## ndn-app-helper.h (module 'ndnSIM'): ns3::ApplicationContainer ns3::ndn::AppHelper::Install(std::string nodeName) [member function]
4753 cls.add_method('Install',
4754 'ns3::ApplicationContainer',
4755 [param('std::string', 'nodeName')])
4756 ## ndn-app-helper.h (module 'ndnSIM'): void ns3::ndn::AppHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function]
4757 cls.add_method('SetAttribute',
4758 'void',
4759 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
4760 ## ndn-app-helper.h (module 'ndnSIM'): void ns3::ndn::AppHelper::SetPrefix(std::string const & prefix) [member function]
4761 cls.add_method('SetPrefix',
4762 'void',
4763 [param('std::string const &', 'prefix')])
4764 return
4765
4766def register_Ns3NdnContentObjectHeader_methods(root_module, cls):
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08004767 ## ndn-content-object.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeader::ContentObjectHeader(ns3::ndn::ContentObjectHeader const & arg0) [copy constructor]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004768 cls.add_constructor([param('ns3::ndn::ContentObjectHeader const &', 'arg0')])
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08004769 ## ndn-content-object.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeader::ContentObjectHeader() [constructor]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004770 cls.add_constructor([])
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08004771 ## 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 -07004772 cls.add_method('Deserialize',
4773 'uint32_t',
4774 [param('ns3::Buffer::Iterator', 'start')],
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07004775 is_virtual=True)
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08004776 ## ndn-content-object.h (module 'ndnSIM'): ns3::Time ns3::ndn::ContentObjectHeader::GetFreshness() const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004777 cls.add_method('GetFreshness',
4778 'ns3::Time',
4779 [],
4780 is_const=True)
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08004781 ## ndn-content-object.h (module 'ndnSIM'): ns3::TypeId ns3::ndn::ContentObjectHeader::GetInstanceTypeId() const [member function]
4782 cls.add_method('GetInstanceTypeId',
4783 'ns3::TypeId',
4784 [],
4785 is_const=True, is_virtual=True)
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07004786 ## ndn-content-object.h (module 'ndnSIM'): ns3::ndn::Name const & ns3::ndn::ContentObjectHeader::GetName() const [member function]
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08004787 cls.add_method('GetName',
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07004788 'ns3::ndn::Name const &',
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08004789 [],
4790 is_const=True)
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07004791 ## ndn-content-object.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::Name const> ns3::ndn::ContentObjectHeader::GetNamePtr() const [member function]
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08004792 cls.add_method('GetNamePtr',
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07004793 'ns3::Ptr< ns3::ndn::Name const >',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004794 [],
4795 is_const=True)
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08004796 ## ndn-content-object.h (module 'ndnSIM'): uint32_t ns3::ndn::ContentObjectHeader::GetSerializedSize() const [member function]
4797 cls.add_method('GetSerializedSize',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004798 'uint32_t',
4799 [],
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08004800 is_const=True, is_virtual=True)
4801 ## ndn-content-object.h (module 'ndnSIM'): ns3::Time ns3::ndn::ContentObjectHeader::GetTimestamp() const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004802 cls.add_method('GetTimestamp',
4803 'ns3::Time',
4804 [],
4805 is_const=True)
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08004806 ## ndn-content-object.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::ContentObjectHeader::GetTypeId() [member function]
4807 cls.add_method('GetTypeId',
4808 'ns3::TypeId',
4809 [],
4810 is_static=True)
4811 ## ndn-content-object.h (module 'ndnSIM'): void ns3::ndn::ContentObjectHeader::Print(std::ostream & os) const [member function]
4812 cls.add_method('Print',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004813 'void',
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08004814 [param('std::ostream &', 'os')],
4815 is_const=True, is_virtual=True)
4816 ## ndn-content-object.h (module 'ndnSIM'): void ns3::ndn::ContentObjectHeader::Serialize(ns3::Buffer::Iterator start) const [member function]
4817 cls.add_method('Serialize',
4818 'void',
4819 [param('ns3::Buffer::Iterator', 'start')],
4820 is_const=True, is_virtual=True)
4821 ## ndn-content-object.h (module 'ndnSIM'): void ns3::ndn::ContentObjectHeader::SetFreshness(ns3::Time const & freshness) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004822 cls.add_method('SetFreshness',
4823 'void',
4824 [param('ns3::Time const &', 'freshness')])
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07004825 ## ndn-content-object.h (module 'ndnSIM'): void ns3::ndn::ContentObjectHeader::SetName(ns3::Ptr<ns3::ndn::Name> const & name) [member function]
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08004826 cls.add_method('SetName',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004827 'void',
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07004828 [param('ns3::Ptr< ns3::ndn::Name > const &', 'name')])
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08004829 ## ndn-content-object.h (module 'ndnSIM'): void ns3::ndn::ContentObjectHeader::SetTimestamp(ns3::Time const & timestamp) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004830 cls.add_method('SetTimestamp',
4831 'void',
4832 [param('ns3::Time const &', 'timestamp')])
4833 return
4834
4835def register_Ns3NdnContentObjectHeaderException_methods(root_module, cls):
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08004836 ## ndn-content-object.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeaderException::ContentObjectHeaderException() [constructor]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004837 cls.add_constructor([])
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08004838 ## ndn-content-object.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeaderException::ContentObjectHeaderException(ns3::ndn::ContentObjectHeaderException const & arg0) [copy constructor]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004839 cls.add_constructor([param('ns3::ndn::ContentObjectHeaderException const &', 'arg0')])
4840 return
4841
4842def register_Ns3NdnContentObjectTail_methods(root_module, cls):
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08004843 ## ndn-content-object.h (module 'ndnSIM'): ns3::ndn::ContentObjectTail::ContentObjectTail(ns3::ndn::ContentObjectTail const & arg0) [copy constructor]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004844 cls.add_constructor([param('ns3::ndn::ContentObjectTail const &', 'arg0')])
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08004845 ## ndn-content-object.h (module 'ndnSIM'): ns3::ndn::ContentObjectTail::ContentObjectTail() [constructor]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004846 cls.add_constructor([])
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08004847 ## 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 -07004848 cls.add_method('Deserialize',
4849 'uint32_t',
4850 [param('ns3::Buffer::Iterator', 'start')],
4851 is_virtual=True)
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08004852 ## ndn-content-object.h (module 'ndnSIM'): ns3::TypeId ns3::ndn::ContentObjectTail::GetInstanceTypeId() const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004853 cls.add_method('GetInstanceTypeId',
4854 'ns3::TypeId',
4855 [],
4856 is_const=True, is_virtual=True)
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08004857 ## ndn-content-object.h (module 'ndnSIM'): uint32_t ns3::ndn::ContentObjectTail::GetSerializedSize() const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004858 cls.add_method('GetSerializedSize',
4859 'uint32_t',
4860 [],
4861 is_const=True, is_virtual=True)
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08004862 ## ndn-content-object.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::ContentObjectTail::GetTypeId() [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004863 cls.add_method('GetTypeId',
4864 'ns3::TypeId',
4865 [],
4866 is_static=True)
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08004867 ## ndn-content-object.h (module 'ndnSIM'): void ns3::ndn::ContentObjectTail::Print(std::ostream & os) const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004868 cls.add_method('Print',
4869 'void',
4870 [param('std::ostream &', 'os')],
4871 is_const=True, is_virtual=True)
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08004872 ## 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 -07004873 cls.add_method('Serialize',
4874 'void',
4875 [param('ns3::Buffer::Iterator', 'start')],
4876 is_const=True, is_virtual=True)
4877 return
4878
4879def register_Ns3NdnContentStore_methods(root_module, cls):
4880 cls.add_output_stream_operator()
4881 ## ndn-content-store.h (module 'ndnSIM'): ns3::ndn::ContentStore::ContentStore() [constructor]
4882 cls.add_constructor([])
4883 ## ndn-content-store.h (module 'ndnSIM'): ns3::ndn::ContentStore::ContentStore(ns3::ndn::ContentStore const & arg0) [copy constructor]
4884 cls.add_constructor([param('ns3::ndn::ContentStore const &', 'arg0')])
4885 ## 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]
4886 cls.add_method('Add',
4887 'bool',
4888 [param('ns3::Ptr< ns3::ndn::ContentObjectHeader const >', 'header'), param('ns3::Ptr< ns3::Packet const >', 'packet')],
4889 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07004890 ## ndn-content-store.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::cs::Entry> ns3::ndn::ContentStore::Begin() [member function]
4891 cls.add_method('Begin',
4892 'ns3::Ptr< ns3::ndn::cs::Entry >',
4893 [],
4894 is_pure_virtual=True, is_virtual=True)
4895 ## ndn-content-store.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::cs::Entry> ns3::ndn::ContentStore::End() [member function]
4896 cls.add_method('End',
4897 'ns3::Ptr< ns3::ndn::cs::Entry >',
4898 [],
4899 is_pure_virtual=True, is_virtual=True)
4900 ## ndn-content-store.h (module 'ndnSIM'): static ns3::Ptr<ns3::ndn::ContentStore> ns3::ndn::ContentStore::GetContentStore(ns3::Ptr<ns3::Object> node) [member function]
4901 cls.add_method('GetContentStore',
4902 'ns3::Ptr< ns3::ndn::ContentStore >',
4903 [param('ns3::Ptr< ns3::Object >', 'node')],
4904 is_static=True)
4905 ## ndn-content-store.h (module 'ndnSIM'): uint32_t ns3::ndn::ContentStore::GetSize() const [member function]
4906 cls.add_method('GetSize',
4907 'uint32_t',
4908 [],
4909 is_pure_virtual=True, is_const=True, is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004910 ## ndn-content-store.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::ContentStore::GetTypeId() [member function]
4911 cls.add_method('GetTypeId',
4912 'ns3::TypeId',
4913 [],
4914 is_static=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07004915 ## 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 -07004916 cls.add_method('Lookup',
4917 '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 >',
4918 [param('ns3::Ptr< ns3::ndn::InterestHeader const >', 'interest')],
4919 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07004920 ## 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]
4921 cls.add_method('Next',
4922 'ns3::Ptr< ns3::ndn::cs::Entry >',
4923 [param('ns3::Ptr< ns3::ndn::cs::Entry >', 'arg0')],
4924 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004925 ## ndn-content-store.h (module 'ndnSIM'): void ns3::ndn::ContentStore::Print(std::ostream & os) const [member function]
4926 cls.add_method('Print',
4927 'void',
4928 [param('std::ostream &', 'os')],
4929 is_pure_virtual=True, is_const=True, is_virtual=True)
4930 return
4931
4932def register_Ns3NdnFace_methods(root_module, cls):
4933 cls.add_output_stream_operator()
4934 cls.add_binary_comparison_operator('!=')
4935 cls.add_binary_comparison_operator('<')
4936 cls.add_binary_comparison_operator('==')
4937 ## ndn-face.h (module 'ndnSIM'): ns3::ndn::Face::Face(ns3::Ptr<ns3::Node> node) [constructor]
4938 cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node')])
4939 ## ndn-face.h (module 'ndnSIM'): uint32_t ns3::ndn::Face::GetId() const [member function]
4940 cls.add_method('GetId',
4941 'uint32_t',
4942 [],
4943 is_const=True)
4944 ## ndn-face.h (module 'ndnSIM'): uint16_t ns3::ndn::Face::GetMetric() const [member function]
4945 cls.add_method('GetMetric',
4946 'uint16_t',
4947 [],
4948 is_const=True, is_virtual=True)
4949 ## ndn-face.h (module 'ndnSIM'): ns3::Ptr<ns3::Node> ns3::ndn::Face::GetNode() const [member function]
4950 cls.add_method('GetNode',
4951 'ns3::Ptr< ns3::Node >',
4952 [],
4953 is_const=True)
4954 ## ndn-face.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::Face::GetTypeId() [member function]
4955 cls.add_method('GetTypeId',
4956 'ns3::TypeId',
4957 [],
4958 is_static=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004959 ## ndn-face.h (module 'ndnSIM'): bool ns3::ndn::Face::IsUp() const [member function]
4960 cls.add_method('IsUp',
4961 'bool',
4962 [],
4963 is_const=True, is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004964 ## ndn-face.h (module 'ndnSIM'): std::ostream & ns3::ndn::Face::Print(std::ostream & os) const [member function]
Alexander Afanasyev3073da82012-06-19 14:57:43 -07004965 cls.add_method('Print',
4966 'std::ostream &',
4967 [param('std::ostream &', 'os')],
4968 is_const=True, is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004969 ## ndn-face.h (module 'ndnSIM'): bool ns3::ndn::Face::Receive(ns3::Ptr<const ns3::Packet> const & p) [member function]
4970 cls.add_method('Receive',
4971 'bool',
4972 [param('ns3::Ptr< ns3::Packet const > const &', 'p')])
4973 ## 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]
4974 cls.add_method('RegisterProtocolHandler',
4975 'void',
4976 [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')],
4977 is_virtual=True)
4978 ## ndn-face.h (module 'ndnSIM'): bool ns3::ndn::Face::Send(ns3::Ptr<ns3::Packet> p) [member function]
4979 cls.add_method('Send',
4980 'bool',
4981 [param('ns3::Ptr< ns3::Packet >', 'p')])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004982 ## ndn-face.h (module 'ndnSIM'): void ns3::ndn::Face::SetId(uint32_t id) [member function]
4983 cls.add_method('SetId',
4984 'void',
4985 [param('uint32_t', 'id')])
4986 ## ndn-face.h (module 'ndnSIM'): void ns3::ndn::Face::SetMetric(uint16_t metric) [member function]
4987 cls.add_method('SetMetric',
4988 'void',
4989 [param('uint16_t', 'metric')],
4990 is_virtual=True)
4991 ## ndn-face.h (module 'ndnSIM'): void ns3::ndn::Face::SetUp(bool up=true) [member function]
4992 cls.add_method('SetUp',
4993 'void',
4994 [param('bool', 'up', default_value='true')],
4995 is_virtual=True)
4996 ## ndn-face.h (module 'ndnSIM'): bool ns3::ndn::Face::SendImpl(ns3::Ptr<ns3::Packet> p) [member function]
4997 cls.add_method('SendImpl',
4998 'bool',
4999 [param('ns3::Ptr< ns3::Packet >', 'p')],
5000 is_pure_virtual=True, visibility='protected', is_virtual=True)
5001 return
5002
5003def register_Ns3NdnFaceContainer_methods(root_module, cls):
5004 ## ndn-face-container.h (module 'ndnSIM'): ns3::ndn::FaceContainer::FaceContainer() [constructor]
5005 cls.add_constructor([])
5006 ## ndn-face-container.h (module 'ndnSIM'): ns3::ndn::FaceContainer::FaceContainer(ns3::ndn::FaceContainer const & other) [copy constructor]
5007 cls.add_constructor([param('ns3::ndn::FaceContainer const &', 'other')])
5008 ## ndn-face-container.h (module 'ndnSIM'): void ns3::ndn::FaceContainer::Add(ns3::Ptr<ns3::ndn::Face> const & face) [member function]
5009 cls.add_method('Add',
5010 'void',
5011 [param('ns3::Ptr< ns3::ndn::Face > const &', 'face')])
5012 ## ndn-face-container.h (module 'ndnSIM'): void ns3::ndn::FaceContainer::AddAll(ns3::Ptr<ns3::ndn::FaceContainer> other) [member function]
5013 cls.add_method('AddAll',
5014 'void',
5015 [param('ns3::Ptr< ns3::ndn::FaceContainer >', 'other')])
5016 ## ndn-face-container.h (module 'ndnSIM'): void ns3::ndn::FaceContainer::AddAll(ns3::ndn::FaceContainer const & other) [member function]
5017 cls.add_method('AddAll',
5018 'void',
5019 [param('ns3::ndn::FaceContainer const &', 'other')])
5020 ## 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]
5021 cls.add_method('Begin',
5022 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::ndn::Face > const, std::vector< ns3::Ptr< ns3::ndn::Face > > >',
5023 [],
5024 is_const=True)
5025 ## 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]
5026 cls.add_method('End',
5027 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::ndn::Face > const, std::vector< ns3::Ptr< ns3::ndn::Face > > >',
5028 [],
5029 is_const=True)
5030 ## 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]
5031 cls.add_method('Get',
5032 'ns3::Ptr< ns3::ndn::Face >',
5033 [param('__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::ndn::Face > const, std::vector< ns3::Ptr< ns3::ndn::Face > > >', 'i')],
5034 is_const=True)
5035 ## ndn-face-container.h (module 'ndnSIM'): uint32_t ns3::ndn::FaceContainer::GetN() const [member function]
5036 cls.add_method('GetN',
5037 'uint32_t',
5038 [],
5039 is_const=True)
5040 return
5041
5042def register_Ns3NdnFib_methods(root_module, cls):
5043 cls.add_output_stream_operator()
5044 ## ndn-fib.h (module 'ndnSIM'): ns3::ndn::Fib::Fib() [constructor]
5045 cls.add_constructor([])
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005046 ## ndn-fib.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::fib::Entry> ns3::ndn::Fib::Add(ns3::ndn::Name const & prefix, ns3::Ptr<ns3::ndn::Face> face, int32_t metric) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005047 cls.add_method('Add',
5048 'ns3::Ptr< ns3::ndn::fib::Entry >',
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005049 [param('ns3::ndn::Name const &', 'prefix'), param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('int32_t', 'metric')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005050 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005051 ## ndn-fib.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::fib::Entry> ns3::ndn::Fib::Add(ns3::Ptr<ns3::ndn::Name const> const & prefix, ns3::Ptr<ns3::ndn::Face> face, int32_t metric) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005052 cls.add_method('Add',
5053 'ns3::Ptr< ns3::ndn::fib::Entry >',
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005054 [param('ns3::Ptr< ns3::ndn::Name const > const &', 'prefix'), param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('int32_t', 'metric')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005055 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005056 ## 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 -07005057 cls.add_method('Begin',
5058 'ns3::Ptr< ns3::ndn::fib::Entry const >',
5059 [],
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005060 is_pure_virtual=True, is_const=True, is_virtual=True)
5061 ## ndn-fib.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::fib::Entry> ns3::ndn::Fib::Begin() [member function]
5062 cls.add_method('Begin',
5063 'ns3::Ptr< ns3::ndn::fib::Entry >',
5064 [],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005065 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005066 ## 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 -07005067 cls.add_method('End',
5068 'ns3::Ptr< ns3::ndn::fib::Entry const >',
5069 [],
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005070 is_pure_virtual=True, is_const=True, is_virtual=True)
5071 ## ndn-fib.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::fib::Entry> ns3::ndn::Fib::End() [member function]
5072 cls.add_method('End',
5073 'ns3::Ptr< ns3::ndn::fib::Entry >',
5074 [],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005075 is_pure_virtual=True, is_virtual=True)
5076 ## ndn-fib.h (module 'ndnSIM'): static ns3::Ptr<ns3::ndn::Fib> ns3::ndn::Fib::GetFib(ns3::Ptr<ns3::Object> node) [member function]
5077 cls.add_method('GetFib',
5078 'ns3::Ptr< ns3::ndn::Fib >',
5079 [param('ns3::Ptr< ns3::Object >', 'node')],
5080 is_static=True)
5081 ## ndn-fib.h (module 'ndnSIM'): uint32_t ns3::ndn::Fib::GetSize() const [member function]
5082 cls.add_method('GetSize',
5083 'uint32_t',
5084 [],
5085 is_pure_virtual=True, is_const=True, is_virtual=True)
5086 ## ndn-fib.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::Fib::GetTypeId() [member function]
5087 cls.add_method('GetTypeId',
5088 'ns3::TypeId',
5089 [],
5090 is_static=True)
5091 ## ndn-fib.h (module 'ndnSIM'): void ns3::ndn::Fib::InvalidateAll() [member function]
5092 cls.add_method('InvalidateAll',
5093 'void',
5094 [],
5095 is_pure_virtual=True, is_virtual=True)
5096 ## ndn-fib.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::fib::Entry> ns3::ndn::Fib::LongestPrefixMatch(ns3::ndn::InterestHeader const & interest) [member function]
5097 cls.add_method('LongestPrefixMatch',
5098 'ns3::Ptr< ns3::ndn::fib::Entry >',
5099 [param('ns3::ndn::InterestHeader const &', 'interest')],
5100 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005101 ## 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 -07005102 cls.add_method('Next',
5103 'ns3::Ptr< ns3::ndn::fib::Entry const >',
5104 [param('ns3::Ptr< ns3::ndn::fib::Entry const >', 'arg0')],
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005105 is_pure_virtual=True, is_const=True, is_virtual=True)
5106 ## ndn-fib.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::fib::Entry> ns3::ndn::Fib::Next(ns3::Ptr<ns3::ndn::fib::Entry> arg0) [member function]
5107 cls.add_method('Next',
5108 'ns3::Ptr< ns3::ndn::fib::Entry >',
5109 [param('ns3::Ptr< ns3::ndn::fib::Entry >', 'arg0')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005110 is_pure_virtual=True, is_virtual=True)
5111 ## ndn-fib.h (module 'ndnSIM'): void ns3::ndn::Fib::Print(std::ostream & os) const [member function]
5112 cls.add_method('Print',
5113 'void',
5114 [param('std::ostream &', 'os')],
5115 is_pure_virtual=True, is_const=True, is_virtual=True)
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005116 ## ndn-fib.h (module 'ndnSIM'): void ns3::ndn::Fib::Remove(ns3::Ptr<ns3::ndn::Name const> const & prefix) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005117 cls.add_method('Remove',
5118 'void',
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005119 [param('ns3::Ptr< ns3::ndn::Name const > const &', 'prefix')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005120 is_pure_virtual=True, is_virtual=True)
5121 ## ndn-fib.h (module 'ndnSIM'): void ns3::ndn::Fib::RemoveFromAll(ns3::Ptr<ns3::ndn::Face> face) [member function]
5122 cls.add_method('RemoveFromAll',
5123 'void',
5124 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
5125 is_pure_virtual=True, is_virtual=True)
5126 return
5127
5128def register_Ns3NdnForwardingStrategy_methods(root_module, cls):
5129 ## ndn-forwarding-strategy.h (module 'ndnSIM'): ns3::ndn::ForwardingStrategy::ForwardingStrategy(ns3::ndn::ForwardingStrategy const & arg0) [copy constructor]
5130 cls.add_constructor([param('ns3::ndn::ForwardingStrategy const &', 'arg0')])
5131 ## ndn-forwarding-strategy.h (module 'ndnSIM'): ns3::ndn::ForwardingStrategy::ForwardingStrategy() [constructor]
5132 cls.add_constructor([])
Alexander Afanasyevf5c07742012-10-31 13:13:05 -07005133 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::AddFace(ns3::Ptr<ns3::ndn::Face> face) [member function]
5134 cls.add_method('AddFace',
5135 'void',
5136 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
5137 is_virtual=True)
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005138 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::DidAddFibEntry(ns3::Ptr<ns3::ndn::fib::Entry> fibEntry) [member function]
5139 cls.add_method('DidAddFibEntry',
5140 'void',
5141 [param('ns3::Ptr< ns3::ndn::fib::Entry >', 'fibEntry')],
5142 is_virtual=True)
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005143 ## ndn-forwarding-strategy.h (module 'ndnSIM'): static std::string ns3::ndn::ForwardingStrategy::GetLogName() [member function]
5144 cls.add_method('GetLogName',
5145 'std::string',
5146 [],
5147 is_static=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005148 ## ndn-forwarding-strategy.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::ForwardingStrategy::GetTypeId() [member function]
5149 cls.add_method('GetTypeId',
5150 'ns3::TypeId',
5151 [],
5152 is_static=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005153 ## 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 -07005154 cls.add_method('OnData',
5155 'void',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005156 [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 -07005157 is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005158 ## 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 -07005159 cls.add_method('OnInterest',
5160 'void',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005161 [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 -07005162 is_virtual=True)
5163 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::RemoveFace(ns3::Ptr<ns3::ndn::Face> face) [member function]
5164 cls.add_method('RemoveFace',
5165 'void',
5166 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
5167 is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005168 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::WillEraseTimedOutPendingInterest(ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
5169 cls.add_method('WillEraseTimedOutPendingInterest',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005170 'void',
5171 [param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
5172 is_virtual=True)
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005173 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::WillRemoveFibEntry(ns3::Ptr<ns3::ndn::fib::Entry> fibEntry) [member function]
5174 cls.add_method('WillRemoveFibEntry',
5175 'void',
5176 [param('ns3::Ptr< ns3::ndn::fib::Entry >', 'fibEntry')],
5177 is_virtual=True)
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08005178 ## 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]
5179 cls.add_method('CanSendOutInterest',
5180 'bool',
5181 [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')],
5182 visibility='protected', is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005183 ## 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 -07005184 cls.add_method('DetectRetransmittedInterest',
5185 'bool',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005186 [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 -07005187 visibility='protected', is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005188 ## 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 -07005189 cls.add_method('DidCreatePitEntry',
5190 'void',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005191 [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 -07005192 visibility='protected', is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005193 ## 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 -07005194 cls.add_method('DidExhaustForwardingOptions',
5195 'void',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005196 [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 -07005197 visibility='protected', is_virtual=True)
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07005198 ## 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]
5199 cls.add_method('DidForwardSimilarInterest',
5200 'void',
5201 [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')],
5202 visibility='protected', is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005203 ## 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 -07005204 cls.add_method('DidReceiveDuplicateInterest',
5205 'void',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005206 [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 -07005207 visibility='protected', is_virtual=True)
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005208 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::DidReceiveSolicitedData(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, bool didCreateCacheEntry) [member function]
5209 cls.add_method('DidReceiveSolicitedData',
5210 'void',
5211 [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('bool', 'didCreateCacheEntry')],
5212 visibility='protected', is_virtual=True)
5213 ## 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, bool didCreateCacheEntry) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005214 cls.add_method('DidReceiveUnsolicitedData',
5215 'void',
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005216 [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('bool', 'didCreateCacheEntry')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005217 visibility='protected', is_virtual=True)
Alexander Afanasyev67f4a4a2012-11-24 17:18:17 -08005218 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::DidSendOutData(ns3::Ptr<ns3::ndn::Face> inFace, ns3::Ptr<ns3::ndn::Face> outFace, ns3::Ptr<ns3::ndn::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 -07005219 cls.add_method('DidSendOutData',
5220 'void',
Alexander Afanasyev67f4a4a2012-11-24 17:18:17 -08005221 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), 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 -07005222 visibility='protected', is_virtual=True)
Alexander Afanasyev67f4a4a2012-11-24 17:18:17 -08005223 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::DidSendOutInterest(ns3::Ptr<ns3::ndn::Face> inFace, ns3::Ptr<ns3::ndn::Face> outFace, ns3::Ptr<ns3::ndn::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 -07005224 cls.add_method('DidSendOutInterest',
5225 'void',
Alexander Afanasyev67f4a4a2012-11-24 17:18:17 -08005226 [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')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005227 visibility='protected', is_virtual=True)
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07005228 ## 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]
5229 cls.add_method('DidSuppressSimilarInterest',
5230 'void',
5231 [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')],
5232 visibility='protected', is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005233 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::DoDispose() [member function]
5234 cls.add_method('DoDispose',
5235 'void',
5236 [],
5237 visibility='protected', is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005238 ## 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 -07005239 cls.add_method('DoPropagateInterest',
5240 'bool',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005241 [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 -07005242 is_pure_virtual=True, visibility='protected', is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005243 ## 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 -07005244 cls.add_method('FailedToCreatePitEntry',
5245 'void',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005246 [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 -07005247 visibility='protected', is_virtual=True)
5248 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::NotifyNewAggregate() [member function]
5249 cls.add_method('NotifyNewAggregate',
5250 'void',
5251 [],
5252 visibility='protected', is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005253 ## 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 -07005254 cls.add_method('PropagateInterest',
5255 'void',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005256 [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 -07005257 visibility='protected', is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005258 ## 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 -07005259 cls.add_method('SatisfyPendingInterest',
5260 'void',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005261 [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 -07005262 visibility='protected', is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005263 ## 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 -07005264 cls.add_method('ShouldSuppressIncomingInterest',
5265 'bool',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005266 [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 -07005267 visibility='protected', is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005268 ## 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]
5269 cls.add_method('TrySendOutInterest',
5270 'bool',
5271 [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')],
5272 visibility='protected', is_virtual=True)
5273 ## 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 -07005274 cls.add_method('WillSatisfyPendingInterest',
5275 'void',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005276 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005277 visibility='protected', is_virtual=True)
5278 return
5279
5280def register_Ns3NdnGlobalRoutingHelper_methods(root_module, cls):
5281 ## ndn-global-routing-helper.h (module 'ndnSIM'): ns3::ndn::GlobalRoutingHelper::GlobalRoutingHelper() [constructor]
5282 cls.add_constructor([])
5283 ## ndn-global-routing-helper.h (module 'ndnSIM'): ns3::ndn::GlobalRoutingHelper::GlobalRoutingHelper(ns3::ndn::GlobalRoutingHelper const & arg0) [copy constructor]
5284 cls.add_constructor([param('ns3::ndn::GlobalRoutingHelper const &', 'arg0')])
5285 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::AddOrigin(std::string const & prefix, ns3::Ptr<ns3::Node> node) [member function]
5286 cls.add_method('AddOrigin',
5287 'void',
5288 [param('std::string const &', 'prefix'), param('ns3::Ptr< ns3::Node >', 'node')])
5289 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::AddOrigin(std::string const & prefix, std::string const & nodeName) [member function]
5290 cls.add_method('AddOrigin',
5291 'void',
5292 [param('std::string const &', 'prefix'), param('std::string const &', 'nodeName')])
5293 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::AddOrigins(std::string const & prefix, ns3::NodeContainer const & nodes) [member function]
5294 cls.add_method('AddOrigins',
5295 'void',
5296 [param('std::string const &', 'prefix'), param('ns3::NodeContainer const &', 'nodes')])
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005297 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::AddOriginsForAll() [member function]
5298 cls.add_method('AddOriginsForAll',
5299 'void',
5300 [])
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -07005301 ## ndn-global-routing-helper.h (module 'ndnSIM'): static void ns3::ndn::GlobalRoutingHelper::CalculateAllPossibleRoutes() [member function]
5302 cls.add_method('CalculateAllPossibleRoutes',
5303 'void',
5304 [],
5305 is_static=True)
5306 ## ndn-global-routing-helper.h (module 'ndnSIM'): static void ns3::ndn::GlobalRoutingHelper::CalculateRoutes() [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005307 cls.add_method('CalculateRoutes',
5308 'void',
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -07005309 [],
5310 is_static=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005311 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::Install(ns3::Ptr<ns3::Node> node) [member function]
5312 cls.add_method('Install',
5313 'void',
5314 [param('ns3::Ptr< ns3::Node >', 'node')])
5315 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::Install(ns3::NodeContainer const & nodes) [member function]
5316 cls.add_method('Install',
5317 'void',
5318 [param('ns3::NodeContainer const &', 'nodes')])
5319 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::InstallAll() [member function]
5320 cls.add_method('InstallAll',
5321 'void',
5322 [])
5323 return
5324
5325def register_Ns3NdnHeaderHelper_methods(root_module, cls):
5326 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::HeaderHelper::HeaderHelper() [constructor]
5327 cls.add_constructor([])
5328 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::HeaderHelper::HeaderHelper(ns3::ndn::HeaderHelper const & arg0) [copy constructor]
5329 cls.add_constructor([param('ns3::ndn::HeaderHelper const &', 'arg0')])
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005330 ## ndn-header-helper.h (module 'ndnSIM'): static ns3::Ptr<const ns3::ndn::Name> ns3::ndn::HeaderHelper::GetName(ns3::Ptr<const ns3::Packet> packet) [member function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005331 cls.add_method('GetName',
5332 'ns3::Ptr< ns3::ndn::Name const >',
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005333 [param('ns3::Ptr< ns3::Packet const >', 'packet')],
5334 is_static=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005335 ## ndn-header-helper.h (module 'ndnSIM'): static ns3::ndn::HeaderHelper::Type ns3::ndn::HeaderHelper::GetNdnHeaderType(ns3::Ptr<const ns3::Packet> packet) [member function]
5336 cls.add_method('GetNdnHeaderType',
5337 'ns3::ndn::HeaderHelper::Type',
5338 [param('ns3::Ptr< ns3::Packet const >', 'packet')],
5339 is_static=True)
5340 return
5341
5342def register_Ns3NdnInterestHeader_methods(root_module, cls):
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005343 ## ndn-interest.h (module 'ndnSIM'): ns3::ndn::InterestHeader::InterestHeader() [constructor]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005344 cls.add_constructor([])
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005345 ## ndn-interest.h (module 'ndnSIM'): ns3::ndn::InterestHeader::InterestHeader(ns3::ndn::InterestHeader const & interest) [copy constructor]
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005346 cls.add_constructor([param('ns3::ndn::InterestHeader const &', 'interest')])
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005347 ## ndn-interest.h (module 'ndnSIM'): uint32_t ns3::ndn::InterestHeader::Deserialize(ns3::Buffer::Iterator start) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005348 cls.add_method('Deserialize',
5349 'uint32_t',
5350 [param('ns3::Buffer::Iterator', 'start')],
5351 is_virtual=True)
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005352 ## ndn-interest.h (module 'ndnSIM'): ns3::TypeId ns3::ndn::InterestHeader::GetInstanceTypeId() const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005353 cls.add_method('GetInstanceTypeId',
5354 'ns3::TypeId',
5355 [],
5356 is_const=True, is_virtual=True)
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005357 ## 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 -07005358 cls.add_method('GetInterest',
5359 'ns3::Ptr< ns3::ndn::InterestHeader >',
5360 [param('ns3::Ptr< ns3::Packet >', 'packet')],
5361 is_static=True)
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005362 ## ndn-interest.h (module 'ndnSIM'): ns3::Time ns3::ndn::InterestHeader::GetInterestLifetime() const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005363 cls.add_method('GetInterestLifetime',
5364 'ns3::Time',
5365 [],
5366 is_const=True)
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005367 ## ndn-interest.h (module 'ndnSIM'): uint8_t ns3::ndn::InterestHeader::GetNack() const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005368 cls.add_method('GetNack',
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005369 'uint8_t',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005370 [],
5371 is_const=True)
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005372 ## ndn-interest.h (module 'ndnSIM'): ns3::ndn::Name const & ns3::ndn::InterestHeader::GetName() const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005373 cls.add_method('GetName',
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005374 'ns3::ndn::Name const &',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005375 [],
5376 is_const=True)
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005377 ## ndn-interest.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::Name const> ns3::ndn::InterestHeader::GetNamePtr() const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005378 cls.add_method('GetNamePtr',
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005379 'ns3::Ptr< ns3::ndn::Name const >',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005380 [],
5381 is_const=True)
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005382 ## ndn-interest.h (module 'ndnSIM'): uint32_t ns3::ndn::InterestHeader::GetNonce() const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005383 cls.add_method('GetNonce',
5384 'uint32_t',
5385 [],
5386 is_const=True)
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005387 ## ndn-interest.h (module 'ndnSIM'): int8_t ns3::ndn::InterestHeader::GetScope() const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005388 cls.add_method('GetScope',
5389 'int8_t',
5390 [],
5391 is_const=True)
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005392 ## ndn-interest.h (module 'ndnSIM'): uint32_t ns3::ndn::InterestHeader::GetSerializedSize() const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005393 cls.add_method('GetSerializedSize',
5394 'uint32_t',
5395 [],
5396 is_const=True, is_virtual=True)
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005397 ## ndn-interest.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::InterestHeader::GetTypeId() [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005398 cls.add_method('GetTypeId',
5399 'ns3::TypeId',
5400 [],
5401 is_static=True)
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005402 ## ndn-interest.h (module 'ndnSIM'): void ns3::ndn::InterestHeader::Print(std::ostream & os) const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005403 cls.add_method('Print',
5404 'void',
5405 [param('std::ostream &', 'os')],
5406 is_const=True, is_virtual=True)
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005407 ## ndn-interest.h (module 'ndnSIM'): void ns3::ndn::InterestHeader::Serialize(ns3::Buffer::Iterator start) const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005408 cls.add_method('Serialize',
5409 'void',
5410 [param('ns3::Buffer::Iterator', 'start')],
5411 is_const=True, is_virtual=True)
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005412 ## ndn-interest.h (module 'ndnSIM'): void ns3::ndn::InterestHeader::SetInterestLifetime(ns3::Time time) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005413 cls.add_method('SetInterestLifetime',
5414 'void',
5415 [param('ns3::Time', 'time')])
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005416 ## ndn-interest.h (module 'ndnSIM'): void ns3::ndn::InterestHeader::SetNack(uint8_t nackType) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005417 cls.add_method('SetNack',
5418 'void',
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005419 [param('uint8_t', 'nackType')])
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005420 ## ndn-interest.h (module 'ndnSIM'): void ns3::ndn::InterestHeader::SetName(ns3::Ptr<ns3::ndn::Name> name) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005421 cls.add_method('SetName',
5422 'void',
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005423 [param('ns3::Ptr< ns3::ndn::Name >', 'name')])
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005424 ## ndn-interest.h (module 'ndnSIM'): void ns3::ndn::InterestHeader::SetNonce(uint32_t nonce) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005425 cls.add_method('SetNonce',
5426 'void',
5427 [param('uint32_t', 'nonce')])
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005428 ## ndn-interest.h (module 'ndnSIM'): void ns3::ndn::InterestHeader::SetScope(int8_t scope) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005429 cls.add_method('SetScope',
5430 'void',
5431 [param('int8_t', 'scope')])
5432 return
5433
5434def register_Ns3NdnInterestHeaderException_methods(root_module, cls):
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005435 ## ndn-interest.h (module 'ndnSIM'): ns3::ndn::InterestHeaderException::InterestHeaderException() [constructor]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005436 cls.add_constructor([])
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005437 ## ndn-interest.h (module 'ndnSIM'): ns3::ndn::InterestHeaderException::InterestHeaderException(ns3::ndn::InterestHeaderException const & arg0) [copy constructor]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005438 cls.add_constructor([param('ns3::ndn::InterestHeaderException const &', 'arg0')])
5439 return
5440
5441def register_Ns3NdnL3Protocol_methods(root_module, cls):
5442 ## ndn-l3-protocol.h (module 'ndnSIM'): ns3::ndn::L3Protocol::ETHERNET_FRAME_TYPE [variable]
5443 cls.add_static_attribute('ETHERNET_FRAME_TYPE', 'uint16_t const', is_const=True)
5444 ## ndn-l3-protocol.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::L3Protocol::GetTypeId() [member function]
5445 cls.add_method('GetTypeId',
5446 'ns3::TypeId',
5447 [],
5448 is_static=True)
5449 ## ndn-l3-protocol.h (module 'ndnSIM'): ns3::ndn::L3Protocol::L3Protocol() [constructor]
5450 cls.add_constructor([])
5451 ## ndn-l3-protocol.h (module 'ndnSIM'): uint32_t ns3::ndn::L3Protocol::AddFace(ns3::Ptr<ns3::ndn::Face> const & face) [member function]
5452 cls.add_method('AddFace',
5453 'uint32_t',
5454 [param('ns3::Ptr< ns3::ndn::Face > const &', 'face')],
5455 is_virtual=True)
5456 ## ndn-l3-protocol.h (module 'ndnSIM'): uint32_t ns3::ndn::L3Protocol::GetNFaces() const [member function]
5457 cls.add_method('GetNFaces',
5458 'uint32_t',
5459 [],
5460 is_const=True, is_virtual=True)
5461 ## ndn-l3-protocol.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::Face> ns3::ndn::L3Protocol::GetFace(uint32_t face) const [member function]
5462 cls.add_method('GetFace',
5463 'ns3::Ptr< ns3::ndn::Face >',
5464 [param('uint32_t', 'face')],
5465 is_const=True, is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005466 ## ndn-l3-protocol.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::Face> ns3::ndn::L3Protocol::GetFaceById(uint32_t face) const [member function]
5467 cls.add_method('GetFaceById',
5468 'ns3::Ptr< ns3::ndn::Face >',
5469 [param('uint32_t', 'face')],
5470 is_const=True, is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005471 ## ndn-l3-protocol.h (module 'ndnSIM'): void ns3::ndn::L3Protocol::RemoveFace(ns3::Ptr<ns3::ndn::Face> face) [member function]
5472 cls.add_method('RemoveFace',
5473 'void',
5474 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
5475 is_virtual=True)
5476 ## ndn-l3-protocol.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::Face> ns3::ndn::L3Protocol::GetFaceByNetDevice(ns3::Ptr<ns3::NetDevice> netDevice) const [member function]
5477 cls.add_method('GetFaceByNetDevice',
5478 'ns3::Ptr< ns3::ndn::Face >',
5479 [param('ns3::Ptr< ns3::NetDevice >', 'netDevice')],
5480 is_const=True, is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005481 ## ndn-l3-protocol.h (module 'ndnSIM'): static uint64_t ns3::ndn::L3Protocol::GetInterestCounter() [member function]
5482 cls.add_method('GetInterestCounter',
5483 'uint64_t',
5484 [],
5485 is_static=True)
5486 ## ndn-l3-protocol.h (module 'ndnSIM'): static uint64_t ns3::ndn::L3Protocol::GetDataCounter() [member function]
5487 cls.add_method('GetDataCounter',
5488 'uint64_t',
5489 [],
5490 is_static=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005491 ## ndn-l3-protocol.h (module 'ndnSIM'): void ns3::ndn::L3Protocol::DoDispose() [member function]
5492 cls.add_method('DoDispose',
5493 'void',
5494 [],
5495 visibility='protected', is_virtual=True)
5496 ## ndn-l3-protocol.h (module 'ndnSIM'): void ns3::ndn::L3Protocol::NotifyNewAggregate() [member function]
5497 cls.add_method('NotifyNewAggregate',
5498 'void',
5499 [],
5500 visibility='protected', is_virtual=True)
5501 return
5502
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005503def register_Ns3NdnLimits_methods(root_module, cls):
5504 ## ndn-limits.h (module 'ndnSIM'): ns3::ndn::Limits::Limits(ns3::ndn::Limits const & arg0) [copy constructor]
5505 cls.add_constructor([param('ns3::ndn::Limits const &', 'arg0')])
5506 ## ndn-limits.h (module 'ndnSIM'): ns3::ndn::Limits::Limits() [constructor]
5507 cls.add_constructor([])
Alexander Afanasyev7e4235a2012-10-31 16:58:44 -07005508 ## ndn-limits.h (module 'ndnSIM'): void ns3::ndn::Limits::BorrowLimit() [member function]
5509 cls.add_method('BorrowLimit',
5510 'void',
5511 [],
5512 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevf5c07742012-10-31 13:13:05 -07005513 ## ndn-limits.h (module 'ndnSIM'): double ns3::ndn::Limits::GetCurrentLimit() const [member function]
5514 cls.add_method('GetCurrentLimit',
5515 'double',
5516 [],
Alexander Afanasyev7e4235a2012-10-31 16:58:44 -07005517 is_pure_virtual=True, is_const=True, is_virtual=True)
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08005518 ## ndn-limits.h (module 'ndnSIM'): double ns3::ndn::Limits::GetCurrentLimitRate() const [member function]
5519 cls.add_method('GetCurrentLimitRate',
5520 'double',
5521 [],
5522 is_pure_virtual=True, is_const=True, is_virtual=True)
5523 ## ndn-limits.h (module 'ndnSIM'): double ns3::ndn::Limits::GetLinkDelay() const [member function]
5524 cls.add_method('GetLinkDelay',
5525 'double',
5526 [],
5527 is_const=True, is_virtual=True)
Alexander Afanasyev7e4235a2012-10-31 16:58:44 -07005528 ## ndn-limits.h (module 'ndnSIM'): double ns3::ndn::Limits::GetMaxDelay() const [member function]
5529 cls.add_method('GetMaxDelay',
5530 'double',
5531 [],
5532 is_const=True, is_virtual=True)
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08005533 ## ndn-limits.h (module 'ndnSIM'): double ns3::ndn::Limits::GetMaxLimit() const [member function]
5534 cls.add_method('GetMaxLimit',
5535 'double',
5536 [],
5537 is_pure_virtual=True, is_const=True, is_virtual=True)
Alexander Afanasyev7e4235a2012-10-31 16:58:44 -07005538 ## ndn-limits.h (module 'ndnSIM'): double ns3::ndn::Limits::GetMaxRate() const [member function]
5539 cls.add_method('GetMaxRate',
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07005540 'double',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005541 [],
Alexander Afanasyevf5c07742012-10-31 13:13:05 -07005542 is_const=True, is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005543 ## ndn-limits.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::Limits::GetTypeId() [member function]
5544 cls.add_method('GetTypeId',
5545 'ns3::TypeId',
5546 [],
5547 is_static=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005548 ## ndn-limits.h (module 'ndnSIM'): bool ns3::ndn::Limits::IsBelowLimit() [member function]
5549 cls.add_method('IsBelowLimit',
5550 'bool',
Alexander Afanasyevf5c07742012-10-31 13:13:05 -07005551 [],
5552 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005553 ## ndn-limits.h (module 'ndnSIM'): bool ns3::ndn::Limits::IsEnabled() const [member function]
5554 cls.add_method('IsEnabled',
5555 'bool',
5556 [],
Alexander Afanasyevf5c07742012-10-31 13:13:05 -07005557 is_const=True, is_virtual=True)
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08005558 ## 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]
5559 cls.add_method('RegisterAvailableSlotCallback',
5560 'void',
5561 [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 -07005562 ## ndn-limits.h (module 'ndnSIM'): void ns3::ndn::Limits::ReturnLimit() [member function]
5563 cls.add_method('ReturnLimit',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005564 'void',
Alexander Afanasyev7e4235a2012-10-31 16:58:44 -07005565 [],
5566 is_pure_virtual=True, is_virtual=True)
5567 ## ndn-limits.h (module 'ndnSIM'): void ns3::ndn::Limits::SetLimits(double rate, double delay) [member function]
5568 cls.add_method('SetLimits',
5569 'void',
5570 [param('double', 'rate'), param('double', 'delay')],
Alexander Afanasyevf5c07742012-10-31 13:13:05 -07005571 is_virtual=True)
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08005572 ## ndn-limits.h (module 'ndnSIM'): void ns3::ndn::Limits::SetLinkDelay(double delay) [member function]
5573 cls.add_method('SetLinkDelay',
5574 'void',
5575 [param('double', 'delay')],
5576 is_virtual=True)
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07005577 ## ndn-limits.h (module 'ndnSIM'): void ns3::ndn::Limits::UpdateCurrentLimit(double limit) [member function]
5578 cls.add_method('UpdateCurrentLimit',
5579 'void',
Alexander Afanasyev7e4235a2012-10-31 16:58:44 -07005580 [param('double', 'limit')],
5581 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08005582 ## ndn-limits.h (module 'ndnSIM'): void ns3::ndn::Limits::FireAvailableSlotCallback() [member function]
5583 cls.add_method('FireAvailableSlotCallback',
5584 'void',
5585 [],
5586 visibility='protected')
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005587 return
5588
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005589def register_Ns3NdnName_methods(root_module, cls):
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005590 cls.add_output_stream_operator()
5591 cls.add_binary_comparison_operator('<')
5592 cls.add_binary_comparison_operator('==')
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005593 ## ndn-name.h (module 'ndnSIM'): ns3::ndn::Name::Name(ns3::ndn::Name const & arg0) [copy constructor]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005594 cls.add_constructor([param('ns3::ndn::Name const &', 'arg0')])
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005595 ## ndn-name.h (module 'ndnSIM'): ns3::ndn::Name::Name() [constructor]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005596 cls.add_constructor([])
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005597 ## ndn-name.h (module 'ndnSIM'): ns3::ndn::Name::Name(std::list<boost::reference_wrapper<std::string const>, std::allocator<boost::reference_wrapper<std::string const> > > const & components) [constructor]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005598 cls.add_constructor([param('std::list< boost::reference_wrapper< std::string const > > const &', 'components')])
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005599 ## ndn-name.h (module 'ndnSIM'): ns3::ndn::Name::Name(std::string const & prefix) [constructor]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005600 cls.add_constructor([param('std::string const &', 'prefix')])
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005601 ## ndn-name.h (module 'ndnSIM'): ns3::ndn::Name::Name(char const * prefix) [constructor]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005602 cls.add_constructor([param('char const *', 'prefix')])
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005603 ## ndn-name.h (module 'ndnSIM'): uint32_t ns3::ndn::Name::Deserialize(ns3::Buffer::Iterator start) [member function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005604 cls.add_method('Deserialize',
5605 'uint32_t',
5606 [param('ns3::Buffer::Iterator', 'start')])
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005607 ## ndn-name.h (module 'ndnSIM'): std::list<std::string, std::allocator<std::string> > const & ns3::ndn::Name::GetComponents() const [member function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005608 cls.add_method('GetComponents',
5609 'std::list< std::string > const &',
5610 [],
5611 is_const=True)
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005612 ## ndn-name.h (module 'ndnSIM'): std::string ns3::ndn::Name::GetLastComponent() const [member function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005613 cls.add_method('GetLastComponent',
5614 'std::string',
5615 [],
5616 is_const=True)
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005617 ## ndn-name.h (module 'ndnSIM'): size_t ns3::ndn::Name::GetSerializedSize() const [member function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005618 cls.add_method('GetSerializedSize',
5619 'size_t',
5620 [],
5621 is_const=True)
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005622 ## ndn-name.h (module 'ndnSIM'): std::list<boost::reference_wrapper<std::string const>, std::allocator<boost::reference_wrapper<std::string const> > > ns3::ndn::Name::GetSubComponents(size_t num) const [member function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005623 cls.add_method('GetSubComponents',
5624 'std::list< boost::reference_wrapper< std::string const > >',
5625 [param('size_t', 'num')],
5626 is_const=True)
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005627 ## ndn-name.h (module 'ndnSIM'): void ns3::ndn::Name::Print(std::ostream & os) const [member function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005628 cls.add_method('Print',
5629 'void',
5630 [param('std::ostream &', 'os')],
5631 is_const=True)
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005632 ## ndn-name.h (module 'ndnSIM'): uint32_t ns3::ndn::Name::Serialize(ns3::Buffer::Iterator start) const [member function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005633 cls.add_method('Serialize',
5634 'uint32_t',
5635 [param('ns3::Buffer::Iterator', 'start')],
5636 is_const=True)
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005637 ## ndn-name.h (module 'ndnSIM'): std::_List_iterator<std::string> ns3::ndn::Name::begin() [member function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005638 cls.add_method('begin',
5639 'std::_List_iterator< std::string >',
5640 [])
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005641 ## ndn-name.h (module 'ndnSIM'): std::_List_const_iterator<std::string> ns3::ndn::Name::begin() const [member function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005642 cls.add_method('begin',
5643 'std::_List_const_iterator< std::string >',
5644 [],
5645 is_const=True)
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005646 ## ndn-name.h (module 'ndnSIM'): ns3::ndn::Name ns3::ndn::Name::cut(size_t minusComponents) const [member function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005647 cls.add_method('cut',
5648 'ns3::ndn::Name',
5649 [param('size_t', 'minusComponents')],
5650 is_const=True)
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005651 ## ndn-name.h (module 'ndnSIM'): std::_List_iterator<std::string> ns3::ndn::Name::end() [member function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005652 cls.add_method('end',
5653 'std::_List_iterator< std::string >',
5654 [])
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005655 ## ndn-name.h (module 'ndnSIM'): std::_List_const_iterator<std::string> ns3::ndn::Name::end() const [member function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005656 cls.add_method('end',
5657 'std::_List_const_iterator< std::string >',
5658 [],
5659 is_const=True)
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005660 ## ndn-name.h (module 'ndnSIM'): size_t ns3::ndn::Name::size() const [member function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005661 cls.add_method('size',
5662 'size_t',
5663 [],
5664 is_const=True)
5665 return
5666
5667def register_Ns3NdnNameChecker_methods(root_module, cls):
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005668 ## ndn-name.h (module 'ndnSIM'): ns3::ndn::NameChecker::NameChecker() [constructor]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005669 cls.add_constructor([])
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005670 ## ndn-name.h (module 'ndnSIM'): ns3::ndn::NameChecker::NameChecker(ns3::ndn::NameChecker const & arg0) [copy constructor]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005671 cls.add_constructor([param('ns3::ndn::NameChecker const &', 'arg0')])
5672 return
5673
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005674def register_Ns3NdnName_methods(root_module, cls):
5675 ## ndn-name.h (module 'ndnSIM'): ns3::ndn::Name::Name(ns3::ndn::Name const & arg0) [copy constructor]
5676 cls.add_constructor([param('ns3::ndn::Name const &', 'arg0')])
5677 ## ndn-name.h (module 'ndnSIM'): ns3::ndn::Name::Name() [constructor]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005678 cls.add_constructor([])
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005679 ## ndn-name.h (module 'ndnSIM'): ns3::ndn::Name::Name(std::list<boost::reference_wrapper<std::string const>, std::allocator<boost::reference_wrapper<std::string const> > > const & components) [constructor]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005680 cls.add_constructor([param('std::list< boost::reference_wrapper< std::string const > > const &', 'components')])
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005681 ## ndn-name.h (module 'ndnSIM'): ns3::ndn::Name::Name(std::string const & prefix) [constructor]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005682 cls.add_constructor([param('std::string const &', 'prefix')])
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005683 ## ndn-name.h (module 'ndnSIM'): ns3::ndn::Name::Name(char const * prefix) [constructor]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005684 cls.add_constructor([param('char const *', 'prefix')])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005685 return
5686
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005687def register_Ns3NdnNameChecker_methods(root_module, cls):
5688 ## ndn-name.h (module 'ndnSIM'): ns3::ndn::NameChecker::NameChecker() [constructor]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005689 cls.add_constructor([])
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005690 ## ndn-name.h (module 'ndnSIM'): ns3::ndn::NameChecker::NameChecker(ns3::ndn::NameChecker const & arg0) [copy constructor]
5691 cls.add_constructor([param('ns3::ndn::NameChecker const &', 'arg0')])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005692 return
5693
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005694def register_Ns3NdnNameValue_methods(root_module, cls):
5695 ## ndn-name.h (module 'ndnSIM'): ns3::ndn::NameValue::NameValue() [constructor]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005696 cls.add_constructor([])
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005697 ## ndn-name.h (module 'ndnSIM'): ns3::ndn::NameValue::NameValue(ns3::ndn::NameValue const & arg0) [copy constructor]
5698 cls.add_constructor([param('ns3::ndn::NameValue const &', 'arg0')])
5699 ## ndn-name.h (module 'ndnSIM'): ns3::ndn::NameValue::NameValue(ns3::ndn::Name const & value) [constructor]
5700 cls.add_constructor([param('ns3::ndn::Name const &', 'value')])
5701 ## ndn-name.h (module 'ndnSIM'): ns3::Ptr<ns3::AttributeValue> ns3::ndn::NameValue::Copy() const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005702 cls.add_method('Copy',
5703 'ns3::Ptr< ns3::AttributeValue >',
5704 [],
5705 is_const=True, is_virtual=True)
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005706 ## ndn-name.h (module 'ndnSIM'): bool ns3::ndn::NameValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005707 cls.add_method('DeserializeFromString',
5708 'bool',
5709 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
5710 is_virtual=True)
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005711 ## ndn-name.h (module 'ndnSIM'): ns3::ndn::Name ns3::ndn::NameValue::Get() const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005712 cls.add_method('Get',
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005713 'ns3::ndn::Name',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005714 [],
5715 is_const=True)
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005716 ## ndn-name.h (module 'ndnSIM'): std::string ns3::ndn::NameValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005717 cls.add_method('SerializeToString',
5718 'std::string',
5719 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
5720 is_const=True, is_virtual=True)
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005721 ## ndn-name.h (module 'ndnSIM'): void ns3::ndn::NameValue::Set(ns3::ndn::Name const & value) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005722 cls.add_method('Set',
5723 'void',
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005724 [param('ns3::ndn::Name const &', 'value')])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005725 return
5726
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005727def register_Ns3NdnNameValue_methods(root_module, cls):
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005728 ## ndn-name.h (module 'ndnSIM'): ns3::ndn::NameValue::NameValue() [constructor]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005729 cls.add_constructor([])
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005730 ## ndn-name.h (module 'ndnSIM'): ns3::ndn::NameValue::NameValue(ns3::ndn::NameValue const & arg0) [copy constructor]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005731 cls.add_constructor([param('ns3::ndn::NameValue const &', 'arg0')])
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005732 ## ndn-name.h (module 'ndnSIM'): ns3::ndn::NameValue::NameValue(ns3::ndn::Name const & value) [constructor]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005733 cls.add_constructor([param('ns3::ndn::Name const &', 'value')])
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005734 ## ndn-name.h (module 'ndnSIM'): ns3::Ptr<ns3::AttributeValue> ns3::ndn::NameValue::Copy() const [member function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005735 cls.add_method('Copy',
5736 'ns3::Ptr< ns3::AttributeValue >',
5737 [],
5738 is_const=True, is_virtual=True)
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005739 ## ndn-name.h (module 'ndnSIM'): bool ns3::ndn::NameValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005740 cls.add_method('DeserializeFromString',
5741 'bool',
5742 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
5743 is_virtual=True)
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005744 ## ndn-name.h (module 'ndnSIM'): ns3::ndn::Name ns3::ndn::NameValue::Get() const [member function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005745 cls.add_method('Get',
5746 'ns3::ndn::Name',
5747 [],
5748 is_const=True)
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005749 ## ndn-name.h (module 'ndnSIM'): std::string ns3::ndn::NameValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005750 cls.add_method('SerializeToString',
5751 'std::string',
5752 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
5753 is_const=True, is_virtual=True)
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005754 ## ndn-name.h (module 'ndnSIM'): void ns3::ndn::NameValue::Set(ns3::ndn::Name const & value) [member function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005755 cls.add_method('Set',
5756 'void',
5757 [param('ns3::ndn::Name const &', 'value')])
5758 return
5759
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005760def register_Ns3NdnNetDeviceFace_methods(root_module, cls):
5761 ## ndn-net-device-face.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::NetDeviceFace::GetTypeId() [member function]
5762 cls.add_method('GetTypeId',
5763 'ns3::TypeId',
5764 [],
5765 is_static=True)
5766 ## ndn-net-device-face.h (module 'ndnSIM'): ns3::ndn::NetDeviceFace::NetDeviceFace(ns3::Ptr<ns3::Node> node, ns3::Ptr<ns3::NetDevice> const & netDevice) [constructor]
5767 cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::Ptr< ns3::NetDevice > const &', 'netDevice')])
5768 ## 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]
5769 cls.add_method('RegisterProtocolHandler',
5770 'void',
5771 [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')],
5772 is_virtual=True)
5773 ## ndn-net-device-face.h (module 'ndnSIM'): std::ostream & ns3::ndn::NetDeviceFace::Print(std::ostream & os) const [member function]
5774 cls.add_method('Print',
5775 'std::ostream &',
5776 [param('std::ostream &', 'os')],
5777 is_const=True, is_virtual=True)
5778 ## ndn-net-device-face.h (module 'ndnSIM'): ns3::Ptr<ns3::NetDevice> ns3::ndn::NetDeviceFace::GetNetDevice() const [member function]
5779 cls.add_method('GetNetDevice',
5780 'ns3::Ptr< ns3::NetDevice >',
5781 [],
5782 is_const=True)
5783 ## 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 -07005784 cls.add_method('SendImpl',
Alexander Afanasyev1c0248b2012-07-24 15:59:50 -07005785 'bool',
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07005786 [param('ns3::Ptr< ns3::Packet >', 'p')],
5787 visibility='protected', is_virtual=True)
5788 return
5789
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005790def register_Ns3NdnPit_methods(root_module, cls):
5791 cls.add_output_stream_operator()
5792 ## ndn-pit.h (module 'ndnSIM'): ns3::ndn::Pit::Pit(ns3::ndn::Pit const & arg0) [copy constructor]
5793 cls.add_constructor([param('ns3::ndn::Pit const &', 'arg0')])
5794 ## ndn-pit.h (module 'ndnSIM'): ns3::ndn::Pit::Pit() [constructor]
5795 cls.add_constructor([])
5796 ## ndn-pit.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::pit::Entry> ns3::ndn::Pit::Begin() [member function]
5797 cls.add_method('Begin',
5798 'ns3::Ptr< ns3::ndn::pit::Entry >',
5799 [],
5800 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005801 ## 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 -07005802 cls.add_method('Create',
5803 'ns3::Ptr< ns3::ndn::pit::Entry >',
5804 [param('ns3::Ptr< ns3::ndn::InterestHeader const >', 'header')],
5805 is_pure_virtual=True, is_virtual=True)
5806 ## ndn-pit.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::pit::Entry> ns3::ndn::Pit::End() [member function]
5807 cls.add_method('End',
5808 'ns3::Ptr< ns3::ndn::pit::Entry >',
5809 [],
5810 is_pure_virtual=True, is_virtual=True)
5811 ## ndn-pit.h (module 'ndnSIM'): static ns3::Ptr<ns3::ndn::Pit> ns3::ndn::Pit::GetPit(ns3::Ptr<ns3::Object> node) [member function]
5812 cls.add_method('GetPit',
5813 'ns3::Ptr< ns3::ndn::Pit >',
5814 [param('ns3::Ptr< ns3::Object >', 'node')],
5815 is_static=True)
5816 ## ndn-pit.h (module 'ndnSIM'): uint32_t ns3::ndn::Pit::GetSize() const [member function]
5817 cls.add_method('GetSize',
5818 'uint32_t',
5819 [],
5820 is_pure_virtual=True, is_const=True, is_virtual=True)
5821 ## ndn-pit.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::Pit::GetTypeId() [member function]
5822 cls.add_method('GetTypeId',
5823 'ns3::TypeId',
5824 [],
5825 is_static=True)
5826 ## ndn-pit.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::pit::Entry> ns3::ndn::Pit::Lookup(ns3::ndn::ContentObjectHeader const & header) [member function]
5827 cls.add_method('Lookup',
5828 'ns3::Ptr< ns3::ndn::pit::Entry >',
5829 [param('ns3::ndn::ContentObjectHeader const &', 'header')],
5830 is_pure_virtual=True, is_virtual=True)
5831 ## ndn-pit.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::pit::Entry> ns3::ndn::Pit::Lookup(ns3::ndn::InterestHeader const & header) [member function]
5832 cls.add_method('Lookup',
5833 'ns3::Ptr< ns3::ndn::pit::Entry >',
5834 [param('ns3::ndn::InterestHeader const &', 'header')],
5835 is_pure_virtual=True, is_virtual=True)
5836 ## ndn-pit.h (module 'ndnSIM'): void ns3::ndn::Pit::MarkErased(ns3::Ptr<ns3::ndn::pit::Entry> entry) [member function]
5837 cls.add_method('MarkErased',
5838 'void',
5839 [param('ns3::Ptr< ns3::ndn::pit::Entry >', 'entry')],
5840 is_pure_virtual=True, is_virtual=True)
5841 ## ndn-pit.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::pit::Entry> ns3::ndn::Pit::Next(ns3::Ptr<ns3::ndn::pit::Entry> arg0) [member function]
5842 cls.add_method('Next',
5843 'ns3::Ptr< ns3::ndn::pit::Entry >',
5844 [param('ns3::Ptr< ns3::ndn::pit::Entry >', 'arg0')],
5845 is_pure_virtual=True, is_virtual=True)
5846 ## ndn-pit.h (module 'ndnSIM'): void ns3::ndn::Pit::Print(std::ostream & os) const [member function]
5847 cls.add_method('Print',
5848 'void',
5849 [param('std::ostream &', 'os')],
5850 is_pure_virtual=True, is_const=True, is_virtual=True)
5851 return
5852
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -07005853def register_Ns3NdnRttEstimator_methods(root_module, cls):
5854 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::ndn::RttEstimator::RttEstimator() [constructor]
5855 cls.add_constructor([])
5856 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::ndn::RttEstimator::RttEstimator(ns3::ndn::RttEstimator const & arg0) [copy constructor]
5857 cls.add_constructor([param('ns3::ndn::RttEstimator const &', 'arg0')])
5858 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::Time ns3::ndn::RttEstimator::AckSeq(ns3::SequenceNumber32 ackSeq) [member function]
5859 cls.add_method('AckSeq',
5860 'ns3::Time',
5861 [param('ns3::SequenceNumber32', 'ackSeq')],
5862 is_virtual=True)
5863 ## ndn-rtt-estimator.h (module 'ndnSIM'): void ns3::ndn::RttEstimator::ClearSent() [member function]
5864 cls.add_method('ClearSent',
5865 'void',
5866 [],
5867 is_virtual=True)
5868 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::RttEstimator> ns3::ndn::RttEstimator::Copy() const [member function]
5869 cls.add_method('Copy',
5870 'ns3::Ptr< ns3::ndn::RttEstimator >',
5871 [],
5872 is_pure_virtual=True, is_const=True, is_virtual=True)
5873 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::Time ns3::ndn::RttEstimator::GetCurrentEstimate() const [member function]
5874 cls.add_method('GetCurrentEstimate',
5875 'ns3::Time',
5876 [],
5877 is_const=True)
5878 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::Time ns3::ndn::RttEstimator::GetMaxRto() const [member function]
5879 cls.add_method('GetMaxRto',
5880 'ns3::Time',
5881 [],
5882 is_const=True)
5883 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::Time ns3::ndn::RttEstimator::GetMinRto() const [member function]
5884 cls.add_method('GetMinRto',
5885 'ns3::Time',
5886 [],
5887 is_const=True)
5888 ## ndn-rtt-estimator.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::RttEstimator::GetTypeId() [member function]
5889 cls.add_method('GetTypeId',
5890 'ns3::TypeId',
5891 [],
5892 is_static=True)
5893 ## ndn-rtt-estimator.h (module 'ndnSIM'): void ns3::ndn::RttEstimator::IncreaseMultiplier() [member function]
5894 cls.add_method('IncreaseMultiplier',
5895 'void',
5896 [],
5897 is_virtual=True)
5898 ## ndn-rtt-estimator.h (module 'ndnSIM'): void ns3::ndn::RttEstimator::Measurement(ns3::Time t) [member function]
5899 cls.add_method('Measurement',
5900 'void',
5901 [param('ns3::Time', 't')],
5902 is_pure_virtual=True, is_virtual=True)
5903 ## ndn-rtt-estimator.h (module 'ndnSIM'): void ns3::ndn::RttEstimator::Reset() [member function]
5904 cls.add_method('Reset',
5905 'void',
5906 [],
5907 is_virtual=True)
5908 ## ndn-rtt-estimator.h (module 'ndnSIM'): void ns3::ndn::RttEstimator::ResetMultiplier() [member function]
5909 cls.add_method('ResetMultiplier',
5910 'void',
5911 [],
5912 is_virtual=True)
5913 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::Time ns3::ndn::RttEstimator::RetransmitTimeout() [member function]
5914 cls.add_method('RetransmitTimeout',
5915 'ns3::Time',
5916 [],
5917 is_pure_virtual=True, is_virtual=True)
5918 ## ndn-rtt-estimator.h (module 'ndnSIM'): void ns3::ndn::RttEstimator::SentSeq(ns3::SequenceNumber32 seq, uint32_t size) [member function]
5919 cls.add_method('SentSeq',
5920 'void',
5921 [param('ns3::SequenceNumber32', 'seq'), param('uint32_t', 'size')],
5922 is_virtual=True)
5923 ## ndn-rtt-estimator.h (module 'ndnSIM'): void ns3::ndn::RttEstimator::SetCurrentEstimate(ns3::Time estimate) [member function]
5924 cls.add_method('SetCurrentEstimate',
5925 'void',
5926 [param('ns3::Time', 'estimate')])
5927 ## ndn-rtt-estimator.h (module 'ndnSIM'): void ns3::ndn::RttEstimator::SetMaxRto(ns3::Time maxRto) [member function]
5928 cls.add_method('SetMaxRto',
5929 'void',
5930 [param('ns3::Time', 'maxRto')])
5931 ## ndn-rtt-estimator.h (module 'ndnSIM'): void ns3::ndn::RttEstimator::SetMinRto(ns3::Time minRto) [member function]
5932 cls.add_method('SetMinRto',
5933 'void',
5934 [param('ns3::Time', 'minRto')])
5935 return
5936
5937def register_Ns3NdnRttHistory_methods(root_module, cls):
5938 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::ndn::RttHistory::RttHistory(ns3::SequenceNumber32 s, uint32_t c, ns3::Time t) [constructor]
5939 cls.add_constructor([param('ns3::SequenceNumber32', 's'), param('uint32_t', 'c'), param('ns3::Time', 't')])
5940 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::ndn::RttHistory::RttHistory(ns3::ndn::RttHistory const & h) [copy constructor]
5941 cls.add_constructor([param('ns3::ndn::RttHistory const &', 'h')])
5942 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::ndn::RttHistory::count [variable]
5943 cls.add_instance_attribute('count', 'uint32_t', is_const=False)
5944 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::ndn::RttHistory::retx [variable]
5945 cls.add_instance_attribute('retx', 'bool', is_const=False)
5946 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::ndn::RttHistory::seq [variable]
5947 cls.add_instance_attribute('seq', 'ns3::SequenceNumber32', is_const=False)
5948 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::ndn::RttHistory::time [variable]
5949 cls.add_instance_attribute('time', 'ns3::Time', is_const=False)
5950 return
5951
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005952def register_Ns3NdnStackHelper_methods(root_module, cls):
5953 ## ndn-stack-helper.h (module 'ndnSIM'): ns3::ndn::StackHelper::StackHelper() [constructor]
5954 cls.add_constructor([])
5955 ## 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]
5956 cls.add_method('SetStackAttributes',
5957 'void',
5958 [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='""')])
5959 ## 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]
5960 cls.add_method('SetForwardingStrategy',
5961 'void',
5962 [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='""')])
5963 ## 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]
5964 cls.add_method('SetContentStore',
5965 'void',
5966 [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='""')])
5967 ## 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]
5968 cls.add_method('SetPit',
5969 'void',
5970 [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='""')])
5971 ## 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]
5972 cls.add_method('SetFib',
5973 'void',
5974 [param('std::string const &', 'fibClass'), param('std::string const &', 'attr1', default_value='""'), param('std::string const &', 'value1', default_value='""'), param('std::string const &', 'attr2', default_value='""'), param('std::string const &', 'value2', default_value='""'), param('std::string const &', 'attr3', default_value='""'), param('std::string const &', 'value3', default_value='""'), param('std::string const &', 'attr4', default_value='""'), param('std::string const &', 'value4', default_value='""')])
Alexander Afanasyevc17e4bd2013-02-17 14:31:56 -08005975 ## ndn-stack-helper.h (module 'ndnSIM'): void ns3::ndn::StackHelper::AddNetDeviceFaceCreateCallback(ns3::TypeId netDeviceType, ns3::Callback<ns3::Ptr<ns3::ndn::NetDeviceFace>,ns3::Ptr<ns3::Node>,ns3::Ptr<ns3::ndn::L3Protocol>,ns3::Ptr<ns3::NetDevice>,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> callback) [member function]
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005976 cls.add_method('AddNetDeviceFaceCreateCallback',
5977 'void',
Alexander Afanasyevc17e4bd2013-02-17 14:31:56 -08005978 [param('ns3::TypeId', 'netDeviceType'), param('ns3::Callback< ns3::Ptr< ns3::ndn::NetDeviceFace >, ns3::Ptr< ns3::Node >, ns3::Ptr< ns3::ndn::L3Protocol >, ns3::Ptr< ns3::NetDevice >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005979 ## 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]
5980 cls.add_method('EnableLimits',
5981 'void',
5982 [param('bool', 'enable', default_value='true'), param('ns3::Time', 'avgRtt', default_value='ns3::Seconds(0)'), param('uint32_t', 'avgContentObject', default_value='1100'), param('uint32_t', 'avgInterest', default_value='40')])
Alexander Afanasyev67f4a4a2012-11-24 17:18:17 -08005983 ## ndn-stack-helper.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::FaceContainer> ns3::ndn::StackHelper::Install(std::string const & nodeName) const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005984 cls.add_method('Install',
5985 'ns3::Ptr< ns3::ndn::FaceContainer >',
Alexander Afanasyev67f4a4a2012-11-24 17:18:17 -08005986 [param('std::string const &', 'nodeName')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005987 is_const=True)
5988 ## ndn-stack-helper.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::FaceContainer> ns3::ndn::StackHelper::Install(ns3::Ptr<ns3::Node> node) const [member function]
5989 cls.add_method('Install',
5990 'ns3::Ptr< ns3::ndn::FaceContainer >',
5991 [param('ns3::Ptr< ns3::Node >', 'node')],
5992 is_const=True)
Alexander Afanasyev67f4a4a2012-11-24 17:18:17 -08005993 ## ndn-stack-helper.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::FaceContainer> ns3::ndn::StackHelper::Install(ns3::NodeContainer const & c) const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005994 cls.add_method('Install',
5995 'ns3::Ptr< ns3::ndn::FaceContainer >',
Alexander Afanasyev67f4a4a2012-11-24 17:18:17 -08005996 [param('ns3::NodeContainer const &', 'c')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005997 is_const=True)
5998 ## ndn-stack-helper.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::FaceContainer> ns3::ndn::StackHelper::InstallAll() const [member function]
5999 cls.add_method('InstallAll',
6000 'ns3::Ptr< ns3::ndn::FaceContainer >',
6001 [],
6002 is_const=True)
Alexander Afanasyev67f4a4a2012-11-24 17:18:17 -08006003 ## ndn-stack-helper.h (module 'ndnSIM'): static void ns3::ndn::StackHelper::AddRoute(std::string const & nodeName, std::string const & prefix, uint32_t faceId, int32_t metric) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006004 cls.add_method('AddRoute',
6005 'void',
Alexander Afanasyev67f4a4a2012-11-24 17:18:17 -08006006 [param('std::string const &', 'nodeName'), param('std::string const &', 'prefix'), param('uint32_t', 'faceId'), param('int32_t', 'metric')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006007 is_static=True)
Alexander Afanasyev67f4a4a2012-11-24 17:18:17 -08006008 ## ndn-stack-helper.h (module 'ndnSIM'): static void ns3::ndn::StackHelper::AddRoute(ns3::Ptr<ns3::Node> node, std::string const & prefix, uint32_t faceId, int32_t metric) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006009 cls.add_method('AddRoute',
6010 'void',
Alexander Afanasyev67f4a4a2012-11-24 17:18:17 -08006011 [param('ns3::Ptr< ns3::Node >', 'node'), param('std::string const &', 'prefix'), param('uint32_t', 'faceId'), param('int32_t', 'metric')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006012 is_static=True)
Alexander Afanasyev67f4a4a2012-11-24 17:18:17 -08006013 ## ndn-stack-helper.h (module 'ndnSIM'): static void ns3::ndn::StackHelper::AddRoute(ns3::Ptr<ns3::Node> node, std::string const & prefix, ns3::Ptr<ns3::ndn::Face> face, int32_t metric) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006014 cls.add_method('AddRoute',
6015 'void',
Alexander Afanasyev67f4a4a2012-11-24 17:18:17 -08006016 [param('ns3::Ptr< ns3::Node >', 'node'), param('std::string const &', 'prefix'), param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('int32_t', 'metric')],
6017 is_static=True)
6018 ## ndn-stack-helper.h (module 'ndnSIM'): static void ns3::ndn::StackHelper::AddRoute(ns3::Ptr<ns3::Node> node, std::string const & prefix, ns3::Ptr<ns3::Node> otherNode, int32_t metric) [member function]
6019 cls.add_method('AddRoute',
6020 'void',
6021 [param('ns3::Ptr< ns3::Node >', 'node'), param('std::string const &', 'prefix'), param('ns3::Ptr< ns3::Node >', 'otherNode'), param('int32_t', 'metric')],
6022 is_static=True)
6023 ## ndn-stack-helper.h (module 'ndnSIM'): static void ns3::ndn::StackHelper::AddRoute(std::string const & nodeName, std::string const & prefix, std::string const & otherNodeName, int32_t metric) [member function]
6024 cls.add_method('AddRoute',
6025 'void',
6026 [param('std::string const &', 'nodeName'), param('std::string const &', 'prefix'), param('std::string const &', 'otherNodeName'), param('int32_t', 'metric')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006027 is_static=True)
6028 ## ndn-stack-helper.h (module 'ndnSIM'): void ns3::ndn::StackHelper::SetDefaultRoutes(bool needSet) [member function]
6029 cls.add_method('SetDefaultRoutes',
6030 'void',
6031 [param('bool', 'needSet')])
6032 return
6033
6034def register_Ns3NdnUnknownHeaderException_methods(root_module, cls):
6035 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::UnknownHeaderException::UnknownHeaderException() [constructor]
6036 cls.add_constructor([])
6037 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::UnknownHeaderException::UnknownHeaderException(ns3::ndn::UnknownHeaderException const & arg0) [copy constructor]
6038 cls.add_constructor([param('ns3::ndn::UnknownHeaderException const &', 'arg0')])
6039 return
6040
6041def register_Ns3NdnAppFace_methods(root_module, cls):
6042 ## ndn-app-face.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::AppFace::GetTypeId() [member function]
6043 cls.add_method('GetTypeId',
6044 'ns3::TypeId',
6045 [],
6046 is_static=True)
6047 ## ndn-app-face.h (module 'ndnSIM'): ns3::ndn::AppFace::AppFace(ns3::Ptr<ns3::ndn::App> app) [constructor]
6048 cls.add_constructor([param('ns3::Ptr< ns3::ndn::App >', 'app')])
6049 ## 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]
6050 cls.add_method('RegisterProtocolHandler',
6051 'void',
6052 [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')],
6053 is_virtual=True)
6054 ## ndn-app-face.h (module 'ndnSIM'): std::ostream & ns3::ndn::AppFace::Print(std::ostream & os) const [member function]
6055 cls.add_method('Print',
6056 'std::ostream &',
6057 [param('std::ostream &', 'os')],
6058 is_const=True, is_virtual=True)
6059 ## ndn-app-face.h (module 'ndnSIM'): bool ns3::ndn::AppFace::SendImpl(ns3::Ptr<ns3::Packet> p) [member function]
6060 cls.add_method('SendImpl',
6061 'bool',
6062 [param('ns3::Ptr< ns3::Packet >', 'p')],
6063 visibility='protected', is_virtual=True)
6064 return
6065
6066def register_Ns3NdnCsEntry_methods(root_module, cls):
6067 ## ndn-content-store.h (module 'ndnSIM'): ns3::ndn::cs::Entry::Entry(ns3::ndn::cs::Entry const & arg0) [copy constructor]
6068 cls.add_constructor([param('ns3::ndn::cs::Entry const &', 'arg0')])
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -07006069 ## ndn-content-store.h (module 'ndnSIM'): ns3::ndn::cs::Entry::Entry(ns3::Ptr<ns3::ndn::ContentStore> cs, ns3::Ptr<ns3::ndn::ContentObjectHeader const> header, ns3::Ptr<const ns3::Packet> packet) [constructor]
6070 cls.add_constructor([param('ns3::Ptr< ns3::ndn::ContentStore >', 'cs'), param('ns3::Ptr< ns3::ndn::ContentObjectHeader const >', 'header'), param('ns3::Ptr< ns3::Packet const >', 'packet')])
6071 ## ndn-content-store.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::ContentStore> ns3::ndn::cs::Entry::GetContentStore() [member function]
6072 cls.add_method('GetContentStore',
6073 'ns3::Ptr< ns3::ndn::ContentStore >',
6074 [])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006075 ## ndn-content-store.h (module 'ndnSIM'): ns3::Ptr<ns3::Packet> ns3::ndn::cs::Entry::GetFullyFormedNdnPacket() const [member function]
6076 cls.add_method('GetFullyFormedNdnPacket',
6077 'ns3::Ptr< ns3::Packet >',
6078 [],
6079 is_const=True)
6080 ## ndn-content-store.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::ContentObjectHeader const> ns3::ndn::cs::Entry::GetHeader() const [member function]
6081 cls.add_method('GetHeader',
6082 'ns3::Ptr< ns3::ndn::ContentObjectHeader const >',
6083 [],
6084 is_const=True)
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07006085 ## ndn-content-store.h (module 'ndnSIM'): ns3::ndn::Name const & ns3::ndn::cs::Entry::GetName() const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006086 cls.add_method('GetName',
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07006087 'ns3::ndn::Name const &',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006088 [],
6089 is_const=True)
6090 ## ndn-content-store.h (module 'ndnSIM'): ns3::Ptr<const ns3::Packet> ns3::ndn::cs::Entry::GetPacket() const [member function]
6091 cls.add_method('GetPacket',
6092 'ns3::Ptr< ns3::Packet const >',
6093 [],
6094 is_const=True)
6095 return
6096
6097def register_Ns3NdnFibEntry_methods(root_module, cls):
6098 cls.add_output_stream_operator()
6099 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::Entry(ns3::ndn::fib::Entry const & arg0) [copy constructor]
6100 cls.add_constructor([param('ns3::ndn::fib::Entry const &', 'arg0')])
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07006101 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::Entry(ns3::Ptr<ns3::ndn::Name const> const & prefix) [constructor]
6102 cls.add_constructor([param('ns3::Ptr< ns3::ndn::Name const > const &', 'prefix')])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006103 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::Entry::AddOrUpdateRoutingMetric(ns3::Ptr<ns3::ndn::Face> face, int32_t metric) [member function]
6104 cls.add_method('AddOrUpdateRoutingMetric',
6105 'void',
6106 [param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('int32_t', 'metric')])
6107 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric const & ns3::ndn::fib::Entry::FindBestCandidate(uint32_t skip=0) const [member function]
6108 cls.add_method('FindBestCandidate',
6109 'ns3::ndn::fib::FaceMetric const &',
6110 [param('uint32_t', 'skip', default_value='0')],
6111 is_const=True)
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07006112 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::Name const & ns3::ndn::fib::Entry::GetPrefix() const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006113 cls.add_method('GetPrefix',
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07006114 'ns3::ndn::Name const &',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006115 [],
6116 is_const=True)
6117 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::Entry::Invalidate() [member function]
6118 cls.add_method('Invalidate',
6119 'void',
6120 [])
6121 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::Entry::RemoveFace(ns3::Ptr<ns3::ndn::Face> const & face) [member function]
6122 cls.add_method('RemoveFace',
6123 'void',
6124 [param('ns3::Ptr< ns3::ndn::Face > const &', 'face')])
Alexander Afanasyev32c07562013-02-01 12:58:43 -08006125 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::Entry::SetRealDelayToProducer(ns3::Ptr<ns3::ndn::Face> face, ns3::Time delay) [member function]
6126 cls.add_method('SetRealDelayToProducer',
6127 'void',
6128 [param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('ns3::Time', 'delay')])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006129 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::Entry::UpdateFaceRtt(ns3::Ptr<ns3::ndn::Face> face, ns3::Time const & sample) [member function]
6130 cls.add_method('UpdateFaceRtt',
6131 'void',
6132 [param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('ns3::Time const &', 'sample')])
6133 ## 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]
6134 cls.add_method('UpdateStatus',
6135 'void',
6136 [param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('ns3::ndn::fib::FaceMetric::Status', 'status')])
6137 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::m_faces [variable]
Alexander Afanasyev06dba7c2013-02-21 11:36:26 -08006138 cls.add_instance_attribute('m_faces', 'boost::multi_index::multi_index_container< ns3::ndn::fib::FaceMetric, boost::multi_index::indexed_by< boost::multi_index::ordered_unique< boost::multi_index::tag< ns3::ndn::fib::i_face, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na >, boost::multi_index::const_mem_fun< ns3::ndn::fib::FaceMetric, ns3::Ptr< ns3::ndn::Face >, & ( ns3::ndn::fib::FaceMetric::GetFace ( ) const ) >, mpl_::na >, boost::multi_index::ordered_non_unique< boost::multi_index::tag< ns3::ndn::fib::i_metric, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na >, boost::multi_index::composite_key< ns3::ndn::fib::FaceMetric, boost::multi_index::const_mem_fun< ns3::ndn::fib::FaceMetric, ns3::ndn::fib::FaceMetric::Status, & ( ns3::ndn::fib::FaceMetric::GetStatus ( ) const ) >, boost::multi_index::const_mem_fun< ns3::ndn::fib::FaceMetric, int, & ( ns3::ndn::fib::FaceMetric::GetRoutingCost ( ) const ) >, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type >, mpl_::na >, boost::multi_index::random_access< boost::multi_index::tag< ns3::ndn::fib::i_nth, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na > >, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na >, std::allocator< ns3::ndn::fib::FaceMetric > >', is_const=False)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006139 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::m_needsProbing [variable]
6140 cls.add_instance_attribute('m_needsProbing', 'bool', is_const=False)
6141 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::m_prefix [variable]
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07006142 cls.add_instance_attribute('m_prefix', 'ns3::Ptr< ns3::ndn::Name const >', is_const=False)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006143 return
6144
6145def register_Ns3NdnFibEntryNoFaces_methods(root_module, cls):
6146 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::NoFaces::NoFaces() [constructor]
6147 cls.add_constructor([])
6148 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::NoFaces::NoFaces(ns3::ndn::fib::Entry::NoFaces const & arg0) [copy constructor]
6149 cls.add_constructor([param('ns3::ndn::fib::Entry::NoFaces const &', 'arg0')])
6150 return
6151
6152def register_Ns3NdnFibFaceMetric_methods(root_module, cls):
6153 cls.add_output_stream_operator()
6154 cls.add_binary_comparison_operator('<')
6155 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric::FaceMetric(ns3::ndn::fib::FaceMetric const & arg0) [copy constructor]
6156 cls.add_constructor([param('ns3::ndn::fib::FaceMetric const &', 'arg0')])
6157 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric::FaceMetric(ns3::Ptr<ns3::ndn::Face> face, int32_t cost) [constructor]
6158 cls.add_constructor([param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('int32_t', 'cost')])
6159 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::Face> ns3::ndn::fib::FaceMetric::GetFace() const [member function]
6160 cls.add_method('GetFace',
6161 'ns3::Ptr< ns3::ndn::Face >',
6162 [],
6163 is_const=True)
Alexander Afanasyev06dba7c2013-02-21 11:36:26 -08006164 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::Time ns3::ndn::fib::FaceMetric::GetRealDelay() const [member function]
6165 cls.add_method('GetRealDelay',
6166 'ns3::Time',
6167 [],
6168 is_const=True)
6169 ## ndn-fib-entry.h (module 'ndnSIM'): int32_t ns3::ndn::fib::FaceMetric::GetRoutingCost() const [member function]
6170 cls.add_method('GetRoutingCost',
6171 'int32_t',
6172 [],
6173 is_const=True)
6174 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric::Status ns3::ndn::fib::FaceMetric::GetStatus() const [member function]
6175 cls.add_method('GetStatus',
6176 'ns3::ndn::fib::FaceMetric::Status',
6177 [],
6178 is_const=True)
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -07006179 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::TracedValue<ns3::ndn::fib::FaceMetric::Status> & ns3::ndn::fib::FaceMetric::GetStatusTrace() [member function]
6180 cls.add_method('GetStatusTrace',
6181 'ns3::TracedValue< ns3::ndn::fib::FaceMetric::Status > &',
6182 [])
Alexander Afanasyev06dba7c2013-02-21 11:36:26 -08006183 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::FaceMetric::SetRealDelay(ns3::Time realDelay) [member function]
6184 cls.add_method('SetRealDelay',
6185 'void',
6186 [param('ns3::Time', 'realDelay')])
6187 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::FaceMetric::SetRoutingCost(int32_t routingCost) [member function]
6188 cls.add_method('SetRoutingCost',
6189 'void',
6190 [param('int32_t', 'routingCost')])
6191 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::FaceMetric::SetStatus(ns3::ndn::fib::FaceMetric::Status status) [member function]
6192 cls.add_method('SetStatus',
6193 'void',
6194 [param('ns3::ndn::fib::FaceMetric::Status', 'status')])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006195 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::FaceMetric::UpdateRtt(ns3::Time const & rttSample) [member function]
6196 cls.add_method('UpdateRtt',
6197 'void',
6198 [param('ns3::Time const &', 'rttSample')])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006199 return
6200
6201def register_Ns3NdnFibFaceMetricContainer_methods(root_module, cls):
6202 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetricContainer::FaceMetricContainer() [constructor]
6203 cls.add_constructor([])
6204 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetricContainer::FaceMetricContainer(ns3::ndn::fib::FaceMetricContainer const & arg0) [copy constructor]
6205 cls.add_constructor([param('ns3::ndn::fib::FaceMetricContainer const &', 'arg0')])
6206 return
6207
6208def register_Ns3NdnFibI_face_methods(root_module, cls):
6209 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_face::i_face() [constructor]
6210 cls.add_constructor([])
6211 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_face::i_face(ns3::ndn::fib::i_face const & arg0) [copy constructor]
6212 cls.add_constructor([param('ns3::ndn::fib::i_face const &', 'arg0')])
6213 return
6214
6215def register_Ns3NdnFibI_metric_methods(root_module, cls):
6216 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_metric::i_metric() [constructor]
6217 cls.add_constructor([])
6218 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_metric::i_metric(ns3::ndn::fib::i_metric const & arg0) [copy constructor]
6219 cls.add_constructor([param('ns3::ndn::fib::i_metric const &', 'arg0')])
6220 return
6221
6222def register_Ns3NdnFibI_nth_methods(root_module, cls):
6223 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_nth::i_nth() [constructor]
6224 cls.add_constructor([])
6225 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_nth::i_nth(ns3::ndn::fib::i_nth const & arg0) [copy constructor]
6226 cls.add_constructor([param('ns3::ndn::fib::i_nth const &', 'arg0')])
6227 return
6228
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006229def register_Ns3NdnFwTag_methods(root_module, cls):
6230 ## ndn-fw-tag.h (module 'ndnSIM'): ns3::ndn::fw::Tag::Tag() [constructor]
6231 cls.add_constructor([])
6232 ## ndn-fw-tag.h (module 'ndnSIM'): ns3::ndn::fw::Tag::Tag(ns3::ndn::fw::Tag const & arg0) [copy constructor]
6233 cls.add_constructor([param('ns3::ndn::fw::Tag const &', 'arg0')])
6234 return
6235
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006236def register_Ns3NdnPitEntry_methods(root_module, cls):
6237 cls.add_output_stream_operator()
6238 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::Entry::Entry(ns3::ndn::pit::Entry const & arg0) [copy constructor]
6239 cls.add_constructor([param('ns3::ndn::pit::Entry const &', 'arg0')])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006240 ## 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 -07006241 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 -07006242 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::AddFwTag(boost::shared_ptr<ns3::ndn::fw::Tag> tag) [member function]
6243 cls.add_method('AddFwTag',
6244 'void',
6245 [param('boost::shared_ptr< ns3::ndn::fw::Tag >', 'tag')])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006246 ## 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]
6247 cls.add_method('AddIncoming',
6248 'std::_Rb_tree_const_iterator< ns3::ndn::pit::IncomingFace >',
6249 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
6250 is_virtual=True)
Alexander Afanasyevc202fd92012-09-03 21:46:00 -07006251 ## 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 -07006252 cls.add_method('AddOutgoing',
Alexander Afanasyevc202fd92012-09-03 21:46:00 -07006253 'std::_Rb_tree_const_iterator< ns3::ndn::pit::OutgoingFace >',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006254 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
6255 is_virtual=True)
6256 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::AddSeenNonce(uint32_t nonce) [member function]
6257 cls.add_method('AddSeenNonce',
6258 'void',
6259 [param('uint32_t', 'nonce')],
6260 is_virtual=True)
6261 ## ndn-pit-entry.h (module 'ndnSIM'): bool ns3::ndn::pit::Entry::AreAllOutgoingInVain() const [member function]
6262 cls.add_method('AreAllOutgoingInVain',
6263 'bool',
6264 [],
6265 is_const=True)
6266 ## ndn-pit-entry.h (module 'ndnSIM'): bool ns3::ndn::pit::Entry::AreTherePromisingOutgoingFacesExcept(ns3::Ptr<ns3::ndn::Face> face) const [member function]
6267 cls.add_method('AreTherePromisingOutgoingFacesExcept',
6268 'bool',
6269 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
6270 is_const=True)
6271 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::ClearIncoming() [member function]
6272 cls.add_method('ClearIncoming',
6273 'void',
6274 [],
6275 is_virtual=True)
6276 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::ClearOutgoing() [member function]
6277 cls.add_method('ClearOutgoing',
6278 'void',
6279 [],
6280 is_virtual=True)
6281 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::Time const & ns3::ndn::pit::Entry::GetExpireTime() const [member function]
6282 cls.add_method('GetExpireTime',
6283 'ns3::Time const &',
6284 [],
6285 is_const=True)
6286 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::fib::Entry> ns3::ndn::pit::Entry::GetFibEntry() [member function]
6287 cls.add_method('GetFibEntry',
6288 'ns3::Ptr< ns3::ndn::fib::Entry >',
6289 [])
6290 ## 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]
6291 cls.add_method('GetIncoming',
6292 'std::set< ns3::ndn::pit::IncomingFace > const &',
6293 [],
6294 is_const=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006295 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::InterestHeader const> ns3::ndn::pit::Entry::GetInterest() const [member function]
6296 cls.add_method('GetInterest',
6297 'ns3::Ptr< ns3::ndn::InterestHeader const >',
6298 [],
6299 is_const=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006300 ## ndn-pit-entry.h (module 'ndnSIM'): uint32_t ns3::ndn::pit::Entry::GetMaxRetxCount() const [member function]
6301 cls.add_method('GetMaxRetxCount',
6302 'uint32_t',
6303 [],
6304 is_const=True)
Alexander Afanasyevc202fd92012-09-03 21:46:00 -07006305 ## 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 -07006306 cls.add_method('GetOutgoing',
Alexander Afanasyevc202fd92012-09-03 21:46:00 -07006307 'std::set< ns3::ndn::pit::OutgoingFace > const &',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006308 [],
6309 is_const=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006310 ## ndn-pit-entry.h (module 'ndnSIM'): uint32_t ns3::ndn::pit::Entry::GetOutgoingCount() const [member function]
6311 cls.add_method('GetOutgoingCount',
6312 'uint32_t',
6313 [],
6314 is_const=True)
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07006315 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::Name const & ns3::ndn::pit::Entry::GetPrefix() const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006316 cls.add_method('GetPrefix',
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07006317 'ns3::ndn::Name const &',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006318 [],
6319 is_const=True)
6320 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::IncreaseAllowedRetxCount() [member function]
6321 cls.add_method('IncreaseAllowedRetxCount',
6322 'void',
6323 [],
6324 is_virtual=True)
6325 ## ndn-pit-entry.h (module 'ndnSIM'): bool ns3::ndn::pit::Entry::IsNonceSeen(uint32_t nonce) const [member function]
6326 cls.add_method('IsNonceSeen',
6327 'bool',
6328 [param('uint32_t', 'nonce')],
6329 is_const=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006330 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::OffsetLifetime(ns3::Time const & offsetTime) [member function]
6331 cls.add_method('OffsetLifetime',
6332 'void',
6333 [param('ns3::Time const &', 'offsetTime')],
6334 is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006335 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::RemoveAllReferencesToFace(ns3::Ptr<ns3::ndn::Face> face) [member function]
6336 cls.add_method('RemoveAllReferencesToFace',
6337 'void',
6338 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
6339 is_virtual=True)
6340 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::RemoveIncoming(ns3::Ptr<ns3::ndn::Face> face) [member function]
6341 cls.add_method('RemoveIncoming',
6342 'void',
6343 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
6344 is_virtual=True)
6345 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::SetWaitingInVain(ns3::Ptr<ns3::ndn::Face> face) [member function]
6346 cls.add_method('SetWaitingInVain',
6347 'void',
6348 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
6349 is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006350 ## 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 -07006351 cls.add_method('UpdateLifetime',
6352 'void',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006353 [param('ns3::Time const &', 'lifetime')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006354 is_virtual=True)
6355 return
6356
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08006357def register_Ns3NdnPitEntryIsNotEmpty_methods(root_module, cls):
6358 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::EntryIsNotEmpty::EntryIsNotEmpty() [constructor]
6359 cls.add_constructor([])
6360 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::EntryIsNotEmpty::EntryIsNotEmpty(ns3::ndn::pit::EntryIsNotEmpty const & arg0) [copy constructor]
6361 cls.add_constructor([param('ns3::ndn::pit::EntryIsNotEmpty const &', 'arg0')])
6362 ## ndn-pit-entry.h (module 'ndnSIM'): bool ns3::ndn::pit::EntryIsNotEmpty::operator()(ns3::Ptr<ns3::ndn::pit::Entry> entry) [member operator]
6363 cls.add_method('operator()',
6364 'bool',
6365 [param('ns3::Ptr< ns3::ndn::pit::Entry >', 'entry')],
6366 custom_name='__call__')
6367 return
6368
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006369def register_Ns3NdnPitIncomingFace_methods(root_module, cls):
6370 cls.add_binary_comparison_operator('==')
6371 cls.add_binary_comparison_operator('<')
6372 ## ndn-pit-entry-incoming-face.h (module 'ndnSIM'): ns3::ndn::pit::IncomingFace::IncomingFace(ns3::ndn::pit::IncomingFace const & arg0) [copy constructor]
6373 cls.add_constructor([param('ns3::ndn::pit::IncomingFace const &', 'arg0')])
6374 ## ndn-pit-entry-incoming-face.h (module 'ndnSIM'): ns3::ndn::pit::IncomingFace::IncomingFace(ns3::Ptr<ns3::ndn::Face> face) [constructor]
6375 cls.add_constructor([param('ns3::Ptr< ns3::ndn::Face >', 'face')])
6376 ## ndn-pit-entry-incoming-face.h (module 'ndnSIM'): ns3::ndn::pit::IncomingFace::IncomingFace() [constructor]
6377 cls.add_constructor([])
6378 ## ndn-pit-entry-incoming-face.h (module 'ndnSIM'): ns3::ndn::pit::IncomingFace::m_arrivalTime [variable]
6379 cls.add_instance_attribute('m_arrivalTime', 'ns3::Time', is_const=False)
6380 ## ndn-pit-entry-incoming-face.h (module 'ndnSIM'): ns3::ndn::pit::IncomingFace::m_face [variable]
6381 cls.add_instance_attribute('m_face', 'ns3::Ptr< ns3::ndn::Face >', is_const=False)
6382 return
6383
6384def register_Ns3NdnPitOutgoingFace_methods(root_module, cls):
6385 cls.add_binary_comparison_operator('==')
6386 cls.add_binary_comparison_operator('<')
6387 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::OutgoingFace(ns3::ndn::pit::OutgoingFace const & arg0) [copy constructor]
6388 cls.add_constructor([param('ns3::ndn::pit::OutgoingFace const &', 'arg0')])
6389 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::OutgoingFace(ns3::Ptr<ns3::ndn::Face> face) [constructor]
6390 cls.add_constructor([param('ns3::Ptr< ns3::ndn::Face >', 'face')])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07006391 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::OutgoingFace() [constructor]
6392 cls.add_constructor([])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006393 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): void ns3::ndn::pit::OutgoingFace::UpdateOnRetransmit() [member function]
6394 cls.add_method('UpdateOnRetransmit',
6395 'void',
6396 [])
6397 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::m_face [variable]
6398 cls.add_instance_attribute('m_face', 'ns3::Ptr< ns3::ndn::Face >', is_const=False)
6399 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::m_retxCount [variable]
6400 cls.add_instance_attribute('m_retxCount', 'uint32_t', is_const=False)
6401 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::m_sendTime [variable]
6402 cls.add_instance_attribute('m_sendTime', 'ns3::Time', is_const=False)
6403 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::m_waitingInVain [variable]
6404 cls.add_instance_attribute('m_waitingInVain', 'bool', is_const=False)
6405 return
6406
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006407def register_Ns3NdnPitI_face_methods(root_module, cls):
6408 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::i_face::i_face() [constructor]
6409 cls.add_constructor([])
6410 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::i_face::i_face(ns3::ndn::pit::i_face const & arg0) [copy constructor]
6411 cls.add_constructor([param('ns3::ndn::pit::i_face const &', 'arg0')])
6412 return
6413
6414def register_Ns3NdnPitI_retx_methods(root_module, cls):
6415 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::i_retx::i_retx() [constructor]
6416 cls.add_constructor([])
6417 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::i_retx::i_retx(ns3::ndn::pit::i_retx const & arg0) [copy constructor]
6418 cls.add_constructor([param('ns3::ndn::pit::i_retx const &', 'arg0')])
6419 return
6420
Alexander Afanasyev381dea02011-11-03 08:33:26 -07006421def register_functions(root_module):
6422 module = root_module
Alexander Afanasyev381dea02011-11-03 08:33:26 -07006423 register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module)
6424 register_functions_ns3_internal(module.get_submodule('internal'), root_module)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006425 register_functions_ns3_ndn(module.get_submodule('ndn'), root_module)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07006426 return
6427
Alexander Afanasyev381dea02011-11-03 08:33:26 -07006428def register_functions_ns3_FatalImpl(module, root_module):
6429 return
6430
6431def register_functions_ns3_internal(module, root_module):
6432 return
6433
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006434def register_functions_ns3_ndn(module, root_module):
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08006435 ## ndn-name.h (module 'ndnSIM'): extern ns3::Ptr<ns3::AttributeChecker const> ns3::ndn::MakeNameChecker() [free function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08006436 module.add_function('MakeNameChecker',
6437 'ns3::Ptr< ns3::AttributeChecker const >',
6438 [])
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07006439 ## ndn-name.h (module 'ndnSIM'): extern ns3::Ptr<ns3::AttributeChecker const> ns3::ndn::MakeNameChecker() [free function]
6440 module.add_function('MakeNameChecker',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006441 'ns3::Ptr< ns3::AttributeChecker const >',
6442 [])
6443 register_functions_ns3_ndn_cs(module.get_submodule('cs'), root_module)
6444 register_functions_ns3_ndn_fib(module.get_submodule('fib'), root_module)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006445 register_functions_ns3_ndn_fw(module.get_submodule('fw'), root_module)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006446 register_functions_ns3_ndn_pit(module.get_submodule('pit'), root_module)
6447 return
6448
6449def register_functions_ns3_ndn_cs(module, root_module):
6450 return
6451
6452def register_functions_ns3_ndn_fib(module, root_module):
6453 return
6454
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006455def register_functions_ns3_ndn_fw(module, root_module):
6456 return
6457
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006458def register_functions_ns3_ndn_pit(module, root_module):
6459 return
6460
Alexander Afanasyev381dea02011-11-03 08:33:26 -07006461def main():
6462 out = FileCodeSink(sys.stdout)
6463 root_module = module_init()
6464 register_types(root_module)
6465 register_methods(root_module)
6466 register_functions(root_module)
6467 root_module.generate(out)
6468
6469if __name__ == '__main__':
6470 main()
6471