blob: c0726101678c2fbcdd500ca36153b0d957589dfd [file] [log] [blame]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001from 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 Afanasyevaa032ea2011-12-13 12:38:32 -080018 return root_module
19
20def register_types(module):
21 root_module = module.get_root()
22
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -080023 ## 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 Afanasyevaa032ea2011-12-13 12:38:32 -080029 ## 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 Afanasyevaa032ea2011-12-13 12:38:32 -080049 ## 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 Afanasyevaa032ea2011-12-13 12:38:32 -080065 ## 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 Afanasyevaa032ea2011-12-13 12:38:32 -080097 ## 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 Afanasyev76b11572013-07-16 21:49:50 -070099 ## simulator.h (module 'core'): ns3::Simulator [class]
100 module.add_class('Simulator', destructor_visibility='private', import_from_module='ns.core')
Alexander Afanasyevad5acce2012-05-31 12:43:08 -0700101 ## tag.h (module 'network'): ns3::Tag [class]
102 module.add_class('Tag', import_from_module='ns.network', parent=root_module['ns3::ObjectBase'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800103 ## tag-buffer.h (module 'network'): ns3::TagBuffer [class]
104 module.add_class('TagBuffer', import_from_module='ns.network')
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -0700105 ## traced-value.h (module 'core'): ns3::TracedValue<ns3::ndn::fib::FaceMetric::Status> [class]
106 module.add_class('TracedValue', template_parameters=['ns3::ndn::fib::FaceMetric::Status'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700107 ## random-variable.h (module 'core'): ns3::TriangularVariable [class]
108 module.add_class('TriangularVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800109 ## type-id.h (module 'core'): ns3::TypeId [class]
110 module.add_class('TypeId', import_from_module='ns.core')
111 ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration]
112 module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core')
113 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct]
114 module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId'])
115 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct]
116 module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700117 ## random-variable.h (module 'core'): ns3::UniformVariable [class]
118 module.add_class('UniformVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700119 ## random-variable.h (module 'core'): ns3::WeibullVariable [class]
120 module.add_class('WeibullVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
121 ## random-variable.h (module 'core'): ns3::ZetaVariable [class]
122 module.add_class('ZetaVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
123 ## random-variable.h (module 'core'): ns3::ZipfVariable [class]
124 module.add_class('ZipfVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800125 ## empty.h (module 'core'): ns3::empty [class]
126 module.add_class('empty', import_from_module='ns.core')
127 ## int64x64-double.h (module 'core'): ns3::int64x64_t [class]
128 module.add_class('int64x64_t', import_from_module='ns.core')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800129 ## chunk.h (module 'network'): ns3::Chunk [class]
Alexander Afanasyev4756b892012-04-18 14:48:43 -0700130 module.add_class('Chunk', import_from_module='ns.network', parent=root_module['ns3::ObjectBase'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700131 ## random-variable.h (module 'core'): ns3::ConstantVariable [class]
132 module.add_class('ConstantVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
133 ## random-variable.h (module 'core'): ns3::DeterministicVariable [class]
134 module.add_class('DeterministicVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
135 ## random-variable.h (module 'core'): ns3::EmpiricalVariable [class]
136 module.add_class('EmpiricalVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
137 ## random-variable.h (module 'core'): ns3::ErlangVariable [class]
138 module.add_class('ErlangVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
139 ## random-variable.h (module 'core'): ns3::ExponentialVariable [class]
140 module.add_class('ExponentialVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
141 ## random-variable.h (module 'core'): ns3::GammaVariable [class]
142 module.add_class('GammaVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800143 ## header.h (module 'network'): ns3::Header [class]
144 module.add_class('Header', import_from_module='ns.network', parent=root_module['ns3::Chunk'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700145 ## random-variable.h (module 'core'): ns3::IntEmpiricalVariable [class]
146 module.add_class('IntEmpiricalVariable', import_from_module='ns.core', parent=root_module['ns3::EmpiricalVariable'])
147 ## random-variable.h (module 'core'): ns3::LogNormalVariable [class]
148 module.add_class('LogNormalVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
149 ## random-variable.h (module 'core'): ns3::NormalVariable [class]
150 module.add_class('NormalVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800151 ## object.h (module 'core'): ns3::Object [class]
152 module.add_class('Object', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >'])
153 ## object.h (module 'core'): ns3::Object::AggregateIterator [class]
154 module.add_class('AggregateIterator', import_from_module='ns.core', outer_class=root_module['ns3::Object'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700155 ## random-variable.h (module 'core'): ns3::ParetoVariable [class]
156 module.add_class('ParetoVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800157 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> > [class]
158 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::AttributeAccessor', 'ns3::empty', 'ns3::DefaultDeleter<ns3::AttributeAccessor>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
159 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> > [class]
160 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::AttributeChecker', 'ns3::empty', 'ns3::DefaultDeleter<ns3::AttributeChecker>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
161 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> > [class]
162 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::AttributeValue', 'ns3::empty', 'ns3::DefaultDeleter<ns3::AttributeValue>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
163 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> > [class]
164 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::CallbackImplBase', 'ns3::empty', 'ns3::DefaultDeleter<ns3::CallbackImplBase>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800165 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> > [class]
166 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::EventImpl', 'ns3::empty', 'ns3::DefaultDeleter<ns3::EventImpl>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
167 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> > [class]
168 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::NixVector', 'ns3::empty', 'ns3::DefaultDeleter<ns3::NixVector>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800169 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> > [class]
170 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Packet', 'ns3::empty', 'ns3::DefaultDeleter<ns3::Packet>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700171 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TopologyReader, ns3::empty, ns3::DefaultDeleter<ns3::TopologyReader> > [class]
172 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::TopologyReader', 'ns3::empty', 'ns3::DefaultDeleter<ns3::TopologyReader>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800173 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> > [class]
174 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::TraceSourceAccessor', 'ns3::empty', 'ns3::DefaultDeleter<ns3::TraceSourceAccessor>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyev858d5312013-07-10 18:50:18 -0700175 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::ContentObject, ns3::empty, ns3::DefaultDeleter<ns3::ndn::ContentObject> > [class]
176 module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::ndn::ContentObject', 'ns3::empty', 'ns3::DefaultDeleter<ns3::ndn::ContentObject>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700177 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::FaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::ndn::FaceContainer> > [class]
178 module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::ndn::FaceContainer', 'ns3::empty', 'ns3::DefaultDeleter<ns3::ndn::FaceContainer>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyev858d5312013-07-10 18:50:18 -0700179 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::Interest, ns3::empty, ns3::DefaultDeleter<ns3::ndn::Interest> > [class]
180 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::ndn::Interest', 'ns3::empty', 'ns3::DefaultDeleter<ns3::ndn::Interest>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyev32c07562013-02-01 12:58:43 -0800181 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::Name, ns3::empty, ns3::DefaultDeleter<ns3::ndn::Name> > [class]
182 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 -0700183 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::cs::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::cs::Entry> > [class]
184 module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::ndn::cs::Entry', 'ns3::empty', 'ns3::DefaultDeleter<ns3::ndn::cs::Entry>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700185 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::pit::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::pit::Entry> > [class]
186 module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::ndn::pit::Entry', 'ns3::empty', 'ns3::DefaultDeleter<ns3::ndn::pit::Entry>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800187 ## nstime.h (module 'core'): ns3::Time [class]
188 module.add_class('Time', import_from_module='ns.core')
189 ## nstime.h (module 'core'): ns3::Time::Unit [enumeration]
190 module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core')
191 ## nstime.h (module 'core'): ns3::Time [class]
192 root_module['ns3::Time'].implicitly_converts_to(root_module['ns3::int64x64_t'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700193 ## topology-reader.h (module 'topology-read'): ns3::TopologyReader [class]
194 module.add_class('TopologyReader', import_from_module='ns.topology_read', parent=root_module['ns3::SimpleRefCount< ns3::TopologyReader, ns3::empty, ns3::DefaultDeleter<ns3::TopologyReader> >'])
195 ## topology-reader.h (module 'topology-read'): ns3::TopologyReader::Link [class]
196 module.add_class('Link', import_from_module='ns.topology_read', outer_class=root_module['ns3::TopologyReader'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800197 ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor [class]
198 module.add_class('TraceSourceAccessor', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
199 ## trailer.h (module 'network'): ns3::Trailer [class]
200 module.add_class('Trailer', import_from_module='ns.network', parent=root_module['ns3::Chunk'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700201 ## annotated-topology-reader.h (module 'ndnSIM'): ns3::AnnotatedTopologyReader [class]
202 module.add_class('AnnotatedTopologyReader', parent=root_module['ns3::TopologyReader'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800203 ## application.h (module 'network'): ns3::Application [class]
204 module.add_class('Application', import_from_module='ns.network', parent=root_module['ns3::Object'])
205 ## attribute.h (module 'core'): ns3::AttributeAccessor [class]
206 module.add_class('AttributeAccessor', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >'])
207 ## attribute.h (module 'core'): ns3::AttributeChecker [class]
208 module.add_class('AttributeChecker', allow_subclassing=False, automatic_type_narrowing=True, import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >'])
209 ## attribute.h (module 'core'): ns3::AttributeValue [class]
210 module.add_class('AttributeValue', allow_subclassing=False, automatic_type_narrowing=True, import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700211 ## boolean.h (module 'core'): ns3::BooleanChecker [class]
212 module.add_class('BooleanChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
213 ## boolean.h (module 'core'): ns3::BooleanValue [class]
214 module.add_class('BooleanValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyeve4795ae2013-07-11 20:01:31 -0700215 ## callback-based-app.h (module 'ndnSIM'): ns3::CallbackBasedApp [class]
216 module.add_class('CallbackBasedApp', parent=root_module['ns3::Application'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800217 ## callback.h (module 'core'): ns3::CallbackChecker [class]
218 module.add_class('CallbackChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
219 ## callback.h (module 'core'): ns3::CallbackImplBase [class]
220 module.add_class('CallbackImplBase', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >'])
221 ## callback.h (module 'core'): ns3::CallbackValue [class]
222 module.add_class('CallbackValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700223 ## double.h (module 'core'): ns3::DoubleValue [class]
224 module.add_class('DoubleValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800225 ## attribute.h (module 'core'): ns3::EmptyAttributeValue [class]
226 module.add_class('EmptyAttributeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700227 ## enum.h (module 'core'): ns3::EnumChecker [class]
228 module.add_class('EnumChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
229 ## enum.h (module 'core'): ns3::EnumValue [class]
230 module.add_class('EnumValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800231 ## event-impl.h (module 'core'): ns3::EventImpl [class]
232 module.add_class('EventImpl', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >'])
233 ## integer.h (module 'core'): ns3::IntegerValue [class]
234 module.add_class('IntegerValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
235 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker [class]
236 module.add_class('Ipv4AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
237 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue [class]
238 module.add_class('Ipv4AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
239 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker [class]
240 module.add_class('Ipv4MaskChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
241 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue [class]
242 module.add_class('Ipv4MaskValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
243 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker [class]
244 module.add_class('Ipv6AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
245 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue [class]
246 module.add_class('Ipv6AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
247 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker [class]
248 module.add_class('Ipv6PrefixChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
249 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue [class]
250 module.add_class('Ipv6PrefixValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800251 ## net-device.h (module 'network'): ns3::NetDevice [class]
252 module.add_class('NetDevice', import_from_module='ns.network', parent=root_module['ns3::Object'])
253 ## net-device.h (module 'network'): ns3::NetDevice::PacketType [enumeration]
254 module.add_enum('PacketType', ['PACKET_HOST', 'NS3_PACKET_HOST', 'PACKET_BROADCAST', 'NS3_PACKET_BROADCAST', 'PACKET_MULTICAST', 'NS3_PACKET_MULTICAST', 'PACKET_OTHERHOST', 'NS3_PACKET_OTHERHOST'], outer_class=root_module['ns3::NetDevice'], import_from_module='ns.network')
255 ## nix-vector.h (module 'network'): ns3::NixVector [class]
256 module.add_class('NixVector', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >'])
257 ## node.h (module 'network'): ns3::Node [class]
258 module.add_class('Node', import_from_module='ns.network', parent=root_module['ns3::Object'])
259 ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker [class]
260 module.add_class('ObjectFactoryChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
261 ## object-factory.h (module 'core'): ns3::ObjectFactoryValue [class]
262 module.add_class('ObjectFactoryValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800263 ## packet.h (module 'network'): ns3::Packet [class]
264 module.add_class('Packet', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700265 ## random-variable.h (module 'core'): ns3::RandomVariableChecker [class]
266 module.add_class('RandomVariableChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
267 ## random-variable.h (module 'core'): ns3::RandomVariableValue [class]
268 module.add_class('RandomVariableValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
269 ## rocketfuel-weights-reader.h (module 'ndnSIM'): ns3::RocketfuelWeightsReader [class]
270 module.add_class('RocketfuelWeightsReader', parent=root_module['ns3::AnnotatedTopologyReader'])
271 ## rocketfuel-weights-reader.h (module 'ndnSIM'): ns3::RocketfuelWeightsReader [enumeration]
272 module.add_enum('', ['LINKS', 'WEIGHTS', 'LATENCIES', 'POSITIONS'], outer_class=root_module['ns3::RocketfuelWeightsReader'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800273 ## nstime.h (module 'core'): ns3::TimeChecker [class]
274 module.add_class('TimeChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
275 ## nstime.h (module 'core'): ns3::TimeValue [class]
276 module.add_class('TimeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
277 ## type-id.h (module 'core'): ns3::TypeIdChecker [class]
278 module.add_class('TypeIdChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
279 ## type-id.h (module 'core'): ns3::TypeIdValue [class]
280 module.add_class('TypeIdValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700281 ## uinteger.h (module 'core'): ns3::UintegerValue [class]
282 module.add_class('UintegerValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800283 ## address.h (module 'network'): ns3::AddressChecker [class]
284 module.add_class('AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
285 ## address.h (module 'network'): ns3::AddressValue [class]
286 module.add_class('AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700287 module.add_container('std::map< std::string, std::string >', ('std::string', 'std::string'), container_type='map')
288 module.add_container('std::list< ns3::TopologyReader::Link >', 'ns3::TopologyReader::Link', container_type='list')
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -0700289 typehandlers.add_type_alias('ns3::SequenceNumber< short unsigned int, short int >', 'ns3::SequenceNumber16')
290 typehandlers.add_type_alias('ns3::SequenceNumber< short unsigned int, short int >*', 'ns3::SequenceNumber16*')
291 typehandlers.add_type_alias('ns3::SequenceNumber< short unsigned int, short int >&', 'ns3::SequenceNumber16&')
292 typehandlers.add_type_alias('ns3::SequenceNumber< unsigned int, int >', 'ns3::SequenceNumber32')
293 typehandlers.add_type_alias('ns3::SequenceNumber< unsigned int, int >*', 'ns3::SequenceNumber32*')
294 typehandlers.add_type_alias('ns3::SequenceNumber< unsigned int, int >&', 'ns3::SequenceNumber32&')
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700295 typehandlers.add_type_alias('ns3::RngSeedManager', 'ns3::SeedManager')
296 typehandlers.add_type_alias('ns3::RngSeedManager*', 'ns3::SeedManager*')
297 typehandlers.add_type_alias('ns3::RngSeedManager&', 'ns3::SeedManager&')
298 module.add_typedef(root_module['ns3::RngSeedManager'], 'SeedManager')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800299
300 ## Register a nested module for the namespace FatalImpl
301
302 nested_module = module.add_cpp_namespace('FatalImpl')
303 register_types_ns3_FatalImpl(nested_module)
304
305
306 ## Register a nested module for the namespace internal
307
308 nested_module = module.add_cpp_namespace('internal')
309 register_types_ns3_internal(nested_module)
310
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700311
312 ## Register a nested module for the namespace ndn
313
314 nested_module = module.add_cpp_namespace('ndn')
315 register_types_ns3_ndn(nested_module)
316
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800317
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800318def register_types_ns3_FatalImpl(module):
319 root_module = module.get_root()
320
321
322def register_types_ns3_internal(module):
323 root_module = module.get_root()
324
325
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700326def register_types_ns3_ndn(module):
327 root_module = module.get_root()
328
329 ## ndn-app.h (module 'ndnSIM'): ns3::ndn::App [class]
330 module.add_class('App', parent=root_module['ns3::Application'])
331 ## ndn-app-helper.h (module 'ndnSIM'): ns3::ndn::AppHelper [class]
332 module.add_class('AppHelper')
Alexander Afanasyev76b11572013-07-16 21:49:50 -0700333 ## blob.h (module 'ndnSIM'): ns3::ndn::Blob [class]
334 module.add_class('Blob')
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -0700335 ## ndn-content-object.h (module 'ndnSIM'): ns3::ndn::ContentObject [class]
Alexander Afanasyev858d5312013-07-10 18:50:18 -0700336 module.add_class('ContentObject', parent=root_module['ns3::SimpleRefCount< ns3::ndn::ContentObject, ns3::empty, ns3::DefaultDeleter<ns3::ndn::ContentObject> >'])
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -0700337 ## ndn-content-object.h (module 'ndnSIM'): ns3::ndn::ContentObjectException [class]
338 module.add_class('ContentObjectException')
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700339 ## ndn-content-store.h (module 'ndnSIM'): ns3::ndn::ContentStore [class]
340 module.add_class('ContentStore', parent=root_module['ns3::Object'])
Alexander Afanasyev76b11572013-07-16 21:49:50 -0700341 ## exclude.h (module 'ndnSIM'): ns3::ndn::Exclude [class]
342 module.add_class('Exclude')
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700343 ## ndn-face.h (module 'ndnSIM'): ns3::ndn::Face [class]
344 module.add_class('Face', parent=root_module['ns3::Object'])
Alexander Afanasyev858d5312013-07-10 18:50:18 -0700345 ## ndn-face.h (module 'ndnSIM'): ns3::ndn::Face::Flags [enumeration]
346 module.add_enum('Flags', ['APPLICATION'], outer_class=root_module['ns3::ndn::Face'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700347 ## ndn-face-container.h (module 'ndnSIM'): ns3::ndn::FaceContainer [class]
348 module.add_class('FaceContainer', parent=root_module['ns3::SimpleRefCount< ns3::ndn::FaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::ndn::FaceContainer> >'])
349 ## ndn-fib.h (module 'ndnSIM'): ns3::ndn::Fib [class]
350 module.add_class('Fib', parent=root_module['ns3::Object'])
351 ## ndn-forwarding-strategy.h (module 'ndnSIM'): ns3::ndn::ForwardingStrategy [class]
352 module.add_class('ForwardingStrategy', parent=root_module['ns3::Object'])
353 ## ndn-global-routing-helper.h (module 'ndnSIM'): ns3::ndn::GlobalRoutingHelper [class]
354 module.add_class('GlobalRoutingHelper')
355 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::HeaderHelper [class]
356 module.add_class('HeaderHelper')
357 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::HeaderHelper::Type [enumeration]
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -0800358 module.add_enum('Type', ['INTEREST_CCNB', 'CONTENT_OBJECT_CCNB', 'INTEREST_NDNSIM', 'CONTENT_OBJECT_NDNSIM'], outer_class=root_module['ns3::ndn::HeaderHelper'])
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -0700359 ## ndn-interest.h (module 'ndnSIM'): ns3::ndn::Interest [class]
Alexander Afanasyev858d5312013-07-10 18:50:18 -0700360 module.add_class('Interest', parent=root_module['ns3::SimpleRefCount< ns3::ndn::Interest, ns3::empty, ns3::DefaultDeleter<ns3::ndn::Interest> >'])
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -0700361 ## ndn-interest.h (module 'ndnSIM'): ns3::ndn::Interest [enumeration]
362 module.add_enum('', ['NORMAL_INTEREST', 'NACK_LOOP', 'NACK_CONGESTION', 'NACK_GIVEUP_PIT'], outer_class=root_module['ns3::ndn::Interest'])
363 ## ndn-interest.h (module 'ndnSIM'): ns3::ndn::InterestException [class]
364 module.add_class('InterestException')
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700365 ## ndn-l3-protocol.h (module 'ndnSIM'): ns3::ndn::L3Protocol [class]
366 module.add_class('L3Protocol', parent=root_module['ns3::Object'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700367 ## ndn-limits.h (module 'ndnSIM'): ns3::ndn::Limits [class]
368 module.add_class('Limits', parent=root_module['ns3::Object'])
Alexander Afanasyev76b11572013-07-16 21:49:50 -0700369 ## name.h (module 'ndnSIM'): ns3::ndn::Name [class]
Alexander Afanasyev32c07562013-02-01 12:58:43 -0800370 module.add_class('Name', parent=root_module['ns3::SimpleRefCount< ns3::ndn::Name, ns3::empty, ns3::DefaultDeleter<ns3::ndn::Name> >'])
Alexander Afanasyev76b11572013-07-16 21:49:50 -0700371 ## name.h (module 'ndnSIM'): ns3::ndn::NameChecker [class]
Alexander Afanasyev32c07562013-02-01 12:58:43 -0800372 module.add_class('NameChecker', parent=root_module['ns3::AttributeChecker'])
Alexander Afanasyev76b11572013-07-16 21:49:50 -0700373 ## name.h (module 'ndnSIM'): ns3::ndn::NameValue [class]
Alexander Afanasyev32c07562013-02-01 12:58:43 -0800374 module.add_class('NameValue', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700375 ## ndn-net-device-face.h (module 'ndnSIM'): ns3::ndn::NetDeviceFace [class]
376 module.add_class('NetDeviceFace', parent=root_module['ns3::ndn::Face'])
377 ## ndn-pit.h (module 'ndnSIM'): ns3::ndn::Pit [class]
378 module.add_class('Pit', parent=root_module['ns3::Object'])
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -0700379 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::ndn::RttEstimator [class]
380 module.add_class('RttEstimator', parent=root_module['ns3::Object'])
381 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::ndn::RttHistory [class]
382 module.add_class('RttHistory')
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700383 ## ndn-stack-helper.h (module 'ndnSIM'): ns3::ndn::StackHelper [class]
384 module.add_class('StackHelper')
385 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::UnknownHeaderException [class]
386 module.add_class('UnknownHeaderException')
Alexander Afanasyev76b11572013-07-16 21:49:50 -0700387 ## ndn-wire.h (module 'ndnSIM'): ns3::ndn::Wire [struct]
388 module.add_class('Wire')
389 ## ndn-wire.h (module 'ndnSIM'): ns3::ndn::Wire [enumeration]
390 module.add_enum('', ['WIRE_FORMAT_DEFAULT', 'WIRE_FORMAT_AUTODETECT', 'WIRE_FORMAT_NDNSIM', 'WIRE_FORMAT_CCNB'], outer_class=root_module['ns3::ndn::Wire'])
Alexander Afanasyeva4e74282013-07-11 15:23:20 -0700391 ## ndn-api-face.h (module 'ndnSIM'): ns3::ndn::ApiFace [class]
392 module.add_class('ApiFace', parent=root_module['ns3::ndn::Face'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700393 ## ndn-app-face.h (module 'ndnSIM'): ns3::ndn::AppFace [class]
394 module.add_class('AppFace', parent=root_module['ns3::ndn::Face'])
Alexander Afanasyev76b11572013-07-16 21:49:50 -0700395 module.add_container('std::vector< char >', 'char', container_type='vector')
396 module.add_container('std::map< ns3::ndn::name::Component, bool, std::greater< ns3::ndn::name::Component >, std::allocator< std::pair< ns3::ndn::name::Component const, bool > > >', ('ns3::ndn::name::Component', 'bool'), container_type='map')
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700397 module.add_container('std::vector< ns3::Ptr< ns3::ndn::Face > >', 'ns3::Ptr< ns3::ndn::Face >', container_type='vector')
Alexander Afanasyev298c8442013-04-14 15:18:45 -0700398 typehandlers.add_type_alias('ns3::ndn::ContentObject', 'ns3::ndn::ContentObjectHeader')
399 typehandlers.add_type_alias('ns3::ndn::ContentObject*', 'ns3::ndn::ContentObjectHeader*')
400 typehandlers.add_type_alias('ns3::ndn::ContentObject&', 'ns3::ndn::ContentObjectHeader&')
401 module.add_typedef(root_module['ns3::ndn::ContentObject'], 'ContentObjectHeader')
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -0700402 typehandlers.add_type_alias('std::deque< ns3::ndn::RttHistory, std::allocator< ns3::ndn::RttHistory > >', 'ns3::ndn::RttHistory_t')
403 typehandlers.add_type_alias('std::deque< ns3::ndn::RttHistory, std::allocator< ns3::ndn::RttHistory > >*', 'ns3::ndn::RttHistory_t*')
404 typehandlers.add_type_alias('std::deque< ns3::ndn::RttHistory, std::allocator< ns3::ndn::RttHistory > >&', 'ns3::ndn::RttHistory_t&')
Alexander Afanasyev76b11572013-07-16 21:49:50 -0700405 typehandlers.add_type_alias('ns3::Time', 'ns3::ndn::TimeInterval')
406 typehandlers.add_type_alias('ns3::Time*', 'ns3::ndn::TimeInterval*')
407 typehandlers.add_type_alias('ns3::Time&', 'ns3::ndn::TimeInterval&')
408 module.add_typedef(root_module['ns3::Time'], 'TimeInterval')
Alexander Afanasyeve5a8b5a2013-03-15 15:15:26 -0700409 typehandlers.add_type_alias('ns3::ndn::Name', 'ns3::ndn::NameComponents')
410 typehandlers.add_type_alias('ns3::ndn::Name*', 'ns3::ndn::NameComponents*')
411 typehandlers.add_type_alias('ns3::ndn::Name&', 'ns3::ndn::NameComponents&')
412 module.add_typedef(root_module['ns3::ndn::Name'], 'NameComponents')
Alexander Afanasyev76b11572013-07-16 21:49:50 -0700413 typehandlers.add_type_alias('ns3::ndn::Interest', 'ns3::ndn::InterestHeader')
414 typehandlers.add_type_alias('ns3::ndn::Interest*', 'ns3::ndn::InterestHeader*')
415 typehandlers.add_type_alias('ns3::ndn::Interest&', 'ns3::ndn::InterestHeader&')
416 module.add_typedef(root_module['ns3::ndn::Interest'], 'InterestHeader')
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700417
418 ## Register a nested module for the namespace cs
419
420 nested_module = module.add_cpp_namespace('cs')
421 register_types_ns3_ndn_cs(nested_module)
422
423
424 ## Register a nested module for the namespace fib
425
426 nested_module = module.add_cpp_namespace('fib')
427 register_types_ns3_ndn_fib(nested_module)
428
429
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700430 ## Register a nested module for the namespace fw
431
432 nested_module = module.add_cpp_namespace('fw')
433 register_types_ns3_ndn_fw(nested_module)
434
435
Alexander Afanasyev76b11572013-07-16 21:49:50 -0700436 ## Register a nested module for the namespace name
437
438 nested_module = module.add_cpp_namespace('name')
439 register_types_ns3_ndn_name(nested_module)
440
441
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700442 ## Register a nested module for the namespace pit
443
444 nested_module = module.add_cpp_namespace('pit')
445 register_types_ns3_ndn_pit(nested_module)
446
Alexander Afanasyeva6cc9102013-07-15 18:44:24 -0700447
Alexander Afanasyev76b11572013-07-16 21:49:50 -0700448 ## Register a nested module for the namespace time
Alexander Afanasyeva6cc9102013-07-15 18:44:24 -0700449
Alexander Afanasyev76b11572013-07-16 21:49:50 -0700450 nested_module = module.add_cpp_namespace('time')
451 register_types_ns3_ndn_time(nested_module)
Alexander Afanasyeva6cc9102013-07-15 18:44:24 -0700452
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700453
454def register_types_ns3_ndn_cs(module):
455 root_module = module.get_root()
456
457 ## ndn-content-store.h (module 'ndnSIM'): ns3::ndn::cs::Entry [class]
458 module.add_class('Entry', parent=root_module['ns3::SimpleRefCount< ns3::ndn::cs::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::cs::Entry> >'])
459
460def register_types_ns3_ndn_fib(module):
461 root_module = module.get_root()
462
463 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry [class]
Alexander Afanasyevf5c07742012-10-31 13:13:05 -0700464 module.add_class('Entry', parent=root_module['ns3::Object'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700465 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::NoFaces [class]
466 module.add_class('NoFaces', outer_class=root_module['ns3::ndn::fib::Entry'])
467 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric [class]
468 module.add_class('FaceMetric')
469 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric::Status [enumeration]
470 module.add_enum('Status', ['NDN_FIB_GREEN', 'NDN_FIB_YELLOW', 'NDN_FIB_RED'], outer_class=root_module['ns3::ndn::fib::FaceMetric'])
471 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetricContainer [struct]
472 module.add_class('FaceMetricContainer')
473 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_face [class]
474 module.add_class('i_face')
475 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_metric [class]
476 module.add_class('i_metric')
477 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_nth [class]
478 module.add_class('i_nth')
479
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700480def register_types_ns3_ndn_fw(module):
481 root_module = module.get_root()
482
483 ## ndn-fw-tag.h (module 'ndnSIM'): ns3::ndn::fw::Tag [class]
484 module.add_class('Tag')
485
Alexander Afanasyev76b11572013-07-16 21:49:50 -0700486def register_types_ns3_ndn_name(module):
487 root_module = module.get_root()
488
489 ## name-component.h (module 'ndnSIM'): ns3::ndn::name::Component [class]
490 module.add_class('Component', parent=root_module['ns3::ndn::Blob'])
491
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700492def register_types_ns3_ndn_pit(module):
493 root_module = module.get_root()
494
495 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::Entry [class]
496 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 -0800497 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::EntryIsNotEmpty [struct]
498 module.add_class('EntryIsNotEmpty')
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700499 ## ndn-pit-entry-incoming-face.h (module 'ndnSIM'): ns3::ndn::pit::IncomingFace [struct]
500 module.add_class('IncomingFace')
501 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace [struct]
502 module.add_class('OutgoingFace')
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700503 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::i_face [class]
504 module.add_class('i_face')
505 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::i_retx [class]
506 module.add_class('i_retx')
507 module.add_container('std::set< ns3::ndn::pit::IncomingFace >', 'ns3::ndn::pit::IncomingFace', container_type='set')
Alexander Afanasyevc202fd92012-09-03 21:46:00 -0700508 module.add_container('std::set< ns3::ndn::pit::OutgoingFace >', 'ns3::ndn::pit::OutgoingFace', container_type='set')
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700509 module.add_container('std::set< unsigned int >', 'unsigned int', container_type='set')
510
Alexander Afanasyev76b11572013-07-16 21:49:50 -0700511def register_types_ns3_ndn_time(module):
Alexander Afanasyeva6cc9102013-07-15 18:44:24 -0700512 root_module = module.get_root()
513
Alexander Afanasyeva6cc9102013-07-15 18:44:24 -0700514
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800515def register_methods(root_module):
516 register_Ns3Address_methods(root_module, root_module['ns3::Address'])
517 register_Ns3ApplicationContainer_methods(root_module, root_module['ns3::ApplicationContainer'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800518 register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList'])
519 register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item'])
520 register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer'])
521 register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator'])
522 register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator'])
523 register_Ns3ByteTagIteratorItem_methods(root_module, root_module['ns3::ByteTagIterator::Item'])
524 register_Ns3ByteTagList_methods(root_module, root_module['ns3::ByteTagList'])
525 register_Ns3ByteTagListIterator_methods(root_module, root_module['ns3::ByteTagList::Iterator'])
526 register_Ns3ByteTagListIteratorItem_methods(root_module, root_module['ns3::ByteTagList::Iterator::Item'])
527 register_Ns3CallbackBase_methods(root_module, root_module['ns3::CallbackBase'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800528 register_Ns3EventId_methods(root_module, root_module['ns3::EventId'])
529 register_Ns3Ipv4Address_methods(root_module, root_module['ns3::Ipv4Address'])
530 register_Ns3Ipv4Mask_methods(root_module, root_module['ns3::Ipv4Mask'])
531 register_Ns3Ipv6Address_methods(root_module, root_module['ns3::Ipv6Address'])
532 register_Ns3Ipv6Prefix_methods(root_module, root_module['ns3::Ipv6Prefix'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700533 register_Ns3NetDeviceContainer_methods(root_module, root_module['ns3::NetDeviceContainer'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800534 register_Ns3NodeContainer_methods(root_module, root_module['ns3::NodeContainer'])
535 register_Ns3ObjectBase_methods(root_module, root_module['ns3::ObjectBase'])
536 register_Ns3ObjectDeleter_methods(root_module, root_module['ns3::ObjectDeleter'])
537 register_Ns3ObjectFactory_methods(root_module, root_module['ns3::ObjectFactory'])
538 register_Ns3PacketMetadata_methods(root_module, root_module['ns3::PacketMetadata'])
539 register_Ns3PacketMetadataItem_methods(root_module, root_module['ns3::PacketMetadata::Item'])
540 register_Ns3PacketMetadataItemIterator_methods(root_module, root_module['ns3::PacketMetadata::ItemIterator'])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -0700541 register_Ns3PacketTagIterator_methods(root_module, root_module['ns3::PacketTagIterator'])
542 register_Ns3PacketTagIteratorItem_methods(root_module, root_module['ns3::PacketTagIterator::Item'])
543 register_Ns3PacketTagList_methods(root_module, root_module['ns3::PacketTagList'])
544 register_Ns3PacketTagListTagData_methods(root_module, root_module['ns3::PacketTagList::TagData'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700545 register_Ns3RandomVariable_methods(root_module, root_module['ns3::RandomVariable'])
546 register_Ns3RngSeedManager_methods(root_module, root_module['ns3::RngSeedManager'])
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -0700547 register_Ns3SequenceNumber32_methods(root_module, root_module['ns3::SequenceNumber32'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700548 register_Ns3SequentialVariable_methods(root_module, root_module['ns3::SequentialVariable'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800549 register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >'])
Alexander Afanasyev76b11572013-07-16 21:49:50 -0700550 register_Ns3Simulator_methods(root_module, root_module['ns3::Simulator'])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -0700551 register_Ns3Tag_methods(root_module, root_module['ns3::Tag'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800552 register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer'])
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -0700553 register_Ns3TracedValue__Ns3NdnFibFaceMetricStatus_methods(root_module, root_module['ns3::TracedValue< ns3::ndn::fib::FaceMetric::Status >'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700554 register_Ns3TriangularVariable_methods(root_module, root_module['ns3::TriangularVariable'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800555 register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId'])
556 register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation'])
557 register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700558 register_Ns3UniformVariable_methods(root_module, root_module['ns3::UniformVariable'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700559 register_Ns3WeibullVariable_methods(root_module, root_module['ns3::WeibullVariable'])
560 register_Ns3ZetaVariable_methods(root_module, root_module['ns3::ZetaVariable'])
561 register_Ns3ZipfVariable_methods(root_module, root_module['ns3::ZipfVariable'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800562 register_Ns3Empty_methods(root_module, root_module['ns3::empty'])
563 register_Ns3Int64x64_t_methods(root_module, root_module['ns3::int64x64_t'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800564 register_Ns3Chunk_methods(root_module, root_module['ns3::Chunk'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700565 register_Ns3ConstantVariable_methods(root_module, root_module['ns3::ConstantVariable'])
566 register_Ns3DeterministicVariable_methods(root_module, root_module['ns3::DeterministicVariable'])
567 register_Ns3EmpiricalVariable_methods(root_module, root_module['ns3::EmpiricalVariable'])
568 register_Ns3ErlangVariable_methods(root_module, root_module['ns3::ErlangVariable'])
569 register_Ns3ExponentialVariable_methods(root_module, root_module['ns3::ExponentialVariable'])
570 register_Ns3GammaVariable_methods(root_module, root_module['ns3::GammaVariable'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800571 register_Ns3Header_methods(root_module, root_module['ns3::Header'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700572 register_Ns3IntEmpiricalVariable_methods(root_module, root_module['ns3::IntEmpiricalVariable'])
573 register_Ns3LogNormalVariable_methods(root_module, root_module['ns3::LogNormalVariable'])
574 register_Ns3NormalVariable_methods(root_module, root_module['ns3::NormalVariable'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800575 register_Ns3Object_methods(root_module, root_module['ns3::Object'])
576 register_Ns3ObjectAggregateIterator_methods(root_module, root_module['ns3::Object::AggregateIterator'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700577 register_Ns3ParetoVariable_methods(root_module, root_module['ns3::ParetoVariable'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800578 register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >'])
579 register_Ns3SimpleRefCount__Ns3AttributeChecker_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeChecker__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >'])
580 register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeValue__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >'])
581 register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__lt__ns3CallbackImplBase__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800582 register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >'])
583 register_Ns3SimpleRefCount__Ns3NixVector_Ns3Empty_Ns3DefaultDeleter__lt__ns3NixVector__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800584 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 -0700585 register_Ns3SimpleRefCount__Ns3TopologyReader_Ns3Empty_Ns3DefaultDeleter__lt__ns3TopologyReader__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TopologyReader, ns3::empty, ns3::DefaultDeleter<ns3::TopologyReader> >'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800586 register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
Alexander Afanasyev858d5312013-07-10 18:50:18 -0700587 register_Ns3SimpleRefCount__Ns3NdnContentObject_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnContentObject__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::ndn::ContentObject, ns3::empty, ns3::DefaultDeleter<ns3::ndn::ContentObject> >'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700588 register_Ns3SimpleRefCount__Ns3NdnFaceContainer_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnFaceContainer__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::ndn::FaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::ndn::FaceContainer> >'])
Alexander Afanasyev858d5312013-07-10 18:50:18 -0700589 register_Ns3SimpleRefCount__Ns3NdnInterest_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnInterest__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::ndn::Interest, ns3::empty, ns3::DefaultDeleter<ns3::ndn::Interest> >'])
Alexander Afanasyev32c07562013-02-01 12:58:43 -0800590 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 -0700591 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 -0700592 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 Afanasyevaa032ea2011-12-13 12:38:32 -0800593 register_Ns3Time_methods(root_module, root_module['ns3::Time'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700594 register_Ns3TopologyReader_methods(root_module, root_module['ns3::TopologyReader'])
595 register_Ns3TopologyReaderLink_methods(root_module, root_module['ns3::TopologyReader::Link'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800596 register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor'])
597 register_Ns3Trailer_methods(root_module, root_module['ns3::Trailer'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700598 register_Ns3AnnotatedTopologyReader_methods(root_module, root_module['ns3::AnnotatedTopologyReader'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800599 register_Ns3Application_methods(root_module, root_module['ns3::Application'])
600 register_Ns3AttributeAccessor_methods(root_module, root_module['ns3::AttributeAccessor'])
601 register_Ns3AttributeChecker_methods(root_module, root_module['ns3::AttributeChecker'])
602 register_Ns3AttributeValue_methods(root_module, root_module['ns3::AttributeValue'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700603 register_Ns3BooleanChecker_methods(root_module, root_module['ns3::BooleanChecker'])
604 register_Ns3BooleanValue_methods(root_module, root_module['ns3::BooleanValue'])
Alexander Afanasyeve4795ae2013-07-11 20:01:31 -0700605 register_Ns3CallbackBasedApp_methods(root_module, root_module['ns3::CallbackBasedApp'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800606 register_Ns3CallbackChecker_methods(root_module, root_module['ns3::CallbackChecker'])
607 register_Ns3CallbackImplBase_methods(root_module, root_module['ns3::CallbackImplBase'])
608 register_Ns3CallbackValue_methods(root_module, root_module['ns3::CallbackValue'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700609 register_Ns3DoubleValue_methods(root_module, root_module['ns3::DoubleValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800610 register_Ns3EmptyAttributeValue_methods(root_module, root_module['ns3::EmptyAttributeValue'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700611 register_Ns3EnumChecker_methods(root_module, root_module['ns3::EnumChecker'])
612 register_Ns3EnumValue_methods(root_module, root_module['ns3::EnumValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800613 register_Ns3EventImpl_methods(root_module, root_module['ns3::EventImpl'])
614 register_Ns3IntegerValue_methods(root_module, root_module['ns3::IntegerValue'])
615 register_Ns3Ipv4AddressChecker_methods(root_module, root_module['ns3::Ipv4AddressChecker'])
616 register_Ns3Ipv4AddressValue_methods(root_module, root_module['ns3::Ipv4AddressValue'])
617 register_Ns3Ipv4MaskChecker_methods(root_module, root_module['ns3::Ipv4MaskChecker'])
618 register_Ns3Ipv4MaskValue_methods(root_module, root_module['ns3::Ipv4MaskValue'])
619 register_Ns3Ipv6AddressChecker_methods(root_module, root_module['ns3::Ipv6AddressChecker'])
620 register_Ns3Ipv6AddressValue_methods(root_module, root_module['ns3::Ipv6AddressValue'])
621 register_Ns3Ipv6PrefixChecker_methods(root_module, root_module['ns3::Ipv6PrefixChecker'])
622 register_Ns3Ipv6PrefixValue_methods(root_module, root_module['ns3::Ipv6PrefixValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800623 register_Ns3NetDevice_methods(root_module, root_module['ns3::NetDevice'])
624 register_Ns3NixVector_methods(root_module, root_module['ns3::NixVector'])
625 register_Ns3Node_methods(root_module, root_module['ns3::Node'])
626 register_Ns3ObjectFactoryChecker_methods(root_module, root_module['ns3::ObjectFactoryChecker'])
627 register_Ns3ObjectFactoryValue_methods(root_module, root_module['ns3::ObjectFactoryValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800628 register_Ns3Packet_methods(root_module, root_module['ns3::Packet'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700629 register_Ns3RandomVariableChecker_methods(root_module, root_module['ns3::RandomVariableChecker'])
630 register_Ns3RandomVariableValue_methods(root_module, root_module['ns3::RandomVariableValue'])
631 register_Ns3RocketfuelWeightsReader_methods(root_module, root_module['ns3::RocketfuelWeightsReader'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800632 register_Ns3TimeChecker_methods(root_module, root_module['ns3::TimeChecker'])
633 register_Ns3TimeValue_methods(root_module, root_module['ns3::TimeValue'])
634 register_Ns3TypeIdChecker_methods(root_module, root_module['ns3::TypeIdChecker'])
635 register_Ns3TypeIdValue_methods(root_module, root_module['ns3::TypeIdValue'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700636 register_Ns3UintegerValue_methods(root_module, root_module['ns3::UintegerValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800637 register_Ns3AddressChecker_methods(root_module, root_module['ns3::AddressChecker'])
638 register_Ns3AddressValue_methods(root_module, root_module['ns3::AddressValue'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700639 register_Ns3NdnApp_methods(root_module, root_module['ns3::ndn::App'])
640 register_Ns3NdnAppHelper_methods(root_module, root_module['ns3::ndn::AppHelper'])
Alexander Afanasyev76b11572013-07-16 21:49:50 -0700641 register_Ns3NdnBlob_methods(root_module, root_module['ns3::ndn::Blob'])
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -0700642 register_Ns3NdnContentObject_methods(root_module, root_module['ns3::ndn::ContentObject'])
643 register_Ns3NdnContentObjectException_methods(root_module, root_module['ns3::ndn::ContentObjectException'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700644 register_Ns3NdnContentStore_methods(root_module, root_module['ns3::ndn::ContentStore'])
Alexander Afanasyev76b11572013-07-16 21:49:50 -0700645 register_Ns3NdnExclude_methods(root_module, root_module['ns3::ndn::Exclude'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700646 register_Ns3NdnFace_methods(root_module, root_module['ns3::ndn::Face'])
647 register_Ns3NdnFaceContainer_methods(root_module, root_module['ns3::ndn::FaceContainer'])
648 register_Ns3NdnFib_methods(root_module, root_module['ns3::ndn::Fib'])
649 register_Ns3NdnForwardingStrategy_methods(root_module, root_module['ns3::ndn::ForwardingStrategy'])
650 register_Ns3NdnGlobalRoutingHelper_methods(root_module, root_module['ns3::ndn::GlobalRoutingHelper'])
651 register_Ns3NdnHeaderHelper_methods(root_module, root_module['ns3::ndn::HeaderHelper'])
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -0700652 register_Ns3NdnInterest_methods(root_module, root_module['ns3::ndn::Interest'])
653 register_Ns3NdnInterestException_methods(root_module, root_module['ns3::ndn::InterestException'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700654 register_Ns3NdnL3Protocol_methods(root_module, root_module['ns3::ndn::L3Protocol'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700655 register_Ns3NdnLimits_methods(root_module, root_module['ns3::ndn::Limits'])
Alexander Afanasyev32c07562013-02-01 12:58:43 -0800656 register_Ns3NdnName_methods(root_module, root_module['ns3::ndn::Name'])
657 register_Ns3NdnNameChecker_methods(root_module, root_module['ns3::ndn::NameChecker'])
Alexander Afanasyev32c07562013-02-01 12:58:43 -0800658 register_Ns3NdnNameValue_methods(root_module, root_module['ns3::ndn::NameValue'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700659 register_Ns3NdnNetDeviceFace_methods(root_module, root_module['ns3::ndn::NetDeviceFace'])
660 register_Ns3NdnPit_methods(root_module, root_module['ns3::ndn::Pit'])
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -0700661 register_Ns3NdnRttEstimator_methods(root_module, root_module['ns3::ndn::RttEstimator'])
662 register_Ns3NdnRttHistory_methods(root_module, root_module['ns3::ndn::RttHistory'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700663 register_Ns3NdnStackHelper_methods(root_module, root_module['ns3::ndn::StackHelper'])
664 register_Ns3NdnUnknownHeaderException_methods(root_module, root_module['ns3::ndn::UnknownHeaderException'])
Alexander Afanasyev76b11572013-07-16 21:49:50 -0700665 register_Ns3NdnWire_methods(root_module, root_module['ns3::ndn::Wire'])
Alexander Afanasyeva4e74282013-07-11 15:23:20 -0700666 register_Ns3NdnApiFace_methods(root_module, root_module['ns3::ndn::ApiFace'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700667 register_Ns3NdnAppFace_methods(root_module, root_module['ns3::ndn::AppFace'])
668 register_Ns3NdnCsEntry_methods(root_module, root_module['ns3::ndn::cs::Entry'])
669 register_Ns3NdnFibEntry_methods(root_module, root_module['ns3::ndn::fib::Entry'])
670 register_Ns3NdnFibEntryNoFaces_methods(root_module, root_module['ns3::ndn::fib::Entry::NoFaces'])
671 register_Ns3NdnFibFaceMetric_methods(root_module, root_module['ns3::ndn::fib::FaceMetric'])
672 register_Ns3NdnFibFaceMetricContainer_methods(root_module, root_module['ns3::ndn::fib::FaceMetricContainer'])
673 register_Ns3NdnFibI_face_methods(root_module, root_module['ns3::ndn::fib::i_face'])
674 register_Ns3NdnFibI_metric_methods(root_module, root_module['ns3::ndn::fib::i_metric'])
675 register_Ns3NdnFibI_nth_methods(root_module, root_module['ns3::ndn::fib::i_nth'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700676 register_Ns3NdnFwTag_methods(root_module, root_module['ns3::ndn::fw::Tag'])
Alexander Afanasyev76b11572013-07-16 21:49:50 -0700677 register_Ns3NdnNameComponent_methods(root_module, root_module['ns3::ndn::name::Component'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700678 register_Ns3NdnPitEntry_methods(root_module, root_module['ns3::ndn::pit::Entry'])
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -0800679 register_Ns3NdnPitEntryIsNotEmpty_methods(root_module, root_module['ns3::ndn::pit::EntryIsNotEmpty'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700680 register_Ns3NdnPitIncomingFace_methods(root_module, root_module['ns3::ndn::pit::IncomingFace'])
681 register_Ns3NdnPitOutgoingFace_methods(root_module, root_module['ns3::ndn::pit::OutgoingFace'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700682 register_Ns3NdnPitI_face_methods(root_module, root_module['ns3::ndn::pit::i_face'])
683 register_Ns3NdnPitI_retx_methods(root_module, root_module['ns3::ndn::pit::i_retx'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800684 return
685
686def register_Ns3Address_methods(root_module, cls):
687 cls.add_binary_comparison_operator('!=')
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700688 cls.add_output_stream_operator()
Alexander Afanasyeva28ec562012-10-25 14:07:32 -0700689 cls.add_binary_comparison_operator('==')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800690 cls.add_binary_comparison_operator('<')
691 ## address.h (module 'network'): ns3::Address::Address() [constructor]
692 cls.add_constructor([])
693 ## address.h (module 'network'): ns3::Address::Address(uint8_t type, uint8_t const * buffer, uint8_t len) [constructor]
694 cls.add_constructor([param('uint8_t', 'type'), param('uint8_t const *', 'buffer'), param('uint8_t', 'len')])
695 ## address.h (module 'network'): ns3::Address::Address(ns3::Address const & address) [copy constructor]
696 cls.add_constructor([param('ns3::Address const &', 'address')])
697 ## address.h (module 'network'): bool ns3::Address::CheckCompatible(uint8_t type, uint8_t len) const [member function]
698 cls.add_method('CheckCompatible',
699 'bool',
700 [param('uint8_t', 'type'), param('uint8_t', 'len')],
701 is_const=True)
702 ## address.h (module 'network'): uint32_t ns3::Address::CopyAllFrom(uint8_t const * buffer, uint8_t len) [member function]
703 cls.add_method('CopyAllFrom',
704 'uint32_t',
705 [param('uint8_t const *', 'buffer'), param('uint8_t', 'len')])
706 ## address.h (module 'network'): uint32_t ns3::Address::CopyAllTo(uint8_t * buffer, uint8_t len) const [member function]
707 cls.add_method('CopyAllTo',
708 'uint32_t',
709 [param('uint8_t *', 'buffer'), param('uint8_t', 'len')],
710 is_const=True)
711 ## address.h (module 'network'): uint32_t ns3::Address::CopyFrom(uint8_t const * buffer, uint8_t len) [member function]
712 cls.add_method('CopyFrom',
713 'uint32_t',
714 [param('uint8_t const *', 'buffer'), param('uint8_t', 'len')])
715 ## address.h (module 'network'): uint32_t ns3::Address::CopyTo(uint8_t * buffer) const [member function]
716 cls.add_method('CopyTo',
717 'uint32_t',
718 [param('uint8_t *', 'buffer')],
719 is_const=True)
720 ## address.h (module 'network'): void ns3::Address::Deserialize(ns3::TagBuffer buffer) [member function]
721 cls.add_method('Deserialize',
722 'void',
723 [param('ns3::TagBuffer', 'buffer')])
724 ## address.h (module 'network'): uint8_t ns3::Address::GetLength() const [member function]
725 cls.add_method('GetLength',
726 'uint8_t',
727 [],
728 is_const=True)
729 ## address.h (module 'network'): uint32_t ns3::Address::GetSerializedSize() const [member function]
730 cls.add_method('GetSerializedSize',
731 'uint32_t',
732 [],
733 is_const=True)
734 ## address.h (module 'network'): bool ns3::Address::IsInvalid() const [member function]
735 cls.add_method('IsInvalid',
736 'bool',
737 [],
738 is_const=True)
739 ## address.h (module 'network'): bool ns3::Address::IsMatchingType(uint8_t type) const [member function]
740 cls.add_method('IsMatchingType',
741 'bool',
742 [param('uint8_t', 'type')],
743 is_const=True)
744 ## address.h (module 'network'): static uint8_t ns3::Address::Register() [member function]
745 cls.add_method('Register',
746 'uint8_t',
747 [],
748 is_static=True)
749 ## address.h (module 'network'): void ns3::Address::Serialize(ns3::TagBuffer buffer) const [member function]
750 cls.add_method('Serialize',
751 'void',
752 [param('ns3::TagBuffer', 'buffer')],
753 is_const=True)
754 return
755
756def register_Ns3ApplicationContainer_methods(root_module, cls):
757 ## application-container.h (module 'network'): ns3::ApplicationContainer::ApplicationContainer(ns3::ApplicationContainer const & arg0) [copy constructor]
758 cls.add_constructor([param('ns3::ApplicationContainer const &', 'arg0')])
759 ## application-container.h (module 'network'): ns3::ApplicationContainer::ApplicationContainer() [constructor]
760 cls.add_constructor([])
761 ## application-container.h (module 'network'): ns3::ApplicationContainer::ApplicationContainer(ns3::Ptr<ns3::Application> application) [constructor]
762 cls.add_constructor([param('ns3::Ptr< ns3::Application >', 'application')])
763 ## application-container.h (module 'network'): ns3::ApplicationContainer::ApplicationContainer(std::string name) [constructor]
764 cls.add_constructor([param('std::string', 'name')])
765 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Add(ns3::ApplicationContainer other) [member function]
766 cls.add_method('Add',
767 'void',
768 [param('ns3::ApplicationContainer', 'other')])
769 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Add(ns3::Ptr<ns3::Application> application) [member function]
770 cls.add_method('Add',
771 'void',
772 [param('ns3::Ptr< ns3::Application >', 'application')])
773 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Add(std::string name) [member function]
774 cls.add_method('Add',
775 'void',
776 [param('std::string', 'name')])
777 ## 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]
778 cls.add_method('Begin',
779 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Application > const, std::vector< ns3::Ptr< ns3::Application > > >',
780 [],
781 is_const=True)
782 ## 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]
783 cls.add_method('End',
784 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Application > const, std::vector< ns3::Ptr< ns3::Application > > >',
785 [],
786 is_const=True)
787 ## application-container.h (module 'network'): ns3::Ptr<ns3::Application> ns3::ApplicationContainer::Get(uint32_t i) const [member function]
788 cls.add_method('Get',
789 'ns3::Ptr< ns3::Application >',
790 [param('uint32_t', 'i')],
791 is_const=True)
792 ## application-container.h (module 'network'): uint32_t ns3::ApplicationContainer::GetN() const [member function]
793 cls.add_method('GetN',
794 'uint32_t',
795 [],
796 is_const=True)
797 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Start(ns3::Time start) [member function]
798 cls.add_method('Start',
799 'void',
800 [param('ns3::Time', 'start')])
801 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Stop(ns3::Time stop) [member function]
802 cls.add_method('Stop',
803 'void',
804 [param('ns3::Time', 'stop')])
805 return
806
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800807def register_Ns3AttributeConstructionList_methods(root_module, cls):
808 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor]
809 cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')])
810 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor]
811 cls.add_constructor([])
812 ## 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]
813 cls.add_method('Add',
814 'void',
815 [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')])
816 ## attribute-construction-list.h (module 'core'): std::_List_const_iterator<ns3::AttributeConstructionList::Item> ns3::AttributeConstructionList::Begin() const [member function]
817 cls.add_method('Begin',
818 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >',
819 [],
820 is_const=True)
821 ## attribute-construction-list.h (module 'core'): std::_List_const_iterator<ns3::AttributeConstructionList::Item> ns3::AttributeConstructionList::End() const [member function]
822 cls.add_method('End',
823 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >',
824 [],
825 is_const=True)
826 ## attribute-construction-list.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeConstructionList::Find(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
827 cls.add_method('Find',
828 'ns3::Ptr< ns3::AttributeValue >',
829 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
830 is_const=True)
831 return
832
833def register_Ns3AttributeConstructionListItem_methods(root_module, cls):
834 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor]
835 cls.add_constructor([])
836 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor]
837 cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')])
838 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable]
839 cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False)
840 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable]
841 cls.add_instance_attribute('name', 'std::string', is_const=False)
842 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable]
843 cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False)
844 return
845
846def register_Ns3Buffer_methods(root_module, cls):
847 ## buffer.h (module 'network'): ns3::Buffer::Buffer() [constructor]
848 cls.add_constructor([])
849 ## buffer.h (module 'network'): ns3::Buffer::Buffer(uint32_t dataSize) [constructor]
850 cls.add_constructor([param('uint32_t', 'dataSize')])
851 ## buffer.h (module 'network'): ns3::Buffer::Buffer(uint32_t dataSize, bool initialize) [constructor]
852 cls.add_constructor([param('uint32_t', 'dataSize'), param('bool', 'initialize')])
853 ## buffer.h (module 'network'): ns3::Buffer::Buffer(ns3::Buffer const & o) [copy constructor]
854 cls.add_constructor([param('ns3::Buffer const &', 'o')])
855 ## buffer.h (module 'network'): bool ns3::Buffer::AddAtEnd(uint32_t end) [member function]
856 cls.add_method('AddAtEnd',
857 'bool',
858 [param('uint32_t', 'end')])
859 ## buffer.h (module 'network'): void ns3::Buffer::AddAtEnd(ns3::Buffer const & o) [member function]
860 cls.add_method('AddAtEnd',
861 'void',
862 [param('ns3::Buffer const &', 'o')])
863 ## buffer.h (module 'network'): bool ns3::Buffer::AddAtStart(uint32_t start) [member function]
864 cls.add_method('AddAtStart',
865 'bool',
866 [param('uint32_t', 'start')])
867 ## buffer.h (module 'network'): ns3::Buffer::Iterator ns3::Buffer::Begin() const [member function]
868 cls.add_method('Begin',
869 'ns3::Buffer::Iterator',
870 [],
871 is_const=True)
872 ## buffer.h (module 'network'): void ns3::Buffer::CopyData(std::ostream * os, uint32_t size) const [member function]
873 cls.add_method('CopyData',
874 'void',
875 [param('std::ostream *', 'os'), param('uint32_t', 'size')],
876 is_const=True)
877 ## buffer.h (module 'network'): uint32_t ns3::Buffer::CopyData(uint8_t * buffer, uint32_t size) const [member function]
878 cls.add_method('CopyData',
879 'uint32_t',
880 [param('uint8_t *', 'buffer'), param('uint32_t', 'size')],
881 is_const=True)
882 ## buffer.h (module 'network'): ns3::Buffer ns3::Buffer::CreateFragment(uint32_t start, uint32_t length) const [member function]
883 cls.add_method('CreateFragment',
884 'ns3::Buffer',
885 [param('uint32_t', 'start'), param('uint32_t', 'length')],
886 is_const=True)
887 ## buffer.h (module 'network'): ns3::Buffer ns3::Buffer::CreateFullCopy() const [member function]
888 cls.add_method('CreateFullCopy',
889 'ns3::Buffer',
890 [],
891 is_const=True)
892 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Deserialize(uint8_t const * buffer, uint32_t size) [member function]
893 cls.add_method('Deserialize',
894 'uint32_t',
895 [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
896 ## buffer.h (module 'network'): ns3::Buffer::Iterator ns3::Buffer::End() const [member function]
897 cls.add_method('End',
898 'ns3::Buffer::Iterator',
899 [],
900 is_const=True)
901 ## buffer.h (module 'network'): int32_t ns3::Buffer::GetCurrentEndOffset() const [member function]
902 cls.add_method('GetCurrentEndOffset',
903 'int32_t',
904 [],
905 is_const=True)
906 ## buffer.h (module 'network'): int32_t ns3::Buffer::GetCurrentStartOffset() const [member function]
907 cls.add_method('GetCurrentStartOffset',
908 'int32_t',
909 [],
910 is_const=True)
911 ## buffer.h (module 'network'): uint32_t ns3::Buffer::GetSerializedSize() const [member function]
912 cls.add_method('GetSerializedSize',
913 'uint32_t',
914 [],
915 is_const=True)
916 ## buffer.h (module 'network'): uint32_t ns3::Buffer::GetSize() const [member function]
917 cls.add_method('GetSize',
918 'uint32_t',
919 [],
920 is_const=True)
921 ## buffer.h (module 'network'): uint8_t const * ns3::Buffer::PeekData() const [member function]
922 cls.add_method('PeekData',
923 'uint8_t const *',
924 [],
925 is_const=True)
926 ## buffer.h (module 'network'): void ns3::Buffer::RemoveAtEnd(uint32_t end) [member function]
927 cls.add_method('RemoveAtEnd',
928 'void',
929 [param('uint32_t', 'end')])
930 ## buffer.h (module 'network'): void ns3::Buffer::RemoveAtStart(uint32_t start) [member function]
931 cls.add_method('RemoveAtStart',
932 'void',
933 [param('uint32_t', 'start')])
934 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
935 cls.add_method('Serialize',
936 'uint32_t',
937 [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')],
938 is_const=True)
939 return
940
941def register_Ns3BufferIterator_methods(root_module, cls):
942 ## buffer.h (module 'network'): ns3::Buffer::Iterator::Iterator(ns3::Buffer::Iterator const & arg0) [copy constructor]
943 cls.add_constructor([param('ns3::Buffer::Iterator const &', 'arg0')])
944 ## buffer.h (module 'network'): ns3::Buffer::Iterator::Iterator() [constructor]
945 cls.add_constructor([])
946 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::CalculateIpChecksum(uint16_t size) [member function]
947 cls.add_method('CalculateIpChecksum',
948 'uint16_t',
949 [param('uint16_t', 'size')])
950 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::CalculateIpChecksum(uint16_t size, uint32_t initialChecksum) [member function]
951 cls.add_method('CalculateIpChecksum',
952 'uint16_t',
953 [param('uint16_t', 'size'), param('uint32_t', 'initialChecksum')])
954 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::GetDistanceFrom(ns3::Buffer::Iterator const & o) const [member function]
955 cls.add_method('GetDistanceFrom',
956 'uint32_t',
957 [param('ns3::Buffer::Iterator const &', 'o')],
958 is_const=True)
959 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::GetSize() const [member function]
960 cls.add_method('GetSize',
961 'uint32_t',
962 [],
963 is_const=True)
964 ## buffer.h (module 'network'): bool ns3::Buffer::Iterator::IsEnd() const [member function]
965 cls.add_method('IsEnd',
966 'bool',
967 [],
968 is_const=True)
969 ## buffer.h (module 'network'): bool ns3::Buffer::Iterator::IsStart() const [member function]
970 cls.add_method('IsStart',
971 'bool',
972 [],
973 is_const=True)
974 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Next() [member function]
975 cls.add_method('Next',
976 'void',
977 [])
978 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Next(uint32_t delta) [member function]
979 cls.add_method('Next',
980 'void',
981 [param('uint32_t', 'delta')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -0700982 ## buffer.h (module 'network'): uint8_t ns3::Buffer::Iterator::PeekU8() [member function]
983 cls.add_method('PeekU8',
984 'uint8_t',
985 [])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800986 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Prev() [member function]
987 cls.add_method('Prev',
988 'void',
989 [])
990 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Prev(uint32_t delta) [member function]
991 cls.add_method('Prev',
992 'void',
993 [param('uint32_t', 'delta')])
994 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Read(uint8_t * buffer, uint32_t size) [member function]
995 cls.add_method('Read',
996 'void',
997 [param('uint8_t *', 'buffer'), param('uint32_t', 'size')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -0700998 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Read(ns3::Buffer::Iterator start, uint32_t size) [member function]
999 cls.add_method('Read',
1000 'void',
1001 [param('ns3::Buffer::Iterator', 'start'), param('uint32_t', 'size')])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001002 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadLsbtohU16() [member function]
1003 cls.add_method('ReadLsbtohU16',
1004 'uint16_t',
1005 [])
1006 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadLsbtohU32() [member function]
1007 cls.add_method('ReadLsbtohU32',
1008 'uint32_t',
1009 [])
1010 ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadLsbtohU64() [member function]
1011 cls.add_method('ReadLsbtohU64',
1012 'uint64_t',
1013 [])
1014 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadNtohU16() [member function]
1015 cls.add_method('ReadNtohU16',
1016 'uint16_t',
1017 [])
1018 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadNtohU32() [member function]
1019 cls.add_method('ReadNtohU32',
1020 'uint32_t',
1021 [])
1022 ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadNtohU64() [member function]
1023 cls.add_method('ReadNtohU64',
1024 'uint64_t',
1025 [])
1026 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadU16() [member function]
1027 cls.add_method('ReadU16',
1028 'uint16_t',
1029 [])
1030 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadU32() [member function]
1031 cls.add_method('ReadU32',
1032 'uint32_t',
1033 [])
1034 ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadU64() [member function]
1035 cls.add_method('ReadU64',
1036 'uint64_t',
1037 [])
1038 ## buffer.h (module 'network'): uint8_t ns3::Buffer::Iterator::ReadU8() [member function]
1039 cls.add_method('ReadU8',
1040 'uint8_t',
1041 [])
1042 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Write(uint8_t const * buffer, uint32_t size) [member function]
1043 cls.add_method('Write',
1044 'void',
1045 [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
1046 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Write(ns3::Buffer::Iterator start, ns3::Buffer::Iterator end) [member function]
1047 cls.add_method('Write',
1048 'void',
1049 [param('ns3::Buffer::Iterator', 'start'), param('ns3::Buffer::Iterator', 'end')])
1050 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU16(uint16_t data) [member function]
1051 cls.add_method('WriteHtolsbU16',
1052 'void',
1053 [param('uint16_t', 'data')])
1054 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU32(uint32_t data) [member function]
1055 cls.add_method('WriteHtolsbU32',
1056 'void',
1057 [param('uint32_t', 'data')])
1058 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU64(uint64_t data) [member function]
1059 cls.add_method('WriteHtolsbU64',
1060 'void',
1061 [param('uint64_t', 'data')])
1062 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU16(uint16_t data) [member function]
1063 cls.add_method('WriteHtonU16',
1064 'void',
1065 [param('uint16_t', 'data')])
1066 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU32(uint32_t data) [member function]
1067 cls.add_method('WriteHtonU32',
1068 'void',
1069 [param('uint32_t', 'data')])
1070 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU64(uint64_t data) [member function]
1071 cls.add_method('WriteHtonU64',
1072 'void',
1073 [param('uint64_t', 'data')])
1074 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU16(uint16_t data) [member function]
1075 cls.add_method('WriteU16',
1076 'void',
1077 [param('uint16_t', 'data')])
1078 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU32(uint32_t data) [member function]
1079 cls.add_method('WriteU32',
1080 'void',
1081 [param('uint32_t', 'data')])
1082 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU64(uint64_t data) [member function]
1083 cls.add_method('WriteU64',
1084 'void',
1085 [param('uint64_t', 'data')])
1086 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU8(uint8_t data) [member function]
1087 cls.add_method('WriteU8',
1088 'void',
1089 [param('uint8_t', 'data')])
1090 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU8(uint8_t data, uint32_t len) [member function]
1091 cls.add_method('WriteU8',
1092 'void',
1093 [param('uint8_t', 'data'), param('uint32_t', 'len')])
1094 return
1095
1096def register_Ns3ByteTagIterator_methods(root_module, cls):
1097 ## packet.h (module 'network'): ns3::ByteTagIterator::ByteTagIterator(ns3::ByteTagIterator const & arg0) [copy constructor]
1098 cls.add_constructor([param('ns3::ByteTagIterator const &', 'arg0')])
1099 ## packet.h (module 'network'): bool ns3::ByteTagIterator::HasNext() const [member function]
1100 cls.add_method('HasNext',
1101 'bool',
1102 [],
1103 is_const=True)
1104 ## packet.h (module 'network'): ns3::ByteTagIterator::Item ns3::ByteTagIterator::Next() [member function]
1105 cls.add_method('Next',
1106 'ns3::ByteTagIterator::Item',
1107 [])
1108 return
1109
1110def register_Ns3ByteTagIteratorItem_methods(root_module, cls):
1111 ## packet.h (module 'network'): ns3::ByteTagIterator::Item::Item(ns3::ByteTagIterator::Item const & arg0) [copy constructor]
1112 cls.add_constructor([param('ns3::ByteTagIterator::Item const &', 'arg0')])
1113 ## packet.h (module 'network'): uint32_t ns3::ByteTagIterator::Item::GetEnd() const [member function]
1114 cls.add_method('GetEnd',
1115 'uint32_t',
1116 [],
1117 is_const=True)
1118 ## packet.h (module 'network'): uint32_t ns3::ByteTagIterator::Item::GetStart() const [member function]
1119 cls.add_method('GetStart',
1120 'uint32_t',
1121 [],
1122 is_const=True)
1123 ## packet.h (module 'network'): void ns3::ByteTagIterator::Item::GetTag(ns3::Tag & tag) const [member function]
1124 cls.add_method('GetTag',
1125 'void',
1126 [param('ns3::Tag &', 'tag')],
1127 is_const=True)
1128 ## packet.h (module 'network'): ns3::TypeId ns3::ByteTagIterator::Item::GetTypeId() const [member function]
1129 cls.add_method('GetTypeId',
1130 'ns3::TypeId',
1131 [],
1132 is_const=True)
1133 return
1134
1135def register_Ns3ByteTagList_methods(root_module, cls):
1136 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::ByteTagList() [constructor]
1137 cls.add_constructor([])
1138 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::ByteTagList(ns3::ByteTagList const & o) [copy constructor]
1139 cls.add_constructor([param('ns3::ByteTagList const &', 'o')])
1140 ## 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]
1141 cls.add_method('Add',
1142 'ns3::TagBuffer',
1143 [param('ns3::TypeId', 'tid'), param('uint32_t', 'bufferSize'), param('int32_t', 'start'), param('int32_t', 'end')])
1144 ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::Add(ns3::ByteTagList const & o) [member function]
1145 cls.add_method('Add',
1146 'void',
1147 [param('ns3::ByteTagList const &', 'o')])
1148 ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::AddAtEnd(int32_t adjustment, int32_t appendOffset) [member function]
1149 cls.add_method('AddAtEnd',
1150 'void',
1151 [param('int32_t', 'adjustment'), param('int32_t', 'appendOffset')])
1152 ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::AddAtStart(int32_t adjustment, int32_t prependOffset) [member function]
1153 cls.add_method('AddAtStart',
1154 'void',
1155 [param('int32_t', 'adjustment'), param('int32_t', 'prependOffset')])
1156 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator ns3::ByteTagList::Begin(int32_t offsetStart, int32_t offsetEnd) const [member function]
1157 cls.add_method('Begin',
1158 'ns3::ByteTagList::Iterator',
1159 [param('int32_t', 'offsetStart'), param('int32_t', 'offsetEnd')],
1160 is_const=True)
1161 ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::RemoveAll() [member function]
1162 cls.add_method('RemoveAll',
1163 'void',
1164 [])
1165 return
1166
1167def register_Ns3ByteTagListIterator_methods(root_module, cls):
1168 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Iterator(ns3::ByteTagList::Iterator const & arg0) [copy constructor]
1169 cls.add_constructor([param('ns3::ByteTagList::Iterator const &', 'arg0')])
1170 ## byte-tag-list.h (module 'network'): uint32_t ns3::ByteTagList::Iterator::GetOffsetStart() const [member function]
1171 cls.add_method('GetOffsetStart',
1172 'uint32_t',
1173 [],
1174 is_const=True)
1175 ## byte-tag-list.h (module 'network'): bool ns3::ByteTagList::Iterator::HasNext() const [member function]
1176 cls.add_method('HasNext',
1177 'bool',
1178 [],
1179 is_const=True)
1180 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item ns3::ByteTagList::Iterator::Next() [member function]
1181 cls.add_method('Next',
1182 'ns3::ByteTagList::Iterator::Item',
1183 [])
1184 return
1185
1186def register_Ns3ByteTagListIteratorItem_methods(root_module, cls):
1187 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::Item(ns3::ByteTagList::Iterator::Item const & arg0) [copy constructor]
1188 cls.add_constructor([param('ns3::ByteTagList::Iterator::Item const &', 'arg0')])
1189 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::Item(ns3::TagBuffer buf) [constructor]
1190 cls.add_constructor([param('ns3::TagBuffer', 'buf')])
1191 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::buf [variable]
1192 cls.add_instance_attribute('buf', 'ns3::TagBuffer', is_const=False)
1193 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::end [variable]
1194 cls.add_instance_attribute('end', 'int32_t', is_const=False)
1195 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::size [variable]
1196 cls.add_instance_attribute('size', 'uint32_t', is_const=False)
1197 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::start [variable]
1198 cls.add_instance_attribute('start', 'int32_t', is_const=False)
1199 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::tid [variable]
1200 cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
1201 return
1202
1203def register_Ns3CallbackBase_methods(root_module, cls):
1204 ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase(ns3::CallbackBase const & arg0) [copy constructor]
1205 cls.add_constructor([param('ns3::CallbackBase const &', 'arg0')])
1206 ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase() [constructor]
1207 cls.add_constructor([])
1208 ## callback.h (module 'core'): ns3::Ptr<ns3::CallbackImplBase> ns3::CallbackBase::GetImpl() const [member function]
1209 cls.add_method('GetImpl',
1210 'ns3::Ptr< ns3::CallbackImplBase >',
1211 [],
1212 is_const=True)
1213 ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase(ns3::Ptr<ns3::CallbackImplBase> impl) [constructor]
1214 cls.add_constructor([param('ns3::Ptr< ns3::CallbackImplBase >', 'impl')],
1215 visibility='protected')
1216 ## callback.h (module 'core'): static std::string ns3::CallbackBase::Demangle(std::string const & mangled) [member function]
1217 cls.add_method('Demangle',
1218 'std::string',
1219 [param('std::string const &', 'mangled')],
1220 is_static=True, visibility='protected')
1221 return
1222
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001223def register_Ns3EventId_methods(root_module, cls):
1224 cls.add_binary_comparison_operator('!=')
1225 cls.add_binary_comparison_operator('==')
1226 ## event-id.h (module 'core'): ns3::EventId::EventId(ns3::EventId const & arg0) [copy constructor]
1227 cls.add_constructor([param('ns3::EventId const &', 'arg0')])
1228 ## event-id.h (module 'core'): ns3::EventId::EventId() [constructor]
1229 cls.add_constructor([])
1230 ## event-id.h (module 'core'): ns3::EventId::EventId(ns3::Ptr<ns3::EventImpl> const & impl, uint64_t ts, uint32_t context, uint32_t uid) [constructor]
1231 cls.add_constructor([param('ns3::Ptr< ns3::EventImpl > const &', 'impl'), param('uint64_t', 'ts'), param('uint32_t', 'context'), param('uint32_t', 'uid')])
1232 ## event-id.h (module 'core'): void ns3::EventId::Cancel() [member function]
1233 cls.add_method('Cancel',
1234 'void',
1235 [])
1236 ## event-id.h (module 'core'): uint32_t ns3::EventId::GetContext() const [member function]
1237 cls.add_method('GetContext',
1238 'uint32_t',
1239 [],
1240 is_const=True)
1241 ## event-id.h (module 'core'): uint64_t ns3::EventId::GetTs() const [member function]
1242 cls.add_method('GetTs',
1243 'uint64_t',
1244 [],
1245 is_const=True)
1246 ## event-id.h (module 'core'): uint32_t ns3::EventId::GetUid() const [member function]
1247 cls.add_method('GetUid',
1248 'uint32_t',
1249 [],
1250 is_const=True)
1251 ## event-id.h (module 'core'): bool ns3::EventId::IsExpired() const [member function]
1252 cls.add_method('IsExpired',
1253 'bool',
1254 [],
1255 is_const=True)
1256 ## event-id.h (module 'core'): bool ns3::EventId::IsRunning() const [member function]
1257 cls.add_method('IsRunning',
1258 'bool',
1259 [],
1260 is_const=True)
1261 ## event-id.h (module 'core'): ns3::EventImpl * ns3::EventId::PeekEventImpl() const [member function]
1262 cls.add_method('PeekEventImpl',
1263 'ns3::EventImpl *',
1264 [],
1265 is_const=True)
1266 return
1267
1268def register_Ns3Ipv4Address_methods(root_module, cls):
1269 cls.add_binary_comparison_operator('!=')
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07001270 cls.add_output_stream_operator()
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07001271 cls.add_binary_comparison_operator('==')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001272 cls.add_binary_comparison_operator('<')
1273 ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address(ns3::Ipv4Address const & arg0) [copy constructor]
1274 cls.add_constructor([param('ns3::Ipv4Address const &', 'arg0')])
1275 ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address() [constructor]
1276 cls.add_constructor([])
1277 ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address(uint32_t address) [constructor]
1278 cls.add_constructor([param('uint32_t', 'address')])
1279 ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address(char const * address) [constructor]
1280 cls.add_constructor([param('char const *', 'address')])
1281 ## ipv4-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv4Address::CombineMask(ns3::Ipv4Mask const & mask) const [member function]
1282 cls.add_method('CombineMask',
1283 'ns3::Ipv4Address',
1284 [param('ns3::Ipv4Mask const &', 'mask')],
1285 is_const=True)
1286 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::ConvertFrom(ns3::Address const & address) [member function]
1287 cls.add_method('ConvertFrom',
1288 'ns3::Ipv4Address',
1289 [param('ns3::Address const &', 'address')],
1290 is_static=True)
1291 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::Deserialize(uint8_t const * buf) [member function]
1292 cls.add_method('Deserialize',
1293 'ns3::Ipv4Address',
1294 [param('uint8_t const *', 'buf')],
1295 is_static=True)
Alexander Afanasyev4052f952012-06-08 17:57:59 -07001296 ## ipv4-address.h (module 'network'): uint32_t ns3::Ipv4Address::Get() const [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001297 cls.add_method('Get',
Alexander Afanasyev4052f952012-06-08 17:57:59 -07001298 'uint32_t',
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001299 [],
1300 is_const=True)
1301 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetAny() [member function]
1302 cls.add_method('GetAny',
1303 'ns3::Ipv4Address',
1304 [],
1305 is_static=True)
1306 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetBroadcast() [member function]
1307 cls.add_method('GetBroadcast',
1308 'ns3::Ipv4Address',
1309 [],
1310 is_static=True)
1311 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetLoopback() [member function]
1312 cls.add_method('GetLoopback',
1313 'ns3::Ipv4Address',
1314 [],
1315 is_static=True)
1316 ## ipv4-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv4Address::GetSubnetDirectedBroadcast(ns3::Ipv4Mask const & mask) const [member function]
1317 cls.add_method('GetSubnetDirectedBroadcast',
1318 'ns3::Ipv4Address',
1319 [param('ns3::Ipv4Mask const &', 'mask')],
1320 is_const=True)
1321 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetZero() [member function]
1322 cls.add_method('GetZero',
1323 'ns3::Ipv4Address',
1324 [],
1325 is_static=True)
1326 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsBroadcast() const [member function]
1327 cls.add_method('IsBroadcast',
1328 'bool',
1329 [],
1330 is_const=True)
1331 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsEqual(ns3::Ipv4Address const & other) const [member function]
1332 cls.add_method('IsEqual',
1333 'bool',
1334 [param('ns3::Ipv4Address const &', 'other')],
1335 is_const=True)
1336 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsLocalMulticast() const [member function]
1337 cls.add_method('IsLocalMulticast',
1338 'bool',
1339 [],
1340 is_const=True)
1341 ## ipv4-address.h (module 'network'): static bool ns3::Ipv4Address::IsMatchingType(ns3::Address const & address) [member function]
1342 cls.add_method('IsMatchingType',
1343 'bool',
1344 [param('ns3::Address const &', 'address')],
1345 is_static=True)
1346 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsMulticast() const [member function]
1347 cls.add_method('IsMulticast',
1348 'bool',
1349 [],
1350 is_const=True)
1351 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsSubnetDirectedBroadcast(ns3::Ipv4Mask const & mask) const [member function]
1352 cls.add_method('IsSubnetDirectedBroadcast',
1353 'bool',
1354 [param('ns3::Ipv4Mask const &', 'mask')],
1355 is_const=True)
1356 ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Print(std::ostream & os) const [member function]
1357 cls.add_method('Print',
1358 'void',
1359 [param('std::ostream &', 'os')],
1360 is_const=True)
1361 ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Serialize(uint8_t * buf) const [member function]
1362 cls.add_method('Serialize',
1363 'void',
1364 [param('uint8_t *', 'buf')],
1365 is_const=True)
1366 ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Set(uint32_t address) [member function]
1367 cls.add_method('Set',
1368 'void',
1369 [param('uint32_t', 'address')])
1370 ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Set(char const * address) [member function]
1371 cls.add_method('Set',
1372 'void',
1373 [param('char const *', 'address')])
1374 return
1375
1376def register_Ns3Ipv4Mask_methods(root_module, cls):
1377 cls.add_binary_comparison_operator('!=')
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07001378 cls.add_output_stream_operator()
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07001379 cls.add_binary_comparison_operator('==')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001380 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask(ns3::Ipv4Mask const & arg0) [copy constructor]
1381 cls.add_constructor([param('ns3::Ipv4Mask const &', 'arg0')])
1382 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask() [constructor]
1383 cls.add_constructor([])
1384 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask(uint32_t mask) [constructor]
1385 cls.add_constructor([param('uint32_t', 'mask')])
1386 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask(char const * mask) [constructor]
1387 cls.add_constructor([param('char const *', 'mask')])
1388 ## ipv4-address.h (module 'network'): uint32_t ns3::Ipv4Mask::Get() const [member function]
1389 cls.add_method('Get',
1390 'uint32_t',
1391 [],
1392 is_const=True)
1393 ## ipv4-address.h (module 'network'): uint32_t ns3::Ipv4Mask::GetInverse() const [member function]
1394 cls.add_method('GetInverse',
1395 'uint32_t',
1396 [],
1397 is_const=True)
1398 ## ipv4-address.h (module 'network'): static ns3::Ipv4Mask ns3::Ipv4Mask::GetLoopback() [member function]
1399 cls.add_method('GetLoopback',
1400 'ns3::Ipv4Mask',
1401 [],
1402 is_static=True)
1403 ## ipv4-address.h (module 'network'): static ns3::Ipv4Mask ns3::Ipv4Mask::GetOnes() [member function]
1404 cls.add_method('GetOnes',
1405 'ns3::Ipv4Mask',
1406 [],
1407 is_static=True)
1408 ## ipv4-address.h (module 'network'): uint16_t ns3::Ipv4Mask::GetPrefixLength() const [member function]
1409 cls.add_method('GetPrefixLength',
1410 'uint16_t',
1411 [],
1412 is_const=True)
1413 ## ipv4-address.h (module 'network'): static ns3::Ipv4Mask ns3::Ipv4Mask::GetZero() [member function]
1414 cls.add_method('GetZero',
1415 'ns3::Ipv4Mask',
1416 [],
1417 is_static=True)
1418 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Mask::IsEqual(ns3::Ipv4Mask other) const [member function]
1419 cls.add_method('IsEqual',
1420 'bool',
1421 [param('ns3::Ipv4Mask', 'other')],
1422 is_const=True)
1423 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Mask::IsMatch(ns3::Ipv4Address a, ns3::Ipv4Address b) const [member function]
1424 cls.add_method('IsMatch',
1425 'bool',
1426 [param('ns3::Ipv4Address', 'a'), param('ns3::Ipv4Address', 'b')],
1427 is_const=True)
1428 ## ipv4-address.h (module 'network'): void ns3::Ipv4Mask::Print(std::ostream & os) const [member function]
1429 cls.add_method('Print',
1430 'void',
1431 [param('std::ostream &', 'os')],
1432 is_const=True)
1433 ## ipv4-address.h (module 'network'): void ns3::Ipv4Mask::Set(uint32_t mask) [member function]
1434 cls.add_method('Set',
1435 'void',
1436 [param('uint32_t', 'mask')])
1437 return
1438
1439def register_Ns3Ipv6Address_methods(root_module, cls):
1440 cls.add_binary_comparison_operator('!=')
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07001441 cls.add_output_stream_operator()
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07001442 cls.add_binary_comparison_operator('==')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001443 cls.add_binary_comparison_operator('<')
1444 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address() [constructor]
1445 cls.add_constructor([])
1446 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(char const * address) [constructor]
1447 cls.add_constructor([param('char const *', 'address')])
1448 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(uint8_t * address) [constructor]
1449 cls.add_constructor([param('uint8_t *', 'address')])
1450 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(ns3::Ipv6Address const & addr) [copy constructor]
1451 cls.add_constructor([param('ns3::Ipv6Address const &', 'addr')])
1452 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(ns3::Ipv6Address const * addr) [constructor]
1453 cls.add_constructor([param('ns3::Ipv6Address const *', 'addr')])
1454 ## ipv6-address.h (module 'network'): ns3::Ipv6Address ns3::Ipv6Address::CombinePrefix(ns3::Ipv6Prefix const & prefix) [member function]
1455 cls.add_method('CombinePrefix',
1456 'ns3::Ipv6Address',
1457 [param('ns3::Ipv6Prefix const &', 'prefix')])
1458 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::ConvertFrom(ns3::Address const & address) [member function]
1459 cls.add_method('ConvertFrom',
1460 'ns3::Ipv6Address',
1461 [param('ns3::Address const &', 'address')],
1462 is_static=True)
1463 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::Deserialize(uint8_t const * buf) [member function]
1464 cls.add_method('Deserialize',
1465 'ns3::Ipv6Address',
1466 [param('uint8_t const *', 'buf')],
1467 is_static=True)
1468 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAllHostsMulticast() [member function]
1469 cls.add_method('GetAllHostsMulticast',
1470 'ns3::Ipv6Address',
1471 [],
1472 is_static=True)
1473 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAllNodesMulticast() [member function]
1474 cls.add_method('GetAllNodesMulticast',
1475 'ns3::Ipv6Address',
1476 [],
1477 is_static=True)
1478 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAllRoutersMulticast() [member function]
1479 cls.add_method('GetAllRoutersMulticast',
1480 'ns3::Ipv6Address',
1481 [],
1482 is_static=True)
1483 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAny() [member function]
1484 cls.add_method('GetAny',
1485 'ns3::Ipv6Address',
1486 [],
1487 is_static=True)
1488 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::GetBytes(uint8_t * buf) const [member function]
1489 cls.add_method('GetBytes',
1490 'void',
1491 [param('uint8_t *', 'buf')],
1492 is_const=True)
Alexander Afanasyev6f933532012-02-29 13:30:37 -08001493 ## ipv6-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv6Address::GetIpv4MappedAddress() const [member function]
1494 cls.add_method('GetIpv4MappedAddress',
1495 'ns3::Ipv4Address',
1496 [],
1497 is_const=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001498 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetLoopback() [member function]
1499 cls.add_method('GetLoopback',
1500 'ns3::Ipv6Address',
1501 [],
1502 is_static=True)
1503 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetOnes() [member function]
1504 cls.add_method('GetOnes',
1505 'ns3::Ipv6Address',
1506 [],
1507 is_static=True)
1508 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetZero() [member function]
1509 cls.add_method('GetZero',
1510 'ns3::Ipv6Address',
1511 [],
1512 is_static=True)
1513 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAllHostsMulticast() const [member function]
1514 cls.add_method('IsAllHostsMulticast',
1515 'bool',
1516 [],
1517 is_const=True)
1518 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAllNodesMulticast() const [member function]
1519 cls.add_method('IsAllNodesMulticast',
1520 'bool',
1521 [],
1522 is_const=True)
1523 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAllRoutersMulticast() const [member function]
1524 cls.add_method('IsAllRoutersMulticast',
1525 'bool',
1526 [],
1527 is_const=True)
1528 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAny() const [member function]
1529 cls.add_method('IsAny',
1530 'bool',
1531 [],
1532 is_const=True)
1533 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsEqual(ns3::Ipv6Address const & other) const [member function]
1534 cls.add_method('IsEqual',
1535 'bool',
1536 [param('ns3::Ipv6Address const &', 'other')],
1537 is_const=True)
Alexander Afanasyev6f933532012-02-29 13:30:37 -08001538 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsIpv4MappedAddress() [member function]
1539 cls.add_method('IsIpv4MappedAddress',
1540 'bool',
1541 [])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001542 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsLinkLocal() const [member function]
1543 cls.add_method('IsLinkLocal',
1544 'bool',
1545 [],
1546 is_const=True)
Alexander Afanasyev6f933532012-02-29 13:30:37 -08001547 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsLinkLocalMulticast() const [member function]
1548 cls.add_method('IsLinkLocalMulticast',
1549 'bool',
1550 [],
1551 is_const=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001552 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsLocalhost() const [member function]
1553 cls.add_method('IsLocalhost',
1554 'bool',
1555 [],
1556 is_const=True)
1557 ## ipv6-address.h (module 'network'): static bool ns3::Ipv6Address::IsMatchingType(ns3::Address const & address) [member function]
1558 cls.add_method('IsMatchingType',
1559 'bool',
1560 [param('ns3::Address const &', 'address')],
1561 is_static=True)
1562 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsMulticast() const [member function]
1563 cls.add_method('IsMulticast',
1564 'bool',
1565 [],
1566 is_const=True)
1567 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsSolicitedMulticast() const [member function]
1568 cls.add_method('IsSolicitedMulticast',
1569 'bool',
1570 [],
1571 is_const=True)
1572 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeAutoconfiguredAddress(ns3::Mac48Address addr, ns3::Ipv6Address prefix) [member function]
1573 cls.add_method('MakeAutoconfiguredAddress',
1574 'ns3::Ipv6Address',
1575 [param('ns3::Mac48Address', 'addr'), param('ns3::Ipv6Address', 'prefix')],
1576 is_static=True)
1577 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeAutoconfiguredLinkLocalAddress(ns3::Mac48Address mac) [member function]
1578 cls.add_method('MakeAutoconfiguredLinkLocalAddress',
1579 'ns3::Ipv6Address',
1580 [param('ns3::Mac48Address', 'mac')],
1581 is_static=True)
Alexander Afanasyev6f933532012-02-29 13:30:37 -08001582 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeIpv4MappedAddress(ns3::Ipv4Address addr) [member function]
1583 cls.add_method('MakeIpv4MappedAddress',
1584 'ns3::Ipv6Address',
1585 [param('ns3::Ipv4Address', 'addr')],
1586 is_static=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001587 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeSolicitedAddress(ns3::Ipv6Address addr) [member function]
1588 cls.add_method('MakeSolicitedAddress',
1589 'ns3::Ipv6Address',
1590 [param('ns3::Ipv6Address', 'addr')],
1591 is_static=True)
1592 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Print(std::ostream & os) const [member function]
1593 cls.add_method('Print',
1594 'void',
1595 [param('std::ostream &', 'os')],
1596 is_const=True)
1597 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Serialize(uint8_t * buf) const [member function]
1598 cls.add_method('Serialize',
1599 'void',
1600 [param('uint8_t *', 'buf')],
1601 is_const=True)
1602 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Set(char const * address) [member function]
1603 cls.add_method('Set',
1604 'void',
1605 [param('char const *', 'address')])
1606 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Set(uint8_t * address) [member function]
1607 cls.add_method('Set',
1608 'void',
1609 [param('uint8_t *', 'address')])
1610 return
1611
1612def register_Ns3Ipv6Prefix_methods(root_module, cls):
1613 cls.add_binary_comparison_operator('!=')
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07001614 cls.add_output_stream_operator()
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07001615 cls.add_binary_comparison_operator('==')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001616 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix() [constructor]
1617 cls.add_constructor([])
1618 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(uint8_t * prefix) [constructor]
1619 cls.add_constructor([param('uint8_t *', 'prefix')])
1620 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(char const * prefix) [constructor]
1621 cls.add_constructor([param('char const *', 'prefix')])
1622 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(uint8_t prefix) [constructor]
1623 cls.add_constructor([param('uint8_t', 'prefix')])
1624 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(ns3::Ipv6Prefix const & prefix) [copy constructor]
1625 cls.add_constructor([param('ns3::Ipv6Prefix const &', 'prefix')])
1626 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(ns3::Ipv6Prefix const * prefix) [constructor]
1627 cls.add_constructor([param('ns3::Ipv6Prefix const *', 'prefix')])
1628 ## ipv6-address.h (module 'network'): void ns3::Ipv6Prefix::GetBytes(uint8_t * buf) const [member function]
1629 cls.add_method('GetBytes',
1630 'void',
1631 [param('uint8_t *', 'buf')],
1632 is_const=True)
1633 ## ipv6-address.h (module 'network'): static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetLoopback() [member function]
1634 cls.add_method('GetLoopback',
1635 'ns3::Ipv6Prefix',
1636 [],
1637 is_static=True)
1638 ## ipv6-address.h (module 'network'): static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetOnes() [member function]
1639 cls.add_method('GetOnes',
1640 'ns3::Ipv6Prefix',
1641 [],
1642 is_static=True)
1643 ## ipv6-address.h (module 'network'): uint8_t ns3::Ipv6Prefix::GetPrefixLength() const [member function]
1644 cls.add_method('GetPrefixLength',
1645 'uint8_t',
1646 [],
1647 is_const=True)
1648 ## ipv6-address.h (module 'network'): static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetZero() [member function]
1649 cls.add_method('GetZero',
1650 'ns3::Ipv6Prefix',
1651 [],
1652 is_static=True)
1653 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Prefix::IsEqual(ns3::Ipv6Prefix const & other) const [member function]
1654 cls.add_method('IsEqual',
1655 'bool',
1656 [param('ns3::Ipv6Prefix const &', 'other')],
1657 is_const=True)
1658 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Prefix::IsMatch(ns3::Ipv6Address a, ns3::Ipv6Address b) const [member function]
1659 cls.add_method('IsMatch',
1660 'bool',
1661 [param('ns3::Ipv6Address', 'a'), param('ns3::Ipv6Address', 'b')],
1662 is_const=True)
1663 ## ipv6-address.h (module 'network'): void ns3::Ipv6Prefix::Print(std::ostream & os) const [member function]
1664 cls.add_method('Print',
1665 'void',
1666 [param('std::ostream &', 'os')],
1667 is_const=True)
1668 return
1669
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07001670def register_Ns3NetDeviceContainer_methods(root_module, cls):
1671 ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(ns3::NetDeviceContainer const & arg0) [copy constructor]
1672 cls.add_constructor([param('ns3::NetDeviceContainer const &', 'arg0')])
1673 ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer() [constructor]
1674 cls.add_constructor([])
1675 ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(ns3::Ptr<ns3::NetDevice> dev) [constructor]
1676 cls.add_constructor([param('ns3::Ptr< ns3::NetDevice >', 'dev')])
1677 ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(std::string devName) [constructor]
1678 cls.add_constructor([param('std::string', 'devName')])
1679 ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(ns3::NetDeviceContainer const & a, ns3::NetDeviceContainer const & b) [constructor]
1680 cls.add_constructor([param('ns3::NetDeviceContainer const &', 'a'), param('ns3::NetDeviceContainer const &', 'b')])
1681 ## net-device-container.h (module 'network'): void ns3::NetDeviceContainer::Add(ns3::NetDeviceContainer other) [member function]
1682 cls.add_method('Add',
1683 'void',
1684 [param('ns3::NetDeviceContainer', 'other')])
1685 ## net-device-container.h (module 'network'): void ns3::NetDeviceContainer::Add(ns3::Ptr<ns3::NetDevice> device) [member function]
1686 cls.add_method('Add',
1687 'void',
1688 [param('ns3::Ptr< ns3::NetDevice >', 'device')])
1689 ## net-device-container.h (module 'network'): void ns3::NetDeviceContainer::Add(std::string deviceName) [member function]
1690 cls.add_method('Add',
1691 'void',
1692 [param('std::string', 'deviceName')])
1693 ## 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]
1694 cls.add_method('Begin',
1695 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::NetDevice > const, std::vector< ns3::Ptr< ns3::NetDevice > > >',
1696 [],
1697 is_const=True)
1698 ## 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]
1699 cls.add_method('End',
1700 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::NetDevice > const, std::vector< ns3::Ptr< ns3::NetDevice > > >',
1701 [],
1702 is_const=True)
1703 ## net-device-container.h (module 'network'): ns3::Ptr<ns3::NetDevice> ns3::NetDeviceContainer::Get(uint32_t i) const [member function]
1704 cls.add_method('Get',
1705 'ns3::Ptr< ns3::NetDevice >',
1706 [param('uint32_t', 'i')],
1707 is_const=True)
1708 ## net-device-container.h (module 'network'): uint32_t ns3::NetDeviceContainer::GetN() const [member function]
1709 cls.add_method('GetN',
1710 'uint32_t',
1711 [],
1712 is_const=True)
1713 return
1714
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001715def register_Ns3NodeContainer_methods(root_module, cls):
1716 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & arg0) [copy constructor]
1717 cls.add_constructor([param('ns3::NodeContainer const &', 'arg0')])
1718 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer() [constructor]
1719 cls.add_constructor([])
1720 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::Ptr<ns3::Node> node) [constructor]
1721 cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node')])
1722 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(std::string nodeName) [constructor]
1723 cls.add_constructor([param('std::string', 'nodeName')])
1724 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b) [constructor]
1725 cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b')])
1726 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b, ns3::NodeContainer const & c) [constructor]
1727 cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b'), param('ns3::NodeContainer const &', 'c')])
1728 ## 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]
1729 cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b'), param('ns3::NodeContainer const &', 'c'), param('ns3::NodeContainer const &', 'd')])
1730 ## 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]
1731 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')])
1732 ## node-container.h (module 'network'): void ns3::NodeContainer::Add(ns3::NodeContainer other) [member function]
1733 cls.add_method('Add',
1734 'void',
1735 [param('ns3::NodeContainer', 'other')])
1736 ## node-container.h (module 'network'): void ns3::NodeContainer::Add(ns3::Ptr<ns3::Node> node) [member function]
1737 cls.add_method('Add',
1738 'void',
1739 [param('ns3::Ptr< ns3::Node >', 'node')])
1740 ## node-container.h (module 'network'): void ns3::NodeContainer::Add(std::string nodeName) [member function]
1741 cls.add_method('Add',
1742 'void',
1743 [param('std::string', 'nodeName')])
1744 ## 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]
1745 cls.add_method('Begin',
1746 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > >',
1747 [],
1748 is_const=True)
1749 ## node-container.h (module 'network'): void ns3::NodeContainer::Create(uint32_t n) [member function]
1750 cls.add_method('Create',
1751 'void',
1752 [param('uint32_t', 'n')])
1753 ## node-container.h (module 'network'): void ns3::NodeContainer::Create(uint32_t n, uint32_t systemId) [member function]
1754 cls.add_method('Create',
1755 'void',
1756 [param('uint32_t', 'n'), param('uint32_t', 'systemId')])
1757 ## 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]
1758 cls.add_method('End',
1759 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > >',
1760 [],
1761 is_const=True)
1762 ## node-container.h (module 'network'): ns3::Ptr<ns3::Node> ns3::NodeContainer::Get(uint32_t i) const [member function]
1763 cls.add_method('Get',
1764 'ns3::Ptr< ns3::Node >',
1765 [param('uint32_t', 'i')],
1766 is_const=True)
1767 ## node-container.h (module 'network'): static ns3::NodeContainer ns3::NodeContainer::GetGlobal() [member function]
1768 cls.add_method('GetGlobal',
1769 'ns3::NodeContainer',
1770 [],
1771 is_static=True)
1772 ## node-container.h (module 'network'): uint32_t ns3::NodeContainer::GetN() const [member function]
1773 cls.add_method('GetN',
1774 'uint32_t',
1775 [],
1776 is_const=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07001777 ## 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]
1778 cls.add_method('begin',
1779 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > >',
1780 [],
1781 is_const=True)
1782 ## node-container.h (module 'network'): __gnu_cxx::__normal_iterator<ns3::Ptr<ns3::Node>*,std::vector<ns3::Ptr<ns3::Node>, std::allocator<ns3::Ptr<ns3::Node> > > > ns3::NodeContainer::begin() [member function]
1783 cls.add_method('begin',
1784 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node >, std::vector< ns3::Ptr< ns3::Node > > >',
1785 [])
1786 ## 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]
1787 cls.add_method('end',
1788 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > >',
1789 [],
1790 is_const=True)
1791 ## node-container.h (module 'network'): __gnu_cxx::__normal_iterator<ns3::Ptr<ns3::Node>*,std::vector<ns3::Ptr<ns3::Node>, std::allocator<ns3::Ptr<ns3::Node> > > > ns3::NodeContainer::end() [member function]
1792 cls.add_method('end',
1793 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node >, std::vector< ns3::Ptr< ns3::Node > > >',
1794 [])
1795 ## node-container.h (module 'network'): uint32_t ns3::NodeContainer::size() const [member function]
1796 cls.add_method('size',
1797 'uint32_t',
1798 [],
1799 is_const=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001800 return
1801
1802def register_Ns3ObjectBase_methods(root_module, cls):
1803 ## object-base.h (module 'core'): ns3::ObjectBase::ObjectBase() [constructor]
1804 cls.add_constructor([])
1805 ## object-base.h (module 'core'): ns3::ObjectBase::ObjectBase(ns3::ObjectBase const & arg0) [copy constructor]
1806 cls.add_constructor([param('ns3::ObjectBase const &', 'arg0')])
1807 ## object-base.h (module 'core'): void ns3::ObjectBase::GetAttribute(std::string name, ns3::AttributeValue & value) const [member function]
1808 cls.add_method('GetAttribute',
1809 'void',
1810 [param('std::string', 'name'), param('ns3::AttributeValue &', 'value')],
1811 is_const=True)
1812 ## object-base.h (module 'core'): bool ns3::ObjectBase::GetAttributeFailSafe(std::string name, ns3::AttributeValue & attribute) const [member function]
1813 cls.add_method('GetAttributeFailSafe',
1814 'bool',
1815 [param('std::string', 'name'), param('ns3::AttributeValue &', 'attribute')],
1816 is_const=True)
1817 ## object-base.h (module 'core'): ns3::TypeId ns3::ObjectBase::GetInstanceTypeId() const [member function]
1818 cls.add_method('GetInstanceTypeId',
1819 'ns3::TypeId',
1820 [],
1821 is_pure_virtual=True, is_const=True, is_virtual=True)
1822 ## object-base.h (module 'core'): static ns3::TypeId ns3::ObjectBase::GetTypeId() [member function]
1823 cls.add_method('GetTypeId',
1824 'ns3::TypeId',
1825 [],
1826 is_static=True)
1827 ## object-base.h (module 'core'): void ns3::ObjectBase::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function]
1828 cls.add_method('SetAttribute',
1829 'void',
1830 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
1831 ## object-base.h (module 'core'): bool ns3::ObjectBase::SetAttributeFailSafe(std::string name, ns3::AttributeValue const & value) [member function]
1832 cls.add_method('SetAttributeFailSafe',
1833 'bool',
1834 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
1835 ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceConnect(std::string name, std::string context, ns3::CallbackBase const & cb) [member function]
1836 cls.add_method('TraceConnect',
1837 'bool',
1838 [param('std::string', 'name'), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')])
1839 ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceConnectWithoutContext(std::string name, ns3::CallbackBase const & cb) [member function]
1840 cls.add_method('TraceConnectWithoutContext',
1841 'bool',
1842 [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')])
1843 ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceDisconnect(std::string name, std::string context, ns3::CallbackBase const & cb) [member function]
1844 cls.add_method('TraceDisconnect',
1845 'bool',
1846 [param('std::string', 'name'), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')])
1847 ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceDisconnectWithoutContext(std::string name, ns3::CallbackBase const & cb) [member function]
1848 cls.add_method('TraceDisconnectWithoutContext',
1849 'bool',
1850 [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')])
1851 ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function]
1852 cls.add_method('ConstructSelf',
1853 'void',
1854 [param('ns3::AttributeConstructionList const &', 'attributes')],
1855 visibility='protected')
1856 ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function]
1857 cls.add_method('NotifyConstructionCompleted',
1858 'void',
1859 [],
1860 visibility='protected', is_virtual=True)
1861 return
1862
1863def register_Ns3ObjectDeleter_methods(root_module, cls):
1864 ## object.h (module 'core'): ns3::ObjectDeleter::ObjectDeleter() [constructor]
1865 cls.add_constructor([])
1866 ## object.h (module 'core'): ns3::ObjectDeleter::ObjectDeleter(ns3::ObjectDeleter const & arg0) [copy constructor]
1867 cls.add_constructor([param('ns3::ObjectDeleter const &', 'arg0')])
1868 ## object.h (module 'core'): static void ns3::ObjectDeleter::Delete(ns3::Object * object) [member function]
1869 cls.add_method('Delete',
1870 'void',
1871 [param('ns3::Object *', 'object')],
1872 is_static=True)
1873 return
1874
1875def register_Ns3ObjectFactory_methods(root_module, cls):
1876 cls.add_output_stream_operator()
1877 ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(ns3::ObjectFactory const & arg0) [copy constructor]
1878 cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')])
1879 ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor]
1880 cls.add_constructor([])
1881 ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor]
1882 cls.add_constructor([param('std::string', 'typeId')])
1883 ## object-factory.h (module 'core'): ns3::Ptr<ns3::Object> ns3::ObjectFactory::Create() const [member function]
1884 cls.add_method('Create',
1885 'ns3::Ptr< ns3::Object >',
1886 [],
1887 is_const=True)
1888 ## object-factory.h (module 'core'): ns3::TypeId ns3::ObjectFactory::GetTypeId() const [member function]
1889 cls.add_method('GetTypeId',
1890 'ns3::TypeId',
1891 [],
1892 is_const=True)
1893 ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(std::string name, ns3::AttributeValue const & value) [member function]
1894 cls.add_method('Set',
1895 'void',
1896 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
1897 ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function]
1898 cls.add_method('SetTypeId',
1899 'void',
1900 [param('ns3::TypeId', 'tid')])
1901 ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(char const * tid) [member function]
1902 cls.add_method('SetTypeId',
1903 'void',
1904 [param('char const *', 'tid')])
1905 ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(std::string tid) [member function]
1906 cls.add_method('SetTypeId',
1907 'void',
1908 [param('std::string', 'tid')])
1909 return
1910
1911def register_Ns3PacketMetadata_methods(root_module, cls):
1912 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::PacketMetadata(uint64_t uid, uint32_t size) [constructor]
1913 cls.add_constructor([param('uint64_t', 'uid'), param('uint32_t', 'size')])
1914 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::PacketMetadata(ns3::PacketMetadata const & o) [copy constructor]
1915 cls.add_constructor([param('ns3::PacketMetadata const &', 'o')])
1916 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddAtEnd(ns3::PacketMetadata const & o) [member function]
1917 cls.add_method('AddAtEnd',
1918 'void',
1919 [param('ns3::PacketMetadata const &', 'o')])
1920 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddHeader(ns3::Header const & header, uint32_t size) [member function]
1921 cls.add_method('AddHeader',
1922 'void',
1923 [param('ns3::Header const &', 'header'), param('uint32_t', 'size')])
1924 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddPaddingAtEnd(uint32_t end) [member function]
1925 cls.add_method('AddPaddingAtEnd',
1926 'void',
1927 [param('uint32_t', 'end')])
1928 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddTrailer(ns3::Trailer const & trailer, uint32_t size) [member function]
1929 cls.add_method('AddTrailer',
1930 'void',
1931 [param('ns3::Trailer const &', 'trailer'), param('uint32_t', 'size')])
1932 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator ns3::PacketMetadata::BeginItem(ns3::Buffer buffer) const [member function]
1933 cls.add_method('BeginItem',
1934 'ns3::PacketMetadata::ItemIterator',
1935 [param('ns3::Buffer', 'buffer')],
1936 is_const=True)
1937 ## packet-metadata.h (module 'network'): ns3::PacketMetadata ns3::PacketMetadata::CreateFragment(uint32_t start, uint32_t end) const [member function]
1938 cls.add_method('CreateFragment',
1939 'ns3::PacketMetadata',
1940 [param('uint32_t', 'start'), param('uint32_t', 'end')],
1941 is_const=True)
1942 ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::Deserialize(uint8_t const * buffer, uint32_t size) [member function]
1943 cls.add_method('Deserialize',
1944 'uint32_t',
1945 [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
1946 ## packet-metadata.h (module 'network'): static void ns3::PacketMetadata::Enable() [member function]
1947 cls.add_method('Enable',
1948 'void',
1949 [],
1950 is_static=True)
1951 ## packet-metadata.h (module 'network'): static void ns3::PacketMetadata::EnableChecking() [member function]
1952 cls.add_method('EnableChecking',
1953 'void',
1954 [],
1955 is_static=True)
1956 ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::GetSerializedSize() const [member function]
1957 cls.add_method('GetSerializedSize',
1958 'uint32_t',
1959 [],
1960 is_const=True)
1961 ## packet-metadata.h (module 'network'): uint64_t ns3::PacketMetadata::GetUid() const [member function]
1962 cls.add_method('GetUid',
1963 'uint64_t',
1964 [],
1965 is_const=True)
1966 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveAtEnd(uint32_t end) [member function]
1967 cls.add_method('RemoveAtEnd',
1968 'void',
1969 [param('uint32_t', 'end')])
1970 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveAtStart(uint32_t start) [member function]
1971 cls.add_method('RemoveAtStart',
1972 'void',
1973 [param('uint32_t', 'start')])
1974 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveHeader(ns3::Header const & header, uint32_t size) [member function]
1975 cls.add_method('RemoveHeader',
1976 'void',
1977 [param('ns3::Header const &', 'header'), param('uint32_t', 'size')])
1978 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveTrailer(ns3::Trailer const & trailer, uint32_t size) [member function]
1979 cls.add_method('RemoveTrailer',
1980 'void',
1981 [param('ns3::Trailer const &', 'trailer'), param('uint32_t', 'size')])
1982 ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
1983 cls.add_method('Serialize',
1984 'uint32_t',
1985 [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')],
1986 is_const=True)
1987 return
1988
1989def register_Ns3PacketMetadataItem_methods(root_module, cls):
1990 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::Item() [constructor]
1991 cls.add_constructor([])
1992 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::Item(ns3::PacketMetadata::Item const & arg0) [copy constructor]
1993 cls.add_constructor([param('ns3::PacketMetadata::Item const &', 'arg0')])
1994 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::current [variable]
1995 cls.add_instance_attribute('current', 'ns3::Buffer::Iterator', is_const=False)
1996 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentSize [variable]
1997 cls.add_instance_attribute('currentSize', 'uint32_t', is_const=False)
1998 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentTrimedFromEnd [variable]
1999 cls.add_instance_attribute('currentTrimedFromEnd', 'uint32_t', is_const=False)
2000 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentTrimedFromStart [variable]
2001 cls.add_instance_attribute('currentTrimedFromStart', 'uint32_t', is_const=False)
2002 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::isFragment [variable]
2003 cls.add_instance_attribute('isFragment', 'bool', is_const=False)
2004 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::tid [variable]
2005 cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
2006 return
2007
2008def register_Ns3PacketMetadataItemIterator_methods(root_module, cls):
2009 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator::ItemIterator(ns3::PacketMetadata::ItemIterator const & arg0) [copy constructor]
2010 cls.add_constructor([param('ns3::PacketMetadata::ItemIterator const &', 'arg0')])
2011 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator::ItemIterator(ns3::PacketMetadata const * metadata, ns3::Buffer buffer) [constructor]
2012 cls.add_constructor([param('ns3::PacketMetadata const *', 'metadata'), param('ns3::Buffer', 'buffer')])
2013 ## packet-metadata.h (module 'network'): bool ns3::PacketMetadata::ItemIterator::HasNext() const [member function]
2014 cls.add_method('HasNext',
2015 'bool',
2016 [],
2017 is_const=True)
2018 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item ns3::PacketMetadata::ItemIterator::Next() [member function]
2019 cls.add_method('Next',
2020 'ns3::PacketMetadata::Item',
2021 [])
2022 return
2023
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002024def register_Ns3PacketTagIterator_methods(root_module, cls):
2025 ## packet.h (module 'network'): ns3::PacketTagIterator::PacketTagIterator(ns3::PacketTagIterator const & arg0) [copy constructor]
2026 cls.add_constructor([param('ns3::PacketTagIterator const &', 'arg0')])
2027 ## packet.h (module 'network'): bool ns3::PacketTagIterator::HasNext() const [member function]
2028 cls.add_method('HasNext',
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002029 'bool',
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002030 [],
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002031 is_const=True)
2032 ## packet.h (module 'network'): ns3::PacketTagIterator::Item ns3::PacketTagIterator::Next() [member function]
2033 cls.add_method('Next',
2034 'ns3::PacketTagIterator::Item',
2035 [])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002036 return
2037
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002038def register_Ns3PacketTagIteratorItem_methods(root_module, cls):
2039 ## packet.h (module 'network'): ns3::PacketTagIterator::Item::Item(ns3::PacketTagIterator::Item const & arg0) [copy constructor]
2040 cls.add_constructor([param('ns3::PacketTagIterator::Item const &', 'arg0')])
2041 ## packet.h (module 'network'): void ns3::PacketTagIterator::Item::GetTag(ns3::Tag & tag) const [member function]
2042 cls.add_method('GetTag',
2043 'void',
2044 [param('ns3::Tag &', 'tag')],
2045 is_const=True)
2046 ## packet.h (module 'network'): ns3::TypeId ns3::PacketTagIterator::Item::GetTypeId() const [member function]
2047 cls.add_method('GetTypeId',
2048 'ns3::TypeId',
2049 [],
2050 is_const=True)
2051 return
2052
2053def register_Ns3PacketTagList_methods(root_module, cls):
2054 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::PacketTagList() [constructor]
2055 cls.add_constructor([])
2056 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::PacketTagList(ns3::PacketTagList const & o) [copy constructor]
2057 cls.add_constructor([param('ns3::PacketTagList const &', 'o')])
2058 ## packet-tag-list.h (module 'network'): void ns3::PacketTagList::Add(ns3::Tag const & tag) const [member function]
2059 cls.add_method('Add',
2060 'void',
2061 [param('ns3::Tag const &', 'tag')],
2062 is_const=True)
2063 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData const * ns3::PacketTagList::Head() const [member function]
2064 cls.add_method('Head',
2065 'ns3::PacketTagList::TagData const *',
2066 [],
2067 is_const=True)
2068 ## packet-tag-list.h (module 'network'): bool ns3::PacketTagList::Peek(ns3::Tag & tag) const [member function]
2069 cls.add_method('Peek',
2070 'bool',
2071 [param('ns3::Tag &', 'tag')],
2072 is_const=True)
2073 ## packet-tag-list.h (module 'network'): bool ns3::PacketTagList::Remove(ns3::Tag & tag) [member function]
2074 cls.add_method('Remove',
2075 'bool',
2076 [param('ns3::Tag &', 'tag')])
2077 ## packet-tag-list.h (module 'network'): void ns3::PacketTagList::RemoveAll() [member function]
2078 cls.add_method('RemoveAll',
2079 'void',
2080 [])
2081 return
2082
2083def register_Ns3PacketTagListTagData_methods(root_module, cls):
2084 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::TagData() [constructor]
2085 cls.add_constructor([])
2086 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::TagData(ns3::PacketTagList::TagData const & arg0) [copy constructor]
2087 cls.add_constructor([param('ns3::PacketTagList::TagData const &', 'arg0')])
2088 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::count [variable]
2089 cls.add_instance_attribute('count', 'uint32_t', is_const=False)
2090 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::data [variable]
2091 cls.add_instance_attribute('data', 'uint8_t [ 20 ]', is_const=False)
2092 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::next [variable]
2093 cls.add_instance_attribute('next', 'ns3::PacketTagList::TagData *', is_const=False)
2094 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::tid [variable]
2095 cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002096 return
2097
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002098def register_Ns3RandomVariable_methods(root_module, cls):
2099 cls.add_output_stream_operator()
2100 ## random-variable.h (module 'core'): ns3::RandomVariable::RandomVariable() [constructor]
2101 cls.add_constructor([])
2102 ## random-variable.h (module 'core'): ns3::RandomVariable::RandomVariable(ns3::RandomVariable const & o) [copy constructor]
2103 cls.add_constructor([param('ns3::RandomVariable const &', 'o')])
2104 ## random-variable.h (module 'core'): uint32_t ns3::RandomVariable::GetInteger() const [member function]
2105 cls.add_method('GetInteger',
2106 'uint32_t',
2107 [],
2108 is_const=True)
2109 ## random-variable.h (module 'core'): double ns3::RandomVariable::GetValue() const [member function]
2110 cls.add_method('GetValue',
2111 'double',
2112 [],
2113 is_const=True)
2114 return
2115
2116def register_Ns3RngSeedManager_methods(root_module, cls):
2117 ## rng-seed-manager.h (module 'core'): ns3::RngSeedManager::RngSeedManager() [constructor]
2118 cls.add_constructor([])
2119 ## rng-seed-manager.h (module 'core'): ns3::RngSeedManager::RngSeedManager(ns3::RngSeedManager const & arg0) [copy constructor]
2120 cls.add_constructor([param('ns3::RngSeedManager const &', 'arg0')])
2121 ## rng-seed-manager.h (module 'core'): static uint64_t ns3::RngSeedManager::GetNextStreamIndex() [member function]
2122 cls.add_method('GetNextStreamIndex',
2123 'uint64_t',
2124 [],
2125 is_static=True)
2126 ## rng-seed-manager.h (module 'core'): static uint64_t ns3::RngSeedManager::GetRun() [member function]
2127 cls.add_method('GetRun',
2128 'uint64_t',
2129 [],
2130 is_static=True)
2131 ## rng-seed-manager.h (module 'core'): static uint32_t ns3::RngSeedManager::GetSeed() [member function]
2132 cls.add_method('GetSeed',
2133 'uint32_t',
2134 [],
2135 is_static=True)
2136 ## rng-seed-manager.h (module 'core'): static void ns3::RngSeedManager::SetRun(uint64_t run) [member function]
2137 cls.add_method('SetRun',
2138 'void',
2139 [param('uint64_t', 'run')],
2140 is_static=True)
2141 ## rng-seed-manager.h (module 'core'): static void ns3::RngSeedManager::SetSeed(uint32_t seed) [member function]
2142 cls.add_method('SetSeed',
2143 'void',
2144 [param('uint32_t', 'seed')],
2145 is_static=True)
2146 return
2147
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -07002148def register_Ns3SequenceNumber32_methods(root_module, cls):
2149 cls.add_binary_comparison_operator('!=')
2150 cls.add_binary_numeric_operator('+', root_module['ns3::SequenceNumber32'], root_module['ns3::SequenceNumber32'], param('ns3::SequenceNumber< unsigned int, int > const &', 'right'))
2151 cls.add_binary_numeric_operator('+', root_module['ns3::SequenceNumber32'], root_module['ns3::SequenceNumber32'], param('int', 'right'))
2152 cls.add_inplace_numeric_operator('+=', param('int', 'right'))
2153 cls.add_binary_numeric_operator('-', root_module['ns3::SequenceNumber32'], root_module['ns3::SequenceNumber32'], param('int', 'right'))
2154 cls.add_inplace_numeric_operator('-=', param('int', 'right'))
2155 cls.add_binary_comparison_operator('<')
2156 cls.add_binary_comparison_operator('<=')
2157 cls.add_binary_comparison_operator('==')
2158 cls.add_binary_comparison_operator('>')
2159 cls.add_binary_comparison_operator('>=')
2160 ## sequence-number.h (module 'network'): ns3::SequenceNumber<unsigned int, int>::SequenceNumber() [constructor]
2161 cls.add_constructor([])
2162 ## sequence-number.h (module 'network'): ns3::SequenceNumber<unsigned int, int>::SequenceNumber(unsigned int value) [constructor]
2163 cls.add_constructor([param('unsigned int', 'value')])
2164 ## sequence-number.h (module 'network'): ns3::SequenceNumber<unsigned int, int>::SequenceNumber(ns3::SequenceNumber<unsigned int, int> const & value) [copy constructor]
2165 cls.add_constructor([param('ns3::SequenceNumber< unsigned int, int > const &', 'value')])
2166 ## sequence-number.h (module 'network'): unsigned int ns3::SequenceNumber<unsigned int, int>::GetValue() const [member function]
2167 cls.add_method('GetValue',
2168 'unsigned int',
2169 [],
2170 is_const=True)
2171 return
2172
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002173def register_Ns3SequentialVariable_methods(root_module, cls):
2174 ## random-variable.h (module 'core'): ns3::SequentialVariable::SequentialVariable(ns3::SequentialVariable const & arg0) [copy constructor]
2175 cls.add_constructor([param('ns3::SequentialVariable const &', 'arg0')])
2176 ## random-variable.h (module 'core'): ns3::SequentialVariable::SequentialVariable(double f, double l, double i=1, uint32_t c=1) [constructor]
2177 cls.add_constructor([param('double', 'f'), param('double', 'l'), param('double', 'i', default_value='1'), param('uint32_t', 'c', default_value='1')])
2178 ## random-variable.h (module 'core'): ns3::SequentialVariable::SequentialVariable(double f, double l, ns3::RandomVariable const & i, uint32_t c=1) [constructor]
2179 cls.add_constructor([param('double', 'f'), param('double', 'l'), param('ns3::RandomVariable const &', 'i'), param('uint32_t', 'c', default_value='1')])
2180 return
2181
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002182def register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, cls):
2183 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter>::SimpleRefCount() [constructor]
2184 cls.add_constructor([])
2185 ## 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]
2186 cls.add_constructor([param('ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter > const &', 'o')])
2187 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter>::Cleanup() [member function]
2188 cls.add_method('Cleanup',
2189 'void',
2190 [],
2191 is_static=True)
2192 return
2193
Alexander Afanasyev76b11572013-07-16 21:49:50 -07002194def register_Ns3Simulator_methods(root_module, cls):
2195 ## simulator.h (module 'core'): ns3::Simulator::Simulator(ns3::Simulator const & arg0) [copy constructor]
2196 cls.add_constructor([param('ns3::Simulator const &', 'arg0')])
2197 ## simulator.h (module 'core'): static void ns3::Simulator::Cancel(ns3::EventId const & id) [member function]
2198 cls.add_method('Cancel',
2199 'void',
2200 [param('ns3::EventId const &', 'id')],
2201 is_static=True)
2202 ## simulator.h (module 'core'): static void ns3::Simulator::Destroy() [member function]
2203 cls.add_method('Destroy',
2204 'void',
2205 [],
2206 is_static=True)
2207 ## simulator.h (module 'core'): static uint32_t ns3::Simulator::GetContext() [member function]
2208 cls.add_method('GetContext',
2209 'uint32_t',
2210 [],
2211 is_static=True)
2212 ## simulator.h (module 'core'): static ns3::Time ns3::Simulator::GetDelayLeft(ns3::EventId const & id) [member function]
2213 cls.add_method('GetDelayLeft',
2214 'ns3::Time',
2215 [param('ns3::EventId const &', 'id')],
2216 is_static=True)
2217 ## simulator.h (module 'core'): static ns3::Ptr<ns3::SimulatorImpl> ns3::Simulator::GetImplementation() [member function]
2218 cls.add_method('GetImplementation',
2219 'ns3::Ptr< ns3::SimulatorImpl >',
2220 [],
2221 is_static=True)
2222 ## simulator.h (module 'core'): static ns3::Time ns3::Simulator::GetMaximumSimulationTime() [member function]
2223 cls.add_method('GetMaximumSimulationTime',
2224 'ns3::Time',
2225 [],
2226 is_static=True)
2227 ## simulator.h (module 'core'): static uint32_t ns3::Simulator::GetSystemId() [member function]
2228 cls.add_method('GetSystemId',
2229 'uint32_t',
2230 [],
2231 is_static=True)
2232 ## simulator.h (module 'core'): static bool ns3::Simulator::IsExpired(ns3::EventId const & id) [member function]
2233 cls.add_method('IsExpired',
2234 'bool',
2235 [param('ns3::EventId const &', 'id')],
2236 is_static=True)
2237 ## simulator.h (module 'core'): static bool ns3::Simulator::IsFinished() [member function]
2238 cls.add_method('IsFinished',
2239 'bool',
2240 [],
2241 is_static=True)
2242 ## simulator.h (module 'core'): static ns3::Time ns3::Simulator::Now() [member function]
2243 cls.add_method('Now',
2244 'ns3::Time',
2245 [],
2246 is_static=True)
2247 ## simulator.h (module 'core'): static void ns3::Simulator::Remove(ns3::EventId const & id) [member function]
2248 cls.add_method('Remove',
2249 'void',
2250 [param('ns3::EventId const &', 'id')],
2251 is_static=True)
2252 ## simulator.h (module 'core'): static void ns3::Simulator::SetImplementation(ns3::Ptr<ns3::SimulatorImpl> impl) [member function]
2253 cls.add_method('SetImplementation',
2254 'void',
2255 [param('ns3::Ptr< ns3::SimulatorImpl >', 'impl')],
2256 is_static=True)
2257 ## simulator.h (module 'core'): static void ns3::Simulator::SetScheduler(ns3::ObjectFactory schedulerFactory) [member function]
2258 cls.add_method('SetScheduler',
2259 'void',
2260 [param('ns3::ObjectFactory', 'schedulerFactory')],
2261 is_static=True)
2262 ## simulator.h (module 'core'): static void ns3::Simulator::Stop() [member function]
2263 cls.add_method('Stop',
2264 'void',
2265 [],
2266 is_static=True)
2267 ## simulator.h (module 'core'): static void ns3::Simulator::Stop(ns3::Time const & time) [member function]
2268 cls.add_method('Stop',
2269 'void',
2270 [param('ns3::Time const &', 'time')],
2271 is_static=True)
2272 return
2273
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002274def register_Ns3Tag_methods(root_module, cls):
2275 ## tag.h (module 'network'): ns3::Tag::Tag() [constructor]
Alexander Afanasyev4975f732011-12-20 17:52:19 -08002276 cls.add_constructor([])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002277 ## tag.h (module 'network'): ns3::Tag::Tag(ns3::Tag const & arg0) [copy constructor]
2278 cls.add_constructor([param('ns3::Tag const &', 'arg0')])
2279 ## tag.h (module 'network'): void ns3::Tag::Deserialize(ns3::TagBuffer i) [member function]
2280 cls.add_method('Deserialize',
Alexander Afanasyev4975f732011-12-20 17:52:19 -08002281 'void',
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002282 [param('ns3::TagBuffer', 'i')],
2283 is_pure_virtual=True, is_virtual=True)
2284 ## tag.h (module 'network'): uint32_t ns3::Tag::GetSerializedSize() const [member function]
2285 cls.add_method('GetSerializedSize',
2286 'uint32_t',
2287 [],
2288 is_pure_virtual=True, is_const=True, is_virtual=True)
2289 ## tag.h (module 'network'): static ns3::TypeId ns3::Tag::GetTypeId() [member function]
2290 cls.add_method('GetTypeId',
2291 'ns3::TypeId',
2292 [],
Alexander Afanasyev4975f732011-12-20 17:52:19 -08002293 is_static=True)
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002294 ## tag.h (module 'network'): void ns3::Tag::Print(std::ostream & os) const [member function]
2295 cls.add_method('Print',
Alexander Afanasyev4975f732011-12-20 17:52:19 -08002296 'void',
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002297 [param('std::ostream &', 'os')],
2298 is_pure_virtual=True, is_const=True, is_virtual=True)
2299 ## tag.h (module 'network'): void ns3::Tag::Serialize(ns3::TagBuffer i) const [member function]
2300 cls.add_method('Serialize',
2301 'void',
2302 [param('ns3::TagBuffer', 'i')],
2303 is_pure_virtual=True, is_const=True, is_virtual=True)
Alexander Afanasyev4975f732011-12-20 17:52:19 -08002304 return
2305
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002306def register_Ns3TagBuffer_methods(root_module, cls):
2307 ## tag-buffer.h (module 'network'): ns3::TagBuffer::TagBuffer(ns3::TagBuffer const & arg0) [copy constructor]
2308 cls.add_constructor([param('ns3::TagBuffer const &', 'arg0')])
2309 ## tag-buffer.h (module 'network'): ns3::TagBuffer::TagBuffer(uint8_t * start, uint8_t * end) [constructor]
2310 cls.add_constructor([param('uint8_t *', 'start'), param('uint8_t *', 'end')])
2311 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::CopyFrom(ns3::TagBuffer o) [member function]
2312 cls.add_method('CopyFrom',
2313 'void',
2314 [param('ns3::TagBuffer', 'o')])
2315 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::Read(uint8_t * buffer, uint32_t size) [member function]
2316 cls.add_method('Read',
2317 'void',
2318 [param('uint8_t *', 'buffer'), param('uint32_t', 'size')])
2319 ## tag-buffer.h (module 'network'): double ns3::TagBuffer::ReadDouble() [member function]
2320 cls.add_method('ReadDouble',
2321 'double',
2322 [])
2323 ## tag-buffer.h (module 'network'): uint16_t ns3::TagBuffer::ReadU16() [member function]
2324 cls.add_method('ReadU16',
2325 'uint16_t',
2326 [])
2327 ## tag-buffer.h (module 'network'): uint32_t ns3::TagBuffer::ReadU32() [member function]
2328 cls.add_method('ReadU32',
2329 'uint32_t',
2330 [])
2331 ## tag-buffer.h (module 'network'): uint64_t ns3::TagBuffer::ReadU64() [member function]
2332 cls.add_method('ReadU64',
2333 'uint64_t',
2334 [])
2335 ## tag-buffer.h (module 'network'): uint8_t ns3::TagBuffer::ReadU8() [member function]
2336 cls.add_method('ReadU8',
2337 'uint8_t',
2338 [])
2339 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::TrimAtEnd(uint32_t trim) [member function]
2340 cls.add_method('TrimAtEnd',
2341 'void',
2342 [param('uint32_t', 'trim')])
2343 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::Write(uint8_t const * buffer, uint32_t size) [member function]
2344 cls.add_method('Write',
2345 'void',
2346 [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
2347 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteDouble(double v) [member function]
2348 cls.add_method('WriteDouble',
2349 'void',
2350 [param('double', 'v')])
2351 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU16(uint16_t data) [member function]
2352 cls.add_method('WriteU16',
2353 'void',
2354 [param('uint16_t', 'data')])
2355 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU32(uint32_t data) [member function]
2356 cls.add_method('WriteU32',
2357 'void',
2358 [param('uint32_t', 'data')])
2359 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU64(uint64_t v) [member function]
2360 cls.add_method('WriteU64',
2361 'void',
2362 [param('uint64_t', 'v')])
2363 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU8(uint8_t v) [member function]
2364 cls.add_method('WriteU8',
2365 'void',
2366 [param('uint8_t', 'v')])
2367 return
2368
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -07002369def register_Ns3TracedValue__Ns3NdnFibFaceMetricStatus_methods(root_module, cls):
2370 ## traced-value.h (module 'core'): ns3::TracedValue<ns3::ndn::fib::FaceMetric::Status>::TracedValue() [constructor]
2371 cls.add_constructor([])
2372 ## traced-value.h (module 'core'): ns3::TracedValue<ns3::ndn::fib::FaceMetric::Status>::TracedValue(ns3::TracedValue<ns3::ndn::fib::FaceMetric::Status> const & o) [copy constructor]
2373 cls.add_constructor([param('ns3::TracedValue< ns3::ndn::fib::FaceMetric::Status > const &', 'o')])
2374 ## traced-value.h (module 'core'): ns3::TracedValue<ns3::ndn::fib::FaceMetric::Status>::TracedValue(ns3::ndn::fib::FaceMetric::Status const & v) [constructor]
2375 cls.add_constructor([param('ns3::ndn::fib::FaceMetric::Status const &', 'v')])
2376 ## 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]
2377 cls.add_method('Connect',
2378 'void',
2379 [param('ns3::CallbackBase const &', 'cb'), param('std::string', 'path')])
2380 ## traced-value.h (module 'core'): void ns3::TracedValue<ns3::ndn::fib::FaceMetric::Status>::ConnectWithoutContext(ns3::CallbackBase const & cb) [member function]
2381 cls.add_method('ConnectWithoutContext',
2382 'void',
2383 [param('ns3::CallbackBase const &', 'cb')])
2384 ## 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]
2385 cls.add_method('Disconnect',
2386 'void',
2387 [param('ns3::CallbackBase const &', 'cb'), param('std::string', 'path')])
2388 ## traced-value.h (module 'core'): void ns3::TracedValue<ns3::ndn::fib::FaceMetric::Status>::DisconnectWithoutContext(ns3::CallbackBase const & cb) [member function]
2389 cls.add_method('DisconnectWithoutContext',
2390 'void',
2391 [param('ns3::CallbackBase const &', 'cb')])
2392 ## traced-value.h (module 'core'): ns3::ndn::fib::FaceMetric::Status ns3::TracedValue<ns3::ndn::fib::FaceMetric::Status>::Get() const [member function]
2393 cls.add_method('Get',
2394 'ns3::ndn::fib::FaceMetric::Status',
2395 [],
2396 is_const=True)
2397 ## traced-value.h (module 'core'): void ns3::TracedValue<ns3::ndn::fib::FaceMetric::Status>::Set(ns3::ndn::fib::FaceMetric::Status const & v) [member function]
2398 cls.add_method('Set',
2399 'void',
2400 [param('ns3::ndn::fib::FaceMetric::Status const &', 'v')])
2401 return
2402
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002403def register_Ns3TriangularVariable_methods(root_module, cls):
2404 ## random-variable.h (module 'core'): ns3::TriangularVariable::TriangularVariable(ns3::TriangularVariable const & arg0) [copy constructor]
2405 cls.add_constructor([param('ns3::TriangularVariable const &', 'arg0')])
2406 ## random-variable.h (module 'core'): ns3::TriangularVariable::TriangularVariable() [constructor]
2407 cls.add_constructor([])
2408 ## random-variable.h (module 'core'): ns3::TriangularVariable::TriangularVariable(double s, double l, double mean) [constructor]
2409 cls.add_constructor([param('double', 's'), param('double', 'l'), param('double', 'mean')])
2410 return
2411
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002412def register_Ns3TypeId_methods(root_module, cls):
2413 cls.add_binary_comparison_operator('!=')
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07002414 cls.add_output_stream_operator()
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07002415 cls.add_binary_comparison_operator('==')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002416 cls.add_binary_comparison_operator('<')
2417 ## type-id.h (module 'core'): ns3::TypeId::TypeId(char const * name) [constructor]
2418 cls.add_constructor([param('char const *', 'name')])
2419 ## type-id.h (module 'core'): ns3::TypeId::TypeId() [constructor]
2420 cls.add_constructor([])
2421 ## type-id.h (module 'core'): ns3::TypeId::TypeId(ns3::TypeId const & o) [copy constructor]
2422 cls.add_constructor([param('ns3::TypeId const &', 'o')])
2423 ## 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]
2424 cls.add_method('AddAttribute',
2425 'ns3::TypeId',
2426 [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')])
2427 ## 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]
2428 cls.add_method('AddAttribute',
2429 'ns3::TypeId',
2430 [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')])
2431 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr<ns3::TraceSourceAccessor const> accessor) [member function]
2432 cls.add_method('AddTraceSource',
2433 'ns3::TypeId',
2434 [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')])
2435 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function]
2436 cls.add_method('GetAttribute',
2437 'ns3::TypeId::AttributeInformation',
2438 [param('uint32_t', 'i')],
2439 is_const=True)
2440 ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function]
2441 cls.add_method('GetAttributeFullName',
2442 'std::string',
2443 [param('uint32_t', 'i')],
2444 is_const=True)
2445 ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function]
2446 cls.add_method('GetAttributeN',
2447 'uint32_t',
2448 [],
2449 is_const=True)
2450 ## 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]
2451 cls.add_method('GetConstructor',
2452 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >',
2453 [],
2454 is_const=True)
2455 ## type-id.h (module 'core'): std::string ns3::TypeId::GetGroupName() const [member function]
2456 cls.add_method('GetGroupName',
2457 'std::string',
2458 [],
2459 is_const=True)
2460 ## type-id.h (module 'core'): std::string ns3::TypeId::GetName() const [member function]
2461 cls.add_method('GetName',
2462 'std::string',
2463 [],
2464 is_const=True)
2465 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::GetParent() const [member function]
2466 cls.add_method('GetParent',
2467 'ns3::TypeId',
2468 [],
2469 is_const=True)
2470 ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::GetRegistered(uint32_t i) [member function]
2471 cls.add_method('GetRegistered',
2472 'ns3::TypeId',
2473 [param('uint32_t', 'i')],
2474 is_static=True)
2475 ## type-id.h (module 'core'): static uint32_t ns3::TypeId::GetRegisteredN() [member function]
2476 cls.add_method('GetRegisteredN',
2477 'uint32_t',
2478 [],
2479 is_static=True)
2480 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function]
2481 cls.add_method('GetTraceSource',
2482 'ns3::TypeId::TraceSourceInformation',
2483 [param('uint32_t', 'i')],
2484 is_const=True)
2485 ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function]
2486 cls.add_method('GetTraceSourceN',
2487 'uint32_t',
2488 [],
2489 is_const=True)
2490 ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function]
2491 cls.add_method('GetUid',
2492 'uint16_t',
2493 [],
2494 is_const=True)
2495 ## type-id.h (module 'core'): bool ns3::TypeId::HasConstructor() const [member function]
2496 cls.add_method('HasConstructor',
2497 'bool',
2498 [],
2499 is_const=True)
2500 ## type-id.h (module 'core'): bool ns3::TypeId::HasParent() const [member function]
2501 cls.add_method('HasParent',
2502 'bool',
2503 [],
2504 is_const=True)
2505 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::HideFromDocumentation() [member function]
2506 cls.add_method('HideFromDocumentation',
2507 'ns3::TypeId',
2508 [])
2509 ## type-id.h (module 'core'): bool ns3::TypeId::IsChildOf(ns3::TypeId other) const [member function]
2510 cls.add_method('IsChildOf',
2511 'bool',
2512 [param('ns3::TypeId', 'other')],
2513 is_const=True)
2514 ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function]
2515 cls.add_method('LookupAttributeByName',
2516 'bool',
Alexander Afanasyev6f933532012-02-29 13:30:37 -08002517 [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info', transfer_ownership=False)],
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002518 is_const=True)
2519 ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function]
2520 cls.add_method('LookupByName',
2521 'ns3::TypeId',
2522 [param('std::string', 'name')],
2523 is_static=True)
2524 ## type-id.h (module 'core'): ns3::Ptr<ns3::TraceSourceAccessor const> ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function]
2525 cls.add_method('LookupTraceSourceByName',
2526 'ns3::Ptr< ns3::TraceSourceAccessor const >',
2527 [param('std::string', 'name')],
2528 is_const=True)
2529 ## type-id.h (module 'core'): bool ns3::TypeId::MustHideFromDocumentation() const [member function]
2530 cls.add_method('MustHideFromDocumentation',
2531 'bool',
2532 [],
2533 is_const=True)
2534 ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr<ns3::AttributeValue const> initialValue) [member function]
2535 cls.add_method('SetAttributeInitialValue',
2536 'bool',
2537 [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')])
2538 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function]
2539 cls.add_method('SetGroupName',
2540 'ns3::TypeId',
2541 [param('std::string', 'groupName')])
2542 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetParent(ns3::TypeId tid) [member function]
2543 cls.add_method('SetParent',
2544 'ns3::TypeId',
2545 [param('ns3::TypeId', 'tid')])
2546 ## type-id.h (module 'core'): void ns3::TypeId::SetUid(uint16_t tid) [member function]
2547 cls.add_method('SetUid',
2548 'void',
2549 [param('uint16_t', 'tid')])
2550 return
2551
2552def register_Ns3TypeIdAttributeInformation_methods(root_module, cls):
2553 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor]
2554 cls.add_constructor([])
2555 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor]
2556 cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')])
2557 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable]
2558 cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False)
2559 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable]
2560 cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False)
2561 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable]
2562 cls.add_instance_attribute('flags', 'uint32_t', is_const=False)
2563 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable]
2564 cls.add_instance_attribute('help', 'std::string', is_const=False)
2565 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable]
2566 cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False)
2567 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable]
2568 cls.add_instance_attribute('name', 'std::string', is_const=False)
2569 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable]
2570 cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False)
2571 return
2572
2573def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls):
2574 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor]
2575 cls.add_constructor([])
2576 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor]
2577 cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')])
2578 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable]
2579 cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False)
2580 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable]
2581 cls.add_instance_attribute('help', 'std::string', is_const=False)
2582 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable]
2583 cls.add_instance_attribute('name', 'std::string', is_const=False)
2584 return
2585
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002586def register_Ns3UniformVariable_methods(root_module, cls):
2587 ## random-variable.h (module 'core'): ns3::UniformVariable::UniformVariable(ns3::UniformVariable const & arg0) [copy constructor]
2588 cls.add_constructor([param('ns3::UniformVariable const &', 'arg0')])
2589 ## random-variable.h (module 'core'): ns3::UniformVariable::UniformVariable() [constructor]
2590 cls.add_constructor([])
2591 ## random-variable.h (module 'core'): ns3::UniformVariable::UniformVariable(double s, double l) [constructor]
2592 cls.add_constructor([param('double', 's'), param('double', 'l')])
2593 ## random-variable.h (module 'core'): uint32_t ns3::UniformVariable::GetInteger(uint32_t s, uint32_t l) [member function]
2594 cls.add_method('GetInteger',
2595 'uint32_t',
2596 [param('uint32_t', 's'), param('uint32_t', 'l')])
2597 ## random-variable.h (module 'core'): double ns3::UniformVariable::GetValue() const [member function]
2598 cls.add_method('GetValue',
2599 'double',
2600 [],
2601 is_const=True)
2602 ## random-variable.h (module 'core'): double ns3::UniformVariable::GetValue(double s, double l) [member function]
2603 cls.add_method('GetValue',
2604 'double',
2605 [param('double', 's'), param('double', 'l')])
2606 return
2607
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002608def register_Ns3WeibullVariable_methods(root_module, cls):
2609 ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(ns3::WeibullVariable const & arg0) [copy constructor]
2610 cls.add_constructor([param('ns3::WeibullVariable const &', 'arg0')])
2611 ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable() [constructor]
2612 cls.add_constructor([])
2613 ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(double m) [constructor]
2614 cls.add_constructor([param('double', 'm')])
2615 ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(double m, double s) [constructor]
2616 cls.add_constructor([param('double', 'm'), param('double', 's')])
2617 ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(double m, double s, double b) [constructor]
2618 cls.add_constructor([param('double', 'm'), param('double', 's'), param('double', 'b')])
2619 return
2620
2621def register_Ns3ZetaVariable_methods(root_module, cls):
2622 ## random-variable.h (module 'core'): ns3::ZetaVariable::ZetaVariable(ns3::ZetaVariable const & arg0) [copy constructor]
2623 cls.add_constructor([param('ns3::ZetaVariable const &', 'arg0')])
2624 ## random-variable.h (module 'core'): ns3::ZetaVariable::ZetaVariable(double alpha) [constructor]
2625 cls.add_constructor([param('double', 'alpha')])
2626 ## random-variable.h (module 'core'): ns3::ZetaVariable::ZetaVariable() [constructor]
2627 cls.add_constructor([])
2628 return
2629
2630def register_Ns3ZipfVariable_methods(root_module, cls):
2631 ## random-variable.h (module 'core'): ns3::ZipfVariable::ZipfVariable(ns3::ZipfVariable const & arg0) [copy constructor]
2632 cls.add_constructor([param('ns3::ZipfVariable const &', 'arg0')])
2633 ## random-variable.h (module 'core'): ns3::ZipfVariable::ZipfVariable(long int N, double alpha) [constructor]
2634 cls.add_constructor([param('long int', 'N'), param('double', 'alpha')])
2635 ## random-variable.h (module 'core'): ns3::ZipfVariable::ZipfVariable() [constructor]
2636 cls.add_constructor([])
2637 return
2638
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002639def register_Ns3Empty_methods(root_module, cls):
2640 ## empty.h (module 'core'): ns3::empty::empty() [constructor]
2641 cls.add_constructor([])
2642 ## empty.h (module 'core'): ns3::empty::empty(ns3::empty const & arg0) [copy constructor]
2643 cls.add_constructor([param('ns3::empty const &', 'arg0')])
2644 return
2645
2646def register_Ns3Int64x64_t_methods(root_module, cls):
2647 cls.add_binary_comparison_operator('!=')
2648 cls.add_inplace_numeric_operator('*=', param('ns3::int64x64_t const &', 'right'))
2649 cls.add_inplace_numeric_operator('+=', param('ns3::int64x64_t const &', 'right'))
2650 cls.add_inplace_numeric_operator('-=', param('ns3::int64x64_t const &', 'right'))
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07002651 cls.add_output_stream_operator()
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08002652 cls.add_binary_comparison_operator('<=')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002653 cls.add_binary_comparison_operator('==')
2654 cls.add_binary_comparison_operator('>=')
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002655 cls.add_inplace_numeric_operator('/=', param('ns3::int64x64_t const &', 'right'))
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002656 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
2657 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
2658 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
2659 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
2660 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
2661 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
2662 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
2663 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
2664 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
2665 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
2666 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
2667 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
2668 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
2669 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
2670 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
2671 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
2672 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
2673 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
2674 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
2675 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
2676 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
2677 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
2678 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
2679 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
2680 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
2681 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
2682 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
2683 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
2684 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
2685 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
2686 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
2687 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
2688 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
2689 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
2690 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
2691 cls.add_unary_numeric_operator('-')
2692 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
2693 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
2694 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
2695 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
2696 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
2697 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
2698 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
2699 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
2700 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
2701 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
2702 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
2703 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
2704 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
2705 cls.add_binary_comparison_operator('<')
2706 cls.add_binary_comparison_operator('>')
2707 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t() [constructor]
2708 cls.add_constructor([])
2709 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(double v) [constructor]
2710 cls.add_constructor([param('double', 'v')])
2711 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(int v) [constructor]
2712 cls.add_constructor([param('int', 'v')])
2713 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long int v) [constructor]
2714 cls.add_constructor([param('long int', 'v')])
2715 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long long int v) [constructor]
2716 cls.add_constructor([param('long long int', 'v')])
2717 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(unsigned int v) [constructor]
2718 cls.add_constructor([param('unsigned int', 'v')])
2719 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long unsigned int v) [constructor]
2720 cls.add_constructor([param('long unsigned int', 'v')])
2721 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long long unsigned int v) [constructor]
2722 cls.add_constructor([param('long long unsigned int', 'v')])
2723 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(int64_t hi, uint64_t lo) [constructor]
2724 cls.add_constructor([param('int64_t', 'hi'), param('uint64_t', 'lo')])
2725 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(ns3::int64x64_t const & o) [copy constructor]
2726 cls.add_constructor([param('ns3::int64x64_t const &', 'o')])
2727 ## int64x64-double.h (module 'core'): double ns3::int64x64_t::GetDouble() const [member function]
2728 cls.add_method('GetDouble',
2729 'double',
2730 [],
2731 is_const=True)
2732 ## int64x64-double.h (module 'core'): int64_t ns3::int64x64_t::GetHigh() const [member function]
2733 cls.add_method('GetHigh',
2734 'int64_t',
2735 [],
2736 is_const=True)
2737 ## int64x64-double.h (module 'core'): uint64_t ns3::int64x64_t::GetLow() const [member function]
2738 cls.add_method('GetLow',
2739 'uint64_t',
2740 [],
2741 is_const=True)
2742 ## int64x64-double.h (module 'core'): static ns3::int64x64_t ns3::int64x64_t::Invert(uint64_t v) [member function]
2743 cls.add_method('Invert',
2744 'ns3::int64x64_t',
2745 [param('uint64_t', 'v')],
2746 is_static=True)
2747 ## int64x64-double.h (module 'core'): void ns3::int64x64_t::MulByInvert(ns3::int64x64_t const & o) [member function]
2748 cls.add_method('MulByInvert',
2749 'void',
2750 [param('ns3::int64x64_t const &', 'o')])
2751 return
2752
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002753def register_Ns3Chunk_methods(root_module, cls):
2754 ## chunk.h (module 'network'): ns3::Chunk::Chunk() [constructor]
2755 cls.add_constructor([])
2756 ## chunk.h (module 'network'): ns3::Chunk::Chunk(ns3::Chunk const & arg0) [copy constructor]
2757 cls.add_constructor([param('ns3::Chunk const &', 'arg0')])
2758 ## chunk.h (module 'network'): uint32_t ns3::Chunk::Deserialize(ns3::Buffer::Iterator start) [member function]
2759 cls.add_method('Deserialize',
2760 'uint32_t',
2761 [param('ns3::Buffer::Iterator', 'start')],
2762 is_pure_virtual=True, is_virtual=True)
2763 ## chunk.h (module 'network'): static ns3::TypeId ns3::Chunk::GetTypeId() [member function]
2764 cls.add_method('GetTypeId',
2765 'ns3::TypeId',
2766 [],
2767 is_static=True)
2768 ## chunk.h (module 'network'): void ns3::Chunk::Print(std::ostream & os) const [member function]
2769 cls.add_method('Print',
2770 'void',
2771 [param('std::ostream &', 'os')],
2772 is_pure_virtual=True, is_const=True, is_virtual=True)
2773 return
2774
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002775def register_Ns3ConstantVariable_methods(root_module, cls):
2776 ## random-variable.h (module 'core'): ns3::ConstantVariable::ConstantVariable(ns3::ConstantVariable const & arg0) [copy constructor]
2777 cls.add_constructor([param('ns3::ConstantVariable const &', 'arg0')])
2778 ## random-variable.h (module 'core'): ns3::ConstantVariable::ConstantVariable() [constructor]
2779 cls.add_constructor([])
2780 ## random-variable.h (module 'core'): ns3::ConstantVariable::ConstantVariable(double c) [constructor]
2781 cls.add_constructor([param('double', 'c')])
2782 ## random-variable.h (module 'core'): void ns3::ConstantVariable::SetConstant(double c) [member function]
2783 cls.add_method('SetConstant',
2784 'void',
2785 [param('double', 'c')])
2786 return
2787
2788def register_Ns3DeterministicVariable_methods(root_module, cls):
2789 ## random-variable.h (module 'core'): ns3::DeterministicVariable::DeterministicVariable(ns3::DeterministicVariable const & arg0) [copy constructor]
2790 cls.add_constructor([param('ns3::DeterministicVariable const &', 'arg0')])
2791 ## random-variable.h (module 'core'): ns3::DeterministicVariable::DeterministicVariable(double * d, uint32_t c) [constructor]
2792 cls.add_constructor([param('double *', 'd'), param('uint32_t', 'c')])
2793 return
2794
2795def register_Ns3EmpiricalVariable_methods(root_module, cls):
2796 ## random-variable.h (module 'core'): ns3::EmpiricalVariable::EmpiricalVariable(ns3::EmpiricalVariable const & arg0) [copy constructor]
2797 cls.add_constructor([param('ns3::EmpiricalVariable const &', 'arg0')])
2798 ## random-variable.h (module 'core'): ns3::EmpiricalVariable::EmpiricalVariable() [constructor]
2799 cls.add_constructor([])
2800 ## random-variable.h (module 'core'): void ns3::EmpiricalVariable::CDF(double v, double c) [member function]
2801 cls.add_method('CDF',
2802 'void',
2803 [param('double', 'v'), param('double', 'c')])
2804 return
2805
2806def register_Ns3ErlangVariable_methods(root_module, cls):
2807 ## random-variable.h (module 'core'): ns3::ErlangVariable::ErlangVariable(ns3::ErlangVariable const & arg0) [copy constructor]
2808 cls.add_constructor([param('ns3::ErlangVariable const &', 'arg0')])
2809 ## random-variable.h (module 'core'): ns3::ErlangVariable::ErlangVariable() [constructor]
2810 cls.add_constructor([])
2811 ## random-variable.h (module 'core'): ns3::ErlangVariable::ErlangVariable(unsigned int k, double lambda) [constructor]
2812 cls.add_constructor([param('unsigned int', 'k'), param('double', 'lambda')])
2813 ## random-variable.h (module 'core'): double ns3::ErlangVariable::GetValue() const [member function]
2814 cls.add_method('GetValue',
2815 'double',
2816 [],
2817 is_const=True)
2818 ## random-variable.h (module 'core'): double ns3::ErlangVariable::GetValue(unsigned int k, double lambda) const [member function]
2819 cls.add_method('GetValue',
2820 'double',
2821 [param('unsigned int', 'k'), param('double', 'lambda')],
2822 is_const=True)
2823 return
2824
2825def register_Ns3ExponentialVariable_methods(root_module, cls):
2826 ## random-variable.h (module 'core'): ns3::ExponentialVariable::ExponentialVariable(ns3::ExponentialVariable const & arg0) [copy constructor]
2827 cls.add_constructor([param('ns3::ExponentialVariable const &', 'arg0')])
2828 ## random-variable.h (module 'core'): ns3::ExponentialVariable::ExponentialVariable() [constructor]
2829 cls.add_constructor([])
2830 ## random-variable.h (module 'core'): ns3::ExponentialVariable::ExponentialVariable(double m) [constructor]
2831 cls.add_constructor([param('double', 'm')])
2832 ## random-variable.h (module 'core'): ns3::ExponentialVariable::ExponentialVariable(double m, double b) [constructor]
2833 cls.add_constructor([param('double', 'm'), param('double', 'b')])
2834 return
2835
2836def register_Ns3GammaVariable_methods(root_module, cls):
2837 ## random-variable.h (module 'core'): ns3::GammaVariable::GammaVariable(ns3::GammaVariable const & arg0) [copy constructor]
2838 cls.add_constructor([param('ns3::GammaVariable const &', 'arg0')])
2839 ## random-variable.h (module 'core'): ns3::GammaVariable::GammaVariable() [constructor]
2840 cls.add_constructor([])
2841 ## random-variable.h (module 'core'): ns3::GammaVariable::GammaVariable(double alpha, double beta) [constructor]
2842 cls.add_constructor([param('double', 'alpha'), param('double', 'beta')])
2843 ## random-variable.h (module 'core'): double ns3::GammaVariable::GetValue() const [member function]
2844 cls.add_method('GetValue',
2845 'double',
2846 [],
2847 is_const=True)
2848 ## random-variable.h (module 'core'): double ns3::GammaVariable::GetValue(double alpha, double beta) const [member function]
2849 cls.add_method('GetValue',
2850 'double',
2851 [param('double', 'alpha'), param('double', 'beta')],
2852 is_const=True)
2853 return
2854
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002855def register_Ns3Header_methods(root_module, cls):
2856 cls.add_output_stream_operator()
2857 ## header.h (module 'network'): ns3::Header::Header() [constructor]
2858 cls.add_constructor([])
2859 ## header.h (module 'network'): ns3::Header::Header(ns3::Header const & arg0) [copy constructor]
2860 cls.add_constructor([param('ns3::Header const &', 'arg0')])
2861 ## header.h (module 'network'): uint32_t ns3::Header::Deserialize(ns3::Buffer::Iterator start) [member function]
2862 cls.add_method('Deserialize',
2863 'uint32_t',
2864 [param('ns3::Buffer::Iterator', 'start')],
2865 is_pure_virtual=True, is_virtual=True)
2866 ## header.h (module 'network'): uint32_t ns3::Header::GetSerializedSize() const [member function]
2867 cls.add_method('GetSerializedSize',
2868 'uint32_t',
2869 [],
2870 is_pure_virtual=True, is_const=True, is_virtual=True)
2871 ## header.h (module 'network'): static ns3::TypeId ns3::Header::GetTypeId() [member function]
2872 cls.add_method('GetTypeId',
2873 'ns3::TypeId',
2874 [],
2875 is_static=True)
2876 ## header.h (module 'network'): void ns3::Header::Print(std::ostream & os) const [member function]
2877 cls.add_method('Print',
2878 'void',
2879 [param('std::ostream &', 'os')],
2880 is_pure_virtual=True, is_const=True, is_virtual=True)
2881 ## header.h (module 'network'): void ns3::Header::Serialize(ns3::Buffer::Iterator start) const [member function]
2882 cls.add_method('Serialize',
2883 'void',
2884 [param('ns3::Buffer::Iterator', 'start')],
2885 is_pure_virtual=True, is_const=True, is_virtual=True)
2886 return
2887
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002888def register_Ns3IntEmpiricalVariable_methods(root_module, cls):
2889 ## random-variable.h (module 'core'): ns3::IntEmpiricalVariable::IntEmpiricalVariable(ns3::IntEmpiricalVariable const & arg0) [copy constructor]
2890 cls.add_constructor([param('ns3::IntEmpiricalVariable const &', 'arg0')])
2891 ## random-variable.h (module 'core'): ns3::IntEmpiricalVariable::IntEmpiricalVariable() [constructor]
2892 cls.add_constructor([])
2893 return
2894
2895def register_Ns3LogNormalVariable_methods(root_module, cls):
2896 ## random-variable.h (module 'core'): ns3::LogNormalVariable::LogNormalVariable(ns3::LogNormalVariable const & arg0) [copy constructor]
2897 cls.add_constructor([param('ns3::LogNormalVariable const &', 'arg0')])
2898 ## random-variable.h (module 'core'): ns3::LogNormalVariable::LogNormalVariable(double mu, double sigma) [constructor]
2899 cls.add_constructor([param('double', 'mu'), param('double', 'sigma')])
2900 return
2901
2902def register_Ns3NormalVariable_methods(root_module, cls):
2903 ## random-variable.h (module 'core'): ns3::NormalVariable::NormalVariable(ns3::NormalVariable const & arg0) [copy constructor]
2904 cls.add_constructor([param('ns3::NormalVariable const &', 'arg0')])
2905 ## random-variable.h (module 'core'): ns3::NormalVariable::NormalVariable() [constructor]
2906 cls.add_constructor([])
2907 ## random-variable.h (module 'core'): ns3::NormalVariable::NormalVariable(double m, double v) [constructor]
2908 cls.add_constructor([param('double', 'm'), param('double', 'v')])
2909 ## random-variable.h (module 'core'): ns3::NormalVariable::NormalVariable(double m, double v, double b) [constructor]
2910 cls.add_constructor([param('double', 'm'), param('double', 'v'), param('double', 'b')])
2911 return
2912
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002913def register_Ns3Object_methods(root_module, cls):
2914 ## object.h (module 'core'): ns3::Object::Object() [constructor]
2915 cls.add_constructor([])
2916 ## object.h (module 'core'): void ns3::Object::AggregateObject(ns3::Ptr<ns3::Object> other) [member function]
2917 cls.add_method('AggregateObject',
2918 'void',
2919 [param('ns3::Ptr< ns3::Object >', 'other')])
2920 ## object.h (module 'core'): void ns3::Object::Dispose() [member function]
2921 cls.add_method('Dispose',
2922 'void',
2923 [])
2924 ## object.h (module 'core'): ns3::Object::AggregateIterator ns3::Object::GetAggregateIterator() const [member function]
2925 cls.add_method('GetAggregateIterator',
2926 'ns3::Object::AggregateIterator',
2927 [],
2928 is_const=True)
2929 ## object.h (module 'core'): ns3::TypeId ns3::Object::GetInstanceTypeId() const [member function]
2930 cls.add_method('GetInstanceTypeId',
2931 'ns3::TypeId',
2932 [],
2933 is_const=True, is_virtual=True)
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002934 ## object.h (module 'core'): ns3::Ptr<ns3::ndn::ContentStore> ns3::Object::GetObject() const [member function]
2935 cls.add_method('GetObject',
2936 'ns3::Ptr< ns3::ndn::ContentStore >',
2937 [],
2938 is_const=True, template_parameters=['ns3::ndn::ContentStore'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07002939 ## object.h (module 'core'): ns3::Ptr<ns3::ndn::Fib> ns3::Object::GetObject() const [member function]
Alexander Afanasyev1c0248b2012-07-24 15:59:50 -07002940 cls.add_method('GetObject',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07002941 'ns3::Ptr< ns3::ndn::Fib >',
Alexander Afanasyev1c0248b2012-07-24 15:59:50 -07002942 [],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07002943 is_const=True, template_parameters=['ns3::ndn::Fib'])
2944 ## object.h (module 'core'): ns3::Ptr<ns3::ndn::Pit> ns3::Object::GetObject() const [member function]
Alexander Afanasyev5feb38b2012-08-09 11:01:43 -07002945 cls.add_method('GetObject',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07002946 'ns3::Ptr< ns3::ndn::Pit >',
Alexander Afanasyev5feb38b2012-08-09 11:01:43 -07002947 [],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07002948 is_const=True, template_parameters=['ns3::ndn::Pit'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002949 ## object.h (module 'core'): static ns3::TypeId ns3::Object::GetTypeId() [member function]
2950 cls.add_method('GetTypeId',
2951 'ns3::TypeId',
2952 [],
2953 is_static=True)
Alexander Afanasyev5b8d61b2013-05-03 10:23:21 -07002954 ## object.h (module 'core'): void ns3::Object::Initialize() [member function]
2955 cls.add_method('Initialize',
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002956 'void',
2957 [])
2958 ## object.h (module 'core'): ns3::Object::Object(ns3::Object const & o) [copy constructor]
2959 cls.add_constructor([param('ns3::Object const &', 'o')],
2960 visibility='protected')
2961 ## object.h (module 'core'): void ns3::Object::DoDispose() [member function]
2962 cls.add_method('DoDispose',
2963 'void',
2964 [],
2965 visibility='protected', is_virtual=True)
Alexander Afanasyev5b8d61b2013-05-03 10:23:21 -07002966 ## object.h (module 'core'): void ns3::Object::DoInitialize() [member function]
2967 cls.add_method('DoInitialize',
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002968 'void',
2969 [],
2970 visibility='protected', is_virtual=True)
2971 ## object.h (module 'core'): void ns3::Object::NotifyNewAggregate() [member function]
2972 cls.add_method('NotifyNewAggregate',
2973 'void',
2974 [],
2975 visibility='protected', is_virtual=True)
2976 return
2977
2978def register_Ns3ObjectAggregateIterator_methods(root_module, cls):
2979 ## object.h (module 'core'): ns3::Object::AggregateIterator::AggregateIterator(ns3::Object::AggregateIterator const & arg0) [copy constructor]
2980 cls.add_constructor([param('ns3::Object::AggregateIterator const &', 'arg0')])
2981 ## object.h (module 'core'): ns3::Object::AggregateIterator::AggregateIterator() [constructor]
2982 cls.add_constructor([])
2983 ## object.h (module 'core'): bool ns3::Object::AggregateIterator::HasNext() const [member function]
2984 cls.add_method('HasNext',
2985 'bool',
2986 [],
2987 is_const=True)
2988 ## object.h (module 'core'): ns3::Ptr<ns3::Object const> ns3::Object::AggregateIterator::Next() [member function]
2989 cls.add_method('Next',
2990 'ns3::Ptr< ns3::Object const >',
2991 [])
2992 return
2993
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002994def register_Ns3ParetoVariable_methods(root_module, cls):
2995 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(ns3::ParetoVariable const & arg0) [copy constructor]
2996 cls.add_constructor([param('ns3::ParetoVariable const &', 'arg0')])
2997 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable() [constructor]
2998 cls.add_constructor([])
2999 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(double m) [constructor]
3000 cls.add_constructor([param('double', 'm')])
3001 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(double m, double s) [constructor]
3002 cls.add_constructor([param('double', 'm'), param('double', 's')])
3003 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(double m, double s, double b) [constructor]
3004 cls.add_constructor([param('double', 'm'), param('double', 's'), param('double', 'b')])
3005 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(std::pair<double,double> params) [constructor]
3006 cls.add_constructor([param('std::pair< double, double >', 'params')])
3007 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(std::pair<double,double> params, double b) [constructor]
3008 cls.add_constructor([param('std::pair< double, double >', 'params'), param('double', 'b')])
3009 return
3010
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003011def register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, cls):
3012 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >::SimpleRefCount() [constructor]
3013 cls.add_constructor([])
3014 ## 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]
3015 cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter< ns3::AttributeAccessor > > const &', 'o')])
3016 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >::Cleanup() [member function]
3017 cls.add_method('Cleanup',
3018 'void',
3019 [],
3020 is_static=True)
3021 return
3022
3023def register_Ns3SimpleRefCount__Ns3AttributeChecker_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeChecker__gt___methods(root_module, cls):
3024 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >::SimpleRefCount() [constructor]
3025 cls.add_constructor([])
3026 ## 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]
3027 cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter< ns3::AttributeChecker > > const &', 'o')])
3028 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >::Cleanup() [member function]
3029 cls.add_method('Cleanup',
3030 'void',
3031 [],
3032 is_static=True)
3033 return
3034
3035def register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeValue__gt___methods(root_module, cls):
3036 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >::SimpleRefCount() [constructor]
3037 cls.add_constructor([])
3038 ## 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]
3039 cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter< ns3::AttributeValue > > const &', 'o')])
3040 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >::Cleanup() [member function]
3041 cls.add_method('Cleanup',
3042 'void',
3043 [],
3044 is_static=True)
3045 return
3046
3047def register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__lt__ns3CallbackImplBase__gt___methods(root_module, cls):
3048 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >::SimpleRefCount() [constructor]
3049 cls.add_constructor([])
3050 ## 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]
3051 cls.add_constructor([param('ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter< ns3::CallbackImplBase > > const &', 'o')])
3052 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >::Cleanup() [member function]
3053 cls.add_method('Cleanup',
3054 'void',
3055 [],
3056 is_static=True)
3057 return
3058
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003059def register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__gt___methods(root_module, cls):
3060 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >::SimpleRefCount() [constructor]
3061 cls.add_constructor([])
3062 ## 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]
3063 cls.add_constructor([param('ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter< ns3::EventImpl > > const &', 'o')])
3064 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >::Cleanup() [member function]
3065 cls.add_method('Cleanup',
3066 'void',
3067 [],
3068 is_static=True)
3069 return
3070
3071def register_Ns3SimpleRefCount__Ns3NixVector_Ns3Empty_Ns3DefaultDeleter__lt__ns3NixVector__gt___methods(root_module, cls):
3072 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >::SimpleRefCount() [constructor]
3073 cls.add_constructor([])
3074 ## 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]
3075 cls.add_constructor([param('ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter< ns3::NixVector > > const &', 'o')])
3076 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >::Cleanup() [member function]
3077 cls.add_method('Cleanup',
3078 'void',
3079 [],
3080 is_static=True)
3081 return
3082
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003083def register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, cls):
3084 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >::SimpleRefCount() [constructor]
3085 cls.add_constructor([])
3086 ## 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]
3087 cls.add_constructor([param('ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter< ns3::Packet > > const &', 'o')])
3088 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >::Cleanup() [member function]
3089 cls.add_method('Cleanup',
3090 'void',
3091 [],
3092 is_static=True)
3093 return
3094
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07003095def register_Ns3SimpleRefCount__Ns3TopologyReader_Ns3Empty_Ns3DefaultDeleter__lt__ns3TopologyReader__gt___methods(root_module, cls):
3096 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TopologyReader, ns3::empty, ns3::DefaultDeleter<ns3::TopologyReader> >::SimpleRefCount() [constructor]
3097 cls.add_constructor([])
3098 ## 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]
3099 cls.add_constructor([param('ns3::SimpleRefCount< ns3::TopologyReader, ns3::empty, ns3::DefaultDeleter< ns3::TopologyReader > > const &', 'o')])
3100 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::TopologyReader, ns3::empty, ns3::DefaultDeleter<ns3::TopologyReader> >::Cleanup() [member function]
3101 cls.add_method('Cleanup',
3102 'void',
3103 [],
3104 is_static=True)
3105 return
3106
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003107def register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, cls):
3108 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >::SimpleRefCount() [constructor]
3109 cls.add_constructor([])
3110 ## 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]
3111 cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > const &', 'o')])
3112 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >::Cleanup() [member function]
3113 cls.add_method('Cleanup',
3114 'void',
3115 [],
3116 is_static=True)
3117 return
3118
Alexander Afanasyev858d5312013-07-10 18:50:18 -07003119def register_Ns3SimpleRefCount__Ns3NdnContentObject_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnContentObject__gt___methods(root_module, cls):
3120 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::ContentObject, ns3::empty, ns3::DefaultDeleter<ns3::ndn::ContentObject> >::SimpleRefCount() [constructor]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07003121 cls.add_constructor([])
Alexander Afanasyev858d5312013-07-10 18:50:18 -07003122 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::ContentObject, ns3::empty, ns3::DefaultDeleter<ns3::ndn::ContentObject> >::SimpleRefCount(ns3::SimpleRefCount<ns3::ndn::ContentObject, ns3::empty, ns3::DefaultDeleter<ns3::ndn::ContentObject> > const & o) [copy constructor]
3123 cls.add_constructor([param('ns3::SimpleRefCount< ns3::ndn::ContentObject, ns3::empty, ns3::DefaultDeleter< ns3::ndn::ContentObject > > const &', 'o')])
3124 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::ndn::ContentObject, ns3::empty, ns3::DefaultDeleter<ns3::ndn::ContentObject> >::Cleanup() [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07003125 cls.add_method('Cleanup',
3126 'void',
3127 [],
3128 is_static=True)
3129 return
3130
3131def register_Ns3SimpleRefCount__Ns3NdnFaceContainer_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnFaceContainer__gt___methods(root_module, cls):
3132 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::FaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::ndn::FaceContainer> >::SimpleRefCount() [constructor]
3133 cls.add_constructor([])
3134 ## 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]
3135 cls.add_constructor([param('ns3::SimpleRefCount< ns3::ndn::FaceContainer, ns3::empty, ns3::DefaultDeleter< ns3::ndn::FaceContainer > > const &', 'o')])
3136 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::ndn::FaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::ndn::FaceContainer> >::Cleanup() [member function]
3137 cls.add_method('Cleanup',
3138 'void',
3139 [],
3140 is_static=True)
3141 return
3142
Alexander Afanasyev858d5312013-07-10 18:50:18 -07003143def register_Ns3SimpleRefCount__Ns3NdnInterest_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnInterest__gt___methods(root_module, cls):
3144 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::Interest, ns3::empty, ns3::DefaultDeleter<ns3::ndn::Interest> >::SimpleRefCount() [constructor]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07003145 cls.add_constructor([])
Alexander Afanasyev858d5312013-07-10 18:50:18 -07003146 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::Interest, ns3::empty, ns3::DefaultDeleter<ns3::ndn::Interest> >::SimpleRefCount(ns3::SimpleRefCount<ns3::ndn::Interest, ns3::empty, ns3::DefaultDeleter<ns3::ndn::Interest> > const & o) [copy constructor]
3147 cls.add_constructor([param('ns3::SimpleRefCount< ns3::ndn::Interest, ns3::empty, ns3::DefaultDeleter< ns3::ndn::Interest > > const &', 'o')])
3148 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::ndn::Interest, ns3::empty, ns3::DefaultDeleter<ns3::ndn::Interest> >::Cleanup() [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07003149 cls.add_method('Cleanup',
3150 'void',
3151 [],
3152 is_static=True)
3153 return
3154
Alexander Afanasyev32c07562013-02-01 12:58:43 -08003155def register_Ns3SimpleRefCount__Ns3NdnName_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnName__gt___methods(root_module, cls):
3156 ## 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 -07003157 cls.add_constructor([])
Alexander Afanasyev32c07562013-02-01 12:58:43 -08003158 ## 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]
3159 cls.add_constructor([param('ns3::SimpleRefCount< ns3::ndn::Name, ns3::empty, ns3::DefaultDeleter< ns3::ndn::Name > > const &', 'o')])
3160 ## 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 -07003161 cls.add_method('Cleanup',
3162 'void',
3163 [],
3164 is_static=True)
3165 return
3166
3167def register_Ns3SimpleRefCount__Ns3NdnCsEntry_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnCsEntry__gt___methods(root_module, cls):
3168 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::cs::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::cs::Entry> >::SimpleRefCount() [constructor]
3169 cls.add_constructor([])
3170 ## 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]
3171 cls.add_constructor([param('ns3::SimpleRefCount< ns3::ndn::cs::Entry, ns3::empty, ns3::DefaultDeleter< ns3::ndn::cs::Entry > > const &', 'o')])
3172 ## 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]
3173 cls.add_method('Cleanup',
3174 'void',
3175 [],
3176 is_static=True)
3177 return
3178
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07003179def register_Ns3SimpleRefCount__Ns3NdnPitEntry_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnPitEntry__gt___methods(root_module, cls):
3180 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::pit::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::pit::Entry> >::SimpleRefCount() [constructor]
3181 cls.add_constructor([])
3182 ## 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]
3183 cls.add_constructor([param('ns3::SimpleRefCount< ns3::ndn::pit::Entry, ns3::empty, ns3::DefaultDeleter< ns3::ndn::pit::Entry > > const &', 'o')])
3184 ## 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]
3185 cls.add_method('Cleanup',
3186 'void',
3187 [],
3188 is_static=True)
3189 return
3190
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003191def register_Ns3Time_methods(root_module, cls):
3192 cls.add_binary_comparison_operator('!=')
3193 cls.add_inplace_numeric_operator('+=', param('ns3::Time const &', 'right'))
3194 cls.add_inplace_numeric_operator('-=', param('ns3::Time const &', 'right'))
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07003195 cls.add_output_stream_operator()
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08003196 cls.add_binary_comparison_operator('<=')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003197 cls.add_binary_comparison_operator('==')
3198 cls.add_binary_comparison_operator('>=')
3199 cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right'))
3200 cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right'))
3201 cls.add_binary_comparison_operator('<')
3202 cls.add_binary_comparison_operator('>')
3203 ## nstime.h (module 'core'): ns3::Time::Time() [constructor]
3204 cls.add_constructor([])
3205 ## nstime.h (module 'core'): ns3::Time::Time(ns3::Time const & o) [copy constructor]
3206 cls.add_constructor([param('ns3::Time const &', 'o')])
3207 ## nstime.h (module 'core'): ns3::Time::Time(double v) [constructor]
3208 cls.add_constructor([param('double', 'v')])
3209 ## nstime.h (module 'core'): ns3::Time::Time(int v) [constructor]
3210 cls.add_constructor([param('int', 'v')])
3211 ## nstime.h (module 'core'): ns3::Time::Time(long int v) [constructor]
3212 cls.add_constructor([param('long int', 'v')])
3213 ## nstime.h (module 'core'): ns3::Time::Time(long long int v) [constructor]
3214 cls.add_constructor([param('long long int', 'v')])
3215 ## nstime.h (module 'core'): ns3::Time::Time(unsigned int v) [constructor]
3216 cls.add_constructor([param('unsigned int', 'v')])
3217 ## nstime.h (module 'core'): ns3::Time::Time(long unsigned int v) [constructor]
3218 cls.add_constructor([param('long unsigned int', 'v')])
3219 ## nstime.h (module 'core'): ns3::Time::Time(long long unsigned int v) [constructor]
3220 cls.add_constructor([param('long long unsigned int', 'v')])
3221 ## nstime.h (module 'core'): ns3::Time::Time(std::string const & s) [constructor]
3222 cls.add_constructor([param('std::string const &', 's')])
3223 ## nstime.h (module 'core'): ns3::Time::Time(ns3::int64x64_t const & value) [constructor]
3224 cls.add_constructor([param('ns3::int64x64_t const &', 'value')])
3225 ## nstime.h (module 'core'): int ns3::Time::Compare(ns3::Time const & o) const [member function]
3226 cls.add_method('Compare',
3227 'int',
3228 [param('ns3::Time const &', 'o')],
3229 is_const=True)
3230 ## nstime.h (module 'core'): static ns3::Time ns3::Time::From(ns3::int64x64_t const & from, ns3::Time::Unit timeUnit) [member function]
3231 cls.add_method('From',
3232 'ns3::Time',
3233 [param('ns3::int64x64_t const &', 'from'), param('ns3::Time::Unit', 'timeUnit')],
3234 is_static=True)
3235 ## nstime.h (module 'core'): static ns3::Time ns3::Time::From(ns3::int64x64_t const & value) [member function]
3236 cls.add_method('From',
3237 'ns3::Time',
3238 [param('ns3::int64x64_t const &', 'value')],
3239 is_static=True)
3240 ## nstime.h (module 'core'): static ns3::Time ns3::Time::FromDouble(double value, ns3::Time::Unit timeUnit) [member function]
3241 cls.add_method('FromDouble',
3242 'ns3::Time',
3243 [param('double', 'value'), param('ns3::Time::Unit', 'timeUnit')],
3244 is_static=True)
3245 ## nstime.h (module 'core'): static ns3::Time ns3::Time::FromInteger(uint64_t value, ns3::Time::Unit timeUnit) [member function]
3246 cls.add_method('FromInteger',
3247 'ns3::Time',
3248 [param('uint64_t', 'value'), param('ns3::Time::Unit', 'timeUnit')],
3249 is_static=True)
3250 ## nstime.h (module 'core'): double ns3::Time::GetDouble() const [member function]
3251 cls.add_method('GetDouble',
3252 'double',
3253 [],
3254 is_const=True)
3255 ## nstime.h (module 'core'): int64_t ns3::Time::GetFemtoSeconds() const [member function]
3256 cls.add_method('GetFemtoSeconds',
3257 'int64_t',
3258 [],
3259 is_const=True)
3260 ## nstime.h (module 'core'): int64_t ns3::Time::GetInteger() const [member function]
3261 cls.add_method('GetInteger',
3262 'int64_t',
3263 [],
3264 is_const=True)
3265 ## nstime.h (module 'core'): int64_t ns3::Time::GetMicroSeconds() const [member function]
3266 cls.add_method('GetMicroSeconds',
3267 'int64_t',
3268 [],
3269 is_const=True)
3270 ## nstime.h (module 'core'): int64_t ns3::Time::GetMilliSeconds() const [member function]
3271 cls.add_method('GetMilliSeconds',
3272 'int64_t',
3273 [],
3274 is_const=True)
3275 ## nstime.h (module 'core'): int64_t ns3::Time::GetNanoSeconds() const [member function]
3276 cls.add_method('GetNanoSeconds',
3277 'int64_t',
3278 [],
3279 is_const=True)
3280 ## nstime.h (module 'core'): int64_t ns3::Time::GetPicoSeconds() const [member function]
3281 cls.add_method('GetPicoSeconds',
3282 'int64_t',
3283 [],
3284 is_const=True)
3285 ## nstime.h (module 'core'): static ns3::Time::Unit ns3::Time::GetResolution() [member function]
3286 cls.add_method('GetResolution',
3287 'ns3::Time::Unit',
3288 [],
3289 is_static=True)
3290 ## nstime.h (module 'core'): double ns3::Time::GetSeconds() const [member function]
3291 cls.add_method('GetSeconds',
3292 'double',
3293 [],
3294 is_const=True)
3295 ## nstime.h (module 'core'): int64_t ns3::Time::GetTimeStep() const [member function]
3296 cls.add_method('GetTimeStep',
3297 'int64_t',
3298 [],
3299 is_const=True)
3300 ## nstime.h (module 'core'): bool ns3::Time::IsNegative() const [member function]
3301 cls.add_method('IsNegative',
3302 'bool',
3303 [],
3304 is_const=True)
3305 ## nstime.h (module 'core'): bool ns3::Time::IsPositive() const [member function]
3306 cls.add_method('IsPositive',
3307 'bool',
3308 [],
3309 is_const=True)
3310 ## nstime.h (module 'core'): bool ns3::Time::IsStrictlyNegative() const [member function]
3311 cls.add_method('IsStrictlyNegative',
3312 'bool',
3313 [],
3314 is_const=True)
3315 ## nstime.h (module 'core'): bool ns3::Time::IsStrictlyPositive() const [member function]
3316 cls.add_method('IsStrictlyPositive',
3317 'bool',
3318 [],
3319 is_const=True)
3320 ## nstime.h (module 'core'): bool ns3::Time::IsZero() const [member function]
3321 cls.add_method('IsZero',
3322 'bool',
3323 [],
3324 is_const=True)
3325 ## nstime.h (module 'core'): static void ns3::Time::SetResolution(ns3::Time::Unit resolution) [member function]
3326 cls.add_method('SetResolution',
3327 'void',
3328 [param('ns3::Time::Unit', 'resolution')],
3329 is_static=True)
3330 ## nstime.h (module 'core'): ns3::int64x64_t ns3::Time::To(ns3::Time::Unit timeUnit) const [member function]
3331 cls.add_method('To',
3332 'ns3::int64x64_t',
3333 [param('ns3::Time::Unit', 'timeUnit')],
3334 is_const=True)
3335 ## nstime.h (module 'core'): double ns3::Time::ToDouble(ns3::Time::Unit timeUnit) const [member function]
3336 cls.add_method('ToDouble',
3337 'double',
3338 [param('ns3::Time::Unit', 'timeUnit')],
3339 is_const=True)
3340 ## nstime.h (module 'core'): int64_t ns3::Time::ToInteger(ns3::Time::Unit timeUnit) const [member function]
3341 cls.add_method('ToInteger',
3342 'int64_t',
3343 [param('ns3::Time::Unit', 'timeUnit')],
3344 is_const=True)
3345 return
3346
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07003347def register_Ns3TopologyReader_methods(root_module, cls):
3348 ## topology-reader.h (module 'topology-read'): ns3::TopologyReader::TopologyReader() [constructor]
3349 cls.add_constructor([])
3350 ## topology-reader.h (module 'topology-read'): void ns3::TopologyReader::AddLink(ns3::TopologyReader::Link link) [member function]
3351 cls.add_method('AddLink',
3352 'void',
3353 [param('ns3::TopologyReader::Link', 'link')])
3354 ## topology-reader.h (module 'topology-read'): std::string ns3::TopologyReader::GetFileName() const [member function]
3355 cls.add_method('GetFileName',
3356 'std::string',
3357 [],
3358 is_const=True)
3359 ## topology-reader.h (module 'topology-read'): std::_List_const_iterator<ns3::TopologyReader::Link> ns3::TopologyReader::LinksBegin() const [member function]
3360 cls.add_method('LinksBegin',
3361 'std::_List_const_iterator< ns3::TopologyReader::Link >',
3362 [],
3363 is_const=True)
3364 ## topology-reader.h (module 'topology-read'): bool ns3::TopologyReader::LinksEmpty() const [member function]
3365 cls.add_method('LinksEmpty',
3366 'bool',
3367 [],
3368 is_const=True)
3369 ## topology-reader.h (module 'topology-read'): std::_List_const_iterator<ns3::TopologyReader::Link> ns3::TopologyReader::LinksEnd() const [member function]
3370 cls.add_method('LinksEnd',
3371 'std::_List_const_iterator< ns3::TopologyReader::Link >',
3372 [],
3373 is_const=True)
3374 ## topology-reader.h (module 'topology-read'): int ns3::TopologyReader::LinksSize() const [member function]
3375 cls.add_method('LinksSize',
3376 'int',
3377 [],
3378 is_const=True)
3379 ## topology-reader.h (module 'topology-read'): ns3::NodeContainer ns3::TopologyReader::Read() [member function]
3380 cls.add_method('Read',
3381 'ns3::NodeContainer',
3382 [],
3383 is_pure_virtual=True, is_virtual=True)
3384 ## topology-reader.h (module 'topology-read'): void ns3::TopologyReader::SetFileName(std::string const & fileName) [member function]
3385 cls.add_method('SetFileName',
3386 'void',
3387 [param('std::string const &', 'fileName')])
3388 return
3389
3390def register_Ns3TopologyReaderLink_methods(root_module, cls):
3391 ## topology-reader.h (module 'topology-read'): ns3::TopologyReader::Link::Link(ns3::TopologyReader::Link const & arg0) [copy constructor]
3392 cls.add_constructor([param('ns3::TopologyReader::Link const &', 'arg0')])
3393 ## topology-reader.h (module 'topology-read'): ns3::TopologyReader::Link::Link() [constructor]
3394 cls.add_constructor([])
3395 ## 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]
3396 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')])
3397 ## 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]
3398 cls.add_method('AttributesBegin',
3399 '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 > > > >',
3400 [])
3401 ## 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]
3402 cls.add_method('AttributesEnd',
3403 '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 > > > >',
3404 [])
3405 ## topology-reader.h (module 'topology-read'): std::string ns3::TopologyReader::Link::GetAttribute(std::string const & name) const [member function]
3406 cls.add_method('GetAttribute',
3407 'std::string',
3408 [param('std::string const &', 'name')],
3409 is_const=True)
3410 ## topology-reader.h (module 'topology-read'): bool ns3::TopologyReader::Link::GetAttributeFailSafe(std::string const & name, std::string & value) const [member function]
3411 cls.add_method('GetAttributeFailSafe',
3412 'bool',
3413 [param('std::string const &', 'name'), param('std::string &', 'value')],
3414 is_const=True)
3415 ## topology-reader.h (module 'topology-read'): ns3::Ptr<ns3::NetDevice> ns3::TopologyReader::Link::GetFromNetDevice() const [member function]
3416 cls.add_method('GetFromNetDevice',
3417 'ns3::Ptr< ns3::NetDevice >',
3418 [],
3419 is_const=True)
3420 ## topology-reader.h (module 'topology-read'): ns3::Ptr<ns3::Node> ns3::TopologyReader::Link::GetFromNode() const [member function]
3421 cls.add_method('GetFromNode',
3422 'ns3::Ptr< ns3::Node >',
3423 [],
3424 is_const=True)
3425 ## topology-reader.h (module 'topology-read'): std::string ns3::TopologyReader::Link::GetFromNodeName() const [member function]
3426 cls.add_method('GetFromNodeName',
3427 'std::string',
3428 [],
3429 is_const=True)
3430 ## topology-reader.h (module 'topology-read'): ns3::Ptr<ns3::NetDevice> ns3::TopologyReader::Link::GetToNetDevice() const [member function]
3431 cls.add_method('GetToNetDevice',
3432 'ns3::Ptr< ns3::NetDevice >',
3433 [],
3434 is_const=True)
3435 ## topology-reader.h (module 'topology-read'): ns3::Ptr<ns3::Node> ns3::TopologyReader::Link::GetToNode() const [member function]
3436 cls.add_method('GetToNode',
3437 'ns3::Ptr< ns3::Node >',
3438 [],
3439 is_const=True)
3440 ## topology-reader.h (module 'topology-read'): std::string ns3::TopologyReader::Link::GetToNodeName() const [member function]
3441 cls.add_method('GetToNodeName',
3442 'std::string',
3443 [],
3444 is_const=True)
3445 ## topology-reader.h (module 'topology-read'): void ns3::TopologyReader::Link::SetAttribute(std::string const & name, std::string const & value) [member function]
3446 cls.add_method('SetAttribute',
3447 'void',
3448 [param('std::string const &', 'name'), param('std::string const &', 'value')])
3449 ## topology-reader.h (module 'topology-read'): void ns3::TopologyReader::Link::SetNetDevices(ns3::Ptr<ns3::NetDevice> from, ns3::Ptr<ns3::NetDevice> to) [member function]
3450 cls.add_method('SetNetDevices',
3451 'void',
3452 [param('ns3::Ptr< ns3::NetDevice >', 'from'), param('ns3::Ptr< ns3::NetDevice >', 'to')])
3453 return
3454
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003455def register_Ns3TraceSourceAccessor_methods(root_module, cls):
3456 ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor]
3457 cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')])
3458 ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor]
3459 cls.add_constructor([])
3460 ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function]
3461 cls.add_method('Connect',
3462 'bool',
3463 [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')],
3464 is_pure_virtual=True, is_const=True, is_virtual=True)
3465 ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function]
3466 cls.add_method('ConnectWithoutContext',
3467 'bool',
3468 [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')],
3469 is_pure_virtual=True, is_const=True, is_virtual=True)
3470 ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function]
3471 cls.add_method('Disconnect',
3472 'bool',
3473 [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')],
3474 is_pure_virtual=True, is_const=True, is_virtual=True)
3475 ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function]
3476 cls.add_method('DisconnectWithoutContext',
3477 'bool',
3478 [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')],
3479 is_pure_virtual=True, is_const=True, is_virtual=True)
3480 return
3481
3482def register_Ns3Trailer_methods(root_module, cls):
3483 cls.add_output_stream_operator()
3484 ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor]
3485 cls.add_constructor([])
3486 ## trailer.h (module 'network'): ns3::Trailer::Trailer(ns3::Trailer const & arg0) [copy constructor]
3487 cls.add_constructor([param('ns3::Trailer const &', 'arg0')])
3488 ## trailer.h (module 'network'): uint32_t ns3::Trailer::Deserialize(ns3::Buffer::Iterator end) [member function]
3489 cls.add_method('Deserialize',
3490 'uint32_t',
3491 [param('ns3::Buffer::Iterator', 'end')],
3492 is_pure_virtual=True, is_virtual=True)
3493 ## trailer.h (module 'network'): uint32_t ns3::Trailer::GetSerializedSize() const [member function]
3494 cls.add_method('GetSerializedSize',
3495 'uint32_t',
3496 [],
3497 is_pure_virtual=True, is_const=True, is_virtual=True)
3498 ## trailer.h (module 'network'): static ns3::TypeId ns3::Trailer::GetTypeId() [member function]
3499 cls.add_method('GetTypeId',
3500 'ns3::TypeId',
3501 [],
3502 is_static=True)
3503 ## trailer.h (module 'network'): void ns3::Trailer::Print(std::ostream & os) const [member function]
3504 cls.add_method('Print',
3505 'void',
3506 [param('std::ostream &', 'os')],
3507 is_pure_virtual=True, is_const=True, is_virtual=True)
3508 ## trailer.h (module 'network'): void ns3::Trailer::Serialize(ns3::Buffer::Iterator start) const [member function]
3509 cls.add_method('Serialize',
3510 'void',
3511 [param('ns3::Buffer::Iterator', 'start')],
3512 is_pure_virtual=True, is_const=True, is_virtual=True)
3513 return
3514
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07003515def register_Ns3AnnotatedTopologyReader_methods(root_module, cls):
3516 ## annotated-topology-reader.h (module 'ndnSIM'): ns3::AnnotatedTopologyReader::AnnotatedTopologyReader(std::string const & path="", double scale=1.0e+0) [constructor]
3517 cls.add_constructor([param('std::string const &', 'path', default_value='""'), param('double', 'scale', default_value='1.0e+0')])
3518 ## annotated-topology-reader.h (module 'ndnSIM'): ns3::NodeContainer ns3::AnnotatedTopologyReader::Read() [member function]
3519 cls.add_method('Read',
3520 'ns3::NodeContainer',
3521 [],
3522 is_virtual=True)
3523 ## annotated-topology-reader.h (module 'ndnSIM'): ns3::NodeContainer ns3::AnnotatedTopologyReader::GetNodes() const [member function]
3524 cls.add_method('GetNodes',
3525 'ns3::NodeContainer',
3526 [],
Alexander Afanasyev858d5312013-07-10 18:50:18 -07003527 is_const=True, is_virtual=True)
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07003528 ## annotated-topology-reader.h (module 'ndnSIM'): std::list<ns3::TopologyReader::Link, std::allocator<ns3::TopologyReader::Link> > const & ns3::AnnotatedTopologyReader::GetLinks() const [member function]
3529 cls.add_method('GetLinks',
3530 'std::list< ns3::TopologyReader::Link > const &',
3531 [],
Alexander Afanasyev858d5312013-07-10 18:50:18 -07003532 is_const=True, is_virtual=True)
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07003533 ## annotated-topology-reader.h (module 'ndnSIM'): void ns3::AnnotatedTopologyReader::AssignIpv4Addresses(ns3::Ipv4Address base) [member function]
3534 cls.add_method('AssignIpv4Addresses',
3535 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07003536 [param('ns3::Ipv4Address', 'base')],
3537 is_virtual=True)
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07003538 ## annotated-topology-reader.h (module 'ndnSIM'): void ns3::AnnotatedTopologyReader::SetBoundingBox(double ulx, double uly, double lrx, double lry) [member function]
3539 cls.add_method('SetBoundingBox',
3540 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07003541 [param('double', 'ulx'), param('double', 'uly'), param('double', 'lrx'), param('double', 'lry')],
3542 is_virtual=True)
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07003543 ## annotated-topology-reader.h (module 'ndnSIM'): void ns3::AnnotatedTopologyReader::SetMobilityModel(std::string const & model) [member function]
3544 cls.add_method('SetMobilityModel',
3545 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07003546 [param('std::string const &', 'model')],
3547 is_virtual=True)
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07003548 ## annotated-topology-reader.h (module 'ndnSIM'): void ns3::AnnotatedTopologyReader::ApplyOspfMetric() [member function]
3549 cls.add_method('ApplyOspfMetric',
3550 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07003551 [],
3552 is_virtual=True)
3553 ## annotated-topology-reader.h (module 'ndnSIM'): void ns3::AnnotatedTopologyReader::SaveTopology(std::string const & file) [member function]
Alexander Afanasyev71029732012-11-19 23:50:52 -08003554 cls.add_method('SaveTopology',
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07003555 'void',
3556 [param('std::string const &', 'file')],
Alexander Afanasyev858d5312013-07-10 18:50:18 -07003557 is_virtual=True)
3558 ## annotated-topology-reader.h (module 'ndnSIM'): void ns3::AnnotatedTopologyReader::SaveGraphviz(std::string const & file) [member function]
3559 cls.add_method('SaveGraphviz',
3560 'void',
3561 [param('std::string const &', 'file')],
3562 is_virtual=True)
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07003563 ## annotated-topology-reader.h (module 'ndnSIM'): ns3::Ptr<ns3::Node> ns3::AnnotatedTopologyReader::CreateNode(std::string const name, uint32_t systemId) [member function]
3564 cls.add_method('CreateNode',
3565 'ns3::Ptr< ns3::Node >',
3566 [param('std::string const', 'name'), param('uint32_t', 'systemId')],
3567 visibility='protected')
3568 ## 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]
3569 cls.add_method('CreateNode',
3570 'ns3::Ptr< ns3::Node >',
3571 [param('std::string const', 'name'), param('double', 'posX'), param('double', 'posY'), param('uint32_t', 'systemId')],
3572 visibility='protected')
3573 ## annotated-topology-reader.h (module 'ndnSIM'): void ns3::AnnotatedTopologyReader::ApplySettings() [member function]
3574 cls.add_method('ApplySettings',
3575 'void',
3576 [],
3577 visibility='protected')
3578 return
3579
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003580def register_Ns3Application_methods(root_module, cls):
3581 ## application.h (module 'network'): ns3::Application::Application(ns3::Application const & arg0) [copy constructor]
3582 cls.add_constructor([param('ns3::Application const &', 'arg0')])
3583 ## application.h (module 'network'): ns3::Application::Application() [constructor]
3584 cls.add_constructor([])
3585 ## application.h (module 'network'): ns3::Ptr<ns3::Node> ns3::Application::GetNode() const [member function]
3586 cls.add_method('GetNode',
3587 'ns3::Ptr< ns3::Node >',
3588 [],
3589 is_const=True)
3590 ## application.h (module 'network'): static ns3::TypeId ns3::Application::GetTypeId() [member function]
3591 cls.add_method('GetTypeId',
3592 'ns3::TypeId',
3593 [],
3594 is_static=True)
3595 ## application.h (module 'network'): void ns3::Application::SetNode(ns3::Ptr<ns3::Node> node) [member function]
3596 cls.add_method('SetNode',
3597 'void',
3598 [param('ns3::Ptr< ns3::Node >', 'node')])
3599 ## application.h (module 'network'): void ns3::Application::SetStartTime(ns3::Time start) [member function]
3600 cls.add_method('SetStartTime',
3601 'void',
3602 [param('ns3::Time', 'start')])
3603 ## application.h (module 'network'): void ns3::Application::SetStopTime(ns3::Time stop) [member function]
3604 cls.add_method('SetStopTime',
3605 'void',
3606 [param('ns3::Time', 'stop')])
3607 ## application.h (module 'network'): void ns3::Application::DoDispose() [member function]
3608 cls.add_method('DoDispose',
3609 'void',
3610 [],
3611 visibility='protected', is_virtual=True)
Alexander Afanasyev5b8d61b2013-05-03 10:23:21 -07003612 ## application.h (module 'network'): void ns3::Application::DoInitialize() [member function]
3613 cls.add_method('DoInitialize',
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003614 'void',
3615 [],
3616 visibility='protected', is_virtual=True)
3617 ## application.h (module 'network'): void ns3::Application::StartApplication() [member function]
3618 cls.add_method('StartApplication',
3619 'void',
3620 [],
Alexander Afanasyev06d3a612012-04-17 22:25:40 -07003621 visibility='private', is_virtual=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003622 ## application.h (module 'network'): void ns3::Application::StopApplication() [member function]
3623 cls.add_method('StopApplication',
3624 'void',
3625 [],
Alexander Afanasyev06d3a612012-04-17 22:25:40 -07003626 visibility='private', is_virtual=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003627 return
3628
3629def register_Ns3AttributeAccessor_methods(root_module, cls):
3630 ## attribute.h (module 'core'): ns3::AttributeAccessor::AttributeAccessor(ns3::AttributeAccessor const & arg0) [copy constructor]
3631 cls.add_constructor([param('ns3::AttributeAccessor const &', 'arg0')])
3632 ## attribute.h (module 'core'): ns3::AttributeAccessor::AttributeAccessor() [constructor]
3633 cls.add_constructor([])
3634 ## attribute.h (module 'core'): bool ns3::AttributeAccessor::Get(ns3::ObjectBase const * object, ns3::AttributeValue & attribute) const [member function]
3635 cls.add_method('Get',
3636 'bool',
3637 [param('ns3::ObjectBase const *', 'object'), param('ns3::AttributeValue &', 'attribute')],
3638 is_pure_virtual=True, is_const=True, is_virtual=True)
3639 ## attribute.h (module 'core'): bool ns3::AttributeAccessor::HasGetter() const [member function]
3640 cls.add_method('HasGetter',
3641 'bool',
3642 [],
3643 is_pure_virtual=True, is_const=True, is_virtual=True)
3644 ## attribute.h (module 'core'): bool ns3::AttributeAccessor::HasSetter() const [member function]
3645 cls.add_method('HasSetter',
3646 'bool',
3647 [],
3648 is_pure_virtual=True, is_const=True, is_virtual=True)
3649 ## attribute.h (module 'core'): bool ns3::AttributeAccessor::Set(ns3::ObjectBase * object, ns3::AttributeValue const & value) const [member function]
3650 cls.add_method('Set',
3651 'bool',
3652 [param('ns3::ObjectBase *', 'object', transfer_ownership=False), param('ns3::AttributeValue const &', 'value')],
3653 is_pure_virtual=True, is_const=True, is_virtual=True)
3654 return
3655
3656def register_Ns3AttributeChecker_methods(root_module, cls):
3657 ## attribute.h (module 'core'): ns3::AttributeChecker::AttributeChecker(ns3::AttributeChecker const & arg0) [copy constructor]
3658 cls.add_constructor([param('ns3::AttributeChecker const &', 'arg0')])
3659 ## attribute.h (module 'core'): ns3::AttributeChecker::AttributeChecker() [constructor]
3660 cls.add_constructor([])
3661 ## attribute.h (module 'core'): bool ns3::AttributeChecker::Check(ns3::AttributeValue const & value) const [member function]
3662 cls.add_method('Check',
3663 'bool',
3664 [param('ns3::AttributeValue const &', 'value')],
3665 is_pure_virtual=True, is_const=True, is_virtual=True)
3666 ## attribute.h (module 'core'): bool ns3::AttributeChecker::Copy(ns3::AttributeValue const & source, ns3::AttributeValue & destination) const [member function]
3667 cls.add_method('Copy',
3668 'bool',
3669 [param('ns3::AttributeValue const &', 'source'), param('ns3::AttributeValue &', 'destination')],
3670 is_pure_virtual=True, is_const=True, is_virtual=True)
3671 ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeChecker::Create() const [member function]
3672 cls.add_method('Create',
3673 'ns3::Ptr< ns3::AttributeValue >',
3674 [],
3675 is_pure_virtual=True, is_const=True, is_virtual=True)
3676 ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function]
3677 cls.add_method('CreateValidValue',
3678 'ns3::Ptr< ns3::AttributeValue >',
3679 [param('ns3::AttributeValue const &', 'value')],
3680 is_const=True)
3681 ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function]
3682 cls.add_method('GetUnderlyingTypeInformation',
3683 'std::string',
3684 [],
3685 is_pure_virtual=True, is_const=True, is_virtual=True)
3686 ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetValueTypeName() const [member function]
3687 cls.add_method('GetValueTypeName',
3688 'std::string',
3689 [],
3690 is_pure_virtual=True, is_const=True, is_virtual=True)
3691 ## attribute.h (module 'core'): bool ns3::AttributeChecker::HasUnderlyingTypeInformation() const [member function]
3692 cls.add_method('HasUnderlyingTypeInformation',
3693 'bool',
3694 [],
3695 is_pure_virtual=True, is_const=True, is_virtual=True)
3696 return
3697
3698def register_Ns3AttributeValue_methods(root_module, cls):
3699 ## attribute.h (module 'core'): ns3::AttributeValue::AttributeValue(ns3::AttributeValue const & arg0) [copy constructor]
3700 cls.add_constructor([param('ns3::AttributeValue const &', 'arg0')])
3701 ## attribute.h (module 'core'): ns3::AttributeValue::AttributeValue() [constructor]
3702 cls.add_constructor([])
3703 ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeValue::Copy() const [member function]
3704 cls.add_method('Copy',
3705 'ns3::Ptr< ns3::AttributeValue >',
3706 [],
3707 is_pure_virtual=True, is_const=True, is_virtual=True)
3708 ## attribute.h (module 'core'): bool ns3::AttributeValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3709 cls.add_method('DeserializeFromString',
3710 'bool',
3711 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3712 is_pure_virtual=True, is_virtual=True)
3713 ## attribute.h (module 'core'): std::string ns3::AttributeValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3714 cls.add_method('SerializeToString',
3715 'std::string',
3716 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3717 is_pure_virtual=True, is_const=True, is_virtual=True)
3718 return
3719
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07003720def register_Ns3BooleanChecker_methods(root_module, cls):
3721 ## boolean.h (module 'core'): ns3::BooleanChecker::BooleanChecker() [constructor]
3722 cls.add_constructor([])
3723 ## boolean.h (module 'core'): ns3::BooleanChecker::BooleanChecker(ns3::BooleanChecker const & arg0) [copy constructor]
3724 cls.add_constructor([param('ns3::BooleanChecker const &', 'arg0')])
3725 return
3726
3727def register_Ns3BooleanValue_methods(root_module, cls):
3728 cls.add_output_stream_operator()
3729 ## boolean.h (module 'core'): ns3::BooleanValue::BooleanValue(ns3::BooleanValue const & arg0) [copy constructor]
3730 cls.add_constructor([param('ns3::BooleanValue const &', 'arg0')])
3731 ## boolean.h (module 'core'): ns3::BooleanValue::BooleanValue() [constructor]
3732 cls.add_constructor([])
3733 ## boolean.h (module 'core'): ns3::BooleanValue::BooleanValue(bool value) [constructor]
3734 cls.add_constructor([param('bool', 'value')])
3735 ## boolean.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::BooleanValue::Copy() const [member function]
3736 cls.add_method('Copy',
3737 'ns3::Ptr< ns3::AttributeValue >',
3738 [],
3739 is_const=True, is_virtual=True)
3740 ## boolean.h (module 'core'): bool ns3::BooleanValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3741 cls.add_method('DeserializeFromString',
3742 'bool',
3743 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3744 is_virtual=True)
3745 ## boolean.h (module 'core'): bool ns3::BooleanValue::Get() const [member function]
3746 cls.add_method('Get',
3747 'bool',
3748 [],
3749 is_const=True)
3750 ## boolean.h (module 'core'): std::string ns3::BooleanValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3751 cls.add_method('SerializeToString',
3752 'std::string',
3753 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3754 is_const=True, is_virtual=True)
3755 ## boolean.h (module 'core'): void ns3::BooleanValue::Set(bool value) [member function]
3756 cls.add_method('Set',
3757 'void',
3758 [param('bool', 'value')])
3759 return
3760
Alexander Afanasyeve4795ae2013-07-11 20:01:31 -07003761def register_Ns3CallbackBasedApp_methods(root_module, cls):
3762 ## callback-based-app.h (module 'ndnSIM'): ns3::CallbackBasedApp::CallbackBasedApp(ns3::CallbackBasedApp const & arg0) [copy constructor]
3763 cls.add_constructor([param('ns3::CallbackBasedApp const &', 'arg0')])
3764 ## callback-based-app.h (module 'ndnSIM'): ns3::CallbackBasedApp::CallbackBasedApp() [constructor]
3765 cls.add_constructor([])
3766 ## callback-based-app.h (module 'ndnSIM'): static ns3::TypeId ns3::CallbackBasedApp::GetTypeId() [member function]
3767 cls.add_method('GetTypeId',
3768 'ns3::TypeId',
3769 [],
3770 is_static=True)
3771 ## callback-based-app.h (module 'ndnSIM'): void ns3::CallbackBasedApp::SetOnStartCallback(ns3::Callback<void, ns3::Ptr<ns3::Application>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> onStart) [member function]
3772 cls.add_method('SetOnStartCallback',
3773 'void',
3774 [param('ns3::Callback< void, ns3::Ptr< ns3::Application >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'onStart')])
3775 ## callback-based-app.h (module 'ndnSIM'): void ns3::CallbackBasedApp::SetOnStopCallback(ns3::Callback<void, ns3::Ptr<ns3::Application>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> onStart) [member function]
3776 cls.add_method('SetOnStopCallback',
3777 'void',
3778 [param('ns3::Callback< void, ns3::Ptr< ns3::Application >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'onStart')])
3779 ## callback-based-app.h (module 'ndnSIM'): void ns3::CallbackBasedApp::StartApplication() [member function]
3780 cls.add_method('StartApplication',
3781 'void',
3782 [],
3783 visibility='protected', is_virtual=True)
3784 ## callback-based-app.h (module 'ndnSIM'): void ns3::CallbackBasedApp::StopApplication() [member function]
3785 cls.add_method('StopApplication',
3786 'void',
3787 [],
3788 visibility='protected', is_virtual=True)
3789 return
3790
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003791def register_Ns3CallbackChecker_methods(root_module, cls):
3792 ## callback.h (module 'core'): ns3::CallbackChecker::CallbackChecker() [constructor]
3793 cls.add_constructor([])
3794 ## callback.h (module 'core'): ns3::CallbackChecker::CallbackChecker(ns3::CallbackChecker const & arg0) [copy constructor]
3795 cls.add_constructor([param('ns3::CallbackChecker const &', 'arg0')])
3796 return
3797
3798def register_Ns3CallbackImplBase_methods(root_module, cls):
3799 ## callback.h (module 'core'): ns3::CallbackImplBase::CallbackImplBase() [constructor]
3800 cls.add_constructor([])
3801 ## callback.h (module 'core'): ns3::CallbackImplBase::CallbackImplBase(ns3::CallbackImplBase const & arg0) [copy constructor]
3802 cls.add_constructor([param('ns3::CallbackImplBase const &', 'arg0')])
3803 ## callback.h (module 'core'): bool ns3::CallbackImplBase::IsEqual(ns3::Ptr<ns3::CallbackImplBase const> other) const [member function]
3804 cls.add_method('IsEqual',
3805 'bool',
3806 [param('ns3::Ptr< ns3::CallbackImplBase const >', 'other')],
3807 is_pure_virtual=True, is_const=True, is_virtual=True)
3808 return
3809
3810def register_Ns3CallbackValue_methods(root_module, cls):
3811 ## callback.h (module 'core'): ns3::CallbackValue::CallbackValue(ns3::CallbackValue const & arg0) [copy constructor]
3812 cls.add_constructor([param('ns3::CallbackValue const &', 'arg0')])
3813 ## callback.h (module 'core'): ns3::CallbackValue::CallbackValue() [constructor]
3814 cls.add_constructor([])
3815 ## callback.h (module 'core'): ns3::CallbackValue::CallbackValue(ns3::CallbackBase const & base) [constructor]
3816 cls.add_constructor([param('ns3::CallbackBase const &', 'base')])
3817 ## callback.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::CallbackValue::Copy() const [member function]
3818 cls.add_method('Copy',
3819 'ns3::Ptr< ns3::AttributeValue >',
3820 [],
3821 is_const=True, is_virtual=True)
3822 ## callback.h (module 'core'): bool ns3::CallbackValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3823 cls.add_method('DeserializeFromString',
3824 'bool',
3825 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3826 is_virtual=True)
3827 ## callback.h (module 'core'): std::string ns3::CallbackValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3828 cls.add_method('SerializeToString',
3829 'std::string',
3830 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3831 is_const=True, is_virtual=True)
3832 ## callback.h (module 'core'): void ns3::CallbackValue::Set(ns3::CallbackBase base) [member function]
3833 cls.add_method('Set',
3834 'void',
3835 [param('ns3::CallbackBase', 'base')])
3836 return
3837
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07003838def register_Ns3DoubleValue_methods(root_module, cls):
3839 ## double.h (module 'core'): ns3::DoubleValue::DoubleValue() [constructor]
3840 cls.add_constructor([])
3841 ## double.h (module 'core'): ns3::DoubleValue::DoubleValue(ns3::DoubleValue const & arg0) [copy constructor]
3842 cls.add_constructor([param('ns3::DoubleValue const &', 'arg0')])
3843 ## double.h (module 'core'): ns3::DoubleValue::DoubleValue(double const & value) [constructor]
3844 cls.add_constructor([param('double const &', 'value')])
3845 ## double.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::DoubleValue::Copy() const [member function]
3846 cls.add_method('Copy',
3847 'ns3::Ptr< ns3::AttributeValue >',
3848 [],
3849 is_const=True, is_virtual=True)
3850 ## double.h (module 'core'): bool ns3::DoubleValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3851 cls.add_method('DeserializeFromString',
3852 'bool',
3853 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3854 is_virtual=True)
3855 ## double.h (module 'core'): double ns3::DoubleValue::Get() const [member function]
3856 cls.add_method('Get',
3857 'double',
3858 [],
3859 is_const=True)
3860 ## double.h (module 'core'): std::string ns3::DoubleValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3861 cls.add_method('SerializeToString',
3862 'std::string',
3863 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3864 is_const=True, is_virtual=True)
3865 ## double.h (module 'core'): void ns3::DoubleValue::Set(double const & value) [member function]
3866 cls.add_method('Set',
3867 'void',
3868 [param('double const &', 'value')])
3869 return
3870
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003871def register_Ns3EmptyAttributeValue_methods(root_module, cls):
3872 ## attribute.h (module 'core'): ns3::EmptyAttributeValue::EmptyAttributeValue(ns3::EmptyAttributeValue const & arg0) [copy constructor]
3873 cls.add_constructor([param('ns3::EmptyAttributeValue const &', 'arg0')])
3874 ## attribute.h (module 'core'): ns3::EmptyAttributeValue::EmptyAttributeValue() [constructor]
3875 cls.add_constructor([])
3876 ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::EmptyAttributeValue::Copy() const [member function]
3877 cls.add_method('Copy',
3878 'ns3::Ptr< ns3::AttributeValue >',
3879 [],
3880 is_const=True, visibility='private', is_virtual=True)
3881 ## attribute.h (module 'core'): bool ns3::EmptyAttributeValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3882 cls.add_method('DeserializeFromString',
3883 'bool',
3884 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3885 visibility='private', is_virtual=True)
3886 ## attribute.h (module 'core'): std::string ns3::EmptyAttributeValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3887 cls.add_method('SerializeToString',
3888 'std::string',
3889 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3890 is_const=True, visibility='private', is_virtual=True)
3891 return
3892
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07003893def register_Ns3EnumChecker_methods(root_module, cls):
3894 ## enum.h (module 'core'): ns3::EnumChecker::EnumChecker(ns3::EnumChecker const & arg0) [copy constructor]
3895 cls.add_constructor([param('ns3::EnumChecker const &', 'arg0')])
3896 ## enum.h (module 'core'): ns3::EnumChecker::EnumChecker() [constructor]
3897 cls.add_constructor([])
3898 ## enum.h (module 'core'): void ns3::EnumChecker::Add(int v, std::string name) [member function]
3899 cls.add_method('Add',
3900 'void',
3901 [param('int', 'v'), param('std::string', 'name')])
3902 ## enum.h (module 'core'): void ns3::EnumChecker::AddDefault(int v, std::string name) [member function]
3903 cls.add_method('AddDefault',
3904 'void',
3905 [param('int', 'v'), param('std::string', 'name')])
3906 ## enum.h (module 'core'): bool ns3::EnumChecker::Check(ns3::AttributeValue const & value) const [member function]
3907 cls.add_method('Check',
3908 'bool',
3909 [param('ns3::AttributeValue const &', 'value')],
3910 is_const=True, is_virtual=True)
3911 ## enum.h (module 'core'): bool ns3::EnumChecker::Copy(ns3::AttributeValue const & src, ns3::AttributeValue & dst) const [member function]
3912 cls.add_method('Copy',
3913 'bool',
3914 [param('ns3::AttributeValue const &', 'src'), param('ns3::AttributeValue &', 'dst')],
3915 is_const=True, is_virtual=True)
3916 ## enum.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::EnumChecker::Create() const [member function]
3917 cls.add_method('Create',
3918 'ns3::Ptr< ns3::AttributeValue >',
3919 [],
3920 is_const=True, is_virtual=True)
3921 ## enum.h (module 'core'): std::string ns3::EnumChecker::GetUnderlyingTypeInformation() const [member function]
3922 cls.add_method('GetUnderlyingTypeInformation',
3923 'std::string',
3924 [],
3925 is_const=True, is_virtual=True)
3926 ## enum.h (module 'core'): std::string ns3::EnumChecker::GetValueTypeName() const [member function]
3927 cls.add_method('GetValueTypeName',
3928 'std::string',
3929 [],
3930 is_const=True, is_virtual=True)
3931 ## enum.h (module 'core'): bool ns3::EnumChecker::HasUnderlyingTypeInformation() const [member function]
3932 cls.add_method('HasUnderlyingTypeInformation',
3933 'bool',
3934 [],
3935 is_const=True, is_virtual=True)
3936 return
3937
3938def register_Ns3EnumValue_methods(root_module, cls):
3939 ## enum.h (module 'core'): ns3::EnumValue::EnumValue(ns3::EnumValue const & arg0) [copy constructor]
3940 cls.add_constructor([param('ns3::EnumValue const &', 'arg0')])
3941 ## enum.h (module 'core'): ns3::EnumValue::EnumValue() [constructor]
3942 cls.add_constructor([])
3943 ## enum.h (module 'core'): ns3::EnumValue::EnumValue(int v) [constructor]
3944 cls.add_constructor([param('int', 'v')])
3945 ## enum.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::EnumValue::Copy() const [member function]
3946 cls.add_method('Copy',
3947 'ns3::Ptr< ns3::AttributeValue >',
3948 [],
3949 is_const=True, is_virtual=True)
3950 ## enum.h (module 'core'): bool ns3::EnumValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3951 cls.add_method('DeserializeFromString',
3952 'bool',
3953 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3954 is_virtual=True)
3955 ## enum.h (module 'core'): int ns3::EnumValue::Get() const [member function]
3956 cls.add_method('Get',
3957 'int',
3958 [],
3959 is_const=True)
3960 ## enum.h (module 'core'): std::string ns3::EnumValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3961 cls.add_method('SerializeToString',
3962 'std::string',
3963 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3964 is_const=True, is_virtual=True)
3965 ## enum.h (module 'core'): void ns3::EnumValue::Set(int v) [member function]
3966 cls.add_method('Set',
3967 'void',
3968 [param('int', 'v')])
3969 return
3970
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003971def register_Ns3EventImpl_methods(root_module, cls):
3972 ## event-impl.h (module 'core'): ns3::EventImpl::EventImpl(ns3::EventImpl const & arg0) [copy constructor]
3973 cls.add_constructor([param('ns3::EventImpl const &', 'arg0')])
3974 ## event-impl.h (module 'core'): ns3::EventImpl::EventImpl() [constructor]
3975 cls.add_constructor([])
3976 ## event-impl.h (module 'core'): void ns3::EventImpl::Cancel() [member function]
3977 cls.add_method('Cancel',
3978 'void',
3979 [])
3980 ## event-impl.h (module 'core'): void ns3::EventImpl::Invoke() [member function]
3981 cls.add_method('Invoke',
3982 'void',
3983 [])
3984 ## event-impl.h (module 'core'): bool ns3::EventImpl::IsCancelled() [member function]
3985 cls.add_method('IsCancelled',
3986 'bool',
3987 [])
3988 ## event-impl.h (module 'core'): void ns3::EventImpl::Notify() [member function]
3989 cls.add_method('Notify',
3990 'void',
3991 [],
3992 is_pure_virtual=True, visibility='protected', is_virtual=True)
3993 return
3994
3995def register_Ns3IntegerValue_methods(root_module, cls):
3996 ## integer.h (module 'core'): ns3::IntegerValue::IntegerValue() [constructor]
3997 cls.add_constructor([])
3998 ## integer.h (module 'core'): ns3::IntegerValue::IntegerValue(ns3::IntegerValue const & arg0) [copy constructor]
3999 cls.add_constructor([param('ns3::IntegerValue const &', 'arg0')])
4000 ## integer.h (module 'core'): ns3::IntegerValue::IntegerValue(int64_t const & value) [constructor]
4001 cls.add_constructor([param('int64_t const &', 'value')])
4002 ## integer.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::IntegerValue::Copy() const [member function]
4003 cls.add_method('Copy',
4004 'ns3::Ptr< ns3::AttributeValue >',
4005 [],
4006 is_const=True, is_virtual=True)
4007 ## integer.h (module 'core'): bool ns3::IntegerValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4008 cls.add_method('DeserializeFromString',
4009 'bool',
4010 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4011 is_virtual=True)
4012 ## integer.h (module 'core'): int64_t ns3::IntegerValue::Get() const [member function]
4013 cls.add_method('Get',
4014 'int64_t',
4015 [],
4016 is_const=True)
4017 ## integer.h (module 'core'): std::string ns3::IntegerValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4018 cls.add_method('SerializeToString',
4019 'std::string',
4020 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4021 is_const=True, is_virtual=True)
4022 ## integer.h (module 'core'): void ns3::IntegerValue::Set(int64_t const & value) [member function]
4023 cls.add_method('Set',
4024 'void',
4025 [param('int64_t const &', 'value')])
4026 return
4027
4028def register_Ns3Ipv4AddressChecker_methods(root_module, cls):
4029 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker::Ipv4AddressChecker() [constructor]
4030 cls.add_constructor([])
4031 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker::Ipv4AddressChecker(ns3::Ipv4AddressChecker const & arg0) [copy constructor]
4032 cls.add_constructor([param('ns3::Ipv4AddressChecker const &', 'arg0')])
4033 return
4034
4035def register_Ns3Ipv4AddressValue_methods(root_module, cls):
4036 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue::Ipv4AddressValue() [constructor]
4037 cls.add_constructor([])
4038 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue::Ipv4AddressValue(ns3::Ipv4AddressValue const & arg0) [copy constructor]
4039 cls.add_constructor([param('ns3::Ipv4AddressValue const &', 'arg0')])
4040 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue::Ipv4AddressValue(ns3::Ipv4Address const & value) [constructor]
4041 cls.add_constructor([param('ns3::Ipv4Address const &', 'value')])
4042 ## ipv4-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv4AddressValue::Copy() const [member function]
4043 cls.add_method('Copy',
4044 'ns3::Ptr< ns3::AttributeValue >',
4045 [],
4046 is_const=True, is_virtual=True)
4047 ## ipv4-address.h (module 'network'): bool ns3::Ipv4AddressValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4048 cls.add_method('DeserializeFromString',
4049 'bool',
4050 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4051 is_virtual=True)
4052 ## ipv4-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv4AddressValue::Get() const [member function]
4053 cls.add_method('Get',
4054 'ns3::Ipv4Address',
4055 [],
4056 is_const=True)
4057 ## ipv4-address.h (module 'network'): std::string ns3::Ipv4AddressValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4058 cls.add_method('SerializeToString',
4059 'std::string',
4060 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4061 is_const=True, is_virtual=True)
4062 ## ipv4-address.h (module 'network'): void ns3::Ipv4AddressValue::Set(ns3::Ipv4Address const & value) [member function]
4063 cls.add_method('Set',
4064 'void',
4065 [param('ns3::Ipv4Address const &', 'value')])
4066 return
4067
4068def register_Ns3Ipv4MaskChecker_methods(root_module, cls):
4069 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker::Ipv4MaskChecker() [constructor]
4070 cls.add_constructor([])
4071 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker::Ipv4MaskChecker(ns3::Ipv4MaskChecker const & arg0) [copy constructor]
4072 cls.add_constructor([param('ns3::Ipv4MaskChecker const &', 'arg0')])
4073 return
4074
4075def register_Ns3Ipv4MaskValue_methods(root_module, cls):
4076 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue::Ipv4MaskValue() [constructor]
4077 cls.add_constructor([])
4078 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue::Ipv4MaskValue(ns3::Ipv4MaskValue const & arg0) [copy constructor]
4079 cls.add_constructor([param('ns3::Ipv4MaskValue const &', 'arg0')])
4080 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue::Ipv4MaskValue(ns3::Ipv4Mask const & value) [constructor]
4081 cls.add_constructor([param('ns3::Ipv4Mask const &', 'value')])
4082 ## ipv4-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv4MaskValue::Copy() const [member function]
4083 cls.add_method('Copy',
4084 'ns3::Ptr< ns3::AttributeValue >',
4085 [],
4086 is_const=True, is_virtual=True)
4087 ## ipv4-address.h (module 'network'): bool ns3::Ipv4MaskValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4088 cls.add_method('DeserializeFromString',
4089 'bool',
4090 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4091 is_virtual=True)
4092 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask ns3::Ipv4MaskValue::Get() const [member function]
4093 cls.add_method('Get',
4094 'ns3::Ipv4Mask',
4095 [],
4096 is_const=True)
4097 ## ipv4-address.h (module 'network'): std::string ns3::Ipv4MaskValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4098 cls.add_method('SerializeToString',
4099 'std::string',
4100 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4101 is_const=True, is_virtual=True)
4102 ## ipv4-address.h (module 'network'): void ns3::Ipv4MaskValue::Set(ns3::Ipv4Mask const & value) [member function]
4103 cls.add_method('Set',
4104 'void',
4105 [param('ns3::Ipv4Mask const &', 'value')])
4106 return
4107
4108def register_Ns3Ipv6AddressChecker_methods(root_module, cls):
4109 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker::Ipv6AddressChecker() [constructor]
4110 cls.add_constructor([])
4111 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker::Ipv6AddressChecker(ns3::Ipv6AddressChecker const & arg0) [copy constructor]
4112 cls.add_constructor([param('ns3::Ipv6AddressChecker const &', 'arg0')])
4113 return
4114
4115def register_Ns3Ipv6AddressValue_methods(root_module, cls):
4116 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue::Ipv6AddressValue() [constructor]
4117 cls.add_constructor([])
4118 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue::Ipv6AddressValue(ns3::Ipv6AddressValue const & arg0) [copy constructor]
4119 cls.add_constructor([param('ns3::Ipv6AddressValue const &', 'arg0')])
4120 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue::Ipv6AddressValue(ns3::Ipv6Address const & value) [constructor]
4121 cls.add_constructor([param('ns3::Ipv6Address const &', 'value')])
4122 ## ipv6-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv6AddressValue::Copy() const [member function]
4123 cls.add_method('Copy',
4124 'ns3::Ptr< ns3::AttributeValue >',
4125 [],
4126 is_const=True, is_virtual=True)
4127 ## ipv6-address.h (module 'network'): bool ns3::Ipv6AddressValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4128 cls.add_method('DeserializeFromString',
4129 'bool',
4130 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4131 is_virtual=True)
4132 ## ipv6-address.h (module 'network'): ns3::Ipv6Address ns3::Ipv6AddressValue::Get() const [member function]
4133 cls.add_method('Get',
4134 'ns3::Ipv6Address',
4135 [],
4136 is_const=True)
4137 ## ipv6-address.h (module 'network'): std::string ns3::Ipv6AddressValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4138 cls.add_method('SerializeToString',
4139 'std::string',
4140 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4141 is_const=True, is_virtual=True)
4142 ## ipv6-address.h (module 'network'): void ns3::Ipv6AddressValue::Set(ns3::Ipv6Address const & value) [member function]
4143 cls.add_method('Set',
4144 'void',
4145 [param('ns3::Ipv6Address const &', 'value')])
4146 return
4147
4148def register_Ns3Ipv6PrefixChecker_methods(root_module, cls):
4149 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker::Ipv6PrefixChecker() [constructor]
4150 cls.add_constructor([])
4151 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker::Ipv6PrefixChecker(ns3::Ipv6PrefixChecker const & arg0) [copy constructor]
4152 cls.add_constructor([param('ns3::Ipv6PrefixChecker const &', 'arg0')])
4153 return
4154
4155def register_Ns3Ipv6PrefixValue_methods(root_module, cls):
4156 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue::Ipv6PrefixValue() [constructor]
4157 cls.add_constructor([])
4158 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue::Ipv6PrefixValue(ns3::Ipv6PrefixValue const & arg0) [copy constructor]
4159 cls.add_constructor([param('ns3::Ipv6PrefixValue const &', 'arg0')])
4160 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue::Ipv6PrefixValue(ns3::Ipv6Prefix const & value) [constructor]
4161 cls.add_constructor([param('ns3::Ipv6Prefix const &', 'value')])
4162 ## ipv6-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv6PrefixValue::Copy() const [member function]
4163 cls.add_method('Copy',
4164 'ns3::Ptr< ns3::AttributeValue >',
4165 [],
4166 is_const=True, is_virtual=True)
4167 ## ipv6-address.h (module 'network'): bool ns3::Ipv6PrefixValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4168 cls.add_method('DeserializeFromString',
4169 'bool',
4170 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4171 is_virtual=True)
4172 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix ns3::Ipv6PrefixValue::Get() const [member function]
4173 cls.add_method('Get',
4174 'ns3::Ipv6Prefix',
4175 [],
4176 is_const=True)
4177 ## ipv6-address.h (module 'network'): std::string ns3::Ipv6PrefixValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4178 cls.add_method('SerializeToString',
4179 'std::string',
4180 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4181 is_const=True, is_virtual=True)
4182 ## ipv6-address.h (module 'network'): void ns3::Ipv6PrefixValue::Set(ns3::Ipv6Prefix const & value) [member function]
4183 cls.add_method('Set',
4184 'void',
4185 [param('ns3::Ipv6Prefix const &', 'value')])
4186 return
4187
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004188def register_Ns3NetDevice_methods(root_module, cls):
4189 ## net-device.h (module 'network'): ns3::NetDevice::NetDevice() [constructor]
4190 cls.add_constructor([])
4191 ## net-device.h (module 'network'): ns3::NetDevice::NetDevice(ns3::NetDevice const & arg0) [copy constructor]
4192 cls.add_constructor([param('ns3::NetDevice const &', 'arg0')])
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08004193 ## 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 Afanasyevaa032ea2011-12-13 12:38:32 -08004194 cls.add_method('AddLinkChangeCallback',
4195 'void',
4196 [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')],
4197 is_pure_virtual=True, is_virtual=True)
4198 ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetAddress() const [member function]
4199 cls.add_method('GetAddress',
4200 'ns3::Address',
4201 [],
4202 is_pure_virtual=True, is_const=True, is_virtual=True)
4203 ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetBroadcast() const [member function]
4204 cls.add_method('GetBroadcast',
4205 'ns3::Address',
4206 [],
4207 is_pure_virtual=True, is_const=True, is_virtual=True)
4208 ## net-device.h (module 'network'): ns3::Ptr<ns3::Channel> ns3::NetDevice::GetChannel() const [member function]
4209 cls.add_method('GetChannel',
4210 'ns3::Ptr< ns3::Channel >',
4211 [],
4212 is_pure_virtual=True, is_const=True, is_virtual=True)
4213 ## net-device.h (module 'network'): uint32_t ns3::NetDevice::GetIfIndex() const [member function]
4214 cls.add_method('GetIfIndex',
4215 'uint32_t',
4216 [],
4217 is_pure_virtual=True, is_const=True, is_virtual=True)
4218 ## net-device.h (module 'network'): uint16_t ns3::NetDevice::GetMtu() const [member function]
4219 cls.add_method('GetMtu',
4220 'uint16_t',
4221 [],
4222 is_pure_virtual=True, is_const=True, is_virtual=True)
4223 ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetMulticast(ns3::Ipv4Address multicastGroup) const [member function]
4224 cls.add_method('GetMulticast',
4225 'ns3::Address',
4226 [param('ns3::Ipv4Address', 'multicastGroup')],
4227 is_pure_virtual=True, is_const=True, is_virtual=True)
4228 ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetMulticast(ns3::Ipv6Address addr) const [member function]
4229 cls.add_method('GetMulticast',
4230 'ns3::Address',
4231 [param('ns3::Ipv6Address', 'addr')],
4232 is_pure_virtual=True, is_const=True, is_virtual=True)
4233 ## net-device.h (module 'network'): ns3::Ptr<ns3::Node> ns3::NetDevice::GetNode() const [member function]
4234 cls.add_method('GetNode',
4235 'ns3::Ptr< ns3::Node >',
4236 [],
4237 is_pure_virtual=True, is_const=True, is_virtual=True)
4238 ## net-device.h (module 'network'): static ns3::TypeId ns3::NetDevice::GetTypeId() [member function]
4239 cls.add_method('GetTypeId',
4240 'ns3::TypeId',
4241 [],
4242 is_static=True)
4243 ## net-device.h (module 'network'): bool ns3::NetDevice::IsBridge() const [member function]
4244 cls.add_method('IsBridge',
4245 'bool',
4246 [],
4247 is_pure_virtual=True, is_const=True, is_virtual=True)
4248 ## net-device.h (module 'network'): bool ns3::NetDevice::IsBroadcast() const [member function]
4249 cls.add_method('IsBroadcast',
4250 'bool',
4251 [],
4252 is_pure_virtual=True, is_const=True, is_virtual=True)
4253 ## net-device.h (module 'network'): bool ns3::NetDevice::IsLinkUp() const [member function]
4254 cls.add_method('IsLinkUp',
4255 'bool',
4256 [],
4257 is_pure_virtual=True, is_const=True, is_virtual=True)
4258 ## net-device.h (module 'network'): bool ns3::NetDevice::IsMulticast() const [member function]
4259 cls.add_method('IsMulticast',
4260 'bool',
4261 [],
4262 is_pure_virtual=True, is_const=True, is_virtual=True)
4263 ## net-device.h (module 'network'): bool ns3::NetDevice::IsPointToPoint() const [member function]
4264 cls.add_method('IsPointToPoint',
4265 'bool',
4266 [],
4267 is_pure_virtual=True, is_const=True, is_virtual=True)
4268 ## net-device.h (module 'network'): bool ns3::NetDevice::NeedsArp() const [member function]
4269 cls.add_method('NeedsArp',
4270 'bool',
4271 [],
4272 is_pure_virtual=True, is_const=True, is_virtual=True)
4273 ## net-device.h (module 'network'): bool ns3::NetDevice::Send(ns3::Ptr<ns3::Packet> packet, ns3::Address const & dest, uint16_t protocolNumber) [member function]
4274 cls.add_method('Send',
4275 'bool',
4276 [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')],
4277 is_pure_virtual=True, is_virtual=True)
4278 ## 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]
4279 cls.add_method('SendFrom',
4280 'bool',
4281 [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'source'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')],
4282 is_pure_virtual=True, is_virtual=True)
4283 ## net-device.h (module 'network'): void ns3::NetDevice::SetAddress(ns3::Address address) [member function]
4284 cls.add_method('SetAddress',
4285 'void',
4286 [param('ns3::Address', 'address')],
4287 is_pure_virtual=True, is_virtual=True)
4288 ## net-device.h (module 'network'): void ns3::NetDevice::SetIfIndex(uint32_t const index) [member function]
4289 cls.add_method('SetIfIndex',
4290 'void',
4291 [param('uint32_t const', 'index')],
4292 is_pure_virtual=True, is_virtual=True)
4293 ## net-device.h (module 'network'): bool ns3::NetDevice::SetMtu(uint16_t const mtu) [member function]
4294 cls.add_method('SetMtu',
4295 'bool',
4296 [param('uint16_t const', 'mtu')],
4297 is_pure_virtual=True, is_virtual=True)
4298 ## net-device.h (module 'network'): void ns3::NetDevice::SetNode(ns3::Ptr<ns3::Node> node) [member function]
4299 cls.add_method('SetNode',
4300 'void',
4301 [param('ns3::Ptr< ns3::Node >', 'node')],
4302 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08004303 ## 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 Afanasyevaa032ea2011-12-13 12:38:32 -08004304 cls.add_method('SetPromiscReceiveCallback',
4305 'void',
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08004306 [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 Afanasyevaa032ea2011-12-13 12:38:32 -08004307 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08004308 ## 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 Afanasyevaa032ea2011-12-13 12:38:32 -08004309 cls.add_method('SetReceiveCallback',
4310 'void',
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08004311 [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 Afanasyevaa032ea2011-12-13 12:38:32 -08004312 is_pure_virtual=True, is_virtual=True)
4313 ## net-device.h (module 'network'): bool ns3::NetDevice::SupportsSendFrom() const [member function]
4314 cls.add_method('SupportsSendFrom',
4315 'bool',
4316 [],
4317 is_pure_virtual=True, is_const=True, is_virtual=True)
4318 return
4319
4320def register_Ns3NixVector_methods(root_module, cls):
4321 cls.add_output_stream_operator()
4322 ## nix-vector.h (module 'network'): ns3::NixVector::NixVector() [constructor]
4323 cls.add_constructor([])
4324 ## nix-vector.h (module 'network'): ns3::NixVector::NixVector(ns3::NixVector const & o) [copy constructor]
4325 cls.add_constructor([param('ns3::NixVector const &', 'o')])
4326 ## nix-vector.h (module 'network'): void ns3::NixVector::AddNeighborIndex(uint32_t newBits, uint32_t numberOfBits) [member function]
4327 cls.add_method('AddNeighborIndex',
4328 'void',
4329 [param('uint32_t', 'newBits'), param('uint32_t', 'numberOfBits')])
4330 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::BitCount(uint32_t numberOfNeighbors) const [member function]
4331 cls.add_method('BitCount',
4332 'uint32_t',
4333 [param('uint32_t', 'numberOfNeighbors')],
4334 is_const=True)
4335 ## nix-vector.h (module 'network'): ns3::Ptr<ns3::NixVector> ns3::NixVector::Copy() const [member function]
4336 cls.add_method('Copy',
4337 'ns3::Ptr< ns3::NixVector >',
4338 [],
4339 is_const=True)
4340 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::Deserialize(uint32_t const * buffer, uint32_t size) [member function]
4341 cls.add_method('Deserialize',
4342 'uint32_t',
4343 [param('uint32_t const *', 'buffer'), param('uint32_t', 'size')])
4344 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::ExtractNeighborIndex(uint32_t numberOfBits) [member function]
4345 cls.add_method('ExtractNeighborIndex',
4346 'uint32_t',
4347 [param('uint32_t', 'numberOfBits')])
4348 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::GetRemainingBits() [member function]
4349 cls.add_method('GetRemainingBits',
4350 'uint32_t',
4351 [])
4352 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::GetSerializedSize() const [member function]
4353 cls.add_method('GetSerializedSize',
4354 'uint32_t',
4355 [],
4356 is_const=True)
4357 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::Serialize(uint32_t * buffer, uint32_t maxSize) const [member function]
4358 cls.add_method('Serialize',
4359 'uint32_t',
4360 [param('uint32_t *', 'buffer'), param('uint32_t', 'maxSize')],
4361 is_const=True)
4362 return
4363
4364def register_Ns3Node_methods(root_module, cls):
4365 ## node.h (module 'network'): ns3::Node::Node(ns3::Node const & arg0) [copy constructor]
4366 cls.add_constructor([param('ns3::Node const &', 'arg0')])
4367 ## node.h (module 'network'): ns3::Node::Node() [constructor]
4368 cls.add_constructor([])
4369 ## node.h (module 'network'): ns3::Node::Node(uint32_t systemId) [constructor]
4370 cls.add_constructor([param('uint32_t', 'systemId')])
4371 ## node.h (module 'network'): uint32_t ns3::Node::AddApplication(ns3::Ptr<ns3::Application> application) [member function]
4372 cls.add_method('AddApplication',
4373 'uint32_t',
4374 [param('ns3::Ptr< ns3::Application >', 'application')])
4375 ## node.h (module 'network'): uint32_t ns3::Node::AddDevice(ns3::Ptr<ns3::NetDevice> device) [member function]
4376 cls.add_method('AddDevice',
4377 'uint32_t',
4378 [param('ns3::Ptr< ns3::NetDevice >', 'device')])
4379 ## node.h (module 'network'): static bool ns3::Node::ChecksumEnabled() [member function]
4380 cls.add_method('ChecksumEnabled',
4381 'bool',
4382 [],
4383 is_static=True)
4384 ## node.h (module 'network'): ns3::Ptr<ns3::Application> ns3::Node::GetApplication(uint32_t index) const [member function]
4385 cls.add_method('GetApplication',
4386 'ns3::Ptr< ns3::Application >',
4387 [param('uint32_t', 'index')],
4388 is_const=True)
4389 ## node.h (module 'network'): ns3::Ptr<ns3::NetDevice> ns3::Node::GetDevice(uint32_t index) const [member function]
4390 cls.add_method('GetDevice',
4391 'ns3::Ptr< ns3::NetDevice >',
4392 [param('uint32_t', 'index')],
4393 is_const=True)
4394 ## node.h (module 'network'): uint32_t ns3::Node::GetId() const [member function]
4395 cls.add_method('GetId',
4396 'uint32_t',
4397 [],
4398 is_const=True)
4399 ## node.h (module 'network'): uint32_t ns3::Node::GetNApplications() const [member function]
4400 cls.add_method('GetNApplications',
4401 'uint32_t',
4402 [],
4403 is_const=True)
4404 ## node.h (module 'network'): uint32_t ns3::Node::GetNDevices() const [member function]
4405 cls.add_method('GetNDevices',
4406 'uint32_t',
4407 [],
4408 is_const=True)
4409 ## node.h (module 'network'): uint32_t ns3::Node::GetSystemId() const [member function]
4410 cls.add_method('GetSystemId',
4411 'uint32_t',
4412 [],
4413 is_const=True)
4414 ## node.h (module 'network'): static ns3::TypeId ns3::Node::GetTypeId() [member function]
4415 cls.add_method('GetTypeId',
4416 'ns3::TypeId',
4417 [],
4418 is_static=True)
4419 ## 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]
4420 cls.add_method('RegisterDeviceAdditionListener',
4421 'void',
4422 [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')])
4423 ## 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]
4424 cls.add_method('RegisterProtocolHandler',
4425 'void',
4426 [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')])
4427 ## 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]
4428 cls.add_method('UnregisterDeviceAdditionListener',
4429 'void',
4430 [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')])
4431 ## 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]
4432 cls.add_method('UnregisterProtocolHandler',
4433 'void',
4434 [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')])
4435 ## node.h (module 'network'): void ns3::Node::DoDispose() [member function]
4436 cls.add_method('DoDispose',
4437 'void',
4438 [],
4439 visibility='protected', is_virtual=True)
Alexander Afanasyev5b8d61b2013-05-03 10:23:21 -07004440 ## node.h (module 'network'): void ns3::Node::DoInitialize() [member function]
4441 cls.add_method('DoInitialize',
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004442 'void',
4443 [],
4444 visibility='protected', is_virtual=True)
4445 return
4446
4447def register_Ns3ObjectFactoryChecker_methods(root_module, cls):
4448 ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker::ObjectFactoryChecker() [constructor]
4449 cls.add_constructor([])
4450 ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker::ObjectFactoryChecker(ns3::ObjectFactoryChecker const & arg0) [copy constructor]
4451 cls.add_constructor([param('ns3::ObjectFactoryChecker const &', 'arg0')])
4452 return
4453
4454def register_Ns3ObjectFactoryValue_methods(root_module, cls):
4455 ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue() [constructor]
4456 cls.add_constructor([])
4457 ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue(ns3::ObjectFactoryValue const & arg0) [copy constructor]
4458 cls.add_constructor([param('ns3::ObjectFactoryValue const &', 'arg0')])
4459 ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue(ns3::ObjectFactory const & value) [constructor]
4460 cls.add_constructor([param('ns3::ObjectFactory const &', 'value')])
4461 ## object-factory.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::ObjectFactoryValue::Copy() const [member function]
4462 cls.add_method('Copy',
4463 'ns3::Ptr< ns3::AttributeValue >',
4464 [],
4465 is_const=True, is_virtual=True)
4466 ## object-factory.h (module 'core'): bool ns3::ObjectFactoryValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4467 cls.add_method('DeserializeFromString',
4468 'bool',
4469 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4470 is_virtual=True)
4471 ## object-factory.h (module 'core'): ns3::ObjectFactory ns3::ObjectFactoryValue::Get() const [member function]
4472 cls.add_method('Get',
4473 'ns3::ObjectFactory',
4474 [],
4475 is_const=True)
4476 ## object-factory.h (module 'core'): std::string ns3::ObjectFactoryValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4477 cls.add_method('SerializeToString',
4478 'std::string',
4479 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4480 is_const=True, is_virtual=True)
4481 ## object-factory.h (module 'core'): void ns3::ObjectFactoryValue::Set(ns3::ObjectFactory const & value) [member function]
4482 cls.add_method('Set',
4483 'void',
4484 [param('ns3::ObjectFactory const &', 'value')])
4485 return
4486
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004487def register_Ns3Packet_methods(root_module, cls):
4488 cls.add_output_stream_operator()
4489 ## packet.h (module 'network'): ns3::Packet::Packet() [constructor]
4490 cls.add_constructor([])
4491 ## packet.h (module 'network'): ns3::Packet::Packet(ns3::Packet const & o) [copy constructor]
4492 cls.add_constructor([param('ns3::Packet const &', 'o')])
4493 ## packet.h (module 'network'): ns3::Packet::Packet(uint32_t size) [constructor]
4494 cls.add_constructor([param('uint32_t', 'size')])
4495 ## packet.h (module 'network'): ns3::Packet::Packet(uint8_t const * buffer, uint32_t size, bool magic) [constructor]
4496 cls.add_constructor([param('uint8_t const *', 'buffer'), param('uint32_t', 'size'), param('bool', 'magic')])
4497 ## packet.h (module 'network'): ns3::Packet::Packet(uint8_t const * buffer, uint32_t size) [constructor]
4498 cls.add_constructor([param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
Alexander Afanasyev858d5312013-07-10 18:50:18 -07004499 ## packet.h (module 'network'): void ns3::Packet::AddAtEnd(ns3::Ptr<ns3::Packet const> packet) [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004500 cls.add_method('AddAtEnd',
4501 'void',
4502 [param('ns3::Ptr< ns3::Packet const >', 'packet')])
4503 ## packet.h (module 'network'): void ns3::Packet::AddByteTag(ns3::Tag const & tag) const [member function]
4504 cls.add_method('AddByteTag',
4505 'void',
4506 [param('ns3::Tag const &', 'tag')],
4507 is_const=True)
4508 ## packet.h (module 'network'): void ns3::Packet::AddHeader(ns3::Header const & header) [member function]
4509 cls.add_method('AddHeader',
4510 'void',
4511 [param('ns3::Header const &', 'header')])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004512 ## packet.h (module 'network'): void ns3::Packet::AddPacketTag(ns3::Tag const & tag) const [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004513 cls.add_method('AddPacketTag',
4514 'void',
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004515 [param('ns3::Tag const &', 'tag')],
4516 is_const=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004517 ## packet.h (module 'network'): void ns3::Packet::AddPaddingAtEnd(uint32_t size) [member function]
4518 cls.add_method('AddPaddingAtEnd',
4519 'void',
4520 [param('uint32_t', 'size')])
4521 ## packet.h (module 'network'): void ns3::Packet::AddTrailer(ns3::Trailer const & trailer) [member function]
4522 cls.add_method('AddTrailer',
4523 'void',
4524 [param('ns3::Trailer const &', 'trailer')])
4525 ## packet.h (module 'network'): ns3::PacketMetadata::ItemIterator ns3::Packet::BeginItem() const [member function]
4526 cls.add_method('BeginItem',
4527 'ns3::PacketMetadata::ItemIterator',
4528 [],
4529 is_const=True)
4530 ## packet.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Packet::Copy() const [member function]
4531 cls.add_method('Copy',
4532 'ns3::Ptr< ns3::Packet >',
4533 [],
4534 is_const=True)
4535 ## packet.h (module 'network'): uint32_t ns3::Packet::CopyData(uint8_t * buffer, uint32_t size) const [member function]
4536 cls.add_method('CopyData',
4537 'uint32_t',
4538 [param('uint8_t *', 'buffer'), param('uint32_t', 'size')],
4539 is_const=True)
4540 ## packet.h (module 'network'): void ns3::Packet::CopyData(std::ostream * os, uint32_t size) const [member function]
4541 cls.add_method('CopyData',
4542 'void',
4543 [param('std::ostream *', 'os'), param('uint32_t', 'size')],
4544 is_const=True)
4545 ## packet.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Packet::CreateFragment(uint32_t start, uint32_t length) const [member function]
4546 cls.add_method('CreateFragment',
4547 'ns3::Ptr< ns3::Packet >',
4548 [param('uint32_t', 'start'), param('uint32_t', 'length')],
4549 is_const=True)
4550 ## packet.h (module 'network'): static void ns3::Packet::EnableChecking() [member function]
4551 cls.add_method('EnableChecking',
4552 'void',
4553 [],
4554 is_static=True)
4555 ## packet.h (module 'network'): static void ns3::Packet::EnablePrinting() [member function]
4556 cls.add_method('EnablePrinting',
4557 'void',
4558 [],
4559 is_static=True)
4560 ## packet.h (module 'network'): bool ns3::Packet::FindFirstMatchingByteTag(ns3::Tag & tag) const [member function]
4561 cls.add_method('FindFirstMatchingByteTag',
4562 'bool',
4563 [param('ns3::Tag &', 'tag')],
4564 is_const=True)
4565 ## packet.h (module 'network'): ns3::ByteTagIterator ns3::Packet::GetByteTagIterator() const [member function]
4566 cls.add_method('GetByteTagIterator',
4567 'ns3::ByteTagIterator',
4568 [],
4569 is_const=True)
4570 ## packet.h (module 'network'): ns3::Ptr<ns3::NixVector> ns3::Packet::GetNixVector() const [member function]
4571 cls.add_method('GetNixVector',
4572 'ns3::Ptr< ns3::NixVector >',
4573 [],
4574 is_const=True)
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004575 ## packet.h (module 'network'): ns3::PacketTagIterator ns3::Packet::GetPacketTagIterator() const [member function]
4576 cls.add_method('GetPacketTagIterator',
4577 'ns3::PacketTagIterator',
4578 [],
4579 is_const=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004580 ## packet.h (module 'network'): uint32_t ns3::Packet::GetSerializedSize() const [member function]
4581 cls.add_method('GetSerializedSize',
4582 'uint32_t',
4583 [],
4584 is_const=True)
4585 ## packet.h (module 'network'): uint32_t ns3::Packet::GetSize() const [member function]
4586 cls.add_method('GetSize',
4587 'uint32_t',
4588 [],
4589 is_const=True)
4590 ## packet.h (module 'network'): uint64_t ns3::Packet::GetUid() const [member function]
4591 cls.add_method('GetUid',
4592 'uint64_t',
4593 [],
4594 is_const=True)
4595 ## packet.h (module 'network'): uint8_t const * ns3::Packet::PeekData() const [member function]
4596 cls.add_method('PeekData',
4597 'uint8_t const *',
4598 [],
4599 deprecated=True, is_const=True)
4600 ## packet.h (module 'network'): uint32_t ns3::Packet::PeekHeader(ns3::Header & header) const [member function]
4601 cls.add_method('PeekHeader',
4602 'uint32_t',
4603 [param('ns3::Header &', 'header')],
4604 is_const=True)
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004605 ## packet.h (module 'network'): bool ns3::Packet::PeekPacketTag(ns3::Tag & tag) const [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004606 cls.add_method('PeekPacketTag',
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004607 'bool',
4608 [param('ns3::Tag &', 'tag')],
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004609 is_const=True)
4610 ## packet.h (module 'network'): uint32_t ns3::Packet::PeekTrailer(ns3::Trailer & trailer) [member function]
4611 cls.add_method('PeekTrailer',
4612 'uint32_t',
4613 [param('ns3::Trailer &', 'trailer')])
4614 ## packet.h (module 'network'): void ns3::Packet::Print(std::ostream & os) const [member function]
4615 cls.add_method('Print',
4616 'void',
4617 [param('std::ostream &', 'os')],
4618 is_const=True)
4619 ## packet.h (module 'network'): void ns3::Packet::PrintByteTags(std::ostream & os) const [member function]
4620 cls.add_method('PrintByteTags',
4621 'void',
4622 [param('std::ostream &', 'os')],
4623 is_const=True)
4624 ## packet.h (module 'network'): void ns3::Packet::PrintPacketTags(std::ostream & os) const [member function]
4625 cls.add_method('PrintPacketTags',
4626 'void',
4627 [param('std::ostream &', 'os')],
4628 is_const=True)
4629 ## packet.h (module 'network'): void ns3::Packet::RemoveAllByteTags() [member function]
4630 cls.add_method('RemoveAllByteTags',
4631 'void',
4632 [])
4633 ## packet.h (module 'network'): void ns3::Packet::RemoveAllPacketTags() [member function]
4634 cls.add_method('RemoveAllPacketTags',
4635 'void',
4636 [])
4637 ## packet.h (module 'network'): void ns3::Packet::RemoveAtEnd(uint32_t size) [member function]
4638 cls.add_method('RemoveAtEnd',
4639 'void',
4640 [param('uint32_t', 'size')])
4641 ## packet.h (module 'network'): void ns3::Packet::RemoveAtStart(uint32_t size) [member function]
4642 cls.add_method('RemoveAtStart',
4643 'void',
4644 [param('uint32_t', 'size')])
4645 ## packet.h (module 'network'): uint32_t ns3::Packet::RemoveHeader(ns3::Header & header) [member function]
4646 cls.add_method('RemoveHeader',
4647 'uint32_t',
4648 [param('ns3::Header &', 'header')])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004649 ## packet.h (module 'network'): bool ns3::Packet::RemovePacketTag(ns3::Tag & tag) [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004650 cls.add_method('RemovePacketTag',
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004651 'bool',
4652 [param('ns3::Tag &', 'tag')])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004653 ## packet.h (module 'network'): uint32_t ns3::Packet::RemoveTrailer(ns3::Trailer & trailer) [member function]
4654 cls.add_method('RemoveTrailer',
4655 'uint32_t',
4656 [param('ns3::Trailer &', 'trailer')])
4657 ## packet.h (module 'network'): uint32_t ns3::Packet::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
4658 cls.add_method('Serialize',
4659 'uint32_t',
4660 [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')],
4661 is_const=True)
4662 ## packet.h (module 'network'): void ns3::Packet::SetNixVector(ns3::Ptr<ns3::NixVector> arg0) [member function]
4663 cls.add_method('SetNixVector',
4664 'void',
4665 [param('ns3::Ptr< ns3::NixVector >', 'arg0')])
4666 return
4667
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07004668def register_Ns3RandomVariableChecker_methods(root_module, cls):
4669 ## random-variable.h (module 'core'): ns3::RandomVariableChecker::RandomVariableChecker() [constructor]
4670 cls.add_constructor([])
4671 ## random-variable.h (module 'core'): ns3::RandomVariableChecker::RandomVariableChecker(ns3::RandomVariableChecker const & arg0) [copy constructor]
4672 cls.add_constructor([param('ns3::RandomVariableChecker const &', 'arg0')])
4673 return
4674
4675def register_Ns3RandomVariableValue_methods(root_module, cls):
4676 ## random-variable.h (module 'core'): ns3::RandomVariableValue::RandomVariableValue() [constructor]
4677 cls.add_constructor([])
4678 ## random-variable.h (module 'core'): ns3::RandomVariableValue::RandomVariableValue(ns3::RandomVariableValue const & arg0) [copy constructor]
4679 cls.add_constructor([param('ns3::RandomVariableValue const &', 'arg0')])
4680 ## random-variable.h (module 'core'): ns3::RandomVariableValue::RandomVariableValue(ns3::RandomVariable const & value) [constructor]
4681 cls.add_constructor([param('ns3::RandomVariable const &', 'value')])
4682 ## random-variable.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::RandomVariableValue::Copy() const [member function]
4683 cls.add_method('Copy',
4684 'ns3::Ptr< ns3::AttributeValue >',
4685 [],
4686 is_const=True, is_virtual=True)
4687 ## random-variable.h (module 'core'): bool ns3::RandomVariableValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4688 cls.add_method('DeserializeFromString',
4689 'bool',
4690 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4691 is_virtual=True)
4692 ## random-variable.h (module 'core'): ns3::RandomVariable ns3::RandomVariableValue::Get() const [member function]
4693 cls.add_method('Get',
4694 'ns3::RandomVariable',
4695 [],
4696 is_const=True)
4697 ## random-variable.h (module 'core'): std::string ns3::RandomVariableValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4698 cls.add_method('SerializeToString',
4699 'std::string',
4700 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4701 is_const=True, is_virtual=True)
4702 ## random-variable.h (module 'core'): void ns3::RandomVariableValue::Set(ns3::RandomVariable const & value) [member function]
4703 cls.add_method('Set',
4704 'void',
4705 [param('ns3::RandomVariable const &', 'value')])
4706 return
4707
4708def register_Ns3RocketfuelWeightsReader_methods(root_module, cls):
4709 ## rocketfuel-weights-reader.h (module 'ndnSIM'): ns3::RocketfuelWeightsReader::RocketfuelWeightsReader(std::string const & path="", double scale=1.0e+0) [constructor]
4710 cls.add_constructor([param('std::string const &', 'path', default_value='""'), param('double', 'scale', default_value='1.0e+0')])
4711 ## rocketfuel-weights-reader.h (module 'ndnSIM'): void ns3::RocketfuelWeightsReader::SetFileType(uint8_t inputType) [member function]
4712 cls.add_method('SetFileType',
4713 'void',
4714 [param('uint8_t', 'inputType')])
4715 ## rocketfuel-weights-reader.h (module 'ndnSIM'): ns3::NodeContainer ns3::RocketfuelWeightsReader::Read() [member function]
4716 cls.add_method('Read',
4717 'ns3::NodeContainer',
4718 [],
4719 is_virtual=True)
4720 ## rocketfuel-weights-reader.h (module 'ndnSIM'): void ns3::RocketfuelWeightsReader::Commit() [member function]
4721 cls.add_method('Commit',
4722 'void',
4723 [])
Alexander Afanasyev858d5312013-07-10 18:50:18 -07004724 ## rocketfuel-weights-reader.h (module 'ndnSIM'): void ns3::RocketfuelWeightsReader::SetDefaultBandwidth(std::string const & bw) [member function]
4725 cls.add_method('SetDefaultBandwidth',
4726 'void',
4727 [param('std::string const &', 'bw')])
4728 ## rocketfuel-weights-reader.h (module 'ndnSIM'): std::string ns3::RocketfuelWeightsReader::GetDefaultBandwidth() const [member function]
4729 cls.add_method('GetDefaultBandwidth',
4730 'std::string',
4731 [],
4732 is_const=True)
4733 ## rocketfuel-weights-reader.h (module 'ndnSIM'): void ns3::RocketfuelWeightsReader::SetDefaultQueue(std::string const & queue) [member function]
4734 cls.add_method('SetDefaultQueue',
4735 'void',
4736 [param('std::string const &', 'queue')])
4737 ## rocketfuel-weights-reader.h (module 'ndnSIM'): std::string ns3::RocketfuelWeightsReader::GetDefaultQueue() const [member function]
4738 cls.add_method('GetDefaultQueue',
4739 'std::string',
4740 [],
4741 is_const=True)
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07004742 return
4743
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004744def register_Ns3TimeChecker_methods(root_module, cls):
4745 ## nstime.h (module 'core'): ns3::TimeChecker::TimeChecker() [constructor]
4746 cls.add_constructor([])
4747 ## nstime.h (module 'core'): ns3::TimeChecker::TimeChecker(ns3::TimeChecker const & arg0) [copy constructor]
4748 cls.add_constructor([param('ns3::TimeChecker const &', 'arg0')])
4749 return
4750
4751def register_Ns3TimeValue_methods(root_module, cls):
4752 ## nstime.h (module 'core'): ns3::TimeValue::TimeValue() [constructor]
4753 cls.add_constructor([])
4754 ## nstime.h (module 'core'): ns3::TimeValue::TimeValue(ns3::TimeValue const & arg0) [copy constructor]
4755 cls.add_constructor([param('ns3::TimeValue const &', 'arg0')])
4756 ## nstime.h (module 'core'): ns3::TimeValue::TimeValue(ns3::Time const & value) [constructor]
4757 cls.add_constructor([param('ns3::Time const &', 'value')])
4758 ## nstime.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::TimeValue::Copy() const [member function]
4759 cls.add_method('Copy',
4760 'ns3::Ptr< ns3::AttributeValue >',
4761 [],
4762 is_const=True, is_virtual=True)
4763 ## nstime.h (module 'core'): bool ns3::TimeValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4764 cls.add_method('DeserializeFromString',
4765 'bool',
4766 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4767 is_virtual=True)
4768 ## nstime.h (module 'core'): ns3::Time ns3::TimeValue::Get() const [member function]
4769 cls.add_method('Get',
4770 'ns3::Time',
4771 [],
4772 is_const=True)
4773 ## nstime.h (module 'core'): std::string ns3::TimeValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4774 cls.add_method('SerializeToString',
4775 'std::string',
4776 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4777 is_const=True, is_virtual=True)
4778 ## nstime.h (module 'core'): void ns3::TimeValue::Set(ns3::Time const & value) [member function]
4779 cls.add_method('Set',
4780 'void',
4781 [param('ns3::Time const &', 'value')])
4782 return
4783
4784def register_Ns3TypeIdChecker_methods(root_module, cls):
4785 ## type-id.h (module 'core'): ns3::TypeIdChecker::TypeIdChecker() [constructor]
4786 cls.add_constructor([])
4787 ## type-id.h (module 'core'): ns3::TypeIdChecker::TypeIdChecker(ns3::TypeIdChecker const & arg0) [copy constructor]
4788 cls.add_constructor([param('ns3::TypeIdChecker const &', 'arg0')])
4789 return
4790
4791def register_Ns3TypeIdValue_methods(root_module, cls):
4792 ## type-id.h (module 'core'): ns3::TypeIdValue::TypeIdValue() [constructor]
4793 cls.add_constructor([])
4794 ## type-id.h (module 'core'): ns3::TypeIdValue::TypeIdValue(ns3::TypeIdValue const & arg0) [copy constructor]
4795 cls.add_constructor([param('ns3::TypeIdValue const &', 'arg0')])
4796 ## type-id.h (module 'core'): ns3::TypeIdValue::TypeIdValue(ns3::TypeId const & value) [constructor]
4797 cls.add_constructor([param('ns3::TypeId const &', 'value')])
4798 ## type-id.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::TypeIdValue::Copy() const [member function]
4799 cls.add_method('Copy',
4800 'ns3::Ptr< ns3::AttributeValue >',
4801 [],
4802 is_const=True, is_virtual=True)
4803 ## type-id.h (module 'core'): bool ns3::TypeIdValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4804 cls.add_method('DeserializeFromString',
4805 'bool',
4806 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4807 is_virtual=True)
4808 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeIdValue::Get() const [member function]
4809 cls.add_method('Get',
4810 'ns3::TypeId',
4811 [],
4812 is_const=True)
4813 ## type-id.h (module 'core'): std::string ns3::TypeIdValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4814 cls.add_method('SerializeToString',
4815 'std::string',
4816 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4817 is_const=True, is_virtual=True)
4818 ## type-id.h (module 'core'): void ns3::TypeIdValue::Set(ns3::TypeId const & value) [member function]
4819 cls.add_method('Set',
4820 'void',
4821 [param('ns3::TypeId const &', 'value')])
4822 return
4823
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07004824def register_Ns3UintegerValue_methods(root_module, cls):
4825 ## uinteger.h (module 'core'): ns3::UintegerValue::UintegerValue() [constructor]
4826 cls.add_constructor([])
4827 ## uinteger.h (module 'core'): ns3::UintegerValue::UintegerValue(ns3::UintegerValue const & arg0) [copy constructor]
4828 cls.add_constructor([param('ns3::UintegerValue const &', 'arg0')])
4829 ## uinteger.h (module 'core'): ns3::UintegerValue::UintegerValue(uint64_t const & value) [constructor]
4830 cls.add_constructor([param('uint64_t const &', 'value')])
4831 ## uinteger.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::UintegerValue::Copy() const [member function]
4832 cls.add_method('Copy',
4833 'ns3::Ptr< ns3::AttributeValue >',
4834 [],
4835 is_const=True, is_virtual=True)
4836 ## uinteger.h (module 'core'): bool ns3::UintegerValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4837 cls.add_method('DeserializeFromString',
4838 'bool',
4839 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4840 is_virtual=True)
4841 ## uinteger.h (module 'core'): uint64_t ns3::UintegerValue::Get() const [member function]
4842 cls.add_method('Get',
4843 'uint64_t',
4844 [],
4845 is_const=True)
4846 ## uinteger.h (module 'core'): std::string ns3::UintegerValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4847 cls.add_method('SerializeToString',
4848 'std::string',
4849 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4850 is_const=True, is_virtual=True)
4851 ## uinteger.h (module 'core'): void ns3::UintegerValue::Set(uint64_t const & value) [member function]
4852 cls.add_method('Set',
4853 'void',
4854 [param('uint64_t const &', 'value')])
4855 return
4856
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004857def register_Ns3AddressChecker_methods(root_module, cls):
4858 ## address.h (module 'network'): ns3::AddressChecker::AddressChecker() [constructor]
4859 cls.add_constructor([])
4860 ## address.h (module 'network'): ns3::AddressChecker::AddressChecker(ns3::AddressChecker const & arg0) [copy constructor]
4861 cls.add_constructor([param('ns3::AddressChecker const &', 'arg0')])
4862 return
4863
4864def register_Ns3AddressValue_methods(root_module, cls):
4865 ## address.h (module 'network'): ns3::AddressValue::AddressValue() [constructor]
4866 cls.add_constructor([])
4867 ## address.h (module 'network'): ns3::AddressValue::AddressValue(ns3::AddressValue const & arg0) [copy constructor]
4868 cls.add_constructor([param('ns3::AddressValue const &', 'arg0')])
4869 ## address.h (module 'network'): ns3::AddressValue::AddressValue(ns3::Address const & value) [constructor]
4870 cls.add_constructor([param('ns3::Address const &', 'value')])
4871 ## address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::AddressValue::Copy() const [member function]
4872 cls.add_method('Copy',
4873 'ns3::Ptr< ns3::AttributeValue >',
4874 [],
4875 is_const=True, is_virtual=True)
4876 ## address.h (module 'network'): bool ns3::AddressValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4877 cls.add_method('DeserializeFromString',
4878 'bool',
4879 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4880 is_virtual=True)
4881 ## address.h (module 'network'): ns3::Address ns3::AddressValue::Get() const [member function]
4882 cls.add_method('Get',
4883 'ns3::Address',
4884 [],
4885 is_const=True)
4886 ## address.h (module 'network'): std::string ns3::AddressValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4887 cls.add_method('SerializeToString',
4888 'std::string',
4889 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4890 is_const=True, is_virtual=True)
4891 ## address.h (module 'network'): void ns3::AddressValue::Set(ns3::Address const & value) [member function]
4892 cls.add_method('Set',
4893 'void',
4894 [param('ns3::Address const &', 'value')])
4895 return
4896
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004897def register_Ns3NdnApp_methods(root_module, cls):
4898 ## ndn-app.h (module 'ndnSIM'): ns3::ndn::App::App(ns3::ndn::App const & arg0) [copy constructor]
4899 cls.add_constructor([param('ns3::ndn::App const &', 'arg0')])
4900 ## ndn-app.h (module 'ndnSIM'): ns3::ndn::App::App() [constructor]
4901 cls.add_constructor([])
Alexander Afanasyev32c07562013-02-01 12:58:43 -08004902 ## ndn-app.h (module 'ndnSIM'): uint32_t ns3::ndn::App::GetId() const [member function]
4903 cls.add_method('GetId',
4904 'uint32_t',
4905 [],
4906 is_const=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004907 ## ndn-app.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::App::GetTypeId() [member function]
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07004908 cls.add_method('GetTypeId',
4909 'ns3::TypeId',
4910 [],
4911 is_static=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07004912 ## ndn-app.h (module 'ndnSIM'): void ns3::ndn::App::OnContentObject(ns3::Ptr<ns3::ndn::ContentObject const> contentObject) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004913 cls.add_method('OnContentObject',
4914 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07004915 [param('ns3::Ptr< ns3::ndn::ContentObject const >', 'contentObject')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004916 is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07004917 ## ndn-app.h (module 'ndnSIM'): void ns3::ndn::App::OnInterest(ns3::Ptr<ns3::ndn::Interest const> interest) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004918 cls.add_method('OnInterest',
4919 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07004920 [param('ns3::Ptr< ns3::ndn::Interest const >', 'interest')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004921 is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07004922 ## ndn-app.h (module 'ndnSIM'): void ns3::ndn::App::OnNack(ns3::Ptr<ns3::ndn::Interest const> interest) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004923 cls.add_method('OnNack',
4924 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07004925 [param('ns3::Ptr< ns3::ndn::Interest const >', 'interest')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004926 is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004927 ## ndn-app.h (module 'ndnSIM'): void ns3::ndn::App::DoDispose() [member function]
4928 cls.add_method('DoDispose',
4929 'void',
4930 [],
4931 visibility='protected', is_virtual=True)
4932 ## ndn-app.h (module 'ndnSIM'): void ns3::ndn::App::StartApplication() [member function]
4933 cls.add_method('StartApplication',
4934 'void',
4935 [],
4936 visibility='protected', is_virtual=True)
4937 ## ndn-app.h (module 'ndnSIM'): void ns3::ndn::App::StopApplication() [member function]
4938 cls.add_method('StopApplication',
4939 'void',
4940 [],
4941 visibility='protected', is_virtual=True)
4942 return
4943
4944def register_Ns3NdnAppHelper_methods(root_module, cls):
4945 ## ndn-app-helper.h (module 'ndnSIM'): ns3::ndn::AppHelper::AppHelper(ns3::ndn::AppHelper const & arg0) [copy constructor]
4946 cls.add_constructor([param('ns3::ndn::AppHelper const &', 'arg0')])
4947 ## ndn-app-helper.h (module 'ndnSIM'): ns3::ndn::AppHelper::AppHelper(std::string const & prefix) [constructor]
4948 cls.add_constructor([param('std::string const &', 'prefix')])
4949 ## ndn-app-helper.h (module 'ndnSIM'): ns3::ApplicationContainer ns3::ndn::AppHelper::Install(ns3::NodeContainer c) [member function]
4950 cls.add_method('Install',
4951 'ns3::ApplicationContainer',
4952 [param('ns3::NodeContainer', 'c')])
4953 ## ndn-app-helper.h (module 'ndnSIM'): ns3::ApplicationContainer ns3::ndn::AppHelper::Install(ns3::Ptr<ns3::Node> node) [member function]
4954 cls.add_method('Install',
4955 'ns3::ApplicationContainer',
4956 [param('ns3::Ptr< ns3::Node >', 'node')])
4957 ## ndn-app-helper.h (module 'ndnSIM'): ns3::ApplicationContainer ns3::ndn::AppHelper::Install(std::string nodeName) [member function]
4958 cls.add_method('Install',
4959 'ns3::ApplicationContainer',
4960 [param('std::string', 'nodeName')])
4961 ## ndn-app-helper.h (module 'ndnSIM'): void ns3::ndn::AppHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function]
4962 cls.add_method('SetAttribute',
4963 'void',
4964 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
4965 ## ndn-app-helper.h (module 'ndnSIM'): void ns3::ndn::AppHelper::SetPrefix(std::string const & prefix) [member function]
4966 cls.add_method('SetPrefix',
4967 'void',
4968 [param('std::string const &', 'prefix')])
4969 return
4970
Alexander Afanasyev76b11572013-07-16 21:49:50 -07004971def register_Ns3NdnBlob_methods(root_module, cls):
4972 cls.add_binary_comparison_operator('<=')
4973 cls.add_binary_comparison_operator('==')
4974 cls.add_binary_comparison_operator('>=')
4975 cls.add_binary_comparison_operator('<')
4976 cls.add_binary_comparison_operator('>')
4977 ## blob.h (module 'ndnSIM'): ns3::ndn::Blob::Blob(ns3::ndn::Blob const & arg0) [copy constructor]
4978 cls.add_constructor([param('ns3::ndn::Blob const &', 'arg0')])
4979 ## blob.h (module 'ndnSIM'): ns3::ndn::Blob::Blob() [constructor]
4980 cls.add_constructor([])
4981 ## blob.h (module 'ndnSIM'): ns3::ndn::Blob::Blob(std::string const & data) [constructor]
4982 cls.add_constructor([param('std::string const &', 'data')])
4983 ## blob.h (module 'ndnSIM'): ns3::ndn::Blob::Blob(void const * buf, size_t length) [constructor]
4984 cls.add_constructor([param('void const *', 'buf'), param('size_t', 'length')])
4985 ## blob.h (module 'ndnSIM'): __gnu_cxx::__normal_iterator<char*, std::vector<char, std::allocator<char> > > ns3::ndn::Blob::begin() [member function]
4986 cls.add_method('begin',
4987 '__gnu_cxx::__normal_iterator< char *, std::vector< char > >',
4988 [])
4989 ## blob.h (module 'ndnSIM'): __gnu_cxx::__normal_iterator<char const*, std::vector<char, std::allocator<char> > > ns3::ndn::Blob::begin() const [member function]
4990 cls.add_method('begin',
4991 '__gnu_cxx::__normal_iterator< char const *, std::vector< char > >',
4992 [],
4993 is_const=True)
4994 ## blob.h (module 'ndnSIM'): char * ns3::ndn::Blob::buf() [member function]
4995 cls.add_method('buf',
4996 'char *',
4997 [])
4998 ## blob.h (module 'ndnSIM'): char const * ns3::ndn::Blob::buf() const [member function]
4999 cls.add_method('buf',
5000 'char const *',
5001 [],
5002 is_const=True)
5003 ## blob.h (module 'ndnSIM'): void ns3::ndn::Blob::clear() [member function]
5004 cls.add_method('clear',
5005 'void',
5006 [])
5007 ## blob.h (module 'ndnSIM'): bool ns3::ndn::Blob::empty() const [member function]
5008 cls.add_method('empty',
5009 'bool',
5010 [],
5011 is_const=True)
5012 ## blob.h (module 'ndnSIM'): __gnu_cxx::__normal_iterator<char*, std::vector<char, std::allocator<char> > > ns3::ndn::Blob::end() [member function]
5013 cls.add_method('end',
5014 '__gnu_cxx::__normal_iterator< char *, std::vector< char > >',
5015 [])
5016 ## blob.h (module 'ndnSIM'): __gnu_cxx::__normal_iterator<char const*, std::vector<char, std::allocator<char> > > ns3::ndn::Blob::end() const [member function]
5017 cls.add_method('end',
5018 '__gnu_cxx::__normal_iterator< char const *, std::vector< char > >',
5019 [],
5020 is_const=True)
5021 ## blob.h (module 'ndnSIM'): char ns3::ndn::Blob::getItem(size_t pos) const [member function]
5022 cls.add_method('getItem',
5023 'char',
5024 [param('size_t', 'pos')],
5025 is_const=True)
5026 ## blob.h (module 'ndnSIM'): void ns3::ndn::Blob::push_back(char val) [member function]
5027 cls.add_method('push_back',
5028 'void',
5029 [param('char', 'val')])
5030 ## blob.h (module 'ndnSIM'): size_t ns3::ndn::Blob::size() const [member function]
5031 cls.add_method('size',
5032 'size_t',
5033 [],
5034 is_const=True)
5035 ## blob.h (module 'ndnSIM'): void ns3::ndn::Blob::swap(ns3::ndn::Blob & x) [member function]
5036 cls.add_method('swap',
5037 'void',
5038 [param('ns3::ndn::Blob &', 'x')])
5039 return
5040
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005041def register_Ns3NdnContentObject_methods(root_module, cls):
Alexander Afanasyev0a15a2b2013-07-18 16:23:15 -07005042 cls.add_output_stream_operator()
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005043 ## ndn-content-object.h (module 'ndnSIM'): ns3::ndn::ContentObject::ContentObject(ns3::Ptr<ns3::Packet> payload=ns3::Create( )) [constructor]
5044 cls.add_constructor([param('ns3::Ptr< ns3::Packet >', 'payload', default_value='ns3::Create( )')])
5045 ## ndn-content-object.h (module 'ndnSIM'): ns3::ndn::ContentObject::ContentObject(ns3::ndn::ContentObject const & other) [copy constructor]
5046 cls.add_constructor([param('ns3::ndn::ContentObject const &', 'other')])
5047 ## ndn-content-object.h (module 'ndnSIM'): void ns3::ndn::ContentObject::SetName(ns3::Ptr<ns3::ndn::Name> name) [member function]
5048 cls.add_method('SetName',
5049 'void',
5050 [param('ns3::Ptr< ns3::ndn::Name >', 'name')])
5051 ## ndn-content-object.h (module 'ndnSIM'): void ns3::ndn::ContentObject::SetName(ns3::ndn::Name const & name) [member function]
5052 cls.add_method('SetName',
5053 'void',
5054 [param('ns3::ndn::Name const &', 'name')])
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005055 ## ndn-content-object.h (module 'ndnSIM'): ns3::ndn::Name const & ns3::ndn::ContentObject::GetName() const [member function]
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005056 cls.add_method('GetName',
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005057 'ns3::ndn::Name const &',
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005058 [],
5059 is_const=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005060 ## ndn-content-object.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::Name const> ns3::ndn::ContentObject::GetNamePtr() const [member function]
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005061 cls.add_method('GetNamePtr',
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005062 'ns3::Ptr< ns3::ndn::Name const >',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005063 [],
5064 is_const=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005065 ## ndn-content-object.h (module 'ndnSIM'): void ns3::ndn::ContentObject::SetTimestamp(ns3::Time const & timestamp) [member function]
5066 cls.add_method('SetTimestamp',
5067 'void',
5068 [param('ns3::Time const &', 'timestamp')])
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005069 ## ndn-content-object.h (module 'ndnSIM'): ns3::Time ns3::ndn::ContentObject::GetTimestamp() const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005070 cls.add_method('GetTimestamp',
5071 'ns3::Time',
5072 [],
5073 is_const=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005074 ## ndn-content-object.h (module 'ndnSIM'): void ns3::ndn::ContentObject::SetFreshness(ns3::Time const & freshness) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005075 cls.add_method('SetFreshness',
5076 'void',
5077 [param('ns3::Time const &', 'freshness')])
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005078 ## ndn-content-object.h (module 'ndnSIM'): ns3::Time ns3::ndn::ContentObject::GetFreshness() const [member function]
5079 cls.add_method('GetFreshness',
5080 'ns3::Time',
5081 [],
5082 is_const=True)
Alexander Afanasyev298c8442013-04-14 15:18:45 -07005083 ## ndn-content-object.h (module 'ndnSIM'): void ns3::ndn::ContentObject::SetSignature(uint32_t signature) [member function]
5084 cls.add_method('SetSignature',
5085 'void',
5086 [param('uint32_t', 'signature')])
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005087 ## ndn-content-object.h (module 'ndnSIM'): uint32_t ns3::ndn::ContentObject::GetSignature() const [member function]
5088 cls.add_method('GetSignature',
5089 'uint32_t',
5090 [],
5091 is_const=True)
Alexander Afanasyeva6cc9102013-07-15 18:44:24 -07005092 ## ndn-content-object.h (module 'ndnSIM'): void ns3::ndn::ContentObject::SetKeyLocator(ns3::Ptr<ns3::ndn::Name> keyLocator) [member function]
5093 cls.add_method('SetKeyLocator',
5094 'void',
5095 [param('ns3::Ptr< ns3::ndn::Name >', 'keyLocator')])
5096 ## ndn-content-object.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::Name const> ns3::ndn::ContentObject::GetKeyLocator() const [member function]
5097 cls.add_method('GetKeyLocator',
5098 'ns3::Ptr< ns3::ndn::Name const >',
5099 [],
5100 is_const=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005101 ## ndn-content-object.h (module 'ndnSIM'): void ns3::ndn::ContentObject::SetPayload(ns3::Ptr<ns3::Packet> payload) [member function]
5102 cls.add_method('SetPayload',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005103 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005104 [param('ns3::Ptr< ns3::Packet >', 'payload')])
5105 ## ndn-content-object.h (module 'ndnSIM'): ns3::Ptr<ns3::Packet const> ns3::ndn::ContentObject::GetPayload() const [member function]
5106 cls.add_method('GetPayload',
5107 'ns3::Ptr< ns3::Packet const >',
5108 [],
5109 is_const=True)
5110 ## ndn-content-object.h (module 'ndnSIM'): ns3::Ptr<ns3::Packet const> ns3::ndn::ContentObject::GetWire() const [member function]
5111 cls.add_method('GetWire',
5112 'ns3::Ptr< ns3::Packet const >',
5113 [],
5114 is_const=True)
5115 ## ndn-content-object.h (module 'ndnSIM'): void ns3::ndn::ContentObject::SetWire(ns3::Ptr<ns3::Packet const> packet) const [member function]
5116 cls.add_method('SetWire',
5117 'void',
5118 [param('ns3::Ptr< ns3::Packet const >', 'packet')],
5119 is_const=True)
5120 ## ndn-content-object.h (module 'ndnSIM'): void ns3::ndn::ContentObject::Print(std::ostream & os) const [member function]
5121 cls.add_method('Print',
5122 'void',
5123 [param('std::ostream &', 'os')],
5124 is_const=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005125 return
5126
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005127def register_Ns3NdnContentObjectException_methods(root_module, cls):
5128 ## ndn-content-object.h (module 'ndnSIM'): ns3::ndn::ContentObjectException::ContentObjectException() [constructor]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005129 cls.add_constructor([])
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005130 ## ndn-content-object.h (module 'ndnSIM'): ns3::ndn::ContentObjectException::ContentObjectException(ns3::ndn::ContentObjectException const & arg0) [copy constructor]
5131 cls.add_constructor([param('ns3::ndn::ContentObjectException const &', 'arg0')])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005132 return
5133
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005134def register_Ns3NdnContentStore_methods(root_module, cls):
5135 cls.add_output_stream_operator()
5136 ## ndn-content-store.h (module 'ndnSIM'): ns3::ndn::ContentStore::ContentStore() [constructor]
5137 cls.add_constructor([])
5138 ## ndn-content-store.h (module 'ndnSIM'): ns3::ndn::ContentStore::ContentStore(ns3::ndn::ContentStore const & arg0) [copy constructor]
5139 cls.add_constructor([param('ns3::ndn::ContentStore const &', 'arg0')])
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005140 ## ndn-content-store.h (module 'ndnSIM'): bool ns3::ndn::ContentStore::Add(ns3::Ptr<ns3::ndn::ContentObject const> data) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005141 cls.add_method('Add',
5142 'bool',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005143 [param('ns3::Ptr< ns3::ndn::ContentObject const >', 'data')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005144 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07005145 ## ndn-content-store.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::cs::Entry> ns3::ndn::ContentStore::Begin() [member function]
5146 cls.add_method('Begin',
5147 'ns3::Ptr< ns3::ndn::cs::Entry >',
5148 [],
5149 is_pure_virtual=True, is_virtual=True)
5150 ## ndn-content-store.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::cs::Entry> ns3::ndn::ContentStore::End() [member function]
5151 cls.add_method('End',
5152 'ns3::Ptr< ns3::ndn::cs::Entry >',
5153 [],
5154 is_pure_virtual=True, is_virtual=True)
5155 ## ndn-content-store.h (module 'ndnSIM'): static ns3::Ptr<ns3::ndn::ContentStore> ns3::ndn::ContentStore::GetContentStore(ns3::Ptr<ns3::Object> node) [member function]
5156 cls.add_method('GetContentStore',
5157 'ns3::Ptr< ns3::ndn::ContentStore >',
5158 [param('ns3::Ptr< ns3::Object >', 'node')],
5159 is_static=True)
5160 ## ndn-content-store.h (module 'ndnSIM'): uint32_t ns3::ndn::ContentStore::GetSize() const [member function]
5161 cls.add_method('GetSize',
5162 'uint32_t',
5163 [],
5164 is_pure_virtual=True, is_const=True, is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005165 ## ndn-content-store.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::ContentStore::GetTypeId() [member function]
5166 cls.add_method('GetTypeId',
5167 'ns3::TypeId',
5168 [],
5169 is_static=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005170 ## ndn-content-store.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::ContentObject> ns3::ndn::ContentStore::Lookup(ns3::Ptr<ns3::ndn::Interest const> interest) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005171 cls.add_method('Lookup',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005172 'ns3::Ptr< ns3::ndn::ContentObject >',
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005173 [param('ns3::Ptr< ns3::ndn::Interest const >', 'interest')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005174 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07005175 ## 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]
5176 cls.add_method('Next',
5177 'ns3::Ptr< ns3::ndn::cs::Entry >',
5178 [param('ns3::Ptr< ns3::ndn::cs::Entry >', 'arg0')],
5179 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005180 ## ndn-content-store.h (module 'ndnSIM'): void ns3::ndn::ContentStore::Print(std::ostream & os) const [member function]
5181 cls.add_method('Print',
5182 'void',
5183 [param('std::ostream &', 'os')],
5184 is_pure_virtual=True, is_const=True, is_virtual=True)
5185 return
5186
Alexander Afanasyev76b11572013-07-16 21:49:50 -07005187def register_Ns3NdnExclude_methods(root_module, cls):
5188 cls.add_output_stream_operator()
5189 ## exclude.h (module 'ndnSIM'): ns3::ndn::Exclude::Exclude(ns3::ndn::Exclude const & arg0) [copy constructor]
5190 cls.add_constructor([param('ns3::ndn::Exclude const &', 'arg0')])
5191 ## exclude.h (module 'ndnSIM'): ns3::ndn::Exclude::Exclude() [constructor]
5192 cls.add_constructor([])
5193 ## exclude.h (module 'ndnSIM'): void ns3::ndn::Exclude::appendExclude(ns3::ndn::name::Component const & name, bool any) [member function]
5194 cls.add_method('appendExclude',
5195 'void',
5196 [param('ns3::ndn::name::Component const &', 'name'), param('bool', 'any')])
5197 ## exclude.h (module 'ndnSIM'): std::_Rb_tree_const_iterator<std::pair<ns3::ndn::name::Component const, bool> > ns3::ndn::Exclude::begin() const [member function]
5198 cls.add_method('begin',
5199 'std::_Rb_tree_const_iterator< std::pair< ns3::ndn::name::Component const, bool > >',
5200 [],
5201 is_const=True)
5202 ## exclude.h (module 'ndnSIM'): std::_Rb_tree_const_iterator<std::pair<ns3::ndn::name::Component const, bool> > ns3::ndn::Exclude::end() const [member function]
5203 cls.add_method('end',
5204 'std::_Rb_tree_const_iterator< std::pair< ns3::ndn::name::Component const, bool > >',
5205 [],
5206 is_const=True)
5207 ## exclude.h (module 'ndnSIM'): ns3::ndn::Exclude & ns3::ndn::Exclude::excludeAfter(ns3::ndn::name::Component const & from) [member function]
5208 cls.add_method('excludeAfter',
5209 'ns3::ndn::Exclude &',
5210 [param('ns3::ndn::name::Component const &', 'from')])
5211 ## exclude.h (module 'ndnSIM'): ns3::ndn::Exclude & ns3::ndn::Exclude::excludeBefore(ns3::ndn::name::Component const & to) [member function]
5212 cls.add_method('excludeBefore',
5213 'ns3::ndn::Exclude &',
5214 [param('ns3::ndn::name::Component const &', 'to')])
5215 ## exclude.h (module 'ndnSIM'): ns3::ndn::Exclude & ns3::ndn::Exclude::excludeOne(ns3::ndn::name::Component const & comp) [member function]
5216 cls.add_method('excludeOne',
5217 'ns3::ndn::Exclude &',
5218 [param('ns3::ndn::name::Component const &', 'comp')])
5219 ## exclude.h (module 'ndnSIM'): ns3::ndn::Exclude & ns3::ndn::Exclude::excludeRange(ns3::ndn::name::Component const & from, ns3::ndn::name::Component const & to) [member function]
5220 cls.add_method('excludeRange',
5221 'ns3::ndn::Exclude &',
5222 [param('ns3::ndn::name::Component const &', 'from'), param('ns3::ndn::name::Component const &', 'to')])
5223 ## exclude.h (module 'ndnSIM'): bool ns3::ndn::Exclude::isExcluded(ns3::ndn::name::Component const & comp) const [member function]
5224 cls.add_method('isExcluded',
5225 'bool',
5226 [param('ns3::ndn::name::Component const &', 'comp')],
5227 is_const=True)
5228 ## exclude.h (module 'ndnSIM'): std::reverse_iterator<std::_Rb_tree_const_iterator<std::pair<ns3::ndn::name::Component const, bool> > > ns3::ndn::Exclude::rbegin() const [member function]
5229 cls.add_method('rbegin',
5230 'std::reverse_iterator< std::_Rb_tree_const_iterator< std::pair< ns3::ndn::name::Component const, bool > > >',
5231 [],
5232 is_const=True)
5233 ## exclude.h (module 'ndnSIM'): std::reverse_iterator<std::_Rb_tree_const_iterator<std::pair<ns3::ndn::name::Component const, bool> > > ns3::ndn::Exclude::rend() const [member function]
5234 cls.add_method('rend',
5235 'std::reverse_iterator< std::_Rb_tree_const_iterator< std::pair< ns3::ndn::name::Component const, bool > > >',
5236 [],
5237 is_const=True)
5238 ## exclude.h (module 'ndnSIM'): size_t ns3::ndn::Exclude::size() const [member function]
5239 cls.add_method('size',
5240 'size_t',
5241 [],
5242 is_const=True)
5243 return
5244
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005245def register_Ns3NdnFace_methods(root_module, cls):
5246 cls.add_output_stream_operator()
5247 cls.add_binary_comparison_operator('!=')
5248 cls.add_binary_comparison_operator('<')
5249 cls.add_binary_comparison_operator('==')
5250 ## ndn-face.h (module 'ndnSIM'): ns3::ndn::Face::Face(ns3::Ptr<ns3::Node> node) [constructor]
5251 cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node')])
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005252 ## ndn-face.h (module 'ndnSIM'): uint32_t ns3::ndn::Face::GetFlags() const [member function]
5253 cls.add_method('GetFlags',
5254 'uint32_t',
5255 [],
5256 is_const=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005257 ## ndn-face.h (module 'ndnSIM'): uint32_t ns3::ndn::Face::GetId() const [member function]
5258 cls.add_method('GetId',
5259 'uint32_t',
5260 [],
5261 is_const=True)
5262 ## ndn-face.h (module 'ndnSIM'): uint16_t ns3::ndn::Face::GetMetric() const [member function]
5263 cls.add_method('GetMetric',
5264 'uint16_t',
5265 [],
5266 is_const=True, is_virtual=True)
5267 ## ndn-face.h (module 'ndnSIM'): ns3::Ptr<ns3::Node> ns3::ndn::Face::GetNode() const [member function]
5268 cls.add_method('GetNode',
5269 'ns3::Ptr< ns3::Node >',
5270 [],
5271 is_const=True)
5272 ## ndn-face.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::Face::GetTypeId() [member function]
5273 cls.add_method('GetTypeId',
5274 'ns3::TypeId',
5275 [],
5276 is_static=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005277 ## ndn-face.h (module 'ndnSIM'): bool ns3::ndn::Face::IsUp() const [member function]
5278 cls.add_method('IsUp',
5279 'bool',
5280 [],
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005281 is_const=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005282 ## ndn-face.h (module 'ndnSIM'): std::ostream & ns3::ndn::Face::Print(std::ostream & os) const [member function]
Alexander Afanasyev3073da82012-06-19 14:57:43 -07005283 cls.add_method('Print',
5284 'std::ostream &',
5285 [param('std::ostream &', 'os')],
5286 is_const=True, is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005287 ## ndn-face.h (module 'ndnSIM'): bool ns3::ndn::Face::ReceiveData(ns3::Ptr<ns3::ndn::ContentObject> data) [member function]
5288 cls.add_method('ReceiveData',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005289 'bool',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005290 [param('ns3::Ptr< ns3::ndn::ContentObject >', 'data')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005291 is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005292 ## ndn-face.h (module 'ndnSIM'): bool ns3::ndn::Face::ReceiveInterest(ns3::Ptr<ns3::ndn::Interest> interest) [member function]
5293 cls.add_method('ReceiveInterest',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005294 'bool',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005295 [param('ns3::Ptr< ns3::ndn::Interest >', 'interest')],
5296 is_virtual=True)
5297 ## ndn-face.h (module 'ndnSIM'): void ns3::ndn::Face::RegisterProtocolHandlers(ns3::Callback<void, ns3::Ptr<ns3::ndn::Face>, ns3::Ptr<ns3::ndn::Interest>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> const & interestHandler, ns3::Callback<void, ns3::Ptr<ns3::ndn::Face>, ns3::Ptr<ns3::ndn::ContentObject>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> const & dataHandler) [member function]
5298 cls.add_method('RegisterProtocolHandlers',
5299 'void',
5300 [param('ns3::Callback< void, ns3::Ptr< ns3::ndn::Face >, ns3::Ptr< ns3::ndn::Interest >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty > const &', 'interestHandler'), param('ns3::Callback< void, ns3::Ptr< ns3::ndn::Face >, ns3::Ptr< ns3::ndn::ContentObject >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty > const &', 'dataHandler')],
5301 is_virtual=True)
5302 ## ndn-face.h (module 'ndnSIM'): bool ns3::ndn::Face::SendData(ns3::Ptr<ns3::ndn::ContentObject const> data) [member function]
5303 cls.add_method('SendData',
5304 'bool',
5305 [param('ns3::Ptr< ns3::ndn::ContentObject const >', 'data')],
5306 is_virtual=True)
5307 ## ndn-face.h (module 'ndnSIM'): bool ns3::ndn::Face::SendInterest(ns3::Ptr<ns3::ndn::Interest const> interest) [member function]
5308 cls.add_method('SendInterest',
5309 'bool',
5310 [param('ns3::Ptr< ns3::ndn::Interest const >', 'interest')],
5311 is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005312 ## ndn-face.h (module 'ndnSIM'): void ns3::ndn::Face::SetId(uint32_t id) [member function]
5313 cls.add_method('SetId',
5314 'void',
5315 [param('uint32_t', 'id')])
5316 ## ndn-face.h (module 'ndnSIM'): void ns3::ndn::Face::SetMetric(uint16_t metric) [member function]
5317 cls.add_method('SetMetric',
5318 'void',
5319 [param('uint16_t', 'metric')],
5320 is_virtual=True)
5321 ## ndn-face.h (module 'ndnSIM'): void ns3::ndn::Face::SetUp(bool up=true) [member function]
5322 cls.add_method('SetUp',
5323 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005324 [param('bool', 'up', default_value='true')])
5325 ## ndn-face.h (module 'ndnSIM'): void ns3::ndn::Face::UnRegisterProtocolHandlers() [member function]
5326 cls.add_method('UnRegisterProtocolHandlers',
5327 'void',
5328 [],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005329 is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005330 ## ndn-face.h (module 'ndnSIM'): bool ns3::ndn::Face::Receive(ns3::Ptr<ns3::Packet const> p) [member function]
5331 cls.add_method('Receive',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005332 'bool',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005333 [param('ns3::Ptr< ns3::Packet const >', 'p')],
5334 visibility='protected', is_virtual=True)
5335 ## ndn-face.h (module 'ndnSIM'): bool ns3::ndn::Face::Send(ns3::Ptr<ns3::Packet> packet) [member function]
5336 cls.add_method('Send',
5337 'bool',
5338 [param('ns3::Ptr< ns3::Packet >', 'packet')],
5339 visibility='protected', is_virtual=True)
5340 ## ndn-face.h (module 'ndnSIM'): void ns3::ndn::Face::SetFlags(uint32_t flags) [member function]
5341 cls.add_method('SetFlags',
5342 'void',
5343 [param('uint32_t', 'flags')],
5344 visibility='protected')
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005345 return
5346
5347def register_Ns3NdnFaceContainer_methods(root_module, cls):
5348 ## ndn-face-container.h (module 'ndnSIM'): ns3::ndn::FaceContainer::FaceContainer() [constructor]
5349 cls.add_constructor([])
5350 ## ndn-face-container.h (module 'ndnSIM'): ns3::ndn::FaceContainer::FaceContainer(ns3::ndn::FaceContainer const & other) [copy constructor]
5351 cls.add_constructor([param('ns3::ndn::FaceContainer const &', 'other')])
5352 ## ndn-face-container.h (module 'ndnSIM'): void ns3::ndn::FaceContainer::Add(ns3::Ptr<ns3::ndn::Face> const & face) [member function]
5353 cls.add_method('Add',
5354 'void',
5355 [param('ns3::Ptr< ns3::ndn::Face > const &', 'face')])
5356 ## ndn-face-container.h (module 'ndnSIM'): void ns3::ndn::FaceContainer::AddAll(ns3::Ptr<ns3::ndn::FaceContainer> other) [member function]
5357 cls.add_method('AddAll',
5358 'void',
5359 [param('ns3::Ptr< ns3::ndn::FaceContainer >', 'other')])
5360 ## ndn-face-container.h (module 'ndnSIM'): void ns3::ndn::FaceContainer::AddAll(ns3::ndn::FaceContainer const & other) [member function]
5361 cls.add_method('AddAll',
5362 'void',
5363 [param('ns3::ndn::FaceContainer const &', 'other')])
5364 ## 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]
5365 cls.add_method('Begin',
5366 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::ndn::Face > const, std::vector< ns3::Ptr< ns3::ndn::Face > > >',
5367 [],
5368 is_const=True)
5369 ## 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]
5370 cls.add_method('End',
5371 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::ndn::Face > const, std::vector< ns3::Ptr< ns3::ndn::Face > > >',
5372 [],
5373 is_const=True)
5374 ## 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]
5375 cls.add_method('Get',
5376 'ns3::Ptr< ns3::ndn::Face >',
5377 [param('__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::ndn::Face > const, std::vector< ns3::Ptr< ns3::ndn::Face > > >', 'i')],
5378 is_const=True)
5379 ## ndn-face-container.h (module 'ndnSIM'): uint32_t ns3::ndn::FaceContainer::GetN() const [member function]
5380 cls.add_method('GetN',
5381 'uint32_t',
5382 [],
5383 is_const=True)
5384 return
5385
5386def register_Ns3NdnFib_methods(root_module, cls):
5387 cls.add_output_stream_operator()
5388 ## ndn-fib.h (module 'ndnSIM'): ns3::ndn::Fib::Fib() [constructor]
5389 cls.add_constructor([])
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005390 ## 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 -07005391 cls.add_method('Add',
5392 'ns3::Ptr< ns3::ndn::fib::Entry >',
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005393 [param('ns3::ndn::Name const &', 'prefix'), param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('int32_t', 'metric')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005394 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005395 ## 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 -07005396 cls.add_method('Add',
5397 'ns3::Ptr< ns3::ndn::fib::Entry >',
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005398 [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 -07005399 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005400 ## 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 -07005401 cls.add_method('Begin',
5402 'ns3::Ptr< ns3::ndn::fib::Entry const >',
5403 [],
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005404 is_pure_virtual=True, is_const=True, is_virtual=True)
5405 ## ndn-fib.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::fib::Entry> ns3::ndn::Fib::Begin() [member function]
5406 cls.add_method('Begin',
5407 'ns3::Ptr< ns3::ndn::fib::Entry >',
5408 [],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005409 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005410 ## 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 -07005411 cls.add_method('End',
5412 'ns3::Ptr< ns3::ndn::fib::Entry const >',
5413 [],
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005414 is_pure_virtual=True, is_const=True, is_virtual=True)
5415 ## ndn-fib.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::fib::Entry> ns3::ndn::Fib::End() [member function]
5416 cls.add_method('End',
5417 'ns3::Ptr< ns3::ndn::fib::Entry >',
5418 [],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005419 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyeve5a8b5a2013-03-15 15:15:26 -07005420 ## ndn-fib.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::fib::Entry> ns3::ndn::Fib::Find(ns3::ndn::Name const & prefix) [member function]
5421 cls.add_method('Find',
5422 'ns3::Ptr< ns3::ndn::fib::Entry >',
5423 [param('ns3::ndn::Name const &', 'prefix')],
5424 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005425 ## ndn-fib.h (module 'ndnSIM'): static ns3::Ptr<ns3::ndn::Fib> ns3::ndn::Fib::GetFib(ns3::Ptr<ns3::Object> node) [member function]
5426 cls.add_method('GetFib',
5427 'ns3::Ptr< ns3::ndn::Fib >',
5428 [param('ns3::Ptr< ns3::Object >', 'node')],
5429 is_static=True)
5430 ## ndn-fib.h (module 'ndnSIM'): uint32_t ns3::ndn::Fib::GetSize() const [member function]
5431 cls.add_method('GetSize',
5432 'uint32_t',
5433 [],
5434 is_pure_virtual=True, is_const=True, is_virtual=True)
5435 ## ndn-fib.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::Fib::GetTypeId() [member function]
5436 cls.add_method('GetTypeId',
5437 'ns3::TypeId',
5438 [],
5439 is_static=True)
5440 ## ndn-fib.h (module 'ndnSIM'): void ns3::ndn::Fib::InvalidateAll() [member function]
5441 cls.add_method('InvalidateAll',
5442 'void',
5443 [],
5444 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005445 ## ndn-fib.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::fib::Entry> ns3::ndn::Fib::LongestPrefixMatch(ns3::ndn::Interest const & interest) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005446 cls.add_method('LongestPrefixMatch',
5447 'ns3::Ptr< ns3::ndn::fib::Entry >',
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005448 [param('ns3::ndn::Interest const &', 'interest')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005449 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005450 ## 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 -07005451 cls.add_method('Next',
5452 'ns3::Ptr< ns3::ndn::fib::Entry const >',
5453 [param('ns3::Ptr< ns3::ndn::fib::Entry const >', 'arg0')],
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005454 is_pure_virtual=True, is_const=True, is_virtual=True)
5455 ## ndn-fib.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::fib::Entry> ns3::ndn::Fib::Next(ns3::Ptr<ns3::ndn::fib::Entry> arg0) [member function]
5456 cls.add_method('Next',
5457 'ns3::Ptr< ns3::ndn::fib::Entry >',
5458 [param('ns3::Ptr< ns3::ndn::fib::Entry >', 'arg0')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005459 is_pure_virtual=True, is_virtual=True)
5460 ## ndn-fib.h (module 'ndnSIM'): void ns3::ndn::Fib::Print(std::ostream & os) const [member function]
5461 cls.add_method('Print',
5462 'void',
5463 [param('std::ostream &', 'os')],
5464 is_pure_virtual=True, is_const=True, is_virtual=True)
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005465 ## 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 -07005466 cls.add_method('Remove',
5467 'void',
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005468 [param('ns3::Ptr< ns3::ndn::Name const > const &', 'prefix')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005469 is_pure_virtual=True, is_virtual=True)
5470 ## ndn-fib.h (module 'ndnSIM'): void ns3::ndn::Fib::RemoveFromAll(ns3::Ptr<ns3::ndn::Face> face) [member function]
5471 cls.add_method('RemoveFromAll',
5472 'void',
5473 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
5474 is_pure_virtual=True, is_virtual=True)
5475 return
5476
5477def register_Ns3NdnForwardingStrategy_methods(root_module, cls):
5478 ## ndn-forwarding-strategy.h (module 'ndnSIM'): ns3::ndn::ForwardingStrategy::ForwardingStrategy(ns3::ndn::ForwardingStrategy const & arg0) [copy constructor]
5479 cls.add_constructor([param('ns3::ndn::ForwardingStrategy const &', 'arg0')])
5480 ## ndn-forwarding-strategy.h (module 'ndnSIM'): ns3::ndn::ForwardingStrategy::ForwardingStrategy() [constructor]
5481 cls.add_constructor([])
Alexander Afanasyevf5c07742012-10-31 13:13:05 -07005482 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::AddFace(ns3::Ptr<ns3::ndn::Face> face) [member function]
5483 cls.add_method('AddFace',
5484 'void',
5485 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
5486 is_virtual=True)
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005487 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::DidAddFibEntry(ns3::Ptr<ns3::ndn::fib::Entry> fibEntry) [member function]
5488 cls.add_method('DidAddFibEntry',
5489 'void',
5490 [param('ns3::Ptr< ns3::ndn::fib::Entry >', 'fibEntry')],
5491 is_virtual=True)
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005492 ## ndn-forwarding-strategy.h (module 'ndnSIM'): static std::string ns3::ndn::ForwardingStrategy::GetLogName() [member function]
5493 cls.add_method('GetLogName',
5494 'std::string',
5495 [],
5496 is_static=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005497 ## ndn-forwarding-strategy.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::ForwardingStrategy::GetTypeId() [member function]
5498 cls.add_method('GetTypeId',
5499 'ns3::TypeId',
5500 [],
5501 is_static=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005502 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::OnData(ns3::Ptr<ns3::ndn::Face> face, ns3::Ptr<ns3::ndn::ContentObject> data) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005503 cls.add_method('OnData',
5504 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005505 [param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('ns3::Ptr< ns3::ndn::ContentObject >', 'data')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005506 is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005507 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::OnInterest(ns3::Ptr<ns3::ndn::Face> face, ns3::Ptr<ns3::ndn::Interest> interest) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005508 cls.add_method('OnInterest',
5509 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005510 [param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('ns3::Ptr< ns3::ndn::Interest >', 'interest')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005511 is_virtual=True)
5512 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::RemoveFace(ns3::Ptr<ns3::ndn::Face> face) [member function]
5513 cls.add_method('RemoveFace',
5514 'void',
5515 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
5516 is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005517 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::WillEraseTimedOutPendingInterest(ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
5518 cls.add_method('WillEraseTimedOutPendingInterest',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005519 'void',
5520 [param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
5521 is_virtual=True)
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005522 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::WillRemoveFibEntry(ns3::Ptr<ns3::ndn::fib::Entry> fibEntry) [member function]
5523 cls.add_method('WillRemoveFibEntry',
5524 'void',
5525 [param('ns3::Ptr< ns3::ndn::fib::Entry >', 'fibEntry')],
5526 is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005527 ## ndn-forwarding-strategy.h (module 'ndnSIM'): bool ns3::ndn::ForwardingStrategy::CanSendOutInterest(ns3::Ptr<ns3::ndn::Face> inFace, ns3::Ptr<ns3::ndn::Face> outFace, ns3::Ptr<ns3::ndn::Interest const> interest, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08005528 cls.add_method('CanSendOutInterest',
5529 'bool',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005530 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::Face >', 'outFace'), param('ns3::Ptr< ns3::ndn::Interest const >', 'interest'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08005531 visibility='protected', is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005532 ## ndn-forwarding-strategy.h (module 'ndnSIM'): bool ns3::ndn::ForwardingStrategy::DetectRetransmittedInterest(ns3::Ptr<ns3::ndn::Face> inFace, ns3::Ptr<ns3::ndn::Interest const> interest, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005533 cls.add_method('DetectRetransmittedInterest',
5534 'bool',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005535 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::Interest const >', 'interest'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005536 visibility='protected', is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005537 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::DidCreatePitEntry(ns3::Ptr<ns3::ndn::Face> inFace, ns3::Ptr<ns3::ndn::Interest const> interest, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005538 cls.add_method('DidCreatePitEntry',
5539 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005540 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::Interest const >', 'interest'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005541 visibility='protected', is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005542 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::DidExhaustForwardingOptions(ns3::Ptr<ns3::ndn::Face> inFace, ns3::Ptr<ns3::ndn::Interest const> interest, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005543 cls.add_method('DidExhaustForwardingOptions',
5544 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005545 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::Interest const >', 'interest'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005546 visibility='protected', is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005547 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::DidForwardSimilarInterest(ns3::Ptr<ns3::ndn::Face> inFace, ns3::Ptr<ns3::ndn::Interest const> interest, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07005548 cls.add_method('DidForwardSimilarInterest',
5549 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005550 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::Interest const >', 'interest'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07005551 visibility='protected', is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005552 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::DidReceiveDuplicateInterest(ns3::Ptr<ns3::ndn::Face> inFace, ns3::Ptr<ns3::ndn::Interest const> interest, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005553 cls.add_method('DidReceiveDuplicateInterest',
5554 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005555 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::Interest const >', 'interest'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005556 visibility='protected', is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005557 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::DidReceiveSolicitedData(ns3::Ptr<ns3::ndn::Face> inFace, ns3::Ptr<ns3::ndn::ContentObject const> data, bool didCreateCacheEntry) [member function]
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005558 cls.add_method('DidReceiveSolicitedData',
5559 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005560 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::ContentObject const >', 'data'), param('bool', 'didCreateCacheEntry')],
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08005561 visibility='protected', is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005562 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::DidReceiveUnsolicitedData(ns3::Ptr<ns3::ndn::Face> inFace, ns3::Ptr<ns3::ndn::ContentObject const> data, bool didCreateCacheEntry) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005563 cls.add_method('DidReceiveUnsolicitedData',
5564 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005565 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::ContentObject const >', 'data'), param('bool', 'didCreateCacheEntry')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005566 visibility='protected', is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005567 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::DidSendOutData(ns3::Ptr<ns3::ndn::Face> inFace, ns3::Ptr<ns3::ndn::Face> outFace, ns3::Ptr<ns3::ndn::ContentObject const> data, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005568 cls.add_method('DidSendOutData',
5569 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005570 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::Face >', 'outFace'), param('ns3::Ptr< ns3::ndn::ContentObject const >', 'data'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005571 visibility='protected', is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005572 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::DidSendOutInterest(ns3::Ptr<ns3::ndn::Face> inFace, ns3::Ptr<ns3::ndn::Face> outFace, ns3::Ptr<ns3::ndn::Interest const> interest, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005573 cls.add_method('DidSendOutInterest',
5574 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005575 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::Face >', 'outFace'), param('ns3::Ptr< ns3::ndn::Interest const >', 'interest'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005576 visibility='protected', is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005577 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::DidSuppressSimilarInterest(ns3::Ptr<ns3::ndn::Face> inFace, ns3::Ptr<ns3::ndn::Interest const> interest, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07005578 cls.add_method('DidSuppressSimilarInterest',
5579 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005580 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::Interest const >', 'interest'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07005581 visibility='protected', is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005582 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::DoDispose() [member function]
5583 cls.add_method('DoDispose',
5584 'void',
5585 [],
5586 visibility='protected', is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005587 ## ndn-forwarding-strategy.h (module 'ndnSIM'): bool ns3::ndn::ForwardingStrategy::DoPropagateInterest(ns3::Ptr<ns3::ndn::Face> inFace, ns3::Ptr<ns3::ndn::Interest const> interest, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005588 cls.add_method('DoPropagateInterest',
5589 'bool',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005590 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::Interest const >', 'interest'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005591 is_pure_virtual=True, visibility='protected', is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005592 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::FailedToCreatePitEntry(ns3::Ptr<ns3::ndn::Face> inFace, ns3::Ptr<ns3::ndn::Interest const> interest) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005593 cls.add_method('FailedToCreatePitEntry',
5594 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005595 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::Interest const >', 'interest')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005596 visibility='protected', is_virtual=True)
5597 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::NotifyNewAggregate() [member function]
5598 cls.add_method('NotifyNewAggregate',
5599 'void',
5600 [],
5601 visibility='protected', is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005602 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::PropagateInterest(ns3::Ptr<ns3::ndn::Face> inFace, ns3::Ptr<ns3::ndn::Interest const> interest, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005603 cls.add_method('PropagateInterest',
5604 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005605 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::Interest const >', 'interest'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005606 visibility='protected', is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005607 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::SatisfyPendingInterest(ns3::Ptr<ns3::ndn::Face> inFace, ns3::Ptr<ns3::ndn::ContentObject const> data, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005608 cls.add_method('SatisfyPendingInterest',
5609 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005610 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::ContentObject const >', 'data'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005611 visibility='protected', is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005612 ## ndn-forwarding-strategy.h (module 'ndnSIM'): bool ns3::ndn::ForwardingStrategy::ShouldSuppressIncomingInterest(ns3::Ptr<ns3::ndn::Face> inFace, ns3::Ptr<ns3::ndn::Interest const> interest, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005613 cls.add_method('ShouldSuppressIncomingInterest',
5614 'bool',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005615 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::Interest const >', 'interest'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005616 visibility='protected', is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005617 ## ndn-forwarding-strategy.h (module 'ndnSIM'): bool ns3::ndn::ForwardingStrategy::TrySendOutInterest(ns3::Ptr<ns3::ndn::Face> inFace, ns3::Ptr<ns3::ndn::Face> outFace, ns3::Ptr<ns3::ndn::Interest const> interest, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005618 cls.add_method('TrySendOutInterest',
5619 'bool',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005620 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::Face >', 'outFace'), param('ns3::Ptr< ns3::ndn::Interest const >', 'interest'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005621 visibility='protected', is_virtual=True)
5622 ## 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 -07005623 cls.add_method('WillSatisfyPendingInterest',
5624 'void',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005625 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005626 visibility='protected', is_virtual=True)
5627 return
5628
5629def register_Ns3NdnGlobalRoutingHelper_methods(root_module, cls):
5630 ## ndn-global-routing-helper.h (module 'ndnSIM'): ns3::ndn::GlobalRoutingHelper::GlobalRoutingHelper() [constructor]
5631 cls.add_constructor([])
5632 ## ndn-global-routing-helper.h (module 'ndnSIM'): ns3::ndn::GlobalRoutingHelper::GlobalRoutingHelper(ns3::ndn::GlobalRoutingHelper const & arg0) [copy constructor]
5633 cls.add_constructor([param('ns3::ndn::GlobalRoutingHelper const &', 'arg0')])
5634 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::AddOrigin(std::string const & prefix, ns3::Ptr<ns3::Node> node) [member function]
5635 cls.add_method('AddOrigin',
5636 'void',
5637 [param('std::string const &', 'prefix'), param('ns3::Ptr< ns3::Node >', 'node')])
5638 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::AddOrigin(std::string const & prefix, std::string const & nodeName) [member function]
5639 cls.add_method('AddOrigin',
5640 'void',
5641 [param('std::string const &', 'prefix'), param('std::string const &', 'nodeName')])
5642 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::AddOrigins(std::string const & prefix, ns3::NodeContainer const & nodes) [member function]
5643 cls.add_method('AddOrigins',
5644 'void',
5645 [param('std::string const &', 'prefix'), param('ns3::NodeContainer const &', 'nodes')])
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005646 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::AddOriginsForAll() [member function]
5647 cls.add_method('AddOriginsForAll',
5648 'void',
5649 [])
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -07005650 ## ndn-global-routing-helper.h (module 'ndnSIM'): static void ns3::ndn::GlobalRoutingHelper::CalculateAllPossibleRoutes() [member function]
5651 cls.add_method('CalculateAllPossibleRoutes',
5652 'void',
5653 [],
5654 is_static=True)
5655 ## ndn-global-routing-helper.h (module 'ndnSIM'): static void ns3::ndn::GlobalRoutingHelper::CalculateRoutes() [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005656 cls.add_method('CalculateRoutes',
5657 'void',
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -07005658 [],
5659 is_static=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005660 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::Install(ns3::Ptr<ns3::Node> node) [member function]
5661 cls.add_method('Install',
5662 'void',
5663 [param('ns3::Ptr< ns3::Node >', 'node')])
5664 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::Install(ns3::NodeContainer const & nodes) [member function]
5665 cls.add_method('Install',
5666 'void',
5667 [param('ns3::NodeContainer const &', 'nodes')])
5668 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::InstallAll() [member function]
5669 cls.add_method('InstallAll',
5670 'void',
5671 [])
5672 return
5673
5674def register_Ns3NdnHeaderHelper_methods(root_module, cls):
5675 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::HeaderHelper::HeaderHelper() [constructor]
5676 cls.add_constructor([])
5677 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::HeaderHelper::HeaderHelper(ns3::ndn::HeaderHelper const & arg0) [copy constructor]
5678 cls.add_constructor([param('ns3::ndn::HeaderHelper const &', 'arg0')])
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005679 ## ndn-header-helper.h (module 'ndnSIM'): static ns3::ndn::HeaderHelper::Type ns3::ndn::HeaderHelper::GetNdnHeaderType(ns3::Ptr<ns3::Packet const> packet) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005680 cls.add_method('GetNdnHeaderType',
5681 'ns3::ndn::HeaderHelper::Type',
5682 [param('ns3::Ptr< ns3::Packet const >', 'packet')],
5683 is_static=True)
5684 return
5685
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005686def register_Ns3NdnInterest_methods(root_module, cls):
Alexander Afanasyev76b11572013-07-16 21:49:50 -07005687 cls.add_output_stream_operator()
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005688 ## ndn-interest.h (module 'ndnSIM'): ns3::ndn::Interest::Interest(ns3::Ptr<ns3::Packet> payload=ns3::Create( )) [constructor]
5689 cls.add_constructor([param('ns3::Ptr< ns3::Packet >', 'payload', default_value='ns3::Create( )')])
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005690 ## ndn-interest.h (module 'ndnSIM'): ns3::ndn::Interest::Interest(ns3::ndn::Interest const & interest) [copy constructor]
5691 cls.add_constructor([param('ns3::ndn::Interest const &', 'interest')])
Alexander Afanasyev76b11572013-07-16 21:49:50 -07005692 ## ndn-interest.h (module 'ndnSIM'): ns3::Time ns3::ndn::Interest::GetInterestLifetime() const [member function]
5693 cls.add_method('GetInterestLifetime',
5694 'ns3::Time',
5695 [],
5696 is_const=True)
5697 ## ndn-interest.h (module 'ndnSIM'): uint8_t ns3::ndn::Interest::GetNack() const [member function]
5698 cls.add_method('GetNack',
5699 'uint8_t',
5700 [],
5701 is_const=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005702 ## ndn-interest.h (module 'ndnSIM'): ns3::ndn::Name const & ns3::ndn::Interest::GetName() const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005703 cls.add_method('GetName',
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005704 'ns3::ndn::Name const &',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005705 [],
5706 is_const=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005707 ## ndn-interest.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::Name const> ns3::ndn::Interest::GetNamePtr() const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005708 cls.add_method('GetNamePtr',
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005709 'ns3::Ptr< ns3::ndn::Name const >',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005710 [],
5711 is_const=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005712 ## ndn-interest.h (module 'ndnSIM'): uint32_t ns3::ndn::Interest::GetNonce() const [member function]
5713 cls.add_method('GetNonce',
5714 'uint32_t',
5715 [],
5716 is_const=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005717 ## ndn-interest.h (module 'ndnSIM'): ns3::Ptr<ns3::Packet const> ns3::ndn::Interest::GetPayload() const [member function]
5718 cls.add_method('GetPayload',
5719 'ns3::Ptr< ns3::Packet const >',
5720 [],
5721 is_const=True)
Alexander Afanasyev76b11572013-07-16 21:49:50 -07005722 ## ndn-interest.h (module 'ndnSIM'): int8_t ns3::ndn::Interest::GetScope() const [member function]
5723 cls.add_method('GetScope',
5724 'int8_t',
5725 [],
5726 is_const=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005727 ## ndn-interest.h (module 'ndnSIM'): ns3::Ptr<ns3::Packet const> ns3::ndn::Interest::GetWire() const [member function]
5728 cls.add_method('GetWire',
5729 'ns3::Ptr< ns3::Packet const >',
5730 [],
5731 is_const=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005732 ## ndn-interest.h (module 'ndnSIM'): void ns3::ndn::Interest::Print(std::ostream & os) const [member function]
5733 cls.add_method('Print',
5734 'void',
5735 [param('std::ostream &', 'os')],
5736 is_const=True)
Alexander Afanasyev76b11572013-07-16 21:49:50 -07005737 ## ndn-interest.h (module 'ndnSIM'): void ns3::ndn::Interest::SetInterestLifetime(ns3::Time time) [member function]
5738 cls.add_method('SetInterestLifetime',
5739 'void',
5740 [param('ns3::Time', 'time')])
5741 ## ndn-interest.h (module 'ndnSIM'): void ns3::ndn::Interest::SetNack(uint8_t nackType) [member function]
5742 cls.add_method('SetNack',
5743 'void',
5744 [param('uint8_t', 'nackType')])
5745 ## ndn-interest.h (module 'ndnSIM'): void ns3::ndn::Interest::SetName(ns3::Ptr<ns3::ndn::Name> name) [member function]
5746 cls.add_method('SetName',
5747 'void',
5748 [param('ns3::Ptr< ns3::ndn::Name >', 'name')])
5749 ## ndn-interest.h (module 'ndnSIM'): void ns3::ndn::Interest::SetName(ns3::ndn::Name const & name) [member function]
5750 cls.add_method('SetName',
5751 'void',
5752 [param('ns3::ndn::Name const &', 'name')])
5753 ## ndn-interest.h (module 'ndnSIM'): void ns3::ndn::Interest::SetNonce(uint32_t nonce) [member function]
5754 cls.add_method('SetNonce',
5755 'void',
5756 [param('uint32_t', 'nonce')])
5757 ## ndn-interest.h (module 'ndnSIM'): void ns3::ndn::Interest::SetPayload(ns3::Ptr<ns3::Packet> payload) [member function]
5758 cls.add_method('SetPayload',
5759 'void',
5760 [param('ns3::Ptr< ns3::Packet >', 'payload')])
5761 ## ndn-interest.h (module 'ndnSIM'): void ns3::ndn::Interest::SetScope(int8_t scope) [member function]
5762 cls.add_method('SetScope',
5763 'void',
5764 [param('int8_t', 'scope')])
5765 ## ndn-interest.h (module 'ndnSIM'): void ns3::ndn::Interest::SetWire(ns3::Ptr<ns3::Packet const> packet) const [member function]
5766 cls.add_method('SetWire',
5767 'void',
5768 [param('ns3::Ptr< ns3::Packet const >', 'packet')],
5769 is_const=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005770 return
5771
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005772def register_Ns3NdnInterestException_methods(root_module, cls):
5773 ## ndn-interest.h (module 'ndnSIM'): ns3::ndn::InterestException::InterestException() [constructor]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005774 cls.add_constructor([])
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005775 ## ndn-interest.h (module 'ndnSIM'): ns3::ndn::InterestException::InterestException(ns3::ndn::InterestException const & arg0) [copy constructor]
5776 cls.add_constructor([param('ns3::ndn::InterestException const &', 'arg0')])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005777 return
5778
5779def register_Ns3NdnL3Protocol_methods(root_module, cls):
5780 ## ndn-l3-protocol.h (module 'ndnSIM'): ns3::ndn::L3Protocol::ETHERNET_FRAME_TYPE [variable]
5781 cls.add_static_attribute('ETHERNET_FRAME_TYPE', 'uint16_t const', is_const=True)
5782 ## ndn-l3-protocol.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::L3Protocol::GetTypeId() [member function]
5783 cls.add_method('GetTypeId',
5784 'ns3::TypeId',
5785 [],
5786 is_static=True)
5787 ## ndn-l3-protocol.h (module 'ndnSIM'): ns3::ndn::L3Protocol::L3Protocol() [constructor]
5788 cls.add_constructor([])
5789 ## ndn-l3-protocol.h (module 'ndnSIM'): uint32_t ns3::ndn::L3Protocol::AddFace(ns3::Ptr<ns3::ndn::Face> const & face) [member function]
5790 cls.add_method('AddFace',
5791 'uint32_t',
5792 [param('ns3::Ptr< ns3::ndn::Face > const &', 'face')],
5793 is_virtual=True)
5794 ## ndn-l3-protocol.h (module 'ndnSIM'): uint32_t ns3::ndn::L3Protocol::GetNFaces() const [member function]
5795 cls.add_method('GetNFaces',
5796 'uint32_t',
5797 [],
5798 is_const=True, is_virtual=True)
5799 ## ndn-l3-protocol.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::Face> ns3::ndn::L3Protocol::GetFace(uint32_t face) const [member function]
5800 cls.add_method('GetFace',
5801 'ns3::Ptr< ns3::ndn::Face >',
5802 [param('uint32_t', 'face')],
5803 is_const=True, is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005804 ## ndn-l3-protocol.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::Face> ns3::ndn::L3Protocol::GetFaceById(uint32_t face) const [member function]
5805 cls.add_method('GetFaceById',
5806 'ns3::Ptr< ns3::ndn::Face >',
5807 [param('uint32_t', 'face')],
5808 is_const=True, is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005809 ## ndn-l3-protocol.h (module 'ndnSIM'): void ns3::ndn::L3Protocol::RemoveFace(ns3::Ptr<ns3::ndn::Face> face) [member function]
5810 cls.add_method('RemoveFace',
5811 'void',
5812 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
5813 is_virtual=True)
5814 ## ndn-l3-protocol.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::Face> ns3::ndn::L3Protocol::GetFaceByNetDevice(ns3::Ptr<ns3::NetDevice> netDevice) const [member function]
5815 cls.add_method('GetFaceByNetDevice',
5816 'ns3::Ptr< ns3::ndn::Face >',
5817 [param('ns3::Ptr< ns3::NetDevice >', 'netDevice')],
5818 is_const=True, is_virtual=True)
5819 ## ndn-l3-protocol.h (module 'ndnSIM'): void ns3::ndn::L3Protocol::DoDispose() [member function]
5820 cls.add_method('DoDispose',
5821 'void',
5822 [],
5823 visibility='protected', is_virtual=True)
5824 ## ndn-l3-protocol.h (module 'ndnSIM'): void ns3::ndn::L3Protocol::NotifyNewAggregate() [member function]
5825 cls.add_method('NotifyNewAggregate',
5826 'void',
5827 [],
5828 visibility='protected', is_virtual=True)
5829 return
5830
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005831def register_Ns3NdnLimits_methods(root_module, cls):
5832 ## ndn-limits.h (module 'ndnSIM'): ns3::ndn::Limits::Limits(ns3::ndn::Limits const & arg0) [copy constructor]
5833 cls.add_constructor([param('ns3::ndn::Limits const &', 'arg0')])
5834 ## ndn-limits.h (module 'ndnSIM'): ns3::ndn::Limits::Limits() [constructor]
5835 cls.add_constructor([])
Alexander Afanasyev7e4235a2012-10-31 16:58:44 -07005836 ## ndn-limits.h (module 'ndnSIM'): void ns3::ndn::Limits::BorrowLimit() [member function]
5837 cls.add_method('BorrowLimit',
5838 'void',
5839 [],
5840 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevf5c07742012-10-31 13:13:05 -07005841 ## ndn-limits.h (module 'ndnSIM'): double ns3::ndn::Limits::GetCurrentLimit() const [member function]
5842 cls.add_method('GetCurrentLimit',
5843 'double',
5844 [],
Alexander Afanasyev7e4235a2012-10-31 16:58:44 -07005845 is_pure_virtual=True, is_const=True, is_virtual=True)
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08005846 ## ndn-limits.h (module 'ndnSIM'): double ns3::ndn::Limits::GetCurrentLimitRate() const [member function]
5847 cls.add_method('GetCurrentLimitRate',
5848 'double',
5849 [],
5850 is_pure_virtual=True, is_const=True, is_virtual=True)
5851 ## ndn-limits.h (module 'ndnSIM'): double ns3::ndn::Limits::GetLinkDelay() const [member function]
5852 cls.add_method('GetLinkDelay',
5853 'double',
5854 [],
5855 is_const=True, is_virtual=True)
Alexander Afanasyev7e4235a2012-10-31 16:58:44 -07005856 ## ndn-limits.h (module 'ndnSIM'): double ns3::ndn::Limits::GetMaxDelay() const [member function]
5857 cls.add_method('GetMaxDelay',
5858 'double',
5859 [],
5860 is_const=True, is_virtual=True)
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08005861 ## ndn-limits.h (module 'ndnSIM'): double ns3::ndn::Limits::GetMaxLimit() const [member function]
5862 cls.add_method('GetMaxLimit',
5863 'double',
5864 [],
5865 is_pure_virtual=True, is_const=True, is_virtual=True)
Alexander Afanasyev7e4235a2012-10-31 16:58:44 -07005866 ## ndn-limits.h (module 'ndnSIM'): double ns3::ndn::Limits::GetMaxRate() const [member function]
5867 cls.add_method('GetMaxRate',
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07005868 'double',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005869 [],
Alexander Afanasyevf5c07742012-10-31 13:13:05 -07005870 is_const=True, is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005871 ## ndn-limits.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::Limits::GetTypeId() [member function]
5872 cls.add_method('GetTypeId',
5873 'ns3::TypeId',
5874 [],
5875 is_static=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005876 ## ndn-limits.h (module 'ndnSIM'): bool ns3::ndn::Limits::IsBelowLimit() [member function]
5877 cls.add_method('IsBelowLimit',
5878 'bool',
Alexander Afanasyevf5c07742012-10-31 13:13:05 -07005879 [],
5880 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005881 ## ndn-limits.h (module 'ndnSIM'): bool ns3::ndn::Limits::IsEnabled() const [member function]
5882 cls.add_method('IsEnabled',
5883 'bool',
5884 [],
Alexander Afanasyevf5c07742012-10-31 13:13:05 -07005885 is_const=True, is_virtual=True)
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08005886 ## 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]
5887 cls.add_method('RegisterAvailableSlotCallback',
5888 'void',
5889 [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 -07005890 ## ndn-limits.h (module 'ndnSIM'): void ns3::ndn::Limits::ReturnLimit() [member function]
5891 cls.add_method('ReturnLimit',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005892 'void',
Alexander Afanasyev7e4235a2012-10-31 16:58:44 -07005893 [],
5894 is_pure_virtual=True, is_virtual=True)
5895 ## ndn-limits.h (module 'ndnSIM'): void ns3::ndn::Limits::SetLimits(double rate, double delay) [member function]
5896 cls.add_method('SetLimits',
5897 'void',
5898 [param('double', 'rate'), param('double', 'delay')],
Alexander Afanasyevf5c07742012-10-31 13:13:05 -07005899 is_virtual=True)
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08005900 ## ndn-limits.h (module 'ndnSIM'): void ns3::ndn::Limits::SetLinkDelay(double delay) [member function]
5901 cls.add_method('SetLinkDelay',
5902 'void',
5903 [param('double', 'delay')],
5904 is_virtual=True)
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07005905 ## ndn-limits.h (module 'ndnSIM'): void ns3::ndn::Limits::UpdateCurrentLimit(double limit) [member function]
5906 cls.add_method('UpdateCurrentLimit',
5907 'void',
Alexander Afanasyev7e4235a2012-10-31 16:58:44 -07005908 [param('double', 'limit')],
5909 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08005910 ## ndn-limits.h (module 'ndnSIM'): void ns3::ndn::Limits::FireAvailableSlotCallback() [member function]
5911 cls.add_method('FireAvailableSlotCallback',
5912 'void',
5913 [],
5914 visibility='protected')
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005915 return
5916
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005917def register_Ns3NdnName_methods(root_module, cls):
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005918 cls.add_output_stream_operator()
Alexander Afanasyev76b11572013-07-16 21:49:50 -07005919 cls.add_binary_comparison_operator('!=')
5920 cls.add_binary_numeric_operator('+', root_module['ns3::ndn::Name'], root_module['ns3::ndn::Name'], param('ns3::ndn::Name const &', 'right'))
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005921 cls.add_binary_comparison_operator('<')
Alexander Afanasyev76b11572013-07-16 21:49:50 -07005922 cls.add_binary_comparison_operator('<=')
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005923 cls.add_binary_comparison_operator('==')
Alexander Afanasyev76b11572013-07-16 21:49:50 -07005924 cls.add_binary_comparison_operator('>')
5925 cls.add_binary_comparison_operator('>=')
5926 ## name.h (module 'ndnSIM'): ns3::ndn::Name::Name() [constructor]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005927 cls.add_constructor([])
Alexander Afanasyev76b11572013-07-16 21:49:50 -07005928 ## name.h (module 'ndnSIM'): ns3::ndn::Name::Name(ns3::ndn::Name const & other) [copy constructor]
5929 cls.add_constructor([param('ns3::ndn::Name const &', 'other')])
5930 ## name.h (module 'ndnSIM'): ns3::ndn::Name::Name(std::string const & url) [constructor]
5931 cls.add_constructor([param('std::string const &', 'url')])
5932 ## name.h (module 'ndnSIM'): ns3::ndn::Name::Name(__gnu_cxx::__normal_iterator<ns3::ndn::name::Component const*, std::vector<ns3::ndn::name::Component, std::allocator<ns3::ndn::name::Component> > > begin, __gnu_cxx::__normal_iterator<ns3::ndn::name::Component const*, std::vector<ns3::ndn::name::Component, std::allocator<ns3::ndn::name::Component> > > end) [constructor]
5933 cls.add_constructor([param('__gnu_cxx::__normal_iterator< ns3::ndn::name::Component const *, std::vector< ns3::ndn::name::Component > >', 'begin'), param('__gnu_cxx::__normal_iterator< ns3::ndn::name::Component const *, std::vector< ns3::ndn::name::Component > >', 'end')])
5934 ## name.h (module 'ndnSIM'): ns3::ndn::Name & ns3::ndn::Name::append(ns3::ndn::name::Component const & comp) [member function]
5935 cls.add_method('append',
Alexander Afanasyeva4e74282013-07-11 15:23:20 -07005936 'ns3::ndn::Name &',
Alexander Afanasyev76b11572013-07-16 21:49:50 -07005937 [param('ns3::ndn::name::Component const &', 'comp')])
5938 ## name.h (module 'ndnSIM'): ns3::ndn::Name & ns3::ndn::Name::append(__gnu_cxx::__normal_iterator<ns3::ndn::name::Component const*, std::vector<ns3::ndn::name::Component, std::allocator<ns3::ndn::name::Component> > > begin, __gnu_cxx::__normal_iterator<ns3::ndn::name::Component const*, std::vector<ns3::ndn::name::Component, std::allocator<ns3::ndn::name::Component> > > end) [member function]
5939 cls.add_method('append',
5940 'ns3::ndn::Name &',
5941 [param('__gnu_cxx::__normal_iterator< ns3::ndn::name::Component const *, std::vector< ns3::ndn::name::Component > >', 'begin'), param('__gnu_cxx::__normal_iterator< ns3::ndn::name::Component const *, std::vector< ns3::ndn::name::Component > >', 'end')],
5942 template_parameters=['__gnu_cxx::__normal_iterator<ns3::ndn::name::Component const*, std::vector<ns3::ndn::name::Component, std::allocator<ns3::ndn::name::Component> > >'])
5943 ## name.h (module 'ndnSIM'): ns3::ndn::Name & ns3::ndn::Name::append(ns3::ndn::Name const & comp) [member function]
5944 cls.add_method('append',
5945 'ns3::ndn::Name &',
5946 [param('ns3::ndn::Name const &', 'comp')])
5947 ## name.h (module 'ndnSIM'): ns3::ndn::Name & ns3::ndn::Name::append(std::string const & compStr) [member function]
5948 cls.add_method('append',
5949 'ns3::ndn::Name &',
5950 [param('std::string const &', 'compStr')])
5951 ## name.h (module 'ndnSIM'): ns3::ndn::Name & ns3::ndn::Name::append(void const * buf, size_t size) [member function]
5952 cls.add_method('append',
5953 'ns3::ndn::Name &',
5954 [param('void const *', 'buf'), param('size_t', 'size')])
5955 ## name.h (module 'ndnSIM'): ns3::ndn::Name & ns3::ndn::Name::appendBlkId(uint64_t blkid) [member function]
5956 cls.add_method('appendBlkId',
5957 'ns3::ndn::Name &',
5958 [param('uint64_t', 'blkid')])
5959 ## name.h (module 'ndnSIM'): ns3::ndn::Name & ns3::ndn::Name::appendBySwap(ns3::ndn::name::Component & comp) [member function]
5960 cls.add_method('appendBySwap',
5961 'ns3::ndn::Name &',
5962 [param('ns3::ndn::name::Component &', 'comp')])
5963 ## name.h (module 'ndnSIM'): ns3::ndn::Name & ns3::ndn::Name::appendControlNum(uint64_t control) [member function]
5964 cls.add_method('appendControlNum',
5965 'ns3::ndn::Name &',
5966 [param('uint64_t', 'control')])
5967 ## name.h (module 'ndnSIM'): ns3::ndn::Name & ns3::ndn::Name::appendNumber(uint64_t number) [member function]
5968 cls.add_method('appendNumber',
5969 'ns3::ndn::Name &',
5970 [param('uint64_t', 'number')])
5971 ## name.h (module 'ndnSIM'): ns3::ndn::Name & ns3::ndn::Name::appendNumberWithMarker(uint64_t number, unsigned char marker) [member function]
5972 cls.add_method('appendNumberWithMarker',
5973 'ns3::ndn::Name &',
5974 [param('uint64_t', 'number'), param('unsigned char', 'marker')])
5975 ## name.h (module 'ndnSIM'): ns3::ndn::Name & ns3::ndn::Name::appendSeqNum(uint64_t seqno) [member function]
5976 cls.add_method('appendSeqNum',
5977 'ns3::ndn::Name &',
5978 [param('uint64_t', 'seqno')])
5979 ## name.h (module 'ndnSIM'): ns3::ndn::Name & ns3::ndn::Name::appendVersion(uint64_t version=ns3::ndn::Name::nversion) [member function]
5980 cls.add_method('appendVersion',
5981 'ns3::ndn::Name &',
5982 [param('uint64_t', 'version', default_value='ns3::ndn::Name::nversion')])
5983 ## name.h (module 'ndnSIM'): __gnu_cxx::__normal_iterator<ns3::ndn::name::Component const*, std::vector<ns3::ndn::name::Component, std::allocator<ns3::ndn::name::Component> > > ns3::ndn::Name::begin() const [member function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005984 cls.add_method('begin',
Alexander Afanasyev76b11572013-07-16 21:49:50 -07005985 '__gnu_cxx::__normal_iterator< ns3::ndn::name::Component const *, std::vector< ns3::ndn::name::Component > >',
5986 [],
5987 is_const=True)
5988 ## name.h (module 'ndnSIM'): __gnu_cxx::__normal_iterator<ns3::ndn::name::Component*, std::vector<ns3::ndn::name::Component, std::allocator<ns3::ndn::name::Component> > > ns3::ndn::Name::begin() [member function]
5989 cls.add_method('begin',
5990 '__gnu_cxx::__normal_iterator< ns3::ndn::name::Component *, std::vector< ns3::ndn::name::Component > >',
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005991 [])
Alexander Afanasyev76b11572013-07-16 21:49:50 -07005992 ## name.h (module 'ndnSIM'): int ns3::ndn::Name::compare(ns3::ndn::Name const & name) const [member function]
5993 cls.add_method('compare',
5994 'int',
5995 [param('ns3::ndn::Name const &', 'name')],
5996 is_const=True)
5997 ## name.h (module 'ndnSIM'): __gnu_cxx::__normal_iterator<ns3::ndn::name::Component const*, std::vector<ns3::ndn::name::Component, std::allocator<ns3::ndn::name::Component> > > ns3::ndn::Name::end() const [member function]
5998 cls.add_method('end',
5999 '__gnu_cxx::__normal_iterator< ns3::ndn::name::Component const *, std::vector< ns3::ndn::name::Component > >',
Alexander Afanasyev32c07562013-02-01 12:58:43 -08006000 [],
6001 is_const=True)
Alexander Afanasyev76b11572013-07-16 21:49:50 -07006002 ## name.h (module 'ndnSIM'): __gnu_cxx::__normal_iterator<ns3::ndn::name::Component*, std::vector<ns3::ndn::name::Component, std::allocator<ns3::ndn::name::Component> > > ns3::ndn::Name::end() [member function]
6003 cls.add_method('end',
6004 '__gnu_cxx::__normal_iterator< ns3::ndn::name::Component *, std::vector< ns3::ndn::name::Component > >',
6005 [])
6006 ## name.h (module 'ndnSIM'): ns3::ndn::name::Component const & ns3::ndn::Name::get(int index) const [member function]
6007 cls.add_method('get',
6008 'ns3::ndn::name::Component const &',
6009 [param('int', 'index')],
6010 is_const=True)
6011 ## name.h (module 'ndnSIM'): ns3::ndn::name::Component & ns3::ndn::Name::get(int index) [member function]
6012 cls.add_method('get',
6013 'ns3::ndn::name::Component &',
6014 [param('int', 'index')])
6015 ## name.h (module 'ndnSIM'): ns3::ndn::Name ns3::ndn::Name::getPostfix(size_t len, size_t skip=0) const [member function]
6016 cls.add_method('getPostfix',
Alexander Afanasyev32c07562013-02-01 12:58:43 -08006017 'ns3::ndn::Name',
Alexander Afanasyev76b11572013-07-16 21:49:50 -07006018 [param('size_t', 'len'), param('size_t', 'skip', default_value='0')],
Alexander Afanasyev32c07562013-02-01 12:58:43 -08006019 is_const=True)
Alexander Afanasyev76b11572013-07-16 21:49:50 -07006020 ## name.h (module 'ndnSIM'): ns3::ndn::Name ns3::ndn::Name::getPrefix(size_t len, size_t skip=0) const [member function]
6021 cls.add_method('getPrefix',
6022 'ns3::ndn::Name',
6023 [param('size_t', 'len'), param('size_t', 'skip', default_value='0')],
6024 is_const=True)
6025 ## name.h (module 'ndnSIM'): ns3::ndn::Name ns3::ndn::Name::getSubName(size_t pos=0, size_t len=ns3::ndn::Name::npos) const [member function]
6026 cls.add_method('getSubName',
6027 'ns3::ndn::Name',
6028 [param('size_t', 'pos', default_value='0'), param('size_t', 'len', default_value='ns3::ndn::Name::npos')],
6029 is_const=True)
6030 ## name.h (module 'ndnSIM'): std::reverse_iterator<__gnu_cxx::__normal_iterator<ns3::ndn::name::Component const*, std::vector<ns3::ndn::name::Component, std::allocator<ns3::ndn::name::Component> > > > ns3::ndn::Name::rbegin() const [member function]
6031 cls.add_method('rbegin',
6032 'std::reverse_iterator< __gnu_cxx::__normal_iterator< ns3::ndn::name::Component const *, std::vector< ns3::ndn::name::Component > > >',
Alexander Afanasyev32c07562013-02-01 12:58:43 -08006033 [],
6034 is_const=True)
Alexander Afanasyev76b11572013-07-16 21:49:50 -07006035 ## name.h (module 'ndnSIM'): std::reverse_iterator<__gnu_cxx::__normal_iterator<ns3::ndn::name::Component*, std::vector<ns3::ndn::name::Component, std::allocator<ns3::ndn::name::Component> > > > ns3::ndn::Name::rbegin() [member function]
6036 cls.add_method('rbegin',
6037 'std::reverse_iterator< __gnu_cxx::__normal_iterator< ns3::ndn::name::Component *, std::vector< ns3::ndn::name::Component > > >',
6038 [])
6039 ## name.h (module 'ndnSIM'): std::reverse_iterator<__gnu_cxx::__normal_iterator<ns3::ndn::name::Component const*, std::vector<ns3::ndn::name::Component, std::allocator<ns3::ndn::name::Component> > > > ns3::ndn::Name::rend() const [member function]
6040 cls.add_method('rend',
6041 'std::reverse_iterator< __gnu_cxx::__normal_iterator< ns3::ndn::name::Component const *, std::vector< ns3::ndn::name::Component > > >',
6042 [],
6043 is_const=True)
6044 ## name.h (module 'ndnSIM'): std::reverse_iterator<__gnu_cxx::__normal_iterator<ns3::ndn::name::Component*, std::vector<ns3::ndn::name::Component, std::allocator<ns3::ndn::name::Component> > > > ns3::ndn::Name::rend() [member function]
6045 cls.add_method('rend',
6046 'std::reverse_iterator< __gnu_cxx::__normal_iterator< ns3::ndn::name::Component *, std::vector< ns3::ndn::name::Component > > >',
6047 [])
6048 ## name.h (module 'ndnSIM'): size_t ns3::ndn::Name::size() const [member function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08006049 cls.add_method('size',
6050 'size_t',
6051 [],
6052 is_const=True)
Alexander Afanasyev76b11572013-07-16 21:49:50 -07006053 ## name.h (module 'ndnSIM'): std::string ns3::ndn::Name::toUri() const [member function]
6054 cls.add_method('toUri',
6055 'std::string',
6056 [],
6057 is_const=True)
6058 ## name.h (module 'ndnSIM'): void ns3::ndn::Name::toUri(std::ostream & os) const [member function]
6059 cls.add_method('toUri',
6060 'void',
6061 [param('std::ostream &', 'os')],
6062 is_const=True)
6063 ## name.h (module 'ndnSIM'): ns3::ndn::Name::npos [variable]
6064 cls.add_static_attribute('npos', 'size_t const', is_const=True)
6065 ## name.h (module 'ndnSIM'): ns3::ndn::Name::nversion [variable]
6066 cls.add_static_attribute('nversion', 'uint64_t const', is_const=True)
Alexander Afanasyev32c07562013-02-01 12:58:43 -08006067 return
6068
6069def register_Ns3NdnNameChecker_methods(root_module, cls):
Alexander Afanasyev76b11572013-07-16 21:49:50 -07006070 ## name.h (module 'ndnSIM'): ns3::ndn::NameChecker::NameChecker() [constructor]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08006071 cls.add_constructor([])
Alexander Afanasyev76b11572013-07-16 21:49:50 -07006072 ## name.h (module 'ndnSIM'): ns3::ndn::NameChecker::NameChecker(ns3::ndn::NameChecker const & arg0) [copy constructor]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08006073 cls.add_constructor([param('ns3::ndn::NameChecker const &', 'arg0')])
6074 return
6075
Alexander Afanasyev32c07562013-02-01 12:58:43 -08006076def register_Ns3NdnNameValue_methods(root_module, cls):
Alexander Afanasyev76b11572013-07-16 21:49:50 -07006077 ## name.h (module 'ndnSIM'): ns3::ndn::NameValue::NameValue() [constructor]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08006078 cls.add_constructor([])
Alexander Afanasyev76b11572013-07-16 21:49:50 -07006079 ## name.h (module 'ndnSIM'): ns3::ndn::NameValue::NameValue(ns3::ndn::NameValue const & arg0) [copy constructor]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08006080 cls.add_constructor([param('ns3::ndn::NameValue const &', 'arg0')])
Alexander Afanasyev76b11572013-07-16 21:49:50 -07006081 ## name.h (module 'ndnSIM'): ns3::ndn::NameValue::NameValue(ns3::ndn::Name const & value) [constructor]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08006082 cls.add_constructor([param('ns3::ndn::Name const &', 'value')])
Alexander Afanasyev76b11572013-07-16 21:49:50 -07006083 ## name.h (module 'ndnSIM'): ns3::Ptr<ns3::AttributeValue> ns3::ndn::NameValue::Copy() const [member function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08006084 cls.add_method('Copy',
6085 'ns3::Ptr< ns3::AttributeValue >',
6086 [],
6087 is_const=True, is_virtual=True)
Alexander Afanasyev76b11572013-07-16 21:49:50 -07006088 ## 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 -08006089 cls.add_method('DeserializeFromString',
6090 'bool',
6091 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
6092 is_virtual=True)
Alexander Afanasyev76b11572013-07-16 21:49:50 -07006093 ## name.h (module 'ndnSIM'): ns3::ndn::Name ns3::ndn::NameValue::Get() const [member function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08006094 cls.add_method('Get',
6095 'ns3::ndn::Name',
6096 [],
6097 is_const=True)
Alexander Afanasyev76b11572013-07-16 21:49:50 -07006098 ## 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 -08006099 cls.add_method('SerializeToString',
6100 'std::string',
6101 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
6102 is_const=True, is_virtual=True)
Alexander Afanasyev76b11572013-07-16 21:49:50 -07006103 ## name.h (module 'ndnSIM'): void ns3::ndn::NameValue::Set(ns3::ndn::Name const & value) [member function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08006104 cls.add_method('Set',
6105 'void',
6106 [param('ns3::ndn::Name const &', 'value')])
6107 return
6108
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006109def register_Ns3NdnNetDeviceFace_methods(root_module, cls):
6110 ## ndn-net-device-face.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::NetDeviceFace::GetTypeId() [member function]
6111 cls.add_method('GetTypeId',
6112 'ns3::TypeId',
6113 [],
6114 is_static=True)
6115 ## ndn-net-device-face.h (module 'ndnSIM'): ns3::ndn::NetDeviceFace::NetDeviceFace(ns3::Ptr<ns3::Node> node, ns3::Ptr<ns3::NetDevice> const & netDevice) [constructor]
6116 cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::Ptr< ns3::NetDevice > const &', 'netDevice')])
Alexander Afanasyev858d5312013-07-10 18:50:18 -07006117 ## ndn-net-device-face.h (module 'ndnSIM'): void ns3::ndn::NetDeviceFace::RegisterProtocolHandlers(ns3::Callback<void, ns3::Ptr<ns3::ndn::Face>, ns3::Ptr<ns3::ndn::Interest>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> const & interestHandler, ns3::Callback<void, ns3::Ptr<ns3::ndn::Face>, ns3::Ptr<ns3::ndn::ContentObject>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> const & dataHandler) [member function]
6118 cls.add_method('RegisterProtocolHandlers',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006119 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07006120 [param('ns3::Callback< void, ns3::Ptr< ns3::ndn::Face >, ns3::Ptr< ns3::ndn::Interest >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty > const &', 'interestHandler'), param('ns3::Callback< void, ns3::Ptr< ns3::ndn::Face >, ns3::Ptr< ns3::ndn::ContentObject >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty > const &', 'dataHandler')],
6121 is_virtual=True)
6122 ## ndn-net-device-face.h (module 'ndnSIM'): void ns3::ndn::NetDeviceFace::UnRegisterProtocolHandlers() [member function]
6123 cls.add_method('UnRegisterProtocolHandlers',
6124 'void',
6125 [],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006126 is_virtual=True)
6127 ## ndn-net-device-face.h (module 'ndnSIM'): std::ostream & ns3::ndn::NetDeviceFace::Print(std::ostream & os) const [member function]
6128 cls.add_method('Print',
6129 'std::ostream &',
6130 [param('std::ostream &', 'os')],
6131 is_const=True, is_virtual=True)
6132 ## ndn-net-device-face.h (module 'ndnSIM'): ns3::Ptr<ns3::NetDevice> ns3::ndn::NetDeviceFace::GetNetDevice() const [member function]
6133 cls.add_method('GetNetDevice',
6134 'ns3::Ptr< ns3::NetDevice >',
6135 [],
6136 is_const=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07006137 ## ndn-net-device-face.h (module 'ndnSIM'): bool ns3::ndn::NetDeviceFace::Send(ns3::Ptr<ns3::Packet> p) [member function]
6138 cls.add_method('Send',
Alexander Afanasyev1c0248b2012-07-24 15:59:50 -07006139 'bool',
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07006140 [param('ns3::Ptr< ns3::Packet >', 'p')],
6141 visibility='protected', is_virtual=True)
6142 return
6143
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006144def register_Ns3NdnPit_methods(root_module, cls):
6145 cls.add_output_stream_operator()
6146 ## ndn-pit.h (module 'ndnSIM'): ns3::ndn::Pit::Pit(ns3::ndn::Pit const & arg0) [copy constructor]
6147 cls.add_constructor([param('ns3::ndn::Pit const &', 'arg0')])
6148 ## ndn-pit.h (module 'ndnSIM'): ns3::ndn::Pit::Pit() [constructor]
6149 cls.add_constructor([])
6150 ## ndn-pit.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::pit::Entry> ns3::ndn::Pit::Begin() [member function]
6151 cls.add_method('Begin',
6152 'ns3::Ptr< ns3::ndn::pit::Entry >',
6153 [],
6154 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07006155 ## ndn-pit.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::pit::Entry> ns3::ndn::Pit::Create(ns3::Ptr<ns3::ndn::Interest const> header) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006156 cls.add_method('Create',
6157 'ns3::Ptr< ns3::ndn::pit::Entry >',
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07006158 [param('ns3::Ptr< ns3::ndn::Interest const >', 'header')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006159 is_pure_virtual=True, is_virtual=True)
6160 ## ndn-pit.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::pit::Entry> ns3::ndn::Pit::End() [member function]
6161 cls.add_method('End',
6162 'ns3::Ptr< ns3::ndn::pit::Entry >',
6163 [],
6164 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyeve5a8b5a2013-03-15 15:15:26 -07006165 ## ndn-pit.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::pit::Entry> ns3::ndn::Pit::Find(ns3::ndn::Name const & prefix) [member function]
6166 cls.add_method('Find',
6167 'ns3::Ptr< ns3::ndn::pit::Entry >',
6168 [param('ns3::ndn::Name const &', 'prefix')],
6169 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyev5b8d61b2013-05-03 10:23:21 -07006170 ## ndn-pit.h (module 'ndnSIM'): ns3::Time const & ns3::ndn::Pit::GetMaxPitEntryLifetime() const [member function]
6171 cls.add_method('GetMaxPitEntryLifetime',
6172 'ns3::Time const &',
6173 [],
6174 is_const=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006175 ## ndn-pit.h (module 'ndnSIM'): static ns3::Ptr<ns3::ndn::Pit> ns3::ndn::Pit::GetPit(ns3::Ptr<ns3::Object> node) [member function]
6176 cls.add_method('GetPit',
6177 'ns3::Ptr< ns3::ndn::Pit >',
6178 [param('ns3::Ptr< ns3::Object >', 'node')],
6179 is_static=True)
6180 ## ndn-pit.h (module 'ndnSIM'): uint32_t ns3::ndn::Pit::GetSize() const [member function]
6181 cls.add_method('GetSize',
6182 'uint32_t',
6183 [],
6184 is_pure_virtual=True, is_const=True, is_virtual=True)
6185 ## ndn-pit.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::Pit::GetTypeId() [member function]
6186 cls.add_method('GetTypeId',
6187 'ns3::TypeId',
6188 [],
6189 is_static=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07006190 ## ndn-pit.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::pit::Entry> ns3::ndn::Pit::Lookup(ns3::ndn::ContentObject const & header) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006191 cls.add_method('Lookup',
6192 'ns3::Ptr< ns3::ndn::pit::Entry >',
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07006193 [param('ns3::ndn::ContentObject const &', 'header')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006194 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07006195 ## ndn-pit.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::pit::Entry> ns3::ndn::Pit::Lookup(ns3::ndn::Interest const & header) [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006196 cls.add_method('Lookup',
6197 'ns3::Ptr< ns3::ndn::pit::Entry >',
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07006198 [param('ns3::ndn::Interest const &', 'header')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006199 is_pure_virtual=True, is_virtual=True)
6200 ## ndn-pit.h (module 'ndnSIM'): void ns3::ndn::Pit::MarkErased(ns3::Ptr<ns3::ndn::pit::Entry> entry) [member function]
6201 cls.add_method('MarkErased',
6202 'void',
6203 [param('ns3::Ptr< ns3::ndn::pit::Entry >', 'entry')],
6204 is_pure_virtual=True, is_virtual=True)
6205 ## ndn-pit.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::pit::Entry> ns3::ndn::Pit::Next(ns3::Ptr<ns3::ndn::pit::Entry> arg0) [member function]
6206 cls.add_method('Next',
6207 'ns3::Ptr< ns3::ndn::pit::Entry >',
6208 [param('ns3::Ptr< ns3::ndn::pit::Entry >', 'arg0')],
6209 is_pure_virtual=True, is_virtual=True)
6210 ## ndn-pit.h (module 'ndnSIM'): void ns3::ndn::Pit::Print(std::ostream & os) const [member function]
6211 cls.add_method('Print',
6212 'void',
6213 [param('std::ostream &', 'os')],
6214 is_pure_virtual=True, is_const=True, is_virtual=True)
Alexander Afanasyev5b8d61b2013-05-03 10:23:21 -07006215 ## ndn-pit.h (module 'ndnSIM'): void ns3::ndn::Pit::SetMaxPitEntryLifetime(ns3::Time const & maxLifetime) [member function]
6216 cls.add_method('SetMaxPitEntryLifetime',
6217 'void',
6218 [param('ns3::Time const &', 'maxLifetime')])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006219 return
6220
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -07006221def register_Ns3NdnRttEstimator_methods(root_module, cls):
6222 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::ndn::RttEstimator::RttEstimator() [constructor]
6223 cls.add_constructor([])
6224 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::ndn::RttEstimator::RttEstimator(ns3::ndn::RttEstimator const & arg0) [copy constructor]
6225 cls.add_constructor([param('ns3::ndn::RttEstimator const &', 'arg0')])
6226 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::Time ns3::ndn::RttEstimator::AckSeq(ns3::SequenceNumber32 ackSeq) [member function]
6227 cls.add_method('AckSeq',
6228 'ns3::Time',
6229 [param('ns3::SequenceNumber32', 'ackSeq')],
6230 is_virtual=True)
6231 ## ndn-rtt-estimator.h (module 'ndnSIM'): void ns3::ndn::RttEstimator::ClearSent() [member function]
6232 cls.add_method('ClearSent',
6233 'void',
6234 [],
6235 is_virtual=True)
6236 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::RttEstimator> ns3::ndn::RttEstimator::Copy() const [member function]
6237 cls.add_method('Copy',
6238 'ns3::Ptr< ns3::ndn::RttEstimator >',
6239 [],
6240 is_pure_virtual=True, is_const=True, is_virtual=True)
6241 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::Time ns3::ndn::RttEstimator::GetCurrentEstimate() const [member function]
6242 cls.add_method('GetCurrentEstimate',
6243 'ns3::Time',
6244 [],
6245 is_const=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07006246 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::TypeId ns3::ndn::RttEstimator::GetInstanceTypeId() const [member function]
6247 cls.add_method('GetInstanceTypeId',
6248 'ns3::TypeId',
6249 [],
6250 is_const=True, is_virtual=True)
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -07006251 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::Time ns3::ndn::RttEstimator::GetMaxRto() const [member function]
6252 cls.add_method('GetMaxRto',
6253 'ns3::Time',
6254 [],
6255 is_const=True)
6256 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::Time ns3::ndn::RttEstimator::GetMinRto() const [member function]
6257 cls.add_method('GetMinRto',
6258 'ns3::Time',
6259 [],
6260 is_const=True)
6261 ## ndn-rtt-estimator.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::RttEstimator::GetTypeId() [member function]
6262 cls.add_method('GetTypeId',
6263 'ns3::TypeId',
6264 [],
6265 is_static=True)
6266 ## ndn-rtt-estimator.h (module 'ndnSIM'): void ns3::ndn::RttEstimator::IncreaseMultiplier() [member function]
6267 cls.add_method('IncreaseMultiplier',
6268 'void',
6269 [],
6270 is_virtual=True)
6271 ## ndn-rtt-estimator.h (module 'ndnSIM'): void ns3::ndn::RttEstimator::Measurement(ns3::Time t) [member function]
6272 cls.add_method('Measurement',
6273 'void',
6274 [param('ns3::Time', 't')],
6275 is_pure_virtual=True, is_virtual=True)
6276 ## ndn-rtt-estimator.h (module 'ndnSIM'): void ns3::ndn::RttEstimator::Reset() [member function]
6277 cls.add_method('Reset',
6278 'void',
6279 [],
6280 is_virtual=True)
6281 ## ndn-rtt-estimator.h (module 'ndnSIM'): void ns3::ndn::RttEstimator::ResetMultiplier() [member function]
6282 cls.add_method('ResetMultiplier',
6283 'void',
6284 [],
6285 is_virtual=True)
6286 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::Time ns3::ndn::RttEstimator::RetransmitTimeout() [member function]
6287 cls.add_method('RetransmitTimeout',
6288 'ns3::Time',
6289 [],
6290 is_pure_virtual=True, is_virtual=True)
6291 ## ndn-rtt-estimator.h (module 'ndnSIM'): void ns3::ndn::RttEstimator::SentSeq(ns3::SequenceNumber32 seq, uint32_t size) [member function]
6292 cls.add_method('SentSeq',
6293 'void',
6294 [param('ns3::SequenceNumber32', 'seq'), param('uint32_t', 'size')],
6295 is_virtual=True)
6296 ## ndn-rtt-estimator.h (module 'ndnSIM'): void ns3::ndn::RttEstimator::SetCurrentEstimate(ns3::Time estimate) [member function]
6297 cls.add_method('SetCurrentEstimate',
6298 'void',
6299 [param('ns3::Time', 'estimate')])
6300 ## ndn-rtt-estimator.h (module 'ndnSIM'): void ns3::ndn::RttEstimator::SetMaxRto(ns3::Time maxRto) [member function]
6301 cls.add_method('SetMaxRto',
6302 'void',
6303 [param('ns3::Time', 'maxRto')])
6304 ## ndn-rtt-estimator.h (module 'ndnSIM'): void ns3::ndn::RttEstimator::SetMinRto(ns3::Time minRto) [member function]
6305 cls.add_method('SetMinRto',
6306 'void',
6307 [param('ns3::Time', 'minRto')])
6308 return
6309
6310def register_Ns3NdnRttHistory_methods(root_module, cls):
6311 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::ndn::RttHistory::RttHistory(ns3::SequenceNumber32 s, uint32_t c, ns3::Time t) [constructor]
6312 cls.add_constructor([param('ns3::SequenceNumber32', 's'), param('uint32_t', 'c'), param('ns3::Time', 't')])
6313 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::ndn::RttHistory::RttHistory(ns3::ndn::RttHistory const & h) [copy constructor]
6314 cls.add_constructor([param('ns3::ndn::RttHistory const &', 'h')])
6315 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::ndn::RttHistory::count [variable]
6316 cls.add_instance_attribute('count', 'uint32_t', is_const=False)
6317 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::ndn::RttHistory::retx [variable]
6318 cls.add_instance_attribute('retx', 'bool', is_const=False)
6319 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::ndn::RttHistory::seq [variable]
6320 cls.add_instance_attribute('seq', 'ns3::SequenceNumber32', is_const=False)
6321 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::ndn::RttHistory::time [variable]
6322 cls.add_instance_attribute('time', 'ns3::Time', is_const=False)
6323 return
6324
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006325def register_Ns3NdnStackHelper_methods(root_module, cls):
6326 ## ndn-stack-helper.h (module 'ndnSIM'): ns3::ndn::StackHelper::StackHelper() [constructor]
6327 cls.add_constructor([])
6328 ## 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]
6329 cls.add_method('SetStackAttributes',
6330 'void',
6331 [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='""')])
6332 ## 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]
6333 cls.add_method('SetForwardingStrategy',
6334 'void',
6335 [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='""')])
6336 ## 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]
6337 cls.add_method('SetContentStore',
6338 'void',
6339 [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='""')])
6340 ## 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]
6341 cls.add_method('SetPit',
6342 'void',
6343 [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='""')])
6344 ## 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]
6345 cls.add_method('SetFib',
6346 'void',
6347 [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 -08006348 ## 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 -08006349 cls.add_method('AddNetDeviceFaceCreateCallback',
6350 'void',
Alexander Afanasyevc17e4bd2013-02-17 14:31:56 -08006351 [param('ns3::TypeId', 'netDeviceType'), param('ns3::Callback< ns3::Ptr< ns3::ndn::NetDeviceFace >, ns3::Ptr< ns3::Node >, ns3::Ptr< ns3::ndn::L3Protocol >, ns3::Ptr< ns3::NetDevice >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')])
Alexander Afanasyev858d5312013-07-10 18:50:18 -07006352 ## ndn-stack-helper.h (module 'ndnSIM'): void ns3::ndn::StackHelper::UpdateNetDeviceFaceCreateCallback(ns3::TypeId netDeviceType, ns3::Callback<ns3::Ptr<ns3::ndn::NetDeviceFace>,ns3::Ptr<ns3::Node>,ns3::Ptr<ns3::ndn::L3Protocol>,ns3::Ptr<ns3::NetDevice>,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> callback) [member function]
6353 cls.add_method('UpdateNetDeviceFaceCreateCallback',
6354 'void',
6355 [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')])
6356 ## ndn-stack-helper.h (module 'ndnSIM'): void ns3::ndn::StackHelper::RemoveNetDeviceFaceCreateCallback(ns3::TypeId netDeviceType, ns3::Callback<ns3::Ptr<ns3::ndn::NetDeviceFace>,ns3::Ptr<ns3::Node>,ns3::Ptr<ns3::ndn::L3Protocol>,ns3::Ptr<ns3::NetDevice>,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> callback) [member function]
6357 cls.add_method('RemoveNetDeviceFaceCreateCallback',
6358 'void',
6359 [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 -07006360 ## 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]
6361 cls.add_method('EnableLimits',
6362 'void',
6363 [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 -08006364 ## 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 -07006365 cls.add_method('Install',
6366 'ns3::Ptr< ns3::ndn::FaceContainer >',
Alexander Afanasyev67f4a4a2012-11-24 17:18:17 -08006367 [param('std::string const &', 'nodeName')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006368 is_const=True)
6369 ## ndn-stack-helper.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::FaceContainer> ns3::ndn::StackHelper::Install(ns3::Ptr<ns3::Node> node) const [member function]
6370 cls.add_method('Install',
6371 'ns3::Ptr< ns3::ndn::FaceContainer >',
6372 [param('ns3::Ptr< ns3::Node >', 'node')],
6373 is_const=True)
Alexander Afanasyev67f4a4a2012-11-24 17:18:17 -08006374 ## 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 -07006375 cls.add_method('Install',
6376 'ns3::Ptr< ns3::ndn::FaceContainer >',
Alexander Afanasyev67f4a4a2012-11-24 17:18:17 -08006377 [param('ns3::NodeContainer const &', 'c')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006378 is_const=True)
6379 ## ndn-stack-helper.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::FaceContainer> ns3::ndn::StackHelper::InstallAll() const [member function]
6380 cls.add_method('InstallAll',
6381 'ns3::Ptr< ns3::ndn::FaceContainer >',
6382 [],
6383 is_const=True)
Alexander Afanasyev67f4a4a2012-11-24 17:18:17 -08006384 ## 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 -07006385 cls.add_method('AddRoute',
6386 'void',
Alexander Afanasyev67f4a4a2012-11-24 17:18:17 -08006387 [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 -07006388 is_static=True)
Alexander Afanasyev67f4a4a2012-11-24 17:18:17 -08006389 ## 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 -07006390 cls.add_method('AddRoute',
6391 'void',
Alexander Afanasyev67f4a4a2012-11-24 17:18:17 -08006392 [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 -07006393 is_static=True)
Alexander Afanasyev67f4a4a2012-11-24 17:18:17 -08006394 ## 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 -07006395 cls.add_method('AddRoute',
6396 'void',
Alexander Afanasyev67f4a4a2012-11-24 17:18:17 -08006397 [param('ns3::Ptr< ns3::Node >', 'node'), param('std::string const &', 'prefix'), param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('int32_t', 'metric')],
6398 is_static=True)
6399 ## 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]
6400 cls.add_method('AddRoute',
6401 'void',
6402 [param('ns3::Ptr< ns3::Node >', 'node'), param('std::string const &', 'prefix'), param('ns3::Ptr< ns3::Node >', 'otherNode'), param('int32_t', 'metric')],
6403 is_static=True)
6404 ## 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]
6405 cls.add_method('AddRoute',
6406 'void',
6407 [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 -07006408 is_static=True)
6409 ## ndn-stack-helper.h (module 'ndnSIM'): void ns3::ndn::StackHelper::SetDefaultRoutes(bool needSet) [member function]
6410 cls.add_method('SetDefaultRoutes',
6411 'void',
6412 [param('bool', 'needSet')])
6413 return
6414
6415def register_Ns3NdnUnknownHeaderException_methods(root_module, cls):
6416 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::UnknownHeaderException::UnknownHeaderException() [constructor]
6417 cls.add_constructor([])
6418 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::UnknownHeaderException::UnknownHeaderException(ns3::ndn::UnknownHeaderException const & arg0) [copy constructor]
6419 cls.add_constructor([param('ns3::ndn::UnknownHeaderException const &', 'arg0')])
6420 return
6421
Alexander Afanasyev76b11572013-07-16 21:49:50 -07006422def register_Ns3NdnWire_methods(root_module, cls):
6423 ## ndn-wire.h (module 'ndnSIM'): ns3::ndn::Wire::Wire() [constructor]
6424 cls.add_constructor([])
6425 ## ndn-wire.h (module 'ndnSIM'): ns3::ndn::Wire::Wire(ns3::ndn::Wire const & arg0) [copy constructor]
6426 cls.add_constructor([param('ns3::ndn::Wire const &', 'arg0')])
6427 ## ndn-wire.h (module 'ndnSIM'): static ns3::Ptr<ns3::Packet> ns3::ndn::Wire::FromData(ns3::Ptr<ns3::ndn::ContentObject const> data, int8_t wireFormat=::int8_t(::ns3::ndn::Wire::WIRE_FORMAT_DEFAULT)) [member function]
6428 cls.add_method('FromData',
6429 'ns3::Ptr< ns3::Packet >',
6430 [param('ns3::Ptr< ns3::ndn::ContentObject const >', 'data'), param('int8_t', 'wireFormat', default_value='::int8_t(::ns3::ndn::Wire::WIRE_FORMAT_DEFAULT)')],
6431 is_static=True)
6432 ## ndn-wire.h (module 'ndnSIM'): static std::string ns3::ndn::Wire::FromDataStr(ns3::Ptr<ns3::ndn::ContentObject const> data, int8_t wireFormat=::int8_t(::ns3::ndn::Wire::WIRE_FORMAT_DEFAULT)) [member function]
6433 cls.add_method('FromDataStr',
6434 'std::string',
6435 [param('ns3::Ptr< ns3::ndn::ContentObject const >', 'data'), param('int8_t', 'wireFormat', default_value='::int8_t(::ns3::ndn::Wire::WIRE_FORMAT_DEFAULT)')],
6436 is_static=True)
6437 ## ndn-wire.h (module 'ndnSIM'): static ns3::Ptr<ns3::Packet> ns3::ndn::Wire::FromInterest(ns3::Ptr<ns3::ndn::Interest const> interest, int8_t wireFormat=::int8_t(::ns3::ndn::Wire::WIRE_FORMAT_DEFAULT)) [member function]
6438 cls.add_method('FromInterest',
6439 'ns3::Ptr< ns3::Packet >',
6440 [param('ns3::Ptr< ns3::ndn::Interest const >', 'interest'), param('int8_t', 'wireFormat', default_value='::int8_t(::ns3::ndn::Wire::WIRE_FORMAT_DEFAULT)')],
6441 is_static=True)
6442 ## ndn-wire.h (module 'ndnSIM'): static std::string ns3::ndn::Wire::FromInterestStr(ns3::Ptr<ns3::ndn::Interest const> interest, int8_t wireFormat=::int8_t(::ns3::ndn::Wire::WIRE_FORMAT_DEFAULT)) [member function]
6443 cls.add_method('FromInterestStr',
6444 'std::string',
6445 [param('ns3::Ptr< ns3::ndn::Interest const >', 'interest'), param('int8_t', 'wireFormat', default_value='::int8_t(::ns3::ndn::Wire::WIRE_FORMAT_DEFAULT)')],
6446 is_static=True)
6447 ## ndn-wire.h (module 'ndnSIM'): static std::string ns3::ndn::Wire::FromName(ns3::Ptr<ns3::ndn::Name const> name, int8_t wireFormat=::int8_t(::ns3::ndn::Wire::WIRE_FORMAT_DEFAULT)) [member function]
6448 cls.add_method('FromName',
6449 'std::string',
6450 [param('ns3::Ptr< ns3::ndn::Name const >', 'name'), param('int8_t', 'wireFormat', default_value='::int8_t(::ns3::ndn::Wire::WIRE_FORMAT_DEFAULT)')],
6451 is_static=True)
6452 ## ndn-wire.h (module 'ndnSIM'): static ns3::Ptr<ns3::ndn::ContentObject> ns3::ndn::Wire::ToData(ns3::Ptr<ns3::Packet> packet, int8_t type=::int8_t(::ns3::ndn::Wire::WIRE_FORMAT_AUTODETECT)) [member function]
6453 cls.add_method('ToData',
6454 'ns3::Ptr< ns3::ndn::ContentObject >',
6455 [param('ns3::Ptr< ns3::Packet >', 'packet'), param('int8_t', 'type', default_value='::int8_t(::ns3::ndn::Wire::WIRE_FORMAT_AUTODETECT)')],
6456 is_static=True)
6457 ## ndn-wire.h (module 'ndnSIM'): static ns3::Ptr<ns3::ndn::ContentObject> ns3::ndn::Wire::ToDataStr(std::string const & wire, int8_t type=::int8_t(::ns3::ndn::Wire::WIRE_FORMAT_AUTODETECT)) [member function]
6458 cls.add_method('ToDataStr',
6459 'ns3::Ptr< ns3::ndn::ContentObject >',
6460 [param('std::string const &', 'wire'), param('int8_t', 'type', default_value='::int8_t(::ns3::ndn::Wire::WIRE_FORMAT_AUTODETECT)')],
6461 is_static=True)
6462 ## ndn-wire.h (module 'ndnSIM'): static ns3::Ptr<ns3::ndn::Interest> ns3::ndn::Wire::ToInterest(ns3::Ptr<ns3::Packet> packet, int8_t type=::int8_t(::ns3::ndn::Wire::WIRE_FORMAT_AUTODETECT)) [member function]
6463 cls.add_method('ToInterest',
6464 'ns3::Ptr< ns3::ndn::Interest >',
6465 [param('ns3::Ptr< ns3::Packet >', 'packet'), param('int8_t', 'type', default_value='::int8_t(::ns3::ndn::Wire::WIRE_FORMAT_AUTODETECT)')],
6466 is_static=True)
6467 ## ndn-wire.h (module 'ndnSIM'): static ns3::Ptr<ns3::ndn::Interest> ns3::ndn::Wire::ToInterestStr(std::string const & wire, int8_t type=::int8_t(::ns3::ndn::Wire::WIRE_FORMAT_AUTODETECT)) [member function]
6468 cls.add_method('ToInterestStr',
6469 'ns3::Ptr< ns3::ndn::Interest >',
6470 [param('std::string const &', 'wire'), param('int8_t', 'type', default_value='::int8_t(::ns3::ndn::Wire::WIRE_FORMAT_AUTODETECT)')],
6471 is_static=True)
6472 ## ndn-wire.h (module 'ndnSIM'): static ns3::Ptr<ns3::ndn::Name> ns3::ndn::Wire::ToName(std::string const & wire, int8_t wireFormat=::int8_t(::ns3::ndn::Wire::WIRE_FORMAT_DEFAULT)) [member function]
6473 cls.add_method('ToName',
6474 'ns3::Ptr< ns3::ndn::Name >',
6475 [param('std::string const &', 'wire'), param('int8_t', 'wireFormat', default_value='::int8_t(::ns3::ndn::Wire::WIRE_FORMAT_DEFAULT)')],
6476 is_static=True)
6477 return
6478
Alexander Afanasyeva4e74282013-07-11 15:23:20 -07006479def register_Ns3NdnApiFace_methods(root_module, cls):
6480 ## ndn-api-face.h (module 'ndnSIM'): ns3::ndn::ApiFace::ApiFace(ns3::Ptr<ns3::Node> node) [constructor]
6481 cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node')])
6482 ## ndn-api-face.h (module 'ndnSIM'): void ns3::ndn::ApiFace::Shutdown() [member function]
6483 cls.add_method('Shutdown',
6484 'void',
Alexander Afanasyeve4795ae2013-07-11 20:01:31 -07006485 [],
6486 is_virtual=True)
6487 ## ndn-api-face.h (module 'ndnSIM'): void ns3::ndn::ApiFace::ExpressInterest(ns3::Ptr<ns3::ndn::Interest> interest, ns3::Callback<void, ns3::Ptr<ns3::ndn::Interest const>, ns3::Ptr<ns3::ndn::ContentObject const>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> onData, ns3::Callback<void, ns3::Ptr<ns3::ndn::Interest const>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> onTimeout) [member function]
Alexander Afanasyeva4e74282013-07-11 15:23:20 -07006488 cls.add_method('ExpressInterest',
6489 'void',
6490 [param('ns3::Ptr< ns3::ndn::Interest >', 'interest'), param('ns3::Callback< void, ns3::Ptr< ns3::ndn::Interest const >, ns3::Ptr< ns3::ndn::ContentObject const >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'onData'), param('ns3::Callback< void, ns3::Ptr< ns3::ndn::Interest const >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'onTimeout')])
Alexander Afanasyeve4795ae2013-07-11 20:01:31 -07006491 ## ndn-api-face.h (module 'ndnSIM'): void ns3::ndn::ApiFace::SetInterestFilter(ns3::Ptr<ns3::ndn::Name const> prefix, ns3::Callback<void, ns3::Ptr<ns3::ndn::Name const>, ns3::Ptr<ns3::ndn::Interest const>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> onInterest) [member function]
Alexander Afanasyeva4e74282013-07-11 15:23:20 -07006492 cls.add_method('SetInterestFilter',
6493 'void',
6494 [param('ns3::Ptr< ns3::ndn::Name const >', 'prefix'), param('ns3::Callback< void, ns3::Ptr< ns3::ndn::Name const >, ns3::Ptr< ns3::ndn::Interest const >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'onInterest')])
6495 ## ndn-api-face.h (module 'ndnSIM'): void ns3::ndn::ApiFace::ClearInterestFilter(ns3::Ptr<ns3::ndn::Name const> prefix) [member function]
6496 cls.add_method('ClearInterestFilter',
6497 'void',
6498 [param('ns3::Ptr< ns3::ndn::Name const >', 'prefix')])
6499 ## ndn-api-face.h (module 'ndnSIM'): void ns3::ndn::ApiFace::Put(ns3::Ptr<ns3::ndn::ContentObject> data) [member function]
6500 cls.add_method('Put',
6501 'void',
6502 [param('ns3::Ptr< ns3::ndn::ContentObject >', 'data')])
6503 ## ndn-api-face.h (module 'ndnSIM'): bool ns3::ndn::ApiFace::SendInterest(ns3::Ptr<ns3::ndn::Interest const> interest) [member function]
6504 cls.add_method('SendInterest',
6505 'bool',
6506 [param('ns3::Ptr< ns3::ndn::Interest const >', 'interest')],
6507 is_virtual=True)
6508 ## ndn-api-face.h (module 'ndnSIM'): bool ns3::ndn::ApiFace::SendData(ns3::Ptr<ns3::ndn::ContentObject const> data) [member function]
6509 cls.add_method('SendData',
6510 'bool',
6511 [param('ns3::Ptr< ns3::ndn::ContentObject const >', 'data')],
6512 is_virtual=True)
6513 ## ndn-api-face.h (module 'ndnSIM'): std::ostream & ns3::ndn::ApiFace::Print(std::ostream & os) const [member function]
6514 cls.add_method('Print',
6515 'std::ostream &',
6516 [param('std::ostream &', 'os')],
6517 is_const=True, is_virtual=True)
6518 return
6519
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006520def register_Ns3NdnAppFace_methods(root_module, cls):
6521 ## ndn-app-face.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::AppFace::GetTypeId() [member function]
6522 cls.add_method('GetTypeId',
6523 'ns3::TypeId',
6524 [],
6525 is_static=True)
6526 ## ndn-app-face.h (module 'ndnSIM'): ns3::ndn::AppFace::AppFace(ns3::Ptr<ns3::ndn::App> app) [constructor]
6527 cls.add_constructor([param('ns3::Ptr< ns3::ndn::App >', 'app')])
Alexander Afanasyev858d5312013-07-10 18:50:18 -07006528 ## ndn-app-face.h (module 'ndnSIM'): bool ns3::ndn::AppFace::SendInterest(ns3::Ptr<ns3::ndn::Interest const> interest) [member function]
6529 cls.add_method('SendInterest',
6530 'bool',
6531 [param('ns3::Ptr< ns3::ndn::Interest const >', 'interest')],
6532 is_virtual=True)
6533 ## ndn-app-face.h (module 'ndnSIM'): bool ns3::ndn::AppFace::SendData(ns3::Ptr<ns3::ndn::ContentObject const> data) [member function]
6534 cls.add_method('SendData',
6535 'bool',
6536 [param('ns3::Ptr< ns3::ndn::ContentObject const >', 'data')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006537 is_virtual=True)
6538 ## ndn-app-face.h (module 'ndnSIM'): std::ostream & ns3::ndn::AppFace::Print(std::ostream & os) const [member function]
6539 cls.add_method('Print',
6540 'std::ostream &',
6541 [param('std::ostream &', 'os')],
6542 is_const=True, is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006543 return
6544
6545def register_Ns3NdnCsEntry_methods(root_module, cls):
6546 ## ndn-content-store.h (module 'ndnSIM'): ns3::ndn::cs::Entry::Entry(ns3::ndn::cs::Entry const & arg0) [copy constructor]
6547 cls.add_constructor([param('ns3::ndn::cs::Entry const &', 'arg0')])
Alexander Afanasyev858d5312013-07-10 18:50:18 -07006548 ## ndn-content-store.h (module 'ndnSIM'): ns3::ndn::cs::Entry::Entry(ns3::Ptr<ns3::ndn::ContentStore> cs, ns3::Ptr<ns3::ndn::ContentObject const> data) [constructor]
6549 cls.add_constructor([param('ns3::Ptr< ns3::ndn::ContentStore >', 'cs'), param('ns3::Ptr< ns3::ndn::ContentObject const >', 'data')])
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -07006550 ## ndn-content-store.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::ContentStore> ns3::ndn::cs::Entry::GetContentStore() [member function]
6551 cls.add_method('GetContentStore',
6552 'ns3::Ptr< ns3::ndn::ContentStore >',
6553 [])
Alexander Afanasyev858d5312013-07-10 18:50:18 -07006554 ## ndn-content-store.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::ContentObject const> ns3::ndn::cs::Entry::GetData() const [member function]
6555 cls.add_method('GetData',
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07006556 'ns3::Ptr< ns3::ndn::ContentObject const >',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006557 [],
6558 is_const=True)
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07006559 ## 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 -07006560 cls.add_method('GetName',
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07006561 'ns3::ndn::Name const &',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006562 [],
6563 is_const=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006564 return
6565
6566def register_Ns3NdnFibEntry_methods(root_module, cls):
6567 cls.add_output_stream_operator()
6568 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::Entry(ns3::ndn::fib::Entry const & arg0) [copy constructor]
6569 cls.add_constructor([param('ns3::ndn::fib::Entry const &', 'arg0')])
Alexander Afanasyev5b8d61b2013-05-03 10:23:21 -07006570 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::Entry(ns3::Ptr<ns3::ndn::Fib> fib, ns3::Ptr<ns3::ndn::Name const> const & prefix) [constructor]
6571 cls.add_constructor([param('ns3::Ptr< ns3::ndn::Fib >', 'fib'), param('ns3::Ptr< ns3::ndn::Name const > const &', 'prefix')])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006572 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::Entry::AddOrUpdateRoutingMetric(ns3::Ptr<ns3::ndn::Face> face, int32_t metric) [member function]
6573 cls.add_method('AddOrUpdateRoutingMetric',
6574 'void',
6575 [param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('int32_t', 'metric')])
6576 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric const & ns3::ndn::fib::Entry::FindBestCandidate(uint32_t skip=0) const [member function]
6577 cls.add_method('FindBestCandidate',
6578 'ns3::ndn::fib::FaceMetric const &',
6579 [param('uint32_t', 'skip', default_value='0')],
6580 is_const=True)
Alexander Afanasyev5b8d61b2013-05-03 10:23:21 -07006581 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::Fib> ns3::ndn::fib::Entry::GetFib() [member function]
6582 cls.add_method('GetFib',
6583 'ns3::Ptr< ns3::ndn::Fib >',
6584 [])
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07006585 ## 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 -07006586 cls.add_method('GetPrefix',
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07006587 'ns3::ndn::Name const &',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006588 [],
6589 is_const=True)
6590 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::Entry::Invalidate() [member function]
6591 cls.add_method('Invalidate',
6592 'void',
6593 [])
6594 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::Entry::RemoveFace(ns3::Ptr<ns3::ndn::Face> const & face) [member function]
6595 cls.add_method('RemoveFace',
6596 'void',
6597 [param('ns3::Ptr< ns3::ndn::Face > const &', 'face')])
Alexander Afanasyev32c07562013-02-01 12:58:43 -08006598 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::Entry::SetRealDelayToProducer(ns3::Ptr<ns3::ndn::Face> face, ns3::Time delay) [member function]
6599 cls.add_method('SetRealDelayToProducer',
6600 'void',
6601 [param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('ns3::Time', 'delay')])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006602 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::Entry::UpdateFaceRtt(ns3::Ptr<ns3::ndn::Face> face, ns3::Time const & sample) [member function]
6603 cls.add_method('UpdateFaceRtt',
6604 'void',
6605 [param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('ns3::Time const &', 'sample')])
6606 ## 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]
6607 cls.add_method('UpdateStatus',
6608 'void',
6609 [param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('ns3::ndn::fib::FaceMetric::Status', 'status')])
6610 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::m_faces [variable]
Alexander Afanasyev06dba7c2013-02-21 11:36:26 -08006611 cls.add_instance_attribute('m_faces', 'boost::multi_index::multi_index_container< ns3::ndn::fib::FaceMetric, boost::multi_index::indexed_by< boost::multi_index::ordered_unique< boost::multi_index::tag< ns3::ndn::fib::i_face, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na >, boost::multi_index::const_mem_fun< ns3::ndn::fib::FaceMetric, ns3::Ptr< ns3::ndn::Face >, & ( ns3::ndn::fib::FaceMetric::GetFace ( ) const ) >, mpl_::na >, boost::multi_index::ordered_non_unique< boost::multi_index::tag< ns3::ndn::fib::i_metric, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na >, boost::multi_index::composite_key< ns3::ndn::fib::FaceMetric, boost::multi_index::const_mem_fun< ns3::ndn::fib::FaceMetric, ns3::ndn::fib::FaceMetric::Status, & ( ns3::ndn::fib::FaceMetric::GetStatus ( ) const ) >, boost::multi_index::const_mem_fun< ns3::ndn::fib::FaceMetric, int, & ( ns3::ndn::fib::FaceMetric::GetRoutingCost ( ) const ) >, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type >, mpl_::na >, boost::multi_index::random_access< boost::multi_index::tag< ns3::ndn::fib::i_nth, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na > >, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na >, std::allocator< ns3::ndn::fib::FaceMetric > >', is_const=False)
Alexander Afanasyev5b8d61b2013-05-03 10:23:21 -07006612 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::m_fib [variable]
6613 cls.add_instance_attribute('m_fib', 'ns3::Ptr< ns3::ndn::Fib >', is_const=False)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006614 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::m_needsProbing [variable]
6615 cls.add_instance_attribute('m_needsProbing', 'bool', is_const=False)
6616 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::m_prefix [variable]
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07006617 cls.add_instance_attribute('m_prefix', 'ns3::Ptr< ns3::ndn::Name const >', is_const=False)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006618 return
6619
6620def register_Ns3NdnFibEntryNoFaces_methods(root_module, cls):
6621 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::NoFaces::NoFaces() [constructor]
6622 cls.add_constructor([])
6623 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::NoFaces::NoFaces(ns3::ndn::fib::Entry::NoFaces const & arg0) [copy constructor]
6624 cls.add_constructor([param('ns3::ndn::fib::Entry::NoFaces const &', 'arg0')])
6625 return
6626
6627def register_Ns3NdnFibFaceMetric_methods(root_module, cls):
6628 cls.add_output_stream_operator()
6629 cls.add_binary_comparison_operator('<')
6630 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric::FaceMetric(ns3::ndn::fib::FaceMetric const & arg0) [copy constructor]
6631 cls.add_constructor([param('ns3::ndn::fib::FaceMetric const &', 'arg0')])
6632 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric::FaceMetric(ns3::Ptr<ns3::ndn::Face> face, int32_t cost) [constructor]
6633 cls.add_constructor([param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('int32_t', 'cost')])
6634 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::Face> ns3::ndn::fib::FaceMetric::GetFace() const [member function]
6635 cls.add_method('GetFace',
6636 'ns3::Ptr< ns3::ndn::Face >',
6637 [],
6638 is_const=True)
Alexander Afanasyev06dba7c2013-02-21 11:36:26 -08006639 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::Time ns3::ndn::fib::FaceMetric::GetRealDelay() const [member function]
6640 cls.add_method('GetRealDelay',
6641 'ns3::Time',
6642 [],
6643 is_const=True)
6644 ## ndn-fib-entry.h (module 'ndnSIM'): int32_t ns3::ndn::fib::FaceMetric::GetRoutingCost() const [member function]
6645 cls.add_method('GetRoutingCost',
6646 'int32_t',
6647 [],
6648 is_const=True)
6649 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric::Status ns3::ndn::fib::FaceMetric::GetStatus() const [member function]
6650 cls.add_method('GetStatus',
6651 'ns3::ndn::fib::FaceMetric::Status',
6652 [],
6653 is_const=True)
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -07006654 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::TracedValue<ns3::ndn::fib::FaceMetric::Status> & ns3::ndn::fib::FaceMetric::GetStatusTrace() [member function]
6655 cls.add_method('GetStatusTrace',
6656 'ns3::TracedValue< ns3::ndn::fib::FaceMetric::Status > &',
6657 [])
Alexander Afanasyev06dba7c2013-02-21 11:36:26 -08006658 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::FaceMetric::SetRealDelay(ns3::Time realDelay) [member function]
6659 cls.add_method('SetRealDelay',
6660 'void',
6661 [param('ns3::Time', 'realDelay')])
6662 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::FaceMetric::SetRoutingCost(int32_t routingCost) [member function]
6663 cls.add_method('SetRoutingCost',
6664 'void',
6665 [param('int32_t', 'routingCost')])
6666 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::FaceMetric::SetStatus(ns3::ndn::fib::FaceMetric::Status status) [member function]
6667 cls.add_method('SetStatus',
6668 'void',
6669 [param('ns3::ndn::fib::FaceMetric::Status', 'status')])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006670 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::FaceMetric::UpdateRtt(ns3::Time const & rttSample) [member function]
6671 cls.add_method('UpdateRtt',
6672 'void',
6673 [param('ns3::Time const &', 'rttSample')])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006674 return
6675
6676def register_Ns3NdnFibFaceMetricContainer_methods(root_module, cls):
6677 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetricContainer::FaceMetricContainer() [constructor]
6678 cls.add_constructor([])
6679 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetricContainer::FaceMetricContainer(ns3::ndn::fib::FaceMetricContainer const & arg0) [copy constructor]
6680 cls.add_constructor([param('ns3::ndn::fib::FaceMetricContainer const &', 'arg0')])
6681 return
6682
6683def register_Ns3NdnFibI_face_methods(root_module, cls):
6684 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_face::i_face() [constructor]
6685 cls.add_constructor([])
6686 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_face::i_face(ns3::ndn::fib::i_face const & arg0) [copy constructor]
6687 cls.add_constructor([param('ns3::ndn::fib::i_face const &', 'arg0')])
6688 return
6689
6690def register_Ns3NdnFibI_metric_methods(root_module, cls):
6691 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_metric::i_metric() [constructor]
6692 cls.add_constructor([])
6693 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_metric::i_metric(ns3::ndn::fib::i_metric const & arg0) [copy constructor]
6694 cls.add_constructor([param('ns3::ndn::fib::i_metric const &', 'arg0')])
6695 return
6696
6697def register_Ns3NdnFibI_nth_methods(root_module, cls):
6698 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_nth::i_nth() [constructor]
6699 cls.add_constructor([])
6700 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_nth::i_nth(ns3::ndn::fib::i_nth const & arg0) [copy constructor]
6701 cls.add_constructor([param('ns3::ndn::fib::i_nth const &', 'arg0')])
6702 return
6703
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006704def register_Ns3NdnFwTag_methods(root_module, cls):
6705 ## ndn-fw-tag.h (module 'ndnSIM'): ns3::ndn::fw::Tag::Tag() [constructor]
6706 cls.add_constructor([])
6707 ## ndn-fw-tag.h (module 'ndnSIM'): ns3::ndn::fw::Tag::Tag(ns3::ndn::fw::Tag const & arg0) [copy constructor]
6708 cls.add_constructor([param('ns3::ndn::fw::Tag const &', 'arg0')])
6709 return
6710
Alexander Afanasyev76b11572013-07-16 21:49:50 -07006711def register_Ns3NdnNameComponent_methods(root_module, cls):
6712 cls.add_output_stream_operator()
6713 cls.add_binary_comparison_operator('<')
6714 cls.add_binary_comparison_operator('<=')
6715 cls.add_binary_comparison_operator('>')
6716 cls.add_binary_comparison_operator('>=')
6717 ## name-component.h (module 'ndnSIM'): ns3::ndn::name::Component::Component(ns3::ndn::name::Component const & arg0) [copy constructor]
6718 cls.add_constructor([param('ns3::ndn::name::Component const &', 'arg0')])
6719 ## name-component.h (module 'ndnSIM'): ns3::ndn::name::Component::Component() [constructor]
6720 cls.add_constructor([])
6721 ## name-component.h (module 'ndnSIM'): ns3::ndn::name::Component::Component(std::string const & uri) [constructor]
6722 cls.add_constructor([param('std::string const &', 'uri')])
6723 ## name-component.h (module 'ndnSIM'): ns3::ndn::name::Component::Component(__gnu_cxx::__normal_iterator<char const*, std::string> begin, __gnu_cxx::__normal_iterator<char const*, std::string> end) [constructor]
6724 cls.add_constructor([param('__gnu_cxx::__normal_iterator< char const *, std::string >', 'begin'), param('__gnu_cxx::__normal_iterator< char const *, std::string >', 'end')])
6725 ## name-component.h (module 'ndnSIM'): ns3::ndn::name::Component::Component(void const * buf, size_t length) [constructor]
6726 cls.add_constructor([param('void const *', 'buf'), param('size_t', 'length')])
6727 ## name-component.h (module 'ndnSIM'): int ns3::ndn::name::Component::compare(ns3::ndn::name::Component const & other) const [member function]
6728 cls.add_method('compare',
6729 'int',
6730 [param('ns3::ndn::name::Component const &', 'other')],
6731 is_const=True)
6732 ## name-component.h (module 'ndnSIM'): ns3::ndn::name::Component & ns3::ndn::name::Component::fromNumber(uint64_t number) [member function]
6733 cls.add_method('fromNumber',
6734 'ns3::ndn::name::Component &',
6735 [param('uint64_t', 'number')])
6736 ## name-component.h (module 'ndnSIM'): ns3::ndn::name::Component & ns3::ndn::name::Component::fromNumberWithMarker(uint64_t number, unsigned char marker) [member function]
6737 cls.add_method('fromNumberWithMarker',
6738 'ns3::ndn::name::Component &',
6739 [param('uint64_t', 'number'), param('unsigned char', 'marker')])
6740 ## name-component.h (module 'ndnSIM'): ns3::ndn::name::Component & ns3::ndn::name::Component::fromUri(std::string const & uri) [member function]
6741 cls.add_method('fromUri',
6742 'ns3::ndn::name::Component &',
6743 [param('std::string const &', 'uri')])
6744 ## name-component.h (module 'ndnSIM'): ns3::ndn::name::Component & ns3::ndn::name::Component::fromUri(__gnu_cxx::__normal_iterator<char const*, std::string> begin, __gnu_cxx::__normal_iterator<char const*, std::string> end) [member function]
6745 cls.add_method('fromUri',
6746 'ns3::ndn::name::Component &',
6747 [param('__gnu_cxx::__normal_iterator< char const *, std::string >', 'begin'), param('__gnu_cxx::__normal_iterator< char const *, std::string >', 'end')])
6748 ## name-component.h (module 'ndnSIM'): uint64_t ns3::ndn::name::Component::toBlkId() const [member function]
6749 cls.add_method('toBlkId',
6750 'uint64_t',
6751 [],
6752 is_const=True)
6753 ## name-component.h (module 'ndnSIM'): std::string ns3::ndn::name::Component::toBlob() const [member function]
6754 cls.add_method('toBlob',
6755 'std::string',
6756 [],
6757 is_const=True)
6758 ## name-component.h (module 'ndnSIM'): void ns3::ndn::name::Component::toBlob(std::ostream & os) const [member function]
6759 cls.add_method('toBlob',
6760 'void',
6761 [param('std::ostream &', 'os')],
6762 is_const=True)
6763 ## name-component.h (module 'ndnSIM'): uint64_t ns3::ndn::name::Component::toControlNum() const [member function]
6764 cls.add_method('toControlNum',
6765 'uint64_t',
6766 [],
6767 is_const=True)
6768 ## name-component.h (module 'ndnSIM'): uint64_t ns3::ndn::name::Component::toNumber() const [member function]
6769 cls.add_method('toNumber',
6770 'uint64_t',
6771 [],
6772 is_const=True)
6773 ## name-component.h (module 'ndnSIM'): uint64_t ns3::ndn::name::Component::toNumberWithMarker(unsigned char marker) const [member function]
6774 cls.add_method('toNumberWithMarker',
6775 'uint64_t',
6776 [param('unsigned char', 'marker')],
6777 is_const=True)
6778 ## name-component.h (module 'ndnSIM'): uint64_t ns3::ndn::name::Component::toSeqNum() const [member function]
6779 cls.add_method('toSeqNum',
6780 'uint64_t',
6781 [],
6782 is_const=True)
6783 ## name-component.h (module 'ndnSIM'): std::string ns3::ndn::name::Component::toUri() const [member function]
6784 cls.add_method('toUri',
6785 'std::string',
6786 [],
6787 is_const=True)
6788 ## name-component.h (module 'ndnSIM'): void ns3::ndn::name::Component::toUri(std::ostream & os) const [member function]
6789 cls.add_method('toUri',
6790 'void',
6791 [param('std::ostream &', 'os')],
6792 is_const=True)
6793 ## name-component.h (module 'ndnSIM'): uint64_t ns3::ndn::name::Component::toVersion() const [member function]
6794 cls.add_method('toVersion',
6795 'uint64_t',
6796 [],
6797 is_const=True)
6798 return
6799
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006800def register_Ns3NdnPitEntry_methods(root_module, cls):
6801 cls.add_output_stream_operator()
6802 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::Entry::Entry(ns3::ndn::pit::Entry const & arg0) [copy constructor]
6803 cls.add_constructor([param('ns3::ndn::pit::Entry const &', 'arg0')])
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07006804 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::Entry::Entry(ns3::ndn::Pit & container, ns3::Ptr<ns3::ndn::Interest const> header, ns3::Ptr<ns3::ndn::fib::Entry> fibEntry) [constructor]
6805 cls.add_constructor([param('ns3::ndn::Pit &', 'container'), param('ns3::Ptr< ns3::ndn::Interest const >', 'header'), param('ns3::Ptr< ns3::ndn::fib::Entry >', 'fibEntry')])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006806 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::AddFwTag(boost::shared_ptr<ns3::ndn::fw::Tag> tag) [member function]
6807 cls.add_method('AddFwTag',
6808 'void',
6809 [param('boost::shared_ptr< ns3::ndn::fw::Tag >', 'tag')])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006810 ## 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]
6811 cls.add_method('AddIncoming',
6812 'std::_Rb_tree_const_iterator< ns3::ndn::pit::IncomingFace >',
6813 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
6814 is_virtual=True)
Alexander Afanasyevc202fd92012-09-03 21:46:00 -07006815 ## 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 -07006816 cls.add_method('AddOutgoing',
Alexander Afanasyevc202fd92012-09-03 21:46:00 -07006817 'std::_Rb_tree_const_iterator< ns3::ndn::pit::OutgoingFace >',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006818 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
6819 is_virtual=True)
6820 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::AddSeenNonce(uint32_t nonce) [member function]
6821 cls.add_method('AddSeenNonce',
6822 'void',
6823 [param('uint32_t', 'nonce')],
6824 is_virtual=True)
6825 ## ndn-pit-entry.h (module 'ndnSIM'): bool ns3::ndn::pit::Entry::AreAllOutgoingInVain() const [member function]
6826 cls.add_method('AreAllOutgoingInVain',
6827 'bool',
6828 [],
6829 is_const=True)
6830 ## ndn-pit-entry.h (module 'ndnSIM'): bool ns3::ndn::pit::Entry::AreTherePromisingOutgoingFacesExcept(ns3::Ptr<ns3::ndn::Face> face) const [member function]
6831 cls.add_method('AreTherePromisingOutgoingFacesExcept',
6832 'bool',
6833 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
6834 is_const=True)
6835 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::ClearIncoming() [member function]
6836 cls.add_method('ClearIncoming',
6837 'void',
6838 [],
6839 is_virtual=True)
6840 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::ClearOutgoing() [member function]
6841 cls.add_method('ClearOutgoing',
6842 'void',
6843 [],
6844 is_virtual=True)
6845 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::Time const & ns3::ndn::pit::Entry::GetExpireTime() const [member function]
6846 cls.add_method('GetExpireTime',
6847 'ns3::Time const &',
6848 [],
6849 is_const=True)
6850 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::fib::Entry> ns3::ndn::pit::Entry::GetFibEntry() [member function]
6851 cls.add_method('GetFibEntry',
6852 'ns3::Ptr< ns3::ndn::fib::Entry >',
6853 [])
6854 ## 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]
6855 cls.add_method('GetIncoming',
6856 'std::set< ns3::ndn::pit::IncomingFace > const &',
6857 [],
6858 is_const=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07006859 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::Interest const> ns3::ndn::pit::Entry::GetInterest() const [member function]
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006860 cls.add_method('GetInterest',
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07006861 'ns3::Ptr< ns3::ndn::Interest const >',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006862 [],
6863 is_const=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006864 ## ndn-pit-entry.h (module 'ndnSIM'): uint32_t ns3::ndn::pit::Entry::GetMaxRetxCount() const [member function]
6865 cls.add_method('GetMaxRetxCount',
6866 'uint32_t',
6867 [],
6868 is_const=True)
Alexander Afanasyevc202fd92012-09-03 21:46:00 -07006869 ## 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 -07006870 cls.add_method('GetOutgoing',
Alexander Afanasyevc202fd92012-09-03 21:46:00 -07006871 'std::set< ns3::ndn::pit::OutgoingFace > const &',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006872 [],
6873 is_const=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006874 ## ndn-pit-entry.h (module 'ndnSIM'): uint32_t ns3::ndn::pit::Entry::GetOutgoingCount() const [member function]
6875 cls.add_method('GetOutgoingCount',
6876 'uint32_t',
6877 [],
6878 is_const=True)
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07006879 ## 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 -07006880 cls.add_method('GetPrefix',
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07006881 'ns3::ndn::Name const &',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006882 [],
6883 is_const=True)
6884 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::IncreaseAllowedRetxCount() [member function]
6885 cls.add_method('IncreaseAllowedRetxCount',
6886 'void',
6887 [],
6888 is_virtual=True)
6889 ## ndn-pit-entry.h (module 'ndnSIM'): bool ns3::ndn::pit::Entry::IsNonceSeen(uint32_t nonce) const [member function]
6890 cls.add_method('IsNonceSeen',
6891 'bool',
6892 [param('uint32_t', 'nonce')],
6893 is_const=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006894 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::OffsetLifetime(ns3::Time const & offsetTime) [member function]
6895 cls.add_method('OffsetLifetime',
6896 'void',
6897 [param('ns3::Time const &', 'offsetTime')],
6898 is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006899 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::RemoveAllReferencesToFace(ns3::Ptr<ns3::ndn::Face> face) [member function]
6900 cls.add_method('RemoveAllReferencesToFace',
6901 'void',
6902 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
6903 is_virtual=True)
6904 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::RemoveIncoming(ns3::Ptr<ns3::ndn::Face> face) [member function]
6905 cls.add_method('RemoveIncoming',
6906 'void',
6907 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
6908 is_virtual=True)
6909 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::SetWaitingInVain(ns3::Ptr<ns3::ndn::Face> face) [member function]
6910 cls.add_method('SetWaitingInVain',
6911 'void',
6912 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
6913 is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006914 ## 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 -07006915 cls.add_method('UpdateLifetime',
6916 'void',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006917 [param('ns3::Time const &', 'lifetime')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006918 is_virtual=True)
6919 return
6920
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08006921def register_Ns3NdnPitEntryIsNotEmpty_methods(root_module, cls):
6922 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::EntryIsNotEmpty::EntryIsNotEmpty() [constructor]
6923 cls.add_constructor([])
6924 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::EntryIsNotEmpty::EntryIsNotEmpty(ns3::ndn::pit::EntryIsNotEmpty const & arg0) [copy constructor]
6925 cls.add_constructor([param('ns3::ndn::pit::EntryIsNotEmpty const &', 'arg0')])
6926 ## ndn-pit-entry.h (module 'ndnSIM'): bool ns3::ndn::pit::EntryIsNotEmpty::operator()(ns3::Ptr<ns3::ndn::pit::Entry> entry) [member operator]
6927 cls.add_method('operator()',
6928 'bool',
6929 [param('ns3::Ptr< ns3::ndn::pit::Entry >', 'entry')],
6930 custom_name='__call__')
6931 return
6932
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006933def register_Ns3NdnPitIncomingFace_methods(root_module, cls):
6934 cls.add_binary_comparison_operator('==')
6935 cls.add_binary_comparison_operator('<')
6936 ## ndn-pit-entry-incoming-face.h (module 'ndnSIM'): ns3::ndn::pit::IncomingFace::IncomingFace(ns3::ndn::pit::IncomingFace const & arg0) [copy constructor]
6937 cls.add_constructor([param('ns3::ndn::pit::IncomingFace const &', 'arg0')])
6938 ## ndn-pit-entry-incoming-face.h (module 'ndnSIM'): ns3::ndn::pit::IncomingFace::IncomingFace(ns3::Ptr<ns3::ndn::Face> face) [constructor]
6939 cls.add_constructor([param('ns3::Ptr< ns3::ndn::Face >', 'face')])
6940 ## ndn-pit-entry-incoming-face.h (module 'ndnSIM'): ns3::ndn::pit::IncomingFace::IncomingFace() [constructor]
6941 cls.add_constructor([])
6942 ## ndn-pit-entry-incoming-face.h (module 'ndnSIM'): ns3::ndn::pit::IncomingFace::m_arrivalTime [variable]
6943 cls.add_instance_attribute('m_arrivalTime', 'ns3::Time', is_const=False)
6944 ## ndn-pit-entry-incoming-face.h (module 'ndnSIM'): ns3::ndn::pit::IncomingFace::m_face [variable]
6945 cls.add_instance_attribute('m_face', 'ns3::Ptr< ns3::ndn::Face >', is_const=False)
6946 return
6947
6948def register_Ns3NdnPitOutgoingFace_methods(root_module, cls):
6949 cls.add_binary_comparison_operator('==')
6950 cls.add_binary_comparison_operator('<')
6951 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::OutgoingFace(ns3::ndn::pit::OutgoingFace const & arg0) [copy constructor]
6952 cls.add_constructor([param('ns3::ndn::pit::OutgoingFace const &', 'arg0')])
6953 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::OutgoingFace(ns3::Ptr<ns3::ndn::Face> face) [constructor]
6954 cls.add_constructor([param('ns3::Ptr< ns3::ndn::Face >', 'face')])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07006955 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::OutgoingFace() [constructor]
6956 cls.add_constructor([])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006957 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): void ns3::ndn::pit::OutgoingFace::UpdateOnRetransmit() [member function]
6958 cls.add_method('UpdateOnRetransmit',
6959 'void',
6960 [])
6961 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::m_face [variable]
6962 cls.add_instance_attribute('m_face', 'ns3::Ptr< ns3::ndn::Face >', is_const=False)
6963 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::m_retxCount [variable]
6964 cls.add_instance_attribute('m_retxCount', 'uint32_t', is_const=False)
6965 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::m_sendTime [variable]
6966 cls.add_instance_attribute('m_sendTime', 'ns3::Time', is_const=False)
6967 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::m_waitingInVain [variable]
6968 cls.add_instance_attribute('m_waitingInVain', 'bool', is_const=False)
6969 return
6970
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006971def register_Ns3NdnPitI_face_methods(root_module, cls):
6972 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::i_face::i_face() [constructor]
6973 cls.add_constructor([])
6974 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::i_face::i_face(ns3::ndn::pit::i_face const & arg0) [copy constructor]
6975 cls.add_constructor([param('ns3::ndn::pit::i_face const &', 'arg0')])
6976 return
6977
6978def register_Ns3NdnPitI_retx_methods(root_module, cls):
6979 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::i_retx::i_retx() [constructor]
6980 cls.add_constructor([])
6981 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::i_retx::i_retx(ns3::ndn::pit::i_retx const & arg0) [copy constructor]
6982 cls.add_constructor([param('ns3::ndn::pit::i_retx const &', 'arg0')])
6983 return
6984
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08006985def register_functions(root_module):
6986 module = root_module
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08006987 register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module)
6988 register_functions_ns3_internal(module.get_submodule('internal'), root_module)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006989 register_functions_ns3_ndn(module.get_submodule('ndn'), root_module)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08006990 return
6991
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08006992def register_functions_ns3_FatalImpl(module, root_module):
6993 return
6994
6995def register_functions_ns3_internal(module, root_module):
6996 return
6997
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006998def register_functions_ns3_ndn(module, root_module):
Alexander Afanasyev76b11572013-07-16 21:49:50 -07006999 ## ndn-wire.h (module 'ndnSIM'): ns3::Ptr<ns3::Packet> ns3::ndn::BufferToPacket(std::string const & buffer) [free function]
7000 module.add_function('BufferToPacket',
7001 'ns3::Ptr< ns3::Packet >',
7002 [param('std::string const &', 'buffer')])
7003 ## name.h (module 'ndnSIM'): extern ns3::Ptr<ns3::AttributeChecker const> ns3::ndn::MakeNameChecker() [free function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08007004 module.add_function('MakeNameChecker',
7005 'ns3::Ptr< ns3::AttributeChecker const >',
7006 [])
Alexander Afanasyev76b11572013-07-16 21:49:50 -07007007 ## ndn-wire.h (module 'ndnSIM'): std::string ns3::ndn::PacketToBuffer(ns3::Ptr<ns3::Packet const> pkt) [free function]
7008 module.add_function('PacketToBuffer',
7009 'std::string',
7010 [param('ns3::Ptr< ns3::Packet const >', 'pkt')])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07007011 register_functions_ns3_ndn_cs(module.get_submodule('cs'), root_module)
7012 register_functions_ns3_ndn_fib(module.get_submodule('fib'), root_module)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07007013 register_functions_ns3_ndn_fw(module.get_submodule('fw'), root_module)
Alexander Afanasyev76b11572013-07-16 21:49:50 -07007014 register_functions_ns3_ndn_name(module.get_submodule('name'), root_module)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07007015 register_functions_ns3_ndn_pit(module.get_submodule('pit'), root_module)
Alexander Afanasyev76b11572013-07-16 21:49:50 -07007016 register_functions_ns3_ndn_time(module.get_submodule('time'), root_module)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07007017 return
7018
7019def register_functions_ns3_ndn_cs(module, root_module):
7020 return
7021
7022def register_functions_ns3_ndn_fib(module, root_module):
7023 return
7024
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07007025def register_functions_ns3_ndn_fw(module, root_module):
7026 return
7027
Alexander Afanasyev76b11572013-07-16 21:49:50 -07007028def register_functions_ns3_ndn_name(module, root_module):
7029 return
7030
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07007031def register_functions_ns3_ndn_pit(module, root_module):
7032 return
7033
Alexander Afanasyev76b11572013-07-16 21:49:50 -07007034def register_functions_ns3_ndn_time(module, root_module):
7035 ## ndn-common.h (module 'ndnSIM'): ns3::Time ns3::ndn::time::NowUnixTimestamp() [free function]
7036 module.add_function('NowUnixTimestamp',
7037 'ns3::Time',
7038 [])
Alexander Afanasyeva6cc9102013-07-15 18:44:24 -07007039 return
7040
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08007041def main():
7042 out = FileCodeSink(sys.stdout)
7043 root_module = module_init()
7044 register_types(root_module)
7045 register_methods(root_module)
7046 register_functions(root_module)
7047 root_module.generate(out)
7048
7049if __name__ == '__main__':
7050 main()
7051