blob: c950b428f9351257cc276523acf35fbad09fc0a3 [file] [log] [blame]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers
2
3
4import pybindgen.settings
5import warnings
6
7class ErrorHandler(pybindgen.settings.ErrorHandler):
8 def handle_error(self, wrapper, exception, traceback_):
9 warnings.warn("exception %r in wrapper %s" % (exception, wrapper))
10 return True
11pybindgen.settings.error_handler = ErrorHandler()
12
13
14import sys
15
16def module_init():
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -070017 root_module = Module('ns.ndnSIM', cpp_namespace='::ns3')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -080018 return root_module
19
20def register_types(module):
21 root_module = module.get_root()
22
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -080023 ## address.h (module 'network'): ns3::Address [class]
24 module.add_class('Address', import_from_module='ns.network')
25 ## address.h (module 'network'): ns3::Address::MaxSize_e [enumeration]
26 module.add_enum('MaxSize_e', ['MAX_SIZE'], outer_class=root_module['ns3::Address'], import_from_module='ns.network')
27 ## application-container.h (module 'network'): ns3::ApplicationContainer [class]
28 module.add_class('ApplicationContainer', import_from_module='ns.network')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -080029 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class]
30 module.add_class('AttributeConstructionList', import_from_module='ns.core')
31 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct]
32 module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList'])
33 ## buffer.h (module 'network'): ns3::Buffer [class]
34 module.add_class('Buffer', import_from_module='ns.network')
35 ## buffer.h (module 'network'): ns3::Buffer::Iterator [class]
36 module.add_class('Iterator', import_from_module='ns.network', outer_class=root_module['ns3::Buffer'])
37 ## packet.h (module 'network'): ns3::ByteTagIterator [class]
38 module.add_class('ByteTagIterator', import_from_module='ns.network')
39 ## packet.h (module 'network'): ns3::ByteTagIterator::Item [class]
40 module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::ByteTagIterator'])
41 ## byte-tag-list.h (module 'network'): ns3::ByteTagList [class]
42 module.add_class('ByteTagList', import_from_module='ns.network')
43 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator [class]
44 module.add_class('Iterator', import_from_module='ns.network', outer_class=root_module['ns3::ByteTagList'])
45 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item [struct]
46 module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::ByteTagList::Iterator'])
47 ## callback.h (module 'core'): ns3::CallbackBase [class]
48 module.add_class('CallbackBase', import_from_module='ns.core')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -080049 ## event-id.h (module 'core'): ns3::EventId [class]
50 module.add_class('EventId', import_from_module='ns.core')
51 ## ipv4-address.h (module 'network'): ns3::Ipv4Address [class]
52 module.add_class('Ipv4Address', import_from_module='ns.network')
53 ## ipv4-address.h (module 'network'): ns3::Ipv4Address [class]
54 root_module['ns3::Ipv4Address'].implicitly_converts_to(root_module['ns3::Address'])
55 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask [class]
56 module.add_class('Ipv4Mask', import_from_module='ns.network')
57 ## ipv6-address.h (module 'network'): ns3::Ipv6Address [class]
58 module.add_class('Ipv6Address', import_from_module='ns.network')
59 ## ipv6-address.h (module 'network'): ns3::Ipv6Address [class]
60 root_module['ns3::Ipv6Address'].implicitly_converts_to(root_module['ns3::Address'])
61 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix [class]
62 module.add_class('Ipv6Prefix', import_from_module='ns.network')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -080063 ## node-container.h (module 'network'): ns3::NodeContainer [class]
64 module.add_class('NodeContainer', import_from_module='ns.network')
65 ## object-base.h (module 'core'): ns3::ObjectBase [class]
66 module.add_class('ObjectBase', allow_subclassing=True, import_from_module='ns.core')
67 ## object.h (module 'core'): ns3::ObjectDeleter [struct]
68 module.add_class('ObjectDeleter', import_from_module='ns.core')
69 ## object-factory.h (module 'core'): ns3::ObjectFactory [class]
70 module.add_class('ObjectFactory', import_from_module='ns.core')
71 ## packet-metadata.h (module 'network'): ns3::PacketMetadata [class]
72 module.add_class('PacketMetadata', import_from_module='ns.network')
73 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item [struct]
74 module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::PacketMetadata'])
75 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item [enumeration]
76 module.add_enum('', ['PAYLOAD', 'HEADER', 'TRAILER'], outer_class=root_module['ns3::PacketMetadata::Item'], import_from_module='ns.network')
77 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator [class]
78 module.add_class('ItemIterator', import_from_module='ns.network', outer_class=root_module['ns3::PacketMetadata'])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -070079 ## packet.h (module 'network'): ns3::PacketTagIterator [class]
80 module.add_class('PacketTagIterator', import_from_module='ns.network')
81 ## packet.h (module 'network'): ns3::PacketTagIterator::Item [class]
82 module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::PacketTagIterator'])
83 ## packet-tag-list.h (module 'network'): ns3::PacketTagList [class]
84 module.add_class('PacketTagList', import_from_module='ns.network')
85 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData [struct]
86 module.add_class('TagData', import_from_module='ns.network', outer_class=root_module['ns3::PacketTagList'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -080087 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter> [class]
88 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Object', 'ns3::ObjectBase', 'ns3::ObjectDeleter'], parent=root_module['ns3::ObjectBase'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyevad5acce2012-05-31 12:43:08 -070089 ## tag.h (module 'network'): ns3::Tag [class]
90 module.add_class('Tag', import_from_module='ns.network', parent=root_module['ns3::ObjectBase'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -080091 ## tag-buffer.h (module 'network'): ns3::TagBuffer [class]
92 module.add_class('TagBuffer', import_from_module='ns.network')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -080093 ## type-id.h (module 'core'): ns3::TypeId [class]
94 module.add_class('TypeId', import_from_module='ns.core')
95 ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration]
96 module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core')
97 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct]
98 module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId'])
99 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct]
100 module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800101 ## empty.h (module 'core'): ns3::empty [class]
102 module.add_class('empty', import_from_module='ns.core')
103 ## int64x64-double.h (module 'core'): ns3::int64x64_t [class]
104 module.add_class('int64x64_t', import_from_module='ns.core')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800105 ## chunk.h (module 'network'): ns3::Chunk [class]
Alexander Afanasyev4756b892012-04-18 14:48:43 -0700106 module.add_class('Chunk', import_from_module='ns.network', parent=root_module['ns3::ObjectBase'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800107 ## header.h (module 'network'): ns3::Header [class]
108 module.add_class('Header', import_from_module='ns.network', parent=root_module['ns3::Chunk'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800109 ## object.h (module 'core'): ns3::Object [class]
110 module.add_class('Object', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >'])
111 ## object.h (module 'core'): ns3::Object::AggregateIterator [class]
112 module.add_class('AggregateIterator', import_from_module='ns.core', outer_class=root_module['ns3::Object'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800113 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> > [class]
114 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'))
115 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> > [class]
116 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'))
117 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> > [class]
118 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'))
119 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> > [class]
120 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::CallbackImplBase', 'ns3::empty', 'ns3::DefaultDeleter<ns3::CallbackImplBase>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800121 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> > [class]
122 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'))
123 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> > [class]
124 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::NixVector', 'ns3::empty', 'ns3::DefaultDeleter<ns3::NixVector>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800125 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> > [class]
126 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'))
127 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> > [class]
128 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::TraceSourceAccessor', 'ns3::empty', 'ns3::DefaultDeleter<ns3::TraceSourceAccessor>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700129 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::ContentObjectHeader, ns3::Header, ns3::DefaultDeleter<ns3::ndn::ContentObjectHeader> > [class]
130 module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::ndn::ContentObjectHeader', 'ns3::Header', 'ns3::DefaultDeleter<ns3::ndn::ContentObjectHeader>'], parent=root_module['ns3::Header'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
131 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::FaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::ndn::FaceContainer> > [class]
132 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'))
133 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::InterestHeader, ns3::Header, ns3::DefaultDeleter<ns3::ndn::InterestHeader> > [class]
134 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::ndn::InterestHeader', 'ns3::Header', 'ns3::DefaultDeleter<ns3::ndn::InterestHeader>'], parent=root_module['ns3::Header'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
135 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::NameComponents, ns3::empty, ns3::DefaultDeleter<ns3::ndn::NameComponents> > [class]
136 module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::ndn::NameComponents', 'ns3::empty', 'ns3::DefaultDeleter<ns3::ndn::NameComponents>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
137 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::cs::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::cs::Entry> > [class]
138 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'))
139 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::fib::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::fib::Entry> > [class]
140 module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::ndn::fib::Entry', 'ns3::empty', 'ns3::DefaultDeleter<ns3::ndn::fib::Entry>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
141 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::pit::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::pit::Entry> > [class]
142 module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::ndn::pit::Entry', 'ns3::empty', 'ns3::DefaultDeleter<ns3::ndn::pit::Entry>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800143 ## nstime.h (module 'core'): ns3::Time [class]
144 module.add_class('Time', import_from_module='ns.core')
145 ## nstime.h (module 'core'): ns3::Time::Unit [enumeration]
146 module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core')
147 ## nstime.h (module 'core'): ns3::Time [class]
148 root_module['ns3::Time'].implicitly_converts_to(root_module['ns3::int64x64_t'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800149 ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor [class]
150 module.add_class('TraceSourceAccessor', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
151 ## trailer.h (module 'network'): ns3::Trailer [class]
152 module.add_class('Trailer', import_from_module='ns.network', parent=root_module['ns3::Chunk'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800153 ## application.h (module 'network'): ns3::Application [class]
154 module.add_class('Application', import_from_module='ns.network', parent=root_module['ns3::Object'])
155 ## attribute.h (module 'core'): ns3::AttributeAccessor [class]
156 module.add_class('AttributeAccessor', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >'])
157 ## attribute.h (module 'core'): ns3::AttributeChecker [class]
158 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> >'])
159 ## attribute.h (module 'core'): ns3::AttributeValue [class]
160 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 Afanasyev6d98ac32012-06-06 13:01:48 -0700161 ## batches.h (module 'ndnSIM'): ns3::BatchesChecker [class]
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -0800162 module.add_class('BatchesChecker', parent=root_module['ns3::AttributeChecker'])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -0700163 ## batches.h (module 'ndnSIM'): ns3::BatchesValue [class]
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -0800164 module.add_class('BatchesValue', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800165 ## callback.h (module 'core'): ns3::CallbackChecker [class]
166 module.add_class('CallbackChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
167 ## callback.h (module 'core'): ns3::CallbackImplBase [class]
168 module.add_class('CallbackImplBase', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >'])
169 ## callback.h (module 'core'): ns3::CallbackValue [class]
170 module.add_class('CallbackValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800171 ## attribute.h (module 'core'): ns3::EmptyAttributeValue [class]
172 module.add_class('EmptyAttributeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
173 ## event-impl.h (module 'core'): ns3::EventImpl [class]
174 module.add_class('EventImpl', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >'])
175 ## integer.h (module 'core'): ns3::IntegerValue [class]
176 module.add_class('IntegerValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
177 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker [class]
178 module.add_class('Ipv4AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
179 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue [class]
180 module.add_class('Ipv4AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
181 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker [class]
182 module.add_class('Ipv4MaskChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
183 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue [class]
184 module.add_class('Ipv4MaskValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
185 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker [class]
186 module.add_class('Ipv6AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
187 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue [class]
188 module.add_class('Ipv6AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
189 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker [class]
190 module.add_class('Ipv6PrefixChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
191 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue [class]
192 module.add_class('Ipv6PrefixValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800193 ## net-device.h (module 'network'): ns3::NetDevice [class]
194 module.add_class('NetDevice', import_from_module='ns.network', parent=root_module['ns3::Object'])
195 ## net-device.h (module 'network'): ns3::NetDevice::PacketType [enumeration]
196 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')
197 ## nix-vector.h (module 'network'): ns3::NixVector [class]
198 module.add_class('NixVector', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >'])
199 ## node.h (module 'network'): ns3::Node [class]
200 module.add_class('Node', import_from_module='ns.network', parent=root_module['ns3::Object'])
201 ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker [class]
202 module.add_class('ObjectFactoryChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
203 ## object-factory.h (module 'core'): ns3::ObjectFactoryValue [class]
204 module.add_class('ObjectFactoryValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800205 ## packet.h (module 'network'): ns3::Packet [class]
206 module.add_class('Packet', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800207 ## nstime.h (module 'core'): ns3::TimeChecker [class]
208 module.add_class('TimeChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
209 ## nstime.h (module 'core'): ns3::TimeValue [class]
210 module.add_class('TimeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
211 ## type-id.h (module 'core'): ns3::TypeIdChecker [class]
212 module.add_class('TypeIdChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
213 ## type-id.h (module 'core'): ns3::TypeIdValue [class]
214 module.add_class('TypeIdValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800215 ## address.h (module 'network'): ns3::AddressChecker [class]
216 module.add_class('AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
217 ## address.h (module 'network'): ns3::AddressValue [class]
218 module.add_class('AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800219
220 ## Register a nested module for the namespace FatalImpl
221
222 nested_module = module.add_cpp_namespace('FatalImpl')
223 register_types_ns3_FatalImpl(nested_module)
224
225
226 ## Register a nested module for the namespace internal
227
228 nested_module = module.add_cpp_namespace('internal')
229 register_types_ns3_internal(nested_module)
230
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700231
232 ## Register a nested module for the namespace ndn
233
234 nested_module = module.add_cpp_namespace('ndn')
235 register_types_ns3_ndn(nested_module)
236
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800237
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800238def register_types_ns3_FatalImpl(module):
239 root_module = module.get_root()
240
241
242def register_types_ns3_internal(module):
243 root_module = module.get_root()
244
245
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700246def register_types_ns3_ndn(module):
247 root_module = module.get_root()
248
249 ## ndn-app.h (module 'ndnSIM'): ns3::ndn::App [class]
250 module.add_class('App', parent=root_module['ns3::Application'])
251 ## ndn-app-helper.h (module 'ndnSIM'): ns3::ndn::AppHelper [class]
252 module.add_class('AppHelper')
253 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeader [class]
254 module.add_class('ContentObjectHeader', parent=root_module['ns3::SimpleRefCount< ns3::ndn::ContentObjectHeader, ns3::Header, ns3::DefaultDeleter<ns3::ndn::ContentObjectHeader> >'])
255 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeader::ContentType [enumeration]
256 module.add_enum('ContentType', ['DATA', 'ENCR', 'GONE', 'KEY', 'LINK', 'NACK'], outer_class=root_module['ns3::ndn::ContentObjectHeader'])
257 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeader::Signature [class]
258 module.add_class('Signature', outer_class=root_module['ns3::ndn::ContentObjectHeader'])
259 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeader::SignedInfo [class]
260 module.add_class('SignedInfo', outer_class=root_module['ns3::ndn::ContentObjectHeader'])
261 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeaderException [class]
262 module.add_class('ContentObjectHeaderException')
263 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::ContentObjectTail [class]
264 module.add_class('ContentObjectTail', parent=root_module['ns3::Trailer'])
265 ## ndn-content-store.h (module 'ndnSIM'): ns3::ndn::ContentStore [class]
266 module.add_class('ContentStore', parent=root_module['ns3::Object'])
267 ## ndn-face.h (module 'ndnSIM'): ns3::ndn::Face [class]
268 module.add_class('Face', parent=root_module['ns3::Object'])
269 ## ndn-face-container.h (module 'ndnSIM'): ns3::ndn::FaceContainer [class]
270 module.add_class('FaceContainer', parent=root_module['ns3::SimpleRefCount< ns3::ndn::FaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::ndn::FaceContainer> >'])
271 ## ndn-fib.h (module 'ndnSIM'): ns3::ndn::Fib [class]
272 module.add_class('Fib', parent=root_module['ns3::Object'])
273 ## ndn-forwarding-strategy.h (module 'ndnSIM'): ns3::ndn::ForwardingStrategy [class]
274 module.add_class('ForwardingStrategy', parent=root_module['ns3::Object'])
275 ## ndn-global-routing-helper.h (module 'ndnSIM'): ns3::ndn::GlobalRoutingHelper [class]
276 module.add_class('GlobalRoutingHelper')
277 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::HeaderHelper [class]
278 module.add_class('HeaderHelper')
279 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::HeaderHelper::Type [enumeration]
280 module.add_enum('Type', ['INTEREST', 'CONTENT_OBJECT'], outer_class=root_module['ns3::ndn::HeaderHelper'])
281 ## ndn-interest-header.h (module 'ndnSIM'): ns3::ndn::InterestHeader [class]
282 module.add_class('InterestHeader', parent=root_module['ns3::SimpleRefCount< ns3::ndn::InterestHeader, ns3::Header, ns3::DefaultDeleter<ns3::ndn::InterestHeader> >'])
283 ## ndn-interest-header.h (module 'ndnSIM'): ns3::ndn::InterestHeader [enumeration]
284 module.add_enum('', ['NORMAL_INTEREST', 'NACK_LOOP', 'NACK_CONGESTION', 'NACK_GIVEUP_PIT'], outer_class=root_module['ns3::ndn::InterestHeader'])
285 ## ndn-interest-header.h (module 'ndnSIM'): ns3::ndn::InterestHeaderException [class]
286 module.add_class('InterestHeaderException')
287 ## ndn-l3-protocol.h (module 'ndnSIM'): ns3::ndn::L3Protocol [class]
288 module.add_class('L3Protocol', parent=root_module['ns3::Object'])
289 ## ndn-name-components.h (module 'ndnSIM'): ns3::ndn::NameComponents [class]
290 module.add_class('NameComponents', parent=root_module['ns3::SimpleRefCount< ns3::ndn::NameComponents, ns3::empty, ns3::DefaultDeleter<ns3::ndn::NameComponents> >'])
291 ## ndn-name-components.h (module 'ndnSIM'): ns3::ndn::NameComponentsChecker [class]
292 module.add_class('NameComponentsChecker', parent=root_module['ns3::AttributeChecker'])
293 ## ndn-name-components.h (module 'ndnSIM'): ns3::ndn::NameComponentsValue [class]
294 module.add_class('NameComponentsValue', parent=root_module['ns3::AttributeValue'])
295 ## ndn-net-device-face.h (module 'ndnSIM'): ns3::ndn::NetDeviceFace [class]
296 module.add_class('NetDeviceFace', parent=root_module['ns3::ndn::Face'])
297 ## ndn-pit.h (module 'ndnSIM'): ns3::ndn::Pit [class]
298 module.add_class('Pit', parent=root_module['ns3::Object'])
299 ## ndn-stack-helper.h (module 'ndnSIM'): ns3::ndn::StackHelper [class]
300 module.add_class('StackHelper')
301 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::UnknownHeaderException [class]
302 module.add_class('UnknownHeaderException')
303 ## ndn-app-face.h (module 'ndnSIM'): ns3::ndn::AppFace [class]
304 module.add_class('AppFace', parent=root_module['ns3::ndn::Face'])
Alexander Afanasyevc202fd92012-09-03 21:46:00 -0700305 module.add_container('std::vector< ns3::Ptr< ns3::ndn::Face > >', 'ns3::Ptr< ns3::ndn::Face >', container_type='vector')
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700306 module.add_container('std::list< boost::reference_wrapper< std::string const > >', 'boost::reference_wrapper< std::basic_string< char, std::char_traits< char >, std::allocator< char > > const >', container_type='list')
307 module.add_container('std::list< std::string >', 'std::string', container_type='list')
308
309 ## Register a nested module for the namespace cs
310
311 nested_module = module.add_cpp_namespace('cs')
312 register_types_ns3_ndn_cs(nested_module)
313
314
315 ## Register a nested module for the namespace fib
316
317 nested_module = module.add_cpp_namespace('fib')
318 register_types_ns3_ndn_fib(nested_module)
319
320
321 ## Register a nested module for the namespace pit
322
323 nested_module = module.add_cpp_namespace('pit')
324 register_types_ns3_ndn_pit(nested_module)
325
326
327def register_types_ns3_ndn_cs(module):
328 root_module = module.get_root()
329
330 ## ndn-content-store.h (module 'ndnSIM'): ns3::ndn::cs::Entry [class]
331 module.add_class('Entry', parent=root_module['ns3::SimpleRefCount< ns3::ndn::cs::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::cs::Entry> >'])
332
333def register_types_ns3_ndn_fib(module):
334 root_module = module.get_root()
335
336 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry [class]
337 module.add_class('Entry', parent=root_module['ns3::SimpleRefCount< ns3::ndn::fib::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::fib::Entry> >'])
338 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::NoFaces [class]
339 module.add_class('NoFaces', outer_class=root_module['ns3::ndn::fib::Entry'])
340 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric [class]
341 module.add_class('FaceMetric')
342 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric::Status [enumeration]
343 module.add_enum('Status', ['NDN_FIB_GREEN', 'NDN_FIB_YELLOW', 'NDN_FIB_RED'], outer_class=root_module['ns3::ndn::fib::FaceMetric'])
344 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetricContainer [struct]
345 module.add_class('FaceMetricContainer')
346 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_face [class]
347 module.add_class('i_face')
348 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_metric [class]
349 module.add_class('i_metric')
350 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_nth [class]
351 module.add_class('i_nth')
352
353def register_types_ns3_ndn_pit(module):
354 root_module = module.get_root()
355
356 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::Entry [class]
357 module.add_class('Entry', parent=root_module['ns3::SimpleRefCount< ns3::ndn::pit::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::pit::Entry> >'])
358 ## ndn-pit-entry-incoming-face.h (module 'ndnSIM'): ns3::ndn::pit::IncomingFace [struct]
359 module.add_class('IncomingFace')
360 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace [struct]
361 module.add_class('OutgoingFace')
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700362 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::i_face [class]
363 module.add_class('i_face')
364 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::i_retx [class]
365 module.add_class('i_retx')
366 module.add_container('std::set< ns3::ndn::pit::IncomingFace >', 'ns3::ndn::pit::IncomingFace', container_type='set')
Alexander Afanasyevc202fd92012-09-03 21:46:00 -0700367 module.add_container('std::set< ns3::ndn::pit::OutgoingFace >', 'ns3::ndn::pit::OutgoingFace', container_type='set')
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700368 module.add_container('std::set< unsigned int >', 'unsigned int', container_type='set')
369
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800370def register_methods(root_module):
371 register_Ns3Address_methods(root_module, root_module['ns3::Address'])
372 register_Ns3ApplicationContainer_methods(root_module, root_module['ns3::ApplicationContainer'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800373 register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList'])
374 register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item'])
375 register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer'])
376 register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator'])
377 register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator'])
378 register_Ns3ByteTagIteratorItem_methods(root_module, root_module['ns3::ByteTagIterator::Item'])
379 register_Ns3ByteTagList_methods(root_module, root_module['ns3::ByteTagList'])
380 register_Ns3ByteTagListIterator_methods(root_module, root_module['ns3::ByteTagList::Iterator'])
381 register_Ns3ByteTagListIteratorItem_methods(root_module, root_module['ns3::ByteTagList::Iterator::Item'])
382 register_Ns3CallbackBase_methods(root_module, root_module['ns3::CallbackBase'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800383 register_Ns3EventId_methods(root_module, root_module['ns3::EventId'])
384 register_Ns3Ipv4Address_methods(root_module, root_module['ns3::Ipv4Address'])
385 register_Ns3Ipv4Mask_methods(root_module, root_module['ns3::Ipv4Mask'])
386 register_Ns3Ipv6Address_methods(root_module, root_module['ns3::Ipv6Address'])
387 register_Ns3Ipv6Prefix_methods(root_module, root_module['ns3::Ipv6Prefix'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800388 register_Ns3NodeContainer_methods(root_module, root_module['ns3::NodeContainer'])
389 register_Ns3ObjectBase_methods(root_module, root_module['ns3::ObjectBase'])
390 register_Ns3ObjectDeleter_methods(root_module, root_module['ns3::ObjectDeleter'])
391 register_Ns3ObjectFactory_methods(root_module, root_module['ns3::ObjectFactory'])
392 register_Ns3PacketMetadata_methods(root_module, root_module['ns3::PacketMetadata'])
393 register_Ns3PacketMetadataItem_methods(root_module, root_module['ns3::PacketMetadata::Item'])
394 register_Ns3PacketMetadataItemIterator_methods(root_module, root_module['ns3::PacketMetadata::ItemIterator'])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -0700395 register_Ns3PacketTagIterator_methods(root_module, root_module['ns3::PacketTagIterator'])
396 register_Ns3PacketTagIteratorItem_methods(root_module, root_module['ns3::PacketTagIterator::Item'])
397 register_Ns3PacketTagList_methods(root_module, root_module['ns3::PacketTagList'])
398 register_Ns3PacketTagListTagData_methods(root_module, root_module['ns3::PacketTagList::TagData'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800399 register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >'])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -0700400 register_Ns3Tag_methods(root_module, root_module['ns3::Tag'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800401 register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800402 register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId'])
403 register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation'])
404 register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800405 register_Ns3Empty_methods(root_module, root_module['ns3::empty'])
406 register_Ns3Int64x64_t_methods(root_module, root_module['ns3::int64x64_t'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800407 register_Ns3Chunk_methods(root_module, root_module['ns3::Chunk'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800408 register_Ns3Header_methods(root_module, root_module['ns3::Header'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800409 register_Ns3Object_methods(root_module, root_module['ns3::Object'])
410 register_Ns3ObjectAggregateIterator_methods(root_module, root_module['ns3::Object::AggregateIterator'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800411 register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >'])
412 register_Ns3SimpleRefCount__Ns3AttributeChecker_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeChecker__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >'])
413 register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeValue__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >'])
414 register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__lt__ns3CallbackImplBase__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800415 register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >'])
416 register_Ns3SimpleRefCount__Ns3NixVector_Ns3Empty_Ns3DefaultDeleter__lt__ns3NixVector__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800417 register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >'])
418 register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700419 register_Ns3SimpleRefCount__Ns3NdnContentObjectHeader_Ns3Header_Ns3DefaultDeleter__lt__ns3NdnContentObjectHeader__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::ndn::ContentObjectHeader, ns3::Header, ns3::DefaultDeleter<ns3::ndn::ContentObjectHeader> >'])
420 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> >'])
421 register_Ns3SimpleRefCount__Ns3NdnInterestHeader_Ns3Header_Ns3DefaultDeleter__lt__ns3NdnInterestHeader__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::ndn::InterestHeader, ns3::Header, ns3::DefaultDeleter<ns3::ndn::InterestHeader> >'])
422 register_Ns3SimpleRefCount__Ns3NdnNameComponents_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnNameComponents__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::ndn::NameComponents, ns3::empty, ns3::DefaultDeleter<ns3::ndn::NameComponents> >'])
423 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> >'])
424 register_Ns3SimpleRefCount__Ns3NdnFibEntry_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnFibEntry__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::ndn::fib::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::fib::Entry> >'])
425 register_Ns3SimpleRefCount__Ns3NdnPitEntry_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnPitEntry__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::ndn::pit::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::pit::Entry> >'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800426 register_Ns3Time_methods(root_module, root_module['ns3::Time'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800427 register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor'])
428 register_Ns3Trailer_methods(root_module, root_module['ns3::Trailer'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800429 register_Ns3Application_methods(root_module, root_module['ns3::Application'])
430 register_Ns3AttributeAccessor_methods(root_module, root_module['ns3::AttributeAccessor'])
431 register_Ns3AttributeChecker_methods(root_module, root_module['ns3::AttributeChecker'])
432 register_Ns3AttributeValue_methods(root_module, root_module['ns3::AttributeValue'])
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -0800433 register_Ns3BatchesChecker_methods(root_module, root_module['ns3::BatchesChecker'])
434 register_Ns3BatchesValue_methods(root_module, root_module['ns3::BatchesValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800435 register_Ns3CallbackChecker_methods(root_module, root_module['ns3::CallbackChecker'])
436 register_Ns3CallbackImplBase_methods(root_module, root_module['ns3::CallbackImplBase'])
437 register_Ns3CallbackValue_methods(root_module, root_module['ns3::CallbackValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800438 register_Ns3EmptyAttributeValue_methods(root_module, root_module['ns3::EmptyAttributeValue'])
439 register_Ns3EventImpl_methods(root_module, root_module['ns3::EventImpl'])
440 register_Ns3IntegerValue_methods(root_module, root_module['ns3::IntegerValue'])
441 register_Ns3Ipv4AddressChecker_methods(root_module, root_module['ns3::Ipv4AddressChecker'])
442 register_Ns3Ipv4AddressValue_methods(root_module, root_module['ns3::Ipv4AddressValue'])
443 register_Ns3Ipv4MaskChecker_methods(root_module, root_module['ns3::Ipv4MaskChecker'])
444 register_Ns3Ipv4MaskValue_methods(root_module, root_module['ns3::Ipv4MaskValue'])
445 register_Ns3Ipv6AddressChecker_methods(root_module, root_module['ns3::Ipv6AddressChecker'])
446 register_Ns3Ipv6AddressValue_methods(root_module, root_module['ns3::Ipv6AddressValue'])
447 register_Ns3Ipv6PrefixChecker_methods(root_module, root_module['ns3::Ipv6PrefixChecker'])
448 register_Ns3Ipv6PrefixValue_methods(root_module, root_module['ns3::Ipv6PrefixValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800449 register_Ns3NetDevice_methods(root_module, root_module['ns3::NetDevice'])
450 register_Ns3NixVector_methods(root_module, root_module['ns3::NixVector'])
451 register_Ns3Node_methods(root_module, root_module['ns3::Node'])
452 register_Ns3ObjectFactoryChecker_methods(root_module, root_module['ns3::ObjectFactoryChecker'])
453 register_Ns3ObjectFactoryValue_methods(root_module, root_module['ns3::ObjectFactoryValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800454 register_Ns3Packet_methods(root_module, root_module['ns3::Packet'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800455 register_Ns3TimeChecker_methods(root_module, root_module['ns3::TimeChecker'])
456 register_Ns3TimeValue_methods(root_module, root_module['ns3::TimeValue'])
457 register_Ns3TypeIdChecker_methods(root_module, root_module['ns3::TypeIdChecker'])
458 register_Ns3TypeIdValue_methods(root_module, root_module['ns3::TypeIdValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800459 register_Ns3AddressChecker_methods(root_module, root_module['ns3::AddressChecker'])
460 register_Ns3AddressValue_methods(root_module, root_module['ns3::AddressValue'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700461 register_Ns3NdnApp_methods(root_module, root_module['ns3::ndn::App'])
462 register_Ns3NdnAppHelper_methods(root_module, root_module['ns3::ndn::AppHelper'])
463 register_Ns3NdnContentObjectHeader_methods(root_module, root_module['ns3::ndn::ContentObjectHeader'])
464 register_Ns3NdnContentObjectHeaderSignature_methods(root_module, root_module['ns3::ndn::ContentObjectHeader::Signature'])
465 register_Ns3NdnContentObjectHeaderSignedInfo_methods(root_module, root_module['ns3::ndn::ContentObjectHeader::SignedInfo'])
466 register_Ns3NdnContentObjectHeaderException_methods(root_module, root_module['ns3::ndn::ContentObjectHeaderException'])
467 register_Ns3NdnContentObjectTail_methods(root_module, root_module['ns3::ndn::ContentObjectTail'])
468 register_Ns3NdnContentStore_methods(root_module, root_module['ns3::ndn::ContentStore'])
469 register_Ns3NdnFace_methods(root_module, root_module['ns3::ndn::Face'])
470 register_Ns3NdnFaceContainer_methods(root_module, root_module['ns3::ndn::FaceContainer'])
471 register_Ns3NdnFib_methods(root_module, root_module['ns3::ndn::Fib'])
472 register_Ns3NdnForwardingStrategy_methods(root_module, root_module['ns3::ndn::ForwardingStrategy'])
473 register_Ns3NdnGlobalRoutingHelper_methods(root_module, root_module['ns3::ndn::GlobalRoutingHelper'])
474 register_Ns3NdnHeaderHelper_methods(root_module, root_module['ns3::ndn::HeaderHelper'])
475 register_Ns3NdnInterestHeader_methods(root_module, root_module['ns3::ndn::InterestHeader'])
476 register_Ns3NdnInterestHeaderException_methods(root_module, root_module['ns3::ndn::InterestHeaderException'])
477 register_Ns3NdnL3Protocol_methods(root_module, root_module['ns3::ndn::L3Protocol'])
478 register_Ns3NdnNameComponents_methods(root_module, root_module['ns3::ndn::NameComponents'])
479 register_Ns3NdnNameComponentsChecker_methods(root_module, root_module['ns3::ndn::NameComponentsChecker'])
480 register_Ns3NdnNameComponentsValue_methods(root_module, root_module['ns3::ndn::NameComponentsValue'])
481 register_Ns3NdnNetDeviceFace_methods(root_module, root_module['ns3::ndn::NetDeviceFace'])
482 register_Ns3NdnPit_methods(root_module, root_module['ns3::ndn::Pit'])
483 register_Ns3NdnStackHelper_methods(root_module, root_module['ns3::ndn::StackHelper'])
484 register_Ns3NdnUnknownHeaderException_methods(root_module, root_module['ns3::ndn::UnknownHeaderException'])
485 register_Ns3NdnAppFace_methods(root_module, root_module['ns3::ndn::AppFace'])
486 register_Ns3NdnCsEntry_methods(root_module, root_module['ns3::ndn::cs::Entry'])
487 register_Ns3NdnFibEntry_methods(root_module, root_module['ns3::ndn::fib::Entry'])
488 register_Ns3NdnFibEntryNoFaces_methods(root_module, root_module['ns3::ndn::fib::Entry::NoFaces'])
489 register_Ns3NdnFibFaceMetric_methods(root_module, root_module['ns3::ndn::fib::FaceMetric'])
490 register_Ns3NdnFibFaceMetricContainer_methods(root_module, root_module['ns3::ndn::fib::FaceMetricContainer'])
491 register_Ns3NdnFibI_face_methods(root_module, root_module['ns3::ndn::fib::i_face'])
492 register_Ns3NdnFibI_metric_methods(root_module, root_module['ns3::ndn::fib::i_metric'])
493 register_Ns3NdnFibI_nth_methods(root_module, root_module['ns3::ndn::fib::i_nth'])
494 register_Ns3NdnPitEntry_methods(root_module, root_module['ns3::ndn::pit::Entry'])
495 register_Ns3NdnPitIncomingFace_methods(root_module, root_module['ns3::ndn::pit::IncomingFace'])
496 register_Ns3NdnPitOutgoingFace_methods(root_module, root_module['ns3::ndn::pit::OutgoingFace'])
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -0700497 register_Ns3NdnPitI_face_methods(root_module, root_module['ns3::ndn::pit::i_face'])
498 register_Ns3NdnPitI_retx_methods(root_module, root_module['ns3::ndn::pit::i_retx'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800499 return
500
501def register_Ns3Address_methods(root_module, cls):
502 cls.add_binary_comparison_operator('!=')
503 cls.add_output_stream_operator()
504 cls.add_binary_comparison_operator('==')
505 cls.add_binary_comparison_operator('<')
506 ## address.h (module 'network'): ns3::Address::Address() [constructor]
507 cls.add_constructor([])
508 ## address.h (module 'network'): ns3::Address::Address(uint8_t type, uint8_t const * buffer, uint8_t len) [constructor]
509 cls.add_constructor([param('uint8_t', 'type'), param('uint8_t const *', 'buffer'), param('uint8_t', 'len')])
510 ## address.h (module 'network'): ns3::Address::Address(ns3::Address const & address) [copy constructor]
511 cls.add_constructor([param('ns3::Address const &', 'address')])
512 ## address.h (module 'network'): bool ns3::Address::CheckCompatible(uint8_t type, uint8_t len) const [member function]
513 cls.add_method('CheckCompatible',
514 'bool',
515 [param('uint8_t', 'type'), param('uint8_t', 'len')],
516 is_const=True)
517 ## address.h (module 'network'): uint32_t ns3::Address::CopyAllFrom(uint8_t const * buffer, uint8_t len) [member function]
518 cls.add_method('CopyAllFrom',
519 'uint32_t',
520 [param('uint8_t const *', 'buffer'), param('uint8_t', 'len')])
521 ## address.h (module 'network'): uint32_t ns3::Address::CopyAllTo(uint8_t * buffer, uint8_t len) const [member function]
522 cls.add_method('CopyAllTo',
523 'uint32_t',
524 [param('uint8_t *', 'buffer'), param('uint8_t', 'len')],
525 is_const=True)
526 ## address.h (module 'network'): uint32_t ns3::Address::CopyFrom(uint8_t const * buffer, uint8_t len) [member function]
527 cls.add_method('CopyFrom',
528 'uint32_t',
529 [param('uint8_t const *', 'buffer'), param('uint8_t', 'len')])
530 ## address.h (module 'network'): uint32_t ns3::Address::CopyTo(uint8_t * buffer) const [member function]
531 cls.add_method('CopyTo',
532 'uint32_t',
533 [param('uint8_t *', 'buffer')],
534 is_const=True)
535 ## address.h (module 'network'): void ns3::Address::Deserialize(ns3::TagBuffer buffer) [member function]
536 cls.add_method('Deserialize',
537 'void',
538 [param('ns3::TagBuffer', 'buffer')])
539 ## address.h (module 'network'): uint8_t ns3::Address::GetLength() const [member function]
540 cls.add_method('GetLength',
541 'uint8_t',
542 [],
543 is_const=True)
544 ## address.h (module 'network'): uint32_t ns3::Address::GetSerializedSize() const [member function]
545 cls.add_method('GetSerializedSize',
546 'uint32_t',
547 [],
548 is_const=True)
549 ## address.h (module 'network'): bool ns3::Address::IsInvalid() const [member function]
550 cls.add_method('IsInvalid',
551 'bool',
552 [],
553 is_const=True)
554 ## address.h (module 'network'): bool ns3::Address::IsMatchingType(uint8_t type) const [member function]
555 cls.add_method('IsMatchingType',
556 'bool',
557 [param('uint8_t', 'type')],
558 is_const=True)
559 ## address.h (module 'network'): static uint8_t ns3::Address::Register() [member function]
560 cls.add_method('Register',
561 'uint8_t',
562 [],
563 is_static=True)
564 ## address.h (module 'network'): void ns3::Address::Serialize(ns3::TagBuffer buffer) const [member function]
565 cls.add_method('Serialize',
566 'void',
567 [param('ns3::TagBuffer', 'buffer')],
568 is_const=True)
569 return
570
571def register_Ns3ApplicationContainer_methods(root_module, cls):
572 ## application-container.h (module 'network'): ns3::ApplicationContainer::ApplicationContainer(ns3::ApplicationContainer const & arg0) [copy constructor]
573 cls.add_constructor([param('ns3::ApplicationContainer const &', 'arg0')])
574 ## application-container.h (module 'network'): ns3::ApplicationContainer::ApplicationContainer() [constructor]
575 cls.add_constructor([])
576 ## application-container.h (module 'network'): ns3::ApplicationContainer::ApplicationContainer(ns3::Ptr<ns3::Application> application) [constructor]
577 cls.add_constructor([param('ns3::Ptr< ns3::Application >', 'application')])
578 ## application-container.h (module 'network'): ns3::ApplicationContainer::ApplicationContainer(std::string name) [constructor]
579 cls.add_constructor([param('std::string', 'name')])
580 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Add(ns3::ApplicationContainer other) [member function]
581 cls.add_method('Add',
582 'void',
583 [param('ns3::ApplicationContainer', 'other')])
584 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Add(ns3::Ptr<ns3::Application> application) [member function]
585 cls.add_method('Add',
586 'void',
587 [param('ns3::Ptr< ns3::Application >', 'application')])
588 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Add(std::string name) [member function]
589 cls.add_method('Add',
590 'void',
591 [param('std::string', 'name')])
592 ## 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]
593 cls.add_method('Begin',
594 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Application > const, std::vector< ns3::Ptr< ns3::Application > > >',
595 [],
596 is_const=True)
597 ## 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]
598 cls.add_method('End',
599 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Application > const, std::vector< ns3::Ptr< ns3::Application > > >',
600 [],
601 is_const=True)
602 ## application-container.h (module 'network'): ns3::Ptr<ns3::Application> ns3::ApplicationContainer::Get(uint32_t i) const [member function]
603 cls.add_method('Get',
604 'ns3::Ptr< ns3::Application >',
605 [param('uint32_t', 'i')],
606 is_const=True)
607 ## application-container.h (module 'network'): uint32_t ns3::ApplicationContainer::GetN() const [member function]
608 cls.add_method('GetN',
609 'uint32_t',
610 [],
611 is_const=True)
612 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Start(ns3::Time start) [member function]
613 cls.add_method('Start',
614 'void',
615 [param('ns3::Time', 'start')])
616 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Stop(ns3::Time stop) [member function]
617 cls.add_method('Stop',
618 'void',
619 [param('ns3::Time', 'stop')])
620 return
621
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800622def register_Ns3AttributeConstructionList_methods(root_module, cls):
623 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor]
624 cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')])
625 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor]
626 cls.add_constructor([])
627 ## 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]
628 cls.add_method('Add',
629 'void',
630 [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')])
631 ## attribute-construction-list.h (module 'core'): std::_List_const_iterator<ns3::AttributeConstructionList::Item> ns3::AttributeConstructionList::Begin() const [member function]
632 cls.add_method('Begin',
633 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >',
634 [],
635 is_const=True)
636 ## attribute-construction-list.h (module 'core'): std::_List_const_iterator<ns3::AttributeConstructionList::Item> ns3::AttributeConstructionList::End() const [member function]
637 cls.add_method('End',
638 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >',
639 [],
640 is_const=True)
641 ## attribute-construction-list.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeConstructionList::Find(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
642 cls.add_method('Find',
643 'ns3::Ptr< ns3::AttributeValue >',
644 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
645 is_const=True)
646 return
647
648def register_Ns3AttributeConstructionListItem_methods(root_module, cls):
649 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor]
650 cls.add_constructor([])
651 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor]
652 cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')])
653 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable]
654 cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False)
655 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable]
656 cls.add_instance_attribute('name', 'std::string', is_const=False)
657 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable]
658 cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False)
659 return
660
661def register_Ns3Buffer_methods(root_module, cls):
662 ## buffer.h (module 'network'): ns3::Buffer::Buffer() [constructor]
663 cls.add_constructor([])
664 ## buffer.h (module 'network'): ns3::Buffer::Buffer(uint32_t dataSize) [constructor]
665 cls.add_constructor([param('uint32_t', 'dataSize')])
666 ## buffer.h (module 'network'): ns3::Buffer::Buffer(uint32_t dataSize, bool initialize) [constructor]
667 cls.add_constructor([param('uint32_t', 'dataSize'), param('bool', 'initialize')])
668 ## buffer.h (module 'network'): ns3::Buffer::Buffer(ns3::Buffer const & o) [copy constructor]
669 cls.add_constructor([param('ns3::Buffer const &', 'o')])
670 ## buffer.h (module 'network'): bool ns3::Buffer::AddAtEnd(uint32_t end) [member function]
671 cls.add_method('AddAtEnd',
672 'bool',
673 [param('uint32_t', 'end')])
674 ## buffer.h (module 'network'): void ns3::Buffer::AddAtEnd(ns3::Buffer const & o) [member function]
675 cls.add_method('AddAtEnd',
676 'void',
677 [param('ns3::Buffer const &', 'o')])
678 ## buffer.h (module 'network'): bool ns3::Buffer::AddAtStart(uint32_t start) [member function]
679 cls.add_method('AddAtStart',
680 'bool',
681 [param('uint32_t', 'start')])
682 ## buffer.h (module 'network'): ns3::Buffer::Iterator ns3::Buffer::Begin() const [member function]
683 cls.add_method('Begin',
684 'ns3::Buffer::Iterator',
685 [],
686 is_const=True)
687 ## buffer.h (module 'network'): void ns3::Buffer::CopyData(std::ostream * os, uint32_t size) const [member function]
688 cls.add_method('CopyData',
689 'void',
690 [param('std::ostream *', 'os'), param('uint32_t', 'size')],
691 is_const=True)
692 ## buffer.h (module 'network'): uint32_t ns3::Buffer::CopyData(uint8_t * buffer, uint32_t size) const [member function]
693 cls.add_method('CopyData',
694 'uint32_t',
695 [param('uint8_t *', 'buffer'), param('uint32_t', 'size')],
696 is_const=True)
697 ## buffer.h (module 'network'): ns3::Buffer ns3::Buffer::CreateFragment(uint32_t start, uint32_t length) const [member function]
698 cls.add_method('CreateFragment',
699 'ns3::Buffer',
700 [param('uint32_t', 'start'), param('uint32_t', 'length')],
701 is_const=True)
702 ## buffer.h (module 'network'): ns3::Buffer ns3::Buffer::CreateFullCopy() const [member function]
703 cls.add_method('CreateFullCopy',
704 'ns3::Buffer',
705 [],
706 is_const=True)
707 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Deserialize(uint8_t const * buffer, uint32_t size) [member function]
708 cls.add_method('Deserialize',
709 'uint32_t',
710 [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
711 ## buffer.h (module 'network'): ns3::Buffer::Iterator ns3::Buffer::End() const [member function]
712 cls.add_method('End',
713 'ns3::Buffer::Iterator',
714 [],
715 is_const=True)
716 ## buffer.h (module 'network'): int32_t ns3::Buffer::GetCurrentEndOffset() const [member function]
717 cls.add_method('GetCurrentEndOffset',
718 'int32_t',
719 [],
720 is_const=True)
721 ## buffer.h (module 'network'): int32_t ns3::Buffer::GetCurrentStartOffset() const [member function]
722 cls.add_method('GetCurrentStartOffset',
723 'int32_t',
724 [],
725 is_const=True)
726 ## buffer.h (module 'network'): uint32_t ns3::Buffer::GetSerializedSize() const [member function]
727 cls.add_method('GetSerializedSize',
728 'uint32_t',
729 [],
730 is_const=True)
731 ## buffer.h (module 'network'): uint32_t ns3::Buffer::GetSize() const [member function]
732 cls.add_method('GetSize',
733 'uint32_t',
734 [],
735 is_const=True)
736 ## buffer.h (module 'network'): uint8_t const * ns3::Buffer::PeekData() const [member function]
737 cls.add_method('PeekData',
738 'uint8_t const *',
739 [],
740 is_const=True)
741 ## buffer.h (module 'network'): void ns3::Buffer::RemoveAtEnd(uint32_t end) [member function]
742 cls.add_method('RemoveAtEnd',
743 'void',
744 [param('uint32_t', 'end')])
745 ## buffer.h (module 'network'): void ns3::Buffer::RemoveAtStart(uint32_t start) [member function]
746 cls.add_method('RemoveAtStart',
747 'void',
748 [param('uint32_t', 'start')])
749 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
750 cls.add_method('Serialize',
751 'uint32_t',
752 [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')],
753 is_const=True)
754 return
755
756def register_Ns3BufferIterator_methods(root_module, cls):
757 ## buffer.h (module 'network'): ns3::Buffer::Iterator::Iterator(ns3::Buffer::Iterator const & arg0) [copy constructor]
758 cls.add_constructor([param('ns3::Buffer::Iterator const &', 'arg0')])
759 ## buffer.h (module 'network'): ns3::Buffer::Iterator::Iterator() [constructor]
760 cls.add_constructor([])
761 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::CalculateIpChecksum(uint16_t size) [member function]
762 cls.add_method('CalculateIpChecksum',
763 'uint16_t',
764 [param('uint16_t', 'size')])
765 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::CalculateIpChecksum(uint16_t size, uint32_t initialChecksum) [member function]
766 cls.add_method('CalculateIpChecksum',
767 'uint16_t',
768 [param('uint16_t', 'size'), param('uint32_t', 'initialChecksum')])
769 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::GetDistanceFrom(ns3::Buffer::Iterator const & o) const [member function]
770 cls.add_method('GetDistanceFrom',
771 'uint32_t',
772 [param('ns3::Buffer::Iterator const &', 'o')],
773 is_const=True)
774 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::GetSize() const [member function]
775 cls.add_method('GetSize',
776 'uint32_t',
777 [],
778 is_const=True)
779 ## buffer.h (module 'network'): bool ns3::Buffer::Iterator::IsEnd() const [member function]
780 cls.add_method('IsEnd',
781 'bool',
782 [],
783 is_const=True)
784 ## buffer.h (module 'network'): bool ns3::Buffer::Iterator::IsStart() const [member function]
785 cls.add_method('IsStart',
786 'bool',
787 [],
788 is_const=True)
789 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Next() [member function]
790 cls.add_method('Next',
791 'void',
792 [])
793 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Next(uint32_t delta) [member function]
794 cls.add_method('Next',
795 'void',
796 [param('uint32_t', 'delta')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -0700797 ## buffer.h (module 'network'): uint8_t ns3::Buffer::Iterator::PeekU8() [member function]
798 cls.add_method('PeekU8',
799 'uint8_t',
800 [])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800801 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Prev() [member function]
802 cls.add_method('Prev',
803 'void',
804 [])
805 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Prev(uint32_t delta) [member function]
806 cls.add_method('Prev',
807 'void',
808 [param('uint32_t', 'delta')])
809 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Read(uint8_t * buffer, uint32_t size) [member function]
810 cls.add_method('Read',
811 'void',
812 [param('uint8_t *', 'buffer'), param('uint32_t', 'size')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -0700813 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Read(ns3::Buffer::Iterator start, uint32_t size) [member function]
814 cls.add_method('Read',
815 'void',
816 [param('ns3::Buffer::Iterator', 'start'), param('uint32_t', 'size')])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800817 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadLsbtohU16() [member function]
818 cls.add_method('ReadLsbtohU16',
819 'uint16_t',
820 [])
821 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadLsbtohU32() [member function]
822 cls.add_method('ReadLsbtohU32',
823 'uint32_t',
824 [])
825 ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadLsbtohU64() [member function]
826 cls.add_method('ReadLsbtohU64',
827 'uint64_t',
828 [])
829 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadNtohU16() [member function]
830 cls.add_method('ReadNtohU16',
831 'uint16_t',
832 [])
833 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadNtohU32() [member function]
834 cls.add_method('ReadNtohU32',
835 'uint32_t',
836 [])
837 ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadNtohU64() [member function]
838 cls.add_method('ReadNtohU64',
839 'uint64_t',
840 [])
841 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadU16() [member function]
842 cls.add_method('ReadU16',
843 'uint16_t',
844 [])
845 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadU32() [member function]
846 cls.add_method('ReadU32',
847 'uint32_t',
848 [])
849 ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadU64() [member function]
850 cls.add_method('ReadU64',
851 'uint64_t',
852 [])
853 ## buffer.h (module 'network'): uint8_t ns3::Buffer::Iterator::ReadU8() [member function]
854 cls.add_method('ReadU8',
855 'uint8_t',
856 [])
857 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Write(uint8_t const * buffer, uint32_t size) [member function]
858 cls.add_method('Write',
859 'void',
860 [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
861 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Write(ns3::Buffer::Iterator start, ns3::Buffer::Iterator end) [member function]
862 cls.add_method('Write',
863 'void',
864 [param('ns3::Buffer::Iterator', 'start'), param('ns3::Buffer::Iterator', 'end')])
865 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU16(uint16_t data) [member function]
866 cls.add_method('WriteHtolsbU16',
867 'void',
868 [param('uint16_t', 'data')])
869 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU32(uint32_t data) [member function]
870 cls.add_method('WriteHtolsbU32',
871 'void',
872 [param('uint32_t', 'data')])
873 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU64(uint64_t data) [member function]
874 cls.add_method('WriteHtolsbU64',
875 'void',
876 [param('uint64_t', 'data')])
877 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU16(uint16_t data) [member function]
878 cls.add_method('WriteHtonU16',
879 'void',
880 [param('uint16_t', 'data')])
881 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU32(uint32_t data) [member function]
882 cls.add_method('WriteHtonU32',
883 'void',
884 [param('uint32_t', 'data')])
885 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU64(uint64_t data) [member function]
886 cls.add_method('WriteHtonU64',
887 'void',
888 [param('uint64_t', 'data')])
889 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU16(uint16_t data) [member function]
890 cls.add_method('WriteU16',
891 'void',
892 [param('uint16_t', 'data')])
893 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU32(uint32_t data) [member function]
894 cls.add_method('WriteU32',
895 'void',
896 [param('uint32_t', 'data')])
897 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU64(uint64_t data) [member function]
898 cls.add_method('WriteU64',
899 'void',
900 [param('uint64_t', 'data')])
901 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU8(uint8_t data) [member function]
902 cls.add_method('WriteU8',
903 'void',
904 [param('uint8_t', 'data')])
905 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU8(uint8_t data, uint32_t len) [member function]
906 cls.add_method('WriteU8',
907 'void',
908 [param('uint8_t', 'data'), param('uint32_t', 'len')])
909 return
910
911def register_Ns3ByteTagIterator_methods(root_module, cls):
912 ## packet.h (module 'network'): ns3::ByteTagIterator::ByteTagIterator(ns3::ByteTagIterator const & arg0) [copy constructor]
913 cls.add_constructor([param('ns3::ByteTagIterator const &', 'arg0')])
914 ## packet.h (module 'network'): bool ns3::ByteTagIterator::HasNext() const [member function]
915 cls.add_method('HasNext',
916 'bool',
917 [],
918 is_const=True)
919 ## packet.h (module 'network'): ns3::ByteTagIterator::Item ns3::ByteTagIterator::Next() [member function]
920 cls.add_method('Next',
921 'ns3::ByteTagIterator::Item',
922 [])
923 return
924
925def register_Ns3ByteTagIteratorItem_methods(root_module, cls):
926 ## packet.h (module 'network'): ns3::ByteTagIterator::Item::Item(ns3::ByteTagIterator::Item const & arg0) [copy constructor]
927 cls.add_constructor([param('ns3::ByteTagIterator::Item const &', 'arg0')])
928 ## packet.h (module 'network'): uint32_t ns3::ByteTagIterator::Item::GetEnd() const [member function]
929 cls.add_method('GetEnd',
930 'uint32_t',
931 [],
932 is_const=True)
933 ## packet.h (module 'network'): uint32_t ns3::ByteTagIterator::Item::GetStart() const [member function]
934 cls.add_method('GetStart',
935 'uint32_t',
936 [],
937 is_const=True)
938 ## packet.h (module 'network'): void ns3::ByteTagIterator::Item::GetTag(ns3::Tag & tag) const [member function]
939 cls.add_method('GetTag',
940 'void',
941 [param('ns3::Tag &', 'tag')],
942 is_const=True)
943 ## packet.h (module 'network'): ns3::TypeId ns3::ByteTagIterator::Item::GetTypeId() const [member function]
944 cls.add_method('GetTypeId',
945 'ns3::TypeId',
946 [],
947 is_const=True)
948 return
949
950def register_Ns3ByteTagList_methods(root_module, cls):
951 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::ByteTagList() [constructor]
952 cls.add_constructor([])
953 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::ByteTagList(ns3::ByteTagList const & o) [copy constructor]
954 cls.add_constructor([param('ns3::ByteTagList const &', 'o')])
955 ## 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]
956 cls.add_method('Add',
957 'ns3::TagBuffer',
958 [param('ns3::TypeId', 'tid'), param('uint32_t', 'bufferSize'), param('int32_t', 'start'), param('int32_t', 'end')])
959 ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::Add(ns3::ByteTagList const & o) [member function]
960 cls.add_method('Add',
961 'void',
962 [param('ns3::ByteTagList const &', 'o')])
963 ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::AddAtEnd(int32_t adjustment, int32_t appendOffset) [member function]
964 cls.add_method('AddAtEnd',
965 'void',
966 [param('int32_t', 'adjustment'), param('int32_t', 'appendOffset')])
967 ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::AddAtStart(int32_t adjustment, int32_t prependOffset) [member function]
968 cls.add_method('AddAtStart',
969 'void',
970 [param('int32_t', 'adjustment'), param('int32_t', 'prependOffset')])
971 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator ns3::ByteTagList::Begin(int32_t offsetStart, int32_t offsetEnd) const [member function]
972 cls.add_method('Begin',
973 'ns3::ByteTagList::Iterator',
974 [param('int32_t', 'offsetStart'), param('int32_t', 'offsetEnd')],
975 is_const=True)
976 ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::RemoveAll() [member function]
977 cls.add_method('RemoveAll',
978 'void',
979 [])
980 return
981
982def register_Ns3ByteTagListIterator_methods(root_module, cls):
983 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Iterator(ns3::ByteTagList::Iterator const & arg0) [copy constructor]
984 cls.add_constructor([param('ns3::ByteTagList::Iterator const &', 'arg0')])
985 ## byte-tag-list.h (module 'network'): uint32_t ns3::ByteTagList::Iterator::GetOffsetStart() const [member function]
986 cls.add_method('GetOffsetStart',
987 'uint32_t',
988 [],
989 is_const=True)
990 ## byte-tag-list.h (module 'network'): bool ns3::ByteTagList::Iterator::HasNext() const [member function]
991 cls.add_method('HasNext',
992 'bool',
993 [],
994 is_const=True)
995 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item ns3::ByteTagList::Iterator::Next() [member function]
996 cls.add_method('Next',
997 'ns3::ByteTagList::Iterator::Item',
998 [])
999 return
1000
1001def register_Ns3ByteTagListIteratorItem_methods(root_module, cls):
1002 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::Item(ns3::ByteTagList::Iterator::Item const & arg0) [copy constructor]
1003 cls.add_constructor([param('ns3::ByteTagList::Iterator::Item const &', 'arg0')])
1004 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::Item(ns3::TagBuffer buf) [constructor]
1005 cls.add_constructor([param('ns3::TagBuffer', 'buf')])
1006 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::buf [variable]
1007 cls.add_instance_attribute('buf', 'ns3::TagBuffer', is_const=False)
1008 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::end [variable]
1009 cls.add_instance_attribute('end', 'int32_t', is_const=False)
1010 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::size [variable]
1011 cls.add_instance_attribute('size', 'uint32_t', is_const=False)
1012 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::start [variable]
1013 cls.add_instance_attribute('start', 'int32_t', is_const=False)
1014 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::tid [variable]
1015 cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
1016 return
1017
1018def register_Ns3CallbackBase_methods(root_module, cls):
1019 ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase(ns3::CallbackBase const & arg0) [copy constructor]
1020 cls.add_constructor([param('ns3::CallbackBase const &', 'arg0')])
1021 ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase() [constructor]
1022 cls.add_constructor([])
1023 ## callback.h (module 'core'): ns3::Ptr<ns3::CallbackImplBase> ns3::CallbackBase::GetImpl() const [member function]
1024 cls.add_method('GetImpl',
1025 'ns3::Ptr< ns3::CallbackImplBase >',
1026 [],
1027 is_const=True)
1028 ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase(ns3::Ptr<ns3::CallbackImplBase> impl) [constructor]
1029 cls.add_constructor([param('ns3::Ptr< ns3::CallbackImplBase >', 'impl')],
1030 visibility='protected')
1031 ## callback.h (module 'core'): static std::string ns3::CallbackBase::Demangle(std::string const & mangled) [member function]
1032 cls.add_method('Demangle',
1033 'std::string',
1034 [param('std::string const &', 'mangled')],
1035 is_static=True, visibility='protected')
1036 return
1037
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001038def register_Ns3EventId_methods(root_module, cls):
1039 cls.add_binary_comparison_operator('!=')
1040 cls.add_binary_comparison_operator('==')
1041 ## event-id.h (module 'core'): ns3::EventId::EventId(ns3::EventId const & arg0) [copy constructor]
1042 cls.add_constructor([param('ns3::EventId const &', 'arg0')])
1043 ## event-id.h (module 'core'): ns3::EventId::EventId() [constructor]
1044 cls.add_constructor([])
1045 ## event-id.h (module 'core'): ns3::EventId::EventId(ns3::Ptr<ns3::EventImpl> const & impl, uint64_t ts, uint32_t context, uint32_t uid) [constructor]
1046 cls.add_constructor([param('ns3::Ptr< ns3::EventImpl > const &', 'impl'), param('uint64_t', 'ts'), param('uint32_t', 'context'), param('uint32_t', 'uid')])
1047 ## event-id.h (module 'core'): void ns3::EventId::Cancel() [member function]
1048 cls.add_method('Cancel',
1049 'void',
1050 [])
1051 ## event-id.h (module 'core'): uint32_t ns3::EventId::GetContext() const [member function]
1052 cls.add_method('GetContext',
1053 'uint32_t',
1054 [],
1055 is_const=True)
1056 ## event-id.h (module 'core'): uint64_t ns3::EventId::GetTs() const [member function]
1057 cls.add_method('GetTs',
1058 'uint64_t',
1059 [],
1060 is_const=True)
1061 ## event-id.h (module 'core'): uint32_t ns3::EventId::GetUid() const [member function]
1062 cls.add_method('GetUid',
1063 'uint32_t',
1064 [],
1065 is_const=True)
1066 ## event-id.h (module 'core'): bool ns3::EventId::IsExpired() const [member function]
1067 cls.add_method('IsExpired',
1068 'bool',
1069 [],
1070 is_const=True)
1071 ## event-id.h (module 'core'): bool ns3::EventId::IsRunning() const [member function]
1072 cls.add_method('IsRunning',
1073 'bool',
1074 [],
1075 is_const=True)
1076 ## event-id.h (module 'core'): ns3::EventImpl * ns3::EventId::PeekEventImpl() const [member function]
1077 cls.add_method('PeekEventImpl',
1078 'ns3::EventImpl *',
1079 [],
1080 is_const=True)
1081 return
1082
1083def register_Ns3Ipv4Address_methods(root_module, cls):
1084 cls.add_binary_comparison_operator('!=')
1085 cls.add_output_stream_operator()
1086 cls.add_binary_comparison_operator('==')
1087 cls.add_binary_comparison_operator('<')
1088 ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address(ns3::Ipv4Address const & arg0) [copy constructor]
1089 cls.add_constructor([param('ns3::Ipv4Address const &', 'arg0')])
1090 ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address() [constructor]
1091 cls.add_constructor([])
1092 ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address(uint32_t address) [constructor]
1093 cls.add_constructor([param('uint32_t', 'address')])
1094 ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address(char const * address) [constructor]
1095 cls.add_constructor([param('char const *', 'address')])
1096 ## ipv4-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv4Address::CombineMask(ns3::Ipv4Mask const & mask) const [member function]
1097 cls.add_method('CombineMask',
1098 'ns3::Ipv4Address',
1099 [param('ns3::Ipv4Mask const &', 'mask')],
1100 is_const=True)
1101 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::ConvertFrom(ns3::Address const & address) [member function]
1102 cls.add_method('ConvertFrom',
1103 'ns3::Ipv4Address',
1104 [param('ns3::Address const &', 'address')],
1105 is_static=True)
1106 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::Deserialize(uint8_t const * buf) [member function]
1107 cls.add_method('Deserialize',
1108 'ns3::Ipv4Address',
1109 [param('uint8_t const *', 'buf')],
1110 is_static=True)
Alexander Afanasyev4052f952012-06-08 17:57:59 -07001111 ## ipv4-address.h (module 'network'): uint32_t ns3::Ipv4Address::Get() const [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001112 cls.add_method('Get',
Alexander Afanasyev4052f952012-06-08 17:57:59 -07001113 'uint32_t',
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001114 [],
1115 is_const=True)
1116 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetAny() [member function]
1117 cls.add_method('GetAny',
1118 'ns3::Ipv4Address',
1119 [],
1120 is_static=True)
1121 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetBroadcast() [member function]
1122 cls.add_method('GetBroadcast',
1123 'ns3::Ipv4Address',
1124 [],
1125 is_static=True)
1126 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetLoopback() [member function]
1127 cls.add_method('GetLoopback',
1128 'ns3::Ipv4Address',
1129 [],
1130 is_static=True)
1131 ## ipv4-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv4Address::GetSubnetDirectedBroadcast(ns3::Ipv4Mask const & mask) const [member function]
1132 cls.add_method('GetSubnetDirectedBroadcast',
1133 'ns3::Ipv4Address',
1134 [param('ns3::Ipv4Mask const &', 'mask')],
1135 is_const=True)
1136 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetZero() [member function]
1137 cls.add_method('GetZero',
1138 'ns3::Ipv4Address',
1139 [],
1140 is_static=True)
1141 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsBroadcast() const [member function]
1142 cls.add_method('IsBroadcast',
1143 'bool',
1144 [],
1145 is_const=True)
1146 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsEqual(ns3::Ipv4Address const & other) const [member function]
1147 cls.add_method('IsEqual',
1148 'bool',
1149 [param('ns3::Ipv4Address const &', 'other')],
1150 is_const=True)
1151 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsLocalMulticast() const [member function]
1152 cls.add_method('IsLocalMulticast',
1153 'bool',
1154 [],
1155 is_const=True)
1156 ## ipv4-address.h (module 'network'): static bool ns3::Ipv4Address::IsMatchingType(ns3::Address const & address) [member function]
1157 cls.add_method('IsMatchingType',
1158 'bool',
1159 [param('ns3::Address const &', 'address')],
1160 is_static=True)
1161 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsMulticast() const [member function]
1162 cls.add_method('IsMulticast',
1163 'bool',
1164 [],
1165 is_const=True)
1166 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsSubnetDirectedBroadcast(ns3::Ipv4Mask const & mask) const [member function]
1167 cls.add_method('IsSubnetDirectedBroadcast',
1168 'bool',
1169 [param('ns3::Ipv4Mask const &', 'mask')],
1170 is_const=True)
1171 ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Print(std::ostream & os) const [member function]
1172 cls.add_method('Print',
1173 'void',
1174 [param('std::ostream &', 'os')],
1175 is_const=True)
1176 ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Serialize(uint8_t * buf) const [member function]
1177 cls.add_method('Serialize',
1178 'void',
1179 [param('uint8_t *', 'buf')],
1180 is_const=True)
1181 ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Set(uint32_t address) [member function]
1182 cls.add_method('Set',
1183 'void',
1184 [param('uint32_t', 'address')])
1185 ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Set(char const * address) [member function]
1186 cls.add_method('Set',
1187 'void',
1188 [param('char const *', 'address')])
1189 return
1190
1191def register_Ns3Ipv4Mask_methods(root_module, cls):
1192 cls.add_binary_comparison_operator('!=')
1193 cls.add_output_stream_operator()
1194 cls.add_binary_comparison_operator('==')
1195 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask(ns3::Ipv4Mask const & arg0) [copy constructor]
1196 cls.add_constructor([param('ns3::Ipv4Mask const &', 'arg0')])
1197 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask() [constructor]
1198 cls.add_constructor([])
1199 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask(uint32_t mask) [constructor]
1200 cls.add_constructor([param('uint32_t', 'mask')])
1201 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask(char const * mask) [constructor]
1202 cls.add_constructor([param('char const *', 'mask')])
1203 ## ipv4-address.h (module 'network'): uint32_t ns3::Ipv4Mask::Get() const [member function]
1204 cls.add_method('Get',
1205 'uint32_t',
1206 [],
1207 is_const=True)
1208 ## ipv4-address.h (module 'network'): uint32_t ns3::Ipv4Mask::GetInverse() const [member function]
1209 cls.add_method('GetInverse',
1210 'uint32_t',
1211 [],
1212 is_const=True)
1213 ## ipv4-address.h (module 'network'): static ns3::Ipv4Mask ns3::Ipv4Mask::GetLoopback() [member function]
1214 cls.add_method('GetLoopback',
1215 'ns3::Ipv4Mask',
1216 [],
1217 is_static=True)
1218 ## ipv4-address.h (module 'network'): static ns3::Ipv4Mask ns3::Ipv4Mask::GetOnes() [member function]
1219 cls.add_method('GetOnes',
1220 'ns3::Ipv4Mask',
1221 [],
1222 is_static=True)
1223 ## ipv4-address.h (module 'network'): uint16_t ns3::Ipv4Mask::GetPrefixLength() const [member function]
1224 cls.add_method('GetPrefixLength',
1225 'uint16_t',
1226 [],
1227 is_const=True)
1228 ## ipv4-address.h (module 'network'): static ns3::Ipv4Mask ns3::Ipv4Mask::GetZero() [member function]
1229 cls.add_method('GetZero',
1230 'ns3::Ipv4Mask',
1231 [],
1232 is_static=True)
1233 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Mask::IsEqual(ns3::Ipv4Mask other) const [member function]
1234 cls.add_method('IsEqual',
1235 'bool',
1236 [param('ns3::Ipv4Mask', 'other')],
1237 is_const=True)
1238 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Mask::IsMatch(ns3::Ipv4Address a, ns3::Ipv4Address b) const [member function]
1239 cls.add_method('IsMatch',
1240 'bool',
1241 [param('ns3::Ipv4Address', 'a'), param('ns3::Ipv4Address', 'b')],
1242 is_const=True)
1243 ## ipv4-address.h (module 'network'): void ns3::Ipv4Mask::Print(std::ostream & os) const [member function]
1244 cls.add_method('Print',
1245 'void',
1246 [param('std::ostream &', 'os')],
1247 is_const=True)
1248 ## ipv4-address.h (module 'network'): void ns3::Ipv4Mask::Set(uint32_t mask) [member function]
1249 cls.add_method('Set',
1250 'void',
1251 [param('uint32_t', 'mask')])
1252 return
1253
1254def register_Ns3Ipv6Address_methods(root_module, cls):
1255 cls.add_binary_comparison_operator('!=')
1256 cls.add_output_stream_operator()
1257 cls.add_binary_comparison_operator('==')
1258 cls.add_binary_comparison_operator('<')
1259 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address() [constructor]
1260 cls.add_constructor([])
1261 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(char const * address) [constructor]
1262 cls.add_constructor([param('char const *', 'address')])
1263 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(uint8_t * address) [constructor]
1264 cls.add_constructor([param('uint8_t *', 'address')])
1265 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(ns3::Ipv6Address const & addr) [copy constructor]
1266 cls.add_constructor([param('ns3::Ipv6Address const &', 'addr')])
1267 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(ns3::Ipv6Address const * addr) [constructor]
1268 cls.add_constructor([param('ns3::Ipv6Address const *', 'addr')])
1269 ## ipv6-address.h (module 'network'): ns3::Ipv6Address ns3::Ipv6Address::CombinePrefix(ns3::Ipv6Prefix const & prefix) [member function]
1270 cls.add_method('CombinePrefix',
1271 'ns3::Ipv6Address',
1272 [param('ns3::Ipv6Prefix const &', 'prefix')])
1273 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::ConvertFrom(ns3::Address const & address) [member function]
1274 cls.add_method('ConvertFrom',
1275 'ns3::Ipv6Address',
1276 [param('ns3::Address const &', 'address')],
1277 is_static=True)
1278 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::Deserialize(uint8_t const * buf) [member function]
1279 cls.add_method('Deserialize',
1280 'ns3::Ipv6Address',
1281 [param('uint8_t const *', 'buf')],
1282 is_static=True)
1283 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAllHostsMulticast() [member function]
1284 cls.add_method('GetAllHostsMulticast',
1285 'ns3::Ipv6Address',
1286 [],
1287 is_static=True)
1288 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAllNodesMulticast() [member function]
1289 cls.add_method('GetAllNodesMulticast',
1290 'ns3::Ipv6Address',
1291 [],
1292 is_static=True)
1293 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAllRoutersMulticast() [member function]
1294 cls.add_method('GetAllRoutersMulticast',
1295 'ns3::Ipv6Address',
1296 [],
1297 is_static=True)
1298 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAny() [member function]
1299 cls.add_method('GetAny',
1300 'ns3::Ipv6Address',
1301 [],
1302 is_static=True)
1303 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::GetBytes(uint8_t * buf) const [member function]
1304 cls.add_method('GetBytes',
1305 'void',
1306 [param('uint8_t *', 'buf')],
1307 is_const=True)
Alexander Afanasyev6f933532012-02-29 13:30:37 -08001308 ## ipv6-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv6Address::GetIpv4MappedAddress() const [member function]
1309 cls.add_method('GetIpv4MappedAddress',
1310 'ns3::Ipv4Address',
1311 [],
1312 is_const=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001313 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetLoopback() [member function]
1314 cls.add_method('GetLoopback',
1315 'ns3::Ipv6Address',
1316 [],
1317 is_static=True)
1318 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetOnes() [member function]
1319 cls.add_method('GetOnes',
1320 'ns3::Ipv6Address',
1321 [],
1322 is_static=True)
1323 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetZero() [member function]
1324 cls.add_method('GetZero',
1325 'ns3::Ipv6Address',
1326 [],
1327 is_static=True)
1328 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAllHostsMulticast() const [member function]
1329 cls.add_method('IsAllHostsMulticast',
1330 'bool',
1331 [],
1332 is_const=True)
1333 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAllNodesMulticast() const [member function]
1334 cls.add_method('IsAllNodesMulticast',
1335 'bool',
1336 [],
1337 is_const=True)
1338 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAllRoutersMulticast() const [member function]
1339 cls.add_method('IsAllRoutersMulticast',
1340 'bool',
1341 [],
1342 is_const=True)
1343 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAny() const [member function]
1344 cls.add_method('IsAny',
1345 'bool',
1346 [],
1347 is_const=True)
1348 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsEqual(ns3::Ipv6Address const & other) const [member function]
1349 cls.add_method('IsEqual',
1350 'bool',
1351 [param('ns3::Ipv6Address const &', 'other')],
1352 is_const=True)
Alexander Afanasyev6f933532012-02-29 13:30:37 -08001353 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsIpv4MappedAddress() [member function]
1354 cls.add_method('IsIpv4MappedAddress',
1355 'bool',
1356 [])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001357 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsLinkLocal() const [member function]
1358 cls.add_method('IsLinkLocal',
1359 'bool',
1360 [],
1361 is_const=True)
Alexander Afanasyev6f933532012-02-29 13:30:37 -08001362 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsLinkLocalMulticast() const [member function]
1363 cls.add_method('IsLinkLocalMulticast',
1364 'bool',
1365 [],
1366 is_const=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001367 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsLocalhost() const [member function]
1368 cls.add_method('IsLocalhost',
1369 'bool',
1370 [],
1371 is_const=True)
1372 ## ipv6-address.h (module 'network'): static bool ns3::Ipv6Address::IsMatchingType(ns3::Address const & address) [member function]
1373 cls.add_method('IsMatchingType',
1374 'bool',
1375 [param('ns3::Address const &', 'address')],
1376 is_static=True)
1377 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsMulticast() const [member function]
1378 cls.add_method('IsMulticast',
1379 'bool',
1380 [],
1381 is_const=True)
1382 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsSolicitedMulticast() const [member function]
1383 cls.add_method('IsSolicitedMulticast',
1384 'bool',
1385 [],
1386 is_const=True)
1387 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeAutoconfiguredAddress(ns3::Mac48Address addr, ns3::Ipv6Address prefix) [member function]
1388 cls.add_method('MakeAutoconfiguredAddress',
1389 'ns3::Ipv6Address',
1390 [param('ns3::Mac48Address', 'addr'), param('ns3::Ipv6Address', 'prefix')],
1391 is_static=True)
1392 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeAutoconfiguredLinkLocalAddress(ns3::Mac48Address mac) [member function]
1393 cls.add_method('MakeAutoconfiguredLinkLocalAddress',
1394 'ns3::Ipv6Address',
1395 [param('ns3::Mac48Address', 'mac')],
1396 is_static=True)
Alexander Afanasyev6f933532012-02-29 13:30:37 -08001397 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeIpv4MappedAddress(ns3::Ipv4Address addr) [member function]
1398 cls.add_method('MakeIpv4MappedAddress',
1399 'ns3::Ipv6Address',
1400 [param('ns3::Ipv4Address', 'addr')],
1401 is_static=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001402 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeSolicitedAddress(ns3::Ipv6Address addr) [member function]
1403 cls.add_method('MakeSolicitedAddress',
1404 'ns3::Ipv6Address',
1405 [param('ns3::Ipv6Address', 'addr')],
1406 is_static=True)
1407 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Print(std::ostream & os) const [member function]
1408 cls.add_method('Print',
1409 'void',
1410 [param('std::ostream &', 'os')],
1411 is_const=True)
1412 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Serialize(uint8_t * buf) const [member function]
1413 cls.add_method('Serialize',
1414 'void',
1415 [param('uint8_t *', 'buf')],
1416 is_const=True)
1417 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Set(char const * address) [member function]
1418 cls.add_method('Set',
1419 'void',
1420 [param('char const *', 'address')])
1421 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Set(uint8_t * address) [member function]
1422 cls.add_method('Set',
1423 'void',
1424 [param('uint8_t *', 'address')])
1425 return
1426
1427def register_Ns3Ipv6Prefix_methods(root_module, cls):
1428 cls.add_binary_comparison_operator('!=')
1429 cls.add_output_stream_operator()
1430 cls.add_binary_comparison_operator('==')
1431 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix() [constructor]
1432 cls.add_constructor([])
1433 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(uint8_t * prefix) [constructor]
1434 cls.add_constructor([param('uint8_t *', 'prefix')])
1435 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(char const * prefix) [constructor]
1436 cls.add_constructor([param('char const *', 'prefix')])
1437 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(uint8_t prefix) [constructor]
1438 cls.add_constructor([param('uint8_t', 'prefix')])
1439 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(ns3::Ipv6Prefix const & prefix) [copy constructor]
1440 cls.add_constructor([param('ns3::Ipv6Prefix const &', 'prefix')])
1441 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(ns3::Ipv6Prefix const * prefix) [constructor]
1442 cls.add_constructor([param('ns3::Ipv6Prefix const *', 'prefix')])
1443 ## ipv6-address.h (module 'network'): void ns3::Ipv6Prefix::GetBytes(uint8_t * buf) const [member function]
1444 cls.add_method('GetBytes',
1445 'void',
1446 [param('uint8_t *', 'buf')],
1447 is_const=True)
1448 ## ipv6-address.h (module 'network'): static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetLoopback() [member function]
1449 cls.add_method('GetLoopback',
1450 'ns3::Ipv6Prefix',
1451 [],
1452 is_static=True)
1453 ## ipv6-address.h (module 'network'): static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetOnes() [member function]
1454 cls.add_method('GetOnes',
1455 'ns3::Ipv6Prefix',
1456 [],
1457 is_static=True)
1458 ## ipv6-address.h (module 'network'): uint8_t ns3::Ipv6Prefix::GetPrefixLength() const [member function]
1459 cls.add_method('GetPrefixLength',
1460 'uint8_t',
1461 [],
1462 is_const=True)
1463 ## ipv6-address.h (module 'network'): static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetZero() [member function]
1464 cls.add_method('GetZero',
1465 'ns3::Ipv6Prefix',
1466 [],
1467 is_static=True)
1468 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Prefix::IsEqual(ns3::Ipv6Prefix const & other) const [member function]
1469 cls.add_method('IsEqual',
1470 'bool',
1471 [param('ns3::Ipv6Prefix const &', 'other')],
1472 is_const=True)
1473 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Prefix::IsMatch(ns3::Ipv6Address a, ns3::Ipv6Address b) const [member function]
1474 cls.add_method('IsMatch',
1475 'bool',
1476 [param('ns3::Ipv6Address', 'a'), param('ns3::Ipv6Address', 'b')],
1477 is_const=True)
1478 ## ipv6-address.h (module 'network'): void ns3::Ipv6Prefix::Print(std::ostream & os) const [member function]
1479 cls.add_method('Print',
1480 'void',
1481 [param('std::ostream &', 'os')],
1482 is_const=True)
1483 return
1484
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001485def register_Ns3NodeContainer_methods(root_module, cls):
1486 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & arg0) [copy constructor]
1487 cls.add_constructor([param('ns3::NodeContainer const &', 'arg0')])
1488 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer() [constructor]
1489 cls.add_constructor([])
1490 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::Ptr<ns3::Node> node) [constructor]
1491 cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node')])
1492 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(std::string nodeName) [constructor]
1493 cls.add_constructor([param('std::string', 'nodeName')])
1494 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b) [constructor]
1495 cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b')])
1496 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b, ns3::NodeContainer const & c) [constructor]
1497 cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b'), param('ns3::NodeContainer const &', 'c')])
1498 ## 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]
1499 cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b'), param('ns3::NodeContainer const &', 'c'), param('ns3::NodeContainer const &', 'd')])
1500 ## 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]
1501 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')])
1502 ## node-container.h (module 'network'): void ns3::NodeContainer::Add(ns3::NodeContainer other) [member function]
1503 cls.add_method('Add',
1504 'void',
1505 [param('ns3::NodeContainer', 'other')])
1506 ## node-container.h (module 'network'): void ns3::NodeContainer::Add(ns3::Ptr<ns3::Node> node) [member function]
1507 cls.add_method('Add',
1508 'void',
1509 [param('ns3::Ptr< ns3::Node >', 'node')])
1510 ## node-container.h (module 'network'): void ns3::NodeContainer::Add(std::string nodeName) [member function]
1511 cls.add_method('Add',
1512 'void',
1513 [param('std::string', 'nodeName')])
1514 ## 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]
1515 cls.add_method('Begin',
1516 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > >',
1517 [],
1518 is_const=True)
1519 ## node-container.h (module 'network'): void ns3::NodeContainer::Create(uint32_t n) [member function]
1520 cls.add_method('Create',
1521 'void',
1522 [param('uint32_t', 'n')])
1523 ## node-container.h (module 'network'): void ns3::NodeContainer::Create(uint32_t n, uint32_t systemId) [member function]
1524 cls.add_method('Create',
1525 'void',
1526 [param('uint32_t', 'n'), param('uint32_t', 'systemId')])
1527 ## 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]
1528 cls.add_method('End',
1529 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > >',
1530 [],
1531 is_const=True)
1532 ## node-container.h (module 'network'): ns3::Ptr<ns3::Node> ns3::NodeContainer::Get(uint32_t i) const [member function]
1533 cls.add_method('Get',
1534 'ns3::Ptr< ns3::Node >',
1535 [param('uint32_t', 'i')],
1536 is_const=True)
1537 ## node-container.h (module 'network'): static ns3::NodeContainer ns3::NodeContainer::GetGlobal() [member function]
1538 cls.add_method('GetGlobal',
1539 'ns3::NodeContainer',
1540 [],
1541 is_static=True)
1542 ## node-container.h (module 'network'): uint32_t ns3::NodeContainer::GetN() const [member function]
1543 cls.add_method('GetN',
1544 'uint32_t',
1545 [],
1546 is_const=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001547 return
1548
1549def register_Ns3ObjectBase_methods(root_module, cls):
1550 ## object-base.h (module 'core'): ns3::ObjectBase::ObjectBase() [constructor]
1551 cls.add_constructor([])
1552 ## object-base.h (module 'core'): ns3::ObjectBase::ObjectBase(ns3::ObjectBase const & arg0) [copy constructor]
1553 cls.add_constructor([param('ns3::ObjectBase const &', 'arg0')])
1554 ## object-base.h (module 'core'): void ns3::ObjectBase::GetAttribute(std::string name, ns3::AttributeValue & value) const [member function]
1555 cls.add_method('GetAttribute',
1556 'void',
1557 [param('std::string', 'name'), param('ns3::AttributeValue &', 'value')],
1558 is_const=True)
1559 ## object-base.h (module 'core'): bool ns3::ObjectBase::GetAttributeFailSafe(std::string name, ns3::AttributeValue & attribute) const [member function]
1560 cls.add_method('GetAttributeFailSafe',
1561 'bool',
1562 [param('std::string', 'name'), param('ns3::AttributeValue &', 'attribute')],
1563 is_const=True)
1564 ## object-base.h (module 'core'): ns3::TypeId ns3::ObjectBase::GetInstanceTypeId() const [member function]
1565 cls.add_method('GetInstanceTypeId',
1566 'ns3::TypeId',
1567 [],
1568 is_pure_virtual=True, is_const=True, is_virtual=True)
1569 ## object-base.h (module 'core'): static ns3::TypeId ns3::ObjectBase::GetTypeId() [member function]
1570 cls.add_method('GetTypeId',
1571 'ns3::TypeId',
1572 [],
1573 is_static=True)
1574 ## object-base.h (module 'core'): void ns3::ObjectBase::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function]
1575 cls.add_method('SetAttribute',
1576 'void',
1577 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
1578 ## object-base.h (module 'core'): bool ns3::ObjectBase::SetAttributeFailSafe(std::string name, ns3::AttributeValue const & value) [member function]
1579 cls.add_method('SetAttributeFailSafe',
1580 'bool',
1581 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
1582 ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceConnect(std::string name, std::string context, ns3::CallbackBase const & cb) [member function]
1583 cls.add_method('TraceConnect',
1584 'bool',
1585 [param('std::string', 'name'), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')])
1586 ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceConnectWithoutContext(std::string name, ns3::CallbackBase const & cb) [member function]
1587 cls.add_method('TraceConnectWithoutContext',
1588 'bool',
1589 [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')])
1590 ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceDisconnect(std::string name, std::string context, ns3::CallbackBase const & cb) [member function]
1591 cls.add_method('TraceDisconnect',
1592 'bool',
1593 [param('std::string', 'name'), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')])
1594 ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceDisconnectWithoutContext(std::string name, ns3::CallbackBase const & cb) [member function]
1595 cls.add_method('TraceDisconnectWithoutContext',
1596 'bool',
1597 [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')])
1598 ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function]
1599 cls.add_method('ConstructSelf',
1600 'void',
1601 [param('ns3::AttributeConstructionList const &', 'attributes')],
1602 visibility='protected')
1603 ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function]
1604 cls.add_method('NotifyConstructionCompleted',
1605 'void',
1606 [],
1607 visibility='protected', is_virtual=True)
1608 return
1609
1610def register_Ns3ObjectDeleter_methods(root_module, cls):
1611 ## object.h (module 'core'): ns3::ObjectDeleter::ObjectDeleter() [constructor]
1612 cls.add_constructor([])
1613 ## object.h (module 'core'): ns3::ObjectDeleter::ObjectDeleter(ns3::ObjectDeleter const & arg0) [copy constructor]
1614 cls.add_constructor([param('ns3::ObjectDeleter const &', 'arg0')])
1615 ## object.h (module 'core'): static void ns3::ObjectDeleter::Delete(ns3::Object * object) [member function]
1616 cls.add_method('Delete',
1617 'void',
1618 [param('ns3::Object *', 'object')],
1619 is_static=True)
1620 return
1621
1622def register_Ns3ObjectFactory_methods(root_module, cls):
1623 cls.add_output_stream_operator()
1624 ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(ns3::ObjectFactory const & arg0) [copy constructor]
1625 cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')])
1626 ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor]
1627 cls.add_constructor([])
1628 ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor]
1629 cls.add_constructor([param('std::string', 'typeId')])
1630 ## object-factory.h (module 'core'): ns3::Ptr<ns3::Object> ns3::ObjectFactory::Create() const [member function]
1631 cls.add_method('Create',
1632 'ns3::Ptr< ns3::Object >',
1633 [],
1634 is_const=True)
1635 ## object-factory.h (module 'core'): ns3::TypeId ns3::ObjectFactory::GetTypeId() const [member function]
1636 cls.add_method('GetTypeId',
1637 'ns3::TypeId',
1638 [],
1639 is_const=True)
1640 ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(std::string name, ns3::AttributeValue const & value) [member function]
1641 cls.add_method('Set',
1642 'void',
1643 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
1644 ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function]
1645 cls.add_method('SetTypeId',
1646 'void',
1647 [param('ns3::TypeId', 'tid')])
1648 ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(char const * tid) [member function]
1649 cls.add_method('SetTypeId',
1650 'void',
1651 [param('char const *', 'tid')])
1652 ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(std::string tid) [member function]
1653 cls.add_method('SetTypeId',
1654 'void',
1655 [param('std::string', 'tid')])
1656 return
1657
1658def register_Ns3PacketMetadata_methods(root_module, cls):
1659 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::PacketMetadata(uint64_t uid, uint32_t size) [constructor]
1660 cls.add_constructor([param('uint64_t', 'uid'), param('uint32_t', 'size')])
1661 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::PacketMetadata(ns3::PacketMetadata const & o) [copy constructor]
1662 cls.add_constructor([param('ns3::PacketMetadata const &', 'o')])
1663 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddAtEnd(ns3::PacketMetadata const & o) [member function]
1664 cls.add_method('AddAtEnd',
1665 'void',
1666 [param('ns3::PacketMetadata const &', 'o')])
1667 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddHeader(ns3::Header const & header, uint32_t size) [member function]
1668 cls.add_method('AddHeader',
1669 'void',
1670 [param('ns3::Header const &', 'header'), param('uint32_t', 'size')])
1671 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddPaddingAtEnd(uint32_t end) [member function]
1672 cls.add_method('AddPaddingAtEnd',
1673 'void',
1674 [param('uint32_t', 'end')])
1675 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddTrailer(ns3::Trailer const & trailer, uint32_t size) [member function]
1676 cls.add_method('AddTrailer',
1677 'void',
1678 [param('ns3::Trailer const &', 'trailer'), param('uint32_t', 'size')])
1679 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator ns3::PacketMetadata::BeginItem(ns3::Buffer buffer) const [member function]
1680 cls.add_method('BeginItem',
1681 'ns3::PacketMetadata::ItemIterator',
1682 [param('ns3::Buffer', 'buffer')],
1683 is_const=True)
1684 ## packet-metadata.h (module 'network'): ns3::PacketMetadata ns3::PacketMetadata::CreateFragment(uint32_t start, uint32_t end) const [member function]
1685 cls.add_method('CreateFragment',
1686 'ns3::PacketMetadata',
1687 [param('uint32_t', 'start'), param('uint32_t', 'end')],
1688 is_const=True)
1689 ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::Deserialize(uint8_t const * buffer, uint32_t size) [member function]
1690 cls.add_method('Deserialize',
1691 'uint32_t',
1692 [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
1693 ## packet-metadata.h (module 'network'): static void ns3::PacketMetadata::Enable() [member function]
1694 cls.add_method('Enable',
1695 'void',
1696 [],
1697 is_static=True)
1698 ## packet-metadata.h (module 'network'): static void ns3::PacketMetadata::EnableChecking() [member function]
1699 cls.add_method('EnableChecking',
1700 'void',
1701 [],
1702 is_static=True)
1703 ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::GetSerializedSize() const [member function]
1704 cls.add_method('GetSerializedSize',
1705 'uint32_t',
1706 [],
1707 is_const=True)
1708 ## packet-metadata.h (module 'network'): uint64_t ns3::PacketMetadata::GetUid() const [member function]
1709 cls.add_method('GetUid',
1710 'uint64_t',
1711 [],
1712 is_const=True)
1713 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveAtEnd(uint32_t end) [member function]
1714 cls.add_method('RemoveAtEnd',
1715 'void',
1716 [param('uint32_t', 'end')])
1717 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveAtStart(uint32_t start) [member function]
1718 cls.add_method('RemoveAtStart',
1719 'void',
1720 [param('uint32_t', 'start')])
1721 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveHeader(ns3::Header const & header, uint32_t size) [member function]
1722 cls.add_method('RemoveHeader',
1723 'void',
1724 [param('ns3::Header const &', 'header'), param('uint32_t', 'size')])
1725 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveTrailer(ns3::Trailer const & trailer, uint32_t size) [member function]
1726 cls.add_method('RemoveTrailer',
1727 'void',
1728 [param('ns3::Trailer const &', 'trailer'), param('uint32_t', 'size')])
1729 ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
1730 cls.add_method('Serialize',
1731 'uint32_t',
1732 [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')],
1733 is_const=True)
1734 return
1735
1736def register_Ns3PacketMetadataItem_methods(root_module, cls):
1737 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::Item() [constructor]
1738 cls.add_constructor([])
1739 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::Item(ns3::PacketMetadata::Item const & arg0) [copy constructor]
1740 cls.add_constructor([param('ns3::PacketMetadata::Item const &', 'arg0')])
1741 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::current [variable]
1742 cls.add_instance_attribute('current', 'ns3::Buffer::Iterator', is_const=False)
1743 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentSize [variable]
1744 cls.add_instance_attribute('currentSize', 'uint32_t', is_const=False)
1745 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentTrimedFromEnd [variable]
1746 cls.add_instance_attribute('currentTrimedFromEnd', 'uint32_t', is_const=False)
1747 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentTrimedFromStart [variable]
1748 cls.add_instance_attribute('currentTrimedFromStart', 'uint32_t', is_const=False)
1749 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::isFragment [variable]
1750 cls.add_instance_attribute('isFragment', 'bool', is_const=False)
1751 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::tid [variable]
1752 cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
1753 return
1754
1755def register_Ns3PacketMetadataItemIterator_methods(root_module, cls):
1756 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator::ItemIterator(ns3::PacketMetadata::ItemIterator const & arg0) [copy constructor]
1757 cls.add_constructor([param('ns3::PacketMetadata::ItemIterator const &', 'arg0')])
1758 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator::ItemIterator(ns3::PacketMetadata const * metadata, ns3::Buffer buffer) [constructor]
1759 cls.add_constructor([param('ns3::PacketMetadata const *', 'metadata'), param('ns3::Buffer', 'buffer')])
1760 ## packet-metadata.h (module 'network'): bool ns3::PacketMetadata::ItemIterator::HasNext() const [member function]
1761 cls.add_method('HasNext',
1762 'bool',
1763 [],
1764 is_const=True)
1765 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item ns3::PacketMetadata::ItemIterator::Next() [member function]
1766 cls.add_method('Next',
1767 'ns3::PacketMetadata::Item',
1768 [])
1769 return
1770
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001771def register_Ns3PacketTagIterator_methods(root_module, cls):
1772 ## packet.h (module 'network'): ns3::PacketTagIterator::PacketTagIterator(ns3::PacketTagIterator const & arg0) [copy constructor]
1773 cls.add_constructor([param('ns3::PacketTagIterator const &', 'arg0')])
1774 ## packet.h (module 'network'): bool ns3::PacketTagIterator::HasNext() const [member function]
1775 cls.add_method('HasNext',
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001776 'bool',
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001777 [],
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001778 is_const=True)
1779 ## packet.h (module 'network'): ns3::PacketTagIterator::Item ns3::PacketTagIterator::Next() [member function]
1780 cls.add_method('Next',
1781 'ns3::PacketTagIterator::Item',
1782 [])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001783 return
1784
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001785def register_Ns3PacketTagIteratorItem_methods(root_module, cls):
1786 ## packet.h (module 'network'): ns3::PacketTagIterator::Item::Item(ns3::PacketTagIterator::Item const & arg0) [copy constructor]
1787 cls.add_constructor([param('ns3::PacketTagIterator::Item const &', 'arg0')])
1788 ## packet.h (module 'network'): void ns3::PacketTagIterator::Item::GetTag(ns3::Tag & tag) const [member function]
1789 cls.add_method('GetTag',
1790 'void',
1791 [param('ns3::Tag &', 'tag')],
1792 is_const=True)
1793 ## packet.h (module 'network'): ns3::TypeId ns3::PacketTagIterator::Item::GetTypeId() const [member function]
1794 cls.add_method('GetTypeId',
1795 'ns3::TypeId',
1796 [],
1797 is_const=True)
1798 return
1799
1800def register_Ns3PacketTagList_methods(root_module, cls):
1801 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::PacketTagList() [constructor]
1802 cls.add_constructor([])
1803 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::PacketTagList(ns3::PacketTagList const & o) [copy constructor]
1804 cls.add_constructor([param('ns3::PacketTagList const &', 'o')])
1805 ## packet-tag-list.h (module 'network'): void ns3::PacketTagList::Add(ns3::Tag const & tag) const [member function]
1806 cls.add_method('Add',
1807 'void',
1808 [param('ns3::Tag const &', 'tag')],
1809 is_const=True)
1810 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData const * ns3::PacketTagList::Head() const [member function]
1811 cls.add_method('Head',
1812 'ns3::PacketTagList::TagData const *',
1813 [],
1814 is_const=True)
1815 ## packet-tag-list.h (module 'network'): bool ns3::PacketTagList::Peek(ns3::Tag & tag) const [member function]
1816 cls.add_method('Peek',
1817 'bool',
1818 [param('ns3::Tag &', 'tag')],
1819 is_const=True)
1820 ## packet-tag-list.h (module 'network'): bool ns3::PacketTagList::Remove(ns3::Tag & tag) [member function]
1821 cls.add_method('Remove',
1822 'bool',
1823 [param('ns3::Tag &', 'tag')])
1824 ## packet-tag-list.h (module 'network'): void ns3::PacketTagList::RemoveAll() [member function]
1825 cls.add_method('RemoveAll',
1826 'void',
1827 [])
1828 return
1829
1830def register_Ns3PacketTagListTagData_methods(root_module, cls):
1831 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::TagData() [constructor]
1832 cls.add_constructor([])
1833 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::TagData(ns3::PacketTagList::TagData const & arg0) [copy constructor]
1834 cls.add_constructor([param('ns3::PacketTagList::TagData const &', 'arg0')])
1835 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::count [variable]
1836 cls.add_instance_attribute('count', 'uint32_t', is_const=False)
1837 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::data [variable]
1838 cls.add_instance_attribute('data', 'uint8_t [ 20 ]', is_const=False)
1839 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::next [variable]
1840 cls.add_instance_attribute('next', 'ns3::PacketTagList::TagData *', is_const=False)
1841 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::tid [variable]
1842 cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001843 return
1844
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001845def register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, cls):
1846 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter>::SimpleRefCount() [constructor]
1847 cls.add_constructor([])
1848 ## 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]
1849 cls.add_constructor([param('ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter > const &', 'o')])
1850 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter>::Cleanup() [member function]
1851 cls.add_method('Cleanup',
1852 'void',
1853 [],
1854 is_static=True)
1855 return
1856
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001857def register_Ns3Tag_methods(root_module, cls):
1858 ## tag.h (module 'network'): ns3::Tag::Tag() [constructor]
Alexander Afanasyev4975f732011-12-20 17:52:19 -08001859 cls.add_constructor([])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001860 ## tag.h (module 'network'): ns3::Tag::Tag(ns3::Tag const & arg0) [copy constructor]
1861 cls.add_constructor([param('ns3::Tag const &', 'arg0')])
1862 ## tag.h (module 'network'): void ns3::Tag::Deserialize(ns3::TagBuffer i) [member function]
1863 cls.add_method('Deserialize',
Alexander Afanasyev4975f732011-12-20 17:52:19 -08001864 'void',
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001865 [param('ns3::TagBuffer', 'i')],
1866 is_pure_virtual=True, is_virtual=True)
1867 ## tag.h (module 'network'): uint32_t ns3::Tag::GetSerializedSize() const [member function]
1868 cls.add_method('GetSerializedSize',
1869 'uint32_t',
1870 [],
1871 is_pure_virtual=True, is_const=True, is_virtual=True)
1872 ## tag.h (module 'network'): static ns3::TypeId ns3::Tag::GetTypeId() [member function]
1873 cls.add_method('GetTypeId',
1874 'ns3::TypeId',
1875 [],
Alexander Afanasyev4975f732011-12-20 17:52:19 -08001876 is_static=True)
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001877 ## tag.h (module 'network'): void ns3::Tag::Print(std::ostream & os) const [member function]
1878 cls.add_method('Print',
Alexander Afanasyev4975f732011-12-20 17:52:19 -08001879 'void',
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001880 [param('std::ostream &', 'os')],
1881 is_pure_virtual=True, is_const=True, is_virtual=True)
1882 ## tag.h (module 'network'): void ns3::Tag::Serialize(ns3::TagBuffer i) const [member function]
1883 cls.add_method('Serialize',
1884 'void',
1885 [param('ns3::TagBuffer', 'i')],
1886 is_pure_virtual=True, is_const=True, is_virtual=True)
Alexander Afanasyev4975f732011-12-20 17:52:19 -08001887 return
1888
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001889def register_Ns3TagBuffer_methods(root_module, cls):
1890 ## tag-buffer.h (module 'network'): ns3::TagBuffer::TagBuffer(ns3::TagBuffer const & arg0) [copy constructor]
1891 cls.add_constructor([param('ns3::TagBuffer const &', 'arg0')])
1892 ## tag-buffer.h (module 'network'): ns3::TagBuffer::TagBuffer(uint8_t * start, uint8_t * end) [constructor]
1893 cls.add_constructor([param('uint8_t *', 'start'), param('uint8_t *', 'end')])
1894 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::CopyFrom(ns3::TagBuffer o) [member function]
1895 cls.add_method('CopyFrom',
1896 'void',
1897 [param('ns3::TagBuffer', 'o')])
1898 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::Read(uint8_t * buffer, uint32_t size) [member function]
1899 cls.add_method('Read',
1900 'void',
1901 [param('uint8_t *', 'buffer'), param('uint32_t', 'size')])
1902 ## tag-buffer.h (module 'network'): double ns3::TagBuffer::ReadDouble() [member function]
1903 cls.add_method('ReadDouble',
1904 'double',
1905 [])
1906 ## tag-buffer.h (module 'network'): uint16_t ns3::TagBuffer::ReadU16() [member function]
1907 cls.add_method('ReadU16',
1908 'uint16_t',
1909 [])
1910 ## tag-buffer.h (module 'network'): uint32_t ns3::TagBuffer::ReadU32() [member function]
1911 cls.add_method('ReadU32',
1912 'uint32_t',
1913 [])
1914 ## tag-buffer.h (module 'network'): uint64_t ns3::TagBuffer::ReadU64() [member function]
1915 cls.add_method('ReadU64',
1916 'uint64_t',
1917 [])
1918 ## tag-buffer.h (module 'network'): uint8_t ns3::TagBuffer::ReadU8() [member function]
1919 cls.add_method('ReadU8',
1920 'uint8_t',
1921 [])
1922 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::TrimAtEnd(uint32_t trim) [member function]
1923 cls.add_method('TrimAtEnd',
1924 'void',
1925 [param('uint32_t', 'trim')])
1926 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::Write(uint8_t const * buffer, uint32_t size) [member function]
1927 cls.add_method('Write',
1928 'void',
1929 [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
1930 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteDouble(double v) [member function]
1931 cls.add_method('WriteDouble',
1932 'void',
1933 [param('double', 'v')])
1934 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU16(uint16_t data) [member function]
1935 cls.add_method('WriteU16',
1936 'void',
1937 [param('uint16_t', 'data')])
1938 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU32(uint32_t data) [member function]
1939 cls.add_method('WriteU32',
1940 'void',
1941 [param('uint32_t', 'data')])
1942 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU64(uint64_t v) [member function]
1943 cls.add_method('WriteU64',
1944 'void',
1945 [param('uint64_t', 'v')])
1946 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU8(uint8_t v) [member function]
1947 cls.add_method('WriteU8',
1948 'void',
1949 [param('uint8_t', 'v')])
1950 return
1951
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001952def register_Ns3TypeId_methods(root_module, cls):
1953 cls.add_binary_comparison_operator('!=')
1954 cls.add_output_stream_operator()
1955 cls.add_binary_comparison_operator('==')
1956 cls.add_binary_comparison_operator('<')
1957 ## type-id.h (module 'core'): ns3::TypeId::TypeId(char const * name) [constructor]
1958 cls.add_constructor([param('char const *', 'name')])
1959 ## type-id.h (module 'core'): ns3::TypeId::TypeId() [constructor]
1960 cls.add_constructor([])
1961 ## type-id.h (module 'core'): ns3::TypeId::TypeId(ns3::TypeId const & o) [copy constructor]
1962 cls.add_constructor([param('ns3::TypeId const &', 'o')])
1963 ## 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]
1964 cls.add_method('AddAttribute',
1965 'ns3::TypeId',
1966 [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')])
1967 ## 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]
1968 cls.add_method('AddAttribute',
1969 'ns3::TypeId',
1970 [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')])
1971 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr<ns3::TraceSourceAccessor const> accessor) [member function]
1972 cls.add_method('AddTraceSource',
1973 'ns3::TypeId',
1974 [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')])
1975 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function]
1976 cls.add_method('GetAttribute',
1977 'ns3::TypeId::AttributeInformation',
1978 [param('uint32_t', 'i')],
1979 is_const=True)
1980 ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function]
1981 cls.add_method('GetAttributeFullName',
1982 'std::string',
1983 [param('uint32_t', 'i')],
1984 is_const=True)
1985 ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function]
1986 cls.add_method('GetAttributeN',
1987 'uint32_t',
1988 [],
1989 is_const=True)
1990 ## 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]
1991 cls.add_method('GetConstructor',
1992 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >',
1993 [],
1994 is_const=True)
1995 ## type-id.h (module 'core'): std::string ns3::TypeId::GetGroupName() const [member function]
1996 cls.add_method('GetGroupName',
1997 'std::string',
1998 [],
1999 is_const=True)
2000 ## type-id.h (module 'core'): std::string ns3::TypeId::GetName() const [member function]
2001 cls.add_method('GetName',
2002 'std::string',
2003 [],
2004 is_const=True)
2005 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::GetParent() const [member function]
2006 cls.add_method('GetParent',
2007 'ns3::TypeId',
2008 [],
2009 is_const=True)
2010 ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::GetRegistered(uint32_t i) [member function]
2011 cls.add_method('GetRegistered',
2012 'ns3::TypeId',
2013 [param('uint32_t', 'i')],
2014 is_static=True)
2015 ## type-id.h (module 'core'): static uint32_t ns3::TypeId::GetRegisteredN() [member function]
2016 cls.add_method('GetRegisteredN',
2017 'uint32_t',
2018 [],
2019 is_static=True)
2020 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function]
2021 cls.add_method('GetTraceSource',
2022 'ns3::TypeId::TraceSourceInformation',
2023 [param('uint32_t', 'i')],
2024 is_const=True)
2025 ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function]
2026 cls.add_method('GetTraceSourceN',
2027 'uint32_t',
2028 [],
2029 is_const=True)
2030 ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function]
2031 cls.add_method('GetUid',
2032 'uint16_t',
2033 [],
2034 is_const=True)
2035 ## type-id.h (module 'core'): bool ns3::TypeId::HasConstructor() const [member function]
2036 cls.add_method('HasConstructor',
2037 'bool',
2038 [],
2039 is_const=True)
2040 ## type-id.h (module 'core'): bool ns3::TypeId::HasParent() const [member function]
2041 cls.add_method('HasParent',
2042 'bool',
2043 [],
2044 is_const=True)
2045 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::HideFromDocumentation() [member function]
2046 cls.add_method('HideFromDocumentation',
2047 'ns3::TypeId',
2048 [])
2049 ## type-id.h (module 'core'): bool ns3::TypeId::IsChildOf(ns3::TypeId other) const [member function]
2050 cls.add_method('IsChildOf',
2051 'bool',
2052 [param('ns3::TypeId', 'other')],
2053 is_const=True)
2054 ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function]
2055 cls.add_method('LookupAttributeByName',
2056 'bool',
Alexander Afanasyev6f933532012-02-29 13:30:37 -08002057 [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info', transfer_ownership=False)],
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002058 is_const=True)
2059 ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function]
2060 cls.add_method('LookupByName',
2061 'ns3::TypeId',
2062 [param('std::string', 'name')],
2063 is_static=True)
2064 ## type-id.h (module 'core'): ns3::Ptr<ns3::TraceSourceAccessor const> ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function]
2065 cls.add_method('LookupTraceSourceByName',
2066 'ns3::Ptr< ns3::TraceSourceAccessor const >',
2067 [param('std::string', 'name')],
2068 is_const=True)
2069 ## type-id.h (module 'core'): bool ns3::TypeId::MustHideFromDocumentation() const [member function]
2070 cls.add_method('MustHideFromDocumentation',
2071 'bool',
2072 [],
2073 is_const=True)
2074 ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr<ns3::AttributeValue const> initialValue) [member function]
2075 cls.add_method('SetAttributeInitialValue',
2076 'bool',
2077 [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')])
2078 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function]
2079 cls.add_method('SetGroupName',
2080 'ns3::TypeId',
2081 [param('std::string', 'groupName')])
2082 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetParent(ns3::TypeId tid) [member function]
2083 cls.add_method('SetParent',
2084 'ns3::TypeId',
2085 [param('ns3::TypeId', 'tid')])
2086 ## type-id.h (module 'core'): void ns3::TypeId::SetUid(uint16_t tid) [member function]
2087 cls.add_method('SetUid',
2088 'void',
2089 [param('uint16_t', 'tid')])
2090 return
2091
2092def register_Ns3TypeIdAttributeInformation_methods(root_module, cls):
2093 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor]
2094 cls.add_constructor([])
2095 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor]
2096 cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')])
2097 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable]
2098 cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False)
2099 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable]
2100 cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False)
2101 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable]
2102 cls.add_instance_attribute('flags', 'uint32_t', is_const=False)
2103 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable]
2104 cls.add_instance_attribute('help', 'std::string', is_const=False)
2105 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable]
2106 cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False)
2107 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable]
2108 cls.add_instance_attribute('name', 'std::string', is_const=False)
2109 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable]
2110 cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False)
2111 return
2112
2113def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls):
2114 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor]
2115 cls.add_constructor([])
2116 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor]
2117 cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')])
2118 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable]
2119 cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False)
2120 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable]
2121 cls.add_instance_attribute('help', 'std::string', is_const=False)
2122 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable]
2123 cls.add_instance_attribute('name', 'std::string', is_const=False)
2124 return
2125
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002126def register_Ns3Empty_methods(root_module, cls):
2127 ## empty.h (module 'core'): ns3::empty::empty() [constructor]
2128 cls.add_constructor([])
2129 ## empty.h (module 'core'): ns3::empty::empty(ns3::empty const & arg0) [copy constructor]
2130 cls.add_constructor([param('ns3::empty const &', 'arg0')])
2131 return
2132
2133def register_Ns3Int64x64_t_methods(root_module, cls):
Alexander Afanasyev1ba09b82012-07-09 09:16:14 -07002134 cls.add_binary_comparison_operator('<=')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002135 cls.add_binary_comparison_operator('!=')
2136 cls.add_inplace_numeric_operator('*=', param('ns3::int64x64_t const &', 'right'))
2137 cls.add_inplace_numeric_operator('+=', param('ns3::int64x64_t const &', 'right'))
2138 cls.add_inplace_numeric_operator('-=', param('ns3::int64x64_t const &', 'right'))
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002139 cls.add_output_stream_operator()
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002140 cls.add_binary_comparison_operator('==')
2141 cls.add_binary_comparison_operator('>=')
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002142 cls.add_inplace_numeric_operator('/=', param('ns3::int64x64_t const &', 'right'))
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002143 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
2144 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
2145 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
2146 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
2147 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
2148 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
2149 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
2150 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
2151 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
2152 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
2153 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
2154 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
2155 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
2156 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
2157 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
2158 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
2159 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
2160 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
2161 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
2162 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
2163 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
2164 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
2165 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
2166 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
2167 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
2168 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
2169 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
2170 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
2171 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
2172 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
2173 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
2174 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
2175 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
2176 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
2177 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
2178 cls.add_unary_numeric_operator('-')
2179 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
2180 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
2181 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
2182 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
2183 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
2184 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
2185 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
2186 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
2187 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
2188 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
2189 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
2190 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
2191 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
2192 cls.add_binary_comparison_operator('<')
2193 cls.add_binary_comparison_operator('>')
2194 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t() [constructor]
2195 cls.add_constructor([])
2196 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(double v) [constructor]
2197 cls.add_constructor([param('double', 'v')])
2198 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(int v) [constructor]
2199 cls.add_constructor([param('int', 'v')])
2200 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long int v) [constructor]
2201 cls.add_constructor([param('long int', 'v')])
2202 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long long int v) [constructor]
2203 cls.add_constructor([param('long long int', 'v')])
2204 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(unsigned int v) [constructor]
2205 cls.add_constructor([param('unsigned int', 'v')])
2206 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long unsigned int v) [constructor]
2207 cls.add_constructor([param('long unsigned int', 'v')])
2208 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long long unsigned int v) [constructor]
2209 cls.add_constructor([param('long long unsigned int', 'v')])
2210 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(int64_t hi, uint64_t lo) [constructor]
2211 cls.add_constructor([param('int64_t', 'hi'), param('uint64_t', 'lo')])
2212 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(ns3::int64x64_t const & o) [copy constructor]
2213 cls.add_constructor([param('ns3::int64x64_t const &', 'o')])
2214 ## int64x64-double.h (module 'core'): double ns3::int64x64_t::GetDouble() const [member function]
2215 cls.add_method('GetDouble',
2216 'double',
2217 [],
2218 is_const=True)
2219 ## int64x64-double.h (module 'core'): int64_t ns3::int64x64_t::GetHigh() const [member function]
2220 cls.add_method('GetHigh',
2221 'int64_t',
2222 [],
2223 is_const=True)
2224 ## int64x64-double.h (module 'core'): uint64_t ns3::int64x64_t::GetLow() const [member function]
2225 cls.add_method('GetLow',
2226 'uint64_t',
2227 [],
2228 is_const=True)
2229 ## int64x64-double.h (module 'core'): static ns3::int64x64_t ns3::int64x64_t::Invert(uint64_t v) [member function]
2230 cls.add_method('Invert',
2231 'ns3::int64x64_t',
2232 [param('uint64_t', 'v')],
2233 is_static=True)
2234 ## int64x64-double.h (module 'core'): void ns3::int64x64_t::MulByInvert(ns3::int64x64_t const & o) [member function]
2235 cls.add_method('MulByInvert',
2236 'void',
2237 [param('ns3::int64x64_t const &', 'o')])
2238 return
2239
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002240def register_Ns3Chunk_methods(root_module, cls):
2241 ## chunk.h (module 'network'): ns3::Chunk::Chunk() [constructor]
2242 cls.add_constructor([])
2243 ## chunk.h (module 'network'): ns3::Chunk::Chunk(ns3::Chunk const & arg0) [copy constructor]
2244 cls.add_constructor([param('ns3::Chunk const &', 'arg0')])
2245 ## chunk.h (module 'network'): uint32_t ns3::Chunk::Deserialize(ns3::Buffer::Iterator start) [member function]
2246 cls.add_method('Deserialize',
2247 'uint32_t',
2248 [param('ns3::Buffer::Iterator', 'start')],
2249 is_pure_virtual=True, is_virtual=True)
2250 ## chunk.h (module 'network'): static ns3::TypeId ns3::Chunk::GetTypeId() [member function]
2251 cls.add_method('GetTypeId',
2252 'ns3::TypeId',
2253 [],
2254 is_static=True)
2255 ## chunk.h (module 'network'): void ns3::Chunk::Print(std::ostream & os) const [member function]
2256 cls.add_method('Print',
2257 'void',
2258 [param('std::ostream &', 'os')],
2259 is_pure_virtual=True, is_const=True, is_virtual=True)
2260 return
2261
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002262def register_Ns3Header_methods(root_module, cls):
2263 cls.add_output_stream_operator()
2264 ## header.h (module 'network'): ns3::Header::Header() [constructor]
2265 cls.add_constructor([])
2266 ## header.h (module 'network'): ns3::Header::Header(ns3::Header const & arg0) [copy constructor]
2267 cls.add_constructor([param('ns3::Header const &', 'arg0')])
2268 ## header.h (module 'network'): uint32_t ns3::Header::Deserialize(ns3::Buffer::Iterator start) [member function]
2269 cls.add_method('Deserialize',
2270 'uint32_t',
2271 [param('ns3::Buffer::Iterator', 'start')],
2272 is_pure_virtual=True, is_virtual=True)
2273 ## header.h (module 'network'): uint32_t ns3::Header::GetSerializedSize() const [member function]
2274 cls.add_method('GetSerializedSize',
2275 'uint32_t',
2276 [],
2277 is_pure_virtual=True, is_const=True, is_virtual=True)
2278 ## header.h (module 'network'): static ns3::TypeId ns3::Header::GetTypeId() [member function]
2279 cls.add_method('GetTypeId',
2280 'ns3::TypeId',
2281 [],
2282 is_static=True)
2283 ## header.h (module 'network'): void ns3::Header::Print(std::ostream & os) const [member function]
2284 cls.add_method('Print',
2285 'void',
2286 [param('std::ostream &', 'os')],
2287 is_pure_virtual=True, is_const=True, is_virtual=True)
2288 ## header.h (module 'network'): void ns3::Header::Serialize(ns3::Buffer::Iterator start) const [member function]
2289 cls.add_method('Serialize',
2290 'void',
2291 [param('ns3::Buffer::Iterator', 'start')],
2292 is_pure_virtual=True, is_const=True, is_virtual=True)
2293 return
2294
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002295def register_Ns3Object_methods(root_module, cls):
2296 ## object.h (module 'core'): ns3::Object::Object() [constructor]
2297 cls.add_constructor([])
2298 ## object.h (module 'core'): void ns3::Object::AggregateObject(ns3::Ptr<ns3::Object> other) [member function]
2299 cls.add_method('AggregateObject',
2300 'void',
2301 [param('ns3::Ptr< ns3::Object >', 'other')])
2302 ## object.h (module 'core'): void ns3::Object::Dispose() [member function]
2303 cls.add_method('Dispose',
2304 'void',
2305 [])
2306 ## object.h (module 'core'): ns3::Object::AggregateIterator ns3::Object::GetAggregateIterator() const [member function]
2307 cls.add_method('GetAggregateIterator',
2308 'ns3::Object::AggregateIterator',
2309 [],
2310 is_const=True)
2311 ## object.h (module 'core'): ns3::TypeId ns3::Object::GetInstanceTypeId() const [member function]
2312 cls.add_method('GetInstanceTypeId',
2313 'ns3::TypeId',
2314 [],
2315 is_const=True, is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07002316 ## object.h (module 'core'): ns3::Ptr<ns3::ndn::Fib> ns3::Object::GetObject() const [member function]
Alexander Afanasyev1c0248b2012-07-24 15:59:50 -07002317 cls.add_method('GetObject',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07002318 'ns3::Ptr< ns3::ndn::Fib >',
Alexander Afanasyev1c0248b2012-07-24 15:59:50 -07002319 [],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07002320 is_const=True, template_parameters=['ns3::ndn::Fib'])
2321 ## object.h (module 'core'): ns3::Ptr<ns3::ndn::Pit> ns3::Object::GetObject() const [member function]
Alexander Afanasyev5feb38b2012-08-09 11:01:43 -07002322 cls.add_method('GetObject',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07002323 'ns3::Ptr< ns3::ndn::Pit >',
Alexander Afanasyev5feb38b2012-08-09 11:01:43 -07002324 [],
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07002325 is_const=True, template_parameters=['ns3::ndn::Pit'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002326 ## object.h (module 'core'): static ns3::TypeId ns3::Object::GetTypeId() [member function]
2327 cls.add_method('GetTypeId',
2328 'ns3::TypeId',
2329 [],
2330 is_static=True)
2331 ## object.h (module 'core'): void ns3::Object::Start() [member function]
2332 cls.add_method('Start',
2333 'void',
2334 [])
2335 ## object.h (module 'core'): ns3::Object::Object(ns3::Object const & o) [copy constructor]
2336 cls.add_constructor([param('ns3::Object const &', 'o')],
2337 visibility='protected')
2338 ## object.h (module 'core'): void ns3::Object::DoDispose() [member function]
2339 cls.add_method('DoDispose',
2340 'void',
2341 [],
2342 visibility='protected', is_virtual=True)
2343 ## object.h (module 'core'): void ns3::Object::DoStart() [member function]
2344 cls.add_method('DoStart',
2345 'void',
2346 [],
2347 visibility='protected', is_virtual=True)
2348 ## object.h (module 'core'): void ns3::Object::NotifyNewAggregate() [member function]
2349 cls.add_method('NotifyNewAggregate',
2350 'void',
2351 [],
2352 visibility='protected', is_virtual=True)
2353 return
2354
2355def register_Ns3ObjectAggregateIterator_methods(root_module, cls):
2356 ## object.h (module 'core'): ns3::Object::AggregateIterator::AggregateIterator(ns3::Object::AggregateIterator const & arg0) [copy constructor]
2357 cls.add_constructor([param('ns3::Object::AggregateIterator const &', 'arg0')])
2358 ## object.h (module 'core'): ns3::Object::AggregateIterator::AggregateIterator() [constructor]
2359 cls.add_constructor([])
2360 ## object.h (module 'core'): bool ns3::Object::AggregateIterator::HasNext() const [member function]
2361 cls.add_method('HasNext',
2362 'bool',
2363 [],
2364 is_const=True)
2365 ## object.h (module 'core'): ns3::Ptr<ns3::Object const> ns3::Object::AggregateIterator::Next() [member function]
2366 cls.add_method('Next',
2367 'ns3::Ptr< ns3::Object const >',
2368 [])
2369 return
2370
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002371def register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, cls):
2372 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >::SimpleRefCount() [constructor]
2373 cls.add_constructor([])
2374 ## 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]
2375 cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter< ns3::AttributeAccessor > > const &', 'o')])
2376 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >::Cleanup() [member function]
2377 cls.add_method('Cleanup',
2378 'void',
2379 [],
2380 is_static=True)
2381 return
2382
2383def register_Ns3SimpleRefCount__Ns3AttributeChecker_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeChecker__gt___methods(root_module, cls):
2384 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >::SimpleRefCount() [constructor]
2385 cls.add_constructor([])
2386 ## 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]
2387 cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter< ns3::AttributeChecker > > const &', 'o')])
2388 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >::Cleanup() [member function]
2389 cls.add_method('Cleanup',
2390 'void',
2391 [],
2392 is_static=True)
2393 return
2394
2395def register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeValue__gt___methods(root_module, cls):
2396 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >::SimpleRefCount() [constructor]
2397 cls.add_constructor([])
2398 ## 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]
2399 cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter< ns3::AttributeValue > > const &', 'o')])
2400 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >::Cleanup() [member function]
2401 cls.add_method('Cleanup',
2402 'void',
2403 [],
2404 is_static=True)
2405 return
2406
2407def register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__lt__ns3CallbackImplBase__gt___methods(root_module, cls):
2408 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >::SimpleRefCount() [constructor]
2409 cls.add_constructor([])
2410 ## 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]
2411 cls.add_constructor([param('ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter< ns3::CallbackImplBase > > const &', 'o')])
2412 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >::Cleanup() [member function]
2413 cls.add_method('Cleanup',
2414 'void',
2415 [],
2416 is_static=True)
2417 return
2418
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002419def register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__gt___methods(root_module, cls):
2420 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >::SimpleRefCount() [constructor]
2421 cls.add_constructor([])
2422 ## 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]
2423 cls.add_constructor([param('ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter< ns3::EventImpl > > const &', 'o')])
2424 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >::Cleanup() [member function]
2425 cls.add_method('Cleanup',
2426 'void',
2427 [],
2428 is_static=True)
2429 return
2430
2431def register_Ns3SimpleRefCount__Ns3NixVector_Ns3Empty_Ns3DefaultDeleter__lt__ns3NixVector__gt___methods(root_module, cls):
2432 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >::SimpleRefCount() [constructor]
2433 cls.add_constructor([])
2434 ## 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]
2435 cls.add_constructor([param('ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter< ns3::NixVector > > const &', 'o')])
2436 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >::Cleanup() [member function]
2437 cls.add_method('Cleanup',
2438 'void',
2439 [],
2440 is_static=True)
2441 return
2442
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002443def register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, cls):
2444 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >::SimpleRefCount() [constructor]
2445 cls.add_constructor([])
2446 ## 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]
2447 cls.add_constructor([param('ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter< ns3::Packet > > const &', 'o')])
2448 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >::Cleanup() [member function]
2449 cls.add_method('Cleanup',
2450 'void',
2451 [],
2452 is_static=True)
2453 return
2454
2455def register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, cls):
2456 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >::SimpleRefCount() [constructor]
2457 cls.add_constructor([])
2458 ## 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]
2459 cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > const &', 'o')])
2460 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >::Cleanup() [member function]
2461 cls.add_method('Cleanup',
2462 'void',
2463 [],
2464 is_static=True)
2465 return
2466
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07002467def register_Ns3SimpleRefCount__Ns3NdnContentObjectHeader_Ns3Header_Ns3DefaultDeleter__lt__ns3NdnContentObjectHeader__gt___methods(root_module, cls):
2468 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::ContentObjectHeader, ns3::Header, ns3::DefaultDeleter<ns3::ndn::ContentObjectHeader> >::SimpleRefCount() [constructor]
2469 cls.add_constructor([])
2470 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::ContentObjectHeader, ns3::Header, ns3::DefaultDeleter<ns3::ndn::ContentObjectHeader> >::SimpleRefCount(ns3::SimpleRefCount<ns3::ndn::ContentObjectHeader, ns3::Header, ns3::DefaultDeleter<ns3::ndn::ContentObjectHeader> > const & o) [copy constructor]
2471 cls.add_constructor([param('ns3::SimpleRefCount< ns3::ndn::ContentObjectHeader, ns3::Header, ns3::DefaultDeleter< ns3::ndn::ContentObjectHeader > > const &', 'o')])
2472 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::ndn::ContentObjectHeader, ns3::Header, ns3::DefaultDeleter<ns3::ndn::ContentObjectHeader> >::Cleanup() [member function]
2473 cls.add_method('Cleanup',
2474 'void',
2475 [],
2476 is_static=True)
2477 return
2478
2479def register_Ns3SimpleRefCount__Ns3NdnFaceContainer_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnFaceContainer__gt___methods(root_module, cls):
2480 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::FaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::ndn::FaceContainer> >::SimpleRefCount() [constructor]
2481 cls.add_constructor([])
2482 ## 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]
2483 cls.add_constructor([param('ns3::SimpleRefCount< ns3::ndn::FaceContainer, ns3::empty, ns3::DefaultDeleter< ns3::ndn::FaceContainer > > const &', 'o')])
2484 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::ndn::FaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::ndn::FaceContainer> >::Cleanup() [member function]
2485 cls.add_method('Cleanup',
2486 'void',
2487 [],
2488 is_static=True)
2489 return
2490
2491def register_Ns3SimpleRefCount__Ns3NdnInterestHeader_Ns3Header_Ns3DefaultDeleter__lt__ns3NdnInterestHeader__gt___methods(root_module, cls):
2492 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::InterestHeader, ns3::Header, ns3::DefaultDeleter<ns3::ndn::InterestHeader> >::SimpleRefCount() [constructor]
2493 cls.add_constructor([])
2494 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::InterestHeader, ns3::Header, ns3::DefaultDeleter<ns3::ndn::InterestHeader> >::SimpleRefCount(ns3::SimpleRefCount<ns3::ndn::InterestHeader, ns3::Header, ns3::DefaultDeleter<ns3::ndn::InterestHeader> > const & o) [copy constructor]
2495 cls.add_constructor([param('ns3::SimpleRefCount< ns3::ndn::InterestHeader, ns3::Header, ns3::DefaultDeleter< ns3::ndn::InterestHeader > > const &', 'o')])
2496 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::ndn::InterestHeader, ns3::Header, ns3::DefaultDeleter<ns3::ndn::InterestHeader> >::Cleanup() [member function]
2497 cls.add_method('Cleanup',
2498 'void',
2499 [],
2500 is_static=True)
2501 return
2502
2503def register_Ns3SimpleRefCount__Ns3NdnNameComponents_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnNameComponents__gt___methods(root_module, cls):
2504 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::NameComponents, ns3::empty, ns3::DefaultDeleter<ns3::ndn::NameComponents> >::SimpleRefCount() [constructor]
2505 cls.add_constructor([])
2506 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::NameComponents, ns3::empty, ns3::DefaultDeleter<ns3::ndn::NameComponents> >::SimpleRefCount(ns3::SimpleRefCount<ns3::ndn::NameComponents, ns3::empty, ns3::DefaultDeleter<ns3::ndn::NameComponents> > const & o) [copy constructor]
2507 cls.add_constructor([param('ns3::SimpleRefCount< ns3::ndn::NameComponents, ns3::empty, ns3::DefaultDeleter< ns3::ndn::NameComponents > > const &', 'o')])
2508 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::ndn::NameComponents, ns3::empty, ns3::DefaultDeleter<ns3::ndn::NameComponents> >::Cleanup() [member function]
2509 cls.add_method('Cleanup',
2510 'void',
2511 [],
2512 is_static=True)
2513 return
2514
2515def register_Ns3SimpleRefCount__Ns3NdnCsEntry_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnCsEntry__gt___methods(root_module, cls):
2516 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::cs::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::cs::Entry> >::SimpleRefCount() [constructor]
2517 cls.add_constructor([])
2518 ## 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]
2519 cls.add_constructor([param('ns3::SimpleRefCount< ns3::ndn::cs::Entry, ns3::empty, ns3::DefaultDeleter< ns3::ndn::cs::Entry > > const &', 'o')])
2520 ## 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]
2521 cls.add_method('Cleanup',
2522 'void',
2523 [],
2524 is_static=True)
2525 return
2526
2527def register_Ns3SimpleRefCount__Ns3NdnFibEntry_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnFibEntry__gt___methods(root_module, cls):
2528 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::fib::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::fib::Entry> >::SimpleRefCount() [constructor]
2529 cls.add_constructor([])
2530 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::fib::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::fib::Entry> >::SimpleRefCount(ns3::SimpleRefCount<ns3::ndn::fib::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::fib::Entry> > const & o) [copy constructor]
2531 cls.add_constructor([param('ns3::SimpleRefCount< ns3::ndn::fib::Entry, ns3::empty, ns3::DefaultDeleter< ns3::ndn::fib::Entry > > const &', 'o')])
2532 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::ndn::fib::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::fib::Entry> >::Cleanup() [member function]
2533 cls.add_method('Cleanup',
2534 'void',
2535 [],
2536 is_static=True)
2537 return
2538
2539def register_Ns3SimpleRefCount__Ns3NdnPitEntry_Ns3Empty_Ns3DefaultDeleter__lt__ns3NdnPitEntry__gt___methods(root_module, cls):
2540 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::ndn::pit::Entry, ns3::empty, ns3::DefaultDeleter<ns3::ndn::pit::Entry> >::SimpleRefCount() [constructor]
2541 cls.add_constructor([])
2542 ## 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]
2543 cls.add_constructor([param('ns3::SimpleRefCount< ns3::ndn::pit::Entry, ns3::empty, ns3::DefaultDeleter< ns3::ndn::pit::Entry > > const &', 'o')])
2544 ## 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]
2545 cls.add_method('Cleanup',
2546 'void',
2547 [],
2548 is_static=True)
2549 return
2550
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002551def register_Ns3Time_methods(root_module, cls):
Alexander Afanasyev1ba09b82012-07-09 09:16:14 -07002552 cls.add_binary_comparison_operator('<=')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002553 cls.add_binary_comparison_operator('!=')
2554 cls.add_inplace_numeric_operator('+=', param('ns3::Time const &', 'right'))
2555 cls.add_inplace_numeric_operator('-=', param('ns3::Time const &', 'right'))
2556 cls.add_output_stream_operator()
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002557 cls.add_binary_comparison_operator('==')
2558 cls.add_binary_comparison_operator('>=')
2559 cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right'))
2560 cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right'))
2561 cls.add_binary_comparison_operator('<')
2562 cls.add_binary_comparison_operator('>')
2563 ## nstime.h (module 'core'): ns3::Time::Time() [constructor]
2564 cls.add_constructor([])
2565 ## nstime.h (module 'core'): ns3::Time::Time(ns3::Time const & o) [copy constructor]
2566 cls.add_constructor([param('ns3::Time const &', 'o')])
2567 ## nstime.h (module 'core'): ns3::Time::Time(double v) [constructor]
2568 cls.add_constructor([param('double', 'v')])
2569 ## nstime.h (module 'core'): ns3::Time::Time(int v) [constructor]
2570 cls.add_constructor([param('int', 'v')])
2571 ## nstime.h (module 'core'): ns3::Time::Time(long int v) [constructor]
2572 cls.add_constructor([param('long int', 'v')])
2573 ## nstime.h (module 'core'): ns3::Time::Time(long long int v) [constructor]
2574 cls.add_constructor([param('long long int', 'v')])
2575 ## nstime.h (module 'core'): ns3::Time::Time(unsigned int v) [constructor]
2576 cls.add_constructor([param('unsigned int', 'v')])
2577 ## nstime.h (module 'core'): ns3::Time::Time(long unsigned int v) [constructor]
2578 cls.add_constructor([param('long unsigned int', 'v')])
2579 ## nstime.h (module 'core'): ns3::Time::Time(long long unsigned int v) [constructor]
2580 cls.add_constructor([param('long long unsigned int', 'v')])
2581 ## nstime.h (module 'core'): ns3::Time::Time(std::string const & s) [constructor]
2582 cls.add_constructor([param('std::string const &', 's')])
2583 ## nstime.h (module 'core'): ns3::Time::Time(ns3::int64x64_t const & value) [constructor]
2584 cls.add_constructor([param('ns3::int64x64_t const &', 'value')])
2585 ## nstime.h (module 'core'): int ns3::Time::Compare(ns3::Time const & o) const [member function]
2586 cls.add_method('Compare',
2587 'int',
2588 [param('ns3::Time const &', 'o')],
2589 is_const=True)
2590 ## nstime.h (module 'core'): static ns3::Time ns3::Time::From(ns3::int64x64_t const & from, ns3::Time::Unit timeUnit) [member function]
2591 cls.add_method('From',
2592 'ns3::Time',
2593 [param('ns3::int64x64_t const &', 'from'), param('ns3::Time::Unit', 'timeUnit')],
2594 is_static=True)
2595 ## nstime.h (module 'core'): static ns3::Time ns3::Time::From(ns3::int64x64_t const & value) [member function]
2596 cls.add_method('From',
2597 'ns3::Time',
2598 [param('ns3::int64x64_t const &', 'value')],
2599 is_static=True)
2600 ## nstime.h (module 'core'): static ns3::Time ns3::Time::FromDouble(double value, ns3::Time::Unit timeUnit) [member function]
2601 cls.add_method('FromDouble',
2602 'ns3::Time',
2603 [param('double', 'value'), param('ns3::Time::Unit', 'timeUnit')],
2604 is_static=True)
2605 ## nstime.h (module 'core'): static ns3::Time ns3::Time::FromInteger(uint64_t value, ns3::Time::Unit timeUnit) [member function]
2606 cls.add_method('FromInteger',
2607 'ns3::Time',
2608 [param('uint64_t', 'value'), param('ns3::Time::Unit', 'timeUnit')],
2609 is_static=True)
2610 ## nstime.h (module 'core'): double ns3::Time::GetDouble() const [member function]
2611 cls.add_method('GetDouble',
2612 'double',
2613 [],
2614 is_const=True)
2615 ## nstime.h (module 'core'): int64_t ns3::Time::GetFemtoSeconds() const [member function]
2616 cls.add_method('GetFemtoSeconds',
2617 'int64_t',
2618 [],
2619 is_const=True)
2620 ## nstime.h (module 'core'): int64_t ns3::Time::GetInteger() const [member function]
2621 cls.add_method('GetInteger',
2622 'int64_t',
2623 [],
2624 is_const=True)
2625 ## nstime.h (module 'core'): int64_t ns3::Time::GetMicroSeconds() const [member function]
2626 cls.add_method('GetMicroSeconds',
2627 'int64_t',
2628 [],
2629 is_const=True)
2630 ## nstime.h (module 'core'): int64_t ns3::Time::GetMilliSeconds() const [member function]
2631 cls.add_method('GetMilliSeconds',
2632 'int64_t',
2633 [],
2634 is_const=True)
2635 ## nstime.h (module 'core'): int64_t ns3::Time::GetNanoSeconds() const [member function]
2636 cls.add_method('GetNanoSeconds',
2637 'int64_t',
2638 [],
2639 is_const=True)
2640 ## nstime.h (module 'core'): int64_t ns3::Time::GetPicoSeconds() const [member function]
2641 cls.add_method('GetPicoSeconds',
2642 'int64_t',
2643 [],
2644 is_const=True)
2645 ## nstime.h (module 'core'): static ns3::Time::Unit ns3::Time::GetResolution() [member function]
2646 cls.add_method('GetResolution',
2647 'ns3::Time::Unit',
2648 [],
2649 is_static=True)
2650 ## nstime.h (module 'core'): double ns3::Time::GetSeconds() const [member function]
2651 cls.add_method('GetSeconds',
2652 'double',
2653 [],
2654 is_const=True)
2655 ## nstime.h (module 'core'): int64_t ns3::Time::GetTimeStep() const [member function]
2656 cls.add_method('GetTimeStep',
2657 'int64_t',
2658 [],
2659 is_const=True)
2660 ## nstime.h (module 'core'): bool ns3::Time::IsNegative() const [member function]
2661 cls.add_method('IsNegative',
2662 'bool',
2663 [],
2664 is_const=True)
2665 ## nstime.h (module 'core'): bool ns3::Time::IsPositive() const [member function]
2666 cls.add_method('IsPositive',
2667 'bool',
2668 [],
2669 is_const=True)
2670 ## nstime.h (module 'core'): bool ns3::Time::IsStrictlyNegative() const [member function]
2671 cls.add_method('IsStrictlyNegative',
2672 'bool',
2673 [],
2674 is_const=True)
2675 ## nstime.h (module 'core'): bool ns3::Time::IsStrictlyPositive() const [member function]
2676 cls.add_method('IsStrictlyPositive',
2677 'bool',
2678 [],
2679 is_const=True)
2680 ## nstime.h (module 'core'): bool ns3::Time::IsZero() const [member function]
2681 cls.add_method('IsZero',
2682 'bool',
2683 [],
2684 is_const=True)
2685 ## nstime.h (module 'core'): static void ns3::Time::SetResolution(ns3::Time::Unit resolution) [member function]
2686 cls.add_method('SetResolution',
2687 'void',
2688 [param('ns3::Time::Unit', 'resolution')],
2689 is_static=True)
2690 ## nstime.h (module 'core'): ns3::int64x64_t ns3::Time::To(ns3::Time::Unit timeUnit) const [member function]
2691 cls.add_method('To',
2692 'ns3::int64x64_t',
2693 [param('ns3::Time::Unit', 'timeUnit')],
2694 is_const=True)
2695 ## nstime.h (module 'core'): double ns3::Time::ToDouble(ns3::Time::Unit timeUnit) const [member function]
2696 cls.add_method('ToDouble',
2697 'double',
2698 [param('ns3::Time::Unit', 'timeUnit')],
2699 is_const=True)
2700 ## nstime.h (module 'core'): int64_t ns3::Time::ToInteger(ns3::Time::Unit timeUnit) const [member function]
2701 cls.add_method('ToInteger',
2702 'int64_t',
2703 [param('ns3::Time::Unit', 'timeUnit')],
2704 is_const=True)
2705 return
2706
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002707def register_Ns3TraceSourceAccessor_methods(root_module, cls):
2708 ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor]
2709 cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')])
2710 ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor]
2711 cls.add_constructor([])
2712 ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function]
2713 cls.add_method('Connect',
2714 'bool',
2715 [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')],
2716 is_pure_virtual=True, is_const=True, is_virtual=True)
2717 ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function]
2718 cls.add_method('ConnectWithoutContext',
2719 'bool',
2720 [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')],
2721 is_pure_virtual=True, is_const=True, is_virtual=True)
2722 ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function]
2723 cls.add_method('Disconnect',
2724 'bool',
2725 [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')],
2726 is_pure_virtual=True, is_const=True, is_virtual=True)
2727 ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function]
2728 cls.add_method('DisconnectWithoutContext',
2729 'bool',
2730 [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')],
2731 is_pure_virtual=True, is_const=True, is_virtual=True)
2732 return
2733
2734def register_Ns3Trailer_methods(root_module, cls):
2735 cls.add_output_stream_operator()
2736 ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor]
2737 cls.add_constructor([])
2738 ## trailer.h (module 'network'): ns3::Trailer::Trailer(ns3::Trailer const & arg0) [copy constructor]
2739 cls.add_constructor([param('ns3::Trailer const &', 'arg0')])
2740 ## trailer.h (module 'network'): uint32_t ns3::Trailer::Deserialize(ns3::Buffer::Iterator end) [member function]
2741 cls.add_method('Deserialize',
2742 'uint32_t',
2743 [param('ns3::Buffer::Iterator', 'end')],
2744 is_pure_virtual=True, is_virtual=True)
2745 ## trailer.h (module 'network'): uint32_t ns3::Trailer::GetSerializedSize() const [member function]
2746 cls.add_method('GetSerializedSize',
2747 'uint32_t',
2748 [],
2749 is_pure_virtual=True, is_const=True, is_virtual=True)
2750 ## trailer.h (module 'network'): static ns3::TypeId ns3::Trailer::GetTypeId() [member function]
2751 cls.add_method('GetTypeId',
2752 'ns3::TypeId',
2753 [],
2754 is_static=True)
2755 ## trailer.h (module 'network'): void ns3::Trailer::Print(std::ostream & os) const [member function]
2756 cls.add_method('Print',
2757 'void',
2758 [param('std::ostream &', 'os')],
2759 is_pure_virtual=True, is_const=True, is_virtual=True)
2760 ## trailer.h (module 'network'): void ns3::Trailer::Serialize(ns3::Buffer::Iterator start) const [member function]
2761 cls.add_method('Serialize',
2762 'void',
2763 [param('ns3::Buffer::Iterator', 'start')],
2764 is_pure_virtual=True, is_const=True, is_virtual=True)
2765 return
2766
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002767def register_Ns3Application_methods(root_module, cls):
2768 ## application.h (module 'network'): ns3::Application::Application(ns3::Application const & arg0) [copy constructor]
2769 cls.add_constructor([param('ns3::Application const &', 'arg0')])
2770 ## application.h (module 'network'): ns3::Application::Application() [constructor]
2771 cls.add_constructor([])
2772 ## application.h (module 'network'): ns3::Ptr<ns3::Node> ns3::Application::GetNode() const [member function]
2773 cls.add_method('GetNode',
2774 'ns3::Ptr< ns3::Node >',
2775 [],
2776 is_const=True)
2777 ## application.h (module 'network'): static ns3::TypeId ns3::Application::GetTypeId() [member function]
2778 cls.add_method('GetTypeId',
2779 'ns3::TypeId',
2780 [],
2781 is_static=True)
2782 ## application.h (module 'network'): void ns3::Application::SetNode(ns3::Ptr<ns3::Node> node) [member function]
2783 cls.add_method('SetNode',
2784 'void',
2785 [param('ns3::Ptr< ns3::Node >', 'node')])
2786 ## application.h (module 'network'): void ns3::Application::SetStartTime(ns3::Time start) [member function]
2787 cls.add_method('SetStartTime',
2788 'void',
2789 [param('ns3::Time', 'start')])
2790 ## application.h (module 'network'): void ns3::Application::SetStopTime(ns3::Time stop) [member function]
2791 cls.add_method('SetStopTime',
2792 'void',
2793 [param('ns3::Time', 'stop')])
2794 ## application.h (module 'network'): void ns3::Application::DoDispose() [member function]
2795 cls.add_method('DoDispose',
2796 'void',
2797 [],
2798 visibility='protected', is_virtual=True)
2799 ## application.h (module 'network'): void ns3::Application::DoStart() [member function]
2800 cls.add_method('DoStart',
2801 'void',
2802 [],
2803 visibility='protected', is_virtual=True)
2804 ## application.h (module 'network'): void ns3::Application::StartApplication() [member function]
2805 cls.add_method('StartApplication',
2806 'void',
2807 [],
Alexander Afanasyev06d3a612012-04-17 22:25:40 -07002808 visibility='private', is_virtual=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002809 ## application.h (module 'network'): void ns3::Application::StopApplication() [member function]
2810 cls.add_method('StopApplication',
2811 'void',
2812 [],
Alexander Afanasyev06d3a612012-04-17 22:25:40 -07002813 visibility='private', is_virtual=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002814 return
2815
2816def register_Ns3AttributeAccessor_methods(root_module, cls):
2817 ## attribute.h (module 'core'): ns3::AttributeAccessor::AttributeAccessor(ns3::AttributeAccessor const & arg0) [copy constructor]
2818 cls.add_constructor([param('ns3::AttributeAccessor const &', 'arg0')])
2819 ## attribute.h (module 'core'): ns3::AttributeAccessor::AttributeAccessor() [constructor]
2820 cls.add_constructor([])
2821 ## attribute.h (module 'core'): bool ns3::AttributeAccessor::Get(ns3::ObjectBase const * object, ns3::AttributeValue & attribute) const [member function]
2822 cls.add_method('Get',
2823 'bool',
2824 [param('ns3::ObjectBase const *', 'object'), param('ns3::AttributeValue &', 'attribute')],
2825 is_pure_virtual=True, is_const=True, is_virtual=True)
2826 ## attribute.h (module 'core'): bool ns3::AttributeAccessor::HasGetter() const [member function]
2827 cls.add_method('HasGetter',
2828 'bool',
2829 [],
2830 is_pure_virtual=True, is_const=True, is_virtual=True)
2831 ## attribute.h (module 'core'): bool ns3::AttributeAccessor::HasSetter() const [member function]
2832 cls.add_method('HasSetter',
2833 'bool',
2834 [],
2835 is_pure_virtual=True, is_const=True, is_virtual=True)
2836 ## attribute.h (module 'core'): bool ns3::AttributeAccessor::Set(ns3::ObjectBase * object, ns3::AttributeValue const & value) const [member function]
2837 cls.add_method('Set',
2838 'bool',
2839 [param('ns3::ObjectBase *', 'object', transfer_ownership=False), param('ns3::AttributeValue const &', 'value')],
2840 is_pure_virtual=True, is_const=True, is_virtual=True)
2841 return
2842
2843def register_Ns3AttributeChecker_methods(root_module, cls):
2844 ## attribute.h (module 'core'): ns3::AttributeChecker::AttributeChecker(ns3::AttributeChecker const & arg0) [copy constructor]
2845 cls.add_constructor([param('ns3::AttributeChecker const &', 'arg0')])
2846 ## attribute.h (module 'core'): ns3::AttributeChecker::AttributeChecker() [constructor]
2847 cls.add_constructor([])
2848 ## attribute.h (module 'core'): bool ns3::AttributeChecker::Check(ns3::AttributeValue const & value) const [member function]
2849 cls.add_method('Check',
2850 'bool',
2851 [param('ns3::AttributeValue const &', 'value')],
2852 is_pure_virtual=True, is_const=True, is_virtual=True)
2853 ## attribute.h (module 'core'): bool ns3::AttributeChecker::Copy(ns3::AttributeValue const & source, ns3::AttributeValue & destination) const [member function]
2854 cls.add_method('Copy',
2855 'bool',
2856 [param('ns3::AttributeValue const &', 'source'), param('ns3::AttributeValue &', 'destination')],
2857 is_pure_virtual=True, is_const=True, is_virtual=True)
2858 ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeChecker::Create() const [member function]
2859 cls.add_method('Create',
2860 'ns3::Ptr< ns3::AttributeValue >',
2861 [],
2862 is_pure_virtual=True, is_const=True, is_virtual=True)
2863 ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function]
2864 cls.add_method('CreateValidValue',
2865 'ns3::Ptr< ns3::AttributeValue >',
2866 [param('ns3::AttributeValue const &', 'value')],
2867 is_const=True)
2868 ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function]
2869 cls.add_method('GetUnderlyingTypeInformation',
2870 'std::string',
2871 [],
2872 is_pure_virtual=True, is_const=True, is_virtual=True)
2873 ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetValueTypeName() const [member function]
2874 cls.add_method('GetValueTypeName',
2875 'std::string',
2876 [],
2877 is_pure_virtual=True, is_const=True, is_virtual=True)
2878 ## attribute.h (module 'core'): bool ns3::AttributeChecker::HasUnderlyingTypeInformation() const [member function]
2879 cls.add_method('HasUnderlyingTypeInformation',
2880 'bool',
2881 [],
2882 is_pure_virtual=True, is_const=True, is_virtual=True)
2883 return
2884
2885def register_Ns3AttributeValue_methods(root_module, cls):
2886 ## attribute.h (module 'core'): ns3::AttributeValue::AttributeValue(ns3::AttributeValue const & arg0) [copy constructor]
2887 cls.add_constructor([param('ns3::AttributeValue const &', 'arg0')])
2888 ## attribute.h (module 'core'): ns3::AttributeValue::AttributeValue() [constructor]
2889 cls.add_constructor([])
2890 ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeValue::Copy() const [member function]
2891 cls.add_method('Copy',
2892 'ns3::Ptr< ns3::AttributeValue >',
2893 [],
2894 is_pure_virtual=True, is_const=True, is_virtual=True)
2895 ## attribute.h (module 'core'): bool ns3::AttributeValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
2896 cls.add_method('DeserializeFromString',
2897 'bool',
2898 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
2899 is_pure_virtual=True, is_virtual=True)
2900 ## attribute.h (module 'core'): std::string ns3::AttributeValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
2901 cls.add_method('SerializeToString',
2902 'std::string',
2903 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
2904 is_pure_virtual=True, is_const=True, is_virtual=True)
2905 return
2906
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08002907def register_Ns3BatchesChecker_methods(root_module, cls):
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07002908 ## batches.h (module 'ndnSIM'): ns3::BatchesChecker::BatchesChecker() [constructor]
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08002909 cls.add_constructor([])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07002910 ## batches.h (module 'ndnSIM'): ns3::BatchesChecker::BatchesChecker(ns3::BatchesChecker const & arg0) [copy constructor]
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08002911 cls.add_constructor([param('ns3::BatchesChecker const &', 'arg0')])
2912 return
2913
2914def register_Ns3BatchesValue_methods(root_module, cls):
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07002915 ## batches.h (module 'ndnSIM'): ns3::BatchesValue::BatchesValue() [constructor]
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08002916 cls.add_constructor([])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07002917 ## batches.h (module 'ndnSIM'): ns3::BatchesValue::BatchesValue(ns3::BatchesValue const & arg0) [copy constructor]
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08002918 cls.add_constructor([param('ns3::BatchesValue const &', 'arg0')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07002919 ## batches.h (module 'ndnSIM'): ns3::BatchesValue::BatchesValue(ns3::Batches const & value) [constructor]
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08002920 cls.add_constructor([param('ns3::Batches const &', 'value')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07002921 ## batches.h (module 'ndnSIM'): ns3::Ptr<ns3::AttributeValue> ns3::BatchesValue::Copy() const [member function]
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08002922 cls.add_method('Copy',
2923 'ns3::Ptr< ns3::AttributeValue >',
2924 [],
2925 is_const=True, is_virtual=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07002926 ## batches.h (module 'ndnSIM'): bool ns3::BatchesValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08002927 cls.add_method('DeserializeFromString',
2928 'bool',
2929 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
2930 is_virtual=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07002931 ## batches.h (module 'ndnSIM'): ns3::Batches ns3::BatchesValue::Get() const [member function]
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08002932 cls.add_method('Get',
2933 'ns3::Batches',
2934 [],
2935 is_const=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07002936 ## batches.h (module 'ndnSIM'): std::string ns3::BatchesValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08002937 cls.add_method('SerializeToString',
2938 'std::string',
2939 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
2940 is_const=True, is_virtual=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07002941 ## batches.h (module 'ndnSIM'): void ns3::BatchesValue::Set(ns3::Batches const & value) [member function]
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08002942 cls.add_method('Set',
2943 'void',
2944 [param('ns3::Batches const &', 'value')])
2945 return
2946
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002947def register_Ns3CallbackChecker_methods(root_module, cls):
2948 ## callback.h (module 'core'): ns3::CallbackChecker::CallbackChecker() [constructor]
2949 cls.add_constructor([])
2950 ## callback.h (module 'core'): ns3::CallbackChecker::CallbackChecker(ns3::CallbackChecker const & arg0) [copy constructor]
2951 cls.add_constructor([param('ns3::CallbackChecker const &', 'arg0')])
2952 return
2953
2954def register_Ns3CallbackImplBase_methods(root_module, cls):
2955 ## callback.h (module 'core'): ns3::CallbackImplBase::CallbackImplBase() [constructor]
2956 cls.add_constructor([])
2957 ## callback.h (module 'core'): ns3::CallbackImplBase::CallbackImplBase(ns3::CallbackImplBase const & arg0) [copy constructor]
2958 cls.add_constructor([param('ns3::CallbackImplBase const &', 'arg0')])
2959 ## callback.h (module 'core'): bool ns3::CallbackImplBase::IsEqual(ns3::Ptr<ns3::CallbackImplBase const> other) const [member function]
2960 cls.add_method('IsEqual',
2961 'bool',
2962 [param('ns3::Ptr< ns3::CallbackImplBase const >', 'other')],
2963 is_pure_virtual=True, is_const=True, is_virtual=True)
2964 return
2965
2966def register_Ns3CallbackValue_methods(root_module, cls):
2967 ## callback.h (module 'core'): ns3::CallbackValue::CallbackValue(ns3::CallbackValue const & arg0) [copy constructor]
2968 cls.add_constructor([param('ns3::CallbackValue const &', 'arg0')])
2969 ## callback.h (module 'core'): ns3::CallbackValue::CallbackValue() [constructor]
2970 cls.add_constructor([])
2971 ## callback.h (module 'core'): ns3::CallbackValue::CallbackValue(ns3::CallbackBase const & base) [constructor]
2972 cls.add_constructor([param('ns3::CallbackBase const &', 'base')])
2973 ## callback.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::CallbackValue::Copy() const [member function]
2974 cls.add_method('Copy',
2975 'ns3::Ptr< ns3::AttributeValue >',
2976 [],
2977 is_const=True, is_virtual=True)
2978 ## callback.h (module 'core'): bool ns3::CallbackValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
2979 cls.add_method('DeserializeFromString',
2980 'bool',
2981 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
2982 is_virtual=True)
2983 ## callback.h (module 'core'): std::string ns3::CallbackValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
2984 cls.add_method('SerializeToString',
2985 'std::string',
2986 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
2987 is_const=True, is_virtual=True)
2988 ## callback.h (module 'core'): void ns3::CallbackValue::Set(ns3::CallbackBase base) [member function]
2989 cls.add_method('Set',
2990 'void',
2991 [param('ns3::CallbackBase', 'base')])
2992 return
2993
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002994def register_Ns3EmptyAttributeValue_methods(root_module, cls):
2995 ## attribute.h (module 'core'): ns3::EmptyAttributeValue::EmptyAttributeValue(ns3::EmptyAttributeValue const & arg0) [copy constructor]
2996 cls.add_constructor([param('ns3::EmptyAttributeValue const &', 'arg0')])
2997 ## attribute.h (module 'core'): ns3::EmptyAttributeValue::EmptyAttributeValue() [constructor]
2998 cls.add_constructor([])
2999 ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::EmptyAttributeValue::Copy() const [member function]
3000 cls.add_method('Copy',
3001 'ns3::Ptr< ns3::AttributeValue >',
3002 [],
3003 is_const=True, visibility='private', is_virtual=True)
3004 ## attribute.h (module 'core'): bool ns3::EmptyAttributeValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3005 cls.add_method('DeserializeFromString',
3006 'bool',
3007 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3008 visibility='private', is_virtual=True)
3009 ## attribute.h (module 'core'): std::string ns3::EmptyAttributeValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3010 cls.add_method('SerializeToString',
3011 'std::string',
3012 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3013 is_const=True, visibility='private', is_virtual=True)
3014 return
3015
3016def register_Ns3EventImpl_methods(root_module, cls):
3017 ## event-impl.h (module 'core'): ns3::EventImpl::EventImpl(ns3::EventImpl const & arg0) [copy constructor]
3018 cls.add_constructor([param('ns3::EventImpl const &', 'arg0')])
3019 ## event-impl.h (module 'core'): ns3::EventImpl::EventImpl() [constructor]
3020 cls.add_constructor([])
3021 ## event-impl.h (module 'core'): void ns3::EventImpl::Cancel() [member function]
3022 cls.add_method('Cancel',
3023 'void',
3024 [])
3025 ## event-impl.h (module 'core'): void ns3::EventImpl::Invoke() [member function]
3026 cls.add_method('Invoke',
3027 'void',
3028 [])
3029 ## event-impl.h (module 'core'): bool ns3::EventImpl::IsCancelled() [member function]
3030 cls.add_method('IsCancelled',
3031 'bool',
3032 [])
3033 ## event-impl.h (module 'core'): void ns3::EventImpl::Notify() [member function]
3034 cls.add_method('Notify',
3035 'void',
3036 [],
3037 is_pure_virtual=True, visibility='protected', is_virtual=True)
3038 return
3039
3040def register_Ns3IntegerValue_methods(root_module, cls):
3041 ## integer.h (module 'core'): ns3::IntegerValue::IntegerValue() [constructor]
3042 cls.add_constructor([])
3043 ## integer.h (module 'core'): ns3::IntegerValue::IntegerValue(ns3::IntegerValue const & arg0) [copy constructor]
3044 cls.add_constructor([param('ns3::IntegerValue const &', 'arg0')])
3045 ## integer.h (module 'core'): ns3::IntegerValue::IntegerValue(int64_t const & value) [constructor]
3046 cls.add_constructor([param('int64_t const &', 'value')])
3047 ## integer.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::IntegerValue::Copy() const [member function]
3048 cls.add_method('Copy',
3049 'ns3::Ptr< ns3::AttributeValue >',
3050 [],
3051 is_const=True, is_virtual=True)
3052 ## integer.h (module 'core'): bool ns3::IntegerValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3053 cls.add_method('DeserializeFromString',
3054 'bool',
3055 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3056 is_virtual=True)
3057 ## integer.h (module 'core'): int64_t ns3::IntegerValue::Get() const [member function]
3058 cls.add_method('Get',
3059 'int64_t',
3060 [],
3061 is_const=True)
3062 ## integer.h (module 'core'): std::string ns3::IntegerValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3063 cls.add_method('SerializeToString',
3064 'std::string',
3065 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3066 is_const=True, is_virtual=True)
3067 ## integer.h (module 'core'): void ns3::IntegerValue::Set(int64_t const & value) [member function]
3068 cls.add_method('Set',
3069 'void',
3070 [param('int64_t const &', 'value')])
3071 return
3072
3073def register_Ns3Ipv4AddressChecker_methods(root_module, cls):
3074 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker::Ipv4AddressChecker() [constructor]
3075 cls.add_constructor([])
3076 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker::Ipv4AddressChecker(ns3::Ipv4AddressChecker const & arg0) [copy constructor]
3077 cls.add_constructor([param('ns3::Ipv4AddressChecker const &', 'arg0')])
3078 return
3079
3080def register_Ns3Ipv4AddressValue_methods(root_module, cls):
3081 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue::Ipv4AddressValue() [constructor]
3082 cls.add_constructor([])
3083 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue::Ipv4AddressValue(ns3::Ipv4AddressValue const & arg0) [copy constructor]
3084 cls.add_constructor([param('ns3::Ipv4AddressValue const &', 'arg0')])
3085 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue::Ipv4AddressValue(ns3::Ipv4Address const & value) [constructor]
3086 cls.add_constructor([param('ns3::Ipv4Address const &', 'value')])
3087 ## ipv4-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv4AddressValue::Copy() const [member function]
3088 cls.add_method('Copy',
3089 'ns3::Ptr< ns3::AttributeValue >',
3090 [],
3091 is_const=True, is_virtual=True)
3092 ## ipv4-address.h (module 'network'): bool ns3::Ipv4AddressValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3093 cls.add_method('DeserializeFromString',
3094 'bool',
3095 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3096 is_virtual=True)
3097 ## ipv4-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv4AddressValue::Get() const [member function]
3098 cls.add_method('Get',
3099 'ns3::Ipv4Address',
3100 [],
3101 is_const=True)
3102 ## ipv4-address.h (module 'network'): std::string ns3::Ipv4AddressValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3103 cls.add_method('SerializeToString',
3104 'std::string',
3105 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3106 is_const=True, is_virtual=True)
3107 ## ipv4-address.h (module 'network'): void ns3::Ipv4AddressValue::Set(ns3::Ipv4Address const & value) [member function]
3108 cls.add_method('Set',
3109 'void',
3110 [param('ns3::Ipv4Address const &', 'value')])
3111 return
3112
3113def register_Ns3Ipv4MaskChecker_methods(root_module, cls):
3114 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker::Ipv4MaskChecker() [constructor]
3115 cls.add_constructor([])
3116 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker::Ipv4MaskChecker(ns3::Ipv4MaskChecker const & arg0) [copy constructor]
3117 cls.add_constructor([param('ns3::Ipv4MaskChecker const &', 'arg0')])
3118 return
3119
3120def register_Ns3Ipv4MaskValue_methods(root_module, cls):
3121 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue::Ipv4MaskValue() [constructor]
3122 cls.add_constructor([])
3123 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue::Ipv4MaskValue(ns3::Ipv4MaskValue const & arg0) [copy constructor]
3124 cls.add_constructor([param('ns3::Ipv4MaskValue const &', 'arg0')])
3125 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue::Ipv4MaskValue(ns3::Ipv4Mask const & value) [constructor]
3126 cls.add_constructor([param('ns3::Ipv4Mask const &', 'value')])
3127 ## ipv4-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv4MaskValue::Copy() const [member function]
3128 cls.add_method('Copy',
3129 'ns3::Ptr< ns3::AttributeValue >',
3130 [],
3131 is_const=True, is_virtual=True)
3132 ## ipv4-address.h (module 'network'): bool ns3::Ipv4MaskValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3133 cls.add_method('DeserializeFromString',
3134 'bool',
3135 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3136 is_virtual=True)
3137 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask ns3::Ipv4MaskValue::Get() const [member function]
3138 cls.add_method('Get',
3139 'ns3::Ipv4Mask',
3140 [],
3141 is_const=True)
3142 ## ipv4-address.h (module 'network'): std::string ns3::Ipv4MaskValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3143 cls.add_method('SerializeToString',
3144 'std::string',
3145 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3146 is_const=True, is_virtual=True)
3147 ## ipv4-address.h (module 'network'): void ns3::Ipv4MaskValue::Set(ns3::Ipv4Mask const & value) [member function]
3148 cls.add_method('Set',
3149 'void',
3150 [param('ns3::Ipv4Mask const &', 'value')])
3151 return
3152
3153def register_Ns3Ipv6AddressChecker_methods(root_module, cls):
3154 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker::Ipv6AddressChecker() [constructor]
3155 cls.add_constructor([])
3156 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker::Ipv6AddressChecker(ns3::Ipv6AddressChecker const & arg0) [copy constructor]
3157 cls.add_constructor([param('ns3::Ipv6AddressChecker const &', 'arg0')])
3158 return
3159
3160def register_Ns3Ipv6AddressValue_methods(root_module, cls):
3161 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue::Ipv6AddressValue() [constructor]
3162 cls.add_constructor([])
3163 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue::Ipv6AddressValue(ns3::Ipv6AddressValue const & arg0) [copy constructor]
3164 cls.add_constructor([param('ns3::Ipv6AddressValue const &', 'arg0')])
3165 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue::Ipv6AddressValue(ns3::Ipv6Address const & value) [constructor]
3166 cls.add_constructor([param('ns3::Ipv6Address const &', 'value')])
3167 ## ipv6-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv6AddressValue::Copy() const [member function]
3168 cls.add_method('Copy',
3169 'ns3::Ptr< ns3::AttributeValue >',
3170 [],
3171 is_const=True, is_virtual=True)
3172 ## ipv6-address.h (module 'network'): bool ns3::Ipv6AddressValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3173 cls.add_method('DeserializeFromString',
3174 'bool',
3175 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3176 is_virtual=True)
3177 ## ipv6-address.h (module 'network'): ns3::Ipv6Address ns3::Ipv6AddressValue::Get() const [member function]
3178 cls.add_method('Get',
3179 'ns3::Ipv6Address',
3180 [],
3181 is_const=True)
3182 ## ipv6-address.h (module 'network'): std::string ns3::Ipv6AddressValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3183 cls.add_method('SerializeToString',
3184 'std::string',
3185 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3186 is_const=True, is_virtual=True)
3187 ## ipv6-address.h (module 'network'): void ns3::Ipv6AddressValue::Set(ns3::Ipv6Address const & value) [member function]
3188 cls.add_method('Set',
3189 'void',
3190 [param('ns3::Ipv6Address const &', 'value')])
3191 return
3192
3193def register_Ns3Ipv6PrefixChecker_methods(root_module, cls):
3194 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker::Ipv6PrefixChecker() [constructor]
3195 cls.add_constructor([])
3196 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker::Ipv6PrefixChecker(ns3::Ipv6PrefixChecker const & arg0) [copy constructor]
3197 cls.add_constructor([param('ns3::Ipv6PrefixChecker const &', 'arg0')])
3198 return
3199
3200def register_Ns3Ipv6PrefixValue_methods(root_module, cls):
3201 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue::Ipv6PrefixValue() [constructor]
3202 cls.add_constructor([])
3203 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue::Ipv6PrefixValue(ns3::Ipv6PrefixValue const & arg0) [copy constructor]
3204 cls.add_constructor([param('ns3::Ipv6PrefixValue const &', 'arg0')])
3205 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue::Ipv6PrefixValue(ns3::Ipv6Prefix const & value) [constructor]
3206 cls.add_constructor([param('ns3::Ipv6Prefix const &', 'value')])
3207 ## ipv6-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv6PrefixValue::Copy() const [member function]
3208 cls.add_method('Copy',
3209 'ns3::Ptr< ns3::AttributeValue >',
3210 [],
3211 is_const=True, is_virtual=True)
3212 ## ipv6-address.h (module 'network'): bool ns3::Ipv6PrefixValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3213 cls.add_method('DeserializeFromString',
3214 'bool',
3215 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3216 is_virtual=True)
3217 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix ns3::Ipv6PrefixValue::Get() const [member function]
3218 cls.add_method('Get',
3219 'ns3::Ipv6Prefix',
3220 [],
3221 is_const=True)
3222 ## ipv6-address.h (module 'network'): std::string ns3::Ipv6PrefixValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3223 cls.add_method('SerializeToString',
3224 'std::string',
3225 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3226 is_const=True, is_virtual=True)
3227 ## ipv6-address.h (module 'network'): void ns3::Ipv6PrefixValue::Set(ns3::Ipv6Prefix const & value) [member function]
3228 cls.add_method('Set',
3229 'void',
3230 [param('ns3::Ipv6Prefix const &', 'value')])
3231 return
3232
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003233def register_Ns3NetDevice_methods(root_module, cls):
3234 ## net-device.h (module 'network'): ns3::NetDevice::NetDevice() [constructor]
3235 cls.add_constructor([])
3236 ## net-device.h (module 'network'): ns3::NetDevice::NetDevice(ns3::NetDevice const & arg0) [copy constructor]
3237 cls.add_constructor([param('ns3::NetDevice const &', 'arg0')])
3238 ## 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]
3239 cls.add_method('AddLinkChangeCallback',
3240 'void',
3241 [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')],
3242 is_pure_virtual=True, is_virtual=True)
3243 ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetAddress() const [member function]
3244 cls.add_method('GetAddress',
3245 'ns3::Address',
3246 [],
3247 is_pure_virtual=True, is_const=True, is_virtual=True)
3248 ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetBroadcast() const [member function]
3249 cls.add_method('GetBroadcast',
3250 'ns3::Address',
3251 [],
3252 is_pure_virtual=True, is_const=True, is_virtual=True)
3253 ## net-device.h (module 'network'): ns3::Ptr<ns3::Channel> ns3::NetDevice::GetChannel() const [member function]
3254 cls.add_method('GetChannel',
3255 'ns3::Ptr< ns3::Channel >',
3256 [],
3257 is_pure_virtual=True, is_const=True, is_virtual=True)
3258 ## net-device.h (module 'network'): uint32_t ns3::NetDevice::GetIfIndex() const [member function]
3259 cls.add_method('GetIfIndex',
3260 'uint32_t',
3261 [],
3262 is_pure_virtual=True, is_const=True, is_virtual=True)
3263 ## net-device.h (module 'network'): uint16_t ns3::NetDevice::GetMtu() const [member function]
3264 cls.add_method('GetMtu',
3265 'uint16_t',
3266 [],
3267 is_pure_virtual=True, is_const=True, is_virtual=True)
3268 ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetMulticast(ns3::Ipv4Address multicastGroup) const [member function]
3269 cls.add_method('GetMulticast',
3270 'ns3::Address',
3271 [param('ns3::Ipv4Address', 'multicastGroup')],
3272 is_pure_virtual=True, is_const=True, is_virtual=True)
3273 ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetMulticast(ns3::Ipv6Address addr) const [member function]
3274 cls.add_method('GetMulticast',
3275 'ns3::Address',
3276 [param('ns3::Ipv6Address', 'addr')],
3277 is_pure_virtual=True, is_const=True, is_virtual=True)
3278 ## net-device.h (module 'network'): ns3::Ptr<ns3::Node> ns3::NetDevice::GetNode() const [member function]
3279 cls.add_method('GetNode',
3280 'ns3::Ptr< ns3::Node >',
3281 [],
3282 is_pure_virtual=True, is_const=True, is_virtual=True)
3283 ## net-device.h (module 'network'): static ns3::TypeId ns3::NetDevice::GetTypeId() [member function]
3284 cls.add_method('GetTypeId',
3285 'ns3::TypeId',
3286 [],
3287 is_static=True)
3288 ## net-device.h (module 'network'): bool ns3::NetDevice::IsBridge() const [member function]
3289 cls.add_method('IsBridge',
3290 'bool',
3291 [],
3292 is_pure_virtual=True, is_const=True, is_virtual=True)
3293 ## net-device.h (module 'network'): bool ns3::NetDevice::IsBroadcast() const [member function]
3294 cls.add_method('IsBroadcast',
3295 'bool',
3296 [],
3297 is_pure_virtual=True, is_const=True, is_virtual=True)
3298 ## net-device.h (module 'network'): bool ns3::NetDevice::IsLinkUp() const [member function]
3299 cls.add_method('IsLinkUp',
3300 'bool',
3301 [],
3302 is_pure_virtual=True, is_const=True, is_virtual=True)
3303 ## net-device.h (module 'network'): bool ns3::NetDevice::IsMulticast() const [member function]
3304 cls.add_method('IsMulticast',
3305 'bool',
3306 [],
3307 is_pure_virtual=True, is_const=True, is_virtual=True)
3308 ## net-device.h (module 'network'): bool ns3::NetDevice::IsPointToPoint() const [member function]
3309 cls.add_method('IsPointToPoint',
3310 'bool',
3311 [],
3312 is_pure_virtual=True, is_const=True, is_virtual=True)
3313 ## net-device.h (module 'network'): bool ns3::NetDevice::NeedsArp() const [member function]
3314 cls.add_method('NeedsArp',
3315 'bool',
3316 [],
3317 is_pure_virtual=True, is_const=True, is_virtual=True)
3318 ## net-device.h (module 'network'): bool ns3::NetDevice::Send(ns3::Ptr<ns3::Packet> packet, ns3::Address const & dest, uint16_t protocolNumber) [member function]
3319 cls.add_method('Send',
3320 'bool',
3321 [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')],
3322 is_pure_virtual=True, is_virtual=True)
3323 ## 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]
3324 cls.add_method('SendFrom',
3325 'bool',
3326 [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'source'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')],
3327 is_pure_virtual=True, is_virtual=True)
3328 ## net-device.h (module 'network'): void ns3::NetDevice::SetAddress(ns3::Address address) [member function]
3329 cls.add_method('SetAddress',
3330 'void',
3331 [param('ns3::Address', 'address')],
3332 is_pure_virtual=True, is_virtual=True)
3333 ## net-device.h (module 'network'): void ns3::NetDevice::SetIfIndex(uint32_t const index) [member function]
3334 cls.add_method('SetIfIndex',
3335 'void',
3336 [param('uint32_t const', 'index')],
3337 is_pure_virtual=True, is_virtual=True)
3338 ## net-device.h (module 'network'): bool ns3::NetDevice::SetMtu(uint16_t const mtu) [member function]
3339 cls.add_method('SetMtu',
3340 'bool',
3341 [param('uint16_t const', 'mtu')],
3342 is_pure_virtual=True, is_virtual=True)
3343 ## net-device.h (module 'network'): void ns3::NetDevice::SetNode(ns3::Ptr<ns3::Node> node) [member function]
3344 cls.add_method('SetNode',
3345 'void',
3346 [param('ns3::Ptr< ns3::Node >', 'node')],
3347 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003348 ## net-device.h (module 'network'): void ns3::NetDevice::SetPromiscReceiveCallback(ns3::Callback<bool,ns3::Ptr<ns3::NetDevice>,ns3::Ptr<const ns3::Packet>,short unsigned int,const ns3::Address&,const ns3::Address&,ns3::NetDevice::PacketType,ns3::empty,ns3::empty,ns3::empty> cb) [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003349 cls.add_method('SetPromiscReceiveCallback',
3350 'void',
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003351 [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, short unsigned int, ns3::Address const &, ns3::Address const &, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty >', 'cb')],
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003352 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003353 ## net-device.h (module 'network'): void ns3::NetDevice::SetReceiveCallback(ns3::Callback<bool,ns3::Ptr<ns3::NetDevice>,ns3::Ptr<const ns3::Packet>,short unsigned int,const ns3::Address&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> cb) [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003354 cls.add_method('SetReceiveCallback',
3355 'void',
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003356 [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, short unsigned int, ns3::Address const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')],
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003357 is_pure_virtual=True, is_virtual=True)
3358 ## net-device.h (module 'network'): bool ns3::NetDevice::SupportsSendFrom() const [member function]
3359 cls.add_method('SupportsSendFrom',
3360 'bool',
3361 [],
3362 is_pure_virtual=True, is_const=True, is_virtual=True)
3363 return
3364
3365def register_Ns3NixVector_methods(root_module, cls):
3366 cls.add_output_stream_operator()
3367 ## nix-vector.h (module 'network'): ns3::NixVector::NixVector() [constructor]
3368 cls.add_constructor([])
3369 ## nix-vector.h (module 'network'): ns3::NixVector::NixVector(ns3::NixVector const & o) [copy constructor]
3370 cls.add_constructor([param('ns3::NixVector const &', 'o')])
3371 ## nix-vector.h (module 'network'): void ns3::NixVector::AddNeighborIndex(uint32_t newBits, uint32_t numberOfBits) [member function]
3372 cls.add_method('AddNeighborIndex',
3373 'void',
3374 [param('uint32_t', 'newBits'), param('uint32_t', 'numberOfBits')])
3375 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::BitCount(uint32_t numberOfNeighbors) const [member function]
3376 cls.add_method('BitCount',
3377 'uint32_t',
3378 [param('uint32_t', 'numberOfNeighbors')],
3379 is_const=True)
3380 ## nix-vector.h (module 'network'): ns3::Ptr<ns3::NixVector> ns3::NixVector::Copy() const [member function]
3381 cls.add_method('Copy',
3382 'ns3::Ptr< ns3::NixVector >',
3383 [],
3384 is_const=True)
3385 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::Deserialize(uint32_t const * buffer, uint32_t size) [member function]
3386 cls.add_method('Deserialize',
3387 'uint32_t',
3388 [param('uint32_t const *', 'buffer'), param('uint32_t', 'size')])
3389 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::ExtractNeighborIndex(uint32_t numberOfBits) [member function]
3390 cls.add_method('ExtractNeighborIndex',
3391 'uint32_t',
3392 [param('uint32_t', 'numberOfBits')])
3393 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::GetRemainingBits() [member function]
3394 cls.add_method('GetRemainingBits',
3395 'uint32_t',
3396 [])
3397 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::GetSerializedSize() const [member function]
3398 cls.add_method('GetSerializedSize',
3399 'uint32_t',
3400 [],
3401 is_const=True)
3402 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::Serialize(uint32_t * buffer, uint32_t maxSize) const [member function]
3403 cls.add_method('Serialize',
3404 'uint32_t',
3405 [param('uint32_t *', 'buffer'), param('uint32_t', 'maxSize')],
3406 is_const=True)
3407 return
3408
3409def register_Ns3Node_methods(root_module, cls):
3410 ## node.h (module 'network'): ns3::Node::Node(ns3::Node const & arg0) [copy constructor]
3411 cls.add_constructor([param('ns3::Node const &', 'arg0')])
3412 ## node.h (module 'network'): ns3::Node::Node() [constructor]
3413 cls.add_constructor([])
3414 ## node.h (module 'network'): ns3::Node::Node(uint32_t systemId) [constructor]
3415 cls.add_constructor([param('uint32_t', 'systemId')])
3416 ## node.h (module 'network'): uint32_t ns3::Node::AddApplication(ns3::Ptr<ns3::Application> application) [member function]
3417 cls.add_method('AddApplication',
3418 'uint32_t',
3419 [param('ns3::Ptr< ns3::Application >', 'application')])
3420 ## node.h (module 'network'): uint32_t ns3::Node::AddDevice(ns3::Ptr<ns3::NetDevice> device) [member function]
3421 cls.add_method('AddDevice',
3422 'uint32_t',
3423 [param('ns3::Ptr< ns3::NetDevice >', 'device')])
3424 ## node.h (module 'network'): static bool ns3::Node::ChecksumEnabled() [member function]
3425 cls.add_method('ChecksumEnabled',
3426 'bool',
3427 [],
3428 is_static=True)
3429 ## node.h (module 'network'): ns3::Ptr<ns3::Application> ns3::Node::GetApplication(uint32_t index) const [member function]
3430 cls.add_method('GetApplication',
3431 'ns3::Ptr< ns3::Application >',
3432 [param('uint32_t', 'index')],
3433 is_const=True)
3434 ## node.h (module 'network'): ns3::Ptr<ns3::NetDevice> ns3::Node::GetDevice(uint32_t index) const [member function]
3435 cls.add_method('GetDevice',
3436 'ns3::Ptr< ns3::NetDevice >',
3437 [param('uint32_t', 'index')],
3438 is_const=True)
3439 ## node.h (module 'network'): uint32_t ns3::Node::GetId() const [member function]
3440 cls.add_method('GetId',
3441 'uint32_t',
3442 [],
3443 is_const=True)
3444 ## node.h (module 'network'): uint32_t ns3::Node::GetNApplications() const [member function]
3445 cls.add_method('GetNApplications',
3446 'uint32_t',
3447 [],
3448 is_const=True)
3449 ## node.h (module 'network'): uint32_t ns3::Node::GetNDevices() const [member function]
3450 cls.add_method('GetNDevices',
3451 'uint32_t',
3452 [],
3453 is_const=True)
3454 ## node.h (module 'network'): uint32_t ns3::Node::GetSystemId() const [member function]
3455 cls.add_method('GetSystemId',
3456 'uint32_t',
3457 [],
3458 is_const=True)
3459 ## node.h (module 'network'): static ns3::TypeId ns3::Node::GetTypeId() [member function]
3460 cls.add_method('GetTypeId',
3461 'ns3::TypeId',
3462 [],
3463 is_static=True)
3464 ## 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]
3465 cls.add_method('RegisterDeviceAdditionListener',
3466 'void',
3467 [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')])
3468 ## 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]
3469 cls.add_method('RegisterProtocolHandler',
3470 'void',
3471 [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')])
3472 ## 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]
3473 cls.add_method('UnregisterDeviceAdditionListener',
3474 'void',
3475 [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')])
3476 ## 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]
3477 cls.add_method('UnregisterProtocolHandler',
3478 'void',
3479 [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')])
3480 ## node.h (module 'network'): void ns3::Node::DoDispose() [member function]
3481 cls.add_method('DoDispose',
3482 'void',
3483 [],
3484 visibility='protected', is_virtual=True)
3485 ## node.h (module 'network'): void ns3::Node::DoStart() [member function]
3486 cls.add_method('DoStart',
3487 'void',
3488 [],
3489 visibility='protected', is_virtual=True)
3490 return
3491
3492def register_Ns3ObjectFactoryChecker_methods(root_module, cls):
3493 ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker::ObjectFactoryChecker() [constructor]
3494 cls.add_constructor([])
3495 ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker::ObjectFactoryChecker(ns3::ObjectFactoryChecker const & arg0) [copy constructor]
3496 cls.add_constructor([param('ns3::ObjectFactoryChecker const &', 'arg0')])
3497 return
3498
3499def register_Ns3ObjectFactoryValue_methods(root_module, cls):
3500 ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue() [constructor]
3501 cls.add_constructor([])
3502 ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue(ns3::ObjectFactoryValue const & arg0) [copy constructor]
3503 cls.add_constructor([param('ns3::ObjectFactoryValue const &', 'arg0')])
3504 ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue(ns3::ObjectFactory const & value) [constructor]
3505 cls.add_constructor([param('ns3::ObjectFactory const &', 'value')])
3506 ## object-factory.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::ObjectFactoryValue::Copy() const [member function]
3507 cls.add_method('Copy',
3508 'ns3::Ptr< ns3::AttributeValue >',
3509 [],
3510 is_const=True, is_virtual=True)
3511 ## object-factory.h (module 'core'): bool ns3::ObjectFactoryValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3512 cls.add_method('DeserializeFromString',
3513 'bool',
3514 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3515 is_virtual=True)
3516 ## object-factory.h (module 'core'): ns3::ObjectFactory ns3::ObjectFactoryValue::Get() const [member function]
3517 cls.add_method('Get',
3518 'ns3::ObjectFactory',
3519 [],
3520 is_const=True)
3521 ## object-factory.h (module 'core'): std::string ns3::ObjectFactoryValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3522 cls.add_method('SerializeToString',
3523 'std::string',
3524 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3525 is_const=True, is_virtual=True)
3526 ## object-factory.h (module 'core'): void ns3::ObjectFactoryValue::Set(ns3::ObjectFactory const & value) [member function]
3527 cls.add_method('Set',
3528 'void',
3529 [param('ns3::ObjectFactory const &', 'value')])
3530 return
3531
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003532def register_Ns3Packet_methods(root_module, cls):
3533 cls.add_output_stream_operator()
3534 ## packet.h (module 'network'): ns3::Packet::Packet() [constructor]
3535 cls.add_constructor([])
3536 ## packet.h (module 'network'): ns3::Packet::Packet(ns3::Packet const & o) [copy constructor]
3537 cls.add_constructor([param('ns3::Packet const &', 'o')])
3538 ## packet.h (module 'network'): ns3::Packet::Packet(uint32_t size) [constructor]
3539 cls.add_constructor([param('uint32_t', 'size')])
3540 ## packet.h (module 'network'): ns3::Packet::Packet(uint8_t const * buffer, uint32_t size, bool magic) [constructor]
3541 cls.add_constructor([param('uint8_t const *', 'buffer'), param('uint32_t', 'size'), param('bool', 'magic')])
3542 ## packet.h (module 'network'): ns3::Packet::Packet(uint8_t const * buffer, uint32_t size) [constructor]
3543 cls.add_constructor([param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003544 ## packet.h (module 'network'): void ns3::Packet::AddAtEnd(ns3::Ptr<const ns3::Packet> packet) [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003545 cls.add_method('AddAtEnd',
3546 'void',
3547 [param('ns3::Ptr< ns3::Packet const >', 'packet')])
3548 ## packet.h (module 'network'): void ns3::Packet::AddByteTag(ns3::Tag const & tag) const [member function]
3549 cls.add_method('AddByteTag',
3550 'void',
3551 [param('ns3::Tag const &', 'tag')],
3552 is_const=True)
3553 ## packet.h (module 'network'): void ns3::Packet::AddHeader(ns3::Header const & header) [member function]
3554 cls.add_method('AddHeader',
3555 'void',
3556 [param('ns3::Header const &', 'header')])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07003557 ## packet.h (module 'network'): void ns3::Packet::AddPacketTag(ns3::Tag const & tag) const [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003558 cls.add_method('AddPacketTag',
3559 'void',
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07003560 [param('ns3::Tag const &', 'tag')],
3561 is_const=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003562 ## packet.h (module 'network'): void ns3::Packet::AddPaddingAtEnd(uint32_t size) [member function]
3563 cls.add_method('AddPaddingAtEnd',
3564 'void',
3565 [param('uint32_t', 'size')])
3566 ## packet.h (module 'network'): void ns3::Packet::AddTrailer(ns3::Trailer const & trailer) [member function]
3567 cls.add_method('AddTrailer',
3568 'void',
3569 [param('ns3::Trailer const &', 'trailer')])
3570 ## packet.h (module 'network'): ns3::PacketMetadata::ItemIterator ns3::Packet::BeginItem() const [member function]
3571 cls.add_method('BeginItem',
3572 'ns3::PacketMetadata::ItemIterator',
3573 [],
3574 is_const=True)
3575 ## packet.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Packet::Copy() const [member function]
3576 cls.add_method('Copy',
3577 'ns3::Ptr< ns3::Packet >',
3578 [],
3579 is_const=True)
3580 ## packet.h (module 'network'): uint32_t ns3::Packet::CopyData(uint8_t * buffer, uint32_t size) const [member function]
3581 cls.add_method('CopyData',
3582 'uint32_t',
3583 [param('uint8_t *', 'buffer'), param('uint32_t', 'size')],
3584 is_const=True)
3585 ## packet.h (module 'network'): void ns3::Packet::CopyData(std::ostream * os, uint32_t size) const [member function]
3586 cls.add_method('CopyData',
3587 'void',
3588 [param('std::ostream *', 'os'), param('uint32_t', 'size')],
3589 is_const=True)
3590 ## packet.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Packet::CreateFragment(uint32_t start, uint32_t length) const [member function]
3591 cls.add_method('CreateFragment',
3592 'ns3::Ptr< ns3::Packet >',
3593 [param('uint32_t', 'start'), param('uint32_t', 'length')],
3594 is_const=True)
3595 ## packet.h (module 'network'): static void ns3::Packet::EnableChecking() [member function]
3596 cls.add_method('EnableChecking',
3597 'void',
3598 [],
3599 is_static=True)
3600 ## packet.h (module 'network'): static void ns3::Packet::EnablePrinting() [member function]
3601 cls.add_method('EnablePrinting',
3602 'void',
3603 [],
3604 is_static=True)
3605 ## packet.h (module 'network'): bool ns3::Packet::FindFirstMatchingByteTag(ns3::Tag & tag) const [member function]
3606 cls.add_method('FindFirstMatchingByteTag',
3607 'bool',
3608 [param('ns3::Tag &', 'tag')],
3609 is_const=True)
3610 ## packet.h (module 'network'): ns3::ByteTagIterator ns3::Packet::GetByteTagIterator() const [member function]
3611 cls.add_method('GetByteTagIterator',
3612 'ns3::ByteTagIterator',
3613 [],
3614 is_const=True)
3615 ## packet.h (module 'network'): ns3::Ptr<ns3::NixVector> ns3::Packet::GetNixVector() const [member function]
3616 cls.add_method('GetNixVector',
3617 'ns3::Ptr< ns3::NixVector >',
3618 [],
3619 is_const=True)
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07003620 ## packet.h (module 'network'): ns3::PacketTagIterator ns3::Packet::GetPacketTagIterator() const [member function]
3621 cls.add_method('GetPacketTagIterator',
3622 'ns3::PacketTagIterator',
3623 [],
3624 is_const=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003625 ## packet.h (module 'network'): uint32_t ns3::Packet::GetSerializedSize() const [member function]
3626 cls.add_method('GetSerializedSize',
3627 'uint32_t',
3628 [],
3629 is_const=True)
3630 ## packet.h (module 'network'): uint32_t ns3::Packet::GetSize() const [member function]
3631 cls.add_method('GetSize',
3632 'uint32_t',
3633 [],
3634 is_const=True)
3635 ## packet.h (module 'network'): uint64_t ns3::Packet::GetUid() const [member function]
3636 cls.add_method('GetUid',
3637 'uint64_t',
3638 [],
3639 is_const=True)
3640 ## packet.h (module 'network'): uint8_t const * ns3::Packet::PeekData() const [member function]
3641 cls.add_method('PeekData',
3642 'uint8_t const *',
3643 [],
3644 deprecated=True, is_const=True)
3645 ## packet.h (module 'network'): uint32_t ns3::Packet::PeekHeader(ns3::Header & header) const [member function]
3646 cls.add_method('PeekHeader',
3647 'uint32_t',
3648 [param('ns3::Header &', 'header')],
3649 is_const=True)
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07003650 ## packet.h (module 'network'): bool ns3::Packet::PeekPacketTag(ns3::Tag & tag) const [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003651 cls.add_method('PeekPacketTag',
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07003652 'bool',
3653 [param('ns3::Tag &', 'tag')],
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003654 is_const=True)
3655 ## packet.h (module 'network'): uint32_t ns3::Packet::PeekTrailer(ns3::Trailer & trailer) [member function]
3656 cls.add_method('PeekTrailer',
3657 'uint32_t',
3658 [param('ns3::Trailer &', 'trailer')])
3659 ## packet.h (module 'network'): void ns3::Packet::Print(std::ostream & os) const [member function]
3660 cls.add_method('Print',
3661 'void',
3662 [param('std::ostream &', 'os')],
3663 is_const=True)
3664 ## packet.h (module 'network'): void ns3::Packet::PrintByteTags(std::ostream & os) const [member function]
3665 cls.add_method('PrintByteTags',
3666 'void',
3667 [param('std::ostream &', 'os')],
3668 is_const=True)
3669 ## packet.h (module 'network'): void ns3::Packet::PrintPacketTags(std::ostream & os) const [member function]
3670 cls.add_method('PrintPacketTags',
3671 'void',
3672 [param('std::ostream &', 'os')],
3673 is_const=True)
3674 ## packet.h (module 'network'): void ns3::Packet::RemoveAllByteTags() [member function]
3675 cls.add_method('RemoveAllByteTags',
3676 'void',
3677 [])
3678 ## packet.h (module 'network'): void ns3::Packet::RemoveAllPacketTags() [member function]
3679 cls.add_method('RemoveAllPacketTags',
3680 'void',
3681 [])
3682 ## packet.h (module 'network'): void ns3::Packet::RemoveAtEnd(uint32_t size) [member function]
3683 cls.add_method('RemoveAtEnd',
3684 'void',
3685 [param('uint32_t', 'size')])
3686 ## packet.h (module 'network'): void ns3::Packet::RemoveAtStart(uint32_t size) [member function]
3687 cls.add_method('RemoveAtStart',
3688 'void',
3689 [param('uint32_t', 'size')])
3690 ## packet.h (module 'network'): uint32_t ns3::Packet::RemoveHeader(ns3::Header & header) [member function]
3691 cls.add_method('RemoveHeader',
3692 'uint32_t',
3693 [param('ns3::Header &', 'header')])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07003694 ## packet.h (module 'network'): bool ns3::Packet::RemovePacketTag(ns3::Tag & tag) [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003695 cls.add_method('RemovePacketTag',
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07003696 'bool',
3697 [param('ns3::Tag &', 'tag')])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003698 ## packet.h (module 'network'): uint32_t ns3::Packet::RemoveTrailer(ns3::Trailer & trailer) [member function]
3699 cls.add_method('RemoveTrailer',
3700 'uint32_t',
3701 [param('ns3::Trailer &', 'trailer')])
3702 ## packet.h (module 'network'): uint32_t ns3::Packet::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
3703 cls.add_method('Serialize',
3704 'uint32_t',
3705 [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')],
3706 is_const=True)
3707 ## packet.h (module 'network'): void ns3::Packet::SetNixVector(ns3::Ptr<ns3::NixVector> arg0) [member function]
3708 cls.add_method('SetNixVector',
3709 'void',
3710 [param('ns3::Ptr< ns3::NixVector >', 'arg0')])
3711 return
3712
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003713def register_Ns3TimeChecker_methods(root_module, cls):
3714 ## nstime.h (module 'core'): ns3::TimeChecker::TimeChecker() [constructor]
3715 cls.add_constructor([])
3716 ## nstime.h (module 'core'): ns3::TimeChecker::TimeChecker(ns3::TimeChecker const & arg0) [copy constructor]
3717 cls.add_constructor([param('ns3::TimeChecker const &', 'arg0')])
3718 return
3719
3720def register_Ns3TimeValue_methods(root_module, cls):
3721 ## nstime.h (module 'core'): ns3::TimeValue::TimeValue() [constructor]
3722 cls.add_constructor([])
3723 ## nstime.h (module 'core'): ns3::TimeValue::TimeValue(ns3::TimeValue const & arg0) [copy constructor]
3724 cls.add_constructor([param('ns3::TimeValue const &', 'arg0')])
3725 ## nstime.h (module 'core'): ns3::TimeValue::TimeValue(ns3::Time const & value) [constructor]
3726 cls.add_constructor([param('ns3::Time const &', 'value')])
3727 ## nstime.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::TimeValue::Copy() const [member function]
3728 cls.add_method('Copy',
3729 'ns3::Ptr< ns3::AttributeValue >',
3730 [],
3731 is_const=True, is_virtual=True)
3732 ## nstime.h (module 'core'): bool ns3::TimeValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3733 cls.add_method('DeserializeFromString',
3734 'bool',
3735 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3736 is_virtual=True)
3737 ## nstime.h (module 'core'): ns3::Time ns3::TimeValue::Get() const [member function]
3738 cls.add_method('Get',
3739 'ns3::Time',
3740 [],
3741 is_const=True)
3742 ## nstime.h (module 'core'): std::string ns3::TimeValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3743 cls.add_method('SerializeToString',
3744 'std::string',
3745 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3746 is_const=True, is_virtual=True)
3747 ## nstime.h (module 'core'): void ns3::TimeValue::Set(ns3::Time const & value) [member function]
3748 cls.add_method('Set',
3749 'void',
3750 [param('ns3::Time const &', 'value')])
3751 return
3752
3753def register_Ns3TypeIdChecker_methods(root_module, cls):
3754 ## type-id.h (module 'core'): ns3::TypeIdChecker::TypeIdChecker() [constructor]
3755 cls.add_constructor([])
3756 ## type-id.h (module 'core'): ns3::TypeIdChecker::TypeIdChecker(ns3::TypeIdChecker const & arg0) [copy constructor]
3757 cls.add_constructor([param('ns3::TypeIdChecker const &', 'arg0')])
3758 return
3759
3760def register_Ns3TypeIdValue_methods(root_module, cls):
3761 ## type-id.h (module 'core'): ns3::TypeIdValue::TypeIdValue() [constructor]
3762 cls.add_constructor([])
3763 ## type-id.h (module 'core'): ns3::TypeIdValue::TypeIdValue(ns3::TypeIdValue const & arg0) [copy constructor]
3764 cls.add_constructor([param('ns3::TypeIdValue const &', 'arg0')])
3765 ## type-id.h (module 'core'): ns3::TypeIdValue::TypeIdValue(ns3::TypeId const & value) [constructor]
3766 cls.add_constructor([param('ns3::TypeId const &', 'value')])
3767 ## type-id.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::TypeIdValue::Copy() const [member function]
3768 cls.add_method('Copy',
3769 'ns3::Ptr< ns3::AttributeValue >',
3770 [],
3771 is_const=True, is_virtual=True)
3772 ## type-id.h (module 'core'): bool ns3::TypeIdValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3773 cls.add_method('DeserializeFromString',
3774 'bool',
3775 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3776 is_virtual=True)
3777 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeIdValue::Get() const [member function]
3778 cls.add_method('Get',
3779 'ns3::TypeId',
3780 [],
3781 is_const=True)
3782 ## type-id.h (module 'core'): std::string ns3::TypeIdValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3783 cls.add_method('SerializeToString',
3784 'std::string',
3785 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3786 is_const=True, is_virtual=True)
3787 ## type-id.h (module 'core'): void ns3::TypeIdValue::Set(ns3::TypeId const & value) [member function]
3788 cls.add_method('Set',
3789 'void',
3790 [param('ns3::TypeId const &', 'value')])
3791 return
3792
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003793def register_Ns3AddressChecker_methods(root_module, cls):
3794 ## address.h (module 'network'): ns3::AddressChecker::AddressChecker() [constructor]
3795 cls.add_constructor([])
3796 ## address.h (module 'network'): ns3::AddressChecker::AddressChecker(ns3::AddressChecker const & arg0) [copy constructor]
3797 cls.add_constructor([param('ns3::AddressChecker const &', 'arg0')])
3798 return
3799
3800def register_Ns3AddressValue_methods(root_module, cls):
3801 ## address.h (module 'network'): ns3::AddressValue::AddressValue() [constructor]
3802 cls.add_constructor([])
3803 ## address.h (module 'network'): ns3::AddressValue::AddressValue(ns3::AddressValue const & arg0) [copy constructor]
3804 cls.add_constructor([param('ns3::AddressValue const &', 'arg0')])
3805 ## address.h (module 'network'): ns3::AddressValue::AddressValue(ns3::Address const & value) [constructor]
3806 cls.add_constructor([param('ns3::Address const &', 'value')])
3807 ## address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::AddressValue::Copy() const [member function]
3808 cls.add_method('Copy',
3809 'ns3::Ptr< ns3::AttributeValue >',
3810 [],
3811 is_const=True, is_virtual=True)
3812 ## address.h (module 'network'): bool ns3::AddressValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3813 cls.add_method('DeserializeFromString',
3814 'bool',
3815 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3816 is_virtual=True)
3817 ## address.h (module 'network'): ns3::Address ns3::AddressValue::Get() const [member function]
3818 cls.add_method('Get',
3819 'ns3::Address',
3820 [],
3821 is_const=True)
3822 ## address.h (module 'network'): std::string ns3::AddressValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3823 cls.add_method('SerializeToString',
3824 'std::string',
3825 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3826 is_const=True, is_virtual=True)
3827 ## address.h (module 'network'): void ns3::AddressValue::Set(ns3::Address const & value) [member function]
3828 cls.add_method('Set',
3829 'void',
3830 [param('ns3::Address const &', 'value')])
3831 return
3832
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07003833def register_Ns3NdnApp_methods(root_module, cls):
3834 ## ndn-app.h (module 'ndnSIM'): ns3::ndn::App::App(ns3::ndn::App const & arg0) [copy constructor]
3835 cls.add_constructor([param('ns3::ndn::App const &', 'arg0')])
3836 ## ndn-app.h (module 'ndnSIM'): ns3::ndn::App::App() [constructor]
3837 cls.add_constructor([])
3838 ## ndn-app.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::App::GetTypeId() [member function]
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003839 cls.add_method('GetTypeId',
3840 'ns3::TypeId',
3841 [],
3842 is_static=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07003843 ## ndn-app.h (module 'ndnSIM'): void ns3::ndn::App::OnContentObject(ns3::Ptr<ns3::ndn::ContentObjectHeader const> const & contentObject, ns3::Ptr<ns3::Packet> payload) [member function]
3844 cls.add_method('OnContentObject',
3845 'void',
3846 [param('ns3::Ptr< ns3::ndn::ContentObjectHeader const > const &', 'contentObject'), param('ns3::Ptr< ns3::Packet >', 'payload')],
3847 is_virtual=True)
3848 ## ndn-app.h (module 'ndnSIM'): void ns3::ndn::App::OnInterest(ns3::Ptr<const ns3::ndn::InterestHeader> const & interest, ns3::Ptr<ns3::Packet> packet) [member function]
3849 cls.add_method('OnInterest',
3850 'void',
3851 [param('ns3::Ptr< ns3::ndn::InterestHeader const > const &', 'interest'), param('ns3::Ptr< ns3::Packet >', 'packet')],
3852 is_virtual=True)
3853 ## ndn-app.h (module 'ndnSIM'): void ns3::ndn::App::OnNack(ns3::Ptr<const ns3::ndn::InterestHeader> const & interest, ns3::Ptr<ns3::Packet> packet) [member function]
3854 cls.add_method('OnNack',
3855 'void',
3856 [param('ns3::Ptr< ns3::ndn::InterestHeader const > const &', 'interest'), param('ns3::Ptr< ns3::Packet >', 'packet')],
3857 is_virtual=True)
3858 ## ndn-app.h (module 'ndnSIM'): void ns3::ndn::App::RegisterProtocolHandler(ns3::Callback<bool, ns3::Ptr<ns3::Packet const> const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> handler) [member function]
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003859 cls.add_method('RegisterProtocolHandler',
3860 'void',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07003861 [param('ns3::Callback< bool, ns3::Ptr< ns3::Packet const >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'handler')])
3862 ## ndn-app.h (module 'ndnSIM'): void ns3::ndn::App::DoDispose() [member function]
3863 cls.add_method('DoDispose',
3864 'void',
3865 [],
3866 visibility='protected', is_virtual=True)
3867 ## ndn-app.h (module 'ndnSIM'): void ns3::ndn::App::StartApplication() [member function]
3868 cls.add_method('StartApplication',
3869 'void',
3870 [],
3871 visibility='protected', is_virtual=True)
3872 ## ndn-app.h (module 'ndnSIM'): void ns3::ndn::App::StopApplication() [member function]
3873 cls.add_method('StopApplication',
3874 'void',
3875 [],
3876 visibility='protected', is_virtual=True)
3877 return
3878
3879def register_Ns3NdnAppHelper_methods(root_module, cls):
3880 ## ndn-app-helper.h (module 'ndnSIM'): ns3::ndn::AppHelper::AppHelper(ns3::ndn::AppHelper const & arg0) [copy constructor]
3881 cls.add_constructor([param('ns3::ndn::AppHelper const &', 'arg0')])
3882 ## ndn-app-helper.h (module 'ndnSIM'): ns3::ndn::AppHelper::AppHelper(std::string const & prefix) [constructor]
3883 cls.add_constructor([param('std::string const &', 'prefix')])
3884 ## ndn-app-helper.h (module 'ndnSIM'): ns3::ApplicationContainer ns3::ndn::AppHelper::Install(ns3::NodeContainer c) [member function]
3885 cls.add_method('Install',
3886 'ns3::ApplicationContainer',
3887 [param('ns3::NodeContainer', 'c')])
3888 ## ndn-app-helper.h (module 'ndnSIM'): ns3::ApplicationContainer ns3::ndn::AppHelper::Install(ns3::Ptr<ns3::Node> node) [member function]
3889 cls.add_method('Install',
3890 'ns3::ApplicationContainer',
3891 [param('ns3::Ptr< ns3::Node >', 'node')])
3892 ## ndn-app-helper.h (module 'ndnSIM'): ns3::ApplicationContainer ns3::ndn::AppHelper::Install(std::string nodeName) [member function]
3893 cls.add_method('Install',
3894 'ns3::ApplicationContainer',
3895 [param('std::string', 'nodeName')])
3896 ## ndn-app-helper.h (module 'ndnSIM'): void ns3::ndn::AppHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function]
3897 cls.add_method('SetAttribute',
3898 'void',
3899 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
3900 ## ndn-app-helper.h (module 'ndnSIM'): void ns3::ndn::AppHelper::SetPrefix(std::string const & prefix) [member function]
3901 cls.add_method('SetPrefix',
3902 'void',
3903 [param('std::string const &', 'prefix')])
3904 return
3905
3906def register_Ns3NdnContentObjectHeader_methods(root_module, cls):
3907 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeader::ContentObjectHeader(ns3::ndn::ContentObjectHeader const & arg0) [copy constructor]
3908 cls.add_constructor([param('ns3::ndn::ContentObjectHeader const &', 'arg0')])
3909 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeader::ContentObjectHeader() [constructor]
3910 cls.add_constructor([])
3911 ## ndn-content-object-header.h (module 'ndnSIM'): uint32_t ns3::ndn::ContentObjectHeader::Deserialize(ns3::Buffer::Iterator start) [member function]
3912 cls.add_method('Deserialize',
3913 'uint32_t',
3914 [param('ns3::Buffer::Iterator', 'start')],
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003915 is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07003916 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::TypeId ns3::ndn::ContentObjectHeader::GetInstanceTypeId() const [member function]
3917 cls.add_method('GetInstanceTypeId',
3918 'ns3::TypeId',
3919 [],
3920 is_const=True, is_virtual=True)
3921 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::NameComponents const & ns3::ndn::ContentObjectHeader::GetName() const [member function]
3922 cls.add_method('GetName',
3923 'ns3::ndn::NameComponents const &',
3924 [],
3925 is_const=True)
3926 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::NameComponents const> ns3::ndn::ContentObjectHeader::GetNamePtr() const [member function]
3927 cls.add_method('GetNamePtr',
3928 'ns3::Ptr< ns3::ndn::NameComponents const >',
3929 [],
3930 is_const=True)
3931 ## ndn-content-object-header.h (module 'ndnSIM'): uint32_t ns3::ndn::ContentObjectHeader::GetSerializedSize() const [member function]
3932 cls.add_method('GetSerializedSize',
3933 'uint32_t',
3934 [],
3935 is_const=True, is_virtual=True)
3936 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeader::Signature & ns3::ndn::ContentObjectHeader::GetSignature() [member function]
3937 cls.add_method('GetSignature',
3938 'ns3::ndn::ContentObjectHeader::Signature &',
3939 [])
3940 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeader::Signature const & ns3::ndn::ContentObjectHeader::GetSignature() const [member function]
3941 cls.add_method('GetSignature',
3942 'ns3::ndn::ContentObjectHeader::Signature const &',
3943 [],
3944 is_const=True)
3945 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeader::SignedInfo & ns3::ndn::ContentObjectHeader::GetSignedInfo() [member function]
3946 cls.add_method('GetSignedInfo',
3947 'ns3::ndn::ContentObjectHeader::SignedInfo &',
3948 [])
3949 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeader::SignedInfo const & ns3::ndn::ContentObjectHeader::GetSignedInfo() const [member function]
3950 cls.add_method('GetSignedInfo',
3951 'ns3::ndn::ContentObjectHeader::SignedInfo const &',
3952 [],
3953 is_const=True)
3954 ## ndn-content-object-header.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::ContentObjectHeader::GetTypeId() [member function]
3955 cls.add_method('GetTypeId',
3956 'ns3::TypeId',
3957 [],
3958 is_static=True)
3959 ## ndn-content-object-header.h (module 'ndnSIM'): void ns3::ndn::ContentObjectHeader::Print(std::ostream & os) const [member function]
3960 cls.add_method('Print',
3961 'void',
3962 [param('std::ostream &', 'os')],
3963 is_const=True, is_virtual=True)
3964 ## ndn-content-object-header.h (module 'ndnSIM'): void ns3::ndn::ContentObjectHeader::Serialize(ns3::Buffer::Iterator start) const [member function]
3965 cls.add_method('Serialize',
3966 'void',
3967 [param('ns3::Buffer::Iterator', 'start')],
3968 is_const=True, is_virtual=True)
3969 ## ndn-content-object-header.h (module 'ndnSIM'): void ns3::ndn::ContentObjectHeader::SetName(ns3::Ptr<ns3::ndn::NameComponents> const & name) [member function]
3970 cls.add_method('SetName',
3971 'void',
3972 [param('ns3::Ptr< ns3::ndn::NameComponents > const &', 'name')])
3973 return
3974
3975def register_Ns3NdnContentObjectHeaderSignature_methods(root_module, cls):
3976 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeader::Signature::Signature(ns3::ndn::ContentObjectHeader::Signature const & arg0) [copy constructor]
3977 cls.add_constructor([param('ns3::ndn::ContentObjectHeader::Signature const &', 'arg0')])
3978 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeader::Signature::Signature() [constructor]
3979 cls.add_constructor([])
3980 ## ndn-content-object-header.h (module 'ndnSIM'): std::string const & ns3::ndn::ContentObjectHeader::Signature::GetDigestAlgorithm() const [member function]
3981 cls.add_method('GetDigestAlgorithm',
3982 'std::string const &',
3983 [],
3984 is_const=True)
3985 ## ndn-content-object-header.h (module 'ndnSIM'): uint32_t ns3::ndn::ContentObjectHeader::Signature::GetSignatureBits() const [member function]
3986 cls.add_method('GetSignatureBits',
3987 'uint32_t',
3988 [],
3989 is_const=True)
3990 ## ndn-content-object-header.h (module 'ndnSIM'): void ns3::ndn::ContentObjectHeader::Signature::SetDigestAlgorithm(std::string const & digestAlgorithm) [member function]
3991 cls.add_method('SetDigestAlgorithm',
3992 'void',
3993 [param('std::string const &', 'digestAlgorithm')])
3994 ## ndn-content-object-header.h (module 'ndnSIM'): void ns3::ndn::ContentObjectHeader::Signature::SetSignatureBits(uint32_t signature) [member function]
3995 cls.add_method('SetSignatureBits',
3996 'void',
3997 [param('uint32_t', 'signature')])
3998 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeader::Signature::DefaultDigestAlgorithm [variable]
3999 cls.add_static_attribute('DefaultDigestAlgorithm', 'std::string const', is_const=True)
4000 return
4001
4002def register_Ns3NdnContentObjectHeaderSignedInfo_methods(root_module, cls):
4003 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeader::SignedInfo::SignedInfo(ns3::ndn::ContentObjectHeader::SignedInfo const & arg0) [copy constructor]
4004 cls.add_constructor([param('ns3::ndn::ContentObjectHeader::SignedInfo const &', 'arg0')])
4005 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeader::SignedInfo::SignedInfo() [constructor]
4006 cls.add_constructor([])
4007 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeader::ContentType ns3::ndn::ContentObjectHeader::SignedInfo::GetContentType() const [member function]
4008 cls.add_method('GetContentType',
4009 'ns3::ndn::ContentObjectHeader::ContentType',
4010 [],
4011 is_const=True)
4012 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::Time ns3::ndn::ContentObjectHeader::SignedInfo::GetFreshness() const [member function]
4013 cls.add_method('GetFreshness',
4014 'ns3::Time',
4015 [],
4016 is_const=True)
4017 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::NameComponents const> ns3::ndn::ContentObjectHeader::SignedInfo::GetKeyLocator() const [member function]
4018 cls.add_method('GetKeyLocator',
4019 'ns3::Ptr< ns3::ndn::NameComponents const >',
4020 [],
4021 is_const=True)
4022 ## ndn-content-object-header.h (module 'ndnSIM'): uint32_t ns3::ndn::ContentObjectHeader::SignedInfo::GetPublisherPublicKeyDigest() const [member function]
4023 cls.add_method('GetPublisherPublicKeyDigest',
4024 'uint32_t',
4025 [],
4026 is_const=True)
4027 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::Time ns3::ndn::ContentObjectHeader::SignedInfo::GetTimestamp() const [member function]
4028 cls.add_method('GetTimestamp',
4029 'ns3::Time',
4030 [],
4031 is_const=True)
4032 ## ndn-content-object-header.h (module 'ndnSIM'): void ns3::ndn::ContentObjectHeader::SignedInfo::SetContentType(ns3::ndn::ContentObjectHeader::ContentType type) [member function]
4033 cls.add_method('SetContentType',
4034 'void',
4035 [param('ns3::ndn::ContentObjectHeader::ContentType', 'type')])
4036 ## ndn-content-object-header.h (module 'ndnSIM'): void ns3::ndn::ContentObjectHeader::SignedInfo::SetFreshness(ns3::Time const & freshness) [member function]
4037 cls.add_method('SetFreshness',
4038 'void',
4039 [param('ns3::Time const &', 'freshness')])
4040 ## ndn-content-object-header.h (module 'ndnSIM'): void ns3::ndn::ContentObjectHeader::SignedInfo::SetKeyLocator(ns3::Ptr<ns3::ndn::NameComponents const> keyLocator) [member function]
4041 cls.add_method('SetKeyLocator',
4042 'void',
4043 [param('ns3::Ptr< ns3::ndn::NameComponents const >', 'keyLocator')])
4044 ## ndn-content-object-header.h (module 'ndnSIM'): void ns3::ndn::ContentObjectHeader::SignedInfo::SetPublisherPublicKeyDigest(uint32_t digest) [member function]
4045 cls.add_method('SetPublisherPublicKeyDigest',
4046 'void',
4047 [param('uint32_t', 'digest')])
4048 ## ndn-content-object-header.h (module 'ndnSIM'): void ns3::ndn::ContentObjectHeader::SignedInfo::SetTimestamp(ns3::Time const & timestamp) [member function]
4049 cls.add_method('SetTimestamp',
4050 'void',
4051 [param('ns3::Time const &', 'timestamp')])
4052 return
4053
4054def register_Ns3NdnContentObjectHeaderException_methods(root_module, cls):
4055 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeaderException::ContentObjectHeaderException() [constructor]
4056 cls.add_constructor([])
4057 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::ContentObjectHeaderException::ContentObjectHeaderException(ns3::ndn::ContentObjectHeaderException const & arg0) [copy constructor]
4058 cls.add_constructor([param('ns3::ndn::ContentObjectHeaderException const &', 'arg0')])
4059 return
4060
4061def register_Ns3NdnContentObjectTail_methods(root_module, cls):
4062 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::ContentObjectTail::ContentObjectTail(ns3::ndn::ContentObjectTail const & arg0) [copy constructor]
4063 cls.add_constructor([param('ns3::ndn::ContentObjectTail const &', 'arg0')])
4064 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::ndn::ContentObjectTail::ContentObjectTail() [constructor]
4065 cls.add_constructor([])
4066 ## ndn-content-object-header.h (module 'ndnSIM'): uint32_t ns3::ndn::ContentObjectTail::Deserialize(ns3::Buffer::Iterator start) [member function]
4067 cls.add_method('Deserialize',
4068 'uint32_t',
4069 [param('ns3::Buffer::Iterator', 'start')],
4070 is_virtual=True)
4071 ## ndn-content-object-header.h (module 'ndnSIM'): ns3::TypeId ns3::ndn::ContentObjectTail::GetInstanceTypeId() const [member function]
4072 cls.add_method('GetInstanceTypeId',
4073 'ns3::TypeId',
4074 [],
4075 is_const=True, is_virtual=True)
4076 ## ndn-content-object-header.h (module 'ndnSIM'): uint32_t ns3::ndn::ContentObjectTail::GetSerializedSize() const [member function]
4077 cls.add_method('GetSerializedSize',
4078 'uint32_t',
4079 [],
4080 is_const=True, is_virtual=True)
4081 ## ndn-content-object-header.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::ContentObjectTail::GetTypeId() [member function]
4082 cls.add_method('GetTypeId',
4083 'ns3::TypeId',
4084 [],
4085 is_static=True)
4086 ## ndn-content-object-header.h (module 'ndnSIM'): void ns3::ndn::ContentObjectTail::Print(std::ostream & os) const [member function]
4087 cls.add_method('Print',
4088 'void',
4089 [param('std::ostream &', 'os')],
4090 is_const=True, is_virtual=True)
4091 ## ndn-content-object-header.h (module 'ndnSIM'): void ns3::ndn::ContentObjectTail::Serialize(ns3::Buffer::Iterator start) const [member function]
4092 cls.add_method('Serialize',
4093 'void',
4094 [param('ns3::Buffer::Iterator', 'start')],
4095 is_const=True, is_virtual=True)
4096 return
4097
4098def register_Ns3NdnContentStore_methods(root_module, cls):
4099 cls.add_output_stream_operator()
4100 ## ndn-content-store.h (module 'ndnSIM'): ns3::ndn::ContentStore::ContentStore() [constructor]
4101 cls.add_constructor([])
4102 ## ndn-content-store.h (module 'ndnSIM'): ns3::ndn::ContentStore::ContentStore(ns3::ndn::ContentStore const & arg0) [copy constructor]
4103 cls.add_constructor([param('ns3::ndn::ContentStore const &', 'arg0')])
4104 ## ndn-content-store.h (module 'ndnSIM'): bool ns3::ndn::ContentStore::Add(ns3::Ptr<ns3::ndn::ContentObjectHeader const> header, ns3::Ptr<const ns3::Packet> packet) [member function]
4105 cls.add_method('Add',
4106 'bool',
4107 [param('ns3::Ptr< ns3::ndn::ContentObjectHeader const >', 'header'), param('ns3::Ptr< ns3::Packet const >', 'packet')],
4108 is_pure_virtual=True, is_virtual=True)
4109 ## ndn-content-store.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::ContentStore::GetTypeId() [member function]
4110 cls.add_method('GetTypeId',
4111 'ns3::TypeId',
4112 [],
4113 is_static=True)
4114 ## ndn-content-store.h (module 'ndnSIM'): boost::tuples::tuple<ns3::Ptr<ns3::Packet>,ns3::Ptr<const ns3::ndn::ContentObjectHeader>,ns3::Ptr<const ns3::Packet>,boost::tuples::null_type,boost::tuples::null_type,boost::tuples::null_type,boost::tuples::null_type,boost::tuples::null_type,boost::tuples::null_type,boost::tuples::null_type> ns3::ndn::ContentStore::Lookup(ns3::Ptr<const ns3::ndn::InterestHeader> interest) [member function]
4115 cls.add_method('Lookup',
4116 'boost::tuples::tuple< ns3::Ptr< ns3::Packet >, ns3::Ptr< ns3::ndn::ContentObjectHeader const >, ns3::Ptr< ns3::Packet const >, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type >',
4117 [param('ns3::Ptr< ns3::ndn::InterestHeader const >', 'interest')],
4118 is_pure_virtual=True, is_virtual=True)
4119 ## ndn-content-store.h (module 'ndnSIM'): void ns3::ndn::ContentStore::Print(std::ostream & os) const [member function]
4120 cls.add_method('Print',
4121 'void',
4122 [param('std::ostream &', 'os')],
4123 is_pure_virtual=True, is_const=True, is_virtual=True)
4124 return
4125
4126def register_Ns3NdnFace_methods(root_module, cls):
4127 cls.add_output_stream_operator()
4128 cls.add_binary_comparison_operator('!=')
4129 cls.add_binary_comparison_operator('<')
4130 cls.add_binary_comparison_operator('==')
4131 ## ndn-face.h (module 'ndnSIM'): ns3::ndn::Face::Face(ns3::Ptr<ns3::Node> node) [constructor]
4132 cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node')])
4133 ## ndn-face.h (module 'ndnSIM'): uint32_t ns3::ndn::Face::GetId() const [member function]
4134 cls.add_method('GetId',
4135 'uint32_t',
4136 [],
4137 is_const=True)
4138 ## ndn-face.h (module 'ndnSIM'): uint16_t ns3::ndn::Face::GetMetric() const [member function]
4139 cls.add_method('GetMetric',
4140 'uint16_t',
4141 [],
4142 is_const=True, is_virtual=True)
4143 ## ndn-face.h (module 'ndnSIM'): ns3::Ptr<ns3::Node> ns3::ndn::Face::GetNode() const [member function]
4144 cls.add_method('GetNode',
4145 'ns3::Ptr< ns3::Node >',
4146 [],
4147 is_const=True)
4148 ## ndn-face.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::Face::GetTypeId() [member function]
4149 cls.add_method('GetTypeId',
4150 'ns3::TypeId',
4151 [],
4152 is_static=True)
4153 ## ndn-face.h (module 'ndnSIM'): bool ns3::ndn::Face::IsBelowLimit() [member function]
4154 cls.add_method('IsBelowLimit',
4155 'bool',
4156 [])
4157 ## ndn-face.h (module 'ndnSIM'): bool ns3::ndn::Face::IsUp() const [member function]
4158 cls.add_method('IsUp',
4159 'bool',
4160 [],
4161 is_const=True, is_virtual=True)
4162 ## ndn-face.h (module 'ndnSIM'): void ns3::ndn::Face::LeakBucket() [member function]
4163 cls.add_method('LeakBucket',
4164 'void',
4165 [])
4166 ## ndn-face.h (module 'ndnSIM'): std::ostream & ns3::ndn::Face::Print(std::ostream & os) const [member function]
Alexander Afanasyev3073da82012-06-19 14:57:43 -07004167 cls.add_method('Print',
4168 'std::ostream &',
4169 [param('std::ostream &', 'os')],
4170 is_const=True, is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004171 ## ndn-face.h (module 'ndnSIM'): bool ns3::ndn::Face::Receive(ns3::Ptr<const ns3::Packet> const & p) [member function]
4172 cls.add_method('Receive',
4173 'bool',
4174 [param('ns3::Ptr< ns3::Packet const > const &', 'p')])
4175 ## ndn-face.h (module 'ndnSIM'): void ns3::ndn::Face::RegisterProtocolHandler(ns3::Callback<void, ns3::Ptr<ns3::ndn::Face> const&, ns3::Ptr<ns3::Packet const> const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> handler) [member function]
4176 cls.add_method('RegisterProtocolHandler',
4177 'void',
4178 [param('ns3::Callback< void, ns3::Ptr< ns3::ndn::Face >, ns3::Ptr< ns3::Packet const >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'handler')],
4179 is_virtual=True)
4180 ## ndn-face.h (module 'ndnSIM'): bool ns3::ndn::Face::Send(ns3::Ptr<ns3::Packet> p) [member function]
4181 cls.add_method('Send',
4182 'bool',
4183 [param('ns3::Ptr< ns3::Packet >', 'p')])
4184 ## ndn-face.h (module 'ndnSIM'): void ns3::ndn::Face::SetBucketLeak(double leak) [member function]
4185 cls.add_method('SetBucketLeak',
4186 'void',
4187 [param('double', 'leak')])
4188 ## ndn-face.h (module 'ndnSIM'): void ns3::ndn::Face::SetBucketMax(double bucket) [member function]
4189 cls.add_method('SetBucketMax',
4190 'void',
4191 [param('double', 'bucket')])
4192 ## ndn-face.h (module 'ndnSIM'): void ns3::ndn::Face::SetId(uint32_t id) [member function]
4193 cls.add_method('SetId',
4194 'void',
4195 [param('uint32_t', 'id')])
4196 ## ndn-face.h (module 'ndnSIM'): void ns3::ndn::Face::SetMetric(uint16_t metric) [member function]
4197 cls.add_method('SetMetric',
4198 'void',
4199 [param('uint16_t', 'metric')],
4200 is_virtual=True)
4201 ## ndn-face.h (module 'ndnSIM'): void ns3::ndn::Face::SetUp(bool up=true) [member function]
4202 cls.add_method('SetUp',
4203 'void',
4204 [param('bool', 'up', default_value='true')],
4205 is_virtual=True)
4206 ## ndn-face.h (module 'ndnSIM'): bool ns3::ndn::Face::SendImpl(ns3::Ptr<ns3::Packet> p) [member function]
4207 cls.add_method('SendImpl',
4208 'bool',
4209 [param('ns3::Ptr< ns3::Packet >', 'p')],
4210 is_pure_virtual=True, visibility='protected', is_virtual=True)
4211 return
4212
4213def register_Ns3NdnFaceContainer_methods(root_module, cls):
4214 ## ndn-face-container.h (module 'ndnSIM'): ns3::ndn::FaceContainer::FaceContainer() [constructor]
4215 cls.add_constructor([])
4216 ## ndn-face-container.h (module 'ndnSIM'): ns3::ndn::FaceContainer::FaceContainer(ns3::ndn::FaceContainer const & other) [copy constructor]
4217 cls.add_constructor([param('ns3::ndn::FaceContainer const &', 'other')])
4218 ## ndn-face-container.h (module 'ndnSIM'): void ns3::ndn::FaceContainer::Add(ns3::Ptr<ns3::ndn::Face> const & face) [member function]
4219 cls.add_method('Add',
4220 'void',
4221 [param('ns3::Ptr< ns3::ndn::Face > const &', 'face')])
4222 ## ndn-face-container.h (module 'ndnSIM'): void ns3::ndn::FaceContainer::AddAll(ns3::Ptr<ns3::ndn::FaceContainer> other) [member function]
4223 cls.add_method('AddAll',
4224 'void',
4225 [param('ns3::Ptr< ns3::ndn::FaceContainer >', 'other')])
4226 ## ndn-face-container.h (module 'ndnSIM'): void ns3::ndn::FaceContainer::AddAll(ns3::ndn::FaceContainer const & other) [member function]
4227 cls.add_method('AddAll',
4228 'void',
4229 [param('ns3::ndn::FaceContainer const &', 'other')])
4230 ## 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]
4231 cls.add_method('Begin',
4232 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::ndn::Face > const, std::vector< ns3::Ptr< ns3::ndn::Face > > >',
4233 [],
4234 is_const=True)
4235 ## 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]
4236 cls.add_method('End',
4237 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::ndn::Face > const, std::vector< ns3::Ptr< ns3::ndn::Face > > >',
4238 [],
4239 is_const=True)
4240 ## 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]
4241 cls.add_method('Get',
4242 'ns3::Ptr< ns3::ndn::Face >',
4243 [param('__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::ndn::Face > const, std::vector< ns3::Ptr< ns3::ndn::Face > > >', 'i')],
4244 is_const=True)
4245 ## ndn-face-container.h (module 'ndnSIM'): uint32_t ns3::ndn::FaceContainer::GetN() const [member function]
4246 cls.add_method('GetN',
4247 'uint32_t',
4248 [],
4249 is_const=True)
4250 return
4251
4252def register_Ns3NdnFib_methods(root_module, cls):
4253 cls.add_output_stream_operator()
4254 ## ndn-fib.h (module 'ndnSIM'): ns3::ndn::Fib::Fib() [constructor]
4255 cls.add_constructor([])
4256 ## ndn-fib.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::fib::Entry> ns3::ndn::Fib::Add(ns3::ndn::NameComponents const & prefix, ns3::Ptr<ns3::ndn::Face> face, int32_t metric) [member function]
4257 cls.add_method('Add',
4258 'ns3::Ptr< ns3::ndn::fib::Entry >',
4259 [param('ns3::ndn::NameComponents const &', 'prefix'), param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('int32_t', 'metric')],
4260 is_pure_virtual=True, is_virtual=True)
4261 ## ndn-fib.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::fib::Entry> ns3::ndn::Fib::Add(ns3::Ptr<ns3::ndn::NameComponents const> const & prefix, ns3::Ptr<ns3::ndn::Face> face, int32_t metric) [member function]
4262 cls.add_method('Add',
4263 'ns3::Ptr< ns3::ndn::fib::Entry >',
4264 [param('ns3::Ptr< ns3::ndn::NameComponents const > const &', 'prefix'), param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('int32_t', 'metric')],
4265 is_pure_virtual=True, is_virtual=True)
4266 ## ndn-fib.h (module 'ndnSIM'): ns3::Ptr<const ns3::ndn::fib::Entry> ns3::ndn::Fib::Begin() [member function]
4267 cls.add_method('Begin',
4268 'ns3::Ptr< ns3::ndn::fib::Entry const >',
4269 [],
4270 is_pure_virtual=True, is_virtual=True)
4271 ## ndn-fib.h (module 'ndnSIM'): ns3::Ptr<const ns3::ndn::fib::Entry> ns3::ndn::Fib::End() [member function]
4272 cls.add_method('End',
4273 'ns3::Ptr< ns3::ndn::fib::Entry const >',
4274 [],
4275 is_pure_virtual=True, is_virtual=True)
4276 ## ndn-fib.h (module 'ndnSIM'): static ns3::Ptr<ns3::ndn::Fib> ns3::ndn::Fib::GetFib(ns3::Ptr<ns3::Object> node) [member function]
4277 cls.add_method('GetFib',
4278 'ns3::Ptr< ns3::ndn::Fib >',
4279 [param('ns3::Ptr< ns3::Object >', 'node')],
4280 is_static=True)
4281 ## ndn-fib.h (module 'ndnSIM'): uint32_t ns3::ndn::Fib::GetSize() const [member function]
4282 cls.add_method('GetSize',
4283 'uint32_t',
4284 [],
4285 is_pure_virtual=True, is_const=True, is_virtual=True)
4286 ## ndn-fib.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::Fib::GetTypeId() [member function]
4287 cls.add_method('GetTypeId',
4288 'ns3::TypeId',
4289 [],
4290 is_static=True)
4291 ## ndn-fib.h (module 'ndnSIM'): void ns3::ndn::Fib::InvalidateAll() [member function]
4292 cls.add_method('InvalidateAll',
4293 'void',
4294 [],
4295 is_pure_virtual=True, is_virtual=True)
4296 ## ndn-fib.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::fib::Entry> ns3::ndn::Fib::LongestPrefixMatch(ns3::ndn::InterestHeader const & interest) [member function]
4297 cls.add_method('LongestPrefixMatch',
4298 'ns3::Ptr< ns3::ndn::fib::Entry >',
4299 [param('ns3::ndn::InterestHeader const &', 'interest')],
4300 is_pure_virtual=True, is_virtual=True)
4301 ## ndn-fib.h (module 'ndnSIM'): ns3::Ptr<const ns3::ndn::fib::Entry> ns3::ndn::Fib::Next(ns3::Ptr<const ns3::ndn::fib::Entry> arg0) [member function]
4302 cls.add_method('Next',
4303 'ns3::Ptr< ns3::ndn::fib::Entry const >',
4304 [param('ns3::Ptr< ns3::ndn::fib::Entry const >', 'arg0')],
4305 is_pure_virtual=True, is_virtual=True)
4306 ## ndn-fib.h (module 'ndnSIM'): void ns3::ndn::Fib::Print(std::ostream & os) const [member function]
4307 cls.add_method('Print',
4308 'void',
4309 [param('std::ostream &', 'os')],
4310 is_pure_virtual=True, is_const=True, is_virtual=True)
4311 ## ndn-fib.h (module 'ndnSIM'): void ns3::ndn::Fib::Remove(ns3::Ptr<ns3::ndn::NameComponents const> const & prefix) [member function]
4312 cls.add_method('Remove',
4313 'void',
4314 [param('ns3::Ptr< ns3::ndn::NameComponents const > const &', 'prefix')],
4315 is_pure_virtual=True, is_virtual=True)
4316 ## ndn-fib.h (module 'ndnSIM'): void ns3::ndn::Fib::RemoveFromAll(ns3::Ptr<ns3::ndn::Face> face) [member function]
4317 cls.add_method('RemoveFromAll',
4318 'void',
4319 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
4320 is_pure_virtual=True, is_virtual=True)
4321 return
4322
4323def register_Ns3NdnForwardingStrategy_methods(root_module, cls):
4324 ## ndn-forwarding-strategy.h (module 'ndnSIM'): ns3::ndn::ForwardingStrategy::ForwardingStrategy(ns3::ndn::ForwardingStrategy const & arg0) [copy constructor]
4325 cls.add_constructor([param('ns3::ndn::ForwardingStrategy const &', 'arg0')])
4326 ## ndn-forwarding-strategy.h (module 'ndnSIM'): ns3::ndn::ForwardingStrategy::ForwardingStrategy() [constructor]
4327 cls.add_constructor([])
4328 ## ndn-forwarding-strategy.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::ForwardingStrategy::GetTypeId() [member function]
4329 cls.add_method('GetTypeId',
4330 'ns3::TypeId',
4331 [],
4332 is_static=True)
4333 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::OnData(ns3::Ptr<ns3::ndn::Face> const & face, ns3::Ptr<ns3::ndn::ContentObjectHeader> & header, ns3::Ptr<ns3::Packet> & payload, ns3::Ptr<const ns3::Packet> const & packet) [member function]
4334 cls.add_method('OnData',
4335 'void',
4336 [param('ns3::Ptr< ns3::ndn::Face > const &', 'face'), param('ns3::Ptr< ns3::ndn::ContentObjectHeader > &', 'header'), param('ns3::Ptr< ns3::Packet > &', 'payload'), param('ns3::Ptr< ns3::Packet const > const &', 'packet')],
4337 is_virtual=True)
4338 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::OnInterest(ns3::Ptr<ns3::ndn::Face> const & face, ns3::Ptr<ns3::ndn::InterestHeader> & header, ns3::Ptr<const ns3::Packet> const & p) [member function]
4339 cls.add_method('OnInterest',
4340 'void',
4341 [param('ns3::Ptr< ns3::ndn::Face > const &', 'face'), param('ns3::Ptr< ns3::ndn::InterestHeader > &', 'header'), param('ns3::Ptr< ns3::Packet const > const &', 'p')],
4342 is_virtual=True)
4343 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::RemoveFace(ns3::Ptr<ns3::ndn::Face> face) [member function]
4344 cls.add_method('RemoveFace',
4345 'void',
4346 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
4347 is_virtual=True)
4348 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::WillErasePendingInterest(ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
4349 cls.add_method('WillErasePendingInterest',
4350 'void',
4351 [param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
4352 is_virtual=True)
4353 ## ndn-forwarding-strategy.h (module 'ndnSIM'): bool ns3::ndn::ForwardingStrategy::DetectRetransmittedInterest(ns3::Ptr<ns3::ndn::Face> const & incomingFace, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
4354 cls.add_method('DetectRetransmittedInterest',
4355 'bool',
4356 [param('ns3::Ptr< ns3::ndn::Face > const &', 'incomingFace'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
4357 visibility='protected', is_virtual=True)
4358 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::DidCreatePitEntry(ns3::Ptr<ns3::ndn::Face> const & incomingFace, ns3::Ptr<ns3::ndn::InterestHeader> header, ns3::Ptr<const ns3::Packet> const & packet, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
4359 cls.add_method('DidCreatePitEntry',
4360 'void',
4361 [param('ns3::Ptr< ns3::ndn::Face > const &', 'incomingFace'), param('ns3::Ptr< ns3::ndn::InterestHeader >', 'header'), param('ns3::Ptr< ns3::Packet const > const &', 'packet'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
4362 visibility='protected', is_virtual=True)
4363 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::DidExhaustForwardingOptions(ns3::Ptr<ns3::ndn::Face> const & incomingFace, ns3::Ptr<ns3::ndn::InterestHeader> header, ns3::Ptr<const ns3::Packet> const & packet, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
4364 cls.add_method('DidExhaustForwardingOptions',
4365 'void',
4366 [param('ns3::Ptr< ns3::ndn::Face > const &', 'incomingFace'), param('ns3::Ptr< ns3::ndn::InterestHeader >', 'header'), param('ns3::Ptr< ns3::Packet const > const &', 'packet'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
4367 visibility='protected', is_virtual=True)
4368 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::DidReceiveDuplicateInterest(ns3::Ptr<ns3::ndn::Face> const & face, ns3::Ptr<ns3::ndn::InterestHeader> & header, ns3::Ptr<const ns3::Packet> const & packet, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
4369 cls.add_method('DidReceiveDuplicateInterest',
4370 'void',
4371 [param('ns3::Ptr< ns3::ndn::Face > const &', 'face'), param('ns3::Ptr< ns3::ndn::InterestHeader > &', 'header'), param('ns3::Ptr< ns3::Packet const > const &', 'packet'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
4372 visibility='protected', is_virtual=True)
4373 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::DidReceiveUnsolicitedData(ns3::Ptr<ns3::ndn::Face> const & incomingFace, ns3::Ptr<ns3::ndn::ContentObjectHeader const> header, ns3::Ptr<const ns3::Packet> payload) [member function]
4374 cls.add_method('DidReceiveUnsolicitedData',
4375 'void',
4376 [param('ns3::Ptr< ns3::ndn::Face > const &', 'incomingFace'), param('ns3::Ptr< ns3::ndn::ContentObjectHeader const >', 'header'), param('ns3::Ptr< ns3::Packet const >', 'payload')],
4377 visibility='protected', is_virtual=True)
4378 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::DidSendOutData(ns3::Ptr<ns3::ndn::Face> const & face, ns3::Ptr<ns3::ndn::ContentObjectHeader const> header, ns3::Ptr<const ns3::Packet> payload, ns3::Ptr<const ns3::Packet> const & packet) [member function]
4379 cls.add_method('DidSendOutData',
4380 'void',
4381 [param('ns3::Ptr< ns3::ndn::Face > const &', 'face'), param('ns3::Ptr< ns3::ndn::ContentObjectHeader const >', 'header'), param('ns3::Ptr< ns3::Packet const >', 'payload'), param('ns3::Ptr< ns3::Packet const > const &', 'packet')],
4382 visibility='protected', is_virtual=True)
4383 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::DidSendOutInterest(ns3::Ptr<ns3::ndn::Face> const & outgoingFace, ns3::Ptr<ns3::ndn::InterestHeader> header, ns3::Ptr<const ns3::Packet> const & packet, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
4384 cls.add_method('DidSendOutInterest',
4385 'void',
4386 [param('ns3::Ptr< ns3::ndn::Face > const &', 'outgoingFace'), param('ns3::Ptr< ns3::ndn::InterestHeader >', 'header'), param('ns3::Ptr< ns3::Packet const > const &', 'packet'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
4387 visibility='protected', is_virtual=True)
4388 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::DoDispose() [member function]
4389 cls.add_method('DoDispose',
4390 'void',
4391 [],
4392 visibility='protected', is_virtual=True)
4393 ## ndn-forwarding-strategy.h (module 'ndnSIM'): bool ns3::ndn::ForwardingStrategy::DoPropagateInterest(ns3::Ptr<ns3::ndn::Face> const & incomingFace, ns3::Ptr<ns3::ndn::InterestHeader> header, ns3::Ptr<const ns3::Packet> const & packet, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
4394 cls.add_method('DoPropagateInterest',
4395 'bool',
4396 [param('ns3::Ptr< ns3::ndn::Face > const &', 'incomingFace'), param('ns3::Ptr< ns3::ndn::InterestHeader >', 'header'), param('ns3::Ptr< ns3::Packet const > const &', 'packet'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
4397 is_pure_virtual=True, visibility='protected', is_virtual=True)
4398 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::FailedToCreatePitEntry(ns3::Ptr<ns3::ndn::Face> const & incomingFace, ns3::Ptr<ns3::ndn::InterestHeader> header, ns3::Ptr<const ns3::Packet> const & packet) [member function]
4399 cls.add_method('FailedToCreatePitEntry',
4400 'void',
4401 [param('ns3::Ptr< ns3::ndn::Face > const &', 'incomingFace'), param('ns3::Ptr< ns3::ndn::InterestHeader >', 'header'), param('ns3::Ptr< ns3::Packet const > const &', 'packet')],
4402 visibility='protected', is_virtual=True)
4403 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::NotifyNewAggregate() [member function]
4404 cls.add_method('NotifyNewAggregate',
4405 'void',
4406 [],
4407 visibility='protected', is_virtual=True)
4408 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::PropagateInterest(ns3::Ptr<ns3::ndn::Face> const & incomingFace, ns3::Ptr<ns3::ndn::InterestHeader> header, ns3::Ptr<const ns3::Packet> const & packet, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
4409 cls.add_method('PropagateInterest',
4410 'void',
4411 [param('ns3::Ptr< ns3::ndn::Face > const &', 'incomingFace'), param('ns3::Ptr< ns3::ndn::InterestHeader >', 'header'), param('ns3::Ptr< ns3::Packet const > const &', 'packet'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
4412 visibility='protected', is_virtual=True)
4413 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::SatisfyPendingInterest(ns3::Ptr<ns3::ndn::Face> const & incomingFace, ns3::Ptr<ns3::ndn::ContentObjectHeader const> header, ns3::Ptr<const ns3::Packet> payload, ns3::Ptr<const ns3::Packet> const & packet, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
4414 cls.add_method('SatisfyPendingInterest',
4415 'void',
4416 [param('ns3::Ptr< ns3::ndn::Face > const &', 'incomingFace'), param('ns3::Ptr< ns3::ndn::ContentObjectHeader const >', 'header'), param('ns3::Ptr< ns3::Packet const >', 'payload'), param('ns3::Ptr< ns3::Packet const > const &', 'packet'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
4417 visibility='protected', is_virtual=True)
4418 ## ndn-forwarding-strategy.h (module 'ndnSIM'): bool ns3::ndn::ForwardingStrategy::ShouldSuppressIncomingInterest(ns3::Ptr<ns3::ndn::Face> const & incomingFace, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
4419 cls.add_method('ShouldSuppressIncomingInterest',
4420 'bool',
4421 [param('ns3::Ptr< ns3::ndn::Face > const &', 'incomingFace'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
4422 visibility='protected', is_virtual=True)
4423 ## ndn-forwarding-strategy.h (module 'ndnSIM'): void ns3::ndn::ForwardingStrategy::WillSatisfyPendingInterest(ns3::Ptr<ns3::ndn::Face> const & incomingFace, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
4424 cls.add_method('WillSatisfyPendingInterest',
4425 'void',
4426 [param('ns3::Ptr< ns3::ndn::Face > const &', 'incomingFace'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
4427 visibility='protected', is_virtual=True)
4428 ## ndn-forwarding-strategy.h (module 'ndnSIM'): bool ns3::ndn::ForwardingStrategy::WillSendOutInterest(ns3::Ptr<ns3::ndn::Face> const & outgoingFace, ns3::Ptr<ns3::ndn::InterestHeader> header, ns3::Ptr<ns3::ndn::pit::Entry> pitEntry) [member function]
4429 cls.add_method('WillSendOutInterest',
4430 'bool',
4431 [param('ns3::Ptr< ns3::ndn::Face > const &', 'outgoingFace'), param('ns3::Ptr< ns3::ndn::InterestHeader >', 'header'), param('ns3::Ptr< ns3::ndn::pit::Entry >', 'pitEntry')],
4432 visibility='protected', is_virtual=True)
4433 return
4434
4435def register_Ns3NdnGlobalRoutingHelper_methods(root_module, cls):
4436 ## ndn-global-routing-helper.h (module 'ndnSIM'): ns3::ndn::GlobalRoutingHelper::GlobalRoutingHelper() [constructor]
4437 cls.add_constructor([])
4438 ## ndn-global-routing-helper.h (module 'ndnSIM'): ns3::ndn::GlobalRoutingHelper::GlobalRoutingHelper(ns3::ndn::GlobalRoutingHelper const & arg0) [copy constructor]
4439 cls.add_constructor([param('ns3::ndn::GlobalRoutingHelper const &', 'arg0')])
4440 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::AddOrigin(std::string const & prefix, ns3::Ptr<ns3::Node> node) [member function]
4441 cls.add_method('AddOrigin',
4442 'void',
4443 [param('std::string const &', 'prefix'), param('ns3::Ptr< ns3::Node >', 'node')])
4444 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::AddOrigin(std::string const & prefix, std::string const & nodeName) [member function]
4445 cls.add_method('AddOrigin',
4446 'void',
4447 [param('std::string const &', 'prefix'), param('std::string const &', 'nodeName')])
4448 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::AddOrigins(std::string const & prefix, ns3::NodeContainer const & nodes) [member function]
4449 cls.add_method('AddOrigins',
4450 'void',
4451 [param('std::string const &', 'prefix'), param('ns3::NodeContainer const &', 'nodes')])
4452 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::CalculateRoutes() [member function]
4453 cls.add_method('CalculateRoutes',
4454 'void',
4455 [])
4456 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::Install(ns3::Ptr<ns3::Node> node) [member function]
4457 cls.add_method('Install',
4458 'void',
4459 [param('ns3::Ptr< ns3::Node >', 'node')])
4460 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::Install(ns3::NodeContainer const & nodes) [member function]
4461 cls.add_method('Install',
4462 'void',
4463 [param('ns3::NodeContainer const &', 'nodes')])
4464 ## ndn-global-routing-helper.h (module 'ndnSIM'): void ns3::ndn::GlobalRoutingHelper::InstallAll() [member function]
4465 cls.add_method('InstallAll',
4466 'void',
4467 [])
4468 return
4469
4470def register_Ns3NdnHeaderHelper_methods(root_module, cls):
4471 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::HeaderHelper::HeaderHelper() [constructor]
4472 cls.add_constructor([])
4473 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::HeaderHelper::HeaderHelper(ns3::ndn::HeaderHelper const & arg0) [copy constructor]
4474 cls.add_constructor([param('ns3::ndn::HeaderHelper const &', 'arg0')])
4475 ## ndn-header-helper.h (module 'ndnSIM'): static ns3::ndn::HeaderHelper::Type ns3::ndn::HeaderHelper::GetNdnHeaderType(ns3::Ptr<const ns3::Packet> packet) [member function]
4476 cls.add_method('GetNdnHeaderType',
4477 'ns3::ndn::HeaderHelper::Type',
4478 [param('ns3::Ptr< ns3::Packet const >', 'packet')],
4479 is_static=True)
4480 return
4481
4482def register_Ns3NdnInterestHeader_methods(root_module, cls):
4483 ## ndn-interest-header.h (module 'ndnSIM'): ns3::ndn::InterestHeader::InterestHeader(ns3::ndn::InterestHeader const & arg0) [copy constructor]
4484 cls.add_constructor([param('ns3::ndn::InterestHeader const &', 'arg0')])
4485 ## ndn-interest-header.h (module 'ndnSIM'): ns3::ndn::InterestHeader::InterestHeader() [constructor]
4486 cls.add_constructor([])
4487 ## ndn-interest-header.h (module 'ndnSIM'): uint32_t ns3::ndn::InterestHeader::Deserialize(ns3::Buffer::Iterator start) [member function]
4488 cls.add_method('Deserialize',
4489 'uint32_t',
4490 [param('ns3::Buffer::Iterator', 'start')],
4491 is_virtual=True)
4492 ## ndn-interest-header.h (module 'ndnSIM'): ns3::ndn::NameComponents const & ns3::ndn::InterestHeader::GetExclude() const [member function]
4493 cls.add_method('GetExclude',
4494 'ns3::ndn::NameComponents const &',
4495 [],
4496 is_const=True)
4497 ## ndn-interest-header.h (module 'ndnSIM'): ns3::TypeId ns3::ndn::InterestHeader::GetInstanceTypeId() const [member function]
4498 cls.add_method('GetInstanceTypeId',
4499 'ns3::TypeId',
4500 [],
4501 is_const=True, is_virtual=True)
4502 ## ndn-interest-header.h (module 'ndnSIM'): ns3::Time ns3::ndn::InterestHeader::GetInterestLifetime() const [member function]
4503 cls.add_method('GetInterestLifetime',
4504 'ns3::Time',
4505 [],
4506 is_const=True)
4507 ## ndn-interest-header.h (module 'ndnSIM'): int32_t ns3::ndn::InterestHeader::GetMaxSuffixComponents() const [member function]
4508 cls.add_method('GetMaxSuffixComponents',
4509 'int32_t',
4510 [],
4511 is_const=True)
4512 ## ndn-interest-header.h (module 'ndnSIM'): int32_t ns3::ndn::InterestHeader::GetMinSuffixComponents() const [member function]
4513 cls.add_method('GetMinSuffixComponents',
4514 'int32_t',
4515 [],
4516 is_const=True)
4517 ## ndn-interest-header.h (module 'ndnSIM'): uint32_t ns3::ndn::InterestHeader::GetNack() const [member function]
4518 cls.add_method('GetNack',
4519 'uint32_t',
4520 [],
4521 is_const=True)
4522 ## ndn-interest-header.h (module 'ndnSIM'): ns3::ndn::NameComponents const & ns3::ndn::InterestHeader::GetName() const [member function]
4523 cls.add_method('GetName',
4524 'ns3::ndn::NameComponents const &',
4525 [],
4526 is_const=True)
4527 ## ndn-interest-header.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::NameComponents const> ns3::ndn::InterestHeader::GetNamePtr() const [member function]
4528 cls.add_method('GetNamePtr',
4529 'ns3::Ptr< ns3::ndn::NameComponents const >',
4530 [],
4531 is_const=True)
4532 ## ndn-interest-header.h (module 'ndnSIM'): uint32_t ns3::ndn::InterestHeader::GetNonce() const [member function]
4533 cls.add_method('GetNonce',
4534 'uint32_t',
4535 [],
4536 is_const=True)
4537 ## ndn-interest-header.h (module 'ndnSIM'): int8_t ns3::ndn::InterestHeader::GetScope() const [member function]
4538 cls.add_method('GetScope',
4539 'int8_t',
4540 [],
4541 is_const=True)
4542 ## ndn-interest-header.h (module 'ndnSIM'): uint32_t ns3::ndn::InterestHeader::GetSerializedSize() const [member function]
4543 cls.add_method('GetSerializedSize',
4544 'uint32_t',
4545 [],
4546 is_const=True, is_virtual=True)
4547 ## ndn-interest-header.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::InterestHeader::GetTypeId() [member function]
4548 cls.add_method('GetTypeId',
4549 'ns3::TypeId',
4550 [],
4551 is_static=True)
4552 ## ndn-interest-header.h (module 'ndnSIM'): bool ns3::ndn::InterestHeader::IsEnabledAnswerOriginKind() const [member function]
4553 cls.add_method('IsEnabledAnswerOriginKind',
4554 'bool',
4555 [],
4556 is_const=True)
4557 ## ndn-interest-header.h (module 'ndnSIM'): bool ns3::ndn::InterestHeader::IsEnabledChildSelector() const [member function]
4558 cls.add_method('IsEnabledChildSelector',
4559 'bool',
4560 [],
4561 is_const=True)
4562 ## ndn-interest-header.h (module 'ndnSIM'): bool ns3::ndn::InterestHeader::IsEnabledExclude() const [member function]
4563 cls.add_method('IsEnabledExclude',
4564 'bool',
4565 [],
4566 is_const=True)
4567 ## ndn-interest-header.h (module 'ndnSIM'): void ns3::ndn::InterestHeader::Print(std::ostream & os) const [member function]
4568 cls.add_method('Print',
4569 'void',
4570 [param('std::ostream &', 'os')],
4571 is_const=True, is_virtual=True)
4572 ## ndn-interest-header.h (module 'ndnSIM'): void ns3::ndn::InterestHeader::Serialize(ns3::Buffer::Iterator start) const [member function]
4573 cls.add_method('Serialize',
4574 'void',
4575 [param('ns3::Buffer::Iterator', 'start')],
4576 is_const=True, is_virtual=True)
4577 ## ndn-interest-header.h (module 'ndnSIM'): void ns3::ndn::InterestHeader::SetAnswerOriginKind(bool value) [member function]
4578 cls.add_method('SetAnswerOriginKind',
4579 'void',
4580 [param('bool', 'value')])
4581 ## ndn-interest-header.h (module 'ndnSIM'): void ns3::ndn::InterestHeader::SetChildSelector(bool value) [member function]
4582 cls.add_method('SetChildSelector',
4583 'void',
4584 [param('bool', 'value')])
4585 ## ndn-interest-header.h (module 'ndnSIM'): void ns3::ndn::InterestHeader::SetExclude(ns3::Ptr<ns3::ndn::NameComponents> const & exclude) [member function]
4586 cls.add_method('SetExclude',
4587 'void',
4588 [param('ns3::Ptr< ns3::ndn::NameComponents > const &', 'exclude')])
4589 ## ndn-interest-header.h (module 'ndnSIM'): void ns3::ndn::InterestHeader::SetInterestLifetime(ns3::Time time) [member function]
4590 cls.add_method('SetInterestLifetime',
4591 'void',
4592 [param('ns3::Time', 'time')])
4593 ## ndn-interest-header.h (module 'ndnSIM'): void ns3::ndn::InterestHeader::SetMaxSuffixComponents(int32_t value) [member function]
4594 cls.add_method('SetMaxSuffixComponents',
4595 'void',
4596 [param('int32_t', 'value')])
4597 ## ndn-interest-header.h (module 'ndnSIM'): void ns3::ndn::InterestHeader::SetMinSuffixComponents(int32_t value) [member function]
4598 cls.add_method('SetMinSuffixComponents',
4599 'void',
4600 [param('int32_t', 'value')])
4601 ## ndn-interest-header.h (module 'ndnSIM'): void ns3::ndn::InterestHeader::SetNack(uint32_t nackType) [member function]
4602 cls.add_method('SetNack',
4603 'void',
4604 [param('uint32_t', 'nackType')])
4605 ## ndn-interest-header.h (module 'ndnSIM'): void ns3::ndn::InterestHeader::SetName(ns3::Ptr<ns3::ndn::NameComponents> const & name) [member function]
4606 cls.add_method('SetName',
4607 'void',
4608 [param('ns3::Ptr< ns3::ndn::NameComponents > const &', 'name')])
4609 ## ndn-interest-header.h (module 'ndnSIM'): void ns3::ndn::InterestHeader::SetNonce(uint32_t nonce) [member function]
4610 cls.add_method('SetNonce',
4611 'void',
4612 [param('uint32_t', 'nonce')])
4613 ## ndn-interest-header.h (module 'ndnSIM'): void ns3::ndn::InterestHeader::SetScope(int8_t scope) [member function]
4614 cls.add_method('SetScope',
4615 'void',
4616 [param('int8_t', 'scope')])
4617 return
4618
4619def register_Ns3NdnInterestHeaderException_methods(root_module, cls):
4620 ## ndn-interest-header.h (module 'ndnSIM'): ns3::ndn::InterestHeaderException::InterestHeaderException() [constructor]
4621 cls.add_constructor([])
4622 ## ndn-interest-header.h (module 'ndnSIM'): ns3::ndn::InterestHeaderException::InterestHeaderException(ns3::ndn::InterestHeaderException const & arg0) [copy constructor]
4623 cls.add_constructor([param('ns3::ndn::InterestHeaderException const &', 'arg0')])
4624 return
4625
4626def register_Ns3NdnL3Protocol_methods(root_module, cls):
4627 ## ndn-l3-protocol.h (module 'ndnSIM'): ns3::ndn::L3Protocol::ETHERNET_FRAME_TYPE [variable]
4628 cls.add_static_attribute('ETHERNET_FRAME_TYPE', 'uint16_t const', is_const=True)
4629 ## ndn-l3-protocol.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::L3Protocol::GetTypeId() [member function]
4630 cls.add_method('GetTypeId',
4631 'ns3::TypeId',
4632 [],
4633 is_static=True)
4634 ## ndn-l3-protocol.h (module 'ndnSIM'): ns3::ndn::L3Protocol::L3Protocol() [constructor]
4635 cls.add_constructor([])
4636 ## ndn-l3-protocol.h (module 'ndnSIM'): uint32_t ns3::ndn::L3Protocol::AddFace(ns3::Ptr<ns3::ndn::Face> const & face) [member function]
4637 cls.add_method('AddFace',
4638 'uint32_t',
4639 [param('ns3::Ptr< ns3::ndn::Face > const &', 'face')],
4640 is_virtual=True)
4641 ## ndn-l3-protocol.h (module 'ndnSIM'): uint32_t ns3::ndn::L3Protocol::GetNFaces() const [member function]
4642 cls.add_method('GetNFaces',
4643 'uint32_t',
4644 [],
4645 is_const=True, is_virtual=True)
4646 ## ndn-l3-protocol.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::Face> ns3::ndn::L3Protocol::GetFace(uint32_t face) const [member function]
4647 cls.add_method('GetFace',
4648 'ns3::Ptr< ns3::ndn::Face >',
4649 [param('uint32_t', 'face')],
4650 is_const=True, is_virtual=True)
Alexander Afanasyevc202fd92012-09-03 21:46:00 -07004651 ## ndn-l3-protocol.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::Face> ns3::ndn::L3Protocol::GetFaceById(uint32_t face) const [member function]
4652 cls.add_method('GetFaceById',
4653 'ns3::Ptr< ns3::ndn::Face >',
4654 [param('uint32_t', 'face')],
4655 is_const=True, is_virtual=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004656 ## ndn-l3-protocol.h (module 'ndnSIM'): void ns3::ndn::L3Protocol::RemoveFace(ns3::Ptr<ns3::ndn::Face> face) [member function]
4657 cls.add_method('RemoveFace',
4658 'void',
4659 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
4660 is_virtual=True)
4661 ## ndn-l3-protocol.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::Face> ns3::ndn::L3Protocol::GetFaceByNetDevice(ns3::Ptr<ns3::NetDevice> netDevice) const [member function]
4662 cls.add_method('GetFaceByNetDevice',
4663 'ns3::Ptr< ns3::ndn::Face >',
4664 [param('ns3::Ptr< ns3::NetDevice >', 'netDevice')],
4665 is_const=True, is_virtual=True)
Alexander Afanasyevc202fd92012-09-03 21:46:00 -07004666 ## ndn-l3-protocol.h (module 'ndnSIM'): static uint64_t ns3::ndn::L3Protocol::GetInterestCounter() [member function]
4667 cls.add_method('GetInterestCounter',
4668 'uint64_t',
4669 [],
4670 is_static=True)
4671 ## ndn-l3-protocol.h (module 'ndnSIM'): static uint64_t ns3::ndn::L3Protocol::GetDataCounter() [member function]
4672 cls.add_method('GetDataCounter',
4673 'uint64_t',
4674 [],
4675 is_static=True)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004676 ## ndn-l3-protocol.h (module 'ndnSIM'): void ns3::ndn::L3Protocol::DoDispose() [member function]
4677 cls.add_method('DoDispose',
4678 'void',
4679 [],
4680 visibility='protected', is_virtual=True)
4681 ## ndn-l3-protocol.h (module 'ndnSIM'): void ns3::ndn::L3Protocol::NotifyNewAggregate() [member function]
4682 cls.add_method('NotifyNewAggregate',
4683 'void',
4684 [],
4685 visibility='protected', is_virtual=True)
4686 return
4687
4688def register_Ns3NdnNameComponents_methods(root_module, cls):
4689 cls.add_output_stream_operator()
4690 cls.add_binary_comparison_operator('<')
4691 cls.add_binary_comparison_operator('==')
4692 ## ndn-name-components.h (module 'ndnSIM'): ns3::ndn::NameComponents::NameComponents(ns3::ndn::NameComponents const & arg0) [copy constructor]
4693 cls.add_constructor([param('ns3::ndn::NameComponents const &', 'arg0')])
4694 ## ndn-name-components.h (module 'ndnSIM'): ns3::ndn::NameComponents::NameComponents() [constructor]
4695 cls.add_constructor([])
4696 ## ndn-name-components.h (module 'ndnSIM'): ns3::ndn::NameComponents::NameComponents(std::list<boost::reference_wrapper<const std::basic_string<char, std::char_traits<char>, std::allocator<char> > >,std::allocator<boost::reference_wrapper<const std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > const & components) [constructor]
4697 cls.add_constructor([param('std::list< boost::reference_wrapper< std::string const > > const &', 'components')])
4698 ## ndn-name-components.h (module 'ndnSIM'): ns3::ndn::NameComponents::NameComponents(std::string const & prefix) [constructor]
4699 cls.add_constructor([param('std::string const &', 'prefix')])
4700 ## ndn-name-components.h (module 'ndnSIM'): ns3::ndn::NameComponents::NameComponents(char const * prefix) [constructor]
4701 cls.add_constructor([param('char const *', 'prefix')])
4702 ## ndn-name-components.h (module 'ndnSIM'): std::list<std::string, std::allocator<std::string> > const & ns3::ndn::NameComponents::GetComponents() const [member function]
4703 cls.add_method('GetComponents',
4704 'std::list< std::string > const &',
4705 [],
4706 is_const=True)
4707 ## ndn-name-components.h (module 'ndnSIM'): std::string ns3::ndn::NameComponents::GetLastComponent() const [member function]
4708 cls.add_method('GetLastComponent',
4709 'std::string',
4710 [],
4711 is_const=True)
4712 ## ndn-name-components.h (module 'ndnSIM'): std::list<boost::reference_wrapper<const std::basic_string<char, std::char_traits<char>, std::allocator<char> > >,std::allocator<boost::reference_wrapper<const std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > ns3::ndn::NameComponents::GetSubComponents(size_t num) const [member function]
4713 cls.add_method('GetSubComponents',
4714 'std::list< boost::reference_wrapper< std::string const > >',
4715 [param('size_t', 'num')],
4716 is_const=True)
4717 ## ndn-name-components.h (module 'ndnSIM'): void ns3::ndn::NameComponents::Print(std::ostream & os) const [member function]
4718 cls.add_method('Print',
4719 'void',
4720 [param('std::ostream &', 'os')],
4721 is_const=True)
4722 ## ndn-name-components.h (module 'ndnSIM'): std::_List_iterator<std::string> ns3::ndn::NameComponents::begin() [member function]
4723 cls.add_method('begin',
4724 'std::_List_iterator< std::string >',
4725 [])
4726 ## ndn-name-components.h (module 'ndnSIM'): std::_List_const_iterator<std::string> ns3::ndn::NameComponents::begin() const [member function]
4727 cls.add_method('begin',
4728 'std::_List_const_iterator< std::string >',
4729 [],
4730 is_const=True)
4731 ## ndn-name-components.h (module 'ndnSIM'): ns3::ndn::NameComponents ns3::ndn::NameComponents::cut(size_t minusComponents) const [member function]
4732 cls.add_method('cut',
4733 'ns3::ndn::NameComponents',
4734 [param('size_t', 'minusComponents')],
4735 is_const=True)
4736 ## ndn-name-components.h (module 'ndnSIM'): std::_List_iterator<std::string> ns3::ndn::NameComponents::end() [member function]
4737 cls.add_method('end',
4738 'std::_List_iterator< std::string >',
4739 [])
4740 ## ndn-name-components.h (module 'ndnSIM'): std::_List_const_iterator<std::string> ns3::ndn::NameComponents::end() const [member function]
4741 cls.add_method('end',
4742 'std::_List_const_iterator< std::string >',
4743 [],
4744 is_const=True)
4745 ## ndn-name-components.h (module 'ndnSIM'): size_t ns3::ndn::NameComponents::size() const [member function]
4746 cls.add_method('size',
4747 'size_t',
4748 [],
4749 is_const=True)
4750 return
4751
4752def register_Ns3NdnNameComponentsChecker_methods(root_module, cls):
4753 ## ndn-name-components.h (module 'ndnSIM'): ns3::ndn::NameComponentsChecker::NameComponentsChecker() [constructor]
4754 cls.add_constructor([])
4755 ## ndn-name-components.h (module 'ndnSIM'): ns3::ndn::NameComponentsChecker::NameComponentsChecker(ns3::ndn::NameComponentsChecker const & arg0) [copy constructor]
4756 cls.add_constructor([param('ns3::ndn::NameComponentsChecker const &', 'arg0')])
4757 return
4758
4759def register_Ns3NdnNameComponentsValue_methods(root_module, cls):
4760 ## ndn-name-components.h (module 'ndnSIM'): ns3::ndn::NameComponentsValue::NameComponentsValue() [constructor]
4761 cls.add_constructor([])
4762 ## ndn-name-components.h (module 'ndnSIM'): ns3::ndn::NameComponentsValue::NameComponentsValue(ns3::ndn::NameComponentsValue const & arg0) [copy constructor]
4763 cls.add_constructor([param('ns3::ndn::NameComponentsValue const &', 'arg0')])
4764 ## ndn-name-components.h (module 'ndnSIM'): ns3::ndn::NameComponentsValue::NameComponentsValue(ns3::ndn::NameComponents const & value) [constructor]
4765 cls.add_constructor([param('ns3::ndn::NameComponents const &', 'value')])
4766 ## ndn-name-components.h (module 'ndnSIM'): ns3::Ptr<ns3::AttributeValue> ns3::ndn::NameComponentsValue::Copy() const [member function]
4767 cls.add_method('Copy',
4768 'ns3::Ptr< ns3::AttributeValue >',
4769 [],
4770 is_const=True, is_virtual=True)
4771 ## ndn-name-components.h (module 'ndnSIM'): bool ns3::ndn::NameComponentsValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4772 cls.add_method('DeserializeFromString',
4773 'bool',
4774 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4775 is_virtual=True)
4776 ## ndn-name-components.h (module 'ndnSIM'): ns3::ndn::NameComponents ns3::ndn::NameComponentsValue::Get() const [member function]
4777 cls.add_method('Get',
4778 'ns3::ndn::NameComponents',
4779 [],
4780 is_const=True)
4781 ## ndn-name-components.h (module 'ndnSIM'): std::string ns3::ndn::NameComponentsValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4782 cls.add_method('SerializeToString',
4783 'std::string',
4784 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4785 is_const=True, is_virtual=True)
4786 ## ndn-name-components.h (module 'ndnSIM'): void ns3::ndn::NameComponentsValue::Set(ns3::ndn::NameComponents const & value) [member function]
4787 cls.add_method('Set',
4788 'void',
4789 [param('ns3::ndn::NameComponents const &', 'value')])
4790 return
4791
4792def register_Ns3NdnNetDeviceFace_methods(root_module, cls):
4793 ## ndn-net-device-face.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::NetDeviceFace::GetTypeId() [member function]
4794 cls.add_method('GetTypeId',
4795 'ns3::TypeId',
4796 [],
4797 is_static=True)
4798 ## ndn-net-device-face.h (module 'ndnSIM'): ns3::ndn::NetDeviceFace::NetDeviceFace(ns3::Ptr<ns3::Node> node, ns3::Ptr<ns3::NetDevice> const & netDevice) [constructor]
4799 cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::Ptr< ns3::NetDevice > const &', 'netDevice')])
4800 ## ndn-net-device-face.h (module 'ndnSIM'): void ns3::ndn::NetDeviceFace::RegisterProtocolHandler(ns3::Callback<void, ns3::Ptr<ns3::ndn::Face> const&, ns3::Ptr<ns3::Packet const> const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> handler) [member function]
4801 cls.add_method('RegisterProtocolHandler',
4802 'void',
4803 [param('ns3::Callback< void, ns3::Ptr< ns3::ndn::Face >, ns3::Ptr< ns3::Packet const >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'handler')],
4804 is_virtual=True)
4805 ## ndn-net-device-face.h (module 'ndnSIM'): std::ostream & ns3::ndn::NetDeviceFace::Print(std::ostream & os) const [member function]
4806 cls.add_method('Print',
4807 'std::ostream &',
4808 [param('std::ostream &', 'os')],
4809 is_const=True, is_virtual=True)
4810 ## ndn-net-device-face.h (module 'ndnSIM'): ns3::Ptr<ns3::NetDevice> ns3::ndn::NetDeviceFace::GetNetDevice() const [member function]
4811 cls.add_method('GetNetDevice',
4812 'ns3::Ptr< ns3::NetDevice >',
4813 [],
4814 is_const=True)
4815 ## ndn-net-device-face.h (module 'ndnSIM'): bool ns3::ndn::NetDeviceFace::SendImpl(ns3::Ptr<ns3::Packet> p) [member function]
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07004816 cls.add_method('SendImpl',
Alexander Afanasyev1c0248b2012-07-24 15:59:50 -07004817 'bool',
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07004818 [param('ns3::Ptr< ns3::Packet >', 'p')],
4819 visibility='protected', is_virtual=True)
4820 return
4821
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07004822def register_Ns3NdnPit_methods(root_module, cls):
4823 cls.add_output_stream_operator()
4824 ## ndn-pit.h (module 'ndnSIM'): ns3::ndn::Pit::Pit(ns3::ndn::Pit const & arg0) [copy constructor]
4825 cls.add_constructor([param('ns3::ndn::Pit const &', 'arg0')])
4826 ## ndn-pit.h (module 'ndnSIM'): ns3::ndn::Pit::Pit() [constructor]
4827 cls.add_constructor([])
4828 ## ndn-pit.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::pit::Entry> ns3::ndn::Pit::Begin() [member function]
4829 cls.add_method('Begin',
4830 'ns3::Ptr< ns3::ndn::pit::Entry >',
4831 [],
4832 is_pure_virtual=True, is_virtual=True)
4833 ## ndn-pit.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::pit::Entry> ns3::ndn::Pit::Create(ns3::Ptr<const ns3::ndn::InterestHeader> header) [member function]
4834 cls.add_method('Create',
4835 'ns3::Ptr< ns3::ndn::pit::Entry >',
4836 [param('ns3::Ptr< ns3::ndn::InterestHeader const >', 'header')],
4837 is_pure_virtual=True, is_virtual=True)
4838 ## ndn-pit.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::pit::Entry> ns3::ndn::Pit::End() [member function]
4839 cls.add_method('End',
4840 'ns3::Ptr< ns3::ndn::pit::Entry >',
4841 [],
4842 is_pure_virtual=True, is_virtual=True)
4843 ## ndn-pit.h (module 'ndnSIM'): static ns3::Ptr<ns3::ndn::Pit> ns3::ndn::Pit::GetPit(ns3::Ptr<ns3::Object> node) [member function]
4844 cls.add_method('GetPit',
4845 'ns3::Ptr< ns3::ndn::Pit >',
4846 [param('ns3::Ptr< ns3::Object >', 'node')],
4847 is_static=True)
4848 ## ndn-pit.h (module 'ndnSIM'): uint32_t ns3::ndn::Pit::GetSize() const [member function]
4849 cls.add_method('GetSize',
4850 'uint32_t',
4851 [],
4852 is_pure_virtual=True, is_const=True, is_virtual=True)
4853 ## ndn-pit.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::Pit::GetTypeId() [member function]
4854 cls.add_method('GetTypeId',
4855 'ns3::TypeId',
4856 [],
4857 is_static=True)
4858 ## ndn-pit.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::pit::Entry> ns3::ndn::Pit::Lookup(ns3::ndn::ContentObjectHeader const & header) [member function]
4859 cls.add_method('Lookup',
4860 'ns3::Ptr< ns3::ndn::pit::Entry >',
4861 [param('ns3::ndn::ContentObjectHeader const &', 'header')],
4862 is_pure_virtual=True, is_virtual=True)
4863 ## ndn-pit.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::pit::Entry> ns3::ndn::Pit::Lookup(ns3::ndn::InterestHeader const & header) [member function]
4864 cls.add_method('Lookup',
4865 'ns3::Ptr< ns3::ndn::pit::Entry >',
4866 [param('ns3::ndn::InterestHeader const &', 'header')],
4867 is_pure_virtual=True, is_virtual=True)
4868 ## ndn-pit.h (module 'ndnSIM'): void ns3::ndn::Pit::MarkErased(ns3::Ptr<ns3::ndn::pit::Entry> entry) [member function]
4869 cls.add_method('MarkErased',
4870 'void',
4871 [param('ns3::Ptr< ns3::ndn::pit::Entry >', 'entry')],
4872 is_pure_virtual=True, is_virtual=True)
4873 ## ndn-pit.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::pit::Entry> ns3::ndn::Pit::Next(ns3::Ptr<ns3::ndn::pit::Entry> arg0) [member function]
4874 cls.add_method('Next',
4875 'ns3::Ptr< ns3::ndn::pit::Entry >',
4876 [param('ns3::Ptr< ns3::ndn::pit::Entry >', 'arg0')],
4877 is_pure_virtual=True, is_virtual=True)
4878 ## ndn-pit.h (module 'ndnSIM'): void ns3::ndn::Pit::Print(std::ostream & os) const [member function]
4879 cls.add_method('Print',
4880 'void',
4881 [param('std::ostream &', 'os')],
4882 is_pure_virtual=True, is_const=True, is_virtual=True)
4883 return
4884
4885def register_Ns3NdnStackHelper_methods(root_module, cls):
4886 ## ndn-stack-helper.h (module 'ndnSIM'): ns3::ndn::StackHelper::StackHelper() [constructor]
4887 cls.add_constructor([])
4888 ## 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]
4889 cls.add_method('SetStackAttributes',
4890 'void',
4891 [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='""')])
4892 ## 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]
4893 cls.add_method('SetForwardingStrategy',
4894 'void',
4895 [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='""')])
4896 ## 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]
4897 cls.add_method('SetContentStore',
4898 'void',
4899 [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='""')])
4900 ## 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]
4901 cls.add_method('SetPit',
4902 'void',
4903 [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='""')])
4904 ## 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]
4905 cls.add_method('SetFib',
4906 'void',
4907 [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='""')])
4908 ## 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]
4909 cls.add_method('EnableLimits',
4910 'void',
4911 [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')])
4912 ## ndn-stack-helper.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::FaceContainer> ns3::ndn::StackHelper::Install(std::string nodeName) const [member function]
4913 cls.add_method('Install',
4914 'ns3::Ptr< ns3::ndn::FaceContainer >',
4915 [param('std::string', 'nodeName')],
4916 is_const=True)
4917 ## ndn-stack-helper.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::FaceContainer> ns3::ndn::StackHelper::Install(ns3::Ptr<ns3::Node> node) const [member function]
4918 cls.add_method('Install',
4919 'ns3::Ptr< ns3::ndn::FaceContainer >',
4920 [param('ns3::Ptr< ns3::Node >', 'node')],
4921 is_const=True)
4922 ## ndn-stack-helper.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::FaceContainer> ns3::ndn::StackHelper::Install(ns3::NodeContainer c) const [member function]
4923 cls.add_method('Install',
4924 'ns3::Ptr< ns3::ndn::FaceContainer >',
4925 [param('ns3::NodeContainer', 'c')],
4926 is_const=True)
4927 ## ndn-stack-helper.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::FaceContainer> ns3::ndn::StackHelper::InstallAll() const [member function]
4928 cls.add_method('InstallAll',
4929 'ns3::Ptr< ns3::ndn::FaceContainer >',
4930 [],
4931 is_const=True)
4932 ## ndn-stack-helper.h (module 'ndnSIM'): static void ns3::ndn::StackHelper::AddRoute(std::string nodeName, std::string prefix, uint32_t faceId, int32_t metric) [member function]
4933 cls.add_method('AddRoute',
4934 'void',
4935 [param('std::string', 'nodeName'), param('std::string', 'prefix'), param('uint32_t', 'faceId'), param('int32_t', 'metric')],
4936 is_static=True)
4937 ## ndn-stack-helper.h (module 'ndnSIM'): static void ns3::ndn::StackHelper::AddRoute(ns3::Ptr<ns3::Node> node, std::string prefix, uint32_t faceId, int32_t metric) [member function]
4938 cls.add_method('AddRoute',
4939 'void',
4940 [param('ns3::Ptr< ns3::Node >', 'node'), param('std::string', 'prefix'), param('uint32_t', 'faceId'), param('int32_t', 'metric')],
4941 is_static=True)
4942 ## ndn-stack-helper.h (module 'ndnSIM'): static void ns3::ndn::StackHelper::AddRoute(ns3::Ptr<ns3::Node> node, std::string prefix, ns3::Ptr<ns3::ndn::Face> face, int32_t metric) [member function]
4943 cls.add_method('AddRoute',
4944 'void',
4945 [param('ns3::Ptr< ns3::Node >', 'node'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('int32_t', 'metric')],
4946 is_static=True)
4947 ## ndn-stack-helper.h (module 'ndnSIM'): void ns3::ndn::StackHelper::SetDefaultRoutes(bool needSet) [member function]
4948 cls.add_method('SetDefaultRoutes',
4949 'void',
4950 [param('bool', 'needSet')])
4951 return
4952
4953def register_Ns3NdnUnknownHeaderException_methods(root_module, cls):
4954 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::UnknownHeaderException::UnknownHeaderException() [constructor]
4955 cls.add_constructor([])
4956 ## ndn-header-helper.h (module 'ndnSIM'): ns3::ndn::UnknownHeaderException::UnknownHeaderException(ns3::ndn::UnknownHeaderException const & arg0) [copy constructor]
4957 cls.add_constructor([param('ns3::ndn::UnknownHeaderException const &', 'arg0')])
4958 return
4959
4960def register_Ns3NdnAppFace_methods(root_module, cls):
4961 ## ndn-app-face.h (module 'ndnSIM'): static ns3::TypeId ns3::ndn::AppFace::GetTypeId() [member function]
4962 cls.add_method('GetTypeId',
4963 'ns3::TypeId',
4964 [],
4965 is_static=True)
4966 ## ndn-app-face.h (module 'ndnSIM'): ns3::ndn::AppFace::AppFace(ns3::Ptr<ns3::ndn::App> app) [constructor]
4967 cls.add_constructor([param('ns3::Ptr< ns3::ndn::App >', 'app')])
4968 ## ndn-app-face.h (module 'ndnSIM'): void ns3::ndn::AppFace::RegisterProtocolHandler(ns3::Callback<void, ns3::Ptr<ns3::ndn::Face> const&, ns3::Ptr<ns3::Packet const> const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> handler) [member function]
4969 cls.add_method('RegisterProtocolHandler',
4970 'void',
4971 [param('ns3::Callback< void, ns3::Ptr< ns3::ndn::Face >, ns3::Ptr< ns3::Packet const >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'handler')],
4972 is_virtual=True)
4973 ## ndn-app-face.h (module 'ndnSIM'): std::ostream & ns3::ndn::AppFace::Print(std::ostream & os) const [member function]
4974 cls.add_method('Print',
4975 'std::ostream &',
4976 [param('std::ostream &', 'os')],
4977 is_const=True, is_virtual=True)
4978 ## ndn-app-face.h (module 'ndnSIM'): bool ns3::ndn::AppFace::SendImpl(ns3::Ptr<ns3::Packet> p) [member function]
4979 cls.add_method('SendImpl',
4980 'bool',
4981 [param('ns3::Ptr< ns3::Packet >', 'p')],
4982 visibility='protected', is_virtual=True)
4983 return
4984
4985def register_Ns3NdnCsEntry_methods(root_module, cls):
4986 ## ndn-content-store.h (module 'ndnSIM'): ns3::ndn::cs::Entry::Entry(ns3::ndn::cs::Entry const & arg0) [copy constructor]
4987 cls.add_constructor([param('ns3::ndn::cs::Entry const &', 'arg0')])
4988 ## ndn-content-store.h (module 'ndnSIM'): ns3::ndn::cs::Entry::Entry(ns3::Ptr<ns3::ndn::ContentObjectHeader const> header, ns3::Ptr<const ns3::Packet> packet) [constructor]
4989 cls.add_constructor([param('ns3::Ptr< ns3::ndn::ContentObjectHeader const >', 'header'), param('ns3::Ptr< ns3::Packet const >', 'packet')])
4990 ## ndn-content-store.h (module 'ndnSIM'): ns3::Ptr<ns3::Packet> ns3::ndn::cs::Entry::GetFullyFormedNdnPacket() const [member function]
4991 cls.add_method('GetFullyFormedNdnPacket',
4992 'ns3::Ptr< ns3::Packet >',
4993 [],
4994 is_const=True)
4995 ## ndn-content-store.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::ContentObjectHeader const> ns3::ndn::cs::Entry::GetHeader() const [member function]
4996 cls.add_method('GetHeader',
4997 'ns3::Ptr< ns3::ndn::ContentObjectHeader const >',
4998 [],
4999 is_const=True)
5000 ## ndn-content-store.h (module 'ndnSIM'): ns3::ndn::NameComponents const & ns3::ndn::cs::Entry::GetName() const [member function]
5001 cls.add_method('GetName',
5002 'ns3::ndn::NameComponents const &',
5003 [],
5004 is_const=True)
5005 ## ndn-content-store.h (module 'ndnSIM'): ns3::Ptr<const ns3::Packet> ns3::ndn::cs::Entry::GetPacket() const [member function]
5006 cls.add_method('GetPacket',
5007 'ns3::Ptr< ns3::Packet const >',
5008 [],
5009 is_const=True)
5010 return
5011
5012def register_Ns3NdnFibEntry_methods(root_module, cls):
5013 cls.add_output_stream_operator()
5014 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::Entry(ns3::ndn::fib::Entry const & arg0) [copy constructor]
5015 cls.add_constructor([param('ns3::ndn::fib::Entry const &', 'arg0')])
5016 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::Entry(ns3::Ptr<ns3::ndn::NameComponents const> const & prefix) [constructor]
5017 cls.add_constructor([param('ns3::Ptr< ns3::ndn::NameComponents const > const &', 'prefix')])
5018 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::Entry::AddOrUpdateRoutingMetric(ns3::Ptr<ns3::ndn::Face> face, int32_t metric) [member function]
5019 cls.add_method('AddOrUpdateRoutingMetric',
5020 'void',
5021 [param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('int32_t', 'metric')])
5022 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric const & ns3::ndn::fib::Entry::FindBestCandidate(uint32_t skip=0) const [member function]
5023 cls.add_method('FindBestCandidate',
5024 'ns3::ndn::fib::FaceMetric const &',
5025 [param('uint32_t', 'skip', default_value='0')],
5026 is_const=True)
5027 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::NameComponents const & ns3::ndn::fib::Entry::GetPrefix() const [member function]
5028 cls.add_method('GetPrefix',
5029 'ns3::ndn::NameComponents const &',
5030 [],
5031 is_const=True)
5032 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::Entry::Invalidate() [member function]
5033 cls.add_method('Invalidate',
5034 'void',
5035 [])
5036 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::Entry::RemoveFace(ns3::Ptr<ns3::ndn::Face> const & face) [member function]
5037 cls.add_method('RemoveFace',
5038 'void',
5039 [param('ns3::Ptr< ns3::ndn::Face > const &', 'face')])
5040 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::Entry::UpdateFaceRtt(ns3::Ptr<ns3::ndn::Face> face, ns3::Time const & sample) [member function]
5041 cls.add_method('UpdateFaceRtt',
5042 'void',
5043 [param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('ns3::Time const &', 'sample')])
5044 ## 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]
5045 cls.add_method('UpdateStatus',
5046 'void',
5047 [param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('ns3::ndn::fib::FaceMetric::Status', 'status')])
5048 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::m_faces [variable]
5049 cls.add_instance_attribute('m_faces', 'boost::multi_index::multi_index_container< ns3::ndn::fib::FaceMetric, boost::multi_index::indexed_by< boost::multi_index::ordered_unique< boost::multi_index::tag< ns3::ndn::fib::i_face, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na >, boost::multi_index::member< ns3::ndn::fib::FaceMetric, ns3::Ptr< ns3::ndn::Face >, & ( ns3::ndn::fib::FaceMetric::m_face ) >, mpl_::na >, boost::multi_index::ordered_non_unique< boost::multi_index::tag< ns3::ndn::fib::i_metric, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na >, boost::multi_index::composite_key< ns3::ndn::fib::FaceMetric, boost::multi_index::member< ns3::ndn::fib::FaceMetric, ns3::ndn::fib::FaceMetric::Status, & ( ns3::ndn::fib::FaceMetric::m_status ) >, boost::multi_index::member< ns3::ndn::fib::FaceMetric, int, & ( ns3::ndn::fib::FaceMetric::m_routingCost ) >, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type >, mpl_::na >, boost::multi_index::random_access< boost::multi_index::tag< ns3::ndn::fib::i_nth, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na > >, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na >, std::allocator< ns3::ndn::fib::FaceMetric > >', is_const=False)
5050 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::m_needsProbing [variable]
5051 cls.add_instance_attribute('m_needsProbing', 'bool', is_const=False)
5052 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::m_prefix [variable]
5053 cls.add_instance_attribute('m_prefix', 'ns3::Ptr< ns3::ndn::NameComponents const >', is_const=False)
5054 return
5055
5056def register_Ns3NdnFibEntryNoFaces_methods(root_module, cls):
5057 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::NoFaces::NoFaces() [constructor]
5058 cls.add_constructor([])
5059 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::Entry::NoFaces::NoFaces(ns3::ndn::fib::Entry::NoFaces const & arg0) [copy constructor]
5060 cls.add_constructor([param('ns3::ndn::fib::Entry::NoFaces const &', 'arg0')])
5061 return
5062
5063def register_Ns3NdnFibFaceMetric_methods(root_module, cls):
5064 cls.add_output_stream_operator()
5065 cls.add_binary_comparison_operator('<')
5066 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric::FaceMetric(ns3::ndn::fib::FaceMetric const & arg0) [copy constructor]
5067 cls.add_constructor([param('ns3::ndn::fib::FaceMetric const &', 'arg0')])
5068 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric::FaceMetric(ns3::Ptr<ns3::ndn::Face> face, int32_t cost) [constructor]
5069 cls.add_constructor([param('ns3::Ptr< ns3::ndn::Face >', 'face'), param('int32_t', 'cost')])
5070 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::Face> ns3::ndn::fib::FaceMetric::GetFace() const [member function]
5071 cls.add_method('GetFace',
5072 'ns3::Ptr< ns3::ndn::Face >',
5073 [],
5074 is_const=True)
5075 ## ndn-fib-entry.h (module 'ndnSIM'): void ns3::ndn::fib::FaceMetric::UpdateRtt(ns3::Time const & rttSample) [member function]
5076 cls.add_method('UpdateRtt',
5077 'void',
5078 [param('ns3::Time const &', 'rttSample')])
5079 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric::m_face [variable]
5080 cls.add_instance_attribute('m_face', 'ns3::Ptr< ns3::ndn::Face >', is_const=False)
5081 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric::m_routingCost [variable]
5082 cls.add_instance_attribute('m_routingCost', 'int32_t', is_const=False)
5083 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric::m_rttVar [variable]
5084 cls.add_instance_attribute('m_rttVar', 'ns3::Time', is_const=False)
5085 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric::m_sRtt [variable]
5086 cls.add_instance_attribute('m_sRtt', 'ns3::Time', is_const=False)
5087 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetric::m_status [variable]
5088 cls.add_instance_attribute('m_status', 'ns3::ndn::fib::FaceMetric::Status', is_const=False)
5089 return
5090
5091def register_Ns3NdnFibFaceMetricContainer_methods(root_module, cls):
5092 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetricContainer::FaceMetricContainer() [constructor]
5093 cls.add_constructor([])
5094 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::FaceMetricContainer::FaceMetricContainer(ns3::ndn::fib::FaceMetricContainer const & arg0) [copy constructor]
5095 cls.add_constructor([param('ns3::ndn::fib::FaceMetricContainer const &', 'arg0')])
5096 return
5097
5098def register_Ns3NdnFibI_face_methods(root_module, cls):
5099 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_face::i_face() [constructor]
5100 cls.add_constructor([])
5101 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_face::i_face(ns3::ndn::fib::i_face const & arg0) [copy constructor]
5102 cls.add_constructor([param('ns3::ndn::fib::i_face const &', 'arg0')])
5103 return
5104
5105def register_Ns3NdnFibI_metric_methods(root_module, cls):
5106 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_metric::i_metric() [constructor]
5107 cls.add_constructor([])
5108 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_metric::i_metric(ns3::ndn::fib::i_metric const & arg0) [copy constructor]
5109 cls.add_constructor([param('ns3::ndn::fib::i_metric const &', 'arg0')])
5110 return
5111
5112def register_Ns3NdnFibI_nth_methods(root_module, cls):
5113 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_nth::i_nth() [constructor]
5114 cls.add_constructor([])
5115 ## ndn-fib-entry.h (module 'ndnSIM'): ns3::ndn::fib::i_nth::i_nth(ns3::ndn::fib::i_nth const & arg0) [copy constructor]
5116 cls.add_constructor([param('ns3::ndn::fib::i_nth const &', 'arg0')])
5117 return
5118
5119def register_Ns3NdnPitEntry_methods(root_module, cls):
5120 cls.add_output_stream_operator()
5121 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::Entry::Entry(ns3::ndn::pit::Entry const & arg0) [copy constructor]
5122 cls.add_constructor([param('ns3::ndn::pit::Entry const &', 'arg0')])
5123 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::Entry::Entry(ns3::ndn::Pit & container, ns3::Ptr<const ns3::ndn::InterestHeader> header, ns3::Ptr<ns3::ndn::fib::Entry> fibEntry) [constructor]
5124 cls.add_constructor([param('ns3::ndn::Pit &', 'container'), param('ns3::Ptr< ns3::ndn::InterestHeader const >', 'header'), param('ns3::Ptr< ns3::ndn::fib::Entry >', 'fibEntry')])
5125 ## 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]
5126 cls.add_method('AddIncoming',
5127 'std::_Rb_tree_const_iterator< ns3::ndn::pit::IncomingFace >',
5128 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
5129 is_virtual=True)
Alexander Afanasyevc202fd92012-09-03 21:46:00 -07005130 ## 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 -07005131 cls.add_method('AddOutgoing',
Alexander Afanasyevc202fd92012-09-03 21:46:00 -07005132 'std::_Rb_tree_const_iterator< ns3::ndn::pit::OutgoingFace >',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005133 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
5134 is_virtual=True)
5135 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::AddSeenNonce(uint32_t nonce) [member function]
5136 cls.add_method('AddSeenNonce',
5137 'void',
5138 [param('uint32_t', 'nonce')],
5139 is_virtual=True)
5140 ## ndn-pit-entry.h (module 'ndnSIM'): bool ns3::ndn::pit::Entry::AreAllOutgoingInVain() const [member function]
5141 cls.add_method('AreAllOutgoingInVain',
5142 'bool',
5143 [],
5144 is_const=True)
5145 ## ndn-pit-entry.h (module 'ndnSIM'): bool ns3::ndn::pit::Entry::AreTherePromisingOutgoingFacesExcept(ns3::Ptr<ns3::ndn::Face> face) const [member function]
5146 cls.add_method('AreTherePromisingOutgoingFacesExcept',
5147 'bool',
5148 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
5149 is_const=True)
5150 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::ClearIncoming() [member function]
5151 cls.add_method('ClearIncoming',
5152 'void',
5153 [],
5154 is_virtual=True)
5155 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::ClearOutgoing() [member function]
5156 cls.add_method('ClearOutgoing',
5157 'void',
5158 [],
5159 is_virtual=True)
5160 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::Time const & ns3::ndn::pit::Entry::GetExpireTime() const [member function]
5161 cls.add_method('GetExpireTime',
5162 'ns3::Time const &',
5163 [],
5164 is_const=True)
5165 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::Ptr<ns3::ndn::fib::Entry> ns3::ndn::pit::Entry::GetFibEntry() [member function]
5166 cls.add_method('GetFibEntry',
5167 'ns3::Ptr< ns3::ndn::fib::Entry >',
5168 [])
5169 ## 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]
5170 cls.add_method('GetIncoming',
5171 'std::set< ns3::ndn::pit::IncomingFace > const &',
5172 [],
5173 is_const=True)
5174 ## ndn-pit-entry.h (module 'ndnSIM'): uint32_t ns3::ndn::pit::Entry::GetMaxRetxCount() const [member function]
5175 cls.add_method('GetMaxRetxCount',
5176 'uint32_t',
5177 [],
5178 is_const=True)
Alexander Afanasyevc202fd92012-09-03 21:46:00 -07005179 ## 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 -07005180 cls.add_method('GetOutgoing',
Alexander Afanasyevc202fd92012-09-03 21:46:00 -07005181 'std::set< ns3::ndn::pit::OutgoingFace > const &',
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005182 [],
5183 is_const=True)
5184 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::NameComponents const & ns3::ndn::pit::Entry::GetPrefix() const [member function]
5185 cls.add_method('GetPrefix',
5186 'ns3::ndn::NameComponents const &',
5187 [],
5188 is_const=True)
5189 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::IncreaseAllowedRetxCount() [member function]
5190 cls.add_method('IncreaseAllowedRetxCount',
5191 'void',
5192 [],
5193 is_virtual=True)
5194 ## ndn-pit-entry.h (module 'ndnSIM'): bool ns3::ndn::pit::Entry::IsNonceSeen(uint32_t nonce) const [member function]
5195 cls.add_method('IsNonceSeen',
5196 'bool',
5197 [param('uint32_t', 'nonce')],
5198 is_const=True)
5199 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::RemoveAllReferencesToFace(ns3::Ptr<ns3::ndn::Face> face) [member function]
5200 cls.add_method('RemoveAllReferencesToFace',
5201 'void',
5202 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
5203 is_virtual=True)
5204 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::RemoveIncoming(ns3::Ptr<ns3::ndn::Face> face) [member function]
5205 cls.add_method('RemoveIncoming',
5206 'void',
5207 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
5208 is_virtual=True)
5209 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::SetWaitingInVain(ns3::Ptr<ns3::ndn::Face> face) [member function]
5210 cls.add_method('SetWaitingInVain',
5211 'void',
5212 [param('ns3::Ptr< ns3::ndn::Face >', 'face')],
5213 is_virtual=True)
5214 ## ndn-pit-entry.h (module 'ndnSIM'): void ns3::ndn::pit::Entry::UpdateLifetime(ns3::Time const & offsetTime) [member function]
5215 cls.add_method('UpdateLifetime',
5216 'void',
5217 [param('ns3::Time const &', 'offsetTime')],
5218 is_virtual=True)
5219 return
5220
5221def register_Ns3NdnPitIncomingFace_methods(root_module, cls):
5222 cls.add_binary_comparison_operator('==')
5223 cls.add_binary_comparison_operator('<')
5224 ## ndn-pit-entry-incoming-face.h (module 'ndnSIM'): ns3::ndn::pit::IncomingFace::IncomingFace(ns3::ndn::pit::IncomingFace const & arg0) [copy constructor]
5225 cls.add_constructor([param('ns3::ndn::pit::IncomingFace const &', 'arg0')])
5226 ## ndn-pit-entry-incoming-face.h (module 'ndnSIM'): ns3::ndn::pit::IncomingFace::IncomingFace(ns3::Ptr<ns3::ndn::Face> face) [constructor]
5227 cls.add_constructor([param('ns3::Ptr< ns3::ndn::Face >', 'face')])
5228 ## ndn-pit-entry-incoming-face.h (module 'ndnSIM'): ns3::ndn::pit::IncomingFace::IncomingFace() [constructor]
5229 cls.add_constructor([])
5230 ## ndn-pit-entry-incoming-face.h (module 'ndnSIM'): ns3::ndn::pit::IncomingFace::m_arrivalTime [variable]
5231 cls.add_instance_attribute('m_arrivalTime', 'ns3::Time', is_const=False)
5232 ## ndn-pit-entry-incoming-face.h (module 'ndnSIM'): ns3::ndn::pit::IncomingFace::m_face [variable]
5233 cls.add_instance_attribute('m_face', 'ns3::Ptr< ns3::ndn::Face >', is_const=False)
5234 return
5235
5236def register_Ns3NdnPitOutgoingFace_methods(root_module, cls):
5237 cls.add_binary_comparison_operator('==')
5238 cls.add_binary_comparison_operator('<')
5239 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::OutgoingFace(ns3::ndn::pit::OutgoingFace const & arg0) [copy constructor]
5240 cls.add_constructor([param('ns3::ndn::pit::OutgoingFace const &', 'arg0')])
5241 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::OutgoingFace(ns3::Ptr<ns3::ndn::Face> face) [constructor]
5242 cls.add_constructor([param('ns3::Ptr< ns3::ndn::Face >', 'face')])
5243 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): void ns3::ndn::pit::OutgoingFace::UpdateOnRetransmit() [member function]
5244 cls.add_method('UpdateOnRetransmit',
5245 'void',
5246 [])
5247 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::m_face [variable]
5248 cls.add_instance_attribute('m_face', 'ns3::Ptr< ns3::ndn::Face >', is_const=False)
5249 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::m_retxCount [variable]
5250 cls.add_instance_attribute('m_retxCount', 'uint32_t', is_const=False)
5251 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::m_sendTime [variable]
5252 cls.add_instance_attribute('m_sendTime', 'ns3::Time', is_const=False)
5253 ## ndn-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::ndn::pit::OutgoingFace::m_waitingInVain [variable]
5254 cls.add_instance_attribute('m_waitingInVain', 'bool', is_const=False)
5255 return
5256
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005257def register_Ns3NdnPitI_face_methods(root_module, cls):
5258 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::i_face::i_face() [constructor]
5259 cls.add_constructor([])
5260 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::i_face::i_face(ns3::ndn::pit::i_face const & arg0) [copy constructor]
5261 cls.add_constructor([param('ns3::ndn::pit::i_face const &', 'arg0')])
5262 return
5263
5264def register_Ns3NdnPitI_retx_methods(root_module, cls):
5265 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::i_retx::i_retx() [constructor]
5266 cls.add_constructor([])
5267 ## ndn-pit-entry.h (module 'ndnSIM'): ns3::ndn::pit::i_retx::i_retx(ns3::ndn::pit::i_retx const & arg0) [copy constructor]
5268 cls.add_constructor([param('ns3::ndn::pit::i_retx const &', 'arg0')])
5269 return
5270
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08005271def register_functions(root_module):
5272 module = root_module
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07005273 ## batches.h (module 'ndnSIM'): extern ns3::Ptr<ns3::AttributeChecker const> ns3::MakeBatchesChecker() [free function]
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08005274 module.add_function('MakeBatchesChecker',
5275 'ns3::Ptr< ns3::AttributeChecker const >',
5276 [])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08005277 register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module)
5278 register_functions_ns3_internal(module.get_submodule('internal'), root_module)
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005279 register_functions_ns3_ndn(module.get_submodule('ndn'), root_module)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08005280 return
5281
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08005282def register_functions_ns3_FatalImpl(module, root_module):
5283 return
5284
5285def register_functions_ns3_internal(module, root_module):
5286 return
5287
Alexander Afanasyevcf6dc922012-08-10 16:55:27 -07005288def register_functions_ns3_ndn(module, root_module):
5289 ## ndn-name-components.h (module 'ndnSIM'): extern ns3::Ptr<ns3::AttributeChecker const> ns3::ndn::MakeNameComponentsChecker() [free function]
5290 module.add_function('MakeNameComponentsChecker',
5291 'ns3::Ptr< ns3::AttributeChecker const >',
5292 [])
5293 register_functions_ns3_ndn_cs(module.get_submodule('cs'), root_module)
5294 register_functions_ns3_ndn_fib(module.get_submodule('fib'), root_module)
5295 register_functions_ns3_ndn_pit(module.get_submodule('pit'), root_module)
5296 return
5297
5298def register_functions_ns3_ndn_cs(module, root_module):
5299 return
5300
5301def register_functions_ns3_ndn_fib(module, root_module):
5302 return
5303
5304def register_functions_ns3_ndn_pit(module, root_module):
5305 return
5306
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08005307def main():
5308 out = FileCodeSink(sys.stdout)
5309 root_module = module_init()
5310 register_types(root_module)
5311 register_methods(root_module)
5312 register_functions(root_module)
5313 root_module.generate(out)
5314
5315if __name__ == '__main__':
5316 main()
5317