blob: 83bd1ad00958804bd92715584efd51751b1f9852 [file] [log] [blame]
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers
2
3
4import pybindgen.settings
5import warnings
6
7class ErrorHandler(pybindgen.settings.ErrorHandler):
8 def handle_error(self, wrapper, exception, traceback_):
9 warnings.warn("exception %r in wrapper %s" % (exception, wrapper))
10 return True
11pybindgen.settings.error_handler = ErrorHandler()
12
13
14import sys
15
16def module_init():
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -070017 root_module = Module('ns.ndnSIM', cpp_namespace='::ns3')
Alexander Afanasyev381dea02011-11-03 08:33:26 -070018 return root_module
19
20def register_types(module):
21 root_module = module.get_root()
22
Alexander Afanasyev381dea02011-11-03 08:33:26 -070023 ## address.h (module 'network'): ns3::Address [class]
24 module.add_class('Address', import_from_module='ns.network')
25 ## address.h (module 'network'): ns3::Address::MaxSize_e [enumeration]
26 module.add_enum('MaxSize_e', ['MAX_SIZE'], outer_class=root_module['ns3::Address'], import_from_module='ns.network')
27 ## application-container.h (module 'network'): ns3::ApplicationContainer [class]
28 module.add_class('ApplicationContainer', import_from_module='ns.network')
Alexander Afanasyev381dea02011-11-03 08:33:26 -070029 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class]
30 module.add_class('AttributeConstructionList', import_from_module='ns.core')
31 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct]
32 module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList'])
33 ## buffer.h (module 'network'): ns3::Buffer [class]
34 module.add_class('Buffer', import_from_module='ns.network')
35 ## buffer.h (module 'network'): ns3::Buffer::Iterator [class]
36 module.add_class('Iterator', import_from_module='ns.network', outer_class=root_module['ns3::Buffer'])
37 ## packet.h (module 'network'): ns3::ByteTagIterator [class]
38 module.add_class('ByteTagIterator', import_from_module='ns.network')
39 ## packet.h (module 'network'): ns3::ByteTagIterator::Item [class]
40 module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::ByteTagIterator'])
41 ## byte-tag-list.h (module 'network'): ns3::ByteTagList [class]
42 module.add_class('ByteTagList', import_from_module='ns.network')
43 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator [class]
44 module.add_class('Iterator', import_from_module='ns.network', outer_class=root_module['ns3::ByteTagList'])
45 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item [struct]
46 module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::ByteTagList::Iterator'])
47 ## callback.h (module 'core'): ns3::CallbackBase [class]
48 module.add_class('CallbackBase', import_from_module='ns.core')
Alexander Afanasyev381dea02011-11-03 08:33:26 -070049 ## event-id.h (module 'core'): ns3::EventId [class]
50 module.add_class('EventId', import_from_module='ns.core')
Alexander Afanasyev8d6e3f62013-07-27 16:10:44 -070051 ## hash.h (module 'core'): ns3::Hasher [class]
52 module.add_class('Hasher', import_from_module='ns.core')
Alexander Afanasyev381dea02011-11-03 08:33:26 -070053 ## ipv4-address.h (module 'network'): ns3::Ipv4Address [class]
54 module.add_class('Ipv4Address', import_from_module='ns.network')
55 ## ipv4-address.h (module 'network'): ns3::Ipv4Address [class]
56 root_module['ns3::Ipv4Address'].implicitly_converts_to(root_module['ns3::Address'])
57 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask [class]
58 module.add_class('Ipv4Mask', import_from_module='ns.network')
59 ## ipv6-address.h (module 'network'): ns3::Ipv6Address [class]
60 module.add_class('Ipv6Address', import_from_module='ns.network')
61 ## ipv6-address.h (module 'network'): ns3::Ipv6Address [class]
62 root_module['ns3::Ipv6Address'].implicitly_converts_to(root_module['ns3::Address'])
63 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix [class]
64 module.add_class('Ipv6Prefix', import_from_module='ns.network')
Alexander Afanasyev29c19b92012-09-03 23:46:41 -070065 ## net-device-container.h (module 'network'): ns3::NetDeviceContainer [class]
66 module.add_class('NetDeviceContainer', import_from_module='ns.network')
Alexander Afanasyev381dea02011-11-03 08:33:26 -070067 ## node-container.h (module 'network'): ns3::NodeContainer [class]
68 module.add_class('NodeContainer', import_from_module='ns.network')
69 ## object-base.h (module 'core'): ns3::ObjectBase [class]
70 module.add_class('ObjectBase', allow_subclassing=True, import_from_module='ns.core')
71 ## object.h (module 'core'): ns3::ObjectDeleter [struct]
72 module.add_class('ObjectDeleter', import_from_module='ns.core')
73 ## object-factory.h (module 'core'): ns3::ObjectFactory [class]
74 module.add_class('ObjectFactory', import_from_module='ns.core')
75 ## packet-metadata.h (module 'network'): ns3::PacketMetadata [class]
76 module.add_class('PacketMetadata', import_from_module='ns.network')
77 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item [struct]
78 module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::PacketMetadata'])
79 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item [enumeration]
80 module.add_enum('', ['PAYLOAD', 'HEADER', 'TRAILER'], outer_class=root_module['ns3::PacketMetadata::Item'], import_from_module='ns.network')
81 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator [class]
82 module.add_class('ItemIterator', import_from_module='ns.network', outer_class=root_module['ns3::PacketMetadata'])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -070083 ## packet.h (module 'network'): ns3::PacketTagIterator [class]
84 module.add_class('PacketTagIterator', import_from_module='ns.network')
85 ## packet.h (module 'network'): ns3::PacketTagIterator::Item [class]
86 module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::PacketTagIterator'])
87 ## packet-tag-list.h (module 'network'): ns3::PacketTagList [class]
88 module.add_class('PacketTagList', import_from_module='ns.network')
89 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData [struct]
90 module.add_class('TagData', import_from_module='ns.network', outer_class=root_module['ns3::PacketTagList'])
Alexander Afanasyev8d6e3f62013-07-27 16:10:44 -070091 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::TagData_e [enumeration]
92 module.add_enum('TagData_e', ['MAX_SIZE'], outer_class=root_module['ns3::PacketTagList::TagData'], import_from_module='ns.network')
Alexander Afanasyev29c19b92012-09-03 23:46:41 -070093 ## random-variable.h (module 'core'): ns3::RandomVariable [class]
94 module.add_class('RandomVariable', import_from_module='ns.core')
95 ## rng-seed-manager.h (module 'core'): ns3::RngSeedManager [class]
96 module.add_class('RngSeedManager', import_from_module='ns.core')
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -070097 ## sequence-number.h (module 'network'): ns3::SequenceNumber<unsigned int, int> [class]
98 module.add_class('SequenceNumber32', import_from_module='ns.network')
Alexander Afanasyev29c19b92012-09-03 23:46:41 -070099 ## random-variable.h (module 'core'): ns3::SequentialVariable [class]
100 module.add_class('SequentialVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700101 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter> [class]
102 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 -0700103 ## simulator.h (module 'core'): ns3::Simulator [class]
104 module.add_class('Simulator', destructor_visibility='private', import_from_module='ns.core')
Alexander Afanasyevad5acce2012-05-31 12:43:08 -0700105 ## tag.h (module 'network'): ns3::Tag [class]
106 module.add_class('Tag', import_from_module='ns.network', parent=root_module['ns3::ObjectBase'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700107 ## tag-buffer.h (module 'network'): ns3::TagBuffer [class]
108 module.add_class('TagBuffer', import_from_module='ns.network')
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -0700109 ## traced-value.h (module 'core'): ns3::TracedValue<ns3::ndn::fib::FaceMetric::Status> [class]
110 module.add_class('TracedValue', template_parameters=['ns3::ndn::fib::FaceMetric::Status'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700111 ## random-variable.h (module 'core'): ns3::TriangularVariable [class]
112 module.add_class('TriangularVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700113 ## type-id.h (module 'core'): ns3::TypeId [class]
114 module.add_class('TypeId', import_from_module='ns.core')
115 ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration]
116 module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core')
117 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct]
118 module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId'])
119 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct]
120 module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700121 ## random-variable.h (module 'core'): ns3::UniformVariable [class]
122 module.add_class('UniformVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700123 ## random-variable.h (module 'core'): ns3::WeibullVariable [class]
124 module.add_class('WeibullVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
125 ## random-variable.h (module 'core'): ns3::ZetaVariable [class]
126 module.add_class('ZetaVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
127 ## random-variable.h (module 'core'): ns3::ZipfVariable [class]
128 module.add_class('ZipfVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700129 ## empty.h (module 'core'): ns3::empty [class]
130 module.add_class('empty', import_from_module='ns.core')
131 ## int64x64-double.h (module 'core'): ns3::int64x64_t [class]
132 module.add_class('int64x64_t', import_from_module='ns.core')
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700133 ## chunk.h (module 'network'): ns3::Chunk [class]
Alexander Afanasyev4756b892012-04-18 14:48:43 -0700134 module.add_class('Chunk', import_from_module='ns.network', parent=root_module['ns3::ObjectBase'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700135 ## random-variable.h (module 'core'): ns3::ConstantVariable [class]
136 module.add_class('ConstantVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
137 ## random-variable.h (module 'core'): ns3::DeterministicVariable [class]
138 module.add_class('DeterministicVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
139 ## random-variable.h (module 'core'): ns3::EmpiricalVariable [class]
140 module.add_class('EmpiricalVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
141 ## random-variable.h (module 'core'): ns3::ErlangVariable [class]
142 module.add_class('ErlangVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
143 ## random-variable.h (module 'core'): ns3::ExponentialVariable [class]
144 module.add_class('ExponentialVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
145 ## random-variable.h (module 'core'): ns3::GammaVariable [class]
146 module.add_class('GammaVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700147 ## header.h (module 'network'): ns3::Header [class]
148 module.add_class('Header', import_from_module='ns.network', parent=root_module['ns3::Chunk'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700149 ## random-variable.h (module 'core'): ns3::IntEmpiricalVariable [class]
150 module.add_class('IntEmpiricalVariable', import_from_module='ns.core', parent=root_module['ns3::EmpiricalVariable'])
151 ## random-variable.h (module 'core'): ns3::LogNormalVariable [class]
152 module.add_class('LogNormalVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
153 ## random-variable.h (module 'core'): ns3::NormalVariable [class]
154 module.add_class('NormalVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700155 ## object.h (module 'core'): ns3::Object [class]
156 module.add_class('Object', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >'])
157 ## object.h (module 'core'): ns3::Object::AggregateIterator [class]
158 module.add_class('AggregateIterator', import_from_module='ns.core', outer_class=root_module['ns3::Object'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700159 ## random-variable.h (module 'core'): ns3::ParetoVariable [class]
160 module.add_class('ParetoVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700161 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> > [class]
162 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'))
163 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> > [class]
164 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'))
165 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> > [class]
166 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'))
167 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> > [class]
168 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::CallbackImplBase', 'ns3::empty', 'ns3::DefaultDeleter<ns3::CallbackImplBase>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700169 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> > [class]
170 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'))
Alexander Afanasyev8d6e3f62013-07-27 16:10:44 -0700171 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Hash::Implementation, ns3::empty, ns3::DefaultDeleter<ns3::Hash::Implementation> > [class]
172 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Hash::Implementation', 'ns3::empty', 'ns3::DefaultDeleter<ns3::Hash::Implementation>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700173 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> > [class]
174 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::NixVector', 'ns3::empty', 'ns3::DefaultDeleter<ns3::NixVector>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700175 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> > [class]
176 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 -0700177 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TopologyReader, ns3::empty, ns3::DefaultDeleter<ns3::TopologyReader> > [class]
178 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::TopologyReader', 'ns3::empty', 'ns3::DefaultDeleter<ns3::TopologyReader>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700179 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> > [class]
180 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 -0700181 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::ContentObject, ns3::empty, ns3::DefaultDeleter<ns3::ndn::ContentObject> > [class]
182 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 Afanasyev8d6e3f62013-07-27 16:10:44 -0700183 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::Exclude, ns3::empty, ns3::DefaultDeleter<ns3::ndn::Exclude> > [class]
184 module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::ndn::Exclude', 'ns3::empty', 'ns3::DefaultDeleter<ns3::ndn::Exclude>'], 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::FaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::ndn::FaceContainer> > [class]
186 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 -0700187 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::Interest, ns3::empty, ns3::DefaultDeleter<ns3::ndn::Interest> > [class]
188 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 -0800189 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::Name, ns3::empty, ns3::DefaultDeleter<ns3::ndn::Name> > [class]
190 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 -0700191 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::cs::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::cs::Entry> > [class]
192 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 -0700193 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::pit::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::pit::Entry> > [class]
194 module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::ndn::pit::Entry', 'ns3::empty', 'ns3::DefaultDeleter<ns3::ndn::pit::Entry>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700195 ## nstime.h (module 'core'): ns3::Time [class]
196 module.add_class('Time', import_from_module='ns.core')
197 ## nstime.h (module 'core'): ns3::Time::Unit [enumeration]
198 module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core')
199 ## nstime.h (module 'core'): ns3::Time [class]
200 root_module['ns3::Time'].implicitly_converts_to(root_module['ns3::int64x64_t'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700201 ## topology-reader.h (module 'topology-read'): ns3::TopologyReader [class]
202 module.add_class('TopologyReader', import_from_module='ns.topology_read', parent=root_module['ns3::SimpleRefCount< ns3::TopologyReader, ns3::empty, ns3::DefaultDeleter<ns3::TopologyReader> >'])
203 ## topology-reader.h (module 'topology-read'): ns3::TopologyReader::Link [class]
204 module.add_class('Link', import_from_module='ns.topology_read', outer_class=root_module['ns3::TopologyReader'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700205 ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor [class]
206 module.add_class('TraceSourceAccessor', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
207 ## trailer.h (module 'network'): ns3::Trailer [class]
208 module.add_class('Trailer', import_from_module='ns.network', parent=root_module['ns3::Chunk'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700209 ## annotated-topology-reader.h (module 'ndnSIM'): ns3::AnnotatedTopologyReader [class]
210 module.add_class('AnnotatedTopologyReader', parent=root_module['ns3::TopologyReader'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700211 ## application.h (module 'network'): ns3::Application [class]
212 module.add_class('Application', import_from_module='ns.network', parent=root_module['ns3::Object'])
213 ## attribute.h (module 'core'): ns3::AttributeAccessor [class]
214 module.add_class('AttributeAccessor', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >'])
215 ## attribute.h (module 'core'): ns3::AttributeChecker [class]
216 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> >'])
217 ## attribute.h (module 'core'): ns3::AttributeValue [class]
218 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 -0700219 ## boolean.h (module 'core'): ns3::BooleanChecker [class]
220 module.add_class('BooleanChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
221 ## boolean.h (module 'core'): ns3::BooleanValue [class]
222 module.add_class('BooleanValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyeve4795ae2013-07-11 20:01:31 -0700223 ## callback-based-app.h (module 'ndnSIM'): ns3::CallbackBasedApp [class]
224 module.add_class('CallbackBasedApp', parent=root_module['ns3::Application'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700225 ## callback.h (module 'core'): ns3::CallbackChecker [class]
226 module.add_class('CallbackChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
227 ## callback.h (module 'core'): ns3::CallbackImplBase [class]
228 module.add_class('CallbackImplBase', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >'])
229 ## callback.h (module 'core'): ns3::CallbackValue [class]
230 module.add_class('CallbackValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700231 ## double.h (module 'core'): ns3::DoubleValue [class]
232 module.add_class('DoubleValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700233 ## attribute.h (module 'core'): ns3::EmptyAttributeValue [class]
234 module.add_class('EmptyAttributeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700235 ## enum.h (module 'core'): ns3::EnumChecker [class]
236 module.add_class('EnumChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
237 ## enum.h (module 'core'): ns3::EnumValue [class]
238 module.add_class('EnumValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700239 ## event-impl.h (module 'core'): ns3::EventImpl [class]
240 module.add_class('EventImpl', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >'])
241 ## integer.h (module 'core'): ns3::IntegerValue [class]
242 module.add_class('IntegerValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
243 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker [class]
244 module.add_class('Ipv4AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
245 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue [class]
246 module.add_class('Ipv4AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
247 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker [class]
248 module.add_class('Ipv4MaskChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
249 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue [class]
250 module.add_class('Ipv4MaskValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
251 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker [class]
252 module.add_class('Ipv6AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
253 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue [class]
254 module.add_class('Ipv6AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
255 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker [class]
256 module.add_class('Ipv6PrefixChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
257 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue [class]
258 module.add_class('Ipv6PrefixValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700259 ## net-device.h (module 'network'): ns3::NetDevice [class]
260 module.add_class('NetDevice', import_from_module='ns.network', parent=root_module['ns3::Object'])
261 ## net-device.h (module 'network'): ns3::NetDevice::PacketType [enumeration]
262 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')
263 ## nix-vector.h (module 'network'): ns3::NixVector [class]
264 module.add_class('NixVector', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >'])
265 ## node.h (module 'network'): ns3::Node [class]
266 module.add_class('Node', import_from_module='ns.network', parent=root_module['ns3::Object'])
267 ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker [class]
268 module.add_class('ObjectFactoryChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
269 ## object-factory.h (module 'core'): ns3::ObjectFactoryValue [class]
270 module.add_class('ObjectFactoryValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700271 ## packet.h (module 'network'): ns3::Packet [class]
272 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 -0700273 ## random-variable.h (module 'core'): ns3::RandomVariableChecker [class]
274 module.add_class('RandomVariableChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
275 ## random-variable.h (module 'core'): ns3::RandomVariableValue [class]
276 module.add_class('RandomVariableValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
277 ## rocketfuel-weights-reader.h (module 'ndnSIM'): ns3::RocketfuelWeightsReader [class]
278 module.add_class('RocketfuelWeightsReader', parent=root_module['ns3::AnnotatedTopologyReader'])
279 ## rocketfuel-weights-reader.h (module 'ndnSIM'): ns3::RocketfuelWeightsReader [enumeration]
280 module.add_enum('', ['LINKS', 'WEIGHTS', 'LATENCIES', 'POSITIONS'], outer_class=root_module['ns3::RocketfuelWeightsReader'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700281 ## nstime.h (module 'core'): ns3::TimeValue [class]
282 module.add_class('TimeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
283 ## type-id.h (module 'core'): ns3::TypeIdChecker [class]
284 module.add_class('TypeIdChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
285 ## type-id.h (module 'core'): ns3::TypeIdValue [class]
286 module.add_class('TypeIdValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700287 ## uinteger.h (module 'core'): ns3::UintegerValue [class]
288 module.add_class('UintegerValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700289 ## address.h (module 'network'): ns3::AddressChecker [class]
290 module.add_class('AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
291 ## address.h (module 'network'): ns3::AddressValue [class]
292 module.add_class('AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700293 module.add_container('std::map< std::string, std::string >', ('std::string', 'std::string'), container_type='map')
294 module.add_container('std::list< ns3::TopologyReader::Link >', 'ns3::TopologyReader::Link', container_type='list')
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -0700295 typehandlers.add_type_alias('ns3::SequenceNumber< short unsigned int, short int >', 'ns3::SequenceNumber16')
296 typehandlers.add_type_alias('ns3::SequenceNumber< short unsigned int, short int >*', 'ns3::SequenceNumber16*')
297 typehandlers.add_type_alias('ns3::SequenceNumber< short unsigned int, short int >&', 'ns3::SequenceNumber16&')
298 typehandlers.add_type_alias('ns3::SequenceNumber< unsigned int, int >', 'ns3::SequenceNumber32')
299 typehandlers.add_type_alias('ns3::SequenceNumber< unsigned int, int >*', 'ns3::SequenceNumber32*')
300 typehandlers.add_type_alias('ns3::SequenceNumber< unsigned int, int >&', 'ns3::SequenceNumber32&')
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700301 typehandlers.add_type_alias('ns3::RngSeedManager', 'ns3::SeedManager')
302 typehandlers.add_type_alias('ns3::RngSeedManager*', 'ns3::SeedManager*')
303 typehandlers.add_type_alias('ns3::RngSeedManager&', 'ns3::SeedManager&')
304 module.add_typedef(root_module['ns3::RngSeedManager'], 'SeedManager')
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700305
306 ## Register a nested module for the namespace FatalImpl
307
308 nested_module = module.add_cpp_namespace('FatalImpl')
309 register_types_ns3_FatalImpl(nested_module)
310
311
Alexander Afanasyev8d6e3f62013-07-27 16:10:44 -0700312 ## Register a nested module for the namespace Hash
313
314 nested_module = module.add_cpp_namespace('Hash')
315 register_types_ns3_Hash(nested_module)
316
317
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700318 ## Register a nested module for the namespace internal
319
320 nested_module = module.add_cpp_namespace('internal')
321 register_types_ns3_internal(nested_module)
322
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700323
324 ## Register a nested module for the namespace ndn
325
326 nested_module = module.add_cpp_namespace('ndn')
327 register_types_ns3_ndn(nested_module)
328
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700329
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700330def register_types_ns3_FatalImpl(module):
331 root_module = module.get_root()
332
333
Alexander Afanasyev8d6e3f62013-07-27 16:10:44 -0700334def register_types_ns3_Hash(module):
335 root_module = module.get_root()
336
337 ## hash-function.h (module 'core'): ns3::Hash::Implementation [class]
338 module.add_class('Implementation', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::Hash::Implementation, ns3::empty, ns3::DefaultDeleter<ns3::Hash::Implementation> >'])
339 typehandlers.add_type_alias('uint64_t ( * ) ( char const *, size_t ) *', 'ns3::Hash::Hash64Function_ptr')
340 typehandlers.add_type_alias('uint64_t ( * ) ( char const *, size_t ) **', 'ns3::Hash::Hash64Function_ptr*')
341 typehandlers.add_type_alias('uint64_t ( * ) ( char const *, size_t ) *&', 'ns3::Hash::Hash64Function_ptr&')
342 typehandlers.add_type_alias('uint32_t ( * ) ( char const *, size_t ) *', 'ns3::Hash::Hash32Function_ptr')
343 typehandlers.add_type_alias('uint32_t ( * ) ( char const *, size_t ) **', 'ns3::Hash::Hash32Function_ptr*')
344 typehandlers.add_type_alias('uint32_t ( * ) ( char const *, size_t ) *&', 'ns3::Hash::Hash32Function_ptr&')
345
346 ## Register a nested module for the namespace Function
347
348 nested_module = module.add_cpp_namespace('Function')
349 register_types_ns3_Hash_Function(nested_module)
350
351
352def register_types_ns3_Hash_Function(module):
353 root_module = module.get_root()
354
355 ## hash-fnv.h (module 'core'): ns3::Hash::Function::Fnv1a [class]
356 module.add_class('Fnv1a', import_from_module='ns.core', parent=root_module['ns3::Hash::Implementation'])
357 ## hash-function.h (module 'core'): ns3::Hash::Function::Hash32 [class]
358 module.add_class('Hash32', import_from_module='ns.core', parent=root_module['ns3::Hash::Implementation'])
359 ## hash-function.h (module 'core'): ns3::Hash::Function::Hash64 [class]
360 module.add_class('Hash64', import_from_module='ns.core', parent=root_module['ns3::Hash::Implementation'])
361 ## hash-murmur3.h (module 'core'): ns3::Hash::Function::Murmur3 [class]
362 module.add_class('Murmur3', import_from_module='ns.core', parent=root_module['ns3::Hash::Implementation'])
363
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700364def register_types_ns3_internal(module):
365 root_module = module.get_root()
366
367
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700368def register_types_ns3_ndn(module):
369 root_module = module.get_root()
370
371 ## ndn-app.h (module 'ndnSIM'): ns3::ndn::App [class]
372 module.add_class('App', parent=root_module['ns3::Application'])
373 ## ndn-app-helper.h (module 'ndnSIM'): ns3::ndn::AppHelper [class]
374 module.add_class('AppHelper')
Alexander Afanasyev76b11572013-07-16 21:49:50 -0700375 ## blob.h (module 'ndnSIM'): ns3::ndn::Blob [class]
376 module.add_class('Blob')
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -0700377 ## ndn-content-object.h (module 'ndnSIM'): ns3::ndn::ContentObject [class]
Alexander Afanasyev858d5312013-07-10 18:50:18 -0700378 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 -0700379 ## ndn-content-object.h (module 'ndnSIM'): ns3::ndn::ContentObjectException [class]
380 module.add_class('ContentObjectException')
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700381 ## ndn-content-store.h (module 'ndnSIM'): ns3::ndn::ContentStore [class]
382 module.add_class('ContentStore', parent=root_module['ns3::Object'])
Alexander Afanasyev76b11572013-07-16 21:49:50 -0700383 ## exclude.h (module 'ndnSIM'): ns3::ndn::Exclude [class]
Alexander Afanasyev8d6e3f62013-07-27 16:10:44 -0700384 module.add_class('Exclude', parent=root_module['ns3::SimpleRefCount< ns3::ndn::Exclude, ns3::empty, ns3::DefaultDeleter<ns3::ndn::Exclude> >'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700385 ## ndn-face.h (module 'ndnSIM'): ns3::ndn::Face [class]
386 module.add_class('Face', parent=root_module['ns3::Object'])
Alexander Afanasyev858d5312013-07-10 18:50:18 -0700387 ## ndn-face.h (module 'ndnSIM'): ns3::ndn::Face::Flags [enumeration]
388 module.add_enum('Flags', ['APPLICATION'], outer_class=root_module['ns3::ndn::Face'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700389 ## ndn-face-container.h (module 'ndnSIM'): ns3::ndn::FaceContainer [class]
390 module.add_class('FaceContainer', parent=root_module['ns3::SimpleRefCount< ns3::ndn::FaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::ndn::FaceContainer> >'])
391 ## ndn-fib.h (module 'ndnSIM'): ns3::ndn::Fib [class]
392 module.add_class('Fib', parent=root_module['ns3::Object'])
393 ## ndn-forwarding-strategy.h (module 'ndnSIM'): ns3::ndn::ForwardingStrategy [class]
394 module.add_class('ForwardingStrategy', parent=root_module['ns3::Object'])
395 ## ndn-global-routing-helper.h (module 'ndnSIM'): ns3::ndn::GlobalRoutingHelper [class]
396 module.add_class('GlobalRoutingHelper')
397 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::HeaderHelper [class]
398 module.add_class('HeaderHelper')
399 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::HeaderHelper::Type [enumeration]
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -0800400 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 -0700401 ## ndn-interest.h (module 'ndnSIM'): ns3::ndn::Interest [class]
Alexander Afanasyev858d5312013-07-10 18:50:18 -0700402 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 -0700403 ## ndn-interest.h (module 'ndnSIM'): ns3::ndn::Interest [enumeration]
404 module.add_enum('', ['NORMAL_INTEREST', 'NACK_LOOP', 'NACK_CONGESTION', 'NACK_GIVEUP_PIT'], outer_class=root_module['ns3::ndn::Interest'])
405 ## ndn-interest.h (module 'ndnSIM'): ns3::ndn::InterestException [class]
406 module.add_class('InterestException')
Alexander Afanasyev8d6e3f62013-07-27 16:10:44 -0700407 ## ndn-ip-faces-helper.h (module 'ndnSIM'): ns3::ndn::IpFacesHelper [class]
408 module.add_class('IpFacesHelper')
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700409 ## ndn-l3-protocol.h (module 'ndnSIM'): ns3::ndn::L3Protocol [class]
410 module.add_class('L3Protocol', parent=root_module['ns3::Object'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700411 ## ndn-limits.h (module 'ndnSIM'): ns3::ndn::Limits [class]
412 module.add_class('Limits', parent=root_module['ns3::Object'])
Alexander Afanasyev8d6e3f62013-07-27 16:10:44 -0700413 ## ndn-link-control-helper.h (module 'ndnSIM'): ns3::ndn::LinkControlHelper [class]
414 module.add_class('LinkControlHelper')
Alexander Afanasyev76b11572013-07-16 21:49:50 -0700415 ## name.h (module 'ndnSIM'): ns3::ndn::Name [class]
Alexander Afanasyev32c07562013-02-01 12:58:43 -0800416 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 -0700417 ## name.h (module 'ndnSIM'): ns3::ndn::NameChecker [class]
Alexander Afanasyev32c07562013-02-01 12:58:43 -0800418 module.add_class('NameChecker', parent=root_module['ns3::AttributeChecker'])
Alexander Afanasyev76b11572013-07-16 21:49:50 -0700419 ## name.h (module 'ndnSIM'): ns3::ndn::NameValue [class]
Alexander Afanasyev32c07562013-02-01 12:58:43 -0800420 module.add_class('NameValue', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700421 ## ndn-net-device-face.h (module 'ndnSIM'): ns3::ndn::NetDeviceFace [class]
422 module.add_class('NetDeviceFace', parent=root_module['ns3::ndn::Face'])
423 ## ndn-pit.h (module 'ndnSIM'): ns3::ndn::Pit [class]
424 module.add_class('Pit', parent=root_module['ns3::Object'])
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -0700425 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::ndn::RttEstimator [class]
426 module.add_class('RttEstimator', parent=root_module['ns3::Object'])
427 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::ndn::RttHistory [class]
428 module.add_class('RttHistory')
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700429 ## ndn-stack-helper.h (module 'ndnSIM'): ns3::ndn::StackHelper [class]
430 module.add_class('StackHelper')
431 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::UnknownHeaderException [class]
432 module.add_class('UnknownHeaderException')
Alexander Afanasyev76b11572013-07-16 21:49:50 -0700433 ## ndn-wire.h (module 'ndnSIM'): ns3::ndn::Wire [struct]
434 module.add_class('Wire')
435 ## ndn-wire.h (module 'ndnSIM'): ns3::ndn::Wire [enumeration]
436 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 -0700437 ## ndn-api-face.h (module 'ndnSIM'): ns3::ndn::ApiFace [class]
438 module.add_class('ApiFace', parent=root_module['ns3::ndn::Face'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700439 ## ndn-app-face.h (module 'ndnSIM'): ns3::ndn::AppFace [class]
440 module.add_class('AppFace', parent=root_module['ns3::ndn::Face'])
Alexander Afanasyev76b11572013-07-16 21:49:50 -0700441 module.add_container('std::vector< char >', 'char', container_type='vector')
442 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 -0700443 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 -0700444 typehandlers.add_type_alias('ns3::ndn::ContentObject', 'ns3::ndn::ContentObjectHeader')
445 typehandlers.add_type_alias('ns3::ndn::ContentObject*', 'ns3::ndn::ContentObjectHeader*')
446 typehandlers.add_type_alias('ns3::ndn::ContentObject&', 'ns3::ndn::ContentObjectHeader&')
447 module.add_typedef(root_module['ns3::ndn::ContentObject'], 'ContentObjectHeader')
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -0700448 typehandlers.add_type_alias('std::deque< ns3::ndn::RttHistory, std::allocator< ns3::ndn::RttHistory > >', 'ns3::ndn::RttHistory_t')
449 typehandlers.add_type_alias('std::deque< ns3::ndn::RttHistory, std::allocator< ns3::ndn::RttHistory > >*', 'ns3::ndn::RttHistory_t*')
450 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 -0700451 typehandlers.add_type_alias('ns3::Time', 'ns3::ndn::TimeInterval')
452 typehandlers.add_type_alias('ns3::Time*', 'ns3::ndn::TimeInterval*')
453 typehandlers.add_type_alias('ns3::Time&', 'ns3::ndn::TimeInterval&')
454 module.add_typedef(root_module['ns3::Time'], 'TimeInterval')
Alexander Afanasyeve5a8b5a2013-03-15 15:15:26 -0700455 typehandlers.add_type_alias('ns3::ndn::Name', 'ns3::ndn::NameComponents')
456 typehandlers.add_type_alias('ns3::ndn::Name*', 'ns3::ndn::NameComponents*')
457 typehandlers.add_type_alias('ns3::ndn::Name&', 'ns3::ndn::NameComponents&')
458 module.add_typedef(root_module['ns3::ndn::Name'], 'NameComponents')
Alexander Afanasyev76b11572013-07-16 21:49:50 -0700459 typehandlers.add_type_alias('ns3::ndn::Interest', 'ns3::ndn::InterestHeader')
460 typehandlers.add_type_alias('ns3::ndn::Interest*', 'ns3::ndn::InterestHeader*')
461 typehandlers.add_type_alias('ns3::ndn::Interest&', 'ns3::ndn::InterestHeader&')
462 module.add_typedef(root_module['ns3::ndn::Interest'], 'InterestHeader')
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700463
464 ## Register a nested module for the namespace cs
465
466 nested_module = module.add_cpp_namespace('cs')
467 register_types_ns3_ndn_cs(nested_module)
468
469
470 ## Register a nested module for the namespace fib
471
472 nested_module = module.add_cpp_namespace('fib')
473 register_types_ns3_ndn_fib(nested_module)
474
475
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700476 ## Register a nested module for the namespace fw
477
478 nested_module = module.add_cpp_namespace('fw')
479 register_types_ns3_ndn_fw(nested_module)
480
481
Alexander Afanasyev76b11572013-07-16 21:49:50 -0700482 ## Register a nested module for the namespace name
483
484 nested_module = module.add_cpp_namespace('name')
485 register_types_ns3_ndn_name(nested_module)
486
487
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700488 ## Register a nested module for the namespace pit
489
490 nested_module = module.add_cpp_namespace('pit')
491 register_types_ns3_ndn_pit(nested_module)
492
Alexander Afanasyeva6cc9102013-07-15 18:44:24 -0700493
Alexander Afanasyev76b11572013-07-16 21:49:50 -0700494 ## Register a nested module for the namespace time
Alexander Afanasyeva6cc9102013-07-15 18:44:24 -0700495
Alexander Afanasyev76b11572013-07-16 21:49:50 -0700496 nested_module = module.add_cpp_namespace('time')
497 register_types_ns3_ndn_time(nested_module)
Alexander Afanasyeva6cc9102013-07-15 18:44:24 -0700498
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700499
500def register_types_ns3_ndn_cs(module):
501 root_module = module.get_root()
502
503 ## ndn-content-store.h (module 'ndnSIM'): ns3::ndn::cs::Entry [class]
504 module.add_class('Entry', parent=root_module['ns3::SimpleRefCount< ns3::ndn::cs::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::cs::Entry> >'])
505
506def register_types_ns3_ndn_fib(module):
507 root_module = module.get_root()
508
509 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry [class]
Alexander Afanasyevf5c07742012-10-31 13:13:05 -0700510 module.add_class('Entry', parent=root_module['ns3::Object'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700511 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::NoFaces [class]
512 module.add_class('NoFaces', outer_class=root_module['ns3::ndn::fib::Entry'])
513 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric [class]
514 module.add_class('FaceMetric')
515 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric::Status [enumeration]
516 module.add_enum('Status', ['NDN_FIB_GREEN', 'NDN_FIB_YELLOW', 'NDN_FIB_RED'], outer_class=root_module['ns3::ndn::fib::FaceMetric'])
517 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetricContainer [struct]
518 module.add_class('FaceMetricContainer')
519 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_face [class]
520 module.add_class('i_face')
521 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_metric [class]
522 module.add_class('i_metric')
523 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_nth [class]
524 module.add_class('i_nth')
525
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700526def register_types_ns3_ndn_fw(module):
527 root_module = module.get_root()
528
529 ## ndn-fw-tag.h (module 'ndnSIM'): ns3::ndn::fw::Tag [class]
530 module.add_class('Tag')
531
Alexander Afanasyev76b11572013-07-16 21:49:50 -0700532def register_types_ns3_ndn_name(module):
533 root_module = module.get_root()
534
535 ## name-component.h (module 'ndnSIM'): ns3::ndn::name::Component [class]
536 module.add_class('Component', parent=root_module['ns3::ndn::Blob'])
537
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700538def register_types_ns3_ndn_pit(module):
539 root_module = module.get_root()
540
541 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::Entry [class]
542 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 -0800543 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::EntryIsNotEmpty [struct]
544 module.add_class('EntryIsNotEmpty')
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700545 ## ndn-pit-entry-incoming-face.h (module 'ndnSIM'): ns3::ndn::pit::IncomingFace [struct]
546 module.add_class('IncomingFace')
547 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace [struct]
548 module.add_class('OutgoingFace')
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700549 module.add_container('std::set< ns3::ndn::pit::IncomingFace >', 'ns3::ndn::pit::IncomingFace', container_type='set')
Alexander Afanasyevc202fd92012-09-03 21:46:00 -0700550 module.add_container('std::set< ns3::ndn::pit::OutgoingFace >', 'ns3::ndn::pit::OutgoingFace', container_type='set')
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700551 module.add_container('std::set< unsigned int >', 'unsigned int', container_type='set')
552
Alexander Afanasyev76b11572013-07-16 21:49:50 -0700553def register_types_ns3_ndn_time(module):
Alexander Afanasyeva6cc9102013-07-15 18:44:24 -0700554 root_module = module.get_root()
555
Alexander Afanasyeva6cc9102013-07-15 18:44:24 -0700556
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700557def register_methods(root_module):
558 register_Ns3Address_methods(root_module, root_module['ns3::Address'])
559 register_Ns3ApplicationContainer_methods(root_module, root_module['ns3::ApplicationContainer'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700560 register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList'])
561 register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item'])
562 register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer'])
563 register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator'])
564 register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator'])
565 register_Ns3ByteTagIteratorItem_methods(root_module, root_module['ns3::ByteTagIterator::Item'])
566 register_Ns3ByteTagList_methods(root_module, root_module['ns3::ByteTagList'])
567 register_Ns3ByteTagListIterator_methods(root_module, root_module['ns3::ByteTagList::Iterator'])
568 register_Ns3ByteTagListIteratorItem_methods(root_module, root_module['ns3::ByteTagList::Iterator::Item'])
569 register_Ns3CallbackBase_methods(root_module, root_module['ns3::CallbackBase'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700570 register_Ns3EventId_methods(root_module, root_module['ns3::EventId'])
Alexander Afanasyev8d6e3f62013-07-27 16:10:44 -0700571 register_Ns3Hasher_methods(root_module, root_module['ns3::Hasher'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700572 register_Ns3Ipv4Address_methods(root_module, root_module['ns3::Ipv4Address'])
573 register_Ns3Ipv4Mask_methods(root_module, root_module['ns3::Ipv4Mask'])
574 register_Ns3Ipv6Address_methods(root_module, root_module['ns3::Ipv6Address'])
575 register_Ns3Ipv6Prefix_methods(root_module, root_module['ns3::Ipv6Prefix'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700576 register_Ns3NetDeviceContainer_methods(root_module, root_module['ns3::NetDeviceContainer'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700577 register_Ns3NodeContainer_methods(root_module, root_module['ns3::NodeContainer'])
578 register_Ns3ObjectBase_methods(root_module, root_module['ns3::ObjectBase'])
579 register_Ns3ObjectDeleter_methods(root_module, root_module['ns3::ObjectDeleter'])
580 register_Ns3ObjectFactory_methods(root_module, root_module['ns3::ObjectFactory'])
581 register_Ns3PacketMetadata_methods(root_module, root_module['ns3::PacketMetadata'])
582 register_Ns3PacketMetadataItem_methods(root_module, root_module['ns3::PacketMetadata::Item'])
583 register_Ns3PacketMetadataItemIterator_methods(root_module, root_module['ns3::PacketMetadata::ItemIterator'])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -0700584 register_Ns3PacketTagIterator_methods(root_module, root_module['ns3::PacketTagIterator'])
585 register_Ns3PacketTagIteratorItem_methods(root_module, root_module['ns3::PacketTagIterator::Item'])
586 register_Ns3PacketTagList_methods(root_module, root_module['ns3::PacketTagList'])
587 register_Ns3PacketTagListTagData_methods(root_module, root_module['ns3::PacketTagList::TagData'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700588 register_Ns3RandomVariable_methods(root_module, root_module['ns3::RandomVariable'])
589 register_Ns3RngSeedManager_methods(root_module, root_module['ns3::RngSeedManager'])
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -0700590 register_Ns3SequenceNumber32_methods(root_module, root_module['ns3::SequenceNumber32'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700591 register_Ns3SequentialVariable_methods(root_module, root_module['ns3::SequentialVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700592 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 -0700593 register_Ns3Simulator_methods(root_module, root_module['ns3::Simulator'])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -0700594 register_Ns3Tag_methods(root_module, root_module['ns3::Tag'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700595 register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer'])
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -0700596 register_Ns3TracedValue__Ns3NdnFibFaceMetricStatus_methods(root_module, root_module['ns3::TracedValue< ns3::ndn::fib::FaceMetric::Status >'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700597 register_Ns3TriangularVariable_methods(root_module, root_module['ns3::TriangularVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700598 register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId'])
599 register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation'])
600 register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700601 register_Ns3UniformVariable_methods(root_module, root_module['ns3::UniformVariable'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700602 register_Ns3WeibullVariable_methods(root_module, root_module['ns3::WeibullVariable'])
603 register_Ns3ZetaVariable_methods(root_module, root_module['ns3::ZetaVariable'])
604 register_Ns3ZipfVariable_methods(root_module, root_module['ns3::ZipfVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700605 register_Ns3Empty_methods(root_module, root_module['ns3::empty'])
606 register_Ns3Int64x64_t_methods(root_module, root_module['ns3::int64x64_t'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700607 register_Ns3Chunk_methods(root_module, root_module['ns3::Chunk'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700608 register_Ns3ConstantVariable_methods(root_module, root_module['ns3::ConstantVariable'])
609 register_Ns3DeterministicVariable_methods(root_module, root_module['ns3::DeterministicVariable'])
610 register_Ns3EmpiricalVariable_methods(root_module, root_module['ns3::EmpiricalVariable'])
611 register_Ns3ErlangVariable_methods(root_module, root_module['ns3::ErlangVariable'])
612 register_Ns3ExponentialVariable_methods(root_module, root_module['ns3::ExponentialVariable'])
613 register_Ns3GammaVariable_methods(root_module, root_module['ns3::GammaVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700614 register_Ns3Header_methods(root_module, root_module['ns3::Header'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700615 register_Ns3IntEmpiricalVariable_methods(root_module, root_module['ns3::IntEmpiricalVariable'])
616 register_Ns3LogNormalVariable_methods(root_module, root_module['ns3::LogNormalVariable'])
617 register_Ns3NormalVariable_methods(root_module, root_module['ns3::NormalVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700618 register_Ns3Object_methods(root_module, root_module['ns3::Object'])
619 register_Ns3ObjectAggregateIterator_methods(root_module, root_module['ns3::Object::AggregateIterator'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700620 register_Ns3ParetoVariable_methods(root_module, root_module['ns3::ParetoVariable'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700621 register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >'])
622 register_Ns3SimpleRefCount__Ns3AttributeChecker_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeChecker__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >'])
623 register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeValue__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >'])
624 register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__lt__ns3CallbackImplBase__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700625 register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >'])
Alexander Afanasyev8d6e3f62013-07-27 16:10:44 -0700626 register_Ns3SimpleRefCount__Ns3HashImplementation_Ns3Empty_Ns3DefaultDeleter__lt__ns3HashImplementation__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Hash::Implementation, ns3::empty, ns3::DefaultDeleter<ns3::Hash::Implementation> >'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700627 register_Ns3SimpleRefCount__Ns3NixVector_Ns3Empty_Ns3DefaultDeleter__lt__ns3NixVector__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700628 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 -0700629 register_Ns3SimpleRefCount__Ns3TopologyReader_Ns3Empty_Ns3DefaultDeleter__lt__ns3TopologyReader__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TopologyReader, ns3::empty, ns3::DefaultDeleter<ns3::TopologyReader> >'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700630 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 -0700631 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 Afanasyev8d6e3f62013-07-27 16:10:44 -0700632 register_Ns3SimpleRefCount__Ns3NdnExclude_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnExclude__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::ndn::Exclude, ns3::empty, ns3::DefaultDeleter<ns3::ndn::Exclude> >'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700633 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 -0700634 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 -0800635 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 -0700636 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 -0700637 register_Ns3SimpleRefCount__Ns3NdnPitEntry_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnPitEntry__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::ndn::pit::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::pit::Entry> >'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700638 register_Ns3Time_methods(root_module, root_module['ns3::Time'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700639 register_Ns3TopologyReader_methods(root_module, root_module['ns3::TopologyReader'])
640 register_Ns3TopologyReaderLink_methods(root_module, root_module['ns3::TopologyReader::Link'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700641 register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor'])
642 register_Ns3Trailer_methods(root_module, root_module['ns3::Trailer'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700643 register_Ns3AnnotatedTopologyReader_methods(root_module, root_module['ns3::AnnotatedTopologyReader'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700644 register_Ns3Application_methods(root_module, root_module['ns3::Application'])
645 register_Ns3AttributeAccessor_methods(root_module, root_module['ns3::AttributeAccessor'])
646 register_Ns3AttributeChecker_methods(root_module, root_module['ns3::AttributeChecker'])
647 register_Ns3AttributeValue_methods(root_module, root_module['ns3::AttributeValue'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700648 register_Ns3BooleanChecker_methods(root_module, root_module['ns3::BooleanChecker'])
649 register_Ns3BooleanValue_methods(root_module, root_module['ns3::BooleanValue'])
Alexander Afanasyeve4795ae2013-07-11 20:01:31 -0700650 register_Ns3CallbackBasedApp_methods(root_module, root_module['ns3::CallbackBasedApp'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700651 register_Ns3CallbackChecker_methods(root_module, root_module['ns3::CallbackChecker'])
652 register_Ns3CallbackImplBase_methods(root_module, root_module['ns3::CallbackImplBase'])
653 register_Ns3CallbackValue_methods(root_module, root_module['ns3::CallbackValue'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700654 register_Ns3DoubleValue_methods(root_module, root_module['ns3::DoubleValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700655 register_Ns3EmptyAttributeValue_methods(root_module, root_module['ns3::EmptyAttributeValue'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700656 register_Ns3EnumChecker_methods(root_module, root_module['ns3::EnumChecker'])
657 register_Ns3EnumValue_methods(root_module, root_module['ns3::EnumValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700658 register_Ns3EventImpl_methods(root_module, root_module['ns3::EventImpl'])
659 register_Ns3IntegerValue_methods(root_module, root_module['ns3::IntegerValue'])
660 register_Ns3Ipv4AddressChecker_methods(root_module, root_module['ns3::Ipv4AddressChecker'])
661 register_Ns3Ipv4AddressValue_methods(root_module, root_module['ns3::Ipv4AddressValue'])
662 register_Ns3Ipv4MaskChecker_methods(root_module, root_module['ns3::Ipv4MaskChecker'])
663 register_Ns3Ipv4MaskValue_methods(root_module, root_module['ns3::Ipv4MaskValue'])
664 register_Ns3Ipv6AddressChecker_methods(root_module, root_module['ns3::Ipv6AddressChecker'])
665 register_Ns3Ipv6AddressValue_methods(root_module, root_module['ns3::Ipv6AddressValue'])
666 register_Ns3Ipv6PrefixChecker_methods(root_module, root_module['ns3::Ipv6PrefixChecker'])
667 register_Ns3Ipv6PrefixValue_methods(root_module, root_module['ns3::Ipv6PrefixValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700668 register_Ns3NetDevice_methods(root_module, root_module['ns3::NetDevice'])
669 register_Ns3NixVector_methods(root_module, root_module['ns3::NixVector'])
670 register_Ns3Node_methods(root_module, root_module['ns3::Node'])
671 register_Ns3ObjectFactoryChecker_methods(root_module, root_module['ns3::ObjectFactoryChecker'])
672 register_Ns3ObjectFactoryValue_methods(root_module, root_module['ns3::ObjectFactoryValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700673 register_Ns3Packet_methods(root_module, root_module['ns3::Packet'])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -0700674 register_Ns3RandomVariableChecker_methods(root_module, root_module['ns3::RandomVariableChecker'])
675 register_Ns3RandomVariableValue_methods(root_module, root_module['ns3::RandomVariableValue'])
676 register_Ns3RocketfuelWeightsReader_methods(root_module, root_module['ns3::RocketfuelWeightsReader'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700677 register_Ns3TimeValue_methods(root_module, root_module['ns3::TimeValue'])
678 register_Ns3TypeIdChecker_methods(root_module, root_module['ns3::TypeIdChecker'])
679 register_Ns3TypeIdValue_methods(root_module, root_module['ns3::TypeIdValue'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700680 register_Ns3UintegerValue_methods(root_module, root_module['ns3::UintegerValue'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700681 register_Ns3AddressChecker_methods(root_module, root_module['ns3::AddressChecker'])
682 register_Ns3AddressValue_methods(root_module, root_module['ns3::AddressValue'])
Alexander Afanasyev8d6e3f62013-07-27 16:10:44 -0700683 register_Ns3HashImplementation_methods(root_module, root_module['ns3::Hash::Implementation'])
684 register_Ns3HashFunctionFnv1a_methods(root_module, root_module['ns3::Hash::Function::Fnv1a'])
685 register_Ns3HashFunctionHash32_methods(root_module, root_module['ns3::Hash::Function::Hash32'])
686 register_Ns3HashFunctionHash64_methods(root_module, root_module['ns3::Hash::Function::Hash64'])
687 register_Ns3HashFunctionMurmur3_methods(root_module, root_module['ns3::Hash::Function::Murmur3'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700688 register_Ns3NdnApp_methods(root_module, root_module['ns3::ndn::App'])
689 register_Ns3NdnAppHelper_methods(root_module, root_module['ns3::ndn::AppHelper'])
Alexander Afanasyev76b11572013-07-16 21:49:50 -0700690 register_Ns3NdnBlob_methods(root_module, root_module['ns3::ndn::Blob'])
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -0700691 register_Ns3NdnContentObject_methods(root_module, root_module['ns3::ndn::ContentObject'])
692 register_Ns3NdnContentObjectException_methods(root_module, root_module['ns3::ndn::ContentObjectException'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700693 register_Ns3NdnContentStore_methods(root_module, root_module['ns3::ndn::ContentStore'])
Alexander Afanasyev76b11572013-07-16 21:49:50 -0700694 register_Ns3NdnExclude_methods(root_module, root_module['ns3::ndn::Exclude'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700695 register_Ns3NdnFace_methods(root_module, root_module['ns3::ndn::Face'])
696 register_Ns3NdnFaceContainer_methods(root_module, root_module['ns3::ndn::FaceContainer'])
697 register_Ns3NdnFib_methods(root_module, root_module['ns3::ndn::Fib'])
698 register_Ns3NdnForwardingStrategy_methods(root_module, root_module['ns3::ndn::ForwardingStrategy'])
699 register_Ns3NdnGlobalRoutingHelper_methods(root_module, root_module['ns3::ndn::GlobalRoutingHelper'])
700 register_Ns3NdnHeaderHelper_methods(root_module, root_module['ns3::ndn::HeaderHelper'])
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -0700701 register_Ns3NdnInterest_methods(root_module, root_module['ns3::ndn::Interest'])
702 register_Ns3NdnInterestException_methods(root_module, root_module['ns3::ndn::InterestException'])
Alexander Afanasyev8d6e3f62013-07-27 16:10:44 -0700703 register_Ns3NdnIpFacesHelper_methods(root_module, root_module['ns3::ndn::IpFacesHelper'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700704 register_Ns3NdnL3Protocol_methods(root_module, root_module['ns3::ndn::L3Protocol'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700705 register_Ns3NdnLimits_methods(root_module, root_module['ns3::ndn::Limits'])
Alexander Afanasyev8d6e3f62013-07-27 16:10:44 -0700706 register_Ns3NdnLinkControlHelper_methods(root_module, root_module['ns3::ndn::LinkControlHelper'])
Alexander Afanasyev32c07562013-02-01 12:58:43 -0800707 register_Ns3NdnName_methods(root_module, root_module['ns3::ndn::Name'])
708 register_Ns3NdnNameChecker_methods(root_module, root_module['ns3::ndn::NameChecker'])
Alexander Afanasyev32c07562013-02-01 12:58:43 -0800709 register_Ns3NdnNameValue_methods(root_module, root_module['ns3::ndn::NameValue'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700710 register_Ns3NdnNetDeviceFace_methods(root_module, root_module['ns3::ndn::NetDeviceFace'])
711 register_Ns3NdnPit_methods(root_module, root_module['ns3::ndn::Pit'])
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -0700712 register_Ns3NdnRttEstimator_methods(root_module, root_module['ns3::ndn::RttEstimator'])
713 register_Ns3NdnRttHistory_methods(root_module, root_module['ns3::ndn::RttHistory'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700714 register_Ns3NdnStackHelper_methods(root_module, root_module['ns3::ndn::StackHelper'])
715 register_Ns3NdnUnknownHeaderException_methods(root_module, root_module['ns3::ndn::UnknownHeaderException'])
Alexander Afanasyev76b11572013-07-16 21:49:50 -0700716 register_Ns3NdnWire_methods(root_module, root_module['ns3::ndn::Wire'])
Alexander Afanasyeva4e74282013-07-11 15:23:20 -0700717 register_Ns3NdnApiFace_methods(root_module, root_module['ns3::ndn::ApiFace'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700718 register_Ns3NdnAppFace_methods(root_module, root_module['ns3::ndn::AppFace'])
719 register_Ns3NdnCsEntry_methods(root_module, root_module['ns3::ndn::cs::Entry'])
720 register_Ns3NdnFibEntry_methods(root_module, root_module['ns3::ndn::fib::Entry'])
721 register_Ns3NdnFibEntryNoFaces_methods(root_module, root_module['ns3::ndn::fib::Entry::NoFaces'])
722 register_Ns3NdnFibFaceMetric_methods(root_module, root_module['ns3::ndn::fib::FaceMetric'])
723 register_Ns3NdnFibFaceMetricContainer_methods(root_module, root_module['ns3::ndn::fib::FaceMetricContainer'])
724 register_Ns3NdnFibI_face_methods(root_module, root_module['ns3::ndn::fib::i_face'])
725 register_Ns3NdnFibI_metric_methods(root_module, root_module['ns3::ndn::fib::i_metric'])
726 register_Ns3NdnFibI_nth_methods(root_module, root_module['ns3::ndn::fib::i_nth'])
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700727 register_Ns3NdnFwTag_methods(root_module, root_module['ns3::ndn::fw::Tag'])
Alexander Afanasyev76b11572013-07-16 21:49:50 -0700728 register_Ns3NdnNameComponent_methods(root_module, root_module['ns3::ndn::name::Component'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700729 register_Ns3NdnPitEntry_methods(root_module, root_module['ns3::ndn::pit::Entry'])
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -0800730 register_Ns3NdnPitEntryIsNotEmpty_methods(root_module, root_module['ns3::ndn::pit::EntryIsNotEmpty'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700731 register_Ns3NdnPitIncomingFace_methods(root_module, root_module['ns3::ndn::pit::IncomingFace'])
732 register_Ns3NdnPitOutgoingFace_methods(root_module, root_module['ns3::ndn::pit::OutgoingFace'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700733 return
734
735def register_Ns3Address_methods(root_module, cls):
736 cls.add_binary_comparison_operator('!=')
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -0700737 cls.add_output_stream_operator()
Alexander Afanasyeva28ec562012-10-25 14:07:32 -0700738 cls.add_binary_comparison_operator('==')
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700739 cls.add_binary_comparison_operator('<')
740 ## address.h (module 'network'): ns3::Address::Address() [constructor]
741 cls.add_constructor([])
742 ## address.h (module 'network'): ns3::Address::Address(uint8_t type, uint8_t const * buffer, uint8_t len) [constructor]
743 cls.add_constructor([param('uint8_t', 'type'), param('uint8_t const *', 'buffer'), param('uint8_t', 'len')])
744 ## address.h (module 'network'): ns3::Address::Address(ns3::Address const & address) [copy constructor]
745 cls.add_constructor([param('ns3::Address const &', 'address')])
746 ## address.h (module 'network'): bool ns3::Address::CheckCompatible(uint8_t type, uint8_t len) const [member function]
747 cls.add_method('CheckCompatible',
748 'bool',
749 [param('uint8_t', 'type'), param('uint8_t', 'len')],
750 is_const=True)
751 ## address.h (module 'network'): uint32_t ns3::Address::CopyAllFrom(uint8_t const * buffer, uint8_t len) [member function]
752 cls.add_method('CopyAllFrom',
753 'uint32_t',
754 [param('uint8_t const *', 'buffer'), param('uint8_t', 'len')])
755 ## address.h (module 'network'): uint32_t ns3::Address::CopyAllTo(uint8_t * buffer, uint8_t len) const [member function]
756 cls.add_method('CopyAllTo',
757 'uint32_t',
758 [param('uint8_t *', 'buffer'), param('uint8_t', 'len')],
759 is_const=True)
760 ## address.h (module 'network'): uint32_t ns3::Address::CopyFrom(uint8_t const * buffer, uint8_t len) [member function]
761 cls.add_method('CopyFrom',
762 'uint32_t',
763 [param('uint8_t const *', 'buffer'), param('uint8_t', 'len')])
764 ## address.h (module 'network'): uint32_t ns3::Address::CopyTo(uint8_t * buffer) const [member function]
765 cls.add_method('CopyTo',
766 'uint32_t',
767 [param('uint8_t *', 'buffer')],
768 is_const=True)
769 ## address.h (module 'network'): void ns3::Address::Deserialize(ns3::TagBuffer buffer) [member function]
770 cls.add_method('Deserialize',
771 'void',
772 [param('ns3::TagBuffer', 'buffer')])
773 ## address.h (module 'network'): uint8_t ns3::Address::GetLength() const [member function]
774 cls.add_method('GetLength',
775 'uint8_t',
776 [],
777 is_const=True)
778 ## address.h (module 'network'): uint32_t ns3::Address::GetSerializedSize() const [member function]
779 cls.add_method('GetSerializedSize',
780 'uint32_t',
781 [],
782 is_const=True)
783 ## address.h (module 'network'): bool ns3::Address::IsInvalid() const [member function]
784 cls.add_method('IsInvalid',
785 'bool',
786 [],
787 is_const=True)
788 ## address.h (module 'network'): bool ns3::Address::IsMatchingType(uint8_t type) const [member function]
789 cls.add_method('IsMatchingType',
790 'bool',
791 [param('uint8_t', 'type')],
792 is_const=True)
793 ## address.h (module 'network'): static uint8_t ns3::Address::Register() [member function]
794 cls.add_method('Register',
795 'uint8_t',
796 [],
797 is_static=True)
798 ## address.h (module 'network'): void ns3::Address::Serialize(ns3::TagBuffer buffer) const [member function]
799 cls.add_method('Serialize',
800 'void',
801 [param('ns3::TagBuffer', 'buffer')],
802 is_const=True)
803 return
804
805def register_Ns3ApplicationContainer_methods(root_module, cls):
806 ## application-container.h (module 'network'): ns3::ApplicationContainer::ApplicationContainer(ns3::ApplicationContainer const & arg0) [copy constructor]
807 cls.add_constructor([param('ns3::ApplicationContainer const &', 'arg0')])
808 ## application-container.h (module 'network'): ns3::ApplicationContainer::ApplicationContainer() [constructor]
809 cls.add_constructor([])
810 ## application-container.h (module 'network'): ns3::ApplicationContainer::ApplicationContainer(ns3::Ptr<ns3::Application> application) [constructor]
811 cls.add_constructor([param('ns3::Ptr< ns3::Application >', 'application')])
812 ## application-container.h (module 'network'): ns3::ApplicationContainer::ApplicationContainer(std::string name) [constructor]
813 cls.add_constructor([param('std::string', 'name')])
814 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Add(ns3::ApplicationContainer other) [member function]
815 cls.add_method('Add',
816 'void',
817 [param('ns3::ApplicationContainer', 'other')])
818 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Add(ns3::Ptr<ns3::Application> application) [member function]
819 cls.add_method('Add',
820 'void',
821 [param('ns3::Ptr< ns3::Application >', 'application')])
822 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Add(std::string name) [member function]
823 cls.add_method('Add',
824 'void',
825 [param('std::string', 'name')])
826 ## 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]
827 cls.add_method('Begin',
828 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Application > const, std::vector< ns3::Ptr< ns3::Application > > >',
829 [],
830 is_const=True)
831 ## 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]
832 cls.add_method('End',
833 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Application > const, std::vector< ns3::Ptr< ns3::Application > > >',
834 [],
835 is_const=True)
836 ## application-container.h (module 'network'): ns3::Ptr<ns3::Application> ns3::ApplicationContainer::Get(uint32_t i) const [member function]
837 cls.add_method('Get',
838 'ns3::Ptr< ns3::Application >',
839 [param('uint32_t', 'i')],
840 is_const=True)
841 ## application-container.h (module 'network'): uint32_t ns3::ApplicationContainer::GetN() const [member function]
842 cls.add_method('GetN',
843 'uint32_t',
844 [],
845 is_const=True)
846 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Start(ns3::Time start) [member function]
847 cls.add_method('Start',
848 'void',
849 [param('ns3::Time', 'start')])
850 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Stop(ns3::Time stop) [member function]
851 cls.add_method('Stop',
852 'void',
853 [param('ns3::Time', 'stop')])
854 return
855
Alexander Afanasyev381dea02011-11-03 08:33:26 -0700856def register_Ns3AttributeConstructionList_methods(root_module, cls):
857 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor]
858 cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')])
859 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor]
860 cls.add_constructor([])
861 ## 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]
862 cls.add_method('Add',
863 'void',
864 [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')])
865 ## attribute-construction-list.h (module 'core'): std::_List_const_iterator<ns3::AttributeConstructionList::Item> ns3::AttributeConstructionList::Begin() const [member function]
866 cls.add_method('Begin',
867 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >',
868 [],
869 is_const=True)
870 ## attribute-construction-list.h (module 'core'): std::_List_const_iterator<ns3::AttributeConstructionList::Item> ns3::AttributeConstructionList::End() const [member function]
871 cls.add_method('End',
872 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >',
873 [],
874 is_const=True)
875 ## attribute-construction-list.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeConstructionList::Find(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
876 cls.add_method('Find',
877 'ns3::Ptr< ns3::AttributeValue >',
878 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
879 is_const=True)
880 return
881
882def register_Ns3AttributeConstructionListItem_methods(root_module, cls):
883 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor]
884 cls.add_constructor([])
885 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor]
886 cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')])
887 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable]
888 cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False)
889 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable]
890 cls.add_instance_attribute('name', 'std::string', is_const=False)
891 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable]
892 cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False)
893 return
894
895def register_Ns3Buffer_methods(root_module, cls):
896 ## buffer.h (module 'network'): ns3::Buffer::Buffer() [constructor]
897 cls.add_constructor([])
898 ## buffer.h (module 'network'): ns3::Buffer::Buffer(uint32_t dataSize) [constructor]
899 cls.add_constructor([param('uint32_t', 'dataSize')])
900 ## buffer.h (module 'network'): ns3::Buffer::Buffer(uint32_t dataSize, bool initialize) [constructor]
901 cls.add_constructor([param('uint32_t', 'dataSize'), param('bool', 'initialize')])
902 ## buffer.h (module 'network'): ns3::Buffer::Buffer(ns3::Buffer const & o) [copy constructor]
903 cls.add_constructor([param('ns3::Buffer const &', 'o')])
904 ## buffer.h (module 'network'): bool ns3::Buffer::AddAtEnd(uint32_t end) [member function]
905 cls.add_method('AddAtEnd',
906 'bool',
907 [param('uint32_t', 'end')])
908 ## buffer.h (module 'network'): void ns3::Buffer::AddAtEnd(ns3::Buffer const & o) [member function]
909 cls.add_method('AddAtEnd',
910 'void',
911 [param('ns3::Buffer const &', 'o')])
912 ## buffer.h (module 'network'): bool ns3::Buffer::AddAtStart(uint32_t start) [member function]
913 cls.add_method('AddAtStart',
914 'bool',
915 [param('uint32_t', 'start')])
916 ## buffer.h (module 'network'): ns3::Buffer::Iterator ns3::Buffer::Begin() const [member function]
917 cls.add_method('Begin',
918 'ns3::Buffer::Iterator',
919 [],
920 is_const=True)
921 ## buffer.h (module 'network'): void ns3::Buffer::CopyData(std::ostream * os, uint32_t size) const [member function]
922 cls.add_method('CopyData',
923 'void',
924 [param('std::ostream *', 'os'), param('uint32_t', 'size')],
925 is_const=True)
926 ## buffer.h (module 'network'): uint32_t ns3::Buffer::CopyData(uint8_t * buffer, uint32_t size) const [member function]
927 cls.add_method('CopyData',
928 'uint32_t',
929 [param('uint8_t *', 'buffer'), param('uint32_t', 'size')],
930 is_const=True)
931 ## buffer.h (module 'network'): ns3::Buffer ns3::Buffer::CreateFragment(uint32_t start, uint32_t length) const [member function]
932 cls.add_method('CreateFragment',
933 'ns3::Buffer',
934 [param('uint32_t', 'start'), param('uint32_t', 'length')],
935 is_const=True)
936 ## buffer.h (module 'network'): ns3::Buffer ns3::Buffer::CreateFullCopy() const [member function]
937 cls.add_method('CreateFullCopy',
938 'ns3::Buffer',
939 [],
940 is_const=True)
941 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Deserialize(uint8_t const * buffer, uint32_t size) [member function]
942 cls.add_method('Deserialize',
943 'uint32_t',
944 [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
945 ## buffer.h (module 'network'): ns3::Buffer::Iterator ns3::Buffer::End() const [member function]
946 cls.add_method('End',
947 'ns3::Buffer::Iterator',
948 [],
949 is_const=True)
950 ## buffer.h (module 'network'): int32_t ns3::Buffer::GetCurrentEndOffset() const [member function]
951 cls.add_method('GetCurrentEndOffset',
952 'int32_t',
953 [],
954 is_const=True)
955 ## buffer.h (module 'network'): int32_t ns3::Buffer::GetCurrentStartOffset() const [member function]
956 cls.add_method('GetCurrentStartOffset',
957 'int32_t',
958 [],
959 is_const=True)
960 ## buffer.h (module 'network'): uint32_t ns3::Buffer::GetSerializedSize() const [member function]
961 cls.add_method('GetSerializedSize',
962 'uint32_t',
963 [],
964 is_const=True)
965 ## buffer.h (module 'network'): uint32_t ns3::Buffer::GetSize() const [member function]
966 cls.add_method('GetSize',
967 'uint32_t',
968 [],
969 is_const=True)
970 ## buffer.h (module 'network'): uint8_t const * ns3::Buffer::PeekData() const [member function]
971 cls.add_method('PeekData',
972 'uint8_t const *',
973 [],
974 is_const=True)
975 ## buffer.h (module 'network'): void ns3::Buffer::RemoveAtEnd(uint32_t end) [member function]
976 cls.add_method('RemoveAtEnd',
977 'void',
978 [param('uint32_t', 'end')])
979 ## buffer.h (module 'network'): void ns3::Buffer::RemoveAtStart(uint32_t start) [member function]
980 cls.add_method('RemoveAtStart',
981 'void',
982 [param('uint32_t', 'start')])
983 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
984 cls.add_method('Serialize',
985 'uint32_t',
986 [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')],
987 is_const=True)
988 return
989
990def register_Ns3BufferIterator_methods(root_module, cls):
991 ## buffer.h (module 'network'): ns3::Buffer::Iterator::Iterator(ns3::Buffer::Iterator const & arg0) [copy constructor]
992 cls.add_constructor([param('ns3::Buffer::Iterator const &', 'arg0')])
993 ## buffer.h (module 'network'): ns3::Buffer::Iterator::Iterator() [constructor]
994 cls.add_constructor([])
995 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::CalculateIpChecksum(uint16_t size) [member function]
996 cls.add_method('CalculateIpChecksum',
997 'uint16_t',
998 [param('uint16_t', 'size')])
999 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::CalculateIpChecksum(uint16_t size, uint32_t initialChecksum) [member function]
1000 cls.add_method('CalculateIpChecksum',
1001 'uint16_t',
1002 [param('uint16_t', 'size'), param('uint32_t', 'initialChecksum')])
1003 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::GetDistanceFrom(ns3::Buffer::Iterator const & o) const [member function]
1004 cls.add_method('GetDistanceFrom',
1005 'uint32_t',
1006 [param('ns3::Buffer::Iterator const &', 'o')],
1007 is_const=True)
1008 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::GetSize() const [member function]
1009 cls.add_method('GetSize',
1010 'uint32_t',
1011 [],
1012 is_const=True)
1013 ## buffer.h (module 'network'): bool ns3::Buffer::Iterator::IsEnd() const [member function]
1014 cls.add_method('IsEnd',
1015 'bool',
1016 [],
1017 is_const=True)
1018 ## buffer.h (module 'network'): bool ns3::Buffer::Iterator::IsStart() const [member function]
1019 cls.add_method('IsStart',
1020 'bool',
1021 [],
1022 is_const=True)
1023 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Next() [member function]
1024 cls.add_method('Next',
1025 'void',
1026 [])
1027 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Next(uint32_t delta) [member function]
1028 cls.add_method('Next',
1029 'void',
1030 [param('uint32_t', 'delta')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001031 ## buffer.h (module 'network'): uint8_t ns3::Buffer::Iterator::PeekU8() [member function]
1032 cls.add_method('PeekU8',
1033 'uint8_t',
1034 [])
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001035 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Prev() [member function]
1036 cls.add_method('Prev',
1037 'void',
1038 [])
1039 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Prev(uint32_t delta) [member function]
1040 cls.add_method('Prev',
1041 'void',
1042 [param('uint32_t', 'delta')])
1043 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Read(uint8_t * buffer, uint32_t size) [member function]
1044 cls.add_method('Read',
1045 'void',
1046 [param('uint8_t *', 'buffer'), param('uint32_t', 'size')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001047 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Read(ns3::Buffer::Iterator start, uint32_t size) [member function]
1048 cls.add_method('Read',
1049 'void',
1050 [param('ns3::Buffer::Iterator', 'start'), param('uint32_t', 'size')])
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001051 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadLsbtohU16() [member function]
1052 cls.add_method('ReadLsbtohU16',
1053 'uint16_t',
1054 [])
1055 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadLsbtohU32() [member function]
1056 cls.add_method('ReadLsbtohU32',
1057 'uint32_t',
1058 [])
1059 ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadLsbtohU64() [member function]
1060 cls.add_method('ReadLsbtohU64',
1061 'uint64_t',
1062 [])
1063 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadNtohU16() [member function]
1064 cls.add_method('ReadNtohU16',
1065 'uint16_t',
1066 [])
1067 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadNtohU32() [member function]
1068 cls.add_method('ReadNtohU32',
1069 'uint32_t',
1070 [])
1071 ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadNtohU64() [member function]
1072 cls.add_method('ReadNtohU64',
1073 'uint64_t',
1074 [])
1075 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadU16() [member function]
1076 cls.add_method('ReadU16',
1077 'uint16_t',
1078 [])
1079 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadU32() [member function]
1080 cls.add_method('ReadU32',
1081 'uint32_t',
1082 [])
1083 ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadU64() [member function]
1084 cls.add_method('ReadU64',
1085 'uint64_t',
1086 [])
1087 ## buffer.h (module 'network'): uint8_t ns3::Buffer::Iterator::ReadU8() [member function]
1088 cls.add_method('ReadU8',
1089 'uint8_t',
1090 [])
1091 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Write(uint8_t const * buffer, uint32_t size) [member function]
1092 cls.add_method('Write',
1093 'void',
1094 [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
1095 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Write(ns3::Buffer::Iterator start, ns3::Buffer::Iterator end) [member function]
1096 cls.add_method('Write',
1097 'void',
1098 [param('ns3::Buffer::Iterator', 'start'), param('ns3::Buffer::Iterator', 'end')])
1099 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU16(uint16_t data) [member function]
1100 cls.add_method('WriteHtolsbU16',
1101 'void',
1102 [param('uint16_t', 'data')])
1103 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU32(uint32_t data) [member function]
1104 cls.add_method('WriteHtolsbU32',
1105 'void',
1106 [param('uint32_t', 'data')])
1107 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU64(uint64_t data) [member function]
1108 cls.add_method('WriteHtolsbU64',
1109 'void',
1110 [param('uint64_t', 'data')])
1111 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU16(uint16_t data) [member function]
1112 cls.add_method('WriteHtonU16',
1113 'void',
1114 [param('uint16_t', 'data')])
1115 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU32(uint32_t data) [member function]
1116 cls.add_method('WriteHtonU32',
1117 'void',
1118 [param('uint32_t', 'data')])
1119 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU64(uint64_t data) [member function]
1120 cls.add_method('WriteHtonU64',
1121 'void',
1122 [param('uint64_t', 'data')])
1123 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU16(uint16_t data) [member function]
1124 cls.add_method('WriteU16',
1125 'void',
1126 [param('uint16_t', 'data')])
1127 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU32(uint32_t data) [member function]
1128 cls.add_method('WriteU32',
1129 'void',
1130 [param('uint32_t', 'data')])
1131 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU64(uint64_t data) [member function]
1132 cls.add_method('WriteU64',
1133 'void',
1134 [param('uint64_t', 'data')])
1135 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU8(uint8_t data) [member function]
1136 cls.add_method('WriteU8',
1137 'void',
1138 [param('uint8_t', 'data')])
1139 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU8(uint8_t data, uint32_t len) [member function]
1140 cls.add_method('WriteU8',
1141 'void',
1142 [param('uint8_t', 'data'), param('uint32_t', 'len')])
1143 return
1144
1145def register_Ns3ByteTagIterator_methods(root_module, cls):
1146 ## packet.h (module 'network'): ns3::ByteTagIterator::ByteTagIterator(ns3::ByteTagIterator const & arg0) [copy constructor]
1147 cls.add_constructor([param('ns3::ByteTagIterator const &', 'arg0')])
1148 ## packet.h (module 'network'): bool ns3::ByteTagIterator::HasNext() const [member function]
1149 cls.add_method('HasNext',
1150 'bool',
1151 [],
1152 is_const=True)
1153 ## packet.h (module 'network'): ns3::ByteTagIterator::Item ns3::ByteTagIterator::Next() [member function]
1154 cls.add_method('Next',
1155 'ns3::ByteTagIterator::Item',
1156 [])
1157 return
1158
1159def register_Ns3ByteTagIteratorItem_methods(root_module, cls):
1160 ## packet.h (module 'network'): ns3::ByteTagIterator::Item::Item(ns3::ByteTagIterator::Item const & arg0) [copy constructor]
1161 cls.add_constructor([param('ns3::ByteTagIterator::Item const &', 'arg0')])
1162 ## packet.h (module 'network'): uint32_t ns3::ByteTagIterator::Item::GetEnd() const [member function]
1163 cls.add_method('GetEnd',
1164 'uint32_t',
1165 [],
1166 is_const=True)
1167 ## packet.h (module 'network'): uint32_t ns3::ByteTagIterator::Item::GetStart() const [member function]
1168 cls.add_method('GetStart',
1169 'uint32_t',
1170 [],
1171 is_const=True)
1172 ## packet.h (module 'network'): void ns3::ByteTagIterator::Item::GetTag(ns3::Tag & tag) const [member function]
1173 cls.add_method('GetTag',
1174 'void',
1175 [param('ns3::Tag &', 'tag')],
1176 is_const=True)
1177 ## packet.h (module 'network'): ns3::TypeId ns3::ByteTagIterator::Item::GetTypeId() const [member function]
1178 cls.add_method('GetTypeId',
1179 'ns3::TypeId',
1180 [],
1181 is_const=True)
1182 return
1183
1184def register_Ns3ByteTagList_methods(root_module, cls):
1185 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::ByteTagList() [constructor]
1186 cls.add_constructor([])
1187 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::ByteTagList(ns3::ByteTagList const & o) [copy constructor]
1188 cls.add_constructor([param('ns3::ByteTagList const &', 'o')])
1189 ## 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]
1190 cls.add_method('Add',
1191 'ns3::TagBuffer',
1192 [param('ns3::TypeId', 'tid'), param('uint32_t', 'bufferSize'), param('int32_t', 'start'), param('int32_t', 'end')])
1193 ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::Add(ns3::ByteTagList const & o) [member function]
1194 cls.add_method('Add',
1195 'void',
1196 [param('ns3::ByteTagList const &', 'o')])
1197 ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::AddAtEnd(int32_t adjustment, int32_t appendOffset) [member function]
1198 cls.add_method('AddAtEnd',
1199 'void',
1200 [param('int32_t', 'adjustment'), param('int32_t', 'appendOffset')])
1201 ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::AddAtStart(int32_t adjustment, int32_t prependOffset) [member function]
1202 cls.add_method('AddAtStart',
1203 'void',
1204 [param('int32_t', 'adjustment'), param('int32_t', 'prependOffset')])
1205 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator ns3::ByteTagList::Begin(int32_t offsetStart, int32_t offsetEnd) const [member function]
1206 cls.add_method('Begin',
1207 'ns3::ByteTagList::Iterator',
1208 [param('int32_t', 'offsetStart'), param('int32_t', 'offsetEnd')],
1209 is_const=True)
1210 ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::RemoveAll() [member function]
1211 cls.add_method('RemoveAll',
1212 'void',
1213 [])
1214 return
1215
1216def register_Ns3ByteTagListIterator_methods(root_module, cls):
1217 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Iterator(ns3::ByteTagList::Iterator const & arg0) [copy constructor]
1218 cls.add_constructor([param('ns3::ByteTagList::Iterator const &', 'arg0')])
1219 ## byte-tag-list.h (module 'network'): uint32_t ns3::ByteTagList::Iterator::GetOffsetStart() const [member function]
1220 cls.add_method('GetOffsetStart',
1221 'uint32_t',
1222 [],
1223 is_const=True)
1224 ## byte-tag-list.h (module 'network'): bool ns3::ByteTagList::Iterator::HasNext() const [member function]
1225 cls.add_method('HasNext',
1226 'bool',
1227 [],
1228 is_const=True)
1229 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item ns3::ByteTagList::Iterator::Next() [member function]
1230 cls.add_method('Next',
1231 'ns3::ByteTagList::Iterator::Item',
1232 [])
1233 return
1234
1235def register_Ns3ByteTagListIteratorItem_methods(root_module, cls):
1236 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::Item(ns3::ByteTagList::Iterator::Item const & arg0) [copy constructor]
1237 cls.add_constructor([param('ns3::ByteTagList::Iterator::Item const &', 'arg0')])
1238 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::Item(ns3::TagBuffer buf) [constructor]
1239 cls.add_constructor([param('ns3::TagBuffer', 'buf')])
1240 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::buf [variable]
1241 cls.add_instance_attribute('buf', 'ns3::TagBuffer', is_const=False)
1242 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::end [variable]
1243 cls.add_instance_attribute('end', 'int32_t', is_const=False)
1244 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::size [variable]
1245 cls.add_instance_attribute('size', 'uint32_t', is_const=False)
1246 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::start [variable]
1247 cls.add_instance_attribute('start', 'int32_t', is_const=False)
1248 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::tid [variable]
1249 cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
1250 return
1251
1252def register_Ns3CallbackBase_methods(root_module, cls):
1253 ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase(ns3::CallbackBase const & arg0) [copy constructor]
1254 cls.add_constructor([param('ns3::CallbackBase const &', 'arg0')])
1255 ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase() [constructor]
1256 cls.add_constructor([])
1257 ## callback.h (module 'core'): ns3::Ptr<ns3::CallbackImplBase> ns3::CallbackBase::GetImpl() const [member function]
1258 cls.add_method('GetImpl',
1259 'ns3::Ptr< ns3::CallbackImplBase >',
1260 [],
1261 is_const=True)
1262 ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase(ns3::Ptr<ns3::CallbackImplBase> impl) [constructor]
1263 cls.add_constructor([param('ns3::Ptr< ns3::CallbackImplBase >', 'impl')],
1264 visibility='protected')
1265 ## callback.h (module 'core'): static std::string ns3::CallbackBase::Demangle(std::string const & mangled) [member function]
1266 cls.add_method('Demangle',
1267 'std::string',
1268 [param('std::string const &', 'mangled')],
1269 is_static=True, visibility='protected')
1270 return
1271
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001272def register_Ns3EventId_methods(root_module, cls):
1273 cls.add_binary_comparison_operator('!=')
1274 cls.add_binary_comparison_operator('==')
1275 ## event-id.h (module 'core'): ns3::EventId::EventId(ns3::EventId const & arg0) [copy constructor]
1276 cls.add_constructor([param('ns3::EventId const &', 'arg0')])
1277 ## event-id.h (module 'core'): ns3::EventId::EventId() [constructor]
1278 cls.add_constructor([])
1279 ## event-id.h (module 'core'): ns3::EventId::EventId(ns3::Ptr<ns3::EventImpl> const & impl, uint64_t ts, uint32_t context, uint32_t uid) [constructor]
1280 cls.add_constructor([param('ns3::Ptr< ns3::EventImpl > const &', 'impl'), param('uint64_t', 'ts'), param('uint32_t', 'context'), param('uint32_t', 'uid')])
1281 ## event-id.h (module 'core'): void ns3::EventId::Cancel() [member function]
1282 cls.add_method('Cancel',
1283 'void',
1284 [])
1285 ## event-id.h (module 'core'): uint32_t ns3::EventId::GetContext() const [member function]
1286 cls.add_method('GetContext',
1287 'uint32_t',
1288 [],
1289 is_const=True)
1290 ## event-id.h (module 'core'): uint64_t ns3::EventId::GetTs() const [member function]
1291 cls.add_method('GetTs',
1292 'uint64_t',
1293 [],
1294 is_const=True)
1295 ## event-id.h (module 'core'): uint32_t ns3::EventId::GetUid() const [member function]
1296 cls.add_method('GetUid',
1297 'uint32_t',
1298 [],
1299 is_const=True)
1300 ## event-id.h (module 'core'): bool ns3::EventId::IsExpired() const [member function]
1301 cls.add_method('IsExpired',
1302 'bool',
1303 [],
1304 is_const=True)
1305 ## event-id.h (module 'core'): bool ns3::EventId::IsRunning() const [member function]
1306 cls.add_method('IsRunning',
1307 'bool',
1308 [],
1309 is_const=True)
1310 ## event-id.h (module 'core'): ns3::EventImpl * ns3::EventId::PeekEventImpl() const [member function]
1311 cls.add_method('PeekEventImpl',
1312 'ns3::EventImpl *',
1313 [],
1314 is_const=True)
1315 return
1316
Alexander Afanasyev8d6e3f62013-07-27 16:10:44 -07001317def register_Ns3Hasher_methods(root_module, cls):
1318 ## hash.h (module 'core'): ns3::Hasher::Hasher(ns3::Hasher const & arg0) [copy constructor]
1319 cls.add_constructor([param('ns3::Hasher const &', 'arg0')])
1320 ## hash.h (module 'core'): ns3::Hasher::Hasher() [constructor]
1321 cls.add_constructor([])
1322 ## hash.h (module 'core'): ns3::Hasher::Hasher(ns3::Ptr<ns3::Hash::Implementation> hp) [constructor]
1323 cls.add_constructor([param('ns3::Ptr< ns3::Hash::Implementation >', 'hp')])
1324 ## hash.h (module 'core'): uint32_t ns3::Hasher::GetHash32(char const * buffer, size_t const size) [member function]
1325 cls.add_method('GetHash32',
1326 'uint32_t',
1327 [param('char const *', 'buffer'), param('size_t const', 'size')])
1328 ## hash.h (module 'core'): uint32_t ns3::Hasher::GetHash32(std::string const s) [member function]
1329 cls.add_method('GetHash32',
1330 'uint32_t',
1331 [param('std::string const', 's')])
1332 ## hash.h (module 'core'): uint64_t ns3::Hasher::GetHash64(char const * buffer, size_t const size) [member function]
1333 cls.add_method('GetHash64',
1334 'uint64_t',
1335 [param('char const *', 'buffer'), param('size_t const', 'size')])
1336 ## hash.h (module 'core'): uint64_t ns3::Hasher::GetHash64(std::string const s) [member function]
1337 cls.add_method('GetHash64',
1338 'uint64_t',
1339 [param('std::string const', 's')])
1340 ## hash.h (module 'core'): ns3::Hasher & ns3::Hasher::clear() [member function]
1341 cls.add_method('clear',
1342 'ns3::Hasher &',
1343 [])
1344 return
1345
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001346def register_Ns3Ipv4Address_methods(root_module, cls):
1347 cls.add_binary_comparison_operator('!=')
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07001348 cls.add_output_stream_operator()
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07001349 cls.add_binary_comparison_operator('==')
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001350 cls.add_binary_comparison_operator('<')
1351 ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address(ns3::Ipv4Address const & arg0) [copy constructor]
1352 cls.add_constructor([param('ns3::Ipv4Address const &', 'arg0')])
1353 ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address() [constructor]
1354 cls.add_constructor([])
1355 ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address(uint32_t address) [constructor]
1356 cls.add_constructor([param('uint32_t', 'address')])
1357 ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address(char const * address) [constructor]
1358 cls.add_constructor([param('char const *', 'address')])
1359 ## ipv4-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv4Address::CombineMask(ns3::Ipv4Mask const & mask) const [member function]
1360 cls.add_method('CombineMask',
1361 'ns3::Ipv4Address',
1362 [param('ns3::Ipv4Mask const &', 'mask')],
1363 is_const=True)
1364 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::ConvertFrom(ns3::Address const & address) [member function]
1365 cls.add_method('ConvertFrom',
1366 'ns3::Ipv4Address',
1367 [param('ns3::Address const &', 'address')],
1368 is_static=True)
1369 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::Deserialize(uint8_t const * buf) [member function]
1370 cls.add_method('Deserialize',
1371 'ns3::Ipv4Address',
1372 [param('uint8_t const *', 'buf')],
1373 is_static=True)
Alexander Afanasyev4052f952012-06-08 17:57:59 -07001374 ## ipv4-address.h (module 'network'): uint32_t ns3::Ipv4Address::Get() const [member function]
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001375 cls.add_method('Get',
Alexander Afanasyev4052f952012-06-08 17:57:59 -07001376 'uint32_t',
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001377 [],
1378 is_const=True)
1379 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetAny() [member function]
1380 cls.add_method('GetAny',
1381 'ns3::Ipv4Address',
1382 [],
1383 is_static=True)
1384 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetBroadcast() [member function]
1385 cls.add_method('GetBroadcast',
1386 'ns3::Ipv4Address',
1387 [],
1388 is_static=True)
1389 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetLoopback() [member function]
1390 cls.add_method('GetLoopback',
1391 'ns3::Ipv4Address',
1392 [],
1393 is_static=True)
1394 ## ipv4-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv4Address::GetSubnetDirectedBroadcast(ns3::Ipv4Mask const & mask) const [member function]
1395 cls.add_method('GetSubnetDirectedBroadcast',
1396 'ns3::Ipv4Address',
1397 [param('ns3::Ipv4Mask const &', 'mask')],
1398 is_const=True)
1399 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetZero() [member function]
1400 cls.add_method('GetZero',
1401 'ns3::Ipv4Address',
1402 [],
1403 is_static=True)
1404 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsBroadcast() const [member function]
1405 cls.add_method('IsBroadcast',
1406 'bool',
1407 [],
1408 is_const=True)
1409 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsEqual(ns3::Ipv4Address const & other) const [member function]
1410 cls.add_method('IsEqual',
1411 'bool',
1412 [param('ns3::Ipv4Address const &', 'other')],
1413 is_const=True)
1414 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsLocalMulticast() const [member function]
1415 cls.add_method('IsLocalMulticast',
1416 'bool',
1417 [],
1418 is_const=True)
1419 ## ipv4-address.h (module 'network'): static bool ns3::Ipv4Address::IsMatchingType(ns3::Address const & address) [member function]
1420 cls.add_method('IsMatchingType',
1421 'bool',
1422 [param('ns3::Address const &', 'address')],
1423 is_static=True)
1424 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsMulticast() const [member function]
1425 cls.add_method('IsMulticast',
1426 'bool',
1427 [],
1428 is_const=True)
1429 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsSubnetDirectedBroadcast(ns3::Ipv4Mask const & mask) const [member function]
1430 cls.add_method('IsSubnetDirectedBroadcast',
1431 'bool',
1432 [param('ns3::Ipv4Mask const &', 'mask')],
1433 is_const=True)
1434 ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Print(std::ostream & os) const [member function]
1435 cls.add_method('Print',
1436 'void',
1437 [param('std::ostream &', 'os')],
1438 is_const=True)
1439 ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Serialize(uint8_t * buf) const [member function]
1440 cls.add_method('Serialize',
1441 'void',
1442 [param('uint8_t *', 'buf')],
1443 is_const=True)
1444 ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Set(uint32_t address) [member function]
1445 cls.add_method('Set',
1446 'void',
1447 [param('uint32_t', 'address')])
1448 ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Set(char const * address) [member function]
1449 cls.add_method('Set',
1450 'void',
1451 [param('char const *', 'address')])
1452 return
1453
1454def register_Ns3Ipv4Mask_methods(root_module, cls):
1455 cls.add_binary_comparison_operator('!=')
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07001456 cls.add_output_stream_operator()
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07001457 cls.add_binary_comparison_operator('==')
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001458 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask(ns3::Ipv4Mask const & arg0) [copy constructor]
1459 cls.add_constructor([param('ns3::Ipv4Mask const &', 'arg0')])
1460 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask() [constructor]
1461 cls.add_constructor([])
1462 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask(uint32_t mask) [constructor]
1463 cls.add_constructor([param('uint32_t', 'mask')])
1464 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask(char const * mask) [constructor]
1465 cls.add_constructor([param('char const *', 'mask')])
1466 ## ipv4-address.h (module 'network'): uint32_t ns3::Ipv4Mask::Get() const [member function]
1467 cls.add_method('Get',
1468 'uint32_t',
1469 [],
1470 is_const=True)
1471 ## ipv4-address.h (module 'network'): uint32_t ns3::Ipv4Mask::GetInverse() const [member function]
1472 cls.add_method('GetInverse',
1473 'uint32_t',
1474 [],
1475 is_const=True)
1476 ## ipv4-address.h (module 'network'): static ns3::Ipv4Mask ns3::Ipv4Mask::GetLoopback() [member function]
1477 cls.add_method('GetLoopback',
1478 'ns3::Ipv4Mask',
1479 [],
1480 is_static=True)
1481 ## ipv4-address.h (module 'network'): static ns3::Ipv4Mask ns3::Ipv4Mask::GetOnes() [member function]
1482 cls.add_method('GetOnes',
1483 'ns3::Ipv4Mask',
1484 [],
1485 is_static=True)
1486 ## ipv4-address.h (module 'network'): uint16_t ns3::Ipv4Mask::GetPrefixLength() const [member function]
1487 cls.add_method('GetPrefixLength',
1488 'uint16_t',
1489 [],
1490 is_const=True)
1491 ## ipv4-address.h (module 'network'): static ns3::Ipv4Mask ns3::Ipv4Mask::GetZero() [member function]
1492 cls.add_method('GetZero',
1493 'ns3::Ipv4Mask',
1494 [],
1495 is_static=True)
1496 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Mask::IsEqual(ns3::Ipv4Mask other) const [member function]
1497 cls.add_method('IsEqual',
1498 'bool',
1499 [param('ns3::Ipv4Mask', 'other')],
1500 is_const=True)
1501 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Mask::IsMatch(ns3::Ipv4Address a, ns3::Ipv4Address b) const [member function]
1502 cls.add_method('IsMatch',
1503 'bool',
1504 [param('ns3::Ipv4Address', 'a'), param('ns3::Ipv4Address', 'b')],
1505 is_const=True)
1506 ## ipv4-address.h (module 'network'): void ns3::Ipv4Mask::Print(std::ostream & os) const [member function]
1507 cls.add_method('Print',
1508 'void',
1509 [param('std::ostream &', 'os')],
1510 is_const=True)
1511 ## ipv4-address.h (module 'network'): void ns3::Ipv4Mask::Set(uint32_t mask) [member function]
1512 cls.add_method('Set',
1513 'void',
1514 [param('uint32_t', 'mask')])
1515 return
1516
1517def register_Ns3Ipv6Address_methods(root_module, cls):
1518 cls.add_binary_comparison_operator('!=')
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07001519 cls.add_output_stream_operator()
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07001520 cls.add_binary_comparison_operator('==')
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001521 cls.add_binary_comparison_operator('<')
1522 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address() [constructor]
1523 cls.add_constructor([])
1524 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(char const * address) [constructor]
1525 cls.add_constructor([param('char const *', 'address')])
1526 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(uint8_t * address) [constructor]
1527 cls.add_constructor([param('uint8_t *', 'address')])
1528 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(ns3::Ipv6Address const & addr) [copy constructor]
1529 cls.add_constructor([param('ns3::Ipv6Address const &', 'addr')])
1530 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(ns3::Ipv6Address const * addr) [constructor]
1531 cls.add_constructor([param('ns3::Ipv6Address const *', 'addr')])
1532 ## ipv6-address.h (module 'network'): ns3::Ipv6Address ns3::Ipv6Address::CombinePrefix(ns3::Ipv6Prefix const & prefix) [member function]
1533 cls.add_method('CombinePrefix',
1534 'ns3::Ipv6Address',
1535 [param('ns3::Ipv6Prefix const &', 'prefix')])
1536 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::ConvertFrom(ns3::Address const & address) [member function]
1537 cls.add_method('ConvertFrom',
1538 'ns3::Ipv6Address',
1539 [param('ns3::Address const &', 'address')],
1540 is_static=True)
1541 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::Deserialize(uint8_t const * buf) [member function]
1542 cls.add_method('Deserialize',
1543 'ns3::Ipv6Address',
1544 [param('uint8_t const *', 'buf')],
1545 is_static=True)
1546 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAllHostsMulticast() [member function]
1547 cls.add_method('GetAllHostsMulticast',
1548 'ns3::Ipv6Address',
1549 [],
1550 is_static=True)
1551 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAllNodesMulticast() [member function]
1552 cls.add_method('GetAllNodesMulticast',
1553 'ns3::Ipv6Address',
1554 [],
1555 is_static=True)
1556 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAllRoutersMulticast() [member function]
1557 cls.add_method('GetAllRoutersMulticast',
1558 'ns3::Ipv6Address',
1559 [],
1560 is_static=True)
1561 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAny() [member function]
1562 cls.add_method('GetAny',
1563 'ns3::Ipv6Address',
1564 [],
1565 is_static=True)
1566 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::GetBytes(uint8_t * buf) const [member function]
1567 cls.add_method('GetBytes',
1568 'void',
1569 [param('uint8_t *', 'buf')],
1570 is_const=True)
Alexander Afanasyev6f933532012-02-29 13:30:37 -08001571 ## ipv6-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv6Address::GetIpv4MappedAddress() const [member function]
1572 cls.add_method('GetIpv4MappedAddress',
1573 'ns3::Ipv4Address',
1574 [],
1575 is_const=True)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001576 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetLoopback() [member function]
1577 cls.add_method('GetLoopback',
1578 'ns3::Ipv6Address',
1579 [],
1580 is_static=True)
1581 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetOnes() [member function]
1582 cls.add_method('GetOnes',
1583 'ns3::Ipv6Address',
1584 [],
1585 is_static=True)
1586 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetZero() [member function]
1587 cls.add_method('GetZero',
1588 'ns3::Ipv6Address',
1589 [],
1590 is_static=True)
1591 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAllHostsMulticast() const [member function]
1592 cls.add_method('IsAllHostsMulticast',
1593 'bool',
1594 [],
1595 is_const=True)
1596 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAllNodesMulticast() const [member function]
1597 cls.add_method('IsAllNodesMulticast',
1598 'bool',
1599 [],
1600 is_const=True)
1601 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAllRoutersMulticast() const [member function]
1602 cls.add_method('IsAllRoutersMulticast',
1603 'bool',
1604 [],
1605 is_const=True)
1606 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAny() const [member function]
1607 cls.add_method('IsAny',
1608 'bool',
1609 [],
1610 is_const=True)
Alexander Afanasyev8d6e3f62013-07-27 16:10:44 -07001611 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsDocumentation() const [member function]
1612 cls.add_method('IsDocumentation',
1613 'bool',
1614 [],
1615 is_const=True)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001616 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsEqual(ns3::Ipv6Address const & other) const [member function]
1617 cls.add_method('IsEqual',
1618 'bool',
1619 [param('ns3::Ipv6Address const &', 'other')],
1620 is_const=True)
Alexander Afanasyev6f933532012-02-29 13:30:37 -08001621 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsIpv4MappedAddress() [member function]
1622 cls.add_method('IsIpv4MappedAddress',
1623 'bool',
1624 [])
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001625 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsLinkLocal() const [member function]
1626 cls.add_method('IsLinkLocal',
1627 'bool',
1628 [],
1629 is_const=True)
Alexander Afanasyev6f933532012-02-29 13:30:37 -08001630 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsLinkLocalMulticast() const [member function]
1631 cls.add_method('IsLinkLocalMulticast',
1632 'bool',
1633 [],
1634 is_const=True)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001635 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsLocalhost() const [member function]
1636 cls.add_method('IsLocalhost',
1637 'bool',
1638 [],
1639 is_const=True)
1640 ## ipv6-address.h (module 'network'): static bool ns3::Ipv6Address::IsMatchingType(ns3::Address const & address) [member function]
1641 cls.add_method('IsMatchingType',
1642 'bool',
1643 [param('ns3::Address const &', 'address')],
1644 is_static=True)
1645 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsMulticast() const [member function]
1646 cls.add_method('IsMulticast',
1647 'bool',
1648 [],
1649 is_const=True)
1650 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsSolicitedMulticast() const [member function]
1651 cls.add_method('IsSolicitedMulticast',
1652 'bool',
1653 [],
1654 is_const=True)
Alexander Afanasyev8d6e3f62013-07-27 16:10:44 -07001655 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeAutoconfiguredAddress(ns3::Mac16Address addr, ns3::Ipv6Address prefix) [member function]
1656 cls.add_method('MakeAutoconfiguredAddress',
1657 'ns3::Ipv6Address',
1658 [param('ns3::Mac16Address', 'addr'), param('ns3::Ipv6Address', 'prefix')],
1659 is_static=True)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001660 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeAutoconfiguredAddress(ns3::Mac48Address addr, ns3::Ipv6Address prefix) [member function]
1661 cls.add_method('MakeAutoconfiguredAddress',
1662 'ns3::Ipv6Address',
1663 [param('ns3::Mac48Address', 'addr'), param('ns3::Ipv6Address', 'prefix')],
1664 is_static=True)
Alexander Afanasyev8d6e3f62013-07-27 16:10:44 -07001665 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeAutoconfiguredAddress(ns3::Mac64Address addr, ns3::Ipv6Address prefix) [member function]
1666 cls.add_method('MakeAutoconfiguredAddress',
1667 'ns3::Ipv6Address',
1668 [param('ns3::Mac64Address', 'addr'), param('ns3::Ipv6Address', 'prefix')],
1669 is_static=True)
1670 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeAutoconfiguredLinkLocalAddress(ns3::Mac16Address mac) [member function]
1671 cls.add_method('MakeAutoconfiguredLinkLocalAddress',
1672 'ns3::Ipv6Address',
1673 [param('ns3::Mac16Address', 'mac')],
1674 is_static=True)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001675 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeAutoconfiguredLinkLocalAddress(ns3::Mac48Address mac) [member function]
1676 cls.add_method('MakeAutoconfiguredLinkLocalAddress',
1677 'ns3::Ipv6Address',
1678 [param('ns3::Mac48Address', 'mac')],
1679 is_static=True)
Alexander Afanasyev8d6e3f62013-07-27 16:10:44 -07001680 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeAutoconfiguredLinkLocalAddress(ns3::Mac64Address mac) [member function]
1681 cls.add_method('MakeAutoconfiguredLinkLocalAddress',
1682 'ns3::Ipv6Address',
1683 [param('ns3::Mac64Address', 'mac')],
1684 is_static=True)
Alexander Afanasyev6f933532012-02-29 13:30:37 -08001685 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeIpv4MappedAddress(ns3::Ipv4Address addr) [member function]
1686 cls.add_method('MakeIpv4MappedAddress',
1687 'ns3::Ipv6Address',
1688 [param('ns3::Ipv4Address', 'addr')],
1689 is_static=True)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001690 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeSolicitedAddress(ns3::Ipv6Address addr) [member function]
1691 cls.add_method('MakeSolicitedAddress',
1692 'ns3::Ipv6Address',
1693 [param('ns3::Ipv6Address', 'addr')],
1694 is_static=True)
1695 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Print(std::ostream & os) const [member function]
1696 cls.add_method('Print',
1697 'void',
1698 [param('std::ostream &', 'os')],
1699 is_const=True)
1700 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Serialize(uint8_t * buf) const [member function]
1701 cls.add_method('Serialize',
1702 'void',
1703 [param('uint8_t *', 'buf')],
1704 is_const=True)
1705 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Set(char const * address) [member function]
1706 cls.add_method('Set',
1707 'void',
1708 [param('char const *', 'address')])
1709 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Set(uint8_t * address) [member function]
1710 cls.add_method('Set',
1711 'void',
1712 [param('uint8_t *', 'address')])
1713 return
1714
1715def register_Ns3Ipv6Prefix_methods(root_module, cls):
1716 cls.add_binary_comparison_operator('!=')
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07001717 cls.add_output_stream_operator()
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07001718 cls.add_binary_comparison_operator('==')
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001719 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix() [constructor]
1720 cls.add_constructor([])
1721 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(uint8_t * prefix) [constructor]
1722 cls.add_constructor([param('uint8_t *', 'prefix')])
1723 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(char const * prefix) [constructor]
1724 cls.add_constructor([param('char const *', 'prefix')])
1725 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(uint8_t prefix) [constructor]
1726 cls.add_constructor([param('uint8_t', 'prefix')])
1727 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(ns3::Ipv6Prefix const & prefix) [copy constructor]
1728 cls.add_constructor([param('ns3::Ipv6Prefix const &', 'prefix')])
1729 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(ns3::Ipv6Prefix const * prefix) [constructor]
1730 cls.add_constructor([param('ns3::Ipv6Prefix const *', 'prefix')])
1731 ## ipv6-address.h (module 'network'): void ns3::Ipv6Prefix::GetBytes(uint8_t * buf) const [member function]
1732 cls.add_method('GetBytes',
1733 'void',
1734 [param('uint8_t *', 'buf')],
1735 is_const=True)
1736 ## ipv6-address.h (module 'network'): static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetLoopback() [member function]
1737 cls.add_method('GetLoopback',
1738 'ns3::Ipv6Prefix',
1739 [],
1740 is_static=True)
1741 ## ipv6-address.h (module 'network'): static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetOnes() [member function]
1742 cls.add_method('GetOnes',
1743 'ns3::Ipv6Prefix',
1744 [],
1745 is_static=True)
1746 ## ipv6-address.h (module 'network'): uint8_t ns3::Ipv6Prefix::GetPrefixLength() const [member function]
1747 cls.add_method('GetPrefixLength',
1748 'uint8_t',
1749 [],
1750 is_const=True)
1751 ## ipv6-address.h (module 'network'): static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetZero() [member function]
1752 cls.add_method('GetZero',
1753 'ns3::Ipv6Prefix',
1754 [],
1755 is_static=True)
1756 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Prefix::IsEqual(ns3::Ipv6Prefix const & other) const [member function]
1757 cls.add_method('IsEqual',
1758 'bool',
1759 [param('ns3::Ipv6Prefix const &', 'other')],
1760 is_const=True)
1761 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Prefix::IsMatch(ns3::Ipv6Address a, ns3::Ipv6Address b) const [member function]
1762 cls.add_method('IsMatch',
1763 'bool',
1764 [param('ns3::Ipv6Address', 'a'), param('ns3::Ipv6Address', 'b')],
1765 is_const=True)
1766 ## ipv6-address.h (module 'network'): void ns3::Ipv6Prefix::Print(std::ostream & os) const [member function]
1767 cls.add_method('Print',
1768 'void',
1769 [param('std::ostream &', 'os')],
1770 is_const=True)
1771 return
1772
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07001773def register_Ns3NetDeviceContainer_methods(root_module, cls):
1774 ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(ns3::NetDeviceContainer const & arg0) [copy constructor]
1775 cls.add_constructor([param('ns3::NetDeviceContainer const &', 'arg0')])
1776 ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer() [constructor]
1777 cls.add_constructor([])
1778 ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(ns3::Ptr<ns3::NetDevice> dev) [constructor]
1779 cls.add_constructor([param('ns3::Ptr< ns3::NetDevice >', 'dev')])
1780 ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(std::string devName) [constructor]
1781 cls.add_constructor([param('std::string', 'devName')])
1782 ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(ns3::NetDeviceContainer const & a, ns3::NetDeviceContainer const & b) [constructor]
1783 cls.add_constructor([param('ns3::NetDeviceContainer const &', 'a'), param('ns3::NetDeviceContainer const &', 'b')])
1784 ## net-device-container.h (module 'network'): void ns3::NetDeviceContainer::Add(ns3::NetDeviceContainer other) [member function]
1785 cls.add_method('Add',
1786 'void',
1787 [param('ns3::NetDeviceContainer', 'other')])
1788 ## net-device-container.h (module 'network'): void ns3::NetDeviceContainer::Add(ns3::Ptr<ns3::NetDevice> device) [member function]
1789 cls.add_method('Add',
1790 'void',
1791 [param('ns3::Ptr< ns3::NetDevice >', 'device')])
1792 ## net-device-container.h (module 'network'): void ns3::NetDeviceContainer::Add(std::string deviceName) [member function]
1793 cls.add_method('Add',
1794 'void',
1795 [param('std::string', 'deviceName')])
1796 ## 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]
1797 cls.add_method('Begin',
1798 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::NetDevice > const, std::vector< ns3::Ptr< ns3::NetDevice > > >',
1799 [],
1800 is_const=True)
1801 ## 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]
1802 cls.add_method('End',
1803 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::NetDevice > const, std::vector< ns3::Ptr< ns3::NetDevice > > >',
1804 [],
1805 is_const=True)
1806 ## net-device-container.h (module 'network'): ns3::Ptr<ns3::NetDevice> ns3::NetDeviceContainer::Get(uint32_t i) const [member function]
1807 cls.add_method('Get',
1808 'ns3::Ptr< ns3::NetDevice >',
1809 [param('uint32_t', 'i')],
1810 is_const=True)
1811 ## net-device-container.h (module 'network'): uint32_t ns3::NetDeviceContainer::GetN() const [member function]
1812 cls.add_method('GetN',
1813 'uint32_t',
1814 [],
1815 is_const=True)
1816 return
1817
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001818def register_Ns3NodeContainer_methods(root_module, cls):
1819 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & arg0) [copy constructor]
1820 cls.add_constructor([param('ns3::NodeContainer const &', 'arg0')])
1821 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer() [constructor]
1822 cls.add_constructor([])
1823 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::Ptr<ns3::Node> node) [constructor]
1824 cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node')])
1825 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(std::string nodeName) [constructor]
1826 cls.add_constructor([param('std::string', 'nodeName')])
1827 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b) [constructor]
1828 cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b')])
1829 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b, ns3::NodeContainer const & c) [constructor]
1830 cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b'), param('ns3::NodeContainer const &', 'c')])
1831 ## 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]
1832 cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b'), param('ns3::NodeContainer const &', 'c'), param('ns3::NodeContainer const &', 'd')])
1833 ## 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]
1834 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')])
1835 ## node-container.h (module 'network'): void ns3::NodeContainer::Add(ns3::NodeContainer other) [member function]
1836 cls.add_method('Add',
1837 'void',
1838 [param('ns3::NodeContainer', 'other')])
1839 ## node-container.h (module 'network'): void ns3::NodeContainer::Add(ns3::Ptr<ns3::Node> node) [member function]
1840 cls.add_method('Add',
1841 'void',
1842 [param('ns3::Ptr< ns3::Node >', 'node')])
1843 ## node-container.h (module 'network'): void ns3::NodeContainer::Add(std::string nodeName) [member function]
1844 cls.add_method('Add',
1845 'void',
1846 [param('std::string', 'nodeName')])
1847 ## 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]
1848 cls.add_method('Begin',
1849 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > >',
1850 [],
1851 is_const=True)
1852 ## node-container.h (module 'network'): void ns3::NodeContainer::Create(uint32_t n) [member function]
1853 cls.add_method('Create',
1854 'void',
1855 [param('uint32_t', 'n')])
1856 ## node-container.h (module 'network'): void ns3::NodeContainer::Create(uint32_t n, uint32_t systemId) [member function]
1857 cls.add_method('Create',
1858 'void',
1859 [param('uint32_t', 'n'), param('uint32_t', 'systemId')])
1860 ## 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]
1861 cls.add_method('End',
1862 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > >',
1863 [],
1864 is_const=True)
1865 ## node-container.h (module 'network'): ns3::Ptr<ns3::Node> ns3::NodeContainer::Get(uint32_t i) const [member function]
1866 cls.add_method('Get',
1867 'ns3::Ptr< ns3::Node >',
1868 [param('uint32_t', 'i')],
1869 is_const=True)
1870 ## node-container.h (module 'network'): static ns3::NodeContainer ns3::NodeContainer::GetGlobal() [member function]
1871 cls.add_method('GetGlobal',
1872 'ns3::NodeContainer',
1873 [],
1874 is_static=True)
1875 ## node-container.h (module 'network'): uint32_t ns3::NodeContainer::GetN() const [member function]
1876 cls.add_method('GetN',
1877 'uint32_t',
1878 [],
1879 is_const=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07001880 ## 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]
1881 cls.add_method('begin',
1882 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > >',
1883 [],
1884 is_const=True)
1885 ## 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]
1886 cls.add_method('begin',
1887 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node >, std::vector< ns3::Ptr< ns3::Node > > >',
1888 [])
1889 ## 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]
1890 cls.add_method('end',
1891 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > >',
1892 [],
1893 is_const=True)
1894 ## 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]
1895 cls.add_method('end',
1896 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node >, std::vector< ns3::Ptr< ns3::Node > > >',
1897 [])
1898 ## node-container.h (module 'network'): uint32_t ns3::NodeContainer::size() const [member function]
1899 cls.add_method('size',
1900 'uint32_t',
1901 [],
1902 is_const=True)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07001903 return
1904
1905def register_Ns3ObjectBase_methods(root_module, cls):
1906 ## object-base.h (module 'core'): ns3::ObjectBase::ObjectBase() [constructor]
1907 cls.add_constructor([])
1908 ## object-base.h (module 'core'): ns3::ObjectBase::ObjectBase(ns3::ObjectBase const & arg0) [copy constructor]
1909 cls.add_constructor([param('ns3::ObjectBase const &', 'arg0')])
1910 ## object-base.h (module 'core'): void ns3::ObjectBase::GetAttribute(std::string name, ns3::AttributeValue & value) const [member function]
1911 cls.add_method('GetAttribute',
1912 'void',
1913 [param('std::string', 'name'), param('ns3::AttributeValue &', 'value')],
1914 is_const=True)
1915 ## object-base.h (module 'core'): bool ns3::ObjectBase::GetAttributeFailSafe(std::string name, ns3::AttributeValue & attribute) const [member function]
1916 cls.add_method('GetAttributeFailSafe',
1917 'bool',
1918 [param('std::string', 'name'), param('ns3::AttributeValue &', 'attribute')],
1919 is_const=True)
1920 ## object-base.h (module 'core'): ns3::TypeId ns3::ObjectBase::GetInstanceTypeId() const [member function]
1921 cls.add_method('GetInstanceTypeId',
1922 'ns3::TypeId',
1923 [],
1924 is_pure_virtual=True, is_const=True, is_virtual=True)
1925 ## object-base.h (module 'core'): static ns3::TypeId ns3::ObjectBase::GetTypeId() [member function]
1926 cls.add_method('GetTypeId',
1927 'ns3::TypeId',
1928 [],
1929 is_static=True)
1930 ## object-base.h (module 'core'): void ns3::ObjectBase::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function]
1931 cls.add_method('SetAttribute',
1932 'void',
1933 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
1934 ## object-base.h (module 'core'): bool ns3::ObjectBase::SetAttributeFailSafe(std::string name, ns3::AttributeValue const & value) [member function]
1935 cls.add_method('SetAttributeFailSafe',
1936 'bool',
1937 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
1938 ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceConnect(std::string name, std::string context, ns3::CallbackBase const & cb) [member function]
1939 cls.add_method('TraceConnect',
1940 'bool',
1941 [param('std::string', 'name'), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')])
1942 ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceConnectWithoutContext(std::string name, ns3::CallbackBase const & cb) [member function]
1943 cls.add_method('TraceConnectWithoutContext',
1944 'bool',
1945 [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')])
1946 ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceDisconnect(std::string name, std::string context, ns3::CallbackBase const & cb) [member function]
1947 cls.add_method('TraceDisconnect',
1948 'bool',
1949 [param('std::string', 'name'), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')])
1950 ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceDisconnectWithoutContext(std::string name, ns3::CallbackBase const & cb) [member function]
1951 cls.add_method('TraceDisconnectWithoutContext',
1952 'bool',
1953 [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')])
1954 ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function]
1955 cls.add_method('ConstructSelf',
1956 'void',
1957 [param('ns3::AttributeConstructionList const &', 'attributes')],
1958 visibility='protected')
1959 ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function]
1960 cls.add_method('NotifyConstructionCompleted',
1961 'void',
1962 [],
1963 visibility='protected', is_virtual=True)
1964 return
1965
1966def register_Ns3ObjectDeleter_methods(root_module, cls):
1967 ## object.h (module 'core'): ns3::ObjectDeleter::ObjectDeleter() [constructor]
1968 cls.add_constructor([])
1969 ## object.h (module 'core'): ns3::ObjectDeleter::ObjectDeleter(ns3::ObjectDeleter const & arg0) [copy constructor]
1970 cls.add_constructor([param('ns3::ObjectDeleter const &', 'arg0')])
1971 ## object.h (module 'core'): static void ns3::ObjectDeleter::Delete(ns3::Object * object) [member function]
1972 cls.add_method('Delete',
1973 'void',
1974 [param('ns3::Object *', 'object')],
1975 is_static=True)
1976 return
1977
1978def register_Ns3ObjectFactory_methods(root_module, cls):
1979 cls.add_output_stream_operator()
1980 ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(ns3::ObjectFactory const & arg0) [copy constructor]
1981 cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')])
1982 ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor]
1983 cls.add_constructor([])
1984 ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor]
1985 cls.add_constructor([param('std::string', 'typeId')])
1986 ## object-factory.h (module 'core'): ns3::Ptr<ns3::Object> ns3::ObjectFactory::Create() const [member function]
1987 cls.add_method('Create',
1988 'ns3::Ptr< ns3::Object >',
1989 [],
1990 is_const=True)
1991 ## object-factory.h (module 'core'): ns3::TypeId ns3::ObjectFactory::GetTypeId() const [member function]
1992 cls.add_method('GetTypeId',
1993 'ns3::TypeId',
1994 [],
1995 is_const=True)
1996 ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(std::string name, ns3::AttributeValue const & value) [member function]
1997 cls.add_method('Set',
1998 'void',
1999 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
2000 ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function]
2001 cls.add_method('SetTypeId',
2002 'void',
2003 [param('ns3::TypeId', 'tid')])
2004 ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(char const * tid) [member function]
2005 cls.add_method('SetTypeId',
2006 'void',
2007 [param('char const *', 'tid')])
2008 ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(std::string tid) [member function]
2009 cls.add_method('SetTypeId',
2010 'void',
2011 [param('std::string', 'tid')])
2012 return
2013
2014def register_Ns3PacketMetadata_methods(root_module, cls):
2015 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::PacketMetadata(uint64_t uid, uint32_t size) [constructor]
2016 cls.add_constructor([param('uint64_t', 'uid'), param('uint32_t', 'size')])
2017 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::PacketMetadata(ns3::PacketMetadata const & o) [copy constructor]
2018 cls.add_constructor([param('ns3::PacketMetadata const &', 'o')])
2019 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddAtEnd(ns3::PacketMetadata const & o) [member function]
2020 cls.add_method('AddAtEnd',
2021 'void',
2022 [param('ns3::PacketMetadata const &', 'o')])
2023 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddHeader(ns3::Header const & header, uint32_t size) [member function]
2024 cls.add_method('AddHeader',
2025 'void',
2026 [param('ns3::Header const &', 'header'), param('uint32_t', 'size')])
2027 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddPaddingAtEnd(uint32_t end) [member function]
2028 cls.add_method('AddPaddingAtEnd',
2029 'void',
2030 [param('uint32_t', 'end')])
2031 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddTrailer(ns3::Trailer const & trailer, uint32_t size) [member function]
2032 cls.add_method('AddTrailer',
2033 'void',
2034 [param('ns3::Trailer const &', 'trailer'), param('uint32_t', 'size')])
2035 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator ns3::PacketMetadata::BeginItem(ns3::Buffer buffer) const [member function]
2036 cls.add_method('BeginItem',
2037 'ns3::PacketMetadata::ItemIterator',
2038 [param('ns3::Buffer', 'buffer')],
2039 is_const=True)
2040 ## packet-metadata.h (module 'network'): ns3::PacketMetadata ns3::PacketMetadata::CreateFragment(uint32_t start, uint32_t end) const [member function]
2041 cls.add_method('CreateFragment',
2042 'ns3::PacketMetadata',
2043 [param('uint32_t', 'start'), param('uint32_t', 'end')],
2044 is_const=True)
2045 ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::Deserialize(uint8_t const * buffer, uint32_t size) [member function]
2046 cls.add_method('Deserialize',
2047 'uint32_t',
2048 [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
2049 ## packet-metadata.h (module 'network'): static void ns3::PacketMetadata::Enable() [member function]
2050 cls.add_method('Enable',
2051 'void',
2052 [],
2053 is_static=True)
2054 ## packet-metadata.h (module 'network'): static void ns3::PacketMetadata::EnableChecking() [member function]
2055 cls.add_method('EnableChecking',
2056 'void',
2057 [],
2058 is_static=True)
2059 ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::GetSerializedSize() const [member function]
2060 cls.add_method('GetSerializedSize',
2061 'uint32_t',
2062 [],
2063 is_const=True)
2064 ## packet-metadata.h (module 'network'): uint64_t ns3::PacketMetadata::GetUid() const [member function]
2065 cls.add_method('GetUid',
2066 'uint64_t',
2067 [],
2068 is_const=True)
2069 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveAtEnd(uint32_t end) [member function]
2070 cls.add_method('RemoveAtEnd',
2071 'void',
2072 [param('uint32_t', 'end')])
2073 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveAtStart(uint32_t start) [member function]
2074 cls.add_method('RemoveAtStart',
2075 'void',
2076 [param('uint32_t', 'start')])
2077 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveHeader(ns3::Header const & header, uint32_t size) [member function]
2078 cls.add_method('RemoveHeader',
2079 'void',
2080 [param('ns3::Header const &', 'header'), param('uint32_t', 'size')])
2081 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveTrailer(ns3::Trailer const & trailer, uint32_t size) [member function]
2082 cls.add_method('RemoveTrailer',
2083 'void',
2084 [param('ns3::Trailer const &', 'trailer'), param('uint32_t', 'size')])
2085 ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
2086 cls.add_method('Serialize',
2087 'uint32_t',
2088 [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')],
2089 is_const=True)
2090 return
2091
2092def register_Ns3PacketMetadataItem_methods(root_module, cls):
2093 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::Item() [constructor]
2094 cls.add_constructor([])
2095 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::Item(ns3::PacketMetadata::Item const & arg0) [copy constructor]
2096 cls.add_constructor([param('ns3::PacketMetadata::Item const &', 'arg0')])
2097 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::current [variable]
2098 cls.add_instance_attribute('current', 'ns3::Buffer::Iterator', is_const=False)
2099 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentSize [variable]
2100 cls.add_instance_attribute('currentSize', 'uint32_t', is_const=False)
2101 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentTrimedFromEnd [variable]
2102 cls.add_instance_attribute('currentTrimedFromEnd', 'uint32_t', is_const=False)
2103 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentTrimedFromStart [variable]
2104 cls.add_instance_attribute('currentTrimedFromStart', 'uint32_t', is_const=False)
2105 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::isFragment [variable]
2106 cls.add_instance_attribute('isFragment', 'bool', is_const=False)
2107 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::tid [variable]
2108 cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
2109 return
2110
2111def register_Ns3PacketMetadataItemIterator_methods(root_module, cls):
2112 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator::ItemIterator(ns3::PacketMetadata::ItemIterator const & arg0) [copy constructor]
2113 cls.add_constructor([param('ns3::PacketMetadata::ItemIterator const &', 'arg0')])
2114 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator::ItemIterator(ns3::PacketMetadata const * metadata, ns3::Buffer buffer) [constructor]
2115 cls.add_constructor([param('ns3::PacketMetadata const *', 'metadata'), param('ns3::Buffer', 'buffer')])
2116 ## packet-metadata.h (module 'network'): bool ns3::PacketMetadata::ItemIterator::HasNext() const [member function]
2117 cls.add_method('HasNext',
2118 'bool',
2119 [],
2120 is_const=True)
2121 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item ns3::PacketMetadata::ItemIterator::Next() [member function]
2122 cls.add_method('Next',
2123 'ns3::PacketMetadata::Item',
2124 [])
2125 return
2126
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002127def register_Ns3PacketTagIterator_methods(root_module, cls):
2128 ## packet.h (module 'network'): ns3::PacketTagIterator::PacketTagIterator(ns3::PacketTagIterator const & arg0) [copy constructor]
2129 cls.add_constructor([param('ns3::PacketTagIterator const &', 'arg0')])
2130 ## packet.h (module 'network'): bool ns3::PacketTagIterator::HasNext() const [member function]
2131 cls.add_method('HasNext',
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002132 'bool',
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002133 [],
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002134 is_const=True)
2135 ## packet.h (module 'network'): ns3::PacketTagIterator::Item ns3::PacketTagIterator::Next() [member function]
2136 cls.add_method('Next',
2137 'ns3::PacketTagIterator::Item',
2138 [])
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002139 return
2140
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002141def register_Ns3PacketTagIteratorItem_methods(root_module, cls):
2142 ## packet.h (module 'network'): ns3::PacketTagIterator::Item::Item(ns3::PacketTagIterator::Item const & arg0) [copy constructor]
2143 cls.add_constructor([param('ns3::PacketTagIterator::Item const &', 'arg0')])
2144 ## packet.h (module 'network'): void ns3::PacketTagIterator::Item::GetTag(ns3::Tag & tag) const [member function]
2145 cls.add_method('GetTag',
2146 'void',
2147 [param('ns3::Tag &', 'tag')],
2148 is_const=True)
2149 ## packet.h (module 'network'): ns3::TypeId ns3::PacketTagIterator::Item::GetTypeId() const [member function]
2150 cls.add_method('GetTypeId',
2151 'ns3::TypeId',
2152 [],
2153 is_const=True)
2154 return
2155
2156def register_Ns3PacketTagList_methods(root_module, cls):
2157 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::PacketTagList() [constructor]
2158 cls.add_constructor([])
2159 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::PacketTagList(ns3::PacketTagList const & o) [copy constructor]
2160 cls.add_constructor([param('ns3::PacketTagList const &', 'o')])
2161 ## packet-tag-list.h (module 'network'): void ns3::PacketTagList::Add(ns3::Tag const & tag) const [member function]
2162 cls.add_method('Add',
2163 'void',
2164 [param('ns3::Tag const &', 'tag')],
2165 is_const=True)
2166 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData const * ns3::PacketTagList::Head() const [member function]
2167 cls.add_method('Head',
2168 'ns3::PacketTagList::TagData const *',
2169 [],
2170 is_const=True)
2171 ## packet-tag-list.h (module 'network'): bool ns3::PacketTagList::Peek(ns3::Tag & tag) const [member function]
2172 cls.add_method('Peek',
2173 'bool',
2174 [param('ns3::Tag &', 'tag')],
2175 is_const=True)
2176 ## packet-tag-list.h (module 'network'): bool ns3::PacketTagList::Remove(ns3::Tag & tag) [member function]
2177 cls.add_method('Remove',
2178 'bool',
2179 [param('ns3::Tag &', 'tag')])
2180 ## packet-tag-list.h (module 'network'): void ns3::PacketTagList::RemoveAll() [member function]
2181 cls.add_method('RemoveAll',
2182 'void',
2183 [])
Alexander Afanasyev8d6e3f62013-07-27 16:10:44 -07002184 ## packet-tag-list.h (module 'network'): bool ns3::PacketTagList::Replace(ns3::Tag & tag) [member function]
2185 cls.add_method('Replace',
2186 'bool',
2187 [param('ns3::Tag &', 'tag')])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002188 return
2189
2190def register_Ns3PacketTagListTagData_methods(root_module, cls):
2191 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::TagData() [constructor]
2192 cls.add_constructor([])
2193 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::TagData(ns3::PacketTagList::TagData const & arg0) [copy constructor]
2194 cls.add_constructor([param('ns3::PacketTagList::TagData const &', 'arg0')])
2195 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::count [variable]
2196 cls.add_instance_attribute('count', 'uint32_t', is_const=False)
2197 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::data [variable]
2198 cls.add_instance_attribute('data', 'uint8_t [ 20 ]', is_const=False)
2199 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::next [variable]
2200 cls.add_instance_attribute('next', 'ns3::PacketTagList::TagData *', is_const=False)
2201 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::tid [variable]
2202 cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002203 return
2204
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002205def register_Ns3RandomVariable_methods(root_module, cls):
2206 cls.add_output_stream_operator()
2207 ## random-variable.h (module 'core'): ns3::RandomVariable::RandomVariable() [constructor]
2208 cls.add_constructor([])
2209 ## random-variable.h (module 'core'): ns3::RandomVariable::RandomVariable(ns3::RandomVariable const & o) [copy constructor]
2210 cls.add_constructor([param('ns3::RandomVariable const &', 'o')])
2211 ## random-variable.h (module 'core'): uint32_t ns3::RandomVariable::GetInteger() const [member function]
2212 cls.add_method('GetInteger',
2213 'uint32_t',
2214 [],
2215 is_const=True)
2216 ## random-variable.h (module 'core'): double ns3::RandomVariable::GetValue() const [member function]
2217 cls.add_method('GetValue',
2218 'double',
2219 [],
2220 is_const=True)
2221 return
2222
2223def register_Ns3RngSeedManager_methods(root_module, cls):
2224 ## rng-seed-manager.h (module 'core'): ns3::RngSeedManager::RngSeedManager() [constructor]
2225 cls.add_constructor([])
2226 ## rng-seed-manager.h (module 'core'): ns3::RngSeedManager::RngSeedManager(ns3::RngSeedManager const & arg0) [copy constructor]
2227 cls.add_constructor([param('ns3::RngSeedManager const &', 'arg0')])
2228 ## rng-seed-manager.h (module 'core'): static uint64_t ns3::RngSeedManager::GetNextStreamIndex() [member function]
2229 cls.add_method('GetNextStreamIndex',
2230 'uint64_t',
2231 [],
2232 is_static=True)
2233 ## rng-seed-manager.h (module 'core'): static uint64_t ns3::RngSeedManager::GetRun() [member function]
2234 cls.add_method('GetRun',
2235 'uint64_t',
2236 [],
2237 is_static=True)
2238 ## rng-seed-manager.h (module 'core'): static uint32_t ns3::RngSeedManager::GetSeed() [member function]
2239 cls.add_method('GetSeed',
2240 'uint32_t',
2241 [],
2242 is_static=True)
2243 ## rng-seed-manager.h (module 'core'): static void ns3::RngSeedManager::SetRun(uint64_t run) [member function]
2244 cls.add_method('SetRun',
2245 'void',
2246 [param('uint64_t', 'run')],
2247 is_static=True)
2248 ## rng-seed-manager.h (module 'core'): static void ns3::RngSeedManager::SetSeed(uint32_t seed) [member function]
2249 cls.add_method('SetSeed',
2250 'void',
2251 [param('uint32_t', 'seed')],
2252 is_static=True)
2253 return
2254
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -07002255def register_Ns3SequenceNumber32_methods(root_module, cls):
2256 cls.add_binary_comparison_operator('!=')
2257 cls.add_binary_numeric_operator('+', root_module['ns3::SequenceNumber32'], root_module['ns3::SequenceNumber32'], param('ns3::SequenceNumber< unsigned int, int > const &', 'right'))
2258 cls.add_binary_numeric_operator('+', root_module['ns3::SequenceNumber32'], root_module['ns3::SequenceNumber32'], param('int', 'right'))
2259 cls.add_inplace_numeric_operator('+=', param('int', 'right'))
2260 cls.add_binary_numeric_operator('-', root_module['ns3::SequenceNumber32'], root_module['ns3::SequenceNumber32'], param('int', 'right'))
2261 cls.add_inplace_numeric_operator('-=', param('int', 'right'))
2262 cls.add_binary_comparison_operator('<')
2263 cls.add_binary_comparison_operator('<=')
2264 cls.add_binary_comparison_operator('==')
2265 cls.add_binary_comparison_operator('>')
2266 cls.add_binary_comparison_operator('>=')
2267 ## sequence-number.h (module 'network'): ns3::SequenceNumber<unsigned int, int>::SequenceNumber() [constructor]
2268 cls.add_constructor([])
2269 ## sequence-number.h (module 'network'): ns3::SequenceNumber<unsigned int, int>::SequenceNumber(unsigned int value) [constructor]
2270 cls.add_constructor([param('unsigned int', 'value')])
2271 ## sequence-number.h (module 'network'): ns3::SequenceNumber<unsigned int, int>::SequenceNumber(ns3::SequenceNumber<unsigned int, int> const & value) [copy constructor]
2272 cls.add_constructor([param('ns3::SequenceNumber< unsigned int, int > const &', 'value')])
2273 ## sequence-number.h (module 'network'): unsigned int ns3::SequenceNumber<unsigned int, int>::GetValue() const [member function]
2274 cls.add_method('GetValue',
2275 'unsigned int',
2276 [],
2277 is_const=True)
2278 return
2279
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002280def register_Ns3SequentialVariable_methods(root_module, cls):
2281 ## random-variable.h (module 'core'): ns3::SequentialVariable::SequentialVariable(ns3::SequentialVariable const & arg0) [copy constructor]
2282 cls.add_constructor([param('ns3::SequentialVariable const &', 'arg0')])
2283 ## random-variable.h (module 'core'): ns3::SequentialVariable::SequentialVariable(double f, double l, double i=1, uint32_t c=1) [constructor]
2284 cls.add_constructor([param('double', 'f'), param('double', 'l'), param('double', 'i', default_value='1'), param('uint32_t', 'c', default_value='1')])
2285 ## random-variable.h (module 'core'): ns3::SequentialVariable::SequentialVariable(double f, double l, ns3::RandomVariable const & i, uint32_t c=1) [constructor]
2286 cls.add_constructor([param('double', 'f'), param('double', 'l'), param('ns3::RandomVariable const &', 'i'), param('uint32_t', 'c', default_value='1')])
2287 return
2288
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002289def register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, cls):
2290 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter>::SimpleRefCount() [constructor]
2291 cls.add_constructor([])
2292 ## 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]
2293 cls.add_constructor([param('ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter > const &', 'o')])
2294 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter>::Cleanup() [member function]
2295 cls.add_method('Cleanup',
2296 'void',
2297 [],
2298 is_static=True)
2299 return
2300
Alexander Afanasyev76b11572013-07-16 21:49:50 -07002301def register_Ns3Simulator_methods(root_module, cls):
2302 ## simulator.h (module 'core'): ns3::Simulator::Simulator(ns3::Simulator const & arg0) [copy constructor]
2303 cls.add_constructor([param('ns3::Simulator const &', 'arg0')])
2304 ## simulator.h (module 'core'): static void ns3::Simulator::Cancel(ns3::EventId const & id) [member function]
2305 cls.add_method('Cancel',
2306 'void',
2307 [param('ns3::EventId const &', 'id')],
2308 is_static=True)
2309 ## simulator.h (module 'core'): static void ns3::Simulator::Destroy() [member function]
2310 cls.add_method('Destroy',
2311 'void',
2312 [],
2313 is_static=True)
2314 ## simulator.h (module 'core'): static uint32_t ns3::Simulator::GetContext() [member function]
2315 cls.add_method('GetContext',
2316 'uint32_t',
2317 [],
2318 is_static=True)
2319 ## simulator.h (module 'core'): static ns3::Time ns3::Simulator::GetDelayLeft(ns3::EventId const & id) [member function]
2320 cls.add_method('GetDelayLeft',
2321 'ns3::Time',
2322 [param('ns3::EventId const &', 'id')],
2323 is_static=True)
2324 ## simulator.h (module 'core'): static ns3::Ptr<ns3::SimulatorImpl> ns3::Simulator::GetImplementation() [member function]
2325 cls.add_method('GetImplementation',
2326 'ns3::Ptr< ns3::SimulatorImpl >',
2327 [],
2328 is_static=True)
2329 ## simulator.h (module 'core'): static ns3::Time ns3::Simulator::GetMaximumSimulationTime() [member function]
2330 cls.add_method('GetMaximumSimulationTime',
2331 'ns3::Time',
2332 [],
2333 is_static=True)
2334 ## simulator.h (module 'core'): static uint32_t ns3::Simulator::GetSystemId() [member function]
2335 cls.add_method('GetSystemId',
2336 'uint32_t',
2337 [],
2338 is_static=True)
2339 ## simulator.h (module 'core'): static bool ns3::Simulator::IsExpired(ns3::EventId const & id) [member function]
2340 cls.add_method('IsExpired',
2341 'bool',
2342 [param('ns3::EventId const &', 'id')],
2343 is_static=True)
2344 ## simulator.h (module 'core'): static bool ns3::Simulator::IsFinished() [member function]
2345 cls.add_method('IsFinished',
2346 'bool',
2347 [],
2348 is_static=True)
2349 ## simulator.h (module 'core'): static ns3::Time ns3::Simulator::Now() [member function]
2350 cls.add_method('Now',
2351 'ns3::Time',
2352 [],
2353 is_static=True)
2354 ## simulator.h (module 'core'): static void ns3::Simulator::Remove(ns3::EventId const & id) [member function]
2355 cls.add_method('Remove',
2356 'void',
2357 [param('ns3::EventId const &', 'id')],
2358 is_static=True)
2359 ## simulator.h (module 'core'): static void ns3::Simulator::SetImplementation(ns3::Ptr<ns3::SimulatorImpl> impl) [member function]
2360 cls.add_method('SetImplementation',
2361 'void',
2362 [param('ns3::Ptr< ns3::SimulatorImpl >', 'impl')],
2363 is_static=True)
2364 ## simulator.h (module 'core'): static void ns3::Simulator::SetScheduler(ns3::ObjectFactory schedulerFactory) [member function]
2365 cls.add_method('SetScheduler',
2366 'void',
2367 [param('ns3::ObjectFactory', 'schedulerFactory')],
2368 is_static=True)
2369 ## simulator.h (module 'core'): static void ns3::Simulator::Stop() [member function]
2370 cls.add_method('Stop',
2371 'void',
2372 [],
2373 is_static=True)
2374 ## simulator.h (module 'core'): static void ns3::Simulator::Stop(ns3::Time const & time) [member function]
2375 cls.add_method('Stop',
2376 'void',
2377 [param('ns3::Time const &', 'time')],
2378 is_static=True)
2379 return
2380
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002381def register_Ns3Tag_methods(root_module, cls):
2382 ## tag.h (module 'network'): ns3::Tag::Tag() [constructor]
Alexander Afanasyev4975f732011-12-20 17:52:19 -08002383 cls.add_constructor([])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002384 ## tag.h (module 'network'): ns3::Tag::Tag(ns3::Tag const & arg0) [copy constructor]
2385 cls.add_constructor([param('ns3::Tag const &', 'arg0')])
2386 ## tag.h (module 'network'): void ns3::Tag::Deserialize(ns3::TagBuffer i) [member function]
2387 cls.add_method('Deserialize',
Alexander Afanasyev4975f732011-12-20 17:52:19 -08002388 'void',
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002389 [param('ns3::TagBuffer', 'i')],
2390 is_pure_virtual=True, is_virtual=True)
2391 ## tag.h (module 'network'): uint32_t ns3::Tag::GetSerializedSize() const [member function]
2392 cls.add_method('GetSerializedSize',
2393 'uint32_t',
2394 [],
2395 is_pure_virtual=True, is_const=True, is_virtual=True)
2396 ## tag.h (module 'network'): static ns3::TypeId ns3::Tag::GetTypeId() [member function]
2397 cls.add_method('GetTypeId',
2398 'ns3::TypeId',
2399 [],
Alexander Afanasyev4975f732011-12-20 17:52:19 -08002400 is_static=True)
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002401 ## tag.h (module 'network'): void ns3::Tag::Print(std::ostream & os) const [member function]
2402 cls.add_method('Print',
Alexander Afanasyev4975f732011-12-20 17:52:19 -08002403 'void',
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002404 [param('std::ostream &', 'os')],
2405 is_pure_virtual=True, is_const=True, is_virtual=True)
2406 ## tag.h (module 'network'): void ns3::Tag::Serialize(ns3::TagBuffer i) const [member function]
2407 cls.add_method('Serialize',
2408 'void',
2409 [param('ns3::TagBuffer', 'i')],
2410 is_pure_virtual=True, is_const=True, is_virtual=True)
Alexander Afanasyev4975f732011-12-20 17:52:19 -08002411 return
2412
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002413def register_Ns3TagBuffer_methods(root_module, cls):
2414 ## tag-buffer.h (module 'network'): ns3::TagBuffer::TagBuffer(ns3::TagBuffer const & arg0) [copy constructor]
2415 cls.add_constructor([param('ns3::TagBuffer const &', 'arg0')])
2416 ## tag-buffer.h (module 'network'): ns3::TagBuffer::TagBuffer(uint8_t * start, uint8_t * end) [constructor]
2417 cls.add_constructor([param('uint8_t *', 'start'), param('uint8_t *', 'end')])
2418 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::CopyFrom(ns3::TagBuffer o) [member function]
2419 cls.add_method('CopyFrom',
2420 'void',
2421 [param('ns3::TagBuffer', 'o')])
2422 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::Read(uint8_t * buffer, uint32_t size) [member function]
2423 cls.add_method('Read',
2424 'void',
2425 [param('uint8_t *', 'buffer'), param('uint32_t', 'size')])
2426 ## tag-buffer.h (module 'network'): double ns3::TagBuffer::ReadDouble() [member function]
2427 cls.add_method('ReadDouble',
2428 'double',
2429 [])
2430 ## tag-buffer.h (module 'network'): uint16_t ns3::TagBuffer::ReadU16() [member function]
2431 cls.add_method('ReadU16',
2432 'uint16_t',
2433 [])
2434 ## tag-buffer.h (module 'network'): uint32_t ns3::TagBuffer::ReadU32() [member function]
2435 cls.add_method('ReadU32',
2436 'uint32_t',
2437 [])
2438 ## tag-buffer.h (module 'network'): uint64_t ns3::TagBuffer::ReadU64() [member function]
2439 cls.add_method('ReadU64',
2440 'uint64_t',
2441 [])
2442 ## tag-buffer.h (module 'network'): uint8_t ns3::TagBuffer::ReadU8() [member function]
2443 cls.add_method('ReadU8',
2444 'uint8_t',
2445 [])
2446 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::TrimAtEnd(uint32_t trim) [member function]
2447 cls.add_method('TrimAtEnd',
2448 'void',
2449 [param('uint32_t', 'trim')])
2450 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::Write(uint8_t const * buffer, uint32_t size) [member function]
2451 cls.add_method('Write',
2452 'void',
2453 [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
2454 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteDouble(double v) [member function]
2455 cls.add_method('WriteDouble',
2456 'void',
2457 [param('double', 'v')])
2458 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU16(uint16_t data) [member function]
2459 cls.add_method('WriteU16',
2460 'void',
2461 [param('uint16_t', 'data')])
2462 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU32(uint32_t data) [member function]
2463 cls.add_method('WriteU32',
2464 'void',
2465 [param('uint32_t', 'data')])
2466 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU64(uint64_t v) [member function]
2467 cls.add_method('WriteU64',
2468 'void',
2469 [param('uint64_t', 'v')])
2470 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU8(uint8_t v) [member function]
2471 cls.add_method('WriteU8',
2472 'void',
2473 [param('uint8_t', 'v')])
2474 return
2475
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -07002476def register_Ns3TracedValue__Ns3NdnFibFaceMetricStatus_methods(root_module, cls):
2477 ## traced-value.h (module 'core'): ns3::TracedValue<ns3::ndn::fib::FaceMetric::Status>::TracedValue() [constructor]
2478 cls.add_constructor([])
2479 ## traced-value.h (module 'core'): ns3::TracedValue<ns3::ndn::fib::FaceMetric::Status>::TracedValue(ns3::TracedValue<ns3::ndn::fib::FaceMetric::Status> const & o) [copy constructor]
2480 cls.add_constructor([param('ns3::TracedValue< ns3::ndn::fib::FaceMetric::Status > const &', 'o')])
2481 ## traced-value.h (module 'core'): ns3::TracedValue<ns3::ndn::fib::FaceMetric::Status>::TracedValue(ns3::ndn::fib::FaceMetric::Status const & v) [constructor]
2482 cls.add_constructor([param('ns3::ndn::fib::FaceMetric::Status const &', 'v')])
2483 ## 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]
2484 cls.add_method('Connect',
2485 'void',
2486 [param('ns3::CallbackBase const &', 'cb'), param('std::string', 'path')])
2487 ## traced-value.h (module 'core'): void ns3::TracedValue<ns3::ndn::fib::FaceMetric::Status>::ConnectWithoutContext(ns3::CallbackBase const & cb) [member function]
2488 cls.add_method('ConnectWithoutContext',
2489 'void',
2490 [param('ns3::CallbackBase const &', 'cb')])
2491 ## 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]
2492 cls.add_method('Disconnect',
2493 'void',
2494 [param('ns3::CallbackBase const &', 'cb'), param('std::string', 'path')])
2495 ## traced-value.h (module 'core'): void ns3::TracedValue<ns3::ndn::fib::FaceMetric::Status>::DisconnectWithoutContext(ns3::CallbackBase const & cb) [member function]
2496 cls.add_method('DisconnectWithoutContext',
2497 'void',
2498 [param('ns3::CallbackBase const &', 'cb')])
2499 ## traced-value.h (module 'core'): ns3::ndn::fib::FaceMetric::Status ns3::TracedValue<ns3::ndn::fib::FaceMetric::Status>::Get() const [member function]
2500 cls.add_method('Get',
2501 'ns3::ndn::fib::FaceMetric::Status',
2502 [],
2503 is_const=True)
2504 ## traced-value.h (module 'core'): void ns3::TracedValue<ns3::ndn::fib::FaceMetric::Status>::Set(ns3::ndn::fib::FaceMetric::Status const & v) [member function]
2505 cls.add_method('Set',
2506 'void',
2507 [param('ns3::ndn::fib::FaceMetric::Status const &', 'v')])
2508 return
2509
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002510def register_Ns3TriangularVariable_methods(root_module, cls):
2511 ## random-variable.h (module 'core'): ns3::TriangularVariable::TriangularVariable(ns3::TriangularVariable const & arg0) [copy constructor]
2512 cls.add_constructor([param('ns3::TriangularVariable const &', 'arg0')])
2513 ## random-variable.h (module 'core'): ns3::TriangularVariable::TriangularVariable() [constructor]
2514 cls.add_constructor([])
2515 ## random-variable.h (module 'core'): ns3::TriangularVariable::TriangularVariable(double s, double l, double mean) [constructor]
2516 cls.add_constructor([param('double', 's'), param('double', 'l'), param('double', 'mean')])
2517 return
2518
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002519def register_Ns3TypeId_methods(root_module, cls):
2520 cls.add_binary_comparison_operator('!=')
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07002521 cls.add_output_stream_operator()
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07002522 cls.add_binary_comparison_operator('==')
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002523 cls.add_binary_comparison_operator('<')
2524 ## type-id.h (module 'core'): ns3::TypeId::TypeId(char const * name) [constructor]
2525 cls.add_constructor([param('char const *', 'name')])
2526 ## type-id.h (module 'core'): ns3::TypeId::TypeId() [constructor]
2527 cls.add_constructor([])
2528 ## type-id.h (module 'core'): ns3::TypeId::TypeId(ns3::TypeId const & o) [copy constructor]
2529 cls.add_constructor([param('ns3::TypeId const &', 'o')])
2530 ## 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]
2531 cls.add_method('AddAttribute',
2532 'ns3::TypeId',
2533 [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')])
2534 ## 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]
2535 cls.add_method('AddAttribute',
2536 'ns3::TypeId',
2537 [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')])
2538 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr<ns3::TraceSourceAccessor const> accessor) [member function]
2539 cls.add_method('AddTraceSource',
2540 'ns3::TypeId',
2541 [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')])
2542 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function]
2543 cls.add_method('GetAttribute',
2544 'ns3::TypeId::AttributeInformation',
2545 [param('uint32_t', 'i')],
2546 is_const=True)
2547 ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function]
2548 cls.add_method('GetAttributeFullName',
2549 'std::string',
2550 [param('uint32_t', 'i')],
2551 is_const=True)
2552 ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function]
2553 cls.add_method('GetAttributeN',
2554 'uint32_t',
2555 [],
2556 is_const=True)
2557 ## 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]
2558 cls.add_method('GetConstructor',
2559 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >',
2560 [],
2561 is_const=True)
2562 ## type-id.h (module 'core'): std::string ns3::TypeId::GetGroupName() const [member function]
2563 cls.add_method('GetGroupName',
2564 'std::string',
2565 [],
2566 is_const=True)
Alexander Afanasyev8d6e3f62013-07-27 16:10:44 -07002567 ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetHash() const [member function]
2568 cls.add_method('GetHash',
2569 'uint32_t',
2570 [],
2571 is_const=True)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002572 ## type-id.h (module 'core'): std::string ns3::TypeId::GetName() const [member function]
2573 cls.add_method('GetName',
2574 'std::string',
2575 [],
2576 is_const=True)
2577 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::GetParent() const [member function]
2578 cls.add_method('GetParent',
2579 'ns3::TypeId',
2580 [],
2581 is_const=True)
2582 ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::GetRegistered(uint32_t i) [member function]
2583 cls.add_method('GetRegistered',
2584 'ns3::TypeId',
2585 [param('uint32_t', 'i')],
2586 is_static=True)
2587 ## type-id.h (module 'core'): static uint32_t ns3::TypeId::GetRegisteredN() [member function]
2588 cls.add_method('GetRegisteredN',
2589 'uint32_t',
2590 [],
2591 is_static=True)
2592 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function]
2593 cls.add_method('GetTraceSource',
2594 'ns3::TypeId::TraceSourceInformation',
2595 [param('uint32_t', 'i')],
2596 is_const=True)
2597 ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function]
2598 cls.add_method('GetTraceSourceN',
2599 'uint32_t',
2600 [],
2601 is_const=True)
2602 ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function]
2603 cls.add_method('GetUid',
2604 'uint16_t',
2605 [],
2606 is_const=True)
2607 ## type-id.h (module 'core'): bool ns3::TypeId::HasConstructor() const [member function]
2608 cls.add_method('HasConstructor',
2609 'bool',
2610 [],
2611 is_const=True)
2612 ## type-id.h (module 'core'): bool ns3::TypeId::HasParent() const [member function]
2613 cls.add_method('HasParent',
2614 'bool',
2615 [],
2616 is_const=True)
2617 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::HideFromDocumentation() [member function]
2618 cls.add_method('HideFromDocumentation',
2619 'ns3::TypeId',
2620 [])
2621 ## type-id.h (module 'core'): bool ns3::TypeId::IsChildOf(ns3::TypeId other) const [member function]
2622 cls.add_method('IsChildOf',
2623 'bool',
2624 [param('ns3::TypeId', 'other')],
2625 is_const=True)
2626 ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function]
2627 cls.add_method('LookupAttributeByName',
2628 'bool',
Alexander Afanasyev6f933532012-02-29 13:30:37 -08002629 [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info', transfer_ownership=False)],
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002630 is_const=True)
Alexander Afanasyev8d6e3f62013-07-27 16:10:44 -07002631 ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByHash(uint32_t hash) [member function]
2632 cls.add_method('LookupByHash',
2633 'ns3::TypeId',
2634 [param('uint32_t', 'hash')],
2635 is_static=True)
2636 ## type-id.h (module 'core'): static bool ns3::TypeId::LookupByHashFailSafe(uint32_t hash, ns3::TypeId * tid) [member function]
2637 cls.add_method('LookupByHashFailSafe',
2638 'bool',
2639 [param('uint32_t', 'hash'), param('ns3::TypeId *', 'tid')],
2640 is_static=True)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002641 ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function]
2642 cls.add_method('LookupByName',
2643 'ns3::TypeId',
2644 [param('std::string', 'name')],
2645 is_static=True)
2646 ## type-id.h (module 'core'): ns3::Ptr<ns3::TraceSourceAccessor const> ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function]
2647 cls.add_method('LookupTraceSourceByName',
2648 'ns3::Ptr< ns3::TraceSourceAccessor const >',
2649 [param('std::string', 'name')],
2650 is_const=True)
2651 ## type-id.h (module 'core'): bool ns3::TypeId::MustHideFromDocumentation() const [member function]
2652 cls.add_method('MustHideFromDocumentation',
2653 'bool',
2654 [],
2655 is_const=True)
2656 ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr<ns3::AttributeValue const> initialValue) [member function]
2657 cls.add_method('SetAttributeInitialValue',
2658 'bool',
2659 [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')])
2660 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function]
2661 cls.add_method('SetGroupName',
2662 'ns3::TypeId',
2663 [param('std::string', 'groupName')])
2664 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetParent(ns3::TypeId tid) [member function]
2665 cls.add_method('SetParent',
2666 'ns3::TypeId',
2667 [param('ns3::TypeId', 'tid')])
2668 ## type-id.h (module 'core'): void ns3::TypeId::SetUid(uint16_t tid) [member function]
2669 cls.add_method('SetUid',
2670 'void',
2671 [param('uint16_t', 'tid')])
2672 return
2673
2674def register_Ns3TypeIdAttributeInformation_methods(root_module, cls):
2675 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor]
2676 cls.add_constructor([])
2677 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor]
2678 cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')])
2679 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable]
2680 cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False)
2681 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable]
2682 cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False)
2683 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable]
2684 cls.add_instance_attribute('flags', 'uint32_t', is_const=False)
2685 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable]
2686 cls.add_instance_attribute('help', 'std::string', is_const=False)
2687 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable]
2688 cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False)
2689 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable]
2690 cls.add_instance_attribute('name', 'std::string', is_const=False)
2691 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable]
2692 cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False)
2693 return
2694
2695def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls):
2696 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor]
2697 cls.add_constructor([])
2698 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor]
2699 cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')])
2700 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable]
2701 cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False)
2702 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable]
2703 cls.add_instance_attribute('help', 'std::string', is_const=False)
2704 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable]
2705 cls.add_instance_attribute('name', 'std::string', is_const=False)
2706 return
2707
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002708def register_Ns3UniformVariable_methods(root_module, cls):
2709 ## random-variable.h (module 'core'): ns3::UniformVariable::UniformVariable(ns3::UniformVariable const & arg0) [copy constructor]
2710 cls.add_constructor([param('ns3::UniformVariable const &', 'arg0')])
2711 ## random-variable.h (module 'core'): ns3::UniformVariable::UniformVariable() [constructor]
2712 cls.add_constructor([])
2713 ## random-variable.h (module 'core'): ns3::UniformVariable::UniformVariable(double s, double l) [constructor]
2714 cls.add_constructor([param('double', 's'), param('double', 'l')])
2715 ## random-variable.h (module 'core'): uint32_t ns3::UniformVariable::GetInteger(uint32_t s, uint32_t l) [member function]
2716 cls.add_method('GetInteger',
2717 'uint32_t',
2718 [param('uint32_t', 's'), param('uint32_t', 'l')])
2719 ## random-variable.h (module 'core'): double ns3::UniformVariable::GetValue() const [member function]
2720 cls.add_method('GetValue',
2721 'double',
2722 [],
2723 is_const=True)
2724 ## random-variable.h (module 'core'): double ns3::UniformVariable::GetValue(double s, double l) [member function]
2725 cls.add_method('GetValue',
2726 'double',
2727 [param('double', 's'), param('double', 'l')])
2728 return
2729
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002730def register_Ns3WeibullVariable_methods(root_module, cls):
2731 ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(ns3::WeibullVariable const & arg0) [copy constructor]
2732 cls.add_constructor([param('ns3::WeibullVariable const &', 'arg0')])
2733 ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable() [constructor]
2734 cls.add_constructor([])
2735 ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(double m) [constructor]
2736 cls.add_constructor([param('double', 'm')])
2737 ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(double m, double s) [constructor]
2738 cls.add_constructor([param('double', 'm'), param('double', 's')])
2739 ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(double m, double s, double b) [constructor]
2740 cls.add_constructor([param('double', 'm'), param('double', 's'), param('double', 'b')])
2741 return
2742
2743def register_Ns3ZetaVariable_methods(root_module, cls):
2744 ## random-variable.h (module 'core'): ns3::ZetaVariable::ZetaVariable(ns3::ZetaVariable const & arg0) [copy constructor]
2745 cls.add_constructor([param('ns3::ZetaVariable const &', 'arg0')])
2746 ## random-variable.h (module 'core'): ns3::ZetaVariable::ZetaVariable(double alpha) [constructor]
2747 cls.add_constructor([param('double', 'alpha')])
2748 ## random-variable.h (module 'core'): ns3::ZetaVariable::ZetaVariable() [constructor]
2749 cls.add_constructor([])
2750 return
2751
2752def register_Ns3ZipfVariable_methods(root_module, cls):
2753 ## random-variable.h (module 'core'): ns3::ZipfVariable::ZipfVariable(ns3::ZipfVariable const & arg0) [copy constructor]
2754 cls.add_constructor([param('ns3::ZipfVariable const &', 'arg0')])
2755 ## random-variable.h (module 'core'): ns3::ZipfVariable::ZipfVariable(long int N, double alpha) [constructor]
2756 cls.add_constructor([param('long int', 'N'), param('double', 'alpha')])
2757 ## random-variable.h (module 'core'): ns3::ZipfVariable::ZipfVariable() [constructor]
2758 cls.add_constructor([])
2759 return
2760
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002761def register_Ns3Empty_methods(root_module, cls):
2762 ## empty.h (module 'core'): ns3::empty::empty() [constructor]
2763 cls.add_constructor([])
2764 ## empty.h (module 'core'): ns3::empty::empty(ns3::empty const & arg0) [copy constructor]
2765 cls.add_constructor([param('ns3::empty const &', 'arg0')])
2766 return
2767
2768def register_Ns3Int64x64_t_methods(root_module, cls):
2769 cls.add_binary_comparison_operator('!=')
2770 cls.add_inplace_numeric_operator('*=', param('ns3::int64x64_t const &', 'right'))
2771 cls.add_inplace_numeric_operator('+=', param('ns3::int64x64_t const &', 'right'))
2772 cls.add_inplace_numeric_operator('-=', param('ns3::int64x64_t const &', 'right'))
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07002773 cls.add_output_stream_operator()
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08002774 cls.add_binary_comparison_operator('<=')
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002775 cls.add_binary_comparison_operator('==')
2776 cls.add_binary_comparison_operator('>=')
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002777 cls.add_inplace_numeric_operator('/=', param('ns3::int64x64_t const &', 'right'))
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002778 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
2779 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
2780 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
2781 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
2782 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
2783 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
2784 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
2785 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
2786 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
2787 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
2788 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
2789 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
2790 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
2791 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
2792 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
2793 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
2794 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
2795 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
2796 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
2797 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
2798 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
2799 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
2800 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
2801 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
2802 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
2803 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
2804 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
2805 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
2806 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
2807 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
2808 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
2809 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
2810 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
2811 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
2812 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
2813 cls.add_unary_numeric_operator('-')
2814 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
2815 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
2816 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
2817 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
2818 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
2819 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
2820 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
2821 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
2822 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
2823 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
2824 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
2825 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
2826 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
2827 cls.add_binary_comparison_operator('<')
2828 cls.add_binary_comparison_operator('>')
2829 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t() [constructor]
2830 cls.add_constructor([])
2831 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(double v) [constructor]
2832 cls.add_constructor([param('double', 'v')])
2833 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(int v) [constructor]
2834 cls.add_constructor([param('int', 'v')])
2835 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long int v) [constructor]
2836 cls.add_constructor([param('long int', 'v')])
2837 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long long int v) [constructor]
2838 cls.add_constructor([param('long long int', 'v')])
2839 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(unsigned int v) [constructor]
2840 cls.add_constructor([param('unsigned int', 'v')])
2841 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long unsigned int v) [constructor]
2842 cls.add_constructor([param('long unsigned int', 'v')])
2843 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long long unsigned int v) [constructor]
2844 cls.add_constructor([param('long long unsigned int', 'v')])
2845 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(int64_t hi, uint64_t lo) [constructor]
2846 cls.add_constructor([param('int64_t', 'hi'), param('uint64_t', 'lo')])
2847 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(ns3::int64x64_t const & o) [copy constructor]
2848 cls.add_constructor([param('ns3::int64x64_t const &', 'o')])
2849 ## int64x64-double.h (module 'core'): double ns3::int64x64_t::GetDouble() const [member function]
2850 cls.add_method('GetDouble',
2851 'double',
2852 [],
2853 is_const=True)
2854 ## int64x64-double.h (module 'core'): int64_t ns3::int64x64_t::GetHigh() const [member function]
2855 cls.add_method('GetHigh',
2856 'int64_t',
2857 [],
2858 is_const=True)
2859 ## int64x64-double.h (module 'core'): uint64_t ns3::int64x64_t::GetLow() const [member function]
2860 cls.add_method('GetLow',
2861 'uint64_t',
2862 [],
2863 is_const=True)
2864 ## int64x64-double.h (module 'core'): static ns3::int64x64_t ns3::int64x64_t::Invert(uint64_t v) [member function]
2865 cls.add_method('Invert',
2866 'ns3::int64x64_t',
2867 [param('uint64_t', 'v')],
2868 is_static=True)
2869 ## int64x64-double.h (module 'core'): void ns3::int64x64_t::MulByInvert(ns3::int64x64_t const & o) [member function]
2870 cls.add_method('MulByInvert',
2871 'void',
2872 [param('ns3::int64x64_t const &', 'o')])
2873 return
2874
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002875def register_Ns3Chunk_methods(root_module, cls):
2876 ## chunk.h (module 'network'): ns3::Chunk::Chunk() [constructor]
2877 cls.add_constructor([])
2878 ## chunk.h (module 'network'): ns3::Chunk::Chunk(ns3::Chunk const & arg0) [copy constructor]
2879 cls.add_constructor([param('ns3::Chunk const &', 'arg0')])
2880 ## chunk.h (module 'network'): uint32_t ns3::Chunk::Deserialize(ns3::Buffer::Iterator start) [member function]
2881 cls.add_method('Deserialize',
2882 'uint32_t',
2883 [param('ns3::Buffer::Iterator', 'start')],
2884 is_pure_virtual=True, is_virtual=True)
2885 ## chunk.h (module 'network'): static ns3::TypeId ns3::Chunk::GetTypeId() [member function]
2886 cls.add_method('GetTypeId',
2887 'ns3::TypeId',
2888 [],
2889 is_static=True)
2890 ## chunk.h (module 'network'): void ns3::Chunk::Print(std::ostream & os) const [member function]
2891 cls.add_method('Print',
2892 'void',
2893 [param('std::ostream &', 'os')],
2894 is_pure_virtual=True, is_const=True, is_virtual=True)
2895 return
2896
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07002897def register_Ns3ConstantVariable_methods(root_module, cls):
2898 ## random-variable.h (module 'core'): ns3::ConstantVariable::ConstantVariable(ns3::ConstantVariable const & arg0) [copy constructor]
2899 cls.add_constructor([param('ns3::ConstantVariable const &', 'arg0')])
2900 ## random-variable.h (module 'core'): ns3::ConstantVariable::ConstantVariable() [constructor]
2901 cls.add_constructor([])
2902 ## random-variable.h (module 'core'): ns3::ConstantVariable::ConstantVariable(double c) [constructor]
2903 cls.add_constructor([param('double', 'c')])
2904 ## random-variable.h (module 'core'): void ns3::ConstantVariable::SetConstant(double c) [member function]
2905 cls.add_method('SetConstant',
2906 'void',
2907 [param('double', 'c')])
2908 return
2909
2910def register_Ns3DeterministicVariable_methods(root_module, cls):
2911 ## random-variable.h (module 'core'): ns3::DeterministicVariable::DeterministicVariable(ns3::DeterministicVariable const & arg0) [copy constructor]
2912 cls.add_constructor([param('ns3::DeterministicVariable const &', 'arg0')])
2913 ## random-variable.h (module 'core'): ns3::DeterministicVariable::DeterministicVariable(double * d, uint32_t c) [constructor]
2914 cls.add_constructor([param('double *', 'd'), param('uint32_t', 'c')])
2915 return
2916
2917def register_Ns3EmpiricalVariable_methods(root_module, cls):
2918 ## random-variable.h (module 'core'): ns3::EmpiricalVariable::EmpiricalVariable(ns3::EmpiricalVariable const & arg0) [copy constructor]
2919 cls.add_constructor([param('ns3::EmpiricalVariable const &', 'arg0')])
2920 ## random-variable.h (module 'core'): ns3::EmpiricalVariable::EmpiricalVariable() [constructor]
2921 cls.add_constructor([])
2922 ## random-variable.h (module 'core'): void ns3::EmpiricalVariable::CDF(double v, double c) [member function]
2923 cls.add_method('CDF',
2924 'void',
2925 [param('double', 'v'), param('double', 'c')])
2926 return
2927
2928def register_Ns3ErlangVariable_methods(root_module, cls):
2929 ## random-variable.h (module 'core'): ns3::ErlangVariable::ErlangVariable(ns3::ErlangVariable const & arg0) [copy constructor]
2930 cls.add_constructor([param('ns3::ErlangVariable const &', 'arg0')])
2931 ## random-variable.h (module 'core'): ns3::ErlangVariable::ErlangVariable() [constructor]
2932 cls.add_constructor([])
2933 ## random-variable.h (module 'core'): ns3::ErlangVariable::ErlangVariable(unsigned int k, double lambda) [constructor]
2934 cls.add_constructor([param('unsigned int', 'k'), param('double', 'lambda')])
2935 ## random-variable.h (module 'core'): double ns3::ErlangVariable::GetValue() const [member function]
2936 cls.add_method('GetValue',
2937 'double',
2938 [],
2939 is_const=True)
2940 ## random-variable.h (module 'core'): double ns3::ErlangVariable::GetValue(unsigned int k, double lambda) const [member function]
2941 cls.add_method('GetValue',
2942 'double',
2943 [param('unsigned int', 'k'), param('double', 'lambda')],
2944 is_const=True)
2945 return
2946
2947def register_Ns3ExponentialVariable_methods(root_module, cls):
2948 ## random-variable.h (module 'core'): ns3::ExponentialVariable::ExponentialVariable(ns3::ExponentialVariable const & arg0) [copy constructor]
2949 cls.add_constructor([param('ns3::ExponentialVariable const &', 'arg0')])
2950 ## random-variable.h (module 'core'): ns3::ExponentialVariable::ExponentialVariable() [constructor]
2951 cls.add_constructor([])
2952 ## random-variable.h (module 'core'): ns3::ExponentialVariable::ExponentialVariable(double m) [constructor]
2953 cls.add_constructor([param('double', 'm')])
2954 ## random-variable.h (module 'core'): ns3::ExponentialVariable::ExponentialVariable(double m, double b) [constructor]
2955 cls.add_constructor([param('double', 'm'), param('double', 'b')])
2956 return
2957
2958def register_Ns3GammaVariable_methods(root_module, cls):
2959 ## random-variable.h (module 'core'): ns3::GammaVariable::GammaVariable(ns3::GammaVariable const & arg0) [copy constructor]
2960 cls.add_constructor([param('ns3::GammaVariable const &', 'arg0')])
2961 ## random-variable.h (module 'core'): ns3::GammaVariable::GammaVariable() [constructor]
2962 cls.add_constructor([])
2963 ## random-variable.h (module 'core'): ns3::GammaVariable::GammaVariable(double alpha, double beta) [constructor]
2964 cls.add_constructor([param('double', 'alpha'), param('double', 'beta')])
2965 ## random-variable.h (module 'core'): double ns3::GammaVariable::GetValue() const [member function]
2966 cls.add_method('GetValue',
2967 'double',
2968 [],
2969 is_const=True)
2970 ## random-variable.h (module 'core'): double ns3::GammaVariable::GetValue(double alpha, double beta) const [member function]
2971 cls.add_method('GetValue',
2972 'double',
2973 [param('double', 'alpha'), param('double', 'beta')],
2974 is_const=True)
2975 return
2976
Alexander Afanasyev381dea02011-11-03 08:33:26 -07002977def register_Ns3Header_methods(root_module, cls):
2978 cls.add_output_stream_operator()
2979 ## header.h (module 'network'): ns3::Header::Header() [constructor]
2980 cls.add_constructor([])
2981 ## header.h (module 'network'): ns3::Header::Header(ns3::Header const & arg0) [copy constructor]
2982 cls.add_constructor([param('ns3::Header const &', 'arg0')])
2983 ## header.h (module 'network'): uint32_t ns3::Header::Deserialize(ns3::Buffer::Iterator start) [member function]
2984 cls.add_method('Deserialize',
2985 'uint32_t',
2986 [param('ns3::Buffer::Iterator', 'start')],
2987 is_pure_virtual=True, is_virtual=True)
2988 ## header.h (module 'network'): uint32_t ns3::Header::GetSerializedSize() const [member function]
2989 cls.add_method('GetSerializedSize',
2990 'uint32_t',
2991 [],
2992 is_pure_virtual=True, is_const=True, is_virtual=True)
2993 ## header.h (module 'network'): static ns3::TypeId ns3::Header::GetTypeId() [member function]
2994 cls.add_method('GetTypeId',
2995 'ns3::TypeId',
2996 [],
2997 is_static=True)
2998 ## header.h (module 'network'): void ns3::Header::Print(std::ostream & os) const [member function]
2999 cls.add_method('Print',
3000 'void',
3001 [param('std::ostream &', 'os')],
3002 is_pure_virtual=True, is_const=True, is_virtual=True)
3003 ## header.h (module 'network'): void ns3::Header::Serialize(ns3::Buffer::Iterator start) const [member function]
3004 cls.add_method('Serialize',
3005 'void',
3006 [param('ns3::Buffer::Iterator', 'start')],
3007 is_pure_virtual=True, is_const=True, is_virtual=True)
3008 return
3009
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07003010def register_Ns3IntEmpiricalVariable_methods(root_module, cls):
3011 ## random-variable.h (module 'core'): ns3::IntEmpiricalVariable::IntEmpiricalVariable(ns3::IntEmpiricalVariable const & arg0) [copy constructor]
3012 cls.add_constructor([param('ns3::IntEmpiricalVariable const &', 'arg0')])
3013 ## random-variable.h (module 'core'): ns3::IntEmpiricalVariable::IntEmpiricalVariable() [constructor]
3014 cls.add_constructor([])
3015 return
3016
3017def register_Ns3LogNormalVariable_methods(root_module, cls):
3018 ## random-variable.h (module 'core'): ns3::LogNormalVariable::LogNormalVariable(ns3::LogNormalVariable const & arg0) [copy constructor]
3019 cls.add_constructor([param('ns3::LogNormalVariable const &', 'arg0')])
3020 ## random-variable.h (module 'core'): ns3::LogNormalVariable::LogNormalVariable(double mu, double sigma) [constructor]
3021 cls.add_constructor([param('double', 'mu'), param('double', 'sigma')])
3022 return
3023
3024def register_Ns3NormalVariable_methods(root_module, cls):
3025 ## random-variable.h (module 'core'): ns3::NormalVariable::NormalVariable(ns3::NormalVariable const & arg0) [copy constructor]
3026 cls.add_constructor([param('ns3::NormalVariable const &', 'arg0')])
3027 ## random-variable.h (module 'core'): ns3::NormalVariable::NormalVariable() [constructor]
3028 cls.add_constructor([])
3029 ## random-variable.h (module 'core'): ns3::NormalVariable::NormalVariable(double m, double v) [constructor]
3030 cls.add_constructor([param('double', 'm'), param('double', 'v')])
3031 ## random-variable.h (module 'core'): ns3::NormalVariable::NormalVariable(double m, double v, double b) [constructor]
3032 cls.add_constructor([param('double', 'm'), param('double', 'v'), param('double', 'b')])
3033 return
3034
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003035def register_Ns3Object_methods(root_module, cls):
3036 ## object.h (module 'core'): ns3::Object::Object() [constructor]
3037 cls.add_constructor([])
3038 ## object.h (module 'core'): void ns3::Object::AggregateObject(ns3::Ptr<ns3::Object> other) [member function]
3039 cls.add_method('AggregateObject',
3040 'void',
3041 [param('ns3::Ptr< ns3::Object >', 'other')])
3042 ## object.h (module 'core'): void ns3::Object::Dispose() [member function]
3043 cls.add_method('Dispose',
3044 'void',
3045 [])
3046 ## object.h (module 'core'): ns3::Object::AggregateIterator ns3::Object::GetAggregateIterator() const [member function]
3047 cls.add_method('GetAggregateIterator',
3048 'ns3::Object::AggregateIterator',
3049 [],
3050 is_const=True)
3051 ## object.h (module 'core'): ns3::TypeId ns3::Object::GetInstanceTypeId() const [member function]
3052 cls.add_method('GetInstanceTypeId',
3053 'ns3::TypeId',
3054 [],
3055 is_const=True, is_virtual=True)
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07003056 ## object.h (module 'core'): ns3::Ptr<ns3::ndn::ContentStore> ns3::Object::GetObject() const [member function]
3057 cls.add_method('GetObject',
3058 'ns3::Ptr< ns3::ndn::ContentStore >',
3059 [],
3060 is_const=True, template_parameters=['ns3::ndn::ContentStore'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07003061 ## object.h (module 'core'): ns3::Ptr<ns3::ndn::Fib> ns3::Object::GetObject() const [member function]
Alexander Afanasyev1c0248b2012-07-24 15:59:50 -07003062 cls.add_method('GetObject',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07003063 'ns3::Ptr< ns3::ndn::Fib >',
Alexander Afanasyev1c0248b2012-07-24 15:59:50 -07003064 [],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07003065 is_const=True, template_parameters=['ns3::ndn::Fib'])
3066 ## object.h (module 'core'): ns3::Ptr<ns3::ndn::Pit> ns3::Object::GetObject() const [member function]
Alexander Afanasyev5feb38b2012-08-09 11:01:43 -07003067 cls.add_method('GetObject',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07003068 'ns3::Ptr< ns3::ndn::Pit >',
Alexander Afanasyev5feb38b2012-08-09 11:01:43 -07003069 [],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07003070 is_const=True, template_parameters=['ns3::ndn::Pit'])
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003071 ## object.h (module 'core'): static ns3::TypeId ns3::Object::GetTypeId() [member function]
3072 cls.add_method('GetTypeId',
3073 'ns3::TypeId',
3074 [],
3075 is_static=True)
Alexander Afanasyev5b8d61b2013-05-03 10:23:21 -07003076 ## object.h (module 'core'): void ns3::Object::Initialize() [member function]
3077 cls.add_method('Initialize',
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003078 'void',
3079 [])
3080 ## object.h (module 'core'): ns3::Object::Object(ns3::Object const & o) [copy constructor]
3081 cls.add_constructor([param('ns3::Object const &', 'o')],
3082 visibility='protected')
3083 ## object.h (module 'core'): void ns3::Object::DoDispose() [member function]
3084 cls.add_method('DoDispose',
3085 'void',
3086 [],
3087 visibility='protected', is_virtual=True)
Alexander Afanasyev5b8d61b2013-05-03 10:23:21 -07003088 ## object.h (module 'core'): void ns3::Object::DoInitialize() [member function]
3089 cls.add_method('DoInitialize',
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003090 'void',
3091 [],
3092 visibility='protected', is_virtual=True)
3093 ## object.h (module 'core'): void ns3::Object::NotifyNewAggregate() [member function]
3094 cls.add_method('NotifyNewAggregate',
3095 'void',
3096 [],
3097 visibility='protected', is_virtual=True)
3098 return
3099
3100def register_Ns3ObjectAggregateIterator_methods(root_module, cls):
3101 ## object.h (module 'core'): ns3::Object::AggregateIterator::AggregateIterator(ns3::Object::AggregateIterator const & arg0) [copy constructor]
3102 cls.add_constructor([param('ns3::Object::AggregateIterator const &', 'arg0')])
3103 ## object.h (module 'core'): ns3::Object::AggregateIterator::AggregateIterator() [constructor]
3104 cls.add_constructor([])
3105 ## object.h (module 'core'): bool ns3::Object::AggregateIterator::HasNext() const [member function]
3106 cls.add_method('HasNext',
3107 'bool',
3108 [],
3109 is_const=True)
3110 ## object.h (module 'core'): ns3::Ptr<ns3::Object const> ns3::Object::AggregateIterator::Next() [member function]
3111 cls.add_method('Next',
3112 'ns3::Ptr< ns3::Object const >',
3113 [])
3114 return
3115
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07003116def register_Ns3ParetoVariable_methods(root_module, cls):
3117 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(ns3::ParetoVariable const & arg0) [copy constructor]
3118 cls.add_constructor([param('ns3::ParetoVariable const &', 'arg0')])
3119 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable() [constructor]
3120 cls.add_constructor([])
3121 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(double m) [constructor]
3122 cls.add_constructor([param('double', 'm')])
3123 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(double m, double s) [constructor]
3124 cls.add_constructor([param('double', 'm'), param('double', 's')])
3125 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(double m, double s, double b) [constructor]
3126 cls.add_constructor([param('double', 'm'), param('double', 's'), param('double', 'b')])
3127 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(std::pair<double,double> params) [constructor]
3128 cls.add_constructor([param('std::pair< double, double >', 'params')])
3129 ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(std::pair<double,double> params, double b) [constructor]
3130 cls.add_constructor([param('std::pair< double, double >', 'params'), param('double', 'b')])
3131 return
3132
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003133def register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, cls):
3134 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >::SimpleRefCount() [constructor]
3135 cls.add_constructor([])
3136 ## 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]
3137 cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter< ns3::AttributeAccessor > > const &', 'o')])
3138 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >::Cleanup() [member function]
3139 cls.add_method('Cleanup',
3140 'void',
3141 [],
3142 is_static=True)
3143 return
3144
3145def register_Ns3SimpleRefCount__Ns3AttributeChecker_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeChecker__gt___methods(root_module, cls):
3146 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >::SimpleRefCount() [constructor]
3147 cls.add_constructor([])
3148 ## 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]
3149 cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter< ns3::AttributeChecker > > const &', 'o')])
3150 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >::Cleanup() [member function]
3151 cls.add_method('Cleanup',
3152 'void',
3153 [],
3154 is_static=True)
3155 return
3156
3157def register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeValue__gt___methods(root_module, cls):
3158 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >::SimpleRefCount() [constructor]
3159 cls.add_constructor([])
3160 ## 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]
3161 cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter< ns3::AttributeValue > > const &', 'o')])
3162 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >::Cleanup() [member function]
3163 cls.add_method('Cleanup',
3164 'void',
3165 [],
3166 is_static=True)
3167 return
3168
3169def register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__lt__ns3CallbackImplBase__gt___methods(root_module, cls):
3170 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >::SimpleRefCount() [constructor]
3171 cls.add_constructor([])
3172 ## 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]
3173 cls.add_constructor([param('ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter< ns3::CallbackImplBase > > const &', 'o')])
3174 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >::Cleanup() [member function]
3175 cls.add_method('Cleanup',
3176 'void',
3177 [],
3178 is_static=True)
3179 return
3180
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003181def register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__gt___methods(root_module, cls):
3182 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >::SimpleRefCount() [constructor]
3183 cls.add_constructor([])
3184 ## 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]
3185 cls.add_constructor([param('ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter< ns3::EventImpl > > const &', 'o')])
3186 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >::Cleanup() [member function]
3187 cls.add_method('Cleanup',
3188 'void',
3189 [],
3190 is_static=True)
3191 return
3192
Alexander Afanasyev8d6e3f62013-07-27 16:10:44 -07003193def register_Ns3SimpleRefCount__Ns3HashImplementation_Ns3Empty_Ns3DefaultDeleter__lt__ns3HashImplementation__gt___methods(root_module, cls):
3194 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Hash::Implementation, ns3::empty, ns3::DefaultDeleter<ns3::Hash::Implementation> >::SimpleRefCount() [constructor]
3195 cls.add_constructor([])
3196 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Hash::Implementation, ns3::empty, ns3::DefaultDeleter<ns3::Hash::Implementation> >::SimpleRefCount(ns3::SimpleRefCount<ns3::Hash::Implementation, ns3::empty, ns3::DefaultDeleter<ns3::Hash::Implementation> > const & o) [copy constructor]
3197 cls.add_constructor([param('ns3::SimpleRefCount< ns3::Hash::Implementation, ns3::empty, ns3::DefaultDeleter< ns3::Hash::Implementation > > const &', 'o')])
3198 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::Hash::Implementation, ns3::empty, ns3::DefaultDeleter<ns3::Hash::Implementation> >::Cleanup() [member function]
3199 cls.add_method('Cleanup',
3200 'void',
3201 [],
3202 is_static=True)
3203 return
3204
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003205def register_Ns3SimpleRefCount__Ns3NixVector_Ns3Empty_Ns3DefaultDeleter__lt__ns3NixVector__gt___methods(root_module, cls):
3206 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >::SimpleRefCount() [constructor]
3207 cls.add_constructor([])
3208 ## 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]
3209 cls.add_constructor([param('ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter< ns3::NixVector > > const &', 'o')])
3210 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >::Cleanup() [member function]
3211 cls.add_method('Cleanup',
3212 'void',
3213 [],
3214 is_static=True)
3215 return
3216
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003217def register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, cls):
3218 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >::SimpleRefCount() [constructor]
3219 cls.add_constructor([])
3220 ## 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]
3221 cls.add_constructor([param('ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter< ns3::Packet > > const &', 'o')])
3222 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >::Cleanup() [member function]
3223 cls.add_method('Cleanup',
3224 'void',
3225 [],
3226 is_static=True)
3227 return
3228
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07003229def register_Ns3SimpleRefCount__Ns3TopologyReader_Ns3Empty_Ns3DefaultDeleter__lt__ns3TopologyReader__gt___methods(root_module, cls):
3230 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TopologyReader, ns3::empty, ns3::DefaultDeleter<ns3::TopologyReader> >::SimpleRefCount() [constructor]
3231 cls.add_constructor([])
3232 ## 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]
3233 cls.add_constructor([param('ns3::SimpleRefCount< ns3::TopologyReader, ns3::empty, ns3::DefaultDeleter< ns3::TopologyReader > > const &', 'o')])
3234 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::TopologyReader, ns3::empty, ns3::DefaultDeleter<ns3::TopologyReader> >::Cleanup() [member function]
3235 cls.add_method('Cleanup',
3236 'void',
3237 [],
3238 is_static=True)
3239 return
3240
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003241def register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, cls):
3242 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >::SimpleRefCount() [constructor]
3243 cls.add_constructor([])
3244 ## 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]
3245 cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > const &', 'o')])
3246 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >::Cleanup() [member function]
3247 cls.add_method('Cleanup',
3248 'void',
3249 [],
3250 is_static=True)
3251 return
3252
Alexander Afanasyev858d5312013-07-10 18:50:18 -07003253def register_Ns3SimpleRefCount__Ns3NdnContentObject_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnContentObject__gt___methods(root_module, cls):
3254 ## 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 -07003255 cls.add_constructor([])
Alexander Afanasyev858d5312013-07-10 18:50:18 -07003256 ## 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]
3257 cls.add_constructor([param('ns3::SimpleRefCount< ns3::ndn::ContentObject, ns3::empty, ns3::DefaultDeleter< ns3::ndn::ContentObject > > const &', 'o')])
3258 ## 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 -07003259 cls.add_method('Cleanup',
3260 'void',
3261 [],
3262 is_static=True)
3263 return
3264
Alexander Afanasyev8d6e3f62013-07-27 16:10:44 -07003265def register_Ns3SimpleRefCount__Ns3NdnExclude_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnExclude__gt___methods(root_module, cls):
3266 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::Exclude, ns3::empty, ns3::DefaultDeleter<ns3::ndn::Exclude> >::SimpleRefCount() [constructor]
3267 cls.add_constructor([])
3268 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::Exclude, ns3::empty, ns3::DefaultDeleter<ns3::ndn::Exclude> >::SimpleRefCount(ns3::SimpleRefCount<ns3::ndn::Exclude, ns3::empty, ns3::DefaultDeleter<ns3::ndn::Exclude> > const & o) [copy constructor]
3269 cls.add_constructor([param('ns3::SimpleRefCount< ns3::ndn::Exclude, ns3::empty, ns3::DefaultDeleter< ns3::ndn::Exclude > > const &', 'o')])
3270 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::ndn::Exclude, ns3::empty, ns3::DefaultDeleter<ns3::ndn::Exclude> >::Cleanup() [member function]
3271 cls.add_method('Cleanup',
3272 'void',
3273 [],
3274 is_static=True)
3275 return
3276
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07003277def register_Ns3SimpleRefCount__Ns3NdnFaceContainer_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnFaceContainer__gt___methods(root_module, cls):
3278 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::FaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::ndn::FaceContainer> >::SimpleRefCount() [constructor]
3279 cls.add_constructor([])
3280 ## 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]
3281 cls.add_constructor([param('ns3::SimpleRefCount< ns3::ndn::FaceContainer, ns3::empty, ns3::DefaultDeleter< ns3::ndn::FaceContainer > > const &', 'o')])
3282 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::ndn::FaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::ndn::FaceContainer> >::Cleanup() [member function]
3283 cls.add_method('Cleanup',
3284 'void',
3285 [],
3286 is_static=True)
3287 return
3288
Alexander Afanasyev858d5312013-07-10 18:50:18 -07003289def register_Ns3SimpleRefCount__Ns3NdnInterest_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnInterest__gt___methods(root_module, cls):
3290 ## 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 -07003291 cls.add_constructor([])
Alexander Afanasyev858d5312013-07-10 18:50:18 -07003292 ## 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]
3293 cls.add_constructor([param('ns3::SimpleRefCount< ns3::ndn::Interest, ns3::empty, ns3::DefaultDeleter< ns3::ndn::Interest > > const &', 'o')])
3294 ## 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 -07003295 cls.add_method('Cleanup',
3296 'void',
3297 [],
3298 is_static=True)
3299 return
3300
Alexander Afanasyev32c07562013-02-01 12:58:43 -08003301def register_Ns3SimpleRefCount__Ns3NdnName_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnName__gt___methods(root_module, cls):
3302 ## 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 -07003303 cls.add_constructor([])
Alexander Afanasyev32c07562013-02-01 12:58:43 -08003304 ## 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]
3305 cls.add_constructor([param('ns3::SimpleRefCount< ns3::ndn::Name, ns3::empty, ns3::DefaultDeleter< ns3::ndn::Name > > const &', 'o')])
3306 ## 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 -07003307 cls.add_method('Cleanup',
3308 'void',
3309 [],
3310 is_static=True)
3311 return
3312
3313def register_Ns3SimpleRefCount__Ns3NdnCsEntry_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnCsEntry__gt___methods(root_module, cls):
3314 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::cs::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::cs::Entry> >::SimpleRefCount() [constructor]
3315 cls.add_constructor([])
3316 ## 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]
3317 cls.add_constructor([param('ns3::SimpleRefCount< ns3::ndn::cs::Entry, ns3::empty, ns3::DefaultDeleter< ns3::ndn::cs::Entry > > const &', 'o')])
3318 ## 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]
3319 cls.add_method('Cleanup',
3320 'void',
3321 [],
3322 is_static=True)
3323 return
3324
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07003325def register_Ns3SimpleRefCount__Ns3NdnPitEntry_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnPitEntry__gt___methods(root_module, cls):
3326 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::pit::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::pit::Entry> >::SimpleRefCount() [constructor]
3327 cls.add_constructor([])
3328 ## 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]
3329 cls.add_constructor([param('ns3::SimpleRefCount< ns3::ndn::pit::Entry, ns3::empty, ns3::DefaultDeleter< ns3::ndn::pit::Entry > > const &', 'o')])
3330 ## 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]
3331 cls.add_method('Cleanup',
3332 'void',
3333 [],
3334 is_static=True)
3335 return
3336
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003337def register_Ns3Time_methods(root_module, cls):
3338 cls.add_binary_comparison_operator('!=')
3339 cls.add_inplace_numeric_operator('+=', param('ns3::Time const &', 'right'))
3340 cls.add_inplace_numeric_operator('-=', param('ns3::Time const &', 'right'))
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07003341 cls.add_output_stream_operator()
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08003342 cls.add_binary_comparison_operator('<=')
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003343 cls.add_binary_comparison_operator('==')
3344 cls.add_binary_comparison_operator('>=')
3345 cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right'))
3346 cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right'))
3347 cls.add_binary_comparison_operator('<')
3348 cls.add_binary_comparison_operator('>')
3349 ## nstime.h (module 'core'): ns3::Time::Time() [constructor]
3350 cls.add_constructor([])
3351 ## nstime.h (module 'core'): ns3::Time::Time(ns3::Time const & o) [copy constructor]
3352 cls.add_constructor([param('ns3::Time const &', 'o')])
3353 ## nstime.h (module 'core'): ns3::Time::Time(double v) [constructor]
3354 cls.add_constructor([param('double', 'v')])
3355 ## nstime.h (module 'core'): ns3::Time::Time(int v) [constructor]
3356 cls.add_constructor([param('int', 'v')])
3357 ## nstime.h (module 'core'): ns3::Time::Time(long int v) [constructor]
3358 cls.add_constructor([param('long int', 'v')])
3359 ## nstime.h (module 'core'): ns3::Time::Time(long long int v) [constructor]
3360 cls.add_constructor([param('long long int', 'v')])
3361 ## nstime.h (module 'core'): ns3::Time::Time(unsigned int v) [constructor]
3362 cls.add_constructor([param('unsigned int', 'v')])
3363 ## nstime.h (module 'core'): ns3::Time::Time(long unsigned int v) [constructor]
3364 cls.add_constructor([param('long unsigned int', 'v')])
3365 ## nstime.h (module 'core'): ns3::Time::Time(long long unsigned int v) [constructor]
3366 cls.add_constructor([param('long long unsigned int', 'v')])
3367 ## nstime.h (module 'core'): ns3::Time::Time(std::string const & s) [constructor]
3368 cls.add_constructor([param('std::string const &', 's')])
3369 ## nstime.h (module 'core'): ns3::Time::Time(ns3::int64x64_t const & value) [constructor]
3370 cls.add_constructor([param('ns3::int64x64_t const &', 'value')])
3371 ## nstime.h (module 'core'): int ns3::Time::Compare(ns3::Time const & o) const [member function]
3372 cls.add_method('Compare',
3373 'int',
3374 [param('ns3::Time const &', 'o')],
3375 is_const=True)
3376 ## nstime.h (module 'core'): static ns3::Time ns3::Time::From(ns3::int64x64_t const & from, ns3::Time::Unit timeUnit) [member function]
3377 cls.add_method('From',
3378 'ns3::Time',
3379 [param('ns3::int64x64_t const &', 'from'), param('ns3::Time::Unit', 'timeUnit')],
3380 is_static=True)
3381 ## nstime.h (module 'core'): static ns3::Time ns3::Time::From(ns3::int64x64_t const & value) [member function]
3382 cls.add_method('From',
3383 'ns3::Time',
3384 [param('ns3::int64x64_t const &', 'value')],
3385 is_static=True)
3386 ## nstime.h (module 'core'): static ns3::Time ns3::Time::FromDouble(double value, ns3::Time::Unit timeUnit) [member function]
3387 cls.add_method('FromDouble',
3388 'ns3::Time',
3389 [param('double', 'value'), param('ns3::Time::Unit', 'timeUnit')],
3390 is_static=True)
3391 ## nstime.h (module 'core'): static ns3::Time ns3::Time::FromInteger(uint64_t value, ns3::Time::Unit timeUnit) [member function]
3392 cls.add_method('FromInteger',
3393 'ns3::Time',
3394 [param('uint64_t', 'value'), param('ns3::Time::Unit', 'timeUnit')],
3395 is_static=True)
3396 ## nstime.h (module 'core'): double ns3::Time::GetDouble() const [member function]
3397 cls.add_method('GetDouble',
3398 'double',
3399 [],
3400 is_const=True)
3401 ## nstime.h (module 'core'): int64_t ns3::Time::GetFemtoSeconds() const [member function]
3402 cls.add_method('GetFemtoSeconds',
3403 'int64_t',
3404 [],
3405 is_const=True)
3406 ## nstime.h (module 'core'): int64_t ns3::Time::GetInteger() const [member function]
3407 cls.add_method('GetInteger',
3408 'int64_t',
3409 [],
3410 is_const=True)
3411 ## nstime.h (module 'core'): int64_t ns3::Time::GetMicroSeconds() const [member function]
3412 cls.add_method('GetMicroSeconds',
3413 'int64_t',
3414 [],
3415 is_const=True)
3416 ## nstime.h (module 'core'): int64_t ns3::Time::GetMilliSeconds() const [member function]
3417 cls.add_method('GetMilliSeconds',
3418 'int64_t',
3419 [],
3420 is_const=True)
3421 ## nstime.h (module 'core'): int64_t ns3::Time::GetNanoSeconds() const [member function]
3422 cls.add_method('GetNanoSeconds',
3423 'int64_t',
3424 [],
3425 is_const=True)
3426 ## nstime.h (module 'core'): int64_t ns3::Time::GetPicoSeconds() const [member function]
3427 cls.add_method('GetPicoSeconds',
3428 'int64_t',
3429 [],
3430 is_const=True)
3431 ## nstime.h (module 'core'): static ns3::Time::Unit ns3::Time::GetResolution() [member function]
3432 cls.add_method('GetResolution',
3433 'ns3::Time::Unit',
3434 [],
3435 is_static=True)
3436 ## nstime.h (module 'core'): double ns3::Time::GetSeconds() const [member function]
3437 cls.add_method('GetSeconds',
3438 'double',
3439 [],
3440 is_const=True)
3441 ## nstime.h (module 'core'): int64_t ns3::Time::GetTimeStep() const [member function]
3442 cls.add_method('GetTimeStep',
3443 'int64_t',
3444 [],
3445 is_const=True)
3446 ## nstime.h (module 'core'): bool ns3::Time::IsNegative() const [member function]
3447 cls.add_method('IsNegative',
3448 'bool',
3449 [],
3450 is_const=True)
3451 ## nstime.h (module 'core'): bool ns3::Time::IsPositive() const [member function]
3452 cls.add_method('IsPositive',
3453 'bool',
3454 [],
3455 is_const=True)
3456 ## nstime.h (module 'core'): bool ns3::Time::IsStrictlyNegative() const [member function]
3457 cls.add_method('IsStrictlyNegative',
3458 'bool',
3459 [],
3460 is_const=True)
3461 ## nstime.h (module 'core'): bool ns3::Time::IsStrictlyPositive() const [member function]
3462 cls.add_method('IsStrictlyPositive',
3463 'bool',
3464 [],
3465 is_const=True)
3466 ## nstime.h (module 'core'): bool ns3::Time::IsZero() const [member function]
3467 cls.add_method('IsZero',
3468 'bool',
3469 [],
3470 is_const=True)
Alexander Afanasyev8d6e3f62013-07-27 16:10:44 -07003471 ## nstime.h (module 'core'): static ns3::Time ns3::Time::Max() [member function]
3472 cls.add_method('Max',
3473 'ns3::Time',
3474 [],
3475 is_static=True)
3476 ## nstime.h (module 'core'): static ns3::Time ns3::Time::Min() [member function]
3477 cls.add_method('Min',
3478 'ns3::Time',
3479 [],
3480 is_static=True)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003481 ## nstime.h (module 'core'): static void ns3::Time::SetResolution(ns3::Time::Unit resolution) [member function]
3482 cls.add_method('SetResolution',
3483 'void',
3484 [param('ns3::Time::Unit', 'resolution')],
3485 is_static=True)
3486 ## nstime.h (module 'core'): ns3::int64x64_t ns3::Time::To(ns3::Time::Unit timeUnit) const [member function]
3487 cls.add_method('To',
3488 'ns3::int64x64_t',
3489 [param('ns3::Time::Unit', 'timeUnit')],
3490 is_const=True)
3491 ## nstime.h (module 'core'): double ns3::Time::ToDouble(ns3::Time::Unit timeUnit) const [member function]
3492 cls.add_method('ToDouble',
3493 'double',
3494 [param('ns3::Time::Unit', 'timeUnit')],
3495 is_const=True)
3496 ## nstime.h (module 'core'): int64_t ns3::Time::ToInteger(ns3::Time::Unit timeUnit) const [member function]
3497 cls.add_method('ToInteger',
3498 'int64_t',
3499 [param('ns3::Time::Unit', 'timeUnit')],
3500 is_const=True)
3501 return
3502
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07003503def register_Ns3TopologyReader_methods(root_module, cls):
3504 ## topology-reader.h (module 'topology-read'): ns3::TopologyReader::TopologyReader() [constructor]
3505 cls.add_constructor([])
3506 ## topology-reader.h (module 'topology-read'): void ns3::TopologyReader::AddLink(ns3::TopologyReader::Link link) [member function]
3507 cls.add_method('AddLink',
3508 'void',
3509 [param('ns3::TopologyReader::Link', 'link')])
3510 ## topology-reader.h (module 'topology-read'): std::string ns3::TopologyReader::GetFileName() const [member function]
3511 cls.add_method('GetFileName',
3512 'std::string',
3513 [],
3514 is_const=True)
3515 ## topology-reader.h (module 'topology-read'): std::_List_const_iterator<ns3::TopologyReader::Link> ns3::TopologyReader::LinksBegin() const [member function]
3516 cls.add_method('LinksBegin',
3517 'std::_List_const_iterator< ns3::TopologyReader::Link >',
3518 [],
3519 is_const=True)
3520 ## topology-reader.h (module 'topology-read'): bool ns3::TopologyReader::LinksEmpty() const [member function]
3521 cls.add_method('LinksEmpty',
3522 'bool',
3523 [],
3524 is_const=True)
3525 ## topology-reader.h (module 'topology-read'): std::_List_const_iterator<ns3::TopologyReader::Link> ns3::TopologyReader::LinksEnd() const [member function]
3526 cls.add_method('LinksEnd',
3527 'std::_List_const_iterator< ns3::TopologyReader::Link >',
3528 [],
3529 is_const=True)
3530 ## topology-reader.h (module 'topology-read'): int ns3::TopologyReader::LinksSize() const [member function]
3531 cls.add_method('LinksSize',
3532 'int',
3533 [],
3534 is_const=True)
3535 ## topology-reader.h (module 'topology-read'): ns3::NodeContainer ns3::TopologyReader::Read() [member function]
3536 cls.add_method('Read',
3537 'ns3::NodeContainer',
3538 [],
3539 is_pure_virtual=True, is_virtual=True)
3540 ## topology-reader.h (module 'topology-read'): void ns3::TopologyReader::SetFileName(std::string const & fileName) [member function]
3541 cls.add_method('SetFileName',
3542 'void',
3543 [param('std::string const &', 'fileName')])
3544 return
3545
3546def register_Ns3TopologyReaderLink_methods(root_module, cls):
3547 ## topology-reader.h (module 'topology-read'): ns3::TopologyReader::Link::Link(ns3::TopologyReader::Link const & arg0) [copy constructor]
3548 cls.add_constructor([param('ns3::TopologyReader::Link const &', 'arg0')])
3549 ## topology-reader.h (module 'topology-read'): ns3::TopologyReader::Link::Link() [constructor]
3550 cls.add_constructor([])
3551 ## 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]
3552 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')])
3553 ## 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]
3554 cls.add_method('AttributesBegin',
3555 '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 > > > >',
3556 [])
3557 ## 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]
3558 cls.add_method('AttributesEnd',
3559 '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 > > > >',
3560 [])
3561 ## topology-reader.h (module 'topology-read'): std::string ns3::TopologyReader::Link::GetAttribute(std::string const & name) const [member function]
3562 cls.add_method('GetAttribute',
3563 'std::string',
3564 [param('std::string const &', 'name')],
3565 is_const=True)
3566 ## topology-reader.h (module 'topology-read'): bool ns3::TopologyReader::Link::GetAttributeFailSafe(std::string const & name, std::string & value) const [member function]
3567 cls.add_method('GetAttributeFailSafe',
3568 'bool',
3569 [param('std::string const &', 'name'), param('std::string &', 'value')],
3570 is_const=True)
3571 ## topology-reader.h (module 'topology-read'): ns3::Ptr<ns3::NetDevice> ns3::TopologyReader::Link::GetFromNetDevice() const [member function]
3572 cls.add_method('GetFromNetDevice',
3573 'ns3::Ptr< ns3::NetDevice >',
3574 [],
3575 is_const=True)
3576 ## topology-reader.h (module 'topology-read'): ns3::Ptr<ns3::Node> ns3::TopologyReader::Link::GetFromNode() const [member function]
3577 cls.add_method('GetFromNode',
3578 'ns3::Ptr< ns3::Node >',
3579 [],
3580 is_const=True)
3581 ## topology-reader.h (module 'topology-read'): std::string ns3::TopologyReader::Link::GetFromNodeName() const [member function]
3582 cls.add_method('GetFromNodeName',
3583 'std::string',
3584 [],
3585 is_const=True)
3586 ## topology-reader.h (module 'topology-read'): ns3::Ptr<ns3::NetDevice> ns3::TopologyReader::Link::GetToNetDevice() const [member function]
3587 cls.add_method('GetToNetDevice',
3588 'ns3::Ptr< ns3::NetDevice >',
3589 [],
3590 is_const=True)
3591 ## topology-reader.h (module 'topology-read'): ns3::Ptr<ns3::Node> ns3::TopologyReader::Link::GetToNode() const [member function]
3592 cls.add_method('GetToNode',
3593 'ns3::Ptr< ns3::Node >',
3594 [],
3595 is_const=True)
3596 ## topology-reader.h (module 'topology-read'): std::string ns3::TopologyReader::Link::GetToNodeName() const [member function]
3597 cls.add_method('GetToNodeName',
3598 'std::string',
3599 [],
3600 is_const=True)
3601 ## topology-reader.h (module 'topology-read'): void ns3::TopologyReader::Link::SetAttribute(std::string const & name, std::string const & value) [member function]
3602 cls.add_method('SetAttribute',
3603 'void',
3604 [param('std::string const &', 'name'), param('std::string const &', 'value')])
3605 ## topology-reader.h (module 'topology-read'): void ns3::TopologyReader::Link::SetNetDevices(ns3::Ptr<ns3::NetDevice> from, ns3::Ptr<ns3::NetDevice> to) [member function]
3606 cls.add_method('SetNetDevices',
3607 'void',
3608 [param('ns3::Ptr< ns3::NetDevice >', 'from'), param('ns3::Ptr< ns3::NetDevice >', 'to')])
3609 return
3610
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003611def register_Ns3TraceSourceAccessor_methods(root_module, cls):
3612 ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor]
3613 cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')])
3614 ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor]
3615 cls.add_constructor([])
3616 ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function]
3617 cls.add_method('Connect',
3618 'bool',
3619 [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')],
3620 is_pure_virtual=True, is_const=True, is_virtual=True)
3621 ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function]
3622 cls.add_method('ConnectWithoutContext',
3623 'bool',
3624 [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')],
3625 is_pure_virtual=True, is_const=True, is_virtual=True)
3626 ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function]
3627 cls.add_method('Disconnect',
3628 'bool',
3629 [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')],
3630 is_pure_virtual=True, is_const=True, is_virtual=True)
3631 ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function]
3632 cls.add_method('DisconnectWithoutContext',
3633 'bool',
3634 [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')],
3635 is_pure_virtual=True, is_const=True, is_virtual=True)
3636 return
3637
3638def register_Ns3Trailer_methods(root_module, cls):
3639 cls.add_output_stream_operator()
3640 ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor]
3641 cls.add_constructor([])
3642 ## trailer.h (module 'network'): ns3::Trailer::Trailer(ns3::Trailer const & arg0) [copy constructor]
3643 cls.add_constructor([param('ns3::Trailer const &', 'arg0')])
3644 ## trailer.h (module 'network'): uint32_t ns3::Trailer::Deserialize(ns3::Buffer::Iterator end) [member function]
3645 cls.add_method('Deserialize',
3646 'uint32_t',
3647 [param('ns3::Buffer::Iterator', 'end')],
3648 is_pure_virtual=True, is_virtual=True)
3649 ## trailer.h (module 'network'): uint32_t ns3::Trailer::GetSerializedSize() const [member function]
3650 cls.add_method('GetSerializedSize',
3651 'uint32_t',
3652 [],
3653 is_pure_virtual=True, is_const=True, is_virtual=True)
3654 ## trailer.h (module 'network'): static ns3::TypeId ns3::Trailer::GetTypeId() [member function]
3655 cls.add_method('GetTypeId',
3656 'ns3::TypeId',
3657 [],
3658 is_static=True)
3659 ## trailer.h (module 'network'): void ns3::Trailer::Print(std::ostream & os) const [member function]
3660 cls.add_method('Print',
3661 'void',
3662 [param('std::ostream &', 'os')],
3663 is_pure_virtual=True, is_const=True, is_virtual=True)
3664 ## trailer.h (module 'network'): void ns3::Trailer::Serialize(ns3::Buffer::Iterator start) const [member function]
3665 cls.add_method('Serialize',
3666 'void',
3667 [param('ns3::Buffer::Iterator', 'start')],
3668 is_pure_virtual=True, is_const=True, is_virtual=True)
3669 return
3670
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07003671def register_Ns3AnnotatedTopologyReader_methods(root_module, cls):
3672 ## annotated-topology-reader.h (module 'ndnSIM'): ns3::AnnotatedTopologyReader::AnnotatedTopologyReader(std::string const & path="", double scale=1.0e+0) [constructor]
3673 cls.add_constructor([param('std::string const &', 'path', default_value='""'), param('double', 'scale', default_value='1.0e+0')])
3674 ## annotated-topology-reader.h (module 'ndnSIM'): ns3::NodeContainer ns3::AnnotatedTopologyReader::Read() [member function]
3675 cls.add_method('Read',
3676 'ns3::NodeContainer',
3677 [],
3678 is_virtual=True)
3679 ## annotated-topology-reader.h (module 'ndnSIM'): ns3::NodeContainer ns3::AnnotatedTopologyReader::GetNodes() const [member function]
3680 cls.add_method('GetNodes',
3681 'ns3::NodeContainer',
3682 [],
Alexander Afanasyev858d5312013-07-10 18:50:18 -07003683 is_const=True, is_virtual=True)
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07003684 ## annotated-topology-reader.h (module 'ndnSIM'): std::list<ns3::TopologyReader::Link, std::allocator<ns3::TopologyReader::Link> > const & ns3::AnnotatedTopologyReader::GetLinks() const [member function]
3685 cls.add_method('GetLinks',
3686 'std::list< ns3::TopologyReader::Link > const &',
3687 [],
Alexander Afanasyev858d5312013-07-10 18:50:18 -07003688 is_const=True, is_virtual=True)
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07003689 ## annotated-topology-reader.h (module 'ndnSIM'): void ns3::AnnotatedTopologyReader::AssignIpv4Addresses(ns3::Ipv4Address base) [member function]
3690 cls.add_method('AssignIpv4Addresses',
3691 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07003692 [param('ns3::Ipv4Address', 'base')],
3693 is_virtual=True)
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07003694 ## annotated-topology-reader.h (module 'ndnSIM'): void ns3::AnnotatedTopologyReader::SetBoundingBox(double ulx, double uly, double lrx, double lry) [member function]
3695 cls.add_method('SetBoundingBox',
3696 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07003697 [param('double', 'ulx'), param('double', 'uly'), param('double', 'lrx'), param('double', 'lry')],
3698 is_virtual=True)
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07003699 ## annotated-topology-reader.h (module 'ndnSIM'): void ns3::AnnotatedTopologyReader::SetMobilityModel(std::string const & model) [member function]
3700 cls.add_method('SetMobilityModel',
3701 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07003702 [param('std::string const &', 'model')],
3703 is_virtual=True)
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07003704 ## annotated-topology-reader.h (module 'ndnSIM'): void ns3::AnnotatedTopologyReader::ApplyOspfMetric() [member function]
3705 cls.add_method('ApplyOspfMetric',
3706 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07003707 [],
3708 is_virtual=True)
3709 ## annotated-topology-reader.h (module 'ndnSIM'): void ns3::AnnotatedTopologyReader::SaveTopology(std::string const & file) [member function]
Alexander Afanasyev71029732012-11-19 23:50:52 -08003710 cls.add_method('SaveTopology',
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07003711 'void',
3712 [param('std::string const &', 'file')],
Alexander Afanasyev858d5312013-07-10 18:50:18 -07003713 is_virtual=True)
3714 ## annotated-topology-reader.h (module 'ndnSIM'): void ns3::AnnotatedTopologyReader::SaveGraphviz(std::string const & file) [member function]
3715 cls.add_method('SaveGraphviz',
3716 'void',
3717 [param('std::string const &', 'file')],
3718 is_virtual=True)
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07003719 ## annotated-topology-reader.h (module 'ndnSIM'): ns3::Ptr<ns3::Node> ns3::AnnotatedTopologyReader::CreateNode(std::string const name, uint32_t systemId) [member function]
3720 cls.add_method('CreateNode',
3721 'ns3::Ptr< ns3::Node >',
3722 [param('std::string const', 'name'), param('uint32_t', 'systemId')],
3723 visibility='protected')
3724 ## 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]
3725 cls.add_method('CreateNode',
3726 'ns3::Ptr< ns3::Node >',
3727 [param('std::string const', 'name'), param('double', 'posX'), param('double', 'posY'), param('uint32_t', 'systemId')],
3728 visibility='protected')
3729 ## annotated-topology-reader.h (module 'ndnSIM'): void ns3::AnnotatedTopologyReader::ApplySettings() [member function]
3730 cls.add_method('ApplySettings',
3731 'void',
3732 [],
3733 visibility='protected')
3734 return
3735
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003736def register_Ns3Application_methods(root_module, cls):
3737 ## application.h (module 'network'): ns3::Application::Application(ns3::Application const & arg0) [copy constructor]
3738 cls.add_constructor([param('ns3::Application const &', 'arg0')])
3739 ## application.h (module 'network'): ns3::Application::Application() [constructor]
3740 cls.add_constructor([])
3741 ## application.h (module 'network'): ns3::Ptr<ns3::Node> ns3::Application::GetNode() const [member function]
3742 cls.add_method('GetNode',
3743 'ns3::Ptr< ns3::Node >',
3744 [],
3745 is_const=True)
3746 ## application.h (module 'network'): static ns3::TypeId ns3::Application::GetTypeId() [member function]
3747 cls.add_method('GetTypeId',
3748 'ns3::TypeId',
3749 [],
3750 is_static=True)
3751 ## application.h (module 'network'): void ns3::Application::SetNode(ns3::Ptr<ns3::Node> node) [member function]
3752 cls.add_method('SetNode',
3753 'void',
3754 [param('ns3::Ptr< ns3::Node >', 'node')])
3755 ## application.h (module 'network'): void ns3::Application::SetStartTime(ns3::Time start) [member function]
3756 cls.add_method('SetStartTime',
3757 'void',
3758 [param('ns3::Time', 'start')])
3759 ## application.h (module 'network'): void ns3::Application::SetStopTime(ns3::Time stop) [member function]
3760 cls.add_method('SetStopTime',
3761 'void',
3762 [param('ns3::Time', 'stop')])
3763 ## application.h (module 'network'): void ns3::Application::DoDispose() [member function]
3764 cls.add_method('DoDispose',
3765 'void',
3766 [],
3767 visibility='protected', is_virtual=True)
Alexander Afanasyev5b8d61b2013-05-03 10:23:21 -07003768 ## application.h (module 'network'): void ns3::Application::DoInitialize() [member function]
3769 cls.add_method('DoInitialize',
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003770 'void',
3771 [],
3772 visibility='protected', is_virtual=True)
3773 ## application.h (module 'network'): void ns3::Application::StartApplication() [member function]
3774 cls.add_method('StartApplication',
3775 'void',
3776 [],
Alexander Afanasyev4756b892012-04-18 14:48:43 -07003777 visibility='private', is_virtual=True)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003778 ## application.h (module 'network'): void ns3::Application::StopApplication() [member function]
3779 cls.add_method('StopApplication',
3780 'void',
3781 [],
Alexander Afanasyev4756b892012-04-18 14:48:43 -07003782 visibility='private', is_virtual=True)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003783 return
3784
3785def register_Ns3AttributeAccessor_methods(root_module, cls):
3786 ## attribute.h (module 'core'): ns3::AttributeAccessor::AttributeAccessor(ns3::AttributeAccessor const & arg0) [copy constructor]
3787 cls.add_constructor([param('ns3::AttributeAccessor const &', 'arg0')])
3788 ## attribute.h (module 'core'): ns3::AttributeAccessor::AttributeAccessor() [constructor]
3789 cls.add_constructor([])
3790 ## attribute.h (module 'core'): bool ns3::AttributeAccessor::Get(ns3::ObjectBase const * object, ns3::AttributeValue & attribute) const [member function]
3791 cls.add_method('Get',
3792 'bool',
3793 [param('ns3::ObjectBase const *', 'object'), param('ns3::AttributeValue &', 'attribute')],
3794 is_pure_virtual=True, is_const=True, is_virtual=True)
3795 ## attribute.h (module 'core'): bool ns3::AttributeAccessor::HasGetter() const [member function]
3796 cls.add_method('HasGetter',
3797 'bool',
3798 [],
3799 is_pure_virtual=True, is_const=True, is_virtual=True)
3800 ## attribute.h (module 'core'): bool ns3::AttributeAccessor::HasSetter() const [member function]
3801 cls.add_method('HasSetter',
3802 'bool',
3803 [],
3804 is_pure_virtual=True, is_const=True, is_virtual=True)
3805 ## attribute.h (module 'core'): bool ns3::AttributeAccessor::Set(ns3::ObjectBase * object, ns3::AttributeValue const & value) const [member function]
3806 cls.add_method('Set',
3807 'bool',
3808 [param('ns3::ObjectBase *', 'object', transfer_ownership=False), param('ns3::AttributeValue const &', 'value')],
3809 is_pure_virtual=True, is_const=True, is_virtual=True)
3810 return
3811
3812def register_Ns3AttributeChecker_methods(root_module, cls):
3813 ## attribute.h (module 'core'): ns3::AttributeChecker::AttributeChecker(ns3::AttributeChecker const & arg0) [copy constructor]
3814 cls.add_constructor([param('ns3::AttributeChecker const &', 'arg0')])
3815 ## attribute.h (module 'core'): ns3::AttributeChecker::AttributeChecker() [constructor]
3816 cls.add_constructor([])
3817 ## attribute.h (module 'core'): bool ns3::AttributeChecker::Check(ns3::AttributeValue const & value) const [member function]
3818 cls.add_method('Check',
3819 'bool',
3820 [param('ns3::AttributeValue const &', 'value')],
3821 is_pure_virtual=True, is_const=True, is_virtual=True)
3822 ## attribute.h (module 'core'): bool ns3::AttributeChecker::Copy(ns3::AttributeValue const & source, ns3::AttributeValue & destination) const [member function]
3823 cls.add_method('Copy',
3824 'bool',
3825 [param('ns3::AttributeValue const &', 'source'), param('ns3::AttributeValue &', 'destination')],
3826 is_pure_virtual=True, is_const=True, is_virtual=True)
3827 ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeChecker::Create() const [member function]
3828 cls.add_method('Create',
3829 'ns3::Ptr< ns3::AttributeValue >',
3830 [],
3831 is_pure_virtual=True, is_const=True, is_virtual=True)
3832 ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function]
3833 cls.add_method('CreateValidValue',
3834 'ns3::Ptr< ns3::AttributeValue >',
3835 [param('ns3::AttributeValue const &', 'value')],
3836 is_const=True)
3837 ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function]
3838 cls.add_method('GetUnderlyingTypeInformation',
3839 'std::string',
3840 [],
3841 is_pure_virtual=True, is_const=True, is_virtual=True)
3842 ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetValueTypeName() const [member function]
3843 cls.add_method('GetValueTypeName',
3844 'std::string',
3845 [],
3846 is_pure_virtual=True, is_const=True, is_virtual=True)
3847 ## attribute.h (module 'core'): bool ns3::AttributeChecker::HasUnderlyingTypeInformation() const [member function]
3848 cls.add_method('HasUnderlyingTypeInformation',
3849 'bool',
3850 [],
3851 is_pure_virtual=True, is_const=True, is_virtual=True)
3852 return
3853
3854def register_Ns3AttributeValue_methods(root_module, cls):
3855 ## attribute.h (module 'core'): ns3::AttributeValue::AttributeValue(ns3::AttributeValue const & arg0) [copy constructor]
3856 cls.add_constructor([param('ns3::AttributeValue const &', 'arg0')])
3857 ## attribute.h (module 'core'): ns3::AttributeValue::AttributeValue() [constructor]
3858 cls.add_constructor([])
3859 ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeValue::Copy() const [member function]
3860 cls.add_method('Copy',
3861 'ns3::Ptr< ns3::AttributeValue >',
3862 [],
3863 is_pure_virtual=True, is_const=True, is_virtual=True)
3864 ## attribute.h (module 'core'): bool ns3::AttributeValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3865 cls.add_method('DeserializeFromString',
3866 'bool',
3867 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3868 is_pure_virtual=True, is_virtual=True)
3869 ## attribute.h (module 'core'): std::string ns3::AttributeValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3870 cls.add_method('SerializeToString',
3871 'std::string',
3872 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3873 is_pure_virtual=True, is_const=True, is_virtual=True)
3874 return
3875
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07003876def register_Ns3BooleanChecker_methods(root_module, cls):
3877 ## boolean.h (module 'core'): ns3::BooleanChecker::BooleanChecker() [constructor]
3878 cls.add_constructor([])
3879 ## boolean.h (module 'core'): ns3::BooleanChecker::BooleanChecker(ns3::BooleanChecker const & arg0) [copy constructor]
3880 cls.add_constructor([param('ns3::BooleanChecker const &', 'arg0')])
3881 return
3882
3883def register_Ns3BooleanValue_methods(root_module, cls):
3884 cls.add_output_stream_operator()
3885 ## boolean.h (module 'core'): ns3::BooleanValue::BooleanValue(ns3::BooleanValue const & arg0) [copy constructor]
3886 cls.add_constructor([param('ns3::BooleanValue const &', 'arg0')])
3887 ## boolean.h (module 'core'): ns3::BooleanValue::BooleanValue() [constructor]
3888 cls.add_constructor([])
3889 ## boolean.h (module 'core'): ns3::BooleanValue::BooleanValue(bool value) [constructor]
3890 cls.add_constructor([param('bool', 'value')])
3891 ## boolean.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::BooleanValue::Copy() const [member function]
3892 cls.add_method('Copy',
3893 'ns3::Ptr< ns3::AttributeValue >',
3894 [],
3895 is_const=True, is_virtual=True)
3896 ## boolean.h (module 'core'): bool ns3::BooleanValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3897 cls.add_method('DeserializeFromString',
3898 'bool',
3899 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3900 is_virtual=True)
3901 ## boolean.h (module 'core'): bool ns3::BooleanValue::Get() const [member function]
3902 cls.add_method('Get',
3903 'bool',
3904 [],
3905 is_const=True)
3906 ## boolean.h (module 'core'): std::string ns3::BooleanValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3907 cls.add_method('SerializeToString',
3908 'std::string',
3909 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3910 is_const=True, is_virtual=True)
3911 ## boolean.h (module 'core'): void ns3::BooleanValue::Set(bool value) [member function]
3912 cls.add_method('Set',
3913 'void',
3914 [param('bool', 'value')])
3915 return
3916
Alexander Afanasyeve4795ae2013-07-11 20:01:31 -07003917def register_Ns3CallbackBasedApp_methods(root_module, cls):
3918 ## callback-based-app.h (module 'ndnSIM'): ns3::CallbackBasedApp::CallbackBasedApp(ns3::CallbackBasedApp const & arg0) [copy constructor]
3919 cls.add_constructor([param('ns3::CallbackBasedApp const &', 'arg0')])
3920 ## callback-based-app.h (module 'ndnSIM'): ns3::CallbackBasedApp::CallbackBasedApp() [constructor]
3921 cls.add_constructor([])
3922 ## callback-based-app.h (module 'ndnSIM'): static ns3::TypeId ns3::CallbackBasedApp::GetTypeId() [member function]
3923 cls.add_method('GetTypeId',
3924 'ns3::TypeId',
3925 [],
3926 is_static=True)
3927 ## 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]
3928 cls.add_method('SetOnStartCallback',
3929 'void',
3930 [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')])
3931 ## 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]
3932 cls.add_method('SetOnStopCallback',
3933 'void',
3934 [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')])
3935 ## callback-based-app.h (module 'ndnSIM'): void ns3::CallbackBasedApp::StartApplication() [member function]
3936 cls.add_method('StartApplication',
3937 'void',
3938 [],
3939 visibility='protected', is_virtual=True)
3940 ## callback-based-app.h (module 'ndnSIM'): void ns3::CallbackBasedApp::StopApplication() [member function]
3941 cls.add_method('StopApplication',
3942 'void',
3943 [],
3944 visibility='protected', is_virtual=True)
3945 return
3946
Alexander Afanasyev381dea02011-11-03 08:33:26 -07003947def register_Ns3CallbackChecker_methods(root_module, cls):
3948 ## callback.h (module 'core'): ns3::CallbackChecker::CallbackChecker() [constructor]
3949 cls.add_constructor([])
3950 ## callback.h (module 'core'): ns3::CallbackChecker::CallbackChecker(ns3::CallbackChecker const & arg0) [copy constructor]
3951 cls.add_constructor([param('ns3::CallbackChecker const &', 'arg0')])
3952 return
3953
3954def register_Ns3CallbackImplBase_methods(root_module, cls):
3955 ## callback.h (module 'core'): ns3::CallbackImplBase::CallbackImplBase() [constructor]
3956 cls.add_constructor([])
3957 ## callback.h (module 'core'): ns3::CallbackImplBase::CallbackImplBase(ns3::CallbackImplBase const & arg0) [copy constructor]
3958 cls.add_constructor([param('ns3::CallbackImplBase const &', 'arg0')])
3959 ## callback.h (module 'core'): bool ns3::CallbackImplBase::IsEqual(ns3::Ptr<ns3::CallbackImplBase const> other) const [member function]
3960 cls.add_method('IsEqual',
3961 'bool',
3962 [param('ns3::Ptr< ns3::CallbackImplBase const >', 'other')],
3963 is_pure_virtual=True, is_const=True, is_virtual=True)
3964 return
3965
3966def register_Ns3CallbackValue_methods(root_module, cls):
3967 ## callback.h (module 'core'): ns3::CallbackValue::CallbackValue(ns3::CallbackValue const & arg0) [copy constructor]
3968 cls.add_constructor([param('ns3::CallbackValue const &', 'arg0')])
3969 ## callback.h (module 'core'): ns3::CallbackValue::CallbackValue() [constructor]
3970 cls.add_constructor([])
3971 ## callback.h (module 'core'): ns3::CallbackValue::CallbackValue(ns3::CallbackBase const & base) [constructor]
3972 cls.add_constructor([param('ns3::CallbackBase const &', 'base')])
3973 ## callback.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::CallbackValue::Copy() const [member function]
3974 cls.add_method('Copy',
3975 'ns3::Ptr< ns3::AttributeValue >',
3976 [],
3977 is_const=True, is_virtual=True)
3978 ## callback.h (module 'core'): bool ns3::CallbackValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3979 cls.add_method('DeserializeFromString',
3980 'bool',
3981 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3982 is_virtual=True)
3983 ## callback.h (module 'core'): std::string ns3::CallbackValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3984 cls.add_method('SerializeToString',
3985 'std::string',
3986 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3987 is_const=True, is_virtual=True)
3988 ## callback.h (module 'core'): void ns3::CallbackValue::Set(ns3::CallbackBase base) [member function]
3989 cls.add_method('Set',
3990 'void',
3991 [param('ns3::CallbackBase', 'base')])
3992 return
3993
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07003994def register_Ns3DoubleValue_methods(root_module, cls):
3995 ## double.h (module 'core'): ns3::DoubleValue::DoubleValue() [constructor]
3996 cls.add_constructor([])
3997 ## double.h (module 'core'): ns3::DoubleValue::DoubleValue(ns3::DoubleValue const & arg0) [copy constructor]
3998 cls.add_constructor([param('ns3::DoubleValue const &', 'arg0')])
3999 ## double.h (module 'core'): ns3::DoubleValue::DoubleValue(double const & value) [constructor]
4000 cls.add_constructor([param('double const &', 'value')])
4001 ## double.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::DoubleValue::Copy() const [member function]
4002 cls.add_method('Copy',
4003 'ns3::Ptr< ns3::AttributeValue >',
4004 [],
4005 is_const=True, is_virtual=True)
4006 ## double.h (module 'core'): bool ns3::DoubleValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4007 cls.add_method('DeserializeFromString',
4008 'bool',
4009 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4010 is_virtual=True)
4011 ## double.h (module 'core'): double ns3::DoubleValue::Get() const [member function]
4012 cls.add_method('Get',
4013 'double',
4014 [],
4015 is_const=True)
4016 ## double.h (module 'core'): std::string ns3::DoubleValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4017 cls.add_method('SerializeToString',
4018 'std::string',
4019 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4020 is_const=True, is_virtual=True)
4021 ## double.h (module 'core'): void ns3::DoubleValue::Set(double const & value) [member function]
4022 cls.add_method('Set',
4023 'void',
4024 [param('double const &', 'value')])
4025 return
4026
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004027def register_Ns3EmptyAttributeValue_methods(root_module, cls):
4028 ## attribute.h (module 'core'): ns3::EmptyAttributeValue::EmptyAttributeValue(ns3::EmptyAttributeValue const & arg0) [copy constructor]
4029 cls.add_constructor([param('ns3::EmptyAttributeValue const &', 'arg0')])
4030 ## attribute.h (module 'core'): ns3::EmptyAttributeValue::EmptyAttributeValue() [constructor]
4031 cls.add_constructor([])
4032 ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::EmptyAttributeValue::Copy() const [member function]
4033 cls.add_method('Copy',
4034 'ns3::Ptr< ns3::AttributeValue >',
4035 [],
4036 is_const=True, visibility='private', is_virtual=True)
4037 ## attribute.h (module 'core'): bool ns3::EmptyAttributeValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4038 cls.add_method('DeserializeFromString',
4039 'bool',
4040 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4041 visibility='private', is_virtual=True)
4042 ## attribute.h (module 'core'): std::string ns3::EmptyAttributeValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4043 cls.add_method('SerializeToString',
4044 'std::string',
4045 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4046 is_const=True, visibility='private', is_virtual=True)
4047 return
4048
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07004049def register_Ns3EnumChecker_methods(root_module, cls):
4050 ## enum.h (module 'core'): ns3::EnumChecker::EnumChecker(ns3::EnumChecker const & arg0) [copy constructor]
4051 cls.add_constructor([param('ns3::EnumChecker const &', 'arg0')])
4052 ## enum.h (module 'core'): ns3::EnumChecker::EnumChecker() [constructor]
4053 cls.add_constructor([])
4054 ## enum.h (module 'core'): void ns3::EnumChecker::Add(int v, std::string name) [member function]
4055 cls.add_method('Add',
4056 'void',
4057 [param('int', 'v'), param('std::string', 'name')])
4058 ## enum.h (module 'core'): void ns3::EnumChecker::AddDefault(int v, std::string name) [member function]
4059 cls.add_method('AddDefault',
4060 'void',
4061 [param('int', 'v'), param('std::string', 'name')])
4062 ## enum.h (module 'core'): bool ns3::EnumChecker::Check(ns3::AttributeValue const & value) const [member function]
4063 cls.add_method('Check',
4064 'bool',
4065 [param('ns3::AttributeValue const &', 'value')],
4066 is_const=True, is_virtual=True)
4067 ## enum.h (module 'core'): bool ns3::EnumChecker::Copy(ns3::AttributeValue const & src, ns3::AttributeValue & dst) const [member function]
4068 cls.add_method('Copy',
4069 'bool',
4070 [param('ns3::AttributeValue const &', 'src'), param('ns3::AttributeValue &', 'dst')],
4071 is_const=True, is_virtual=True)
4072 ## enum.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::EnumChecker::Create() const [member function]
4073 cls.add_method('Create',
4074 'ns3::Ptr< ns3::AttributeValue >',
4075 [],
4076 is_const=True, is_virtual=True)
4077 ## enum.h (module 'core'): std::string ns3::EnumChecker::GetUnderlyingTypeInformation() const [member function]
4078 cls.add_method('GetUnderlyingTypeInformation',
4079 'std::string',
4080 [],
4081 is_const=True, is_virtual=True)
4082 ## enum.h (module 'core'): std::string ns3::EnumChecker::GetValueTypeName() const [member function]
4083 cls.add_method('GetValueTypeName',
4084 'std::string',
4085 [],
4086 is_const=True, is_virtual=True)
4087 ## enum.h (module 'core'): bool ns3::EnumChecker::HasUnderlyingTypeInformation() const [member function]
4088 cls.add_method('HasUnderlyingTypeInformation',
4089 'bool',
4090 [],
4091 is_const=True, is_virtual=True)
4092 return
4093
4094def register_Ns3EnumValue_methods(root_module, cls):
4095 ## enum.h (module 'core'): ns3::EnumValue::EnumValue(ns3::EnumValue const & arg0) [copy constructor]
4096 cls.add_constructor([param('ns3::EnumValue const &', 'arg0')])
4097 ## enum.h (module 'core'): ns3::EnumValue::EnumValue() [constructor]
4098 cls.add_constructor([])
4099 ## enum.h (module 'core'): ns3::EnumValue::EnumValue(int v) [constructor]
4100 cls.add_constructor([param('int', 'v')])
4101 ## enum.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::EnumValue::Copy() const [member function]
4102 cls.add_method('Copy',
4103 'ns3::Ptr< ns3::AttributeValue >',
4104 [],
4105 is_const=True, is_virtual=True)
4106 ## enum.h (module 'core'): bool ns3::EnumValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4107 cls.add_method('DeserializeFromString',
4108 'bool',
4109 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4110 is_virtual=True)
4111 ## enum.h (module 'core'): int ns3::EnumValue::Get() const [member function]
4112 cls.add_method('Get',
4113 'int',
4114 [],
4115 is_const=True)
4116 ## enum.h (module 'core'): std::string ns3::EnumValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4117 cls.add_method('SerializeToString',
4118 'std::string',
4119 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4120 is_const=True, is_virtual=True)
4121 ## enum.h (module 'core'): void ns3::EnumValue::Set(int v) [member function]
4122 cls.add_method('Set',
4123 'void',
4124 [param('int', 'v')])
4125 return
4126
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004127def register_Ns3EventImpl_methods(root_module, cls):
4128 ## event-impl.h (module 'core'): ns3::EventImpl::EventImpl(ns3::EventImpl const & arg0) [copy constructor]
4129 cls.add_constructor([param('ns3::EventImpl const &', 'arg0')])
4130 ## event-impl.h (module 'core'): ns3::EventImpl::EventImpl() [constructor]
4131 cls.add_constructor([])
4132 ## event-impl.h (module 'core'): void ns3::EventImpl::Cancel() [member function]
4133 cls.add_method('Cancel',
4134 'void',
4135 [])
4136 ## event-impl.h (module 'core'): void ns3::EventImpl::Invoke() [member function]
4137 cls.add_method('Invoke',
4138 'void',
4139 [])
4140 ## event-impl.h (module 'core'): bool ns3::EventImpl::IsCancelled() [member function]
4141 cls.add_method('IsCancelled',
4142 'bool',
4143 [])
4144 ## event-impl.h (module 'core'): void ns3::EventImpl::Notify() [member function]
4145 cls.add_method('Notify',
4146 'void',
4147 [],
4148 is_pure_virtual=True, visibility='protected', is_virtual=True)
4149 return
4150
4151def register_Ns3IntegerValue_methods(root_module, cls):
4152 ## integer.h (module 'core'): ns3::IntegerValue::IntegerValue() [constructor]
4153 cls.add_constructor([])
4154 ## integer.h (module 'core'): ns3::IntegerValue::IntegerValue(ns3::IntegerValue const & arg0) [copy constructor]
4155 cls.add_constructor([param('ns3::IntegerValue const &', 'arg0')])
4156 ## integer.h (module 'core'): ns3::IntegerValue::IntegerValue(int64_t const & value) [constructor]
4157 cls.add_constructor([param('int64_t const &', 'value')])
4158 ## integer.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::IntegerValue::Copy() const [member function]
4159 cls.add_method('Copy',
4160 'ns3::Ptr< ns3::AttributeValue >',
4161 [],
4162 is_const=True, is_virtual=True)
4163 ## integer.h (module 'core'): bool ns3::IntegerValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4164 cls.add_method('DeserializeFromString',
4165 'bool',
4166 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4167 is_virtual=True)
4168 ## integer.h (module 'core'): int64_t ns3::IntegerValue::Get() const [member function]
4169 cls.add_method('Get',
4170 'int64_t',
4171 [],
4172 is_const=True)
4173 ## integer.h (module 'core'): std::string ns3::IntegerValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4174 cls.add_method('SerializeToString',
4175 'std::string',
4176 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4177 is_const=True, is_virtual=True)
4178 ## integer.h (module 'core'): void ns3::IntegerValue::Set(int64_t const & value) [member function]
4179 cls.add_method('Set',
4180 'void',
4181 [param('int64_t const &', 'value')])
4182 return
4183
4184def register_Ns3Ipv4AddressChecker_methods(root_module, cls):
4185 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker::Ipv4AddressChecker() [constructor]
4186 cls.add_constructor([])
4187 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker::Ipv4AddressChecker(ns3::Ipv4AddressChecker const & arg0) [copy constructor]
4188 cls.add_constructor([param('ns3::Ipv4AddressChecker const &', 'arg0')])
4189 return
4190
4191def register_Ns3Ipv4AddressValue_methods(root_module, cls):
4192 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue::Ipv4AddressValue() [constructor]
4193 cls.add_constructor([])
4194 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue::Ipv4AddressValue(ns3::Ipv4AddressValue const & arg0) [copy constructor]
4195 cls.add_constructor([param('ns3::Ipv4AddressValue const &', 'arg0')])
4196 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue::Ipv4AddressValue(ns3::Ipv4Address const & value) [constructor]
4197 cls.add_constructor([param('ns3::Ipv4Address const &', 'value')])
4198 ## ipv4-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv4AddressValue::Copy() const [member function]
4199 cls.add_method('Copy',
4200 'ns3::Ptr< ns3::AttributeValue >',
4201 [],
4202 is_const=True, is_virtual=True)
4203 ## ipv4-address.h (module 'network'): bool ns3::Ipv4AddressValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4204 cls.add_method('DeserializeFromString',
4205 'bool',
4206 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4207 is_virtual=True)
4208 ## ipv4-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv4AddressValue::Get() const [member function]
4209 cls.add_method('Get',
4210 'ns3::Ipv4Address',
4211 [],
4212 is_const=True)
4213 ## ipv4-address.h (module 'network'): std::string ns3::Ipv4AddressValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4214 cls.add_method('SerializeToString',
4215 'std::string',
4216 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4217 is_const=True, is_virtual=True)
4218 ## ipv4-address.h (module 'network'): void ns3::Ipv4AddressValue::Set(ns3::Ipv4Address const & value) [member function]
4219 cls.add_method('Set',
4220 'void',
4221 [param('ns3::Ipv4Address const &', 'value')])
4222 return
4223
4224def register_Ns3Ipv4MaskChecker_methods(root_module, cls):
4225 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker::Ipv4MaskChecker() [constructor]
4226 cls.add_constructor([])
4227 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker::Ipv4MaskChecker(ns3::Ipv4MaskChecker const & arg0) [copy constructor]
4228 cls.add_constructor([param('ns3::Ipv4MaskChecker const &', 'arg0')])
4229 return
4230
4231def register_Ns3Ipv4MaskValue_methods(root_module, cls):
4232 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue::Ipv4MaskValue() [constructor]
4233 cls.add_constructor([])
4234 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue::Ipv4MaskValue(ns3::Ipv4MaskValue const & arg0) [copy constructor]
4235 cls.add_constructor([param('ns3::Ipv4MaskValue const &', 'arg0')])
4236 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue::Ipv4MaskValue(ns3::Ipv4Mask const & value) [constructor]
4237 cls.add_constructor([param('ns3::Ipv4Mask const &', 'value')])
4238 ## ipv4-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv4MaskValue::Copy() const [member function]
4239 cls.add_method('Copy',
4240 'ns3::Ptr< ns3::AttributeValue >',
4241 [],
4242 is_const=True, is_virtual=True)
4243 ## ipv4-address.h (module 'network'): bool ns3::Ipv4MaskValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4244 cls.add_method('DeserializeFromString',
4245 'bool',
4246 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4247 is_virtual=True)
4248 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask ns3::Ipv4MaskValue::Get() const [member function]
4249 cls.add_method('Get',
4250 'ns3::Ipv4Mask',
4251 [],
4252 is_const=True)
4253 ## ipv4-address.h (module 'network'): std::string ns3::Ipv4MaskValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4254 cls.add_method('SerializeToString',
4255 'std::string',
4256 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4257 is_const=True, is_virtual=True)
4258 ## ipv4-address.h (module 'network'): void ns3::Ipv4MaskValue::Set(ns3::Ipv4Mask const & value) [member function]
4259 cls.add_method('Set',
4260 'void',
4261 [param('ns3::Ipv4Mask const &', 'value')])
4262 return
4263
4264def register_Ns3Ipv6AddressChecker_methods(root_module, cls):
4265 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker::Ipv6AddressChecker() [constructor]
4266 cls.add_constructor([])
4267 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker::Ipv6AddressChecker(ns3::Ipv6AddressChecker const & arg0) [copy constructor]
4268 cls.add_constructor([param('ns3::Ipv6AddressChecker const &', 'arg0')])
4269 return
4270
4271def register_Ns3Ipv6AddressValue_methods(root_module, cls):
4272 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue::Ipv6AddressValue() [constructor]
4273 cls.add_constructor([])
4274 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue::Ipv6AddressValue(ns3::Ipv6AddressValue const & arg0) [copy constructor]
4275 cls.add_constructor([param('ns3::Ipv6AddressValue const &', 'arg0')])
4276 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue::Ipv6AddressValue(ns3::Ipv6Address const & value) [constructor]
4277 cls.add_constructor([param('ns3::Ipv6Address const &', 'value')])
4278 ## ipv6-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv6AddressValue::Copy() const [member function]
4279 cls.add_method('Copy',
4280 'ns3::Ptr< ns3::AttributeValue >',
4281 [],
4282 is_const=True, is_virtual=True)
4283 ## ipv6-address.h (module 'network'): bool ns3::Ipv6AddressValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4284 cls.add_method('DeserializeFromString',
4285 'bool',
4286 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4287 is_virtual=True)
4288 ## ipv6-address.h (module 'network'): ns3::Ipv6Address ns3::Ipv6AddressValue::Get() const [member function]
4289 cls.add_method('Get',
4290 'ns3::Ipv6Address',
4291 [],
4292 is_const=True)
4293 ## ipv6-address.h (module 'network'): std::string ns3::Ipv6AddressValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4294 cls.add_method('SerializeToString',
4295 'std::string',
4296 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4297 is_const=True, is_virtual=True)
4298 ## ipv6-address.h (module 'network'): void ns3::Ipv6AddressValue::Set(ns3::Ipv6Address const & value) [member function]
4299 cls.add_method('Set',
4300 'void',
4301 [param('ns3::Ipv6Address const &', 'value')])
4302 return
4303
4304def register_Ns3Ipv6PrefixChecker_methods(root_module, cls):
4305 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker::Ipv6PrefixChecker() [constructor]
4306 cls.add_constructor([])
4307 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker::Ipv6PrefixChecker(ns3::Ipv6PrefixChecker const & arg0) [copy constructor]
4308 cls.add_constructor([param('ns3::Ipv6PrefixChecker const &', 'arg0')])
4309 return
4310
4311def register_Ns3Ipv6PrefixValue_methods(root_module, cls):
4312 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue::Ipv6PrefixValue() [constructor]
4313 cls.add_constructor([])
4314 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue::Ipv6PrefixValue(ns3::Ipv6PrefixValue const & arg0) [copy constructor]
4315 cls.add_constructor([param('ns3::Ipv6PrefixValue const &', 'arg0')])
4316 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue::Ipv6PrefixValue(ns3::Ipv6Prefix const & value) [constructor]
4317 cls.add_constructor([param('ns3::Ipv6Prefix const &', 'value')])
4318 ## ipv6-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv6PrefixValue::Copy() const [member function]
4319 cls.add_method('Copy',
4320 'ns3::Ptr< ns3::AttributeValue >',
4321 [],
4322 is_const=True, is_virtual=True)
4323 ## ipv6-address.h (module 'network'): bool ns3::Ipv6PrefixValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4324 cls.add_method('DeserializeFromString',
4325 'bool',
4326 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4327 is_virtual=True)
4328 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix ns3::Ipv6PrefixValue::Get() const [member function]
4329 cls.add_method('Get',
4330 'ns3::Ipv6Prefix',
4331 [],
4332 is_const=True)
4333 ## ipv6-address.h (module 'network'): std::string ns3::Ipv6PrefixValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4334 cls.add_method('SerializeToString',
4335 'std::string',
4336 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4337 is_const=True, is_virtual=True)
4338 ## ipv6-address.h (module 'network'): void ns3::Ipv6PrefixValue::Set(ns3::Ipv6Prefix const & value) [member function]
4339 cls.add_method('Set',
4340 'void',
4341 [param('ns3::Ipv6Prefix const &', 'value')])
4342 return
4343
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004344def register_Ns3NetDevice_methods(root_module, cls):
4345 ## net-device.h (module 'network'): ns3::NetDevice::NetDevice() [constructor]
4346 cls.add_constructor([])
4347 ## net-device.h (module 'network'): ns3::NetDevice::NetDevice(ns3::NetDevice const & arg0) [copy constructor]
4348 cls.add_constructor([param('ns3::NetDevice const &', 'arg0')])
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08004349 ## net-device.h (module 'network'): void ns3::NetDevice::AddLinkChangeCallback(ns3::Callback<void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> callback) [member function]
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004350 cls.add_method('AddLinkChangeCallback',
4351 'void',
4352 [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')],
4353 is_pure_virtual=True, is_virtual=True)
4354 ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetAddress() const [member function]
4355 cls.add_method('GetAddress',
4356 'ns3::Address',
4357 [],
4358 is_pure_virtual=True, is_const=True, is_virtual=True)
4359 ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetBroadcast() const [member function]
4360 cls.add_method('GetBroadcast',
4361 'ns3::Address',
4362 [],
4363 is_pure_virtual=True, is_const=True, is_virtual=True)
4364 ## net-device.h (module 'network'): ns3::Ptr<ns3::Channel> ns3::NetDevice::GetChannel() const [member function]
4365 cls.add_method('GetChannel',
4366 'ns3::Ptr< ns3::Channel >',
4367 [],
4368 is_pure_virtual=True, is_const=True, is_virtual=True)
4369 ## net-device.h (module 'network'): uint32_t ns3::NetDevice::GetIfIndex() const [member function]
4370 cls.add_method('GetIfIndex',
4371 'uint32_t',
4372 [],
4373 is_pure_virtual=True, is_const=True, is_virtual=True)
4374 ## net-device.h (module 'network'): uint16_t ns3::NetDevice::GetMtu() const [member function]
4375 cls.add_method('GetMtu',
4376 'uint16_t',
4377 [],
4378 is_pure_virtual=True, is_const=True, is_virtual=True)
4379 ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetMulticast(ns3::Ipv4Address multicastGroup) const [member function]
4380 cls.add_method('GetMulticast',
4381 'ns3::Address',
4382 [param('ns3::Ipv4Address', 'multicastGroup')],
4383 is_pure_virtual=True, is_const=True, is_virtual=True)
4384 ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetMulticast(ns3::Ipv6Address addr) const [member function]
4385 cls.add_method('GetMulticast',
4386 'ns3::Address',
4387 [param('ns3::Ipv6Address', 'addr')],
4388 is_pure_virtual=True, is_const=True, is_virtual=True)
4389 ## net-device.h (module 'network'): ns3::Ptr<ns3::Node> ns3::NetDevice::GetNode() const [member function]
4390 cls.add_method('GetNode',
4391 'ns3::Ptr< ns3::Node >',
4392 [],
4393 is_pure_virtual=True, is_const=True, is_virtual=True)
4394 ## net-device.h (module 'network'): static ns3::TypeId ns3::NetDevice::GetTypeId() [member function]
4395 cls.add_method('GetTypeId',
4396 'ns3::TypeId',
4397 [],
4398 is_static=True)
4399 ## net-device.h (module 'network'): bool ns3::NetDevice::IsBridge() const [member function]
4400 cls.add_method('IsBridge',
4401 'bool',
4402 [],
4403 is_pure_virtual=True, is_const=True, is_virtual=True)
4404 ## net-device.h (module 'network'): bool ns3::NetDevice::IsBroadcast() const [member function]
4405 cls.add_method('IsBroadcast',
4406 'bool',
4407 [],
4408 is_pure_virtual=True, is_const=True, is_virtual=True)
4409 ## net-device.h (module 'network'): bool ns3::NetDevice::IsLinkUp() const [member function]
4410 cls.add_method('IsLinkUp',
4411 'bool',
4412 [],
4413 is_pure_virtual=True, is_const=True, is_virtual=True)
4414 ## net-device.h (module 'network'): bool ns3::NetDevice::IsMulticast() const [member function]
4415 cls.add_method('IsMulticast',
4416 'bool',
4417 [],
4418 is_pure_virtual=True, is_const=True, is_virtual=True)
4419 ## net-device.h (module 'network'): bool ns3::NetDevice::IsPointToPoint() const [member function]
4420 cls.add_method('IsPointToPoint',
4421 'bool',
4422 [],
4423 is_pure_virtual=True, is_const=True, is_virtual=True)
4424 ## net-device.h (module 'network'): bool ns3::NetDevice::NeedsArp() const [member function]
4425 cls.add_method('NeedsArp',
4426 'bool',
4427 [],
4428 is_pure_virtual=True, is_const=True, is_virtual=True)
4429 ## net-device.h (module 'network'): bool ns3::NetDevice::Send(ns3::Ptr<ns3::Packet> packet, ns3::Address const & dest, uint16_t protocolNumber) [member function]
4430 cls.add_method('Send',
4431 'bool',
4432 [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')],
4433 is_pure_virtual=True, is_virtual=True)
4434 ## 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]
4435 cls.add_method('SendFrom',
4436 'bool',
4437 [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'source'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')],
4438 is_pure_virtual=True, is_virtual=True)
4439 ## net-device.h (module 'network'): void ns3::NetDevice::SetAddress(ns3::Address address) [member function]
4440 cls.add_method('SetAddress',
4441 'void',
4442 [param('ns3::Address', 'address')],
4443 is_pure_virtual=True, is_virtual=True)
4444 ## net-device.h (module 'network'): void ns3::NetDevice::SetIfIndex(uint32_t const index) [member function]
4445 cls.add_method('SetIfIndex',
4446 'void',
4447 [param('uint32_t const', 'index')],
4448 is_pure_virtual=True, is_virtual=True)
4449 ## net-device.h (module 'network'): bool ns3::NetDevice::SetMtu(uint16_t const mtu) [member function]
4450 cls.add_method('SetMtu',
4451 'bool',
4452 [param('uint16_t const', 'mtu')],
4453 is_pure_virtual=True, is_virtual=True)
4454 ## net-device.h (module 'network'): void ns3::NetDevice::SetNode(ns3::Ptr<ns3::Node> node) [member function]
4455 cls.add_method('SetNode',
4456 'void',
4457 [param('ns3::Ptr< ns3::Node >', 'node')],
4458 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyev07827182011-12-13 01:07:32 -08004459 ## net-device.h (module 'network'): void ns3::NetDevice::SetPromiscReceiveCallback(ns3::Callback<bool,ns3::Ptr<ns3::NetDevice>,ns3::Ptr<const ns3::Packet>,short unsigned int,const ns3::Address&,const ns3::Address&,ns3::NetDevice::PacketType,ns3::empty,ns3::empty,ns3::empty> cb) [member function]
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004460 cls.add_method('SetPromiscReceiveCallback',
4461 'void',
Alexander Afanasyev07827182011-12-13 01:07:32 -08004462 [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, short unsigned int, ns3::Address const &, ns3::Address const &, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty >', 'cb')],
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004463 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyev07827182011-12-13 01:07:32 -08004464 ## net-device.h (module 'network'): void ns3::NetDevice::SetReceiveCallback(ns3::Callback<bool,ns3::Ptr<ns3::NetDevice>,ns3::Ptr<const ns3::Packet>,short unsigned int,const ns3::Address&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> cb) [member function]
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004465 cls.add_method('SetReceiveCallback',
4466 'void',
Alexander Afanasyev07827182011-12-13 01:07:32 -08004467 [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, short unsigned int, ns3::Address const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')],
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004468 is_pure_virtual=True, is_virtual=True)
4469 ## net-device.h (module 'network'): bool ns3::NetDevice::SupportsSendFrom() const [member function]
4470 cls.add_method('SupportsSendFrom',
4471 'bool',
4472 [],
4473 is_pure_virtual=True, is_const=True, is_virtual=True)
4474 return
4475
4476def register_Ns3NixVector_methods(root_module, cls):
4477 cls.add_output_stream_operator()
4478 ## nix-vector.h (module 'network'): ns3::NixVector::NixVector() [constructor]
4479 cls.add_constructor([])
4480 ## nix-vector.h (module 'network'): ns3::NixVector::NixVector(ns3::NixVector const & o) [copy constructor]
4481 cls.add_constructor([param('ns3::NixVector const &', 'o')])
4482 ## nix-vector.h (module 'network'): void ns3::NixVector::AddNeighborIndex(uint32_t newBits, uint32_t numberOfBits) [member function]
4483 cls.add_method('AddNeighborIndex',
4484 'void',
4485 [param('uint32_t', 'newBits'), param('uint32_t', 'numberOfBits')])
4486 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::BitCount(uint32_t numberOfNeighbors) const [member function]
4487 cls.add_method('BitCount',
4488 'uint32_t',
4489 [param('uint32_t', 'numberOfNeighbors')],
4490 is_const=True)
4491 ## nix-vector.h (module 'network'): ns3::Ptr<ns3::NixVector> ns3::NixVector::Copy() const [member function]
4492 cls.add_method('Copy',
4493 'ns3::Ptr< ns3::NixVector >',
4494 [],
4495 is_const=True)
4496 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::Deserialize(uint32_t const * buffer, uint32_t size) [member function]
4497 cls.add_method('Deserialize',
4498 'uint32_t',
4499 [param('uint32_t const *', 'buffer'), param('uint32_t', 'size')])
4500 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::ExtractNeighborIndex(uint32_t numberOfBits) [member function]
4501 cls.add_method('ExtractNeighborIndex',
4502 'uint32_t',
4503 [param('uint32_t', 'numberOfBits')])
4504 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::GetRemainingBits() [member function]
4505 cls.add_method('GetRemainingBits',
4506 'uint32_t',
4507 [])
4508 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::GetSerializedSize() const [member function]
4509 cls.add_method('GetSerializedSize',
4510 'uint32_t',
4511 [],
4512 is_const=True)
4513 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::Serialize(uint32_t * buffer, uint32_t maxSize) const [member function]
4514 cls.add_method('Serialize',
4515 'uint32_t',
4516 [param('uint32_t *', 'buffer'), param('uint32_t', 'maxSize')],
4517 is_const=True)
4518 return
4519
4520def register_Ns3Node_methods(root_module, cls):
4521 ## node.h (module 'network'): ns3::Node::Node(ns3::Node const & arg0) [copy constructor]
4522 cls.add_constructor([param('ns3::Node const &', 'arg0')])
4523 ## node.h (module 'network'): ns3::Node::Node() [constructor]
4524 cls.add_constructor([])
4525 ## node.h (module 'network'): ns3::Node::Node(uint32_t systemId) [constructor]
4526 cls.add_constructor([param('uint32_t', 'systemId')])
4527 ## node.h (module 'network'): uint32_t ns3::Node::AddApplication(ns3::Ptr<ns3::Application> application) [member function]
4528 cls.add_method('AddApplication',
4529 'uint32_t',
4530 [param('ns3::Ptr< ns3::Application >', 'application')])
4531 ## node.h (module 'network'): uint32_t ns3::Node::AddDevice(ns3::Ptr<ns3::NetDevice> device) [member function]
4532 cls.add_method('AddDevice',
4533 'uint32_t',
4534 [param('ns3::Ptr< ns3::NetDevice >', 'device')])
4535 ## node.h (module 'network'): static bool ns3::Node::ChecksumEnabled() [member function]
4536 cls.add_method('ChecksumEnabled',
4537 'bool',
4538 [],
4539 is_static=True)
4540 ## node.h (module 'network'): ns3::Ptr<ns3::Application> ns3::Node::GetApplication(uint32_t index) const [member function]
4541 cls.add_method('GetApplication',
4542 'ns3::Ptr< ns3::Application >',
4543 [param('uint32_t', 'index')],
4544 is_const=True)
4545 ## node.h (module 'network'): ns3::Ptr<ns3::NetDevice> ns3::Node::GetDevice(uint32_t index) const [member function]
4546 cls.add_method('GetDevice',
4547 'ns3::Ptr< ns3::NetDevice >',
4548 [param('uint32_t', 'index')],
4549 is_const=True)
4550 ## node.h (module 'network'): uint32_t ns3::Node::GetId() const [member function]
4551 cls.add_method('GetId',
4552 'uint32_t',
4553 [],
4554 is_const=True)
4555 ## node.h (module 'network'): uint32_t ns3::Node::GetNApplications() const [member function]
4556 cls.add_method('GetNApplications',
4557 'uint32_t',
4558 [],
4559 is_const=True)
4560 ## node.h (module 'network'): uint32_t ns3::Node::GetNDevices() const [member function]
4561 cls.add_method('GetNDevices',
4562 'uint32_t',
4563 [],
4564 is_const=True)
4565 ## node.h (module 'network'): uint32_t ns3::Node::GetSystemId() const [member function]
4566 cls.add_method('GetSystemId',
4567 'uint32_t',
4568 [],
4569 is_const=True)
4570 ## node.h (module 'network'): static ns3::TypeId ns3::Node::GetTypeId() [member function]
4571 cls.add_method('GetTypeId',
4572 'ns3::TypeId',
4573 [],
4574 is_static=True)
4575 ## 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]
4576 cls.add_method('RegisterDeviceAdditionListener',
4577 'void',
4578 [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')])
4579 ## 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]
4580 cls.add_method('RegisterProtocolHandler',
4581 'void',
4582 [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')])
4583 ## 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]
4584 cls.add_method('UnregisterDeviceAdditionListener',
4585 'void',
4586 [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')])
4587 ## 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]
4588 cls.add_method('UnregisterProtocolHandler',
4589 'void',
4590 [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')])
4591 ## node.h (module 'network'): void ns3::Node::DoDispose() [member function]
4592 cls.add_method('DoDispose',
4593 'void',
4594 [],
4595 visibility='protected', is_virtual=True)
Alexander Afanasyev5b8d61b2013-05-03 10:23:21 -07004596 ## node.h (module 'network'): void ns3::Node::DoInitialize() [member function]
4597 cls.add_method('DoInitialize',
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004598 'void',
4599 [],
4600 visibility='protected', is_virtual=True)
4601 return
4602
4603def register_Ns3ObjectFactoryChecker_methods(root_module, cls):
4604 ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker::ObjectFactoryChecker() [constructor]
4605 cls.add_constructor([])
4606 ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker::ObjectFactoryChecker(ns3::ObjectFactoryChecker const & arg0) [copy constructor]
4607 cls.add_constructor([param('ns3::ObjectFactoryChecker const &', 'arg0')])
4608 return
4609
4610def register_Ns3ObjectFactoryValue_methods(root_module, cls):
4611 ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue() [constructor]
4612 cls.add_constructor([])
4613 ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue(ns3::ObjectFactoryValue const & arg0) [copy constructor]
4614 cls.add_constructor([param('ns3::ObjectFactoryValue const &', 'arg0')])
4615 ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue(ns3::ObjectFactory const & value) [constructor]
4616 cls.add_constructor([param('ns3::ObjectFactory const &', 'value')])
4617 ## object-factory.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::ObjectFactoryValue::Copy() const [member function]
4618 cls.add_method('Copy',
4619 'ns3::Ptr< ns3::AttributeValue >',
4620 [],
4621 is_const=True, is_virtual=True)
4622 ## object-factory.h (module 'core'): bool ns3::ObjectFactoryValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4623 cls.add_method('DeserializeFromString',
4624 'bool',
4625 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4626 is_virtual=True)
4627 ## object-factory.h (module 'core'): ns3::ObjectFactory ns3::ObjectFactoryValue::Get() const [member function]
4628 cls.add_method('Get',
4629 'ns3::ObjectFactory',
4630 [],
4631 is_const=True)
4632 ## object-factory.h (module 'core'): std::string ns3::ObjectFactoryValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4633 cls.add_method('SerializeToString',
4634 'std::string',
4635 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4636 is_const=True, is_virtual=True)
4637 ## object-factory.h (module 'core'): void ns3::ObjectFactoryValue::Set(ns3::ObjectFactory const & value) [member function]
4638 cls.add_method('Set',
4639 'void',
4640 [param('ns3::ObjectFactory const &', 'value')])
4641 return
4642
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004643def register_Ns3Packet_methods(root_module, cls):
4644 cls.add_output_stream_operator()
4645 ## packet.h (module 'network'): ns3::Packet::Packet() [constructor]
4646 cls.add_constructor([])
4647 ## packet.h (module 'network'): ns3::Packet::Packet(ns3::Packet const & o) [copy constructor]
4648 cls.add_constructor([param('ns3::Packet const &', 'o')])
4649 ## packet.h (module 'network'): ns3::Packet::Packet(uint32_t size) [constructor]
4650 cls.add_constructor([param('uint32_t', 'size')])
4651 ## packet.h (module 'network'): ns3::Packet::Packet(uint8_t const * buffer, uint32_t size, bool magic) [constructor]
4652 cls.add_constructor([param('uint8_t const *', 'buffer'), param('uint32_t', 'size'), param('bool', 'magic')])
4653 ## packet.h (module 'network'): ns3::Packet::Packet(uint8_t const * buffer, uint32_t size) [constructor]
4654 cls.add_constructor([param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
Alexander Afanasyev8d6e3f62013-07-27 16:10:44 -07004655 ## packet.h (module 'network'): ns3::Packet::Packet(std::string const & buffer) [constructor]
4656 cls.add_constructor([param('std::string const &', 'buffer')])
Alexander Afanasyev858d5312013-07-10 18:50:18 -07004657 ## packet.h (module 'network'): void ns3::Packet::AddAtEnd(ns3::Ptr<ns3::Packet const> packet) [member function]
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004658 cls.add_method('AddAtEnd',
4659 'void',
4660 [param('ns3::Ptr< ns3::Packet const >', 'packet')])
4661 ## packet.h (module 'network'): void ns3::Packet::AddByteTag(ns3::Tag const & tag) const [member function]
4662 cls.add_method('AddByteTag',
4663 'void',
4664 [param('ns3::Tag const &', 'tag')],
4665 is_const=True)
4666 ## packet.h (module 'network'): void ns3::Packet::AddHeader(ns3::Header const & header) [member function]
4667 cls.add_method('AddHeader',
4668 'void',
4669 [param('ns3::Header const &', 'header')])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004670 ## packet.h (module 'network'): void ns3::Packet::AddPacketTag(ns3::Tag const & tag) const [member function]
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004671 cls.add_method('AddPacketTag',
4672 'void',
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004673 [param('ns3::Tag const &', 'tag')],
4674 is_const=True)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004675 ## packet.h (module 'network'): void ns3::Packet::AddPaddingAtEnd(uint32_t size) [member function]
4676 cls.add_method('AddPaddingAtEnd',
4677 'void',
4678 [param('uint32_t', 'size')])
4679 ## packet.h (module 'network'): void ns3::Packet::AddTrailer(ns3::Trailer const & trailer) [member function]
4680 cls.add_method('AddTrailer',
4681 'void',
4682 [param('ns3::Trailer const &', 'trailer')])
4683 ## packet.h (module 'network'): ns3::PacketMetadata::ItemIterator ns3::Packet::BeginItem() const [member function]
4684 cls.add_method('BeginItem',
4685 'ns3::PacketMetadata::ItemIterator',
4686 [],
4687 is_const=True)
4688 ## packet.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Packet::Copy() const [member function]
4689 cls.add_method('Copy',
4690 'ns3::Ptr< ns3::Packet >',
4691 [],
4692 is_const=True)
4693 ## packet.h (module 'network'): uint32_t ns3::Packet::CopyData(uint8_t * buffer, uint32_t size) const [member function]
4694 cls.add_method('CopyData',
4695 'uint32_t',
4696 [param('uint8_t *', 'buffer'), param('uint32_t', 'size')],
4697 is_const=True)
4698 ## packet.h (module 'network'): void ns3::Packet::CopyData(std::ostream * os, uint32_t size) const [member function]
4699 cls.add_method('CopyData',
4700 'void',
4701 [param('std::ostream *', 'os'), param('uint32_t', 'size')],
4702 is_const=True)
4703 ## packet.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Packet::CreateFragment(uint32_t start, uint32_t length) const [member function]
4704 cls.add_method('CreateFragment',
4705 'ns3::Ptr< ns3::Packet >',
4706 [param('uint32_t', 'start'), param('uint32_t', 'length')],
4707 is_const=True)
4708 ## packet.h (module 'network'): static void ns3::Packet::EnableChecking() [member function]
4709 cls.add_method('EnableChecking',
4710 'void',
4711 [],
4712 is_static=True)
4713 ## packet.h (module 'network'): static void ns3::Packet::EnablePrinting() [member function]
4714 cls.add_method('EnablePrinting',
4715 'void',
4716 [],
4717 is_static=True)
4718 ## packet.h (module 'network'): bool ns3::Packet::FindFirstMatchingByteTag(ns3::Tag & tag) const [member function]
4719 cls.add_method('FindFirstMatchingByteTag',
4720 'bool',
4721 [param('ns3::Tag &', 'tag')],
4722 is_const=True)
4723 ## packet.h (module 'network'): ns3::ByteTagIterator ns3::Packet::GetByteTagIterator() const [member function]
4724 cls.add_method('GetByteTagIterator',
4725 'ns3::ByteTagIterator',
4726 [],
4727 is_const=True)
4728 ## packet.h (module 'network'): ns3::Ptr<ns3::NixVector> ns3::Packet::GetNixVector() const [member function]
4729 cls.add_method('GetNixVector',
4730 'ns3::Ptr< ns3::NixVector >',
4731 [],
4732 is_const=True)
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004733 ## packet.h (module 'network'): ns3::PacketTagIterator ns3::Packet::GetPacketTagIterator() const [member function]
4734 cls.add_method('GetPacketTagIterator',
4735 'ns3::PacketTagIterator',
4736 [],
4737 is_const=True)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004738 ## packet.h (module 'network'): uint32_t ns3::Packet::GetSerializedSize() const [member function]
4739 cls.add_method('GetSerializedSize',
4740 'uint32_t',
4741 [],
4742 is_const=True)
4743 ## packet.h (module 'network'): uint32_t ns3::Packet::GetSize() const [member function]
4744 cls.add_method('GetSize',
4745 'uint32_t',
4746 [],
4747 is_const=True)
4748 ## packet.h (module 'network'): uint64_t ns3::Packet::GetUid() const [member function]
4749 cls.add_method('GetUid',
4750 'uint64_t',
4751 [],
4752 is_const=True)
4753 ## packet.h (module 'network'): uint8_t const * ns3::Packet::PeekData() const [member function]
4754 cls.add_method('PeekData',
4755 'uint8_t const *',
4756 [],
4757 deprecated=True, is_const=True)
4758 ## packet.h (module 'network'): uint32_t ns3::Packet::PeekHeader(ns3::Header & header) const [member function]
4759 cls.add_method('PeekHeader',
4760 'uint32_t',
4761 [param('ns3::Header &', 'header')],
4762 is_const=True)
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004763 ## packet.h (module 'network'): bool ns3::Packet::PeekPacketTag(ns3::Tag & tag) const [member function]
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004764 cls.add_method('PeekPacketTag',
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004765 'bool',
4766 [param('ns3::Tag &', 'tag')],
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004767 is_const=True)
4768 ## packet.h (module 'network'): uint32_t ns3::Packet::PeekTrailer(ns3::Trailer & trailer) [member function]
4769 cls.add_method('PeekTrailer',
4770 'uint32_t',
4771 [param('ns3::Trailer &', 'trailer')])
4772 ## packet.h (module 'network'): void ns3::Packet::Print(std::ostream & os) const [member function]
4773 cls.add_method('Print',
4774 'void',
4775 [param('std::ostream &', 'os')],
4776 is_const=True)
4777 ## packet.h (module 'network'): void ns3::Packet::PrintByteTags(std::ostream & os) const [member function]
4778 cls.add_method('PrintByteTags',
4779 'void',
4780 [param('std::ostream &', 'os')],
4781 is_const=True)
4782 ## packet.h (module 'network'): void ns3::Packet::PrintPacketTags(std::ostream & os) const [member function]
4783 cls.add_method('PrintPacketTags',
4784 'void',
4785 [param('std::ostream &', 'os')],
4786 is_const=True)
4787 ## packet.h (module 'network'): void ns3::Packet::RemoveAllByteTags() [member function]
4788 cls.add_method('RemoveAllByteTags',
4789 'void',
4790 [])
4791 ## packet.h (module 'network'): void ns3::Packet::RemoveAllPacketTags() [member function]
4792 cls.add_method('RemoveAllPacketTags',
4793 'void',
4794 [])
4795 ## packet.h (module 'network'): void ns3::Packet::RemoveAtEnd(uint32_t size) [member function]
4796 cls.add_method('RemoveAtEnd',
4797 'void',
4798 [param('uint32_t', 'size')])
4799 ## packet.h (module 'network'): void ns3::Packet::RemoveAtStart(uint32_t size) [member function]
4800 cls.add_method('RemoveAtStart',
4801 'void',
4802 [param('uint32_t', 'size')])
4803 ## packet.h (module 'network'): uint32_t ns3::Packet::RemoveHeader(ns3::Header & header) [member function]
4804 cls.add_method('RemoveHeader',
4805 'uint32_t',
4806 [param('ns3::Header &', 'header')])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004807 ## packet.h (module 'network'): bool ns3::Packet::RemovePacketTag(ns3::Tag & tag) [member function]
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004808 cls.add_method('RemovePacketTag',
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004809 'bool',
4810 [param('ns3::Tag &', 'tag')])
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004811 ## packet.h (module 'network'): uint32_t ns3::Packet::RemoveTrailer(ns3::Trailer & trailer) [member function]
4812 cls.add_method('RemoveTrailer',
4813 'uint32_t',
4814 [param('ns3::Trailer &', 'trailer')])
Alexander Afanasyev8d6e3f62013-07-27 16:10:44 -07004815 ## packet.h (module 'network'): bool ns3::Packet::ReplacePacketTag(ns3::Tag & tag) [member function]
4816 cls.add_method('ReplacePacketTag',
4817 'bool',
4818 [param('ns3::Tag &', 'tag')])
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004819 ## packet.h (module 'network'): uint32_t ns3::Packet::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
4820 cls.add_method('Serialize',
4821 'uint32_t',
4822 [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')],
4823 is_const=True)
4824 ## packet.h (module 'network'): void ns3::Packet::SetNixVector(ns3::Ptr<ns3::NixVector> arg0) [member function]
4825 cls.add_method('SetNixVector',
4826 'void',
4827 [param('ns3::Ptr< ns3::NixVector >', 'arg0')])
4828 return
4829
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07004830def register_Ns3RandomVariableChecker_methods(root_module, cls):
4831 ## random-variable.h (module 'core'): ns3::RandomVariableChecker::RandomVariableChecker() [constructor]
4832 cls.add_constructor([])
4833 ## random-variable.h (module 'core'): ns3::RandomVariableChecker::RandomVariableChecker(ns3::RandomVariableChecker const & arg0) [copy constructor]
4834 cls.add_constructor([param('ns3::RandomVariableChecker const &', 'arg0')])
4835 return
4836
4837def register_Ns3RandomVariableValue_methods(root_module, cls):
4838 ## random-variable.h (module 'core'): ns3::RandomVariableValue::RandomVariableValue() [constructor]
4839 cls.add_constructor([])
4840 ## random-variable.h (module 'core'): ns3::RandomVariableValue::RandomVariableValue(ns3::RandomVariableValue const & arg0) [copy constructor]
4841 cls.add_constructor([param('ns3::RandomVariableValue const &', 'arg0')])
4842 ## random-variable.h (module 'core'): ns3::RandomVariableValue::RandomVariableValue(ns3::RandomVariable const & value) [constructor]
4843 cls.add_constructor([param('ns3::RandomVariable const &', 'value')])
4844 ## random-variable.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::RandomVariableValue::Copy() const [member function]
4845 cls.add_method('Copy',
4846 'ns3::Ptr< ns3::AttributeValue >',
4847 [],
4848 is_const=True, is_virtual=True)
4849 ## random-variable.h (module 'core'): bool ns3::RandomVariableValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4850 cls.add_method('DeserializeFromString',
4851 'bool',
4852 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4853 is_virtual=True)
4854 ## random-variable.h (module 'core'): ns3::RandomVariable ns3::RandomVariableValue::Get() const [member function]
4855 cls.add_method('Get',
4856 'ns3::RandomVariable',
4857 [],
4858 is_const=True)
4859 ## random-variable.h (module 'core'): std::string ns3::RandomVariableValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4860 cls.add_method('SerializeToString',
4861 'std::string',
4862 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4863 is_const=True, is_virtual=True)
4864 ## random-variable.h (module 'core'): void ns3::RandomVariableValue::Set(ns3::RandomVariable const & value) [member function]
4865 cls.add_method('Set',
4866 'void',
4867 [param('ns3::RandomVariable const &', 'value')])
4868 return
4869
4870def register_Ns3RocketfuelWeightsReader_methods(root_module, cls):
4871 ## rocketfuel-weights-reader.h (module 'ndnSIM'): ns3::RocketfuelWeightsReader::RocketfuelWeightsReader(std::string const & path="", double scale=1.0e+0) [constructor]
4872 cls.add_constructor([param('std::string const &', 'path', default_value='""'), param('double', 'scale', default_value='1.0e+0')])
4873 ## rocketfuel-weights-reader.h (module 'ndnSIM'): void ns3::RocketfuelWeightsReader::SetFileType(uint8_t inputType) [member function]
4874 cls.add_method('SetFileType',
4875 'void',
4876 [param('uint8_t', 'inputType')])
4877 ## rocketfuel-weights-reader.h (module 'ndnSIM'): ns3::NodeContainer ns3::RocketfuelWeightsReader::Read() [member function]
4878 cls.add_method('Read',
4879 'ns3::NodeContainer',
4880 [],
4881 is_virtual=True)
4882 ## rocketfuel-weights-reader.h (module 'ndnSIM'): void ns3::RocketfuelWeightsReader::Commit() [member function]
4883 cls.add_method('Commit',
4884 'void',
4885 [])
Alexander Afanasyev858d5312013-07-10 18:50:18 -07004886 ## rocketfuel-weights-reader.h (module 'ndnSIM'): void ns3::RocketfuelWeightsReader::SetDefaultBandwidth(std::string const & bw) [member function]
4887 cls.add_method('SetDefaultBandwidth',
4888 'void',
4889 [param('std::string const &', 'bw')])
4890 ## rocketfuel-weights-reader.h (module 'ndnSIM'): std::string ns3::RocketfuelWeightsReader::GetDefaultBandwidth() const [member function]
4891 cls.add_method('GetDefaultBandwidth',
4892 'std::string',
4893 [],
4894 is_const=True)
4895 ## rocketfuel-weights-reader.h (module 'ndnSIM'): void ns3::RocketfuelWeightsReader::SetDefaultQueue(std::string const & queue) [member function]
4896 cls.add_method('SetDefaultQueue',
4897 'void',
4898 [param('std::string const &', 'queue')])
4899 ## rocketfuel-weights-reader.h (module 'ndnSIM'): std::string ns3::RocketfuelWeightsReader::GetDefaultQueue() const [member function]
4900 cls.add_method('GetDefaultQueue',
4901 'std::string',
4902 [],
4903 is_const=True)
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07004904 return
4905
Alexander Afanasyev381dea02011-11-03 08:33:26 -07004906def register_Ns3TimeValue_methods(root_module, cls):
4907 ## nstime.h (module 'core'): ns3::TimeValue::TimeValue() [constructor]
4908 cls.add_constructor([])
4909 ## nstime.h (module 'core'): ns3::TimeValue::TimeValue(ns3::TimeValue const & arg0) [copy constructor]
4910 cls.add_constructor([param('ns3::TimeValue const &', 'arg0')])
4911 ## nstime.h (module 'core'): ns3::TimeValue::TimeValue(ns3::Time const & value) [constructor]
4912 cls.add_constructor([param('ns3::Time const &', 'value')])
4913 ## nstime.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::TimeValue::Copy() const [member function]
4914 cls.add_method('Copy',
4915 'ns3::Ptr< ns3::AttributeValue >',
4916 [],
4917 is_const=True, is_virtual=True)
4918 ## nstime.h (module 'core'): bool ns3::TimeValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4919 cls.add_method('DeserializeFromString',
4920 'bool',
4921 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4922 is_virtual=True)
4923 ## nstime.h (module 'core'): ns3::Time ns3::TimeValue::Get() const [member function]
4924 cls.add_method('Get',
4925 'ns3::Time',
4926 [],
4927 is_const=True)
4928 ## nstime.h (module 'core'): std::string ns3::TimeValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4929 cls.add_method('SerializeToString',
4930 'std::string',
4931 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4932 is_const=True, is_virtual=True)
4933 ## nstime.h (module 'core'): void ns3::TimeValue::Set(ns3::Time const & value) [member function]
4934 cls.add_method('Set',
4935 'void',
4936 [param('ns3::Time const &', 'value')])
4937 return
4938
4939def register_Ns3TypeIdChecker_methods(root_module, cls):
4940 ## type-id.h (module 'core'): ns3::TypeIdChecker::TypeIdChecker() [constructor]
4941 cls.add_constructor([])
4942 ## type-id.h (module 'core'): ns3::TypeIdChecker::TypeIdChecker(ns3::TypeIdChecker const & arg0) [copy constructor]
4943 cls.add_constructor([param('ns3::TypeIdChecker const &', 'arg0')])
4944 return
4945
4946def register_Ns3TypeIdValue_methods(root_module, cls):
4947 ## type-id.h (module 'core'): ns3::TypeIdValue::TypeIdValue() [constructor]
4948 cls.add_constructor([])
4949 ## type-id.h (module 'core'): ns3::TypeIdValue::TypeIdValue(ns3::TypeIdValue const & arg0) [copy constructor]
4950 cls.add_constructor([param('ns3::TypeIdValue const &', 'arg0')])
4951 ## type-id.h (module 'core'): ns3::TypeIdValue::TypeIdValue(ns3::TypeId const & value) [constructor]
4952 cls.add_constructor([param('ns3::TypeId const &', 'value')])
4953 ## type-id.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::TypeIdValue::Copy() const [member function]
4954 cls.add_method('Copy',
4955 'ns3::Ptr< ns3::AttributeValue >',
4956 [],
4957 is_const=True, is_virtual=True)
4958 ## type-id.h (module 'core'): bool ns3::TypeIdValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4959 cls.add_method('DeserializeFromString',
4960 'bool',
4961 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4962 is_virtual=True)
4963 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeIdValue::Get() const [member function]
4964 cls.add_method('Get',
4965 'ns3::TypeId',
4966 [],
4967 is_const=True)
4968 ## type-id.h (module 'core'): std::string ns3::TypeIdValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4969 cls.add_method('SerializeToString',
4970 'std::string',
4971 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4972 is_const=True, is_virtual=True)
4973 ## type-id.h (module 'core'): void ns3::TypeIdValue::Set(ns3::TypeId const & value) [member function]
4974 cls.add_method('Set',
4975 'void',
4976 [param('ns3::TypeId const &', 'value')])
4977 return
4978
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07004979def register_Ns3UintegerValue_methods(root_module, cls):
4980 ## uinteger.h (module 'core'): ns3::UintegerValue::UintegerValue() [constructor]
4981 cls.add_constructor([])
4982 ## uinteger.h (module 'core'): ns3::UintegerValue::UintegerValue(ns3::UintegerValue const & arg0) [copy constructor]
4983 cls.add_constructor([param('ns3::UintegerValue const &', 'arg0')])
4984 ## uinteger.h (module 'core'): ns3::UintegerValue::UintegerValue(uint64_t const & value) [constructor]
4985 cls.add_constructor([param('uint64_t const &', 'value')])
4986 ## uinteger.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::UintegerValue::Copy() const [member function]
4987 cls.add_method('Copy',
4988 'ns3::Ptr< ns3::AttributeValue >',
4989 [],
4990 is_const=True, is_virtual=True)
4991 ## uinteger.h (module 'core'): bool ns3::UintegerValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4992 cls.add_method('DeserializeFromString',
4993 'bool',
4994 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4995 is_virtual=True)
4996 ## uinteger.h (module 'core'): uint64_t ns3::UintegerValue::Get() const [member function]
4997 cls.add_method('Get',
4998 'uint64_t',
4999 [],
5000 is_const=True)
5001 ## uinteger.h (module 'core'): std::string ns3::UintegerValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
5002 cls.add_method('SerializeToString',
5003 'std::string',
5004 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
5005 is_const=True, is_virtual=True)
5006 ## uinteger.h (module 'core'): void ns3::UintegerValue::Set(uint64_t const & value) [member function]
5007 cls.add_method('Set',
5008 'void',
5009 [param('uint64_t const &', 'value')])
5010 return
5011
Alexander Afanasyev381dea02011-11-03 08:33:26 -07005012def register_Ns3AddressChecker_methods(root_module, cls):
5013 ## address.h (module 'network'): ns3::AddressChecker::AddressChecker() [constructor]
5014 cls.add_constructor([])
5015 ## address.h (module 'network'): ns3::AddressChecker::AddressChecker(ns3::AddressChecker const & arg0) [copy constructor]
5016 cls.add_constructor([param('ns3::AddressChecker const &', 'arg0')])
5017 return
5018
5019def register_Ns3AddressValue_methods(root_module, cls):
5020 ## address.h (module 'network'): ns3::AddressValue::AddressValue() [constructor]
5021 cls.add_constructor([])
5022 ## address.h (module 'network'): ns3::AddressValue::AddressValue(ns3::AddressValue const & arg0) [copy constructor]
5023 cls.add_constructor([param('ns3::AddressValue const &', 'arg0')])
5024 ## address.h (module 'network'): ns3::AddressValue::AddressValue(ns3::Address const & value) [constructor]
5025 cls.add_constructor([param('ns3::Address const &', 'value')])
5026 ## address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::AddressValue::Copy() const [member function]
5027 cls.add_method('Copy',
5028 'ns3::Ptr< ns3::AttributeValue >',
5029 [],
5030 is_const=True, is_virtual=True)
5031 ## address.h (module 'network'): bool ns3::AddressValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
5032 cls.add_method('DeserializeFromString',
5033 'bool',
5034 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
5035 is_virtual=True)
5036 ## address.h (module 'network'): ns3::Address ns3::AddressValue::Get() const [member function]
5037 cls.add_method('Get',
5038 'ns3::Address',
5039 [],
5040 is_const=True)
5041 ## address.h (module 'network'): std::string ns3::AddressValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
5042 cls.add_method('SerializeToString',
5043 'std::string',
5044 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
5045 is_const=True, is_virtual=True)
5046 ## address.h (module 'network'): void ns3::AddressValue::Set(ns3::Address const & value) [member function]
5047 cls.add_method('Set',
5048 'void',
5049 [param('ns3::Address const &', 'value')])
5050 return
5051
Alexander Afanasyev8d6e3f62013-07-27 16:10:44 -07005052def register_Ns3HashImplementation_methods(root_module, cls):
5053 ## hash-function.h (module 'core'): ns3::Hash::Implementation::Implementation(ns3::Hash::Implementation const & arg0) [copy constructor]
5054 cls.add_constructor([param('ns3::Hash::Implementation const &', 'arg0')])
5055 ## hash-function.h (module 'core'): ns3::Hash::Implementation::Implementation() [constructor]
5056 cls.add_constructor([])
5057 ## hash-function.h (module 'core'): uint32_t ns3::Hash::Implementation::GetHash32(char const * buffer, size_t const size) [member function]
5058 cls.add_method('GetHash32',
5059 'uint32_t',
5060 [param('char const *', 'buffer'), param('size_t const', 'size')],
5061 is_pure_virtual=True, is_virtual=True)
5062 ## hash-function.h (module 'core'): uint64_t ns3::Hash::Implementation::GetHash64(char const * buffer, size_t const size) [member function]
5063 cls.add_method('GetHash64',
5064 'uint64_t',
5065 [param('char const *', 'buffer'), param('size_t const', 'size')],
5066 is_virtual=True)
5067 ## hash-function.h (module 'core'): void ns3::Hash::Implementation::clear() [member function]
5068 cls.add_method('clear',
5069 'void',
5070 [],
5071 is_pure_virtual=True, is_virtual=True)
5072 return
5073
5074def register_Ns3HashFunctionFnv1a_methods(root_module, cls):
5075 ## hash-fnv.h (module 'core'): ns3::Hash::Function::Fnv1a::Fnv1a(ns3::Hash::Function::Fnv1a const & arg0) [copy constructor]
5076 cls.add_constructor([param('ns3::Hash::Function::Fnv1a const &', 'arg0')])
5077 ## hash-fnv.h (module 'core'): ns3::Hash::Function::Fnv1a::Fnv1a() [constructor]
5078 cls.add_constructor([])
5079 ## hash-fnv.h (module 'core'): uint32_t ns3::Hash::Function::Fnv1a::GetHash32(char const * buffer, size_t const size) [member function]
5080 cls.add_method('GetHash32',
5081 'uint32_t',
5082 [param('char const *', 'buffer'), param('size_t const', 'size')],
5083 is_virtual=True)
5084 ## hash-fnv.h (module 'core'): uint64_t ns3::Hash::Function::Fnv1a::GetHash64(char const * buffer, size_t const size) [member function]
5085 cls.add_method('GetHash64',
5086 'uint64_t',
5087 [param('char const *', 'buffer'), param('size_t const', 'size')],
5088 is_virtual=True)
5089 ## hash-fnv.h (module 'core'): void ns3::Hash::Function::Fnv1a::clear() [member function]
5090 cls.add_method('clear',
5091 'void',
5092 [],
5093 is_virtual=True)
5094 return
5095
5096def register_Ns3HashFunctionHash32_methods(root_module, cls):
5097 ## hash-function.h (module 'core'): ns3::Hash::Function::Hash32::Hash32(ns3::Hash::Function::Hash32 const & arg0) [copy constructor]
5098 cls.add_constructor([param('ns3::Hash::Function::Hash32 const &', 'arg0')])
5099 ## hash-function.h (module 'core'): ns3::Hash::Function::Hash32::Hash32(ns3::Hash::Hash32Function_ptr hp) [constructor]
5100 cls.add_constructor([param('ns3::Hash::Hash32Function_ptr', 'hp')])
5101 ## hash-function.h (module 'core'): uint32_t ns3::Hash::Function::Hash32::GetHash32(char const * buffer, size_t const size) [member function]
5102 cls.add_method('GetHash32',
5103 'uint32_t',
5104 [param('char const *', 'buffer'), param('size_t const', 'size')],
5105 is_virtual=True)
5106 ## hash-function.h (module 'core'): void ns3::Hash::Function::Hash32::clear() [member function]
5107 cls.add_method('clear',
5108 'void',
5109 [],
5110 is_virtual=True)
5111 return
5112
5113def register_Ns3HashFunctionHash64_methods(root_module, cls):
5114 ## hash-function.h (module 'core'): ns3::Hash::Function::Hash64::Hash64(ns3::Hash::Function::Hash64 const & arg0) [copy constructor]
5115 cls.add_constructor([param('ns3::Hash::Function::Hash64 const &', 'arg0')])
5116 ## hash-function.h (module 'core'): ns3::Hash::Function::Hash64::Hash64(ns3::Hash::Hash64Function_ptr hp) [constructor]
5117 cls.add_constructor([param('ns3::Hash::Hash64Function_ptr', 'hp')])
5118 ## hash-function.h (module 'core'): uint32_t ns3::Hash::Function::Hash64::GetHash32(char const * buffer, size_t const size) [member function]
5119 cls.add_method('GetHash32',
5120 'uint32_t',
5121 [param('char const *', 'buffer'), param('size_t const', 'size')],
5122 is_virtual=True)
5123 ## hash-function.h (module 'core'): uint64_t ns3::Hash::Function::Hash64::GetHash64(char const * buffer, size_t const size) [member function]
5124 cls.add_method('GetHash64',
5125 'uint64_t',
5126 [param('char const *', 'buffer'), param('size_t const', 'size')],
5127 is_virtual=True)
5128 ## hash-function.h (module 'core'): void ns3::Hash::Function::Hash64::clear() [member function]
5129 cls.add_method('clear',
5130 'void',
5131 [],
5132 is_virtual=True)
5133 return
5134
5135def register_Ns3HashFunctionMurmur3_methods(root_module, cls):
5136 ## hash-murmur3.h (module 'core'): ns3::Hash::Function::Murmur3::Murmur3(ns3::Hash::Function::Murmur3 const & arg0) [copy constructor]
5137 cls.add_constructor([param('ns3::Hash::Function::Murmur3 const &', 'arg0')])
5138 ## hash-murmur3.h (module 'core'): ns3::Hash::Function::Murmur3::Murmur3() [constructor]
5139 cls.add_constructor([])
5140 ## hash-murmur3.h (module 'core'): uint32_t ns3::Hash::Function::Murmur3::GetHash32(char const * buffer, size_t const size) [member function]
5141 cls.add_method('GetHash32',
5142 'uint32_t',
5143 [param('char const *', 'buffer'), param('size_t const', 'size')],
5144 is_virtual=True)
5145 ## hash-murmur3.h (module 'core'): uint64_t ns3::Hash::Function::Murmur3::GetHash64(char const * buffer, size_t const size) [member function]
5146 cls.add_method('GetHash64',
5147 'uint64_t',
5148 [param('char const *', 'buffer'), param('size_t const', 'size')],
5149 is_virtual=True)
5150 ## hash-murmur3.h (module 'core'): void ns3::Hash::Function::Murmur3::clear() [member function]
5151 cls.add_method('clear',
5152 'void',
5153 [],
5154 is_virtual=True)
5155 return
5156
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005157def register_Ns3NdnApp_methods(root_module, cls):
5158 ## ndn-app.h (module 'ndnSIM'): ns3::ndn::App::App(ns3::ndn::App const & arg0) [copy constructor]
5159 cls.add_constructor([param('ns3::ndn::App const &', 'arg0')])
5160 ## ndn-app.h (module 'ndnSIM'): ns3::ndn::App::App() [constructor]
5161 cls.add_constructor([])
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005162 ## ndn-app.h (module 'ndnSIM'): uint32_t ns3::ndn::App::GetId() const [member function]
5163 cls.add_method('GetId',
5164 'uint32_t',
5165 [],
5166 is_const=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005167 ## ndn-app.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::App::GetTypeId() [member function]
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07005168 cls.add_method('GetTypeId',
5169 'ns3::TypeId',
5170 [],
5171 is_static=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005172 ## 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 -07005173 cls.add_method('OnContentObject',
5174 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005175 [param('ns3::Ptr< ns3::ndn::ContentObject const >', 'contentObject')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005176 is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005177 ## 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 -07005178 cls.add_method('OnInterest',
5179 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005180 [param('ns3::Ptr< ns3::ndn::Interest const >', 'interest')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005181 is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005182 ## 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 -07005183 cls.add_method('OnNack',
5184 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005185 [param('ns3::Ptr< ns3::ndn::Interest const >', 'interest')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005186 is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005187 ## ndn-app.h (module 'ndnSIM'): void ns3::ndn::App::DoDispose() [member function]
5188 cls.add_method('DoDispose',
5189 'void',
5190 [],
5191 visibility='protected', is_virtual=True)
5192 ## ndn-app.h (module 'ndnSIM'): void ns3::ndn::App::StartApplication() [member function]
5193 cls.add_method('StartApplication',
5194 'void',
5195 [],
5196 visibility='protected', is_virtual=True)
5197 ## ndn-app.h (module 'ndnSIM'): void ns3::ndn::App::StopApplication() [member function]
5198 cls.add_method('StopApplication',
5199 'void',
5200 [],
5201 visibility='protected', is_virtual=True)
5202 return
5203
5204def register_Ns3NdnAppHelper_methods(root_module, cls):
5205 ## ndn-app-helper.h (module 'ndnSIM'): ns3::ndn::AppHelper::AppHelper(ns3::ndn::AppHelper const & arg0) [copy constructor]
5206 cls.add_constructor([param('ns3::ndn::AppHelper const &', 'arg0')])
5207 ## ndn-app-helper.h (module 'ndnSIM'): ns3::ndn::AppHelper::AppHelper(std::string const & prefix) [constructor]
5208 cls.add_constructor([param('std::string const &', 'prefix')])
5209 ## ndn-app-helper.h (module 'ndnSIM'): ns3::ApplicationContainer ns3::ndn::AppHelper::Install(ns3::NodeContainer c) [member function]
5210 cls.add_method('Install',
5211 'ns3::ApplicationContainer',
5212 [param('ns3::NodeContainer', 'c')])
5213 ## ndn-app-helper.h (module 'ndnSIM'): ns3::ApplicationContainer ns3::ndn::AppHelper::Install(ns3::Ptr<ns3::Node> node) [member function]
5214 cls.add_method('Install',
5215 'ns3::ApplicationContainer',
5216 [param('ns3::Ptr< ns3::Node >', 'node')])
5217 ## ndn-app-helper.h (module 'ndnSIM'): ns3::ApplicationContainer ns3::ndn::AppHelper::Install(std::string nodeName) [member function]
5218 cls.add_method('Install',
5219 'ns3::ApplicationContainer',
5220 [param('std::string', 'nodeName')])
5221 ## ndn-app-helper.h (module 'ndnSIM'): void ns3::ndn::AppHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function]
5222 cls.add_method('SetAttribute',
5223 'void',
5224 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
5225 ## ndn-app-helper.h (module 'ndnSIM'): void ns3::ndn::AppHelper::SetPrefix(std::string const & prefix) [member function]
5226 cls.add_method('SetPrefix',
5227 'void',
5228 [param('std::string const &', 'prefix')])
5229 return
5230
Alexander Afanasyev76b11572013-07-16 21:49:50 -07005231def register_Ns3NdnBlob_methods(root_module, cls):
5232 cls.add_binary_comparison_operator('<=')
5233 cls.add_binary_comparison_operator('==')
5234 cls.add_binary_comparison_operator('>=')
5235 cls.add_binary_comparison_operator('<')
5236 cls.add_binary_comparison_operator('>')
5237 ## blob.h (module 'ndnSIM'): ns3::ndn::Blob::Blob(ns3::ndn::Blob const & arg0) [copy constructor]
5238 cls.add_constructor([param('ns3::ndn::Blob const &', 'arg0')])
5239 ## blob.h (module 'ndnSIM'): ns3::ndn::Blob::Blob() [constructor]
5240 cls.add_constructor([])
5241 ## blob.h (module 'ndnSIM'): ns3::ndn::Blob::Blob(std::string const & data) [constructor]
5242 cls.add_constructor([param('std::string const &', 'data')])
5243 ## blob.h (module 'ndnSIM'): ns3::ndn::Blob::Blob(void const * buf, size_t length) [constructor]
5244 cls.add_constructor([param('void const *', 'buf'), param('size_t', 'length')])
5245 ## blob.h (module 'ndnSIM'): __gnu_cxx::__normal_iterator<char*, std::vector<char, std::allocator<char> > > ns3::ndn::Blob::begin() [member function]
5246 cls.add_method('begin',
5247 '__gnu_cxx::__normal_iterator< char *, std::vector< char > >',
5248 [])
5249 ## blob.h (module 'ndnSIM'): __gnu_cxx::__normal_iterator<char const*, std::vector<char, std::allocator<char> > > ns3::ndn::Blob::begin() const [member function]
5250 cls.add_method('begin',
5251 '__gnu_cxx::__normal_iterator< char const *, std::vector< char > >',
5252 [],
5253 is_const=True)
5254 ## blob.h (module 'ndnSIM'): char * ns3::ndn::Blob::buf() [member function]
5255 cls.add_method('buf',
5256 'char *',
5257 [])
5258 ## blob.h (module 'ndnSIM'): char const * ns3::ndn::Blob::buf() const [member function]
5259 cls.add_method('buf',
5260 'char const *',
5261 [],
5262 is_const=True)
5263 ## blob.h (module 'ndnSIM'): void ns3::ndn::Blob::clear() [member function]
5264 cls.add_method('clear',
5265 'void',
5266 [])
5267 ## blob.h (module 'ndnSIM'): bool ns3::ndn::Blob::empty() const [member function]
5268 cls.add_method('empty',
5269 'bool',
5270 [],
5271 is_const=True)
5272 ## blob.h (module 'ndnSIM'): __gnu_cxx::__normal_iterator<char*, std::vector<char, std::allocator<char> > > ns3::ndn::Blob::end() [member function]
5273 cls.add_method('end',
5274 '__gnu_cxx::__normal_iterator< char *, std::vector< char > >',
5275 [])
5276 ## blob.h (module 'ndnSIM'): __gnu_cxx::__normal_iterator<char const*, std::vector<char, std::allocator<char> > > ns3::ndn::Blob::end() const [member function]
5277 cls.add_method('end',
5278 '__gnu_cxx::__normal_iterator< char const *, std::vector< char > >',
5279 [],
5280 is_const=True)
5281 ## blob.h (module 'ndnSIM'): char ns3::ndn::Blob::getItem(size_t pos) const [member function]
5282 cls.add_method('getItem',
5283 'char',
5284 [param('size_t', 'pos')],
5285 is_const=True)
5286 ## blob.h (module 'ndnSIM'): void ns3::ndn::Blob::push_back(char val) [member function]
5287 cls.add_method('push_back',
5288 'void',
5289 [param('char', 'val')])
5290 ## blob.h (module 'ndnSIM'): size_t ns3::ndn::Blob::size() const [member function]
5291 cls.add_method('size',
5292 'size_t',
5293 [],
5294 is_const=True)
5295 ## blob.h (module 'ndnSIM'): void ns3::ndn::Blob::swap(ns3::ndn::Blob & x) [member function]
5296 cls.add_method('swap',
5297 'void',
5298 [param('ns3::ndn::Blob &', 'x')])
5299 return
5300
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005301def register_Ns3NdnContentObject_methods(root_module, cls):
Alexander Afanasyev0a15a2b2013-07-18 16:23:15 -07005302 cls.add_output_stream_operator()
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005303 ## ndn-content-object.h (module 'ndnSIM'): ns3::ndn::ContentObject::ContentObject(ns3::Ptr<ns3::Packet> payload=ns3::Create( )) [constructor]
5304 cls.add_constructor([param('ns3::Ptr< ns3::Packet >', 'payload', default_value='ns3::Create( )')])
5305 ## ndn-content-object.h (module 'ndnSIM'): ns3::ndn::ContentObject::ContentObject(ns3::ndn::ContentObject const & other) [copy constructor]
5306 cls.add_constructor([param('ns3::ndn::ContentObject const &', 'other')])
Alexander Afanasyev8d6e3f62013-07-27 16:10:44 -07005307 ## ndn-content-object.h (module 'ndnSIM'): ns3::Time ns3::ndn::ContentObject::GetFreshness() const [member function]
5308 cls.add_method('GetFreshness',
5309 'ns3::Time',
5310 [],
5311 is_const=True)
5312 ## ndn-content-object.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::Name const> ns3::ndn::ContentObject::GetKeyLocator() const [member function]
5313 cls.add_method('GetKeyLocator',
5314 'ns3::Ptr< ns3::ndn::Name const >',
5315 [],
5316 is_const=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005317 ## ndn-content-object.h (module 'ndnSIM'): ns3::ndn::Name const & ns3::ndn::ContentObject::GetName() const [member function]
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005318 cls.add_method('GetName',
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005319 'ns3::ndn::Name const &',
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005320 [],
5321 is_const=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005322 ## 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 -08005323 cls.add_method('GetNamePtr',
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005324 'ns3::Ptr< ns3::ndn::Name const >',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005325 [],
5326 is_const=True)
Alexander Afanasyev8d6e3f62013-07-27 16:10:44 -07005327 ## ndn-content-object.h (module 'ndnSIM'): ns3::Ptr<ns3::Packet const> ns3::ndn::ContentObject::GetPayload() const [member function]
5328 cls.add_method('GetPayload',
5329 'ns3::Ptr< ns3::Packet const >',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005330 [],
5331 is_const=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005332 ## ndn-content-object.h (module 'ndnSIM'): uint32_t ns3::ndn::ContentObject::GetSignature() const [member function]
5333 cls.add_method('GetSignature',
5334 'uint32_t',
5335 [],
5336 is_const=True)
Alexander Afanasyev8d6e3f62013-07-27 16:10:44 -07005337 ## ndn-content-object.h (module 'ndnSIM'): ns3::Time ns3::ndn::ContentObject::GetTimestamp() const [member function]
5338 cls.add_method('GetTimestamp',
5339 'ns3::Time',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005340 [],
5341 is_const=True)
5342 ## ndn-content-object.h (module 'ndnSIM'): ns3::Ptr<ns3::Packet const> ns3::ndn::ContentObject::GetWire() const [member function]
5343 cls.add_method('GetWire',
5344 'ns3::Ptr< ns3::Packet const >',
5345 [],
5346 is_const=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005347 ## ndn-content-object.h (module 'ndnSIM'): void ns3::ndn::ContentObject::Print(std::ostream & os) const [member function]
5348 cls.add_method('Print',
5349 'void',
5350 [param('std::ostream &', 'os')],
5351 is_const=True)
Alexander Afanasyev8d6e3f62013-07-27 16:10:44 -07005352 ## ndn-content-object.h (module 'ndnSIM'): void ns3::ndn::ContentObject::SetFreshness(ns3::Time const & freshness) [member function]
5353 cls.add_method('SetFreshness',
5354 'void',
5355 [param('ns3::Time const &', 'freshness')])
5356 ## ndn-content-object.h (module 'ndnSIM'): void ns3::ndn::ContentObject::SetKeyLocator(ns3::Ptr<ns3::ndn::Name> keyLocator) [member function]
5357 cls.add_method('SetKeyLocator',
5358 'void',
5359 [param('ns3::Ptr< ns3::ndn::Name >', 'keyLocator')])
5360 ## ndn-content-object.h (module 'ndnSIM'): void ns3::ndn::ContentObject::SetName(ns3::Ptr<ns3::ndn::Name> name) [member function]
5361 cls.add_method('SetName',
5362 'void',
5363 [param('ns3::Ptr< ns3::ndn::Name >', 'name')])
5364 ## ndn-content-object.h (module 'ndnSIM'): void ns3::ndn::ContentObject::SetName(ns3::ndn::Name const & name) [member function]
5365 cls.add_method('SetName',
5366 'void',
5367 [param('ns3::ndn::Name const &', 'name')])
5368 ## ndn-content-object.h (module 'ndnSIM'): void ns3::ndn::ContentObject::SetPayload(ns3::Ptr<ns3::Packet> payload) [member function]
5369 cls.add_method('SetPayload',
5370 'void',
5371 [param('ns3::Ptr< ns3::Packet >', 'payload')])
5372 ## ndn-content-object.h (module 'ndnSIM'): void ns3::ndn::ContentObject::SetSignature(uint32_t signature) [member function]
5373 cls.add_method('SetSignature',
5374 'void',
5375 [param('uint32_t', 'signature')])
5376 ## ndn-content-object.h (module 'ndnSIM'): void ns3::ndn::ContentObject::SetTimestamp(ns3::Time const & timestamp) [member function]
5377 cls.add_method('SetTimestamp',
5378 'void',
5379 [param('ns3::Time const &', 'timestamp')])
5380 ## ndn-content-object.h (module 'ndnSIM'): void ns3::ndn::ContentObject::SetWire(ns3::Ptr<ns3::Packet const> packet) const [member function]
5381 cls.add_method('SetWire',
5382 'void',
5383 [param('ns3::Ptr< ns3::Packet const >', 'packet')],
5384 is_const=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005385 return
5386
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005387def register_Ns3NdnContentObjectException_methods(root_module, cls):
5388 ## ndn-content-object.h (module 'ndnSIM'): ns3::ndn::ContentObjectException::ContentObjectException() [constructor]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005389 cls.add_constructor([])
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005390 ## ndn-content-object.h (module 'ndnSIM'): ns3::ndn::ContentObjectException::ContentObjectException(ns3::ndn::ContentObjectException const & arg0) [copy constructor]
5391 cls.add_constructor([param('ns3::ndn::ContentObjectException const &', 'arg0')])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005392 return
5393
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005394def register_Ns3NdnContentStore_methods(root_module, cls):
5395 cls.add_output_stream_operator()
5396 ## ndn-content-store.h (module 'ndnSIM'): ns3::ndn::ContentStore::ContentStore() [constructor]
5397 cls.add_constructor([])
5398 ## ndn-content-store.h (module 'ndnSIM'): ns3::ndn::ContentStore::ContentStore(ns3::ndn::ContentStore const & arg0) [copy constructor]
5399 cls.add_constructor([param('ns3::ndn::ContentStore const &', 'arg0')])
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005400 ## 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 -07005401 cls.add_method('Add',
5402 'bool',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005403 [param('ns3::Ptr< ns3::ndn::ContentObject const >', 'data')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005404 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07005405 ## ndn-content-store.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::cs::Entry> ns3::ndn::ContentStore::Begin() [member function]
5406 cls.add_method('Begin',
5407 'ns3::Ptr< ns3::ndn::cs::Entry >',
5408 [],
5409 is_pure_virtual=True, is_virtual=True)
5410 ## ndn-content-store.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::cs::Entry> ns3::ndn::ContentStore::End() [member function]
5411 cls.add_method('End',
5412 'ns3::Ptr< ns3::ndn::cs::Entry >',
5413 [],
5414 is_pure_virtual=True, is_virtual=True)
5415 ## ndn-content-store.h (module 'ndnSIM'): static ns3::Ptr<ns3::ndn::ContentStore> ns3::ndn::ContentStore::GetContentStore(ns3::Ptr<ns3::Object> node) [member function]
5416 cls.add_method('GetContentStore',
5417 'ns3::Ptr< ns3::ndn::ContentStore >',
5418 [param('ns3::Ptr< ns3::Object >', 'node')],
5419 is_static=True)
5420 ## ndn-content-store.h (module 'ndnSIM'): uint32_t ns3::ndn::ContentStore::GetSize() const [member function]
5421 cls.add_method('GetSize',
5422 'uint32_t',
5423 [],
5424 is_pure_virtual=True, is_const=True, is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005425 ## ndn-content-store.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::ContentStore::GetTypeId() [member function]
5426 cls.add_method('GetTypeId',
5427 'ns3::TypeId',
5428 [],
5429 is_static=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005430 ## 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 -07005431 cls.add_method('Lookup',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005432 'ns3::Ptr< ns3::ndn::ContentObject >',
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005433 [param('ns3::Ptr< ns3::ndn::Interest const >', 'interest')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005434 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07005435 ## 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]
5436 cls.add_method('Next',
5437 'ns3::Ptr< ns3::ndn::cs::Entry >',
5438 [param('ns3::Ptr< ns3::ndn::cs::Entry >', 'arg0')],
5439 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005440 ## ndn-content-store.h (module 'ndnSIM'): void ns3::ndn::ContentStore::Print(std::ostream & os) const [member function]
5441 cls.add_method('Print',
5442 'void',
5443 [param('std::ostream &', 'os')],
5444 is_pure_virtual=True, is_const=True, is_virtual=True)
5445 return
5446
Alexander Afanasyev76b11572013-07-16 21:49:50 -07005447def register_Ns3NdnExclude_methods(root_module, cls):
5448 cls.add_output_stream_operator()
5449 ## exclude.h (module 'ndnSIM'): ns3::ndn::Exclude::Exclude(ns3::ndn::Exclude const & arg0) [copy constructor]
5450 cls.add_constructor([param('ns3::ndn::Exclude const &', 'arg0')])
5451 ## exclude.h (module 'ndnSIM'): ns3::ndn::Exclude::Exclude() [constructor]
5452 cls.add_constructor([])
5453 ## exclude.h (module 'ndnSIM'): void ns3::ndn::Exclude::appendExclude(ns3::ndn::name::Component const & name, bool any) [member function]
5454 cls.add_method('appendExclude',
5455 'void',
5456 [param('ns3::ndn::name::Component const &', 'name'), param('bool', 'any')])
5457 ## exclude.h (module 'ndnSIM'): std::_Rb_tree_const_iterator<std::pair<ns3::ndn::name::Component const, bool> > ns3::ndn::Exclude::begin() const [member function]
5458 cls.add_method('begin',
5459 'std::_Rb_tree_const_iterator< std::pair< ns3::ndn::name::Component const, bool > >',
5460 [],
5461 is_const=True)
5462 ## exclude.h (module 'ndnSIM'): std::_Rb_tree_const_iterator<std::pair<ns3::ndn::name::Component const, bool> > ns3::ndn::Exclude::end() const [member function]
5463 cls.add_method('end',
5464 'std::_Rb_tree_const_iterator< std::pair< ns3::ndn::name::Component const, bool > >',
5465 [],
5466 is_const=True)
5467 ## exclude.h (module 'ndnSIM'): ns3::ndn::Exclude & ns3::ndn::Exclude::excludeAfter(ns3::ndn::name::Component const & from) [member function]
5468 cls.add_method('excludeAfter',
5469 'ns3::ndn::Exclude &',
5470 [param('ns3::ndn::name::Component const &', 'from')])
5471 ## exclude.h (module 'ndnSIM'): ns3::ndn::Exclude & ns3::ndn::Exclude::excludeBefore(ns3::ndn::name::Component const & to) [member function]
5472 cls.add_method('excludeBefore',
5473 'ns3::ndn::Exclude &',
5474 [param('ns3::ndn::name::Component const &', 'to')])
5475 ## exclude.h (module 'ndnSIM'): ns3::ndn::Exclude & ns3::ndn::Exclude::excludeOne(ns3::ndn::name::Component const & comp) [member function]
5476 cls.add_method('excludeOne',
5477 'ns3::ndn::Exclude &',
5478 [param('ns3::ndn::name::Component const &', 'comp')])
5479 ## 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]
5480 cls.add_method('excludeRange',
5481 'ns3::ndn::Exclude &',
5482 [param('ns3::ndn::name::Component const &', 'from'), param('ns3::ndn::name::Component const &', 'to')])
5483 ## exclude.h (module 'ndnSIM'): bool ns3::ndn::Exclude::isExcluded(ns3::ndn::name::Component const & comp) const [member function]
5484 cls.add_method('isExcluded',
5485 'bool',
5486 [param('ns3::ndn::name::Component const &', 'comp')],
5487 is_const=True)
5488 ## 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]
5489 cls.add_method('rbegin',
5490 'std::reverse_iterator< std::_Rb_tree_const_iterator< std::pair< ns3::ndn::name::Component const, bool > > >',
5491 [],
5492 is_const=True)
5493 ## 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]
5494 cls.add_method('rend',
5495 'std::reverse_iterator< std::_Rb_tree_const_iterator< std::pair< ns3::ndn::name::Component const, bool > > >',
5496 [],
5497 is_const=True)
5498 ## exclude.h (module 'ndnSIM'): size_t ns3::ndn::Exclude::size() const [member function]
5499 cls.add_method('size',
5500 'size_t',
5501 [],
5502 is_const=True)
5503 return
5504
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005505def register_Ns3NdnFace_methods(root_module, cls):
5506 cls.add_output_stream_operator()
5507 cls.add_binary_comparison_operator('!=')
5508 cls.add_binary_comparison_operator('<')
5509 cls.add_binary_comparison_operator('==')
5510 ## ndn-face.h (module 'ndnSIM'): ns3::ndn::Face::Face(ns3::Ptr<ns3::Node> node) [constructor]
5511 cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node')])
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005512 ## ndn-face.h (module 'ndnSIM'): uint32_t ns3::ndn::Face::GetFlags() const [member function]
5513 cls.add_method('GetFlags',
5514 'uint32_t',
5515 [],
5516 is_const=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005517 ## ndn-face.h (module 'ndnSIM'): uint32_t ns3::ndn::Face::GetId() const [member function]
5518 cls.add_method('GetId',
5519 'uint32_t',
5520 [],
5521 is_const=True)
5522 ## ndn-face.h (module 'ndnSIM'): uint16_t ns3::ndn::Face::GetMetric() const [member function]
5523 cls.add_method('GetMetric',
5524 'uint16_t',
5525 [],
5526 is_const=True, is_virtual=True)
5527 ## ndn-face.h (module 'ndnSIM'): ns3::Ptr<ns3::Node> ns3::ndn::Face::GetNode() const [member function]
5528 cls.add_method('GetNode',
5529 'ns3::Ptr< ns3::Node >',
5530 [],
5531 is_const=True)
5532 ## ndn-face.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::Face::GetTypeId() [member function]
5533 cls.add_method('GetTypeId',
5534 'ns3::TypeId',
5535 [],
5536 is_static=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005537 ## ndn-face.h (module 'ndnSIM'): bool ns3::ndn::Face::IsUp() const [member function]
5538 cls.add_method('IsUp',
5539 'bool',
5540 [],
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005541 is_const=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005542 ## ndn-face.h (module 'ndnSIM'): std::ostream & ns3::ndn::Face::Print(std::ostream & os) const [member function]
Alexander Afanasyev3073da82012-06-19 14:57:43 -07005543 cls.add_method('Print',
5544 'std::ostream &',
5545 [param('std::ostream &', 'os')],
5546 is_const=True, is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005547 ## ndn-face.h (module 'ndnSIM'): bool ns3::ndn::Face::ReceiveData(ns3::Ptr<ns3::ndn::ContentObject> data) [member function]
5548 cls.add_method('ReceiveData',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005549 'bool',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005550 [param('ns3::Ptr< ns3::ndn::ContentObject >', 'data')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005551 is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005552 ## ndn-face.h (module 'ndnSIM'): bool ns3::ndn::Face::ReceiveInterest(ns3::Ptr<ns3::ndn::Interest> interest) [member function]
5553 cls.add_method('ReceiveInterest',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005554 'bool',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005555 [param('ns3::Ptr< ns3::ndn::Interest >', 'interest')],
5556 is_virtual=True)
5557 ## 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]
5558 cls.add_method('RegisterProtocolHandlers',
5559 'void',
5560 [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')],
5561 is_virtual=True)
5562 ## ndn-face.h (module 'ndnSIM'): bool ns3::ndn::Face::SendData(ns3::Ptr<ns3::ndn::ContentObject const> data) [member function]
5563 cls.add_method('SendData',
5564 'bool',
5565 [param('ns3::Ptr< ns3::ndn::ContentObject const >', 'data')],
5566 is_virtual=True)
5567 ## ndn-face.h (module 'ndnSIM'): bool ns3::ndn::Face::SendInterest(ns3::Ptr<ns3::ndn::Interest const> interest) [member function]
5568 cls.add_method('SendInterest',
5569 'bool',
5570 [param('ns3::Ptr< ns3::ndn::Interest const >', 'interest')],
5571 is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005572 ## ndn-face.h (module 'ndnSIM'): void ns3::ndn::Face::SetId(uint32_t id) [member function]
5573 cls.add_method('SetId',
5574 'void',
5575 [param('uint32_t', 'id')])
5576 ## ndn-face.h (module 'ndnSIM'): void ns3::ndn::Face::SetMetric(uint16_t metric) [member function]
5577 cls.add_method('SetMetric',
5578 'void',
5579 [param('uint16_t', 'metric')],
5580 is_virtual=True)
5581 ## ndn-face.h (module 'ndnSIM'): void ns3::ndn::Face::SetUp(bool up=true) [member function]
5582 cls.add_method('SetUp',
5583 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005584 [param('bool', 'up', default_value='true')])
5585 ## ndn-face.h (module 'ndnSIM'): void ns3::ndn::Face::UnRegisterProtocolHandlers() [member function]
5586 cls.add_method('UnRegisterProtocolHandlers',
5587 'void',
5588 [],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005589 is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005590 ## ndn-face.h (module 'ndnSIM'): bool ns3::ndn::Face::Receive(ns3::Ptr<ns3::Packet const> p) [member function]
5591 cls.add_method('Receive',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005592 'bool',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005593 [param('ns3::Ptr< ns3::Packet const >', 'p')],
5594 visibility='protected', is_virtual=True)
5595 ## ndn-face.h (module 'ndnSIM'): bool ns3::ndn::Face::Send(ns3::Ptr<ns3::Packet> packet) [member function]
5596 cls.add_method('Send',
5597 'bool',
5598 [param('ns3::Ptr< ns3::Packet >', 'packet')],
5599 visibility='protected', is_virtual=True)
5600 ## ndn-face.h (module 'ndnSIM'): void ns3::ndn::Face::SetFlags(uint32_t flags) [member function]
5601 cls.add_method('SetFlags',
5602 'void',
5603 [param('uint32_t', 'flags')],
5604 visibility='protected')
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005605 return
5606
5607def register_Ns3NdnFaceContainer_methods(root_module, cls):
5608 ## ndn-face-container.h (module 'ndnSIM'): ns3::ndn::FaceContainer::FaceContainer() [constructor]
5609 cls.add_constructor([])
5610 ## ndn-face-container.h (module 'ndnSIM'): ns3::ndn::FaceContainer::FaceContainer(ns3::ndn::FaceContainer const & other) [copy constructor]
5611 cls.add_constructor([param('ns3::ndn::FaceContainer const &', 'other')])
5612 ## ndn-face-container.h (module 'ndnSIM'): void ns3::ndn::FaceContainer::Add(ns3::Ptr<ns3::ndn::Face> const & face) [member function]
5613 cls.add_method('Add',
5614 'void',
5615 [param('ns3::Ptr< ns3::ndn::Face > const &', 'face')])
5616 ## ndn-face-container.h (module 'ndnSIM'): void ns3::ndn::FaceContainer::AddAll(ns3::Ptr<ns3::ndn::FaceContainer> other) [member function]
5617 cls.add_method('AddAll',
5618 'void',
5619 [param('ns3::Ptr< ns3::ndn::FaceContainer >', 'other')])
5620 ## ndn-face-container.h (module 'ndnSIM'): void ns3::ndn::FaceContainer::AddAll(ns3::ndn::FaceContainer const & other) [member function]
5621 cls.add_method('AddAll',
5622 'void',
5623 [param('ns3::ndn::FaceContainer const &', 'other')])
5624 ## 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]
5625 cls.add_method('Begin',
5626 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::ndn::Face > const, std::vector< ns3::Ptr< ns3::ndn::Face > > >',
5627 [],
5628 is_const=True)
5629 ## 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]
5630 cls.add_method('End',
5631 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::ndn::Face > const, std::vector< ns3::Ptr< ns3::ndn::Face > > >',
5632 [],
5633 is_const=True)
5634 ## 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]
5635 cls.add_method('Get',
5636 'ns3::Ptr< ns3::ndn::Face >',
5637 [param('__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::ndn::Face > const, std::vector< ns3::Ptr< ns3::ndn::Face > > >', 'i')],
5638 is_const=True)
5639 ## ndn-face-container.h (module 'ndnSIM'): uint32_t ns3::ndn::FaceContainer::GetN() const [member function]
5640 cls.add_method('GetN',
5641 'uint32_t',
5642 [],
5643 is_const=True)
5644 return
5645
5646def register_Ns3NdnFib_methods(root_module, cls):
5647 cls.add_output_stream_operator()
5648 ## ndn-fib.h (module 'ndnSIM'): ns3::ndn::Fib::Fib() [constructor]
5649 cls.add_constructor([])
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005650 ## 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 -07005651 cls.add_method('Add',
5652 'ns3::Ptr< ns3::ndn::fib::Entry >',
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005653 [param('ns3::ndn::Name const &', 'prefix'), param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('int32_t', 'metric')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005654 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005655 ## 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 -07005656 cls.add_method('Add',
5657 'ns3::Ptr< ns3::ndn::fib::Entry >',
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005658 [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 -07005659 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005660 ## 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 -07005661 cls.add_method('Begin',
5662 'ns3::Ptr< ns3::ndn::fib::Entry const >',
5663 [],
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005664 is_pure_virtual=True, is_const=True, is_virtual=True)
5665 ## ndn-fib.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::fib::Entry> ns3::ndn::Fib::Begin() [member function]
5666 cls.add_method('Begin',
5667 'ns3::Ptr< ns3::ndn::fib::Entry >',
5668 [],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005669 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005670 ## 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 -07005671 cls.add_method('End',
5672 'ns3::Ptr< ns3::ndn::fib::Entry const >',
5673 [],
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005674 is_pure_virtual=True, is_const=True, is_virtual=True)
5675 ## ndn-fib.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::fib::Entry> ns3::ndn::Fib::End() [member function]
5676 cls.add_method('End',
5677 'ns3::Ptr< ns3::ndn::fib::Entry >',
5678 [],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005679 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyeve5a8b5a2013-03-15 15:15:26 -07005680 ## ndn-fib.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::fib::Entry> ns3::ndn::Fib::Find(ns3::ndn::Name const & prefix) [member function]
5681 cls.add_method('Find',
5682 'ns3::Ptr< ns3::ndn::fib::Entry >',
5683 [param('ns3::ndn::Name const &', 'prefix')],
5684 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005685 ## ndn-fib.h (module 'ndnSIM'): static ns3::Ptr<ns3::ndn::Fib> ns3::ndn::Fib::GetFib(ns3::Ptr<ns3::Object> node) [member function]
5686 cls.add_method('GetFib',
5687 'ns3::Ptr< ns3::ndn::Fib >',
5688 [param('ns3::Ptr< ns3::Object >', 'node')],
5689 is_static=True)
5690 ## ndn-fib.h (module 'ndnSIM'): uint32_t ns3::ndn::Fib::GetSize() const [member function]
5691 cls.add_method('GetSize',
5692 'uint32_t',
5693 [],
5694 is_pure_virtual=True, is_const=True, is_virtual=True)
5695 ## ndn-fib.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::Fib::GetTypeId() [member function]
5696 cls.add_method('GetTypeId',
5697 'ns3::TypeId',
5698 [],
5699 is_static=True)
5700 ## ndn-fib.h (module 'ndnSIM'): void ns3::ndn::Fib::InvalidateAll() [member function]
5701 cls.add_method('InvalidateAll',
5702 'void',
5703 [],
5704 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005705 ## 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 -07005706 cls.add_method('LongestPrefixMatch',
5707 'ns3::Ptr< ns3::ndn::fib::Entry >',
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005708 [param('ns3::ndn::Interest const &', 'interest')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005709 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005710 ## 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 -07005711 cls.add_method('Next',
5712 'ns3::Ptr< ns3::ndn::fib::Entry const >',
5713 [param('ns3::Ptr< ns3::ndn::fib::Entry const >', 'arg0')],
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005714 is_pure_virtual=True, is_const=True, is_virtual=True)
5715 ## ndn-fib.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::fib::Entry> ns3::ndn::Fib::Next(ns3::Ptr<ns3::ndn::fib::Entry> arg0) [member function]
5716 cls.add_method('Next',
5717 'ns3::Ptr< ns3::ndn::fib::Entry >',
5718 [param('ns3::Ptr< ns3::ndn::fib::Entry >', 'arg0')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005719 is_pure_virtual=True, is_virtual=True)
5720 ## ndn-fib.h (module 'ndnSIM'): void ns3::ndn::Fib::Print(std::ostream & os) const [member function]
5721 cls.add_method('Print',
5722 'void',
5723 [param('std::ostream &', 'os')],
5724 is_pure_virtual=True, is_const=True, is_virtual=True)
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005725 ## 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 -07005726 cls.add_method('Remove',
5727 'void',
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005728 [param('ns3::Ptr< ns3::ndn::Name const > const &', 'prefix')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005729 is_pure_virtual=True, is_virtual=True)
5730 ## ndn-fib.h (module 'ndnSIM'): void ns3::ndn::Fib::RemoveFromAll(ns3::Ptr<ns3::ndn::Face> face) [member function]
5731 cls.add_method('RemoveFromAll',
5732 'void',
5733 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
5734 is_pure_virtual=True, is_virtual=True)
5735 return
5736
5737def register_Ns3NdnForwardingStrategy_methods(root_module, cls):
5738 ## ndn-forwarding-strategy.h (module 'ndnSIM'): ns3::ndn::ForwardingStrategy::ForwardingStrategy(ns3::ndn::ForwardingStrategy const & arg0) [copy constructor]
5739 cls.add_constructor([param('ns3::ndn::ForwardingStrategy const &', 'arg0')])
5740 ## ndn-forwarding-strategy.h (module 'ndnSIM'): ns3::ndn::ForwardingStrategy::ForwardingStrategy() [constructor]
5741 cls.add_constructor([])
Alexander Afanasyevf5c07742012-10-31 13:13:05 -07005742 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::AddFace(ns3::Ptr<ns3::ndn::Face> face) [member function]
5743 cls.add_method('AddFace',
5744 'void',
5745 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
5746 is_virtual=True)
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005747 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::DidAddFibEntry(ns3::Ptr<ns3::ndn::fib::Entry> fibEntry) [member function]
5748 cls.add_method('DidAddFibEntry',
5749 'void',
5750 [param('ns3::Ptr< ns3::ndn::fib::Entry >', 'fibEntry')],
5751 is_virtual=True)
Alexander Afanasyevbd9c18e2012-11-19 15:23:41 -08005752 ## ndn-forwarding-strategy.h (module 'ndnSIM'): static std::string ns3::ndn::ForwardingStrategy::GetLogName() [member function]
5753 cls.add_method('GetLogName',
5754 'std::string',
5755 [],
5756 is_static=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005757 ## ndn-forwarding-strategy.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::ForwardingStrategy::GetTypeId() [member function]
5758 cls.add_method('GetTypeId',
5759 'ns3::TypeId',
5760 [],
5761 is_static=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005762 ## 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 -07005763 cls.add_method('OnData',
5764 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005765 [param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('ns3::Ptr< ns3::ndn::ContentObject >', 'data')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005766 is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005767 ## 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 -07005768 cls.add_method('OnInterest',
5769 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005770 [param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('ns3::Ptr< ns3::ndn::Interest >', 'interest')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005771 is_virtual=True)
5772 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::RemoveFace(ns3::Ptr<ns3::ndn::Face> face) [member function]
5773 cls.add_method('RemoveFace',
5774 'void',
5775 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
5776 is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005777 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::WillEraseTimedOutPendingInterest(ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
5778 cls.add_method('WillEraseTimedOutPendingInterest',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005779 'void',
5780 [param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
5781 is_virtual=True)
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005782 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::WillRemoveFibEntry(ns3::Ptr<ns3::ndn::fib::Entry> fibEntry) [member function]
5783 cls.add_method('WillRemoveFibEntry',
5784 'void',
5785 [param('ns3::Ptr< ns3::ndn::fib::Entry >', 'fibEntry')],
5786 is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005787 ## 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 -08005788 cls.add_method('CanSendOutInterest',
5789 'bool',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005790 [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 -08005791 visibility='protected', is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005792 ## 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 -07005793 cls.add_method('DetectRetransmittedInterest',
5794 'bool',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005795 [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 -07005796 visibility='protected', is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005797 ## 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 -07005798 cls.add_method('DidCreatePitEntry',
5799 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005800 [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 -07005801 visibility='protected', is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005802 ## 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 -07005803 cls.add_method('DidExhaustForwardingOptions',
5804 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005805 [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 -07005806 visibility='protected', is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005807 ## 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 -07005808 cls.add_method('DidForwardSimilarInterest',
5809 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005810 [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 -07005811 visibility='protected', is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005812 ## 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 -07005813 cls.add_method('DidReceiveDuplicateInterest',
5814 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005815 [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 -07005816 visibility='protected', is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005817 ## 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 -08005818 cls.add_method('DidReceiveSolicitedData',
5819 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005820 [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 -08005821 visibility='protected', is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005822 ## 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 -07005823 cls.add_method('DidReceiveUnsolicitedData',
5824 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005825 [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 -07005826 visibility='protected', is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005827 ## 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 -07005828 cls.add_method('DidSendOutData',
5829 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005830 [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 -07005831 visibility='protected', is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005832 ## 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 -07005833 cls.add_method('DidSendOutInterest',
5834 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005835 [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 -07005836 visibility='protected', is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005837 ## 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 -07005838 cls.add_method('DidSuppressSimilarInterest',
5839 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005840 [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 -07005841 visibility='protected', is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005842 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::DoDispose() [member function]
5843 cls.add_method('DoDispose',
5844 'void',
5845 [],
5846 visibility='protected', is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005847 ## 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 -07005848 cls.add_method('DoPropagateInterest',
5849 'bool',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005850 [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 -07005851 is_pure_virtual=True, visibility='protected', is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005852 ## 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 -07005853 cls.add_method('FailedToCreatePitEntry',
5854 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005855 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::Interest const >', 'interest')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005856 visibility='protected', is_virtual=True)
5857 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::NotifyNewAggregate() [member function]
5858 cls.add_method('NotifyNewAggregate',
5859 'void',
5860 [],
5861 visibility='protected', is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005862 ## 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 -07005863 cls.add_method('PropagateInterest',
5864 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005865 [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 -07005866 visibility='protected', is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005867 ## 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 -07005868 cls.add_method('SatisfyPendingInterest',
5869 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005870 [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 -07005871 visibility='protected', is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005872 ## 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 -07005873 cls.add_method('ShouldSuppressIncomingInterest',
5874 'bool',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005875 [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 -07005876 visibility='protected', is_virtual=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005877 ## 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 -07005878 cls.add_method('TrySendOutInterest',
5879 'bool',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005880 [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 -07005881 visibility='protected', is_virtual=True)
5882 ## 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 -07005883 cls.add_method('WillSatisfyPendingInterest',
5884 'void',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07005885 [param('ns3::Ptr< ns3::ndn::Face >', 'inFace'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005886 visibility='protected', is_virtual=True)
5887 return
5888
5889def register_Ns3NdnGlobalRoutingHelper_methods(root_module, cls):
5890 ## ndn-global-routing-helper.h (module 'ndnSIM'): ns3::ndn::GlobalRoutingHelper::GlobalRoutingHelper() [constructor]
5891 cls.add_constructor([])
5892 ## ndn-global-routing-helper.h (module 'ndnSIM'): ns3::ndn::GlobalRoutingHelper::GlobalRoutingHelper(ns3::ndn::GlobalRoutingHelper const & arg0) [copy constructor]
5893 cls.add_constructor([param('ns3::ndn::GlobalRoutingHelper const &', 'arg0')])
5894 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::AddOrigin(std::string const & prefix, ns3::Ptr<ns3::Node> node) [member function]
5895 cls.add_method('AddOrigin',
5896 'void',
5897 [param('std::string const &', 'prefix'), param('ns3::Ptr< ns3::Node >', 'node')])
5898 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::AddOrigin(std::string const & prefix, std::string const & nodeName) [member function]
5899 cls.add_method('AddOrigin',
5900 'void',
5901 [param('std::string const &', 'prefix'), param('std::string const &', 'nodeName')])
5902 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::AddOrigins(std::string const & prefix, ns3::NodeContainer const & nodes) [member function]
5903 cls.add_method('AddOrigins',
5904 'void',
5905 [param('std::string const &', 'prefix'), param('ns3::NodeContainer const &', 'nodes')])
Alexander Afanasyev32c07562013-02-01 12:58:43 -08005906 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::AddOriginsForAll() [member function]
5907 cls.add_method('AddOriginsForAll',
5908 'void',
5909 [])
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -07005910 ## ndn-global-routing-helper.h (module 'ndnSIM'): static void ns3::ndn::GlobalRoutingHelper::CalculateAllPossibleRoutes() [member function]
5911 cls.add_method('CalculateAllPossibleRoutes',
5912 'void',
5913 [],
5914 is_static=True)
5915 ## ndn-global-routing-helper.h (module 'ndnSIM'): static void ns3::ndn::GlobalRoutingHelper::CalculateRoutes() [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005916 cls.add_method('CalculateRoutes',
5917 'void',
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -07005918 [],
5919 is_static=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005920 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::Install(ns3::Ptr<ns3::Node> node) [member function]
5921 cls.add_method('Install',
5922 'void',
5923 [param('ns3::Ptr< ns3::Node >', 'node')])
5924 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::Install(ns3::NodeContainer const & nodes) [member function]
5925 cls.add_method('Install',
5926 'void',
5927 [param('ns3::NodeContainer const &', 'nodes')])
5928 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::InstallAll() [member function]
5929 cls.add_method('InstallAll',
5930 'void',
5931 [])
5932 return
5933
5934def register_Ns3NdnHeaderHelper_methods(root_module, cls):
5935 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::HeaderHelper::HeaderHelper() [constructor]
5936 cls.add_constructor([])
5937 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::HeaderHelper::HeaderHelper(ns3::ndn::HeaderHelper const & arg0) [copy constructor]
5938 cls.add_constructor([param('ns3::ndn::HeaderHelper const &', 'arg0')])
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005939 ## 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 -07005940 cls.add_method('GetNdnHeaderType',
5941 'ns3::ndn::HeaderHelper::Type',
5942 [param('ns3::Ptr< ns3::Packet const >', 'packet')],
5943 is_static=True)
5944 return
5945
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005946def register_Ns3NdnInterest_methods(root_module, cls):
Alexander Afanasyev76b11572013-07-16 21:49:50 -07005947 cls.add_output_stream_operator()
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005948 ## ndn-interest.h (module 'ndnSIM'): ns3::ndn::Interest::Interest(ns3::Ptr<ns3::Packet> payload=ns3::Create( )) [constructor]
5949 cls.add_constructor([param('ns3::Ptr< ns3::Packet >', 'payload', default_value='ns3::Create( )')])
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005950 ## ndn-interest.h (module 'ndnSIM'): ns3::ndn::Interest::Interest(ns3::ndn::Interest const & interest) [copy constructor]
5951 cls.add_constructor([param('ns3::ndn::Interest const &', 'interest')])
Alexander Afanasyev8d6e3f62013-07-27 16:10:44 -07005952 ## ndn-interest.h (module 'ndnSIM'): ns3::Ptr<const ns3::ndn::Exclude> ns3::ndn::Interest::GetExclude() const [member function]
5953 cls.add_method('GetExclude',
5954 'ns3::Ptr< ns3::ndn::Exclude const >',
5955 [],
5956 is_const=True)
Alexander Afanasyev76b11572013-07-16 21:49:50 -07005957 ## ndn-interest.h (module 'ndnSIM'): ns3::Time ns3::ndn::Interest::GetInterestLifetime() const [member function]
5958 cls.add_method('GetInterestLifetime',
5959 'ns3::Time',
5960 [],
5961 is_const=True)
5962 ## ndn-interest.h (module 'ndnSIM'): uint8_t ns3::ndn::Interest::GetNack() const [member function]
5963 cls.add_method('GetNack',
5964 'uint8_t',
5965 [],
5966 is_const=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005967 ## ndn-interest.h (module 'ndnSIM'): ns3::ndn::Name const & ns3::ndn::Interest::GetName() const [member function]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005968 cls.add_method('GetName',
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005969 'ns3::ndn::Name const &',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005970 [],
5971 is_const=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07005972 ## 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 -07005973 cls.add_method('GetNamePtr',
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07005974 'ns3::Ptr< ns3::ndn::Name const >',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005975 [],
5976 is_const=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005977 ## ndn-interest.h (module 'ndnSIM'): uint32_t ns3::ndn::Interest::GetNonce() const [member function]
5978 cls.add_method('GetNonce',
5979 'uint32_t',
5980 [],
5981 is_const=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005982 ## ndn-interest.h (module 'ndnSIM'): ns3::Ptr<ns3::Packet const> ns3::ndn::Interest::GetPayload() const [member function]
5983 cls.add_method('GetPayload',
5984 'ns3::Ptr< ns3::Packet const >',
5985 [],
5986 is_const=True)
Alexander Afanasyev76b11572013-07-16 21:49:50 -07005987 ## ndn-interest.h (module 'ndnSIM'): int8_t ns3::ndn::Interest::GetScope() const [member function]
5988 cls.add_method('GetScope',
5989 'int8_t',
5990 [],
5991 is_const=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005992 ## ndn-interest.h (module 'ndnSIM'): ns3::Ptr<ns3::Packet const> ns3::ndn::Interest::GetWire() const [member function]
5993 cls.add_method('GetWire',
5994 'ns3::Ptr< ns3::Packet const >',
5995 [],
5996 is_const=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07005997 ## ndn-interest.h (module 'ndnSIM'): void ns3::ndn::Interest::Print(std::ostream & os) const [member function]
5998 cls.add_method('Print',
5999 'void',
6000 [param('std::ostream &', 'os')],
6001 is_const=True)
Alexander Afanasyev8d6e3f62013-07-27 16:10:44 -07006002 ## ndn-interest.h (module 'ndnSIM'): void ns3::ndn::Interest::SetExclude(ns3::Ptr<ns3::ndn::Exclude> exclude) [member function]
6003 cls.add_method('SetExclude',
6004 'void',
6005 [param('ns3::Ptr< ns3::ndn::Exclude >', 'exclude')])
Alexander Afanasyev76b11572013-07-16 21:49:50 -07006006 ## ndn-interest.h (module 'ndnSIM'): void ns3::ndn::Interest::SetInterestLifetime(ns3::Time time) [member function]
6007 cls.add_method('SetInterestLifetime',
6008 'void',
6009 [param('ns3::Time', 'time')])
6010 ## ndn-interest.h (module 'ndnSIM'): void ns3::ndn::Interest::SetNack(uint8_t nackType) [member function]
6011 cls.add_method('SetNack',
6012 'void',
6013 [param('uint8_t', 'nackType')])
6014 ## ndn-interest.h (module 'ndnSIM'): void ns3::ndn::Interest::SetName(ns3::Ptr<ns3::ndn::Name> name) [member function]
6015 cls.add_method('SetName',
6016 'void',
6017 [param('ns3::Ptr< ns3::ndn::Name >', 'name')])
6018 ## ndn-interest.h (module 'ndnSIM'): void ns3::ndn::Interest::SetName(ns3::ndn::Name const & name) [member function]
6019 cls.add_method('SetName',
6020 'void',
6021 [param('ns3::ndn::Name const &', 'name')])
6022 ## ndn-interest.h (module 'ndnSIM'): void ns3::ndn::Interest::SetNonce(uint32_t nonce) [member function]
6023 cls.add_method('SetNonce',
6024 'void',
6025 [param('uint32_t', 'nonce')])
6026 ## ndn-interest.h (module 'ndnSIM'): void ns3::ndn::Interest::SetPayload(ns3::Ptr<ns3::Packet> payload) [member function]
6027 cls.add_method('SetPayload',
6028 'void',
6029 [param('ns3::Ptr< ns3::Packet >', 'payload')])
6030 ## ndn-interest.h (module 'ndnSIM'): void ns3::ndn::Interest::SetScope(int8_t scope) [member function]
6031 cls.add_method('SetScope',
6032 'void',
6033 [param('int8_t', 'scope')])
6034 ## ndn-interest.h (module 'ndnSIM'): void ns3::ndn::Interest::SetWire(ns3::Ptr<ns3::Packet const> packet) const [member function]
6035 cls.add_method('SetWire',
6036 'void',
6037 [param('ns3::Ptr< ns3::Packet const >', 'packet')],
6038 is_const=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006039 return
6040
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07006041def register_Ns3NdnInterestException_methods(root_module, cls):
6042 ## ndn-interest.h (module 'ndnSIM'): ns3::ndn::InterestException::InterestException() [constructor]
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006043 cls.add_constructor([])
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07006044 ## ndn-interest.h (module 'ndnSIM'): ns3::ndn::InterestException::InterestException(ns3::ndn::InterestException const & arg0) [copy constructor]
6045 cls.add_constructor([param('ns3::ndn::InterestException const &', 'arg0')])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006046 return
6047
Alexander Afanasyev8d6e3f62013-07-27 16:10:44 -07006048def register_Ns3NdnIpFacesHelper_methods(root_module, cls):
6049 ## ndn-ip-faces-helper.h (module 'ndnSIM'): ns3::ndn::IpFacesHelper::IpFacesHelper() [constructor]
6050 cls.add_constructor([])
6051 ## ndn-ip-faces-helper.h (module 'ndnSIM'): ns3::ndn::IpFacesHelper::IpFacesHelper(ns3::ndn::IpFacesHelper const & arg0) [copy constructor]
6052 cls.add_constructor([param('ns3::ndn::IpFacesHelper const &', 'arg0')])
6053 ## ndn-ip-faces-helper.h (module 'ndnSIM'): static void ns3::ndn::IpFacesHelper::CreateTcpFace(ns3::Time const & when, ns3::Ptr<ns3::Node> node, ns3::Ipv4Address address, std::string const & prefix, int16_t metric=1) [member function]
6054 cls.add_method('CreateTcpFace',
6055 'void',
6056 [param('ns3::Time const &', 'when'), param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::Ipv4Address', 'address'), param('std::string const &', 'prefix'), param('int16_t', 'metric', default_value='1')],
6057 is_static=True)
6058 ## ndn-ip-faces-helper.h (module 'ndnSIM'): static void ns3::ndn::IpFacesHelper::CreateUdpFace(ns3::Time const & when, ns3::Ptr<ns3::Node> node, ns3::Ipv4Address address, std::string const & prefix, int16_t metric=1) [member function]
6059 cls.add_method('CreateUdpFace',
6060 'void',
6061 [param('ns3::Time const &', 'when'), param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::Ipv4Address', 'address'), param('std::string const &', 'prefix'), param('int16_t', 'metric', default_value='1')],
6062 is_static=True)
6063 ## ndn-ip-faces-helper.h (module 'ndnSIM'): static void ns3::ndn::IpFacesHelper::Install(ns3::Ptr<ns3::Node> node) [member function]
6064 cls.add_method('Install',
6065 'void',
6066 [param('ns3::Ptr< ns3::Node >', 'node')],
6067 is_static=True)
6068 ## ndn-ip-faces-helper.h (module 'ndnSIM'): static void ns3::ndn::IpFacesHelper::Install(ns3::NodeContainer const & nodes) [member function]
6069 cls.add_method('Install',
6070 'void',
6071 [param('ns3::NodeContainer const &', 'nodes')],
6072 is_static=True)
6073 ## ndn-ip-faces-helper.h (module 'ndnSIM'): static void ns3::ndn::IpFacesHelper::InstallAll() [member function]
6074 cls.add_method('InstallAll',
6075 'void',
6076 [],
6077 is_static=True)
6078 return
6079
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006080def register_Ns3NdnL3Protocol_methods(root_module, cls):
6081 ## ndn-l3-protocol.h (module 'ndnSIM'): ns3::ndn::L3Protocol::ETHERNET_FRAME_TYPE [variable]
6082 cls.add_static_attribute('ETHERNET_FRAME_TYPE', 'uint16_t const', is_const=True)
Alexander Afanasyev8d6e3f62013-07-27 16:10:44 -07006083 ## ndn-l3-protocol.h (module 'ndnSIM'): ns3::ndn::L3Protocol::IP_STACK_PORT [variable]
6084 cls.add_static_attribute('IP_STACK_PORT', 'uint16_t const', is_const=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006085 ## ndn-l3-protocol.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::L3Protocol::GetTypeId() [member function]
6086 cls.add_method('GetTypeId',
6087 'ns3::TypeId',
6088 [],
6089 is_static=True)
6090 ## ndn-l3-protocol.h (module 'ndnSIM'): ns3::ndn::L3Protocol::L3Protocol() [constructor]
6091 cls.add_constructor([])
6092 ## ndn-l3-protocol.h (module 'ndnSIM'): uint32_t ns3::ndn::L3Protocol::AddFace(ns3::Ptr<ns3::ndn::Face> const & face) [member function]
6093 cls.add_method('AddFace',
6094 'uint32_t',
6095 [param('ns3::Ptr< ns3::ndn::Face > const &', 'face')],
6096 is_virtual=True)
6097 ## ndn-l3-protocol.h (module 'ndnSIM'): uint32_t ns3::ndn::L3Protocol::GetNFaces() const [member function]
6098 cls.add_method('GetNFaces',
6099 'uint32_t',
6100 [],
6101 is_const=True, is_virtual=True)
6102 ## ndn-l3-protocol.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::Face> ns3::ndn::L3Protocol::GetFace(uint32_t face) const [member function]
6103 cls.add_method('GetFace',
6104 'ns3::Ptr< ns3::ndn::Face >',
6105 [param('uint32_t', 'face')],
6106 is_const=True, is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006107 ## ndn-l3-protocol.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::Face> ns3::ndn::L3Protocol::GetFaceById(uint32_t face) const [member function]
6108 cls.add_method('GetFaceById',
6109 'ns3::Ptr< ns3::ndn::Face >',
6110 [param('uint32_t', 'face')],
6111 is_const=True, is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006112 ## ndn-l3-protocol.h (module 'ndnSIM'): void ns3::ndn::L3Protocol::RemoveFace(ns3::Ptr<ns3::ndn::Face> face) [member function]
6113 cls.add_method('RemoveFace',
6114 'void',
6115 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
6116 is_virtual=True)
6117 ## ndn-l3-protocol.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::Face> ns3::ndn::L3Protocol::GetFaceByNetDevice(ns3::Ptr<ns3::NetDevice> netDevice) const [member function]
6118 cls.add_method('GetFaceByNetDevice',
6119 'ns3::Ptr< ns3::ndn::Face >',
6120 [param('ns3::Ptr< ns3::NetDevice >', 'netDevice')],
6121 is_const=True, is_virtual=True)
6122 ## ndn-l3-protocol.h (module 'ndnSIM'): void ns3::ndn::L3Protocol::DoDispose() [member function]
6123 cls.add_method('DoDispose',
6124 'void',
6125 [],
6126 visibility='protected', is_virtual=True)
6127 ## ndn-l3-protocol.h (module 'ndnSIM'): void ns3::ndn::L3Protocol::NotifyNewAggregate() [member function]
6128 cls.add_method('NotifyNewAggregate',
6129 'void',
6130 [],
6131 visibility='protected', is_virtual=True)
6132 return
6133
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006134def register_Ns3NdnLimits_methods(root_module, cls):
6135 ## ndn-limits.h (module 'ndnSIM'): ns3::ndn::Limits::Limits(ns3::ndn::Limits const & arg0) [copy constructor]
6136 cls.add_constructor([param('ns3::ndn::Limits const &', 'arg0')])
6137 ## ndn-limits.h (module 'ndnSIM'): ns3::ndn::Limits::Limits() [constructor]
6138 cls.add_constructor([])
Alexander Afanasyev7e4235a2012-10-31 16:58:44 -07006139 ## ndn-limits.h (module 'ndnSIM'): void ns3::ndn::Limits::BorrowLimit() [member function]
6140 cls.add_method('BorrowLimit',
6141 'void',
6142 [],
6143 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevf5c07742012-10-31 13:13:05 -07006144 ## ndn-limits.h (module 'ndnSIM'): double ns3::ndn::Limits::GetCurrentLimit() const [member function]
6145 cls.add_method('GetCurrentLimit',
6146 'double',
6147 [],
Alexander Afanasyev7e4235a2012-10-31 16:58:44 -07006148 is_pure_virtual=True, is_const=True, is_virtual=True)
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08006149 ## ndn-limits.h (module 'ndnSIM'): double ns3::ndn::Limits::GetCurrentLimitRate() const [member function]
6150 cls.add_method('GetCurrentLimitRate',
6151 'double',
6152 [],
6153 is_pure_virtual=True, is_const=True, is_virtual=True)
6154 ## ndn-limits.h (module 'ndnSIM'): double ns3::ndn::Limits::GetLinkDelay() const [member function]
6155 cls.add_method('GetLinkDelay',
6156 'double',
6157 [],
6158 is_const=True, is_virtual=True)
Alexander Afanasyev7e4235a2012-10-31 16:58:44 -07006159 ## ndn-limits.h (module 'ndnSIM'): double ns3::ndn::Limits::GetMaxDelay() const [member function]
6160 cls.add_method('GetMaxDelay',
6161 'double',
6162 [],
6163 is_const=True, is_virtual=True)
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08006164 ## ndn-limits.h (module 'ndnSIM'): double ns3::ndn::Limits::GetMaxLimit() const [member function]
6165 cls.add_method('GetMaxLimit',
6166 'double',
6167 [],
6168 is_pure_virtual=True, is_const=True, is_virtual=True)
Alexander Afanasyev7e4235a2012-10-31 16:58:44 -07006169 ## ndn-limits.h (module 'ndnSIM'): double ns3::ndn::Limits::GetMaxRate() const [member function]
6170 cls.add_method('GetMaxRate',
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07006171 'double',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006172 [],
Alexander Afanasyevf5c07742012-10-31 13:13:05 -07006173 is_const=True, is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006174 ## ndn-limits.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::Limits::GetTypeId() [member function]
6175 cls.add_method('GetTypeId',
6176 'ns3::TypeId',
6177 [],
6178 is_static=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006179 ## ndn-limits.h (module 'ndnSIM'): bool ns3::ndn::Limits::IsBelowLimit() [member function]
6180 cls.add_method('IsBelowLimit',
6181 'bool',
Alexander Afanasyevf5c07742012-10-31 13:13:05 -07006182 [],
6183 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006184 ## ndn-limits.h (module 'ndnSIM'): bool ns3::ndn::Limits::IsEnabled() const [member function]
6185 cls.add_method('IsEnabled',
6186 'bool',
6187 [],
Alexander Afanasyevf5c07742012-10-31 13:13:05 -07006188 is_const=True, is_virtual=True)
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08006189 ## 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]
6190 cls.add_method('RegisterAvailableSlotCallback',
6191 'void',
6192 [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 -07006193 ## ndn-limits.h (module 'ndnSIM'): void ns3::ndn::Limits::ReturnLimit() [member function]
6194 cls.add_method('ReturnLimit',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006195 'void',
Alexander Afanasyev7e4235a2012-10-31 16:58:44 -07006196 [],
6197 is_pure_virtual=True, is_virtual=True)
6198 ## ndn-limits.h (module 'ndnSIM'): void ns3::ndn::Limits::SetLimits(double rate, double delay) [member function]
6199 cls.add_method('SetLimits',
6200 'void',
6201 [param('double', 'rate'), param('double', 'delay')],
Alexander Afanasyevf5c07742012-10-31 13:13:05 -07006202 is_virtual=True)
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08006203 ## ndn-limits.h (module 'ndnSIM'): void ns3::ndn::Limits::SetLinkDelay(double delay) [member function]
6204 cls.add_method('SetLinkDelay',
6205 'void',
6206 [param('double', 'delay')],
6207 is_virtual=True)
Alexander Afanasyeva28ec562012-10-25 14:07:32 -07006208 ## ndn-limits.h (module 'ndnSIM'): void ns3::ndn::Limits::UpdateCurrentLimit(double limit) [member function]
6209 cls.add_method('UpdateCurrentLimit',
6210 'void',
Alexander Afanasyev7e4235a2012-10-31 16:58:44 -07006211 [param('double', 'limit')],
6212 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyeva8f5d882012-11-09 14:22:48 -08006213 ## ndn-limits.h (module 'ndnSIM'): void ns3::ndn::Limits::FireAvailableSlotCallback() [member function]
6214 cls.add_method('FireAvailableSlotCallback',
6215 'void',
6216 [],
6217 visibility='protected')
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07006218 return
6219
Alexander Afanasyev8d6e3f62013-07-27 16:10:44 -07006220def register_Ns3NdnLinkControlHelper_methods(root_module, cls):
6221 ## ndn-link-control-helper.h (module 'ndnSIM'): ns3::ndn::LinkControlHelper::LinkControlHelper() [constructor]
6222 cls.add_constructor([])
6223 ## ndn-link-control-helper.h (module 'ndnSIM'): ns3::ndn::LinkControlHelper::LinkControlHelper(ns3::ndn::LinkControlHelper const & arg0) [copy constructor]
6224 cls.add_constructor([param('ns3::ndn::LinkControlHelper const &', 'arg0')])
6225 ## ndn-link-control-helper.h (module 'ndnSIM'): static void ns3::ndn::LinkControlHelper::FailLink(ns3::Ptr<ns3::Node> node1, ns3::Ptr<ns3::Node> node2) [member function]
6226 cls.add_method('FailLink',
6227 'void',
6228 [param('ns3::Ptr< ns3::Node >', 'node1'), param('ns3::Ptr< ns3::Node >', 'node2')],
6229 is_static=True)
6230 ## ndn-link-control-helper.h (module 'ndnSIM'): static void ns3::ndn::LinkControlHelper::FailLinkByName(std::string const & node1, std::string const & node2) [member function]
6231 cls.add_method('FailLinkByName',
6232 'void',
6233 [param('std::string const &', 'node1'), param('std::string const &', 'node2')],
6234 is_static=True)
6235 ## ndn-link-control-helper.h (module 'ndnSIM'): static void ns3::ndn::LinkControlHelper::UpLink(ns3::Ptr<ns3::Node> node1, ns3::Ptr<ns3::Node> node2) [member function]
6236 cls.add_method('UpLink',
6237 'void',
6238 [param('ns3::Ptr< ns3::Node >', 'node1'), param('ns3::Ptr< ns3::Node >', 'node2')],
6239 is_static=True)
6240 ## ndn-link-control-helper.h (module 'ndnSIM'): static void ns3::ndn::LinkControlHelper::UpLinkByName(std::string const & node1, std::string const & node2) [member function]
6241 cls.add_method('UpLinkByName',
6242 'void',
6243 [param('std::string const &', 'node1'), param('std::string const &', 'node2')],
6244 is_static=True)
6245 return
6246
Alexander Afanasyev32c07562013-02-01 12:58:43 -08006247def register_Ns3NdnName_methods(root_module, cls):
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006248 cls.add_output_stream_operator()
Alexander Afanasyev76b11572013-07-16 21:49:50 -07006249 cls.add_binary_comparison_operator('!=')
6250 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 -07006251 cls.add_binary_comparison_operator('<')
Alexander Afanasyev76b11572013-07-16 21:49:50 -07006252 cls.add_binary_comparison_operator('<=')
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006253 cls.add_binary_comparison_operator('==')
Alexander Afanasyev76b11572013-07-16 21:49:50 -07006254 cls.add_binary_comparison_operator('>')
6255 cls.add_binary_comparison_operator('>=')
6256 ## name.h (module 'ndnSIM'): ns3::ndn::Name::Name() [constructor]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08006257 cls.add_constructor([])
Alexander Afanasyev76b11572013-07-16 21:49:50 -07006258 ## name.h (module 'ndnSIM'): ns3::ndn::Name::Name(ns3::ndn::Name const & other) [copy constructor]
6259 cls.add_constructor([param('ns3::ndn::Name const &', 'other')])
6260 ## name.h (module 'ndnSIM'): ns3::ndn::Name::Name(std::string const & url) [constructor]
6261 cls.add_constructor([param('std::string const &', 'url')])
6262 ## 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]
6263 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')])
6264 ## name.h (module 'ndnSIM'): ns3::ndn::Name & ns3::ndn::Name::append(ns3::ndn::name::Component const & comp) [member function]
6265 cls.add_method('append',
Alexander Afanasyeva4e74282013-07-11 15:23:20 -07006266 'ns3::ndn::Name &',
Alexander Afanasyev76b11572013-07-16 21:49:50 -07006267 [param('ns3::ndn::name::Component const &', 'comp')])
6268 ## 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]
6269 cls.add_method('append',
6270 'ns3::ndn::Name &',
6271 [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')],
6272 template_parameters=['__gnu_cxx::__normal_iterator<ns3::ndn::name::Component const*, std::vector<ns3::ndn::name::Component, std::allocator<ns3::ndn::name::Component> > >'])
6273 ## name.h (module 'ndnSIM'): ns3::ndn::Name & ns3::ndn::Name::append(ns3::ndn::Name const & comp) [member function]
6274 cls.add_method('append',
6275 'ns3::ndn::Name &',
6276 [param('ns3::ndn::Name const &', 'comp')])
6277 ## name.h (module 'ndnSIM'): ns3::ndn::Name & ns3::ndn::Name::append(std::string const & compStr) [member function]
6278 cls.add_method('append',
6279 'ns3::ndn::Name &',
6280 [param('std::string const &', 'compStr')])
6281 ## name.h (module 'ndnSIM'): ns3::ndn::Name & ns3::ndn::Name::append(void const * buf, size_t size) [member function]
6282 cls.add_method('append',
6283 'ns3::ndn::Name &',
6284 [param('void const *', 'buf'), param('size_t', 'size')])
6285 ## name.h (module 'ndnSIM'): ns3::ndn::Name & ns3::ndn::Name::appendBlkId(uint64_t blkid) [member function]
6286 cls.add_method('appendBlkId',
6287 'ns3::ndn::Name &',
6288 [param('uint64_t', 'blkid')])
6289 ## name.h (module 'ndnSIM'): ns3::ndn::Name & ns3::ndn::Name::appendBySwap(ns3::ndn::name::Component & comp) [member function]
6290 cls.add_method('appendBySwap',
6291 'ns3::ndn::Name &',
6292 [param('ns3::ndn::name::Component &', 'comp')])
6293 ## name.h (module 'ndnSIM'): ns3::ndn::Name & ns3::ndn::Name::appendControlNum(uint64_t control) [member function]
6294 cls.add_method('appendControlNum',
6295 'ns3::ndn::Name &',
6296 [param('uint64_t', 'control')])
6297 ## name.h (module 'ndnSIM'): ns3::ndn::Name & ns3::ndn::Name::appendNumber(uint64_t number) [member function]
6298 cls.add_method('appendNumber',
6299 'ns3::ndn::Name &',
6300 [param('uint64_t', 'number')])
6301 ## name.h (module 'ndnSIM'): ns3::ndn::Name & ns3::ndn::Name::appendNumberWithMarker(uint64_t number, unsigned char marker) [member function]
6302 cls.add_method('appendNumberWithMarker',
6303 'ns3::ndn::Name &',
6304 [param('uint64_t', 'number'), param('unsigned char', 'marker')])
6305 ## name.h (module 'ndnSIM'): ns3::ndn::Name & ns3::ndn::Name::appendSeqNum(uint64_t seqno) [member function]
6306 cls.add_method('appendSeqNum',
6307 'ns3::ndn::Name &',
6308 [param('uint64_t', 'seqno')])
6309 ## name.h (module 'ndnSIM'): ns3::ndn::Name & ns3::ndn::Name::appendVersion(uint64_t version=ns3::ndn::Name::nversion) [member function]
6310 cls.add_method('appendVersion',
6311 'ns3::ndn::Name &',
6312 [param('uint64_t', 'version', default_value='ns3::ndn::Name::nversion')])
6313 ## 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 -08006314 cls.add_method('begin',
Alexander Afanasyev76b11572013-07-16 21:49:50 -07006315 '__gnu_cxx::__normal_iterator< ns3::ndn::name::Component const *, std::vector< ns3::ndn::name::Component > >',
6316 [],
6317 is_const=True)
6318 ## 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]
6319 cls.add_method('begin',
6320 '__gnu_cxx::__normal_iterator< ns3::ndn::name::Component *, std::vector< ns3::ndn::name::Component > >',
Alexander Afanasyev32c07562013-02-01 12:58:43 -08006321 [])
Alexander Afanasyev76b11572013-07-16 21:49:50 -07006322 ## name.h (module 'ndnSIM'): int ns3::ndn::Name::compare(ns3::ndn::Name const & name) const [member function]
6323 cls.add_method('compare',
6324 'int',
6325 [param('ns3::ndn::Name const &', 'name')],
6326 is_const=True)
6327 ## 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]
6328 cls.add_method('end',
6329 '__gnu_cxx::__normal_iterator< ns3::ndn::name::Component const *, std::vector< ns3::ndn::name::Component > >',
Alexander Afanasyev32c07562013-02-01 12:58:43 -08006330 [],
6331 is_const=True)
Alexander Afanasyev76b11572013-07-16 21:49:50 -07006332 ## 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]
6333 cls.add_method('end',
6334 '__gnu_cxx::__normal_iterator< ns3::ndn::name::Component *, std::vector< ns3::ndn::name::Component > >',
6335 [])
6336 ## name.h (module 'ndnSIM'): ns3::ndn::name::Component const & ns3::ndn::Name::get(int index) const [member function]
6337 cls.add_method('get',
6338 'ns3::ndn::name::Component const &',
6339 [param('int', 'index')],
6340 is_const=True)
6341 ## name.h (module 'ndnSIM'): ns3::ndn::name::Component & ns3::ndn::Name::get(int index) [member function]
6342 cls.add_method('get',
6343 'ns3::ndn::name::Component &',
6344 [param('int', 'index')])
6345 ## name.h (module 'ndnSIM'): ns3::ndn::Name ns3::ndn::Name::getPostfix(size_t len, size_t skip=0) const [member function]
6346 cls.add_method('getPostfix',
Alexander Afanasyev32c07562013-02-01 12:58:43 -08006347 'ns3::ndn::Name',
Alexander Afanasyev76b11572013-07-16 21:49:50 -07006348 [param('size_t', 'len'), param('size_t', 'skip', default_value='0')],
Alexander Afanasyev32c07562013-02-01 12:58:43 -08006349 is_const=True)
Alexander Afanasyev76b11572013-07-16 21:49:50 -07006350 ## name.h (module 'ndnSIM'): ns3::ndn::Name ns3::ndn::Name::getPrefix(size_t len, size_t skip=0) const [member function]
6351 cls.add_method('getPrefix',
6352 'ns3::ndn::Name',
6353 [param('size_t', 'len'), param('size_t', 'skip', default_value='0')],
6354 is_const=True)
6355 ## 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]
6356 cls.add_method('getSubName',
6357 'ns3::ndn::Name',
6358 [param('size_t', 'pos', default_value='0'), param('size_t', 'len', default_value='ns3::ndn::Name::npos')],
6359 is_const=True)
6360 ## 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]
6361 cls.add_method('rbegin',
6362 '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 -08006363 [],
6364 is_const=True)
Alexander Afanasyev76b11572013-07-16 21:49:50 -07006365 ## 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]
6366 cls.add_method('rbegin',
6367 'std::reverse_iterator< __gnu_cxx::__normal_iterator< ns3::ndn::name::Component *, std::vector< ns3::ndn::name::Component > > >',
6368 [])
6369 ## 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]
6370 cls.add_method('rend',
6371 'std::reverse_iterator< __gnu_cxx::__normal_iterator< ns3::ndn::name::Component const *, std::vector< ns3::ndn::name::Component > > >',
6372 [],
6373 is_const=True)
6374 ## 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]
6375 cls.add_method('rend',
6376 'std::reverse_iterator< __gnu_cxx::__normal_iterator< ns3::ndn::name::Component *, std::vector< ns3::ndn::name::Component > > >',
6377 [])
6378 ## name.h (module 'ndnSIM'): size_t ns3::ndn::Name::size() const [member function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08006379 cls.add_method('size',
6380 'size_t',
6381 [],
6382 is_const=True)
Alexander Afanasyev76b11572013-07-16 21:49:50 -07006383 ## name.h (module 'ndnSIM'): std::string ns3::ndn::Name::toUri() const [member function]
6384 cls.add_method('toUri',
6385 'std::string',
6386 [],
6387 is_const=True)
6388 ## name.h (module 'ndnSIM'): void ns3::ndn::Name::toUri(std::ostream & os) const [member function]
6389 cls.add_method('toUri',
6390 'void',
6391 [param('std::ostream &', 'os')],
6392 is_const=True)
6393 ## name.h (module 'ndnSIM'): ns3::ndn::Name::npos [variable]
6394 cls.add_static_attribute('npos', 'size_t const', is_const=True)
6395 ## name.h (module 'ndnSIM'): ns3::ndn::Name::nversion [variable]
6396 cls.add_static_attribute('nversion', 'uint64_t const', is_const=True)
Alexander Afanasyev32c07562013-02-01 12:58:43 -08006397 return
6398
6399def register_Ns3NdnNameChecker_methods(root_module, cls):
Alexander Afanasyev76b11572013-07-16 21:49:50 -07006400 ## name.h (module 'ndnSIM'): ns3::ndn::NameChecker::NameChecker() [constructor]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08006401 cls.add_constructor([])
Alexander Afanasyev76b11572013-07-16 21:49:50 -07006402 ## name.h (module 'ndnSIM'): ns3::ndn::NameChecker::NameChecker(ns3::ndn::NameChecker const & arg0) [copy constructor]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08006403 cls.add_constructor([param('ns3::ndn::NameChecker const &', 'arg0')])
6404 return
6405
Alexander Afanasyev32c07562013-02-01 12:58:43 -08006406def register_Ns3NdnNameValue_methods(root_module, cls):
Alexander Afanasyev76b11572013-07-16 21:49:50 -07006407 ## name.h (module 'ndnSIM'): ns3::ndn::NameValue::NameValue() [constructor]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08006408 cls.add_constructor([])
Alexander Afanasyev76b11572013-07-16 21:49:50 -07006409 ## name.h (module 'ndnSIM'): ns3::ndn::NameValue::NameValue(ns3::ndn::NameValue const & arg0) [copy constructor]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08006410 cls.add_constructor([param('ns3::ndn::NameValue const &', 'arg0')])
Alexander Afanasyev76b11572013-07-16 21:49:50 -07006411 ## name.h (module 'ndnSIM'): ns3::ndn::NameValue::NameValue(ns3::ndn::Name const & value) [constructor]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08006412 cls.add_constructor([param('ns3::ndn::Name const &', 'value')])
Alexander Afanasyev76b11572013-07-16 21:49:50 -07006413 ## name.h (module 'ndnSIM'): ns3::Ptr<ns3::AttributeValue> ns3::ndn::NameValue::Copy() const [member function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08006414 cls.add_method('Copy',
6415 'ns3::Ptr< ns3::AttributeValue >',
6416 [],
6417 is_const=True, is_virtual=True)
Alexander Afanasyev76b11572013-07-16 21:49:50 -07006418 ## 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 -08006419 cls.add_method('DeserializeFromString',
6420 'bool',
6421 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
6422 is_virtual=True)
Alexander Afanasyev76b11572013-07-16 21:49:50 -07006423 ## name.h (module 'ndnSIM'): ns3::ndn::Name ns3::ndn::NameValue::Get() const [member function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08006424 cls.add_method('Get',
6425 'ns3::ndn::Name',
6426 [],
6427 is_const=True)
Alexander Afanasyev76b11572013-07-16 21:49:50 -07006428 ## 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 -08006429 cls.add_method('SerializeToString',
6430 'std::string',
6431 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
6432 is_const=True, is_virtual=True)
Alexander Afanasyev76b11572013-07-16 21:49:50 -07006433 ## name.h (module 'ndnSIM'): void ns3::ndn::NameValue::Set(ns3::ndn::Name const & value) [member function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08006434 cls.add_method('Set',
6435 'void',
6436 [param('ns3::ndn::Name const &', 'value')])
6437 return
6438
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006439def register_Ns3NdnNetDeviceFace_methods(root_module, cls):
6440 ## ndn-net-device-face.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::NetDeviceFace::GetTypeId() [member function]
6441 cls.add_method('GetTypeId',
6442 'ns3::TypeId',
6443 [],
6444 is_static=True)
6445 ## ndn-net-device-face.h (module 'ndnSIM'): ns3::ndn::NetDeviceFace::NetDeviceFace(ns3::Ptr<ns3::Node> node, ns3::Ptr<ns3::NetDevice> const & netDevice) [constructor]
6446 cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::Ptr< ns3::NetDevice > const &', 'netDevice')])
Alexander Afanasyev858d5312013-07-10 18:50:18 -07006447 ## 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]
6448 cls.add_method('RegisterProtocolHandlers',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006449 'void',
Alexander Afanasyev858d5312013-07-10 18:50:18 -07006450 [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')],
6451 is_virtual=True)
6452 ## ndn-net-device-face.h (module 'ndnSIM'): void ns3::ndn::NetDeviceFace::UnRegisterProtocolHandlers() [member function]
6453 cls.add_method('UnRegisterProtocolHandlers',
6454 'void',
6455 [],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006456 is_virtual=True)
6457 ## ndn-net-device-face.h (module 'ndnSIM'): std::ostream & ns3::ndn::NetDeviceFace::Print(std::ostream & os) const [member function]
6458 cls.add_method('Print',
6459 'std::ostream &',
6460 [param('std::ostream &', 'os')],
6461 is_const=True, is_virtual=True)
6462 ## ndn-net-device-face.h (module 'ndnSIM'): ns3::Ptr<ns3::NetDevice> ns3::ndn::NetDeviceFace::GetNetDevice() const [member function]
6463 cls.add_method('GetNetDevice',
6464 'ns3::Ptr< ns3::NetDevice >',
6465 [],
6466 is_const=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07006467 ## ndn-net-device-face.h (module 'ndnSIM'): bool ns3::ndn::NetDeviceFace::Send(ns3::Ptr<ns3::Packet> p) [member function]
6468 cls.add_method('Send',
Alexander Afanasyev1c0248b2012-07-24 15:59:50 -07006469 'bool',
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07006470 [param('ns3::Ptr< ns3::Packet >', 'p')],
6471 visibility='protected', is_virtual=True)
6472 return
6473
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006474def register_Ns3NdnPit_methods(root_module, cls):
6475 cls.add_output_stream_operator()
6476 ## ndn-pit.h (module 'ndnSIM'): ns3::ndn::Pit::Pit(ns3::ndn::Pit const & arg0) [copy constructor]
6477 cls.add_constructor([param('ns3::ndn::Pit const &', 'arg0')])
6478 ## ndn-pit.h (module 'ndnSIM'): ns3::ndn::Pit::Pit() [constructor]
6479 cls.add_constructor([])
6480 ## ndn-pit.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::pit::Entry> ns3::ndn::Pit::Begin() [member function]
6481 cls.add_method('Begin',
6482 'ns3::Ptr< ns3::ndn::pit::Entry >',
6483 [],
6484 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07006485 ## 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 -07006486 cls.add_method('Create',
6487 'ns3::Ptr< ns3::ndn::pit::Entry >',
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07006488 [param('ns3::Ptr< ns3::ndn::Interest const >', 'header')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006489 is_pure_virtual=True, is_virtual=True)
6490 ## ndn-pit.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::pit::Entry> ns3::ndn::Pit::End() [member function]
6491 cls.add_method('End',
6492 'ns3::Ptr< ns3::ndn::pit::Entry >',
6493 [],
6494 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyeve5a8b5a2013-03-15 15:15:26 -07006495 ## ndn-pit.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::pit::Entry> ns3::ndn::Pit::Find(ns3::ndn::Name const & prefix) [member function]
6496 cls.add_method('Find',
6497 'ns3::Ptr< ns3::ndn::pit::Entry >',
6498 [param('ns3::ndn::Name const &', 'prefix')],
6499 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyev5b8d61b2013-05-03 10:23:21 -07006500 ## ndn-pit.h (module 'ndnSIM'): ns3::Time const & ns3::ndn::Pit::GetMaxPitEntryLifetime() const [member function]
6501 cls.add_method('GetMaxPitEntryLifetime',
6502 'ns3::Time const &',
6503 [],
6504 is_const=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006505 ## ndn-pit.h (module 'ndnSIM'): static ns3::Ptr<ns3::ndn::Pit> ns3::ndn::Pit::GetPit(ns3::Ptr<ns3::Object> node) [member function]
6506 cls.add_method('GetPit',
6507 'ns3::Ptr< ns3::ndn::Pit >',
6508 [param('ns3::Ptr< ns3::Object >', 'node')],
6509 is_static=True)
6510 ## ndn-pit.h (module 'ndnSIM'): uint32_t ns3::ndn::Pit::GetSize() const [member function]
6511 cls.add_method('GetSize',
6512 'uint32_t',
6513 [],
6514 is_pure_virtual=True, is_const=True, is_virtual=True)
6515 ## ndn-pit.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::Pit::GetTypeId() [member function]
6516 cls.add_method('GetTypeId',
6517 'ns3::TypeId',
6518 [],
6519 is_static=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07006520 ## 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 -07006521 cls.add_method('Lookup',
6522 'ns3::Ptr< ns3::ndn::pit::Entry >',
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07006523 [param('ns3::ndn::ContentObject const &', 'header')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006524 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07006525 ## 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 -07006526 cls.add_method('Lookup',
6527 'ns3::Ptr< ns3::ndn::pit::Entry >',
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07006528 [param('ns3::ndn::Interest const &', 'header')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006529 is_pure_virtual=True, is_virtual=True)
6530 ## ndn-pit.h (module 'ndnSIM'): void ns3::ndn::Pit::MarkErased(ns3::Ptr<ns3::ndn::pit::Entry> entry) [member function]
6531 cls.add_method('MarkErased',
6532 'void',
6533 [param('ns3::Ptr< ns3::ndn::pit::Entry >', 'entry')],
6534 is_pure_virtual=True, is_virtual=True)
6535 ## ndn-pit.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::pit::Entry> ns3::ndn::Pit::Next(ns3::Ptr<ns3::ndn::pit::Entry> arg0) [member function]
6536 cls.add_method('Next',
6537 'ns3::Ptr< ns3::ndn::pit::Entry >',
6538 [param('ns3::Ptr< ns3::ndn::pit::Entry >', 'arg0')],
6539 is_pure_virtual=True, is_virtual=True)
6540 ## ndn-pit.h (module 'ndnSIM'): void ns3::ndn::Pit::Print(std::ostream & os) const [member function]
6541 cls.add_method('Print',
6542 'void',
6543 [param('std::ostream &', 'os')],
6544 is_pure_virtual=True, is_const=True, is_virtual=True)
Alexander Afanasyev5b8d61b2013-05-03 10:23:21 -07006545 ## ndn-pit.h (module 'ndnSIM'): void ns3::ndn::Pit::SetMaxPitEntryLifetime(ns3::Time const & maxLifetime) [member function]
6546 cls.add_method('SetMaxPitEntryLifetime',
6547 'void',
6548 [param('ns3::Time const &', 'maxLifetime')])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006549 return
6550
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -07006551def register_Ns3NdnRttEstimator_methods(root_module, cls):
6552 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::ndn::RttEstimator::RttEstimator() [constructor]
6553 cls.add_constructor([])
6554 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::ndn::RttEstimator::RttEstimator(ns3::ndn::RttEstimator const & arg0) [copy constructor]
6555 cls.add_constructor([param('ns3::ndn::RttEstimator const &', 'arg0')])
6556 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::Time ns3::ndn::RttEstimator::AckSeq(ns3::SequenceNumber32 ackSeq) [member function]
6557 cls.add_method('AckSeq',
6558 'ns3::Time',
6559 [param('ns3::SequenceNumber32', 'ackSeq')],
6560 is_virtual=True)
6561 ## ndn-rtt-estimator.h (module 'ndnSIM'): void ns3::ndn::RttEstimator::ClearSent() [member function]
6562 cls.add_method('ClearSent',
6563 'void',
6564 [],
6565 is_virtual=True)
6566 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::RttEstimator> ns3::ndn::RttEstimator::Copy() const [member function]
6567 cls.add_method('Copy',
6568 'ns3::Ptr< ns3::ndn::RttEstimator >',
6569 [],
6570 is_pure_virtual=True, is_const=True, is_virtual=True)
6571 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::Time ns3::ndn::RttEstimator::GetCurrentEstimate() const [member function]
6572 cls.add_method('GetCurrentEstimate',
6573 'ns3::Time',
6574 [],
6575 is_const=True)
Alexander Afanasyev858d5312013-07-10 18:50:18 -07006576 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::TypeId ns3::ndn::RttEstimator::GetInstanceTypeId() const [member function]
6577 cls.add_method('GetInstanceTypeId',
6578 'ns3::TypeId',
6579 [],
6580 is_const=True, is_virtual=True)
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -07006581 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::Time ns3::ndn::RttEstimator::GetMaxRto() const [member function]
6582 cls.add_method('GetMaxRto',
6583 'ns3::Time',
6584 [],
6585 is_const=True)
6586 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::Time ns3::ndn::RttEstimator::GetMinRto() const [member function]
6587 cls.add_method('GetMinRto',
6588 'ns3::Time',
6589 [],
6590 is_const=True)
6591 ## ndn-rtt-estimator.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::RttEstimator::GetTypeId() [member function]
6592 cls.add_method('GetTypeId',
6593 'ns3::TypeId',
6594 [],
6595 is_static=True)
6596 ## ndn-rtt-estimator.h (module 'ndnSIM'): void ns3::ndn::RttEstimator::IncreaseMultiplier() [member function]
6597 cls.add_method('IncreaseMultiplier',
6598 'void',
6599 [],
6600 is_virtual=True)
6601 ## ndn-rtt-estimator.h (module 'ndnSIM'): void ns3::ndn::RttEstimator::Measurement(ns3::Time t) [member function]
6602 cls.add_method('Measurement',
6603 'void',
6604 [param('ns3::Time', 't')],
6605 is_pure_virtual=True, is_virtual=True)
6606 ## ndn-rtt-estimator.h (module 'ndnSIM'): void ns3::ndn::RttEstimator::Reset() [member function]
6607 cls.add_method('Reset',
6608 'void',
6609 [],
6610 is_virtual=True)
6611 ## ndn-rtt-estimator.h (module 'ndnSIM'): void ns3::ndn::RttEstimator::ResetMultiplier() [member function]
6612 cls.add_method('ResetMultiplier',
6613 'void',
6614 [],
6615 is_virtual=True)
6616 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::Time ns3::ndn::RttEstimator::RetransmitTimeout() [member function]
6617 cls.add_method('RetransmitTimeout',
6618 'ns3::Time',
6619 [],
6620 is_pure_virtual=True, is_virtual=True)
6621 ## ndn-rtt-estimator.h (module 'ndnSIM'): void ns3::ndn::RttEstimator::SentSeq(ns3::SequenceNumber32 seq, uint32_t size) [member function]
6622 cls.add_method('SentSeq',
6623 'void',
6624 [param('ns3::SequenceNumber32', 'seq'), param('uint32_t', 'size')],
6625 is_virtual=True)
6626 ## ndn-rtt-estimator.h (module 'ndnSIM'): void ns3::ndn::RttEstimator::SetCurrentEstimate(ns3::Time estimate) [member function]
6627 cls.add_method('SetCurrentEstimate',
6628 'void',
6629 [param('ns3::Time', 'estimate')])
6630 ## ndn-rtt-estimator.h (module 'ndnSIM'): void ns3::ndn::RttEstimator::SetMaxRto(ns3::Time maxRto) [member function]
6631 cls.add_method('SetMaxRto',
6632 'void',
6633 [param('ns3::Time', 'maxRto')])
6634 ## ndn-rtt-estimator.h (module 'ndnSIM'): void ns3::ndn::RttEstimator::SetMinRto(ns3::Time minRto) [member function]
6635 cls.add_method('SetMinRto',
6636 'void',
6637 [param('ns3::Time', 'minRto')])
6638 return
6639
6640def register_Ns3NdnRttHistory_methods(root_module, cls):
6641 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::ndn::RttHistory::RttHistory(ns3::SequenceNumber32 s, uint32_t c, ns3::Time t) [constructor]
6642 cls.add_constructor([param('ns3::SequenceNumber32', 's'), param('uint32_t', 'c'), param('ns3::Time', 't')])
6643 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::ndn::RttHistory::RttHistory(ns3::ndn::RttHistory const & h) [copy constructor]
6644 cls.add_constructor([param('ns3::ndn::RttHistory const &', 'h')])
6645 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::ndn::RttHistory::count [variable]
6646 cls.add_instance_attribute('count', 'uint32_t', is_const=False)
6647 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::ndn::RttHistory::retx [variable]
6648 cls.add_instance_attribute('retx', 'bool', is_const=False)
6649 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::ndn::RttHistory::seq [variable]
6650 cls.add_instance_attribute('seq', 'ns3::SequenceNumber32', is_const=False)
6651 ## ndn-rtt-estimator.h (module 'ndnSIM'): ns3::ndn::RttHistory::time [variable]
6652 cls.add_instance_attribute('time', 'ns3::Time', is_const=False)
6653 return
6654
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006655def register_Ns3NdnStackHelper_methods(root_module, cls):
6656 ## ndn-stack-helper.h (module 'ndnSIM'): ns3::ndn::StackHelper::StackHelper() [constructor]
6657 cls.add_constructor([])
6658 ## 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]
6659 cls.add_method('SetStackAttributes',
6660 'void',
6661 [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='""')])
6662 ## 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]
6663 cls.add_method('SetForwardingStrategy',
6664 'void',
6665 [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='""')])
6666 ## 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]
6667 cls.add_method('SetContentStore',
6668 'void',
6669 [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='""')])
6670 ## 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]
6671 cls.add_method('SetPit',
6672 'void',
6673 [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='""')])
6674 ## 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]
6675 cls.add_method('SetFib',
6676 'void',
6677 [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 -08006678 ## 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 -08006679 cls.add_method('AddNetDeviceFaceCreateCallback',
6680 'void',
Alexander Afanasyevc17e4bd2013-02-17 14:31:56 -08006681 [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 -07006682 ## 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]
6683 cls.add_method('UpdateNetDeviceFaceCreateCallback',
6684 'void',
6685 [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')])
6686 ## 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]
6687 cls.add_method('RemoveNetDeviceFaceCreateCallback',
6688 'void',
6689 [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 -07006690 ## 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]
6691 cls.add_method('EnableLimits',
6692 'void',
6693 [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 -08006694 ## 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 -07006695 cls.add_method('Install',
6696 'ns3::Ptr< ns3::ndn::FaceContainer >',
Alexander Afanasyev67f4a4a2012-11-24 17:18:17 -08006697 [param('std::string const &', 'nodeName')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006698 is_const=True)
6699 ## ndn-stack-helper.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::FaceContainer> ns3::ndn::StackHelper::Install(ns3::Ptr<ns3::Node> node) const [member function]
6700 cls.add_method('Install',
6701 'ns3::Ptr< ns3::ndn::FaceContainer >',
6702 [param('ns3::Ptr< ns3::Node >', 'node')],
6703 is_const=True)
Alexander Afanasyev67f4a4a2012-11-24 17:18:17 -08006704 ## 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 -07006705 cls.add_method('Install',
6706 'ns3::Ptr< ns3::ndn::FaceContainer >',
Alexander Afanasyev67f4a4a2012-11-24 17:18:17 -08006707 [param('ns3::NodeContainer const &', 'c')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006708 is_const=True)
6709 ## ndn-stack-helper.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::FaceContainer> ns3::ndn::StackHelper::InstallAll() const [member function]
6710 cls.add_method('InstallAll',
6711 'ns3::Ptr< ns3::ndn::FaceContainer >',
6712 [],
6713 is_const=True)
Alexander Afanasyev67f4a4a2012-11-24 17:18:17 -08006714 ## 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 -07006715 cls.add_method('AddRoute',
6716 'void',
Alexander Afanasyev67f4a4a2012-11-24 17:18:17 -08006717 [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 -07006718 is_static=True)
Alexander Afanasyev67f4a4a2012-11-24 17:18:17 -08006719 ## 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 -07006720 cls.add_method('AddRoute',
6721 'void',
Alexander Afanasyev67f4a4a2012-11-24 17:18:17 -08006722 [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 -07006723 is_static=True)
Alexander Afanasyev67f4a4a2012-11-24 17:18:17 -08006724 ## 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 -07006725 cls.add_method('AddRoute',
6726 'void',
Alexander Afanasyev67f4a4a2012-11-24 17:18:17 -08006727 [param('ns3::Ptr< ns3::Node >', 'node'), param('std::string const &', 'prefix'), param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('int32_t', 'metric')],
6728 is_static=True)
6729 ## 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]
6730 cls.add_method('AddRoute',
6731 'void',
6732 [param('ns3::Ptr< ns3::Node >', 'node'), param('std::string const &', 'prefix'), param('ns3::Ptr< ns3::Node >', 'otherNode'), param('int32_t', 'metric')],
6733 is_static=True)
6734 ## 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]
6735 cls.add_method('AddRoute',
6736 'void',
6737 [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 -07006738 is_static=True)
6739 ## ndn-stack-helper.h (module 'ndnSIM'): void ns3::ndn::StackHelper::SetDefaultRoutes(bool needSet) [member function]
6740 cls.add_method('SetDefaultRoutes',
6741 'void',
6742 [param('bool', 'needSet')])
6743 return
6744
6745def register_Ns3NdnUnknownHeaderException_methods(root_module, cls):
6746 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::UnknownHeaderException::UnknownHeaderException() [constructor]
6747 cls.add_constructor([])
6748 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::UnknownHeaderException::UnknownHeaderException(ns3::ndn::UnknownHeaderException const & arg0) [copy constructor]
6749 cls.add_constructor([param('ns3::ndn::UnknownHeaderException const &', 'arg0')])
6750 return
6751
Alexander Afanasyev76b11572013-07-16 21:49:50 -07006752def register_Ns3NdnWire_methods(root_module, cls):
6753 ## ndn-wire.h (module 'ndnSIM'): ns3::ndn::Wire::Wire() [constructor]
6754 cls.add_constructor([])
6755 ## ndn-wire.h (module 'ndnSIM'): ns3::ndn::Wire::Wire(ns3::ndn::Wire const & arg0) [copy constructor]
6756 cls.add_constructor([param('ns3::ndn::Wire const &', 'arg0')])
6757 ## 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]
6758 cls.add_method('FromData',
6759 'ns3::Ptr< ns3::Packet >',
6760 [param('ns3::Ptr< ns3::ndn::ContentObject const >', 'data'), param('int8_t', 'wireFormat', default_value='::int8_t(::ns3::ndn::Wire::WIRE_FORMAT_DEFAULT)')],
6761 is_static=True)
6762 ## 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]
6763 cls.add_method('FromDataStr',
6764 'std::string',
6765 [param('ns3::Ptr< ns3::ndn::ContentObject const >', 'data'), param('int8_t', 'wireFormat', default_value='::int8_t(::ns3::ndn::Wire::WIRE_FORMAT_DEFAULT)')],
6766 is_static=True)
6767 ## 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]
6768 cls.add_method('FromInterest',
6769 'ns3::Ptr< ns3::Packet >',
6770 [param('ns3::Ptr< ns3::ndn::Interest const >', 'interest'), param('int8_t', 'wireFormat', default_value='::int8_t(::ns3::ndn::Wire::WIRE_FORMAT_DEFAULT)')],
6771 is_static=True)
6772 ## 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]
6773 cls.add_method('FromInterestStr',
6774 'std::string',
6775 [param('ns3::Ptr< ns3::ndn::Interest const >', 'interest'), param('int8_t', 'wireFormat', default_value='::int8_t(::ns3::ndn::Wire::WIRE_FORMAT_DEFAULT)')],
6776 is_static=True)
6777 ## 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]
6778 cls.add_method('FromName',
6779 'std::string',
6780 [param('ns3::Ptr< ns3::ndn::Name const >', 'name'), param('int8_t', 'wireFormat', default_value='::int8_t(::ns3::ndn::Wire::WIRE_FORMAT_DEFAULT)')],
6781 is_static=True)
6782 ## 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]
6783 cls.add_method('ToData',
6784 'ns3::Ptr< ns3::ndn::ContentObject >',
6785 [param('ns3::Ptr< ns3::Packet >', 'packet'), param('int8_t', 'type', default_value='::int8_t(::ns3::ndn::Wire::WIRE_FORMAT_AUTODETECT)')],
6786 is_static=True)
6787 ## 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]
6788 cls.add_method('ToDataStr',
6789 'ns3::Ptr< ns3::ndn::ContentObject >',
6790 [param('std::string const &', 'wire'), param('int8_t', 'type', default_value='::int8_t(::ns3::ndn::Wire::WIRE_FORMAT_AUTODETECT)')],
6791 is_static=True)
6792 ## 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]
6793 cls.add_method('ToInterest',
6794 'ns3::Ptr< ns3::ndn::Interest >',
6795 [param('ns3::Ptr< ns3::Packet >', 'packet'), param('int8_t', 'type', default_value='::int8_t(::ns3::ndn::Wire::WIRE_FORMAT_AUTODETECT)')],
6796 is_static=True)
6797 ## 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]
6798 cls.add_method('ToInterestStr',
6799 'ns3::Ptr< ns3::ndn::Interest >',
6800 [param('std::string const &', 'wire'), param('int8_t', 'type', default_value='::int8_t(::ns3::ndn::Wire::WIRE_FORMAT_AUTODETECT)')],
6801 is_static=True)
6802 ## 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]
6803 cls.add_method('ToName',
6804 'ns3::Ptr< ns3::ndn::Name >',
6805 [param('std::string const &', 'wire'), param('int8_t', 'wireFormat', default_value='::int8_t(::ns3::ndn::Wire::WIRE_FORMAT_DEFAULT)')],
6806 is_static=True)
6807 return
6808
Alexander Afanasyeva4e74282013-07-11 15:23:20 -07006809def register_Ns3NdnApiFace_methods(root_module, cls):
6810 ## ndn-api-face.h (module 'ndnSIM'): ns3::ndn::ApiFace::ApiFace(ns3::Ptr<ns3::Node> node) [constructor]
6811 cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node')])
6812 ## ndn-api-face.h (module 'ndnSIM'): void ns3::ndn::ApiFace::Shutdown() [member function]
6813 cls.add_method('Shutdown',
6814 'void',
Alexander Afanasyeve4795ae2013-07-11 20:01:31 -07006815 [],
6816 is_virtual=True)
6817 ## 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 -07006818 cls.add_method('ExpressInterest',
6819 'void',
6820 [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 -07006821 ## 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 -07006822 cls.add_method('SetInterestFilter',
6823 'void',
6824 [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')])
6825 ## ndn-api-face.h (module 'ndnSIM'): void ns3::ndn::ApiFace::ClearInterestFilter(ns3::Ptr<ns3::ndn::Name const> prefix) [member function]
6826 cls.add_method('ClearInterestFilter',
6827 'void',
6828 [param('ns3::Ptr< ns3::ndn::Name const >', 'prefix')])
6829 ## ndn-api-face.h (module 'ndnSIM'): void ns3::ndn::ApiFace::Put(ns3::Ptr<ns3::ndn::ContentObject> data) [member function]
6830 cls.add_method('Put',
6831 'void',
6832 [param('ns3::Ptr< ns3::ndn::ContentObject >', 'data')])
6833 ## ndn-api-face.h (module 'ndnSIM'): bool ns3::ndn::ApiFace::SendInterest(ns3::Ptr<ns3::ndn::Interest const> interest) [member function]
6834 cls.add_method('SendInterest',
6835 'bool',
6836 [param('ns3::Ptr< ns3::ndn::Interest const >', 'interest')],
6837 is_virtual=True)
6838 ## ndn-api-face.h (module 'ndnSIM'): bool ns3::ndn::ApiFace::SendData(ns3::Ptr<ns3::ndn::ContentObject const> data) [member function]
6839 cls.add_method('SendData',
6840 'bool',
6841 [param('ns3::Ptr< ns3::ndn::ContentObject const >', 'data')],
6842 is_virtual=True)
6843 ## ndn-api-face.h (module 'ndnSIM'): std::ostream & ns3::ndn::ApiFace::Print(std::ostream & os) const [member function]
6844 cls.add_method('Print',
6845 'std::ostream &',
6846 [param('std::ostream &', 'os')],
6847 is_const=True, is_virtual=True)
6848 return
6849
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006850def register_Ns3NdnAppFace_methods(root_module, cls):
6851 ## ndn-app-face.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::AppFace::GetTypeId() [member function]
6852 cls.add_method('GetTypeId',
6853 'ns3::TypeId',
6854 [],
6855 is_static=True)
6856 ## ndn-app-face.h (module 'ndnSIM'): ns3::ndn::AppFace::AppFace(ns3::Ptr<ns3::ndn::App> app) [constructor]
6857 cls.add_constructor([param('ns3::Ptr< ns3::ndn::App >', 'app')])
Alexander Afanasyev858d5312013-07-10 18:50:18 -07006858 ## ndn-app-face.h (module 'ndnSIM'): bool ns3::ndn::AppFace::SendInterest(ns3::Ptr<ns3::ndn::Interest const> interest) [member function]
6859 cls.add_method('SendInterest',
6860 'bool',
6861 [param('ns3::Ptr< ns3::ndn::Interest const >', 'interest')],
6862 is_virtual=True)
6863 ## ndn-app-face.h (module 'ndnSIM'): bool ns3::ndn::AppFace::SendData(ns3::Ptr<ns3::ndn::ContentObject const> data) [member function]
6864 cls.add_method('SendData',
6865 'bool',
6866 [param('ns3::Ptr< ns3::ndn::ContentObject const >', 'data')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006867 is_virtual=True)
6868 ## ndn-app-face.h (module 'ndnSIM'): std::ostream & ns3::ndn::AppFace::Print(std::ostream & os) const [member function]
6869 cls.add_method('Print',
6870 'std::ostream &',
6871 [param('std::ostream &', 'os')],
6872 is_const=True, is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006873 return
6874
6875def register_Ns3NdnCsEntry_methods(root_module, cls):
6876 ## ndn-content-store.h (module 'ndnSIM'): ns3::ndn::cs::Entry::Entry(ns3::ndn::cs::Entry const & arg0) [copy constructor]
6877 cls.add_constructor([param('ns3::ndn::cs::Entry const &', 'arg0')])
Alexander Afanasyev858d5312013-07-10 18:50:18 -07006878 ## 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]
6879 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 -07006880 ## ndn-content-store.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::ContentStore> ns3::ndn::cs::Entry::GetContentStore() [member function]
6881 cls.add_method('GetContentStore',
6882 'ns3::Ptr< ns3::ndn::ContentStore >',
6883 [])
Alexander Afanasyev858d5312013-07-10 18:50:18 -07006884 ## ndn-content-store.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::ContentObject const> ns3::ndn::cs::Entry::GetData() const [member function]
6885 cls.add_method('GetData',
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07006886 'ns3::Ptr< ns3::ndn::ContentObject const >',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006887 [],
6888 is_const=True)
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07006889 ## 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 -07006890 cls.add_method('GetName',
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07006891 'ns3::ndn::Name const &',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006892 [],
6893 is_const=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006894 return
6895
6896def register_Ns3NdnFibEntry_methods(root_module, cls):
6897 cls.add_output_stream_operator()
6898 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::Entry(ns3::ndn::fib::Entry const & arg0) [copy constructor]
6899 cls.add_constructor([param('ns3::ndn::fib::Entry const &', 'arg0')])
Alexander Afanasyev5b8d61b2013-05-03 10:23:21 -07006900 ## 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]
6901 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 -07006902 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::Entry::AddOrUpdateRoutingMetric(ns3::Ptr<ns3::ndn::Face> face, int32_t metric) [member function]
6903 cls.add_method('AddOrUpdateRoutingMetric',
6904 'void',
6905 [param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('int32_t', 'metric')])
6906 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric const & ns3::ndn::fib::Entry::FindBestCandidate(uint32_t skip=0) const [member function]
6907 cls.add_method('FindBestCandidate',
6908 'ns3::ndn::fib::FaceMetric const &',
6909 [param('uint32_t', 'skip', default_value='0')],
6910 is_const=True)
Alexander Afanasyev5b8d61b2013-05-03 10:23:21 -07006911 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::Fib> ns3::ndn::fib::Entry::GetFib() [member function]
6912 cls.add_method('GetFib',
6913 'ns3::Ptr< ns3::ndn::Fib >',
6914 [])
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07006915 ## 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 -07006916 cls.add_method('GetPrefix',
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07006917 'ns3::ndn::Name const &',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006918 [],
6919 is_const=True)
6920 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::Entry::Invalidate() [member function]
6921 cls.add_method('Invalidate',
6922 'void',
6923 [])
6924 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::Entry::RemoveFace(ns3::Ptr<ns3::ndn::Face> const & face) [member function]
6925 cls.add_method('RemoveFace',
6926 'void',
6927 [param('ns3::Ptr< ns3::ndn::Face > const &', 'face')])
Alexander Afanasyev32c07562013-02-01 12:58:43 -08006928 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::Entry::SetRealDelayToProducer(ns3::Ptr<ns3::ndn::Face> face, ns3::Time delay) [member function]
6929 cls.add_method('SetRealDelayToProducer',
6930 'void',
6931 [param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('ns3::Time', 'delay')])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006932 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::Entry::UpdateFaceRtt(ns3::Ptr<ns3::ndn::Face> face, ns3::Time const & sample) [member function]
6933 cls.add_method('UpdateFaceRtt',
6934 'void',
6935 [param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('ns3::Time const &', 'sample')])
6936 ## 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]
6937 cls.add_method('UpdateStatus',
6938 'void',
6939 [param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('ns3::ndn::fib::FaceMetric::Status', 'status')])
6940 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::m_faces [variable]
Alexander Afanasyev06dba7c2013-02-21 11:36:26 -08006941 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 -07006942 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::m_fib [variable]
6943 cls.add_instance_attribute('m_fib', 'ns3::Ptr< ns3::ndn::Fib >', is_const=False)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006944 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::m_needsProbing [variable]
6945 cls.add_instance_attribute('m_needsProbing', 'bool', is_const=False)
6946 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::m_prefix [variable]
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07006947 cls.add_instance_attribute('m_prefix', 'ns3::Ptr< ns3::ndn::Name const >', is_const=False)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07006948 return
6949
6950def register_Ns3NdnFibEntryNoFaces_methods(root_module, cls):
6951 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::NoFaces::NoFaces() [constructor]
6952 cls.add_constructor([])
6953 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::NoFaces::NoFaces(ns3::ndn::fib::Entry::NoFaces const & arg0) [copy constructor]
6954 cls.add_constructor([param('ns3::ndn::fib::Entry::NoFaces const &', 'arg0')])
6955 return
6956
6957def register_Ns3NdnFibFaceMetric_methods(root_module, cls):
6958 cls.add_output_stream_operator()
6959 cls.add_binary_comparison_operator('<')
6960 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric::FaceMetric(ns3::ndn::fib::FaceMetric const & arg0) [copy constructor]
6961 cls.add_constructor([param('ns3::ndn::fib::FaceMetric const &', 'arg0')])
6962 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric::FaceMetric(ns3::Ptr<ns3::ndn::Face> face, int32_t cost) [constructor]
6963 cls.add_constructor([param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('int32_t', 'cost')])
6964 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::Face> ns3::ndn::fib::FaceMetric::GetFace() const [member function]
6965 cls.add_method('GetFace',
6966 'ns3::Ptr< ns3::ndn::Face >',
6967 [],
6968 is_const=True)
Alexander Afanasyev06dba7c2013-02-21 11:36:26 -08006969 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::Time ns3::ndn::fib::FaceMetric::GetRealDelay() const [member function]
6970 cls.add_method('GetRealDelay',
6971 'ns3::Time',
6972 [],
6973 is_const=True)
6974 ## ndn-fib-entry.h (module 'ndnSIM'): int32_t ns3::ndn::fib::FaceMetric::GetRoutingCost() const [member function]
6975 cls.add_method('GetRoutingCost',
6976 'int32_t',
6977 [],
6978 is_const=True)
6979 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric::Status ns3::ndn::fib::FaceMetric::GetStatus() const [member function]
6980 cls.add_method('GetStatus',
6981 'ns3::ndn::fib::FaceMetric::Status',
6982 [],
6983 is_const=True)
Alexander Afanasyev0e4ae8e2013-03-12 15:59:18 -07006984 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::TracedValue<ns3::ndn::fib::FaceMetric::Status> & ns3::ndn::fib::FaceMetric::GetStatusTrace() [member function]
6985 cls.add_method('GetStatusTrace',
6986 'ns3::TracedValue< ns3::ndn::fib::FaceMetric::Status > &',
6987 [])
Alexander Afanasyev06dba7c2013-02-21 11:36:26 -08006988 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::FaceMetric::SetRealDelay(ns3::Time realDelay) [member function]
6989 cls.add_method('SetRealDelay',
6990 'void',
6991 [param('ns3::Time', 'realDelay')])
6992 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::FaceMetric::SetRoutingCost(int32_t routingCost) [member function]
6993 cls.add_method('SetRoutingCost',
6994 'void',
6995 [param('int32_t', 'routingCost')])
6996 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::FaceMetric::SetStatus(ns3::ndn::fib::FaceMetric::Status status) [member function]
6997 cls.add_method('SetStatus',
6998 'void',
6999 [param('ns3::ndn::fib::FaceMetric::Status', 'status')])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07007000 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::FaceMetric::UpdateRtt(ns3::Time const & rttSample) [member function]
7001 cls.add_method('UpdateRtt',
7002 'void',
7003 [param('ns3::Time const &', 'rttSample')])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07007004 return
7005
7006def register_Ns3NdnFibFaceMetricContainer_methods(root_module, cls):
7007 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetricContainer::FaceMetricContainer() [constructor]
7008 cls.add_constructor([])
7009 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetricContainer::FaceMetricContainer(ns3::ndn::fib::FaceMetricContainer const & arg0) [copy constructor]
7010 cls.add_constructor([param('ns3::ndn::fib::FaceMetricContainer const &', 'arg0')])
7011 return
7012
7013def register_Ns3NdnFibI_face_methods(root_module, cls):
7014 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_face::i_face() [constructor]
7015 cls.add_constructor([])
7016 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_face::i_face(ns3::ndn::fib::i_face const & arg0) [copy constructor]
7017 cls.add_constructor([param('ns3::ndn::fib::i_face const &', 'arg0')])
7018 return
7019
7020def register_Ns3NdnFibI_metric_methods(root_module, cls):
7021 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_metric::i_metric() [constructor]
7022 cls.add_constructor([])
7023 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_metric::i_metric(ns3::ndn::fib::i_metric const & arg0) [copy constructor]
7024 cls.add_constructor([param('ns3::ndn::fib::i_metric const &', 'arg0')])
7025 return
7026
7027def register_Ns3NdnFibI_nth_methods(root_module, cls):
7028 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_nth::i_nth() [constructor]
7029 cls.add_constructor([])
7030 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_nth::i_nth(ns3::ndn::fib::i_nth const & arg0) [copy constructor]
7031 cls.add_constructor([param('ns3::ndn::fib::i_nth const &', 'arg0')])
7032 return
7033
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07007034def register_Ns3NdnFwTag_methods(root_module, cls):
7035 ## ndn-fw-tag.h (module 'ndnSIM'): ns3::ndn::fw::Tag::Tag() [constructor]
7036 cls.add_constructor([])
7037 ## ndn-fw-tag.h (module 'ndnSIM'): ns3::ndn::fw::Tag::Tag(ns3::ndn::fw::Tag const & arg0) [copy constructor]
7038 cls.add_constructor([param('ns3::ndn::fw::Tag const &', 'arg0')])
7039 return
7040
Alexander Afanasyev76b11572013-07-16 21:49:50 -07007041def register_Ns3NdnNameComponent_methods(root_module, cls):
7042 cls.add_output_stream_operator()
7043 cls.add_binary_comparison_operator('<')
7044 cls.add_binary_comparison_operator('<=')
7045 cls.add_binary_comparison_operator('>')
7046 cls.add_binary_comparison_operator('>=')
7047 ## name-component.h (module 'ndnSIM'): ns3::ndn::name::Component::Component(ns3::ndn::name::Component const & arg0) [copy constructor]
7048 cls.add_constructor([param('ns3::ndn::name::Component const &', 'arg0')])
7049 ## name-component.h (module 'ndnSIM'): ns3::ndn::name::Component::Component() [constructor]
7050 cls.add_constructor([])
7051 ## name-component.h (module 'ndnSIM'): ns3::ndn::name::Component::Component(std::string const & uri) [constructor]
7052 cls.add_constructor([param('std::string const &', 'uri')])
7053 ## 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]
7054 cls.add_constructor([param('__gnu_cxx::__normal_iterator< char const *, std::string >', 'begin'), param('__gnu_cxx::__normal_iterator< char const *, std::string >', 'end')])
7055 ## name-component.h (module 'ndnSIM'): ns3::ndn::name::Component::Component(void const * buf, size_t length) [constructor]
7056 cls.add_constructor([param('void const *', 'buf'), param('size_t', 'length')])
7057 ## name-component.h (module 'ndnSIM'): int ns3::ndn::name::Component::compare(ns3::ndn::name::Component const & other) const [member function]
7058 cls.add_method('compare',
7059 'int',
7060 [param('ns3::ndn::name::Component const &', 'other')],
7061 is_const=True)
7062 ## name-component.h (module 'ndnSIM'): ns3::ndn::name::Component & ns3::ndn::name::Component::fromNumber(uint64_t number) [member function]
7063 cls.add_method('fromNumber',
7064 'ns3::ndn::name::Component &',
7065 [param('uint64_t', 'number')])
7066 ## name-component.h (module 'ndnSIM'): ns3::ndn::name::Component & ns3::ndn::name::Component::fromNumberWithMarker(uint64_t number, unsigned char marker) [member function]
7067 cls.add_method('fromNumberWithMarker',
7068 'ns3::ndn::name::Component &',
7069 [param('uint64_t', 'number'), param('unsigned char', 'marker')])
7070 ## name-component.h (module 'ndnSIM'): ns3::ndn::name::Component & ns3::ndn::name::Component::fromUri(std::string const & uri) [member function]
7071 cls.add_method('fromUri',
7072 'ns3::ndn::name::Component &',
7073 [param('std::string const &', 'uri')])
7074 ## 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]
7075 cls.add_method('fromUri',
7076 'ns3::ndn::name::Component &',
7077 [param('__gnu_cxx::__normal_iterator< char const *, std::string >', 'begin'), param('__gnu_cxx::__normal_iterator< char const *, std::string >', 'end')])
7078 ## name-component.h (module 'ndnSIM'): uint64_t ns3::ndn::name::Component::toBlkId() const [member function]
7079 cls.add_method('toBlkId',
7080 'uint64_t',
7081 [],
7082 is_const=True)
7083 ## name-component.h (module 'ndnSIM'): std::string ns3::ndn::name::Component::toBlob() const [member function]
7084 cls.add_method('toBlob',
7085 'std::string',
7086 [],
7087 is_const=True)
7088 ## name-component.h (module 'ndnSIM'): void ns3::ndn::name::Component::toBlob(std::ostream & os) const [member function]
7089 cls.add_method('toBlob',
7090 'void',
7091 [param('std::ostream &', 'os')],
7092 is_const=True)
7093 ## name-component.h (module 'ndnSIM'): uint64_t ns3::ndn::name::Component::toControlNum() const [member function]
7094 cls.add_method('toControlNum',
7095 'uint64_t',
7096 [],
7097 is_const=True)
7098 ## name-component.h (module 'ndnSIM'): uint64_t ns3::ndn::name::Component::toNumber() const [member function]
7099 cls.add_method('toNumber',
7100 'uint64_t',
7101 [],
7102 is_const=True)
7103 ## name-component.h (module 'ndnSIM'): uint64_t ns3::ndn::name::Component::toNumberWithMarker(unsigned char marker) const [member function]
7104 cls.add_method('toNumberWithMarker',
7105 'uint64_t',
7106 [param('unsigned char', 'marker')],
7107 is_const=True)
7108 ## name-component.h (module 'ndnSIM'): uint64_t ns3::ndn::name::Component::toSeqNum() const [member function]
7109 cls.add_method('toSeqNum',
7110 'uint64_t',
7111 [],
7112 is_const=True)
7113 ## name-component.h (module 'ndnSIM'): std::string ns3::ndn::name::Component::toUri() const [member function]
7114 cls.add_method('toUri',
7115 'std::string',
7116 [],
7117 is_const=True)
7118 ## name-component.h (module 'ndnSIM'): void ns3::ndn::name::Component::toUri(std::ostream & os) const [member function]
7119 cls.add_method('toUri',
7120 'void',
7121 [param('std::ostream &', 'os')],
7122 is_const=True)
7123 ## name-component.h (module 'ndnSIM'): uint64_t ns3::ndn::name::Component::toVersion() const [member function]
7124 cls.add_method('toVersion',
7125 'uint64_t',
7126 [],
7127 is_const=True)
7128 return
7129
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07007130def register_Ns3NdnPitEntry_methods(root_module, cls):
7131 cls.add_output_stream_operator()
7132 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::Entry::Entry(ns3::ndn::pit::Entry const & arg0) [copy constructor]
7133 cls.add_constructor([param('ns3::ndn::pit::Entry const &', 'arg0')])
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07007134 ## 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]
7135 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 -07007136 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::AddFwTag(boost::shared_ptr<ns3::ndn::fw::Tag> tag) [member function]
7137 cls.add_method('AddFwTag',
7138 'void',
7139 [param('boost::shared_ptr< ns3::ndn::fw::Tag >', 'tag')])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07007140 ## 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]
7141 cls.add_method('AddIncoming',
7142 'std::_Rb_tree_const_iterator< ns3::ndn::pit::IncomingFace >',
7143 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
7144 is_virtual=True)
Alexander Afanasyevc202fd92012-09-03 21:46:00 -07007145 ## 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 -07007146 cls.add_method('AddOutgoing',
Alexander Afanasyevc202fd92012-09-03 21:46:00 -07007147 'std::_Rb_tree_const_iterator< ns3::ndn::pit::OutgoingFace >',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07007148 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
7149 is_virtual=True)
7150 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::AddSeenNonce(uint32_t nonce) [member function]
7151 cls.add_method('AddSeenNonce',
7152 'void',
7153 [param('uint32_t', 'nonce')],
7154 is_virtual=True)
7155 ## ndn-pit-entry.h (module 'ndnSIM'): bool ns3::ndn::pit::Entry::AreAllOutgoingInVain() const [member function]
7156 cls.add_method('AreAllOutgoingInVain',
7157 'bool',
7158 [],
7159 is_const=True)
7160 ## ndn-pit-entry.h (module 'ndnSIM'): bool ns3::ndn::pit::Entry::AreTherePromisingOutgoingFacesExcept(ns3::Ptr<ns3::ndn::Face> face) const [member function]
7161 cls.add_method('AreTherePromisingOutgoingFacesExcept',
7162 'bool',
7163 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
7164 is_const=True)
7165 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::ClearIncoming() [member function]
7166 cls.add_method('ClearIncoming',
7167 'void',
7168 [],
7169 is_virtual=True)
7170 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::ClearOutgoing() [member function]
7171 cls.add_method('ClearOutgoing',
7172 'void',
7173 [],
7174 is_virtual=True)
7175 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::Time const & ns3::ndn::pit::Entry::GetExpireTime() const [member function]
7176 cls.add_method('GetExpireTime',
7177 'ns3::Time const &',
7178 [],
7179 is_const=True)
7180 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::fib::Entry> ns3::ndn::pit::Entry::GetFibEntry() [member function]
7181 cls.add_method('GetFibEntry',
7182 'ns3::Ptr< ns3::ndn::fib::Entry >',
7183 [])
7184 ## 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]
7185 cls.add_method('GetIncoming',
7186 'std::set< ns3::ndn::pit::IncomingFace > const &',
7187 [],
7188 is_const=True)
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07007189 ## 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 -07007190 cls.add_method('GetInterest',
Alexander Afanasyeveae83ee2013-03-15 15:01:10 -07007191 'ns3::Ptr< ns3::ndn::Interest const >',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07007192 [],
7193 is_const=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07007194 ## ndn-pit-entry.h (module 'ndnSIM'): uint32_t ns3::ndn::pit::Entry::GetMaxRetxCount() const [member function]
7195 cls.add_method('GetMaxRetxCount',
7196 'uint32_t',
7197 [],
7198 is_const=True)
Alexander Afanasyevc202fd92012-09-03 21:46:00 -07007199 ## 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 -07007200 cls.add_method('GetOutgoing',
Alexander Afanasyevc202fd92012-09-03 21:46:00 -07007201 'std::set< ns3::ndn::pit::OutgoingFace > const &',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07007202 [],
7203 is_const=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07007204 ## ndn-pit-entry.h (module 'ndnSIM'): uint32_t ns3::ndn::pit::Entry::GetOutgoingCount() const [member function]
7205 cls.add_method('GetOutgoingCount',
7206 'uint32_t',
7207 [],
7208 is_const=True)
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07007209 ## 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 -07007210 cls.add_method('GetPrefix',
Alexander Afanasyevcfdc14f2013-03-15 14:38:44 -07007211 'ns3::ndn::Name const &',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07007212 [],
7213 is_const=True)
7214 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::IncreaseAllowedRetxCount() [member function]
7215 cls.add_method('IncreaseAllowedRetxCount',
7216 'void',
7217 [],
7218 is_virtual=True)
7219 ## ndn-pit-entry.h (module 'ndnSIM'): bool ns3::ndn::pit::Entry::IsNonceSeen(uint32_t nonce) const [member function]
7220 cls.add_method('IsNonceSeen',
7221 'bool',
7222 [param('uint32_t', 'nonce')],
7223 is_const=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07007224 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::OffsetLifetime(ns3::Time const & offsetTime) [member function]
7225 cls.add_method('OffsetLifetime',
7226 'void',
7227 [param('ns3::Time const &', 'offsetTime')],
7228 is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07007229 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::RemoveAllReferencesToFace(ns3::Ptr<ns3::ndn::Face> face) [member function]
7230 cls.add_method('RemoveAllReferencesToFace',
7231 'void',
7232 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
7233 is_virtual=True)
7234 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::RemoveIncoming(ns3::Ptr<ns3::ndn::Face> face) [member function]
7235 cls.add_method('RemoveIncoming',
7236 'void',
7237 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
7238 is_virtual=True)
7239 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::SetWaitingInVain(ns3::Ptr<ns3::ndn::Face> face) [member function]
7240 cls.add_method('SetWaitingInVain',
7241 'void',
7242 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
7243 is_virtual=True)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07007244 ## 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 -07007245 cls.add_method('UpdateLifetime',
7246 'void',
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07007247 [param('ns3::Time const &', 'lifetime')],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07007248 is_virtual=True)
7249 return
7250
Alexander Afanasyeve6c07b52013-02-12 11:05:14 -08007251def register_Ns3NdnPitEntryIsNotEmpty_methods(root_module, cls):
7252 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::EntryIsNotEmpty::EntryIsNotEmpty() [constructor]
7253 cls.add_constructor([])
7254 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::EntryIsNotEmpty::EntryIsNotEmpty(ns3::ndn::pit::EntryIsNotEmpty const & arg0) [copy constructor]
7255 cls.add_constructor([param('ns3::ndn::pit::EntryIsNotEmpty const &', 'arg0')])
7256 ## ndn-pit-entry.h (module 'ndnSIM'): bool ns3::ndn::pit::EntryIsNotEmpty::operator()(ns3::Ptr<ns3::ndn::pit::Entry> entry) [member operator]
7257 cls.add_method('operator()',
7258 'bool',
7259 [param('ns3::Ptr< ns3::ndn::pit::Entry >', 'entry')],
7260 custom_name='__call__')
7261 return
7262
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07007263def register_Ns3NdnPitIncomingFace_methods(root_module, cls):
7264 cls.add_binary_comparison_operator('==')
7265 cls.add_binary_comparison_operator('<')
7266 ## ndn-pit-entry-incoming-face.h (module 'ndnSIM'): ns3::ndn::pit::IncomingFace::IncomingFace(ns3::ndn::pit::IncomingFace const & arg0) [copy constructor]
7267 cls.add_constructor([param('ns3::ndn::pit::IncomingFace const &', 'arg0')])
7268 ## ndn-pit-entry-incoming-face.h (module 'ndnSIM'): ns3::ndn::pit::IncomingFace::IncomingFace(ns3::Ptr<ns3::ndn::Face> face) [constructor]
7269 cls.add_constructor([param('ns3::Ptr< ns3::ndn::Face >', 'face')])
7270 ## ndn-pit-entry-incoming-face.h (module 'ndnSIM'): ns3::ndn::pit::IncomingFace::IncomingFace() [constructor]
7271 cls.add_constructor([])
7272 ## ndn-pit-entry-incoming-face.h (module 'ndnSIM'): ns3::ndn::pit::IncomingFace::m_arrivalTime [variable]
7273 cls.add_instance_attribute('m_arrivalTime', 'ns3::Time', is_const=False)
7274 ## ndn-pit-entry-incoming-face.h (module 'ndnSIM'): ns3::ndn::pit::IncomingFace::m_face [variable]
7275 cls.add_instance_attribute('m_face', 'ns3::Ptr< ns3::ndn::Face >', is_const=False)
7276 return
7277
7278def register_Ns3NdnPitOutgoingFace_methods(root_module, cls):
7279 cls.add_binary_comparison_operator('==')
7280 cls.add_binary_comparison_operator('<')
7281 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::OutgoingFace(ns3::ndn::pit::OutgoingFace const & arg0) [copy constructor]
7282 cls.add_constructor([param('ns3::ndn::pit::OutgoingFace const &', 'arg0')])
7283 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::OutgoingFace(ns3::Ptr<ns3::ndn::Face> face) [constructor]
7284 cls.add_constructor([param('ns3::Ptr< ns3::ndn::Face >', 'face')])
Alexander Afanasyev29c19b92012-09-03 23:46:41 -07007285 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::OutgoingFace() [constructor]
7286 cls.add_constructor([])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07007287 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): void ns3::ndn::pit::OutgoingFace::UpdateOnRetransmit() [member function]
7288 cls.add_method('UpdateOnRetransmit',
7289 'void',
7290 [])
7291 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::m_face [variable]
7292 cls.add_instance_attribute('m_face', 'ns3::Ptr< ns3::ndn::Face >', is_const=False)
7293 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::m_retxCount [variable]
7294 cls.add_instance_attribute('m_retxCount', 'uint32_t', is_const=False)
7295 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::m_sendTime [variable]
7296 cls.add_instance_attribute('m_sendTime', 'ns3::Time', is_const=False)
7297 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::m_waitingInVain [variable]
7298 cls.add_instance_attribute('m_waitingInVain', 'bool', is_const=False)
7299 return
7300
Alexander Afanasyev381dea02011-11-03 08:33:26 -07007301def register_functions(root_module):
7302 module = root_module
Alexander Afanasyev381dea02011-11-03 08:33:26 -07007303 register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module)
Alexander Afanasyev8d6e3f62013-07-27 16:10:44 -07007304 register_functions_ns3_Hash(module.get_submodule('Hash'), root_module)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07007305 register_functions_ns3_internal(module.get_submodule('internal'), root_module)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07007306 register_functions_ns3_ndn(module.get_submodule('ndn'), root_module)
Alexander Afanasyev381dea02011-11-03 08:33:26 -07007307 return
7308
Alexander Afanasyev381dea02011-11-03 08:33:26 -07007309def register_functions_ns3_FatalImpl(module, root_module):
7310 return
7311
Alexander Afanasyev8d6e3f62013-07-27 16:10:44 -07007312def register_functions_ns3_Hash(module, root_module):
7313 register_functions_ns3_Hash_Function(module.get_submodule('Function'), root_module)
7314 return
7315
7316def register_functions_ns3_Hash_Function(module, root_module):
7317 return
7318
Alexander Afanasyev381dea02011-11-03 08:33:26 -07007319def register_functions_ns3_internal(module, root_module):
7320 return
7321
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07007322def register_functions_ns3_ndn(module, root_module):
Alexander Afanasyev76b11572013-07-16 21:49:50 -07007323 ## ndn-wire.h (module 'ndnSIM'): ns3::Ptr<ns3::Packet> ns3::ndn::BufferToPacket(std::string const & buffer) [free function]
7324 module.add_function('BufferToPacket',
7325 'ns3::Ptr< ns3::Packet >',
7326 [param('std::string const &', 'buffer')])
7327 ## name.h (module 'ndnSIM'): extern ns3::Ptr<ns3::AttributeChecker const> ns3::ndn::MakeNameChecker() [free function]
Alexander Afanasyev32c07562013-02-01 12:58:43 -08007328 module.add_function('MakeNameChecker',
7329 'ns3::Ptr< ns3::AttributeChecker const >',
7330 [])
Alexander Afanasyev76b11572013-07-16 21:49:50 -07007331 ## ndn-wire.h (module 'ndnSIM'): std::string ns3::ndn::PacketToBuffer(ns3::Ptr<ns3::Packet const> pkt) [free function]
7332 module.add_function('PacketToBuffer',
7333 'std::string',
7334 [param('ns3::Ptr< ns3::Packet const >', 'pkt')])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07007335 register_functions_ns3_ndn_cs(module.get_submodule('cs'), root_module)
7336 register_functions_ns3_ndn_fib(module.get_submodule('fib'), root_module)
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07007337 register_functions_ns3_ndn_fw(module.get_submodule('fw'), root_module)
Alexander Afanasyev76b11572013-07-16 21:49:50 -07007338 register_functions_ns3_ndn_name(module.get_submodule('name'), root_module)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07007339 register_functions_ns3_ndn_pit(module.get_submodule('pit'), root_module)
Alexander Afanasyev76b11572013-07-16 21:49:50 -07007340 register_functions_ns3_ndn_time(module.get_submodule('time'), root_module)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07007341 return
7342
7343def register_functions_ns3_ndn_cs(module, root_module):
7344 return
7345
7346def register_functions_ns3_ndn_fib(module, root_module):
7347 return
7348
Alexander Afanasyevca5f6d12012-09-04 00:05:12 -07007349def register_functions_ns3_ndn_fw(module, root_module):
7350 return
7351
Alexander Afanasyev76b11572013-07-16 21:49:50 -07007352def register_functions_ns3_ndn_name(module, root_module):
7353 return
7354
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07007355def register_functions_ns3_ndn_pit(module, root_module):
7356 return
7357
Alexander Afanasyev76b11572013-07-16 21:49:50 -07007358def register_functions_ns3_ndn_time(module, root_module):
7359 ## ndn-common.h (module 'ndnSIM'): ns3::Time ns3::ndn::time::NowUnixTimestamp() [free function]
7360 module.add_function('NowUnixTimestamp',
7361 'ns3::Time',
7362 [])
Alexander Afanasyeva6cc9102013-07-15 18:44:24 -07007363 return
7364
Alexander Afanasyev381dea02011-11-03 08:33:26 -07007365def main():
7366 out = FileCodeSink(sys.stdout)
7367 root_module = module_init()
7368 register_types(root_module)
7369 register_methods(root_module)
7370 register_functions(root_module)
7371 root_module.generate(out)
7372
7373if __name__ == '__main__':
7374 main()
7375