blob: d512626617be8b6a7117450dde6f83fb3ee27d9c [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():
17 root_module = Module('ns.NDNabstraction', cpp_namespace='::ns3')
18 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 Afanasyev4975f732011-12-20 17:52:19 -080049 ## ccnx-app-helper.h (module 'NDNabstraction'): ns3::CcnxAppHelper [class]
50 module.add_class('CcnxAppHelper')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -080051 ## ccnx-content-object-header.h (module 'NDNabstraction'): ns3::CcnxContentObjectHeaderException [class]
52 module.add_class('CcnxContentObjectHeaderException')
Alexander Afanasyev8e2f1122012-04-17 15:01:11 -070053 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibEntry [class]
54 module.add_class('CcnxFibEntry')
55 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibEntry::NoFaces [class]
56 module.add_class('NoFaces', outer_class=root_module['ns3::CcnxFibEntry'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -080057 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibEntryContainer [struct]
58 module.add_class('CcnxFibEntryContainer')
59 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibFaceMetric [class]
60 module.add_class('CcnxFibFaceMetric')
61 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibFaceMetric::Status [enumeration]
62 module.add_enum('Status', ['NDN_FIB_GREEN', 'NDN_FIB_YELLOW', 'NDN_FIB_RED'], outer_class=root_module['ns3::CcnxFibFaceMetric'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -080063 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibFaceMetricContainer [struct]
64 module.add_class('CcnxFibFaceMetricContainer')
Alexander Afanasyev8e2f1122012-04-17 15:01:11 -070065 ## ccnx-global-routing-helper.h (module 'NDNabstraction'): ns3::CcnxGlobalRoutingHelper [class]
66 module.add_class('CcnxGlobalRoutingHelper')
Alexander Afanasyev53872ce2011-12-16 13:17:18 -080067 ## ccnx-header-helper.h (module 'NDNabstraction'): ns3::CcnxHeaderHelper [class]
68 module.add_class('CcnxHeaderHelper')
69 ## ccnx-header-helper.h (module 'NDNabstraction'): ns3::CcnxHeaderHelper::Type [enumeration]
70 module.add_enum('Type', ['INTEREST', 'CONTENT_OBJECT'], outer_class=root_module['ns3::CcnxHeaderHelper'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -080071 ## ccnx-interest-header.h (module 'NDNabstraction'): ns3::CcnxInterestHeaderException [class]
72 module.add_class('CcnxInterestHeaderException')
Alexander Afanasyevad5acce2012-05-31 12:43:08 -070073 ## ccnx-pit-entry.h (module 'NDNabstraction'): ns3::CcnxPitEntry [struct]
74 module.add_class('CcnxPitEntry')
75 ## ccnx-pit.h (module 'NDNabstraction'): ns3::CcnxPitEntryContainer [struct]
76 module.add_class('CcnxPitEntryContainer')
77 ## ccnx-pit-entry-incoming-face.h (module 'NDNabstraction'): ns3::CcnxPitEntryIncomingFace [struct]
78 module.add_class('CcnxPitEntryIncomingFace')
79 ## ccnx-pit-entry.h (module 'NDNabstraction'): ns3::CcnxPitEntryIncomingFaceContainer [struct]
80 module.add_class('CcnxPitEntryIncomingFaceContainer')
81 ## ccnx-pit.h (module 'NDNabstraction'): ns3::CcnxPitEntryNotFound [class]
82 module.add_class('CcnxPitEntryNotFound')
83 ## ccnx-pit-entry-outgoing-face.h (module 'NDNabstraction'): ns3::CcnxPitEntryOutgoingFace [struct]
84 module.add_class('CcnxPitEntryOutgoingFace')
85 ## ccnx-pit-entry.h (module 'NDNabstraction'): ns3::CcnxPitEntryOutgoingFaceContainer [struct]
86 module.add_class('CcnxPitEntryOutgoingFaceContainer')
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -080087 ## ccnx-stack-helper.h (module 'NDNabstraction'): ns3::CcnxStackHelper [class]
88 module.add_class('CcnxStackHelper')
Alexander Afanasyev53872ce2011-12-16 13:17:18 -080089 ## ccnx-header-helper.h (module 'NDNabstraction'): ns3::CcnxUnknownHeaderException [class]
90 module.add_class('CcnxUnknownHeaderException')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -080091 ## event-id.h (module 'core'): ns3::EventId [class]
92 module.add_class('EventId', import_from_module='ns.core')
93 ## ipv4-address.h (module 'network'): ns3::Ipv4Address [class]
94 module.add_class('Ipv4Address', import_from_module='ns.network')
95 ## ipv4-address.h (module 'network'): ns3::Ipv4Address [class]
96 root_module['ns3::Ipv4Address'].implicitly_converts_to(root_module['ns3::Address'])
97 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask [class]
98 module.add_class('Ipv4Mask', import_from_module='ns.network')
99 ## ipv6-address.h (module 'network'): ns3::Ipv6Address [class]
100 module.add_class('Ipv6Address', import_from_module='ns.network')
101 ## ipv6-address.h (module 'network'): ns3::Ipv6Address [class]
102 root_module['ns3::Ipv6Address'].implicitly_converts_to(root_module['ns3::Address'])
103 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix [class]
104 module.add_class('Ipv6Prefix', import_from_module='ns.network')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800105 ## node-container.h (module 'network'): ns3::NodeContainer [class]
106 module.add_class('NodeContainer', import_from_module='ns.network')
107 ## object-base.h (module 'core'): ns3::ObjectBase [class]
108 module.add_class('ObjectBase', allow_subclassing=True, import_from_module='ns.core')
109 ## object.h (module 'core'): ns3::ObjectDeleter [struct]
110 module.add_class('ObjectDeleter', import_from_module='ns.core')
111 ## object-factory.h (module 'core'): ns3::ObjectFactory [class]
112 module.add_class('ObjectFactory', import_from_module='ns.core')
113 ## packet-metadata.h (module 'network'): ns3::PacketMetadata [class]
114 module.add_class('PacketMetadata', import_from_module='ns.network')
115 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item [struct]
116 module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::PacketMetadata'])
117 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item [enumeration]
118 module.add_enum('', ['PAYLOAD', 'HEADER', 'TRAILER'], outer_class=root_module['ns3::PacketMetadata::Item'], import_from_module='ns.network')
119 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator [class]
120 module.add_class('ItemIterator', import_from_module='ns.network', outer_class=root_module['ns3::PacketMetadata'])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -0700121 ## packet.h (module 'network'): ns3::PacketTagIterator [class]
122 module.add_class('PacketTagIterator', import_from_module='ns.network')
123 ## packet.h (module 'network'): ns3::PacketTagIterator::Item [class]
124 module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::PacketTagIterator'])
125 ## packet-tag-list.h (module 'network'): ns3::PacketTagList [class]
126 module.add_class('PacketTagList', import_from_module='ns.network')
127 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData [struct]
128 module.add_class('TagData', import_from_module='ns.network', outer_class=root_module['ns3::PacketTagList'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800129 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter> [class]
130 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 -0700131 ## tag.h (module 'network'): ns3::Tag [class]
132 module.add_class('Tag', import_from_module='ns.network', parent=root_module['ns3::ObjectBase'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800133 ## tag-buffer.h (module 'network'): ns3::TagBuffer [class]
134 module.add_class('TagBuffer', import_from_module='ns.network')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800135 ## type-id.h (module 'core'): ns3::TypeId [class]
136 module.add_class('TypeId', import_from_module='ns.core')
137 ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration]
138 module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core')
139 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct]
140 module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId'])
141 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct]
142 module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800143 ## empty.h (module 'core'): ns3::empty [class]
144 module.add_class('empty', import_from_module='ns.core')
145 ## int64x64-double.h (module 'core'): ns3::int64x64_t [class]
146 module.add_class('int64x64_t', import_from_module='ns.core')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800147 ## chunk.h (module 'network'): ns3::Chunk [class]
Alexander Afanasyev4756b892012-04-18 14:48:43 -0700148 module.add_class('Chunk', import_from_module='ns.network', parent=root_module['ns3::ObjectBase'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800149 ## header.h (module 'network'): ns3::Header [class]
150 module.add_class('Header', import_from_module='ns.network', parent=root_module['ns3::Chunk'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800151 ## object.h (module 'core'): ns3::Object [class]
152 module.add_class('Object', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >'])
153 ## object.h (module 'core'): ns3::Object::AggregateIterator [class]
154 module.add_class('AggregateIterator', import_from_module='ns.core', outer_class=root_module['ns3::Object'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800155 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> > [class]
156 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::AttributeAccessor', 'ns3::empty', 'ns3::DefaultDeleter<ns3::AttributeAccessor>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
157 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> > [class]
158 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::AttributeChecker', 'ns3::empty', 'ns3::DefaultDeleter<ns3::AttributeChecker>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
159 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> > [class]
160 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::AttributeValue', 'ns3::empty', 'ns3::DefaultDeleter<ns3::AttributeValue>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
161 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> > [class]
162 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::CallbackImplBase', 'ns3::empty', 'ns3::DefaultDeleter<ns3::CallbackImplBase>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyev4756b892012-04-18 14:48:43 -0700163 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CcnxContentObjectHeader, ns3::Header, ns3::DefaultDeleter<ns3::CcnxContentObjectHeader> > [class]
164 module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::CcnxContentObjectHeader', 'ns3::Header', 'ns3::DefaultDeleter<ns3::CcnxContentObjectHeader>'], parent=root_module['ns3::Header'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800165 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CcnxFaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::CcnxFaceContainer> > [class]
166 module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::CcnxFaceContainer', 'ns3::empty', 'ns3::DefaultDeleter<ns3::CcnxFaceContainer>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyev4756b892012-04-18 14:48:43 -0700167 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CcnxInterestHeader, ns3::Header, ns3::DefaultDeleter<ns3::CcnxInterestHeader> > [class]
168 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::CcnxInterestHeader', 'ns3::Header', 'ns3::DefaultDeleter<ns3::CcnxInterestHeader>'], parent=root_module['ns3::Header'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800169 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CcnxNameComponents, ns3::empty, ns3::DefaultDeleter<ns3::CcnxNameComponents> > [class]
170 module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::CcnxNameComponents', 'ns3::empty', 'ns3::DefaultDeleter<ns3::CcnxNameComponents>'], 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 -0800171 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> > [class]
172 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'))
173 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> > [class]
174 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::NixVector', 'ns3::empty', 'ns3::DefaultDeleter<ns3::NixVector>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800175 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> > [class]
176 module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Packet', 'ns3::empty', 'ns3::DefaultDeleter<ns3::Packet>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
177 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> > [class]
178 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 Afanasyevaa032ea2011-12-13 12:38:32 -0800179 ## nstime.h (module 'core'): ns3::Time [class]
180 module.add_class('Time', import_from_module='ns.core')
181 ## nstime.h (module 'core'): ns3::Time::Unit [enumeration]
182 module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core')
183 ## nstime.h (module 'core'): ns3::Time [class]
184 root_module['ns3::Time'].implicitly_converts_to(root_module['ns3::int64x64_t'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800185 ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor [class]
186 module.add_class('TraceSourceAccessor', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
187 ## trailer.h (module 'network'): ns3::Trailer [class]
188 module.add_class('Trailer', import_from_module='ns.network', parent=root_module['ns3::Chunk'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800189 ## application.h (module 'network'): ns3::Application [class]
190 module.add_class('Application', import_from_module='ns.network', parent=root_module['ns3::Object'])
191 ## attribute.h (module 'core'): ns3::AttributeAccessor [class]
192 module.add_class('AttributeAccessor', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >'])
193 ## attribute.h (module 'core'): ns3::AttributeChecker [class]
194 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> >'])
195 ## attribute.h (module 'core'): ns3::AttributeValue [class]
196 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 Afanasyeve9c9d722012-01-19 16:59:30 -0800197 ## batches.h (module 'NDNabstraction'): ns3::BatchesChecker [class]
198 module.add_class('BatchesChecker', parent=root_module['ns3::AttributeChecker'])
199 ## batches.h (module 'NDNabstraction'): ns3::BatchesValue [class]
200 module.add_class('BatchesValue', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800201 ## callback.h (module 'core'): ns3::CallbackChecker [class]
202 module.add_class('CallbackChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
203 ## callback.h (module 'core'): ns3::CallbackImplBase [class]
204 module.add_class('CallbackImplBase', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >'])
205 ## callback.h (module 'core'): ns3::CallbackValue [class]
206 module.add_class('CallbackValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
207 ## ccnx.h (module 'NDNabstraction'): ns3::Ccnx [class]
208 module.add_class('Ccnx', parent=root_module['ns3::Object'])
Alexander Afanasyev8f5a9bb2011-12-18 19:49:02 -0800209 ## ccnx.h (module 'NDNabstraction'): ns3::Ccnx::DropReason [enumeration]
210 module.add_enum('DropReason', ['DUPLICATED', 'SUPPRESSED', 'NO_FACES', 'NON_DUPLICATED', 'AFTER_SATISFIED', 'UNSOLICITED'], outer_class=root_module['ns3::Ccnx'])
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -0800211 ## ccnx-app.h (module 'NDNabstraction'): ns3::CcnxApp [class]
212 module.add_class('CcnxApp', parent=root_module['ns3::Application'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800213 ## ccnx-content-object-header.h (module 'NDNabstraction'): ns3::CcnxContentObjectHeader [class]
Alexander Afanasyev4756b892012-04-18 14:48:43 -0700214 module.add_class('CcnxContentObjectHeader', parent=root_module['ns3::SimpleRefCount< ns3::CcnxContentObjectHeader, ns3::Header, ns3::DefaultDeleter<ns3::CcnxContentObjectHeader> >'])
Alexander Afanasyev9568f952012-04-05 16:09:14 -0700215 ## ccnx-content-object-header.h (module 'NDNabstraction'): ns3::CcnxContentObjectHeader::SignedInfo [struct]
216 module.add_class('SignedInfo', outer_class=root_module['ns3::CcnxContentObjectHeader'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800217 ## ccnx-content-object-header.h (module 'NDNabstraction'): ns3::CcnxContentObjectTail [class]
218 module.add_class('CcnxContentObjectTail', parent=root_module['ns3::Trailer'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800219 ## ccnx-face.h (module 'NDNabstraction'): ns3::CcnxFace [class]
Alexander Afanasyev53872ce2011-12-16 13:17:18 -0800220 module.add_class('CcnxFace', parent=root_module['ns3::Object'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800221 ## ccnx-face-container.h (module 'NDNabstraction'): ns3::CcnxFaceContainer [class]
222 module.add_class('CcnxFaceContainer', parent=root_module['ns3::SimpleRefCount< ns3::CcnxFaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::CcnxFaceContainer> >'])
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -0800223 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFib [class]
224 module.add_class('CcnxFib', parent=root_module['ns3::Object'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800225 ## ccnx-interest-header.h (module 'NDNabstraction'): ns3::CcnxInterestHeader [class]
Alexander Afanasyev4756b892012-04-18 14:48:43 -0700226 module.add_class('CcnxInterestHeader', parent=root_module['ns3::SimpleRefCount< ns3::CcnxInterestHeader, ns3::Header, ns3::DefaultDeleter<ns3::CcnxInterestHeader> >'])
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -0800227 ## ccnx-interest-header.h (module 'NDNabstraction'): ns3::CcnxInterestHeader [enumeration]
228 module.add_enum('', ['NORMAL_INTEREST', 'NACK_LOOP', 'NACK_CONGESTION', 'NACK_GIVEUP_PIT'], outer_class=root_module['ns3::CcnxInterestHeader'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800229 ## ccnx-name-components.h (module 'NDNabstraction'): ns3::CcnxNameComponents [class]
230 module.add_class('CcnxNameComponents', parent=root_module['ns3::SimpleRefCount< ns3::CcnxNameComponents, ns3::empty, ns3::DefaultDeleter<ns3::CcnxNameComponents> >'])
231 ## ccnx-name-components.h (module 'NDNabstraction'): ns3::CcnxNameComponentsChecker [class]
232 module.add_class('CcnxNameComponentsChecker', parent=root_module['ns3::AttributeChecker'])
233 ## ccnx-name-components.h (module 'NDNabstraction'): ns3::CcnxNameComponentsValue [class]
234 module.add_class('CcnxNameComponentsValue', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800235 ## attribute.h (module 'core'): ns3::EmptyAttributeValue [class]
236 module.add_class('EmptyAttributeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
237 ## event-impl.h (module 'core'): ns3::EventImpl [class]
238 module.add_class('EventImpl', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >'])
239 ## integer.h (module 'core'): ns3::IntegerValue [class]
240 module.add_class('IntegerValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
241 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker [class]
242 module.add_class('Ipv4AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
243 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue [class]
244 module.add_class('Ipv4AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
245 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker [class]
246 module.add_class('Ipv4MaskChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
247 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue [class]
248 module.add_class('Ipv4MaskValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
249 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker [class]
250 module.add_class('Ipv6AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
251 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue [class]
252 module.add_class('Ipv6AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
253 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker [class]
254 module.add_class('Ipv6PrefixChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
255 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue [class]
256 module.add_class('Ipv6PrefixValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800257 ## net-device.h (module 'network'): ns3::NetDevice [class]
258 module.add_class('NetDevice', import_from_module='ns.network', parent=root_module['ns3::Object'])
259 ## net-device.h (module 'network'): ns3::NetDevice::PacketType [enumeration]
260 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')
261 ## nix-vector.h (module 'network'): ns3::NixVector [class]
262 module.add_class('NixVector', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >'])
263 ## node.h (module 'network'): ns3::Node [class]
264 module.add_class('Node', import_from_module='ns.network', parent=root_module['ns3::Object'])
265 ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker [class]
266 module.add_class('ObjectFactoryChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
267 ## object-factory.h (module 'core'): ns3::ObjectFactoryValue [class]
268 module.add_class('ObjectFactoryValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800269 ## packet.h (module 'network'): ns3::Packet [class]
270 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 -0800271 ## nstime.h (module 'core'): ns3::TimeChecker [class]
272 module.add_class('TimeChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
273 ## nstime.h (module 'core'): ns3::TimeValue [class]
274 module.add_class('TimeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
275 ## type-id.h (module 'core'): ns3::TypeIdChecker [class]
276 module.add_class('TypeIdChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
277 ## type-id.h (module 'core'): ns3::TypeIdValue [class]
278 module.add_class('TypeIdValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800279 ## address.h (module 'network'): ns3::AddressChecker [class]
280 module.add_class('AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
281 ## address.h (module 'network'): ns3::AddressValue [class]
282 module.add_class('AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -0700283 module.add_container('std::set< unsigned int >', 'unsigned int', container_type='set')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800284 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')
285 module.add_container('std::list< std::string >', 'std::string', container_type='list')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800286
287 ## Register a nested module for the namespace FatalImpl
288
289 nested_module = module.add_cpp_namespace('FatalImpl')
290 register_types_ns3_FatalImpl(nested_module)
291
292
293 ## Register a nested module for the namespace internal
294
295 nested_module = module.add_cpp_namespace('internal')
296 register_types_ns3_internal(nested_module)
297
298
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800299def register_types_ns3_FatalImpl(module):
300 root_module = module.get_root()
301
302
303def register_types_ns3_internal(module):
304 root_module = module.get_root()
305
306
307def register_methods(root_module):
308 register_Ns3Address_methods(root_module, root_module['ns3::Address'])
309 register_Ns3ApplicationContainer_methods(root_module, root_module['ns3::ApplicationContainer'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800310 register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList'])
311 register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item'])
312 register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer'])
313 register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator'])
314 register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator'])
315 register_Ns3ByteTagIteratorItem_methods(root_module, root_module['ns3::ByteTagIterator::Item'])
316 register_Ns3ByteTagList_methods(root_module, root_module['ns3::ByteTagList'])
317 register_Ns3ByteTagListIterator_methods(root_module, root_module['ns3::ByteTagList::Iterator'])
318 register_Ns3ByteTagListIteratorItem_methods(root_module, root_module['ns3::ByteTagList::Iterator::Item'])
319 register_Ns3CallbackBase_methods(root_module, root_module['ns3::CallbackBase'])
Alexander Afanasyev4975f732011-12-20 17:52:19 -0800320 register_Ns3CcnxAppHelper_methods(root_module, root_module['ns3::CcnxAppHelper'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800321 register_Ns3CcnxContentObjectHeaderException_methods(root_module, root_module['ns3::CcnxContentObjectHeaderException'])
Alexander Afanasyev8e2f1122012-04-17 15:01:11 -0700322 register_Ns3CcnxFibEntry_methods(root_module, root_module['ns3::CcnxFibEntry'])
323 register_Ns3CcnxFibEntryNoFaces_methods(root_module, root_module['ns3::CcnxFibEntry::NoFaces'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800324 register_Ns3CcnxFibEntryContainer_methods(root_module, root_module['ns3::CcnxFibEntryContainer'])
325 register_Ns3CcnxFibFaceMetric_methods(root_module, root_module['ns3::CcnxFibFaceMetric'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800326 register_Ns3CcnxFibFaceMetricContainer_methods(root_module, root_module['ns3::CcnxFibFaceMetricContainer'])
Alexander Afanasyev8e2f1122012-04-17 15:01:11 -0700327 register_Ns3CcnxGlobalRoutingHelper_methods(root_module, root_module['ns3::CcnxGlobalRoutingHelper'])
Alexander Afanasyev53872ce2011-12-16 13:17:18 -0800328 register_Ns3CcnxHeaderHelper_methods(root_module, root_module['ns3::CcnxHeaderHelper'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800329 register_Ns3CcnxInterestHeaderException_methods(root_module, root_module['ns3::CcnxInterestHeaderException'])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -0700330 register_Ns3CcnxPitEntry_methods(root_module, root_module['ns3::CcnxPitEntry'])
331 register_Ns3CcnxPitEntryContainer_methods(root_module, root_module['ns3::CcnxPitEntryContainer'])
332 register_Ns3CcnxPitEntryIncomingFace_methods(root_module, root_module['ns3::CcnxPitEntryIncomingFace'])
333 register_Ns3CcnxPitEntryIncomingFaceContainer_methods(root_module, root_module['ns3::CcnxPitEntryIncomingFaceContainer'])
334 register_Ns3CcnxPitEntryNotFound_methods(root_module, root_module['ns3::CcnxPitEntryNotFound'])
335 register_Ns3CcnxPitEntryOutgoingFace_methods(root_module, root_module['ns3::CcnxPitEntryOutgoingFace'])
336 register_Ns3CcnxPitEntryOutgoingFaceContainer_methods(root_module, root_module['ns3::CcnxPitEntryOutgoingFaceContainer'])
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -0800337 register_Ns3CcnxStackHelper_methods(root_module, root_module['ns3::CcnxStackHelper'])
Alexander Afanasyev53872ce2011-12-16 13:17:18 -0800338 register_Ns3CcnxUnknownHeaderException_methods(root_module, root_module['ns3::CcnxUnknownHeaderException'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800339 register_Ns3EventId_methods(root_module, root_module['ns3::EventId'])
340 register_Ns3Ipv4Address_methods(root_module, root_module['ns3::Ipv4Address'])
341 register_Ns3Ipv4Mask_methods(root_module, root_module['ns3::Ipv4Mask'])
342 register_Ns3Ipv6Address_methods(root_module, root_module['ns3::Ipv6Address'])
343 register_Ns3Ipv6Prefix_methods(root_module, root_module['ns3::Ipv6Prefix'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800344 register_Ns3NodeContainer_methods(root_module, root_module['ns3::NodeContainer'])
345 register_Ns3ObjectBase_methods(root_module, root_module['ns3::ObjectBase'])
346 register_Ns3ObjectDeleter_methods(root_module, root_module['ns3::ObjectDeleter'])
347 register_Ns3ObjectFactory_methods(root_module, root_module['ns3::ObjectFactory'])
348 register_Ns3PacketMetadata_methods(root_module, root_module['ns3::PacketMetadata'])
349 register_Ns3PacketMetadataItem_methods(root_module, root_module['ns3::PacketMetadata::Item'])
350 register_Ns3PacketMetadataItemIterator_methods(root_module, root_module['ns3::PacketMetadata::ItemIterator'])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -0700351 register_Ns3PacketTagIterator_methods(root_module, root_module['ns3::PacketTagIterator'])
352 register_Ns3PacketTagIteratorItem_methods(root_module, root_module['ns3::PacketTagIterator::Item'])
353 register_Ns3PacketTagList_methods(root_module, root_module['ns3::PacketTagList'])
354 register_Ns3PacketTagListTagData_methods(root_module, root_module['ns3::PacketTagList::TagData'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800355 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 -0700356 register_Ns3Tag_methods(root_module, root_module['ns3::Tag'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800357 register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800358 register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId'])
359 register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation'])
360 register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800361 register_Ns3Empty_methods(root_module, root_module['ns3::empty'])
362 register_Ns3Int64x64_t_methods(root_module, root_module['ns3::int64x64_t'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800363 register_Ns3Chunk_methods(root_module, root_module['ns3::Chunk'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800364 register_Ns3Header_methods(root_module, root_module['ns3::Header'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800365 register_Ns3Object_methods(root_module, root_module['ns3::Object'])
366 register_Ns3ObjectAggregateIterator_methods(root_module, root_module['ns3::Object::AggregateIterator'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800367 register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >'])
368 register_Ns3SimpleRefCount__Ns3AttributeChecker_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeChecker__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >'])
369 register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeValue__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >'])
370 register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__lt__ns3CallbackImplBase__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >'])
Alexander Afanasyev4756b892012-04-18 14:48:43 -0700371 register_Ns3SimpleRefCount__Ns3CcnxContentObjectHeader_Ns3Header_Ns3DefaultDeleter__lt__ns3CcnxContentObjectHeader__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::CcnxContentObjectHeader, ns3::Header, ns3::DefaultDeleter<ns3::CcnxContentObjectHeader> >'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800372 register_Ns3SimpleRefCount__Ns3CcnxFaceContainer_Ns3Empty_Ns3DefaultDeleter__lt__ns3CcnxFaceContainer__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::CcnxFaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::CcnxFaceContainer> >'])
Alexander Afanasyev4756b892012-04-18 14:48:43 -0700373 register_Ns3SimpleRefCount__Ns3CcnxInterestHeader_Ns3Header_Ns3DefaultDeleter__lt__ns3CcnxInterestHeader__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::CcnxInterestHeader, ns3::Header, ns3::DefaultDeleter<ns3::CcnxInterestHeader> >'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800374 register_Ns3SimpleRefCount__Ns3CcnxNameComponents_Ns3Empty_Ns3DefaultDeleter__lt__ns3CcnxNameComponents__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::CcnxNameComponents, ns3::empty, ns3::DefaultDeleter<ns3::CcnxNameComponents> >'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800375 register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >'])
376 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 -0800377 register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >'])
378 register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800379 register_Ns3Time_methods(root_module, root_module['ns3::Time'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800380 register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor'])
381 register_Ns3Trailer_methods(root_module, root_module['ns3::Trailer'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800382 register_Ns3Application_methods(root_module, root_module['ns3::Application'])
383 register_Ns3AttributeAccessor_methods(root_module, root_module['ns3::AttributeAccessor'])
384 register_Ns3AttributeChecker_methods(root_module, root_module['ns3::AttributeChecker'])
385 register_Ns3AttributeValue_methods(root_module, root_module['ns3::AttributeValue'])
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -0800386 register_Ns3BatchesChecker_methods(root_module, root_module['ns3::BatchesChecker'])
387 register_Ns3BatchesValue_methods(root_module, root_module['ns3::BatchesValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800388 register_Ns3CallbackChecker_methods(root_module, root_module['ns3::CallbackChecker'])
389 register_Ns3CallbackImplBase_methods(root_module, root_module['ns3::CallbackImplBase'])
390 register_Ns3CallbackValue_methods(root_module, root_module['ns3::CallbackValue'])
391 register_Ns3Ccnx_methods(root_module, root_module['ns3::Ccnx'])
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -0800392 register_Ns3CcnxApp_methods(root_module, root_module['ns3::CcnxApp'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800393 register_Ns3CcnxContentObjectHeader_methods(root_module, root_module['ns3::CcnxContentObjectHeader'])
Alexander Afanasyev9568f952012-04-05 16:09:14 -0700394 register_Ns3CcnxContentObjectHeaderSignedInfo_methods(root_module, root_module['ns3::CcnxContentObjectHeader::SignedInfo'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800395 register_Ns3CcnxContentObjectTail_methods(root_module, root_module['ns3::CcnxContentObjectTail'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800396 register_Ns3CcnxFace_methods(root_module, root_module['ns3::CcnxFace'])
397 register_Ns3CcnxFaceContainer_methods(root_module, root_module['ns3::CcnxFaceContainer'])
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -0800398 register_Ns3CcnxFib_methods(root_module, root_module['ns3::CcnxFib'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800399 register_Ns3CcnxInterestHeader_methods(root_module, root_module['ns3::CcnxInterestHeader'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800400 register_Ns3CcnxNameComponents_methods(root_module, root_module['ns3::CcnxNameComponents'])
401 register_Ns3CcnxNameComponentsChecker_methods(root_module, root_module['ns3::CcnxNameComponentsChecker'])
402 register_Ns3CcnxNameComponentsValue_methods(root_module, root_module['ns3::CcnxNameComponentsValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800403 register_Ns3EmptyAttributeValue_methods(root_module, root_module['ns3::EmptyAttributeValue'])
404 register_Ns3EventImpl_methods(root_module, root_module['ns3::EventImpl'])
405 register_Ns3IntegerValue_methods(root_module, root_module['ns3::IntegerValue'])
406 register_Ns3Ipv4AddressChecker_methods(root_module, root_module['ns3::Ipv4AddressChecker'])
407 register_Ns3Ipv4AddressValue_methods(root_module, root_module['ns3::Ipv4AddressValue'])
408 register_Ns3Ipv4MaskChecker_methods(root_module, root_module['ns3::Ipv4MaskChecker'])
409 register_Ns3Ipv4MaskValue_methods(root_module, root_module['ns3::Ipv4MaskValue'])
410 register_Ns3Ipv6AddressChecker_methods(root_module, root_module['ns3::Ipv6AddressChecker'])
411 register_Ns3Ipv6AddressValue_methods(root_module, root_module['ns3::Ipv6AddressValue'])
412 register_Ns3Ipv6PrefixChecker_methods(root_module, root_module['ns3::Ipv6PrefixChecker'])
413 register_Ns3Ipv6PrefixValue_methods(root_module, root_module['ns3::Ipv6PrefixValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800414 register_Ns3NetDevice_methods(root_module, root_module['ns3::NetDevice'])
415 register_Ns3NixVector_methods(root_module, root_module['ns3::NixVector'])
416 register_Ns3Node_methods(root_module, root_module['ns3::Node'])
417 register_Ns3ObjectFactoryChecker_methods(root_module, root_module['ns3::ObjectFactoryChecker'])
418 register_Ns3ObjectFactoryValue_methods(root_module, root_module['ns3::ObjectFactoryValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800419 register_Ns3Packet_methods(root_module, root_module['ns3::Packet'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800420 register_Ns3TimeChecker_methods(root_module, root_module['ns3::TimeChecker'])
421 register_Ns3TimeValue_methods(root_module, root_module['ns3::TimeValue'])
422 register_Ns3TypeIdChecker_methods(root_module, root_module['ns3::TypeIdChecker'])
423 register_Ns3TypeIdValue_methods(root_module, root_module['ns3::TypeIdValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800424 register_Ns3AddressChecker_methods(root_module, root_module['ns3::AddressChecker'])
425 register_Ns3AddressValue_methods(root_module, root_module['ns3::AddressValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800426 return
427
428def register_Ns3Address_methods(root_module, cls):
429 cls.add_binary_comparison_operator('!=')
430 cls.add_output_stream_operator()
431 cls.add_binary_comparison_operator('==')
432 cls.add_binary_comparison_operator('<')
433 ## address.h (module 'network'): ns3::Address::Address() [constructor]
434 cls.add_constructor([])
435 ## address.h (module 'network'): ns3::Address::Address(uint8_t type, uint8_t const * buffer, uint8_t len) [constructor]
436 cls.add_constructor([param('uint8_t', 'type'), param('uint8_t const *', 'buffer'), param('uint8_t', 'len')])
437 ## address.h (module 'network'): ns3::Address::Address(ns3::Address const & address) [copy constructor]
438 cls.add_constructor([param('ns3::Address const &', 'address')])
439 ## address.h (module 'network'): bool ns3::Address::CheckCompatible(uint8_t type, uint8_t len) const [member function]
440 cls.add_method('CheckCompatible',
441 'bool',
442 [param('uint8_t', 'type'), param('uint8_t', 'len')],
443 is_const=True)
444 ## address.h (module 'network'): uint32_t ns3::Address::CopyAllFrom(uint8_t const * buffer, uint8_t len) [member function]
445 cls.add_method('CopyAllFrom',
446 'uint32_t',
447 [param('uint8_t const *', 'buffer'), param('uint8_t', 'len')])
448 ## address.h (module 'network'): uint32_t ns3::Address::CopyAllTo(uint8_t * buffer, uint8_t len) const [member function]
449 cls.add_method('CopyAllTo',
450 'uint32_t',
451 [param('uint8_t *', 'buffer'), param('uint8_t', 'len')],
452 is_const=True)
453 ## address.h (module 'network'): uint32_t ns3::Address::CopyFrom(uint8_t const * buffer, uint8_t len) [member function]
454 cls.add_method('CopyFrom',
455 'uint32_t',
456 [param('uint8_t const *', 'buffer'), param('uint8_t', 'len')])
457 ## address.h (module 'network'): uint32_t ns3::Address::CopyTo(uint8_t * buffer) const [member function]
458 cls.add_method('CopyTo',
459 'uint32_t',
460 [param('uint8_t *', 'buffer')],
461 is_const=True)
462 ## address.h (module 'network'): void ns3::Address::Deserialize(ns3::TagBuffer buffer) [member function]
463 cls.add_method('Deserialize',
464 'void',
465 [param('ns3::TagBuffer', 'buffer')])
466 ## address.h (module 'network'): uint8_t ns3::Address::GetLength() const [member function]
467 cls.add_method('GetLength',
468 'uint8_t',
469 [],
470 is_const=True)
471 ## address.h (module 'network'): uint32_t ns3::Address::GetSerializedSize() const [member function]
472 cls.add_method('GetSerializedSize',
473 'uint32_t',
474 [],
475 is_const=True)
476 ## address.h (module 'network'): bool ns3::Address::IsInvalid() const [member function]
477 cls.add_method('IsInvalid',
478 'bool',
479 [],
480 is_const=True)
481 ## address.h (module 'network'): bool ns3::Address::IsMatchingType(uint8_t type) const [member function]
482 cls.add_method('IsMatchingType',
483 'bool',
484 [param('uint8_t', 'type')],
485 is_const=True)
486 ## address.h (module 'network'): static uint8_t ns3::Address::Register() [member function]
487 cls.add_method('Register',
488 'uint8_t',
489 [],
490 is_static=True)
491 ## address.h (module 'network'): void ns3::Address::Serialize(ns3::TagBuffer buffer) const [member function]
492 cls.add_method('Serialize',
493 'void',
494 [param('ns3::TagBuffer', 'buffer')],
495 is_const=True)
496 return
497
498def register_Ns3ApplicationContainer_methods(root_module, cls):
499 ## application-container.h (module 'network'): ns3::ApplicationContainer::ApplicationContainer(ns3::ApplicationContainer const & arg0) [copy constructor]
500 cls.add_constructor([param('ns3::ApplicationContainer const &', 'arg0')])
501 ## application-container.h (module 'network'): ns3::ApplicationContainer::ApplicationContainer() [constructor]
502 cls.add_constructor([])
503 ## application-container.h (module 'network'): ns3::ApplicationContainer::ApplicationContainer(ns3::Ptr<ns3::Application> application) [constructor]
504 cls.add_constructor([param('ns3::Ptr< ns3::Application >', 'application')])
505 ## application-container.h (module 'network'): ns3::ApplicationContainer::ApplicationContainer(std::string name) [constructor]
506 cls.add_constructor([param('std::string', 'name')])
507 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Add(ns3::ApplicationContainer other) [member function]
508 cls.add_method('Add',
509 'void',
510 [param('ns3::ApplicationContainer', 'other')])
511 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Add(ns3::Ptr<ns3::Application> application) [member function]
512 cls.add_method('Add',
513 'void',
514 [param('ns3::Ptr< ns3::Application >', 'application')])
515 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Add(std::string name) [member function]
516 cls.add_method('Add',
517 'void',
518 [param('std::string', 'name')])
519 ## 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]
520 cls.add_method('Begin',
521 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Application > const, std::vector< ns3::Ptr< ns3::Application > > >',
522 [],
523 is_const=True)
524 ## 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]
525 cls.add_method('End',
526 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Application > const, std::vector< ns3::Ptr< ns3::Application > > >',
527 [],
528 is_const=True)
529 ## application-container.h (module 'network'): ns3::Ptr<ns3::Application> ns3::ApplicationContainer::Get(uint32_t i) const [member function]
530 cls.add_method('Get',
531 'ns3::Ptr< ns3::Application >',
532 [param('uint32_t', 'i')],
533 is_const=True)
534 ## application-container.h (module 'network'): uint32_t ns3::ApplicationContainer::GetN() const [member function]
535 cls.add_method('GetN',
536 'uint32_t',
537 [],
538 is_const=True)
539 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Start(ns3::Time start) [member function]
540 cls.add_method('Start',
541 'void',
542 [param('ns3::Time', 'start')])
543 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Stop(ns3::Time stop) [member function]
544 cls.add_method('Stop',
545 'void',
546 [param('ns3::Time', 'stop')])
547 return
548
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800549def register_Ns3AttributeConstructionList_methods(root_module, cls):
550 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor]
551 cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')])
552 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor]
553 cls.add_constructor([])
554 ## 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]
555 cls.add_method('Add',
556 'void',
557 [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')])
558 ## attribute-construction-list.h (module 'core'): std::_List_const_iterator<ns3::AttributeConstructionList::Item> ns3::AttributeConstructionList::Begin() const [member function]
559 cls.add_method('Begin',
560 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >',
561 [],
562 is_const=True)
563 ## attribute-construction-list.h (module 'core'): std::_List_const_iterator<ns3::AttributeConstructionList::Item> ns3::AttributeConstructionList::End() const [member function]
564 cls.add_method('End',
565 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >',
566 [],
567 is_const=True)
568 ## attribute-construction-list.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeConstructionList::Find(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
569 cls.add_method('Find',
570 'ns3::Ptr< ns3::AttributeValue >',
571 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
572 is_const=True)
573 return
574
575def register_Ns3AttributeConstructionListItem_methods(root_module, cls):
576 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor]
577 cls.add_constructor([])
578 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor]
579 cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')])
580 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable]
581 cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False)
582 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable]
583 cls.add_instance_attribute('name', 'std::string', is_const=False)
584 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable]
585 cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False)
586 return
587
588def register_Ns3Buffer_methods(root_module, cls):
589 ## buffer.h (module 'network'): ns3::Buffer::Buffer() [constructor]
590 cls.add_constructor([])
591 ## buffer.h (module 'network'): ns3::Buffer::Buffer(uint32_t dataSize) [constructor]
592 cls.add_constructor([param('uint32_t', 'dataSize')])
593 ## buffer.h (module 'network'): ns3::Buffer::Buffer(uint32_t dataSize, bool initialize) [constructor]
594 cls.add_constructor([param('uint32_t', 'dataSize'), param('bool', 'initialize')])
595 ## buffer.h (module 'network'): ns3::Buffer::Buffer(ns3::Buffer const & o) [copy constructor]
596 cls.add_constructor([param('ns3::Buffer const &', 'o')])
597 ## buffer.h (module 'network'): bool ns3::Buffer::AddAtEnd(uint32_t end) [member function]
598 cls.add_method('AddAtEnd',
599 'bool',
600 [param('uint32_t', 'end')])
601 ## buffer.h (module 'network'): void ns3::Buffer::AddAtEnd(ns3::Buffer const & o) [member function]
602 cls.add_method('AddAtEnd',
603 'void',
604 [param('ns3::Buffer const &', 'o')])
605 ## buffer.h (module 'network'): bool ns3::Buffer::AddAtStart(uint32_t start) [member function]
606 cls.add_method('AddAtStart',
607 'bool',
608 [param('uint32_t', 'start')])
609 ## buffer.h (module 'network'): ns3::Buffer::Iterator ns3::Buffer::Begin() const [member function]
610 cls.add_method('Begin',
611 'ns3::Buffer::Iterator',
612 [],
613 is_const=True)
614 ## buffer.h (module 'network'): void ns3::Buffer::CopyData(std::ostream * os, uint32_t size) const [member function]
615 cls.add_method('CopyData',
616 'void',
617 [param('std::ostream *', 'os'), param('uint32_t', 'size')],
618 is_const=True)
619 ## buffer.h (module 'network'): uint32_t ns3::Buffer::CopyData(uint8_t * buffer, uint32_t size) const [member function]
620 cls.add_method('CopyData',
621 'uint32_t',
622 [param('uint8_t *', 'buffer'), param('uint32_t', 'size')],
623 is_const=True)
624 ## buffer.h (module 'network'): ns3::Buffer ns3::Buffer::CreateFragment(uint32_t start, uint32_t length) const [member function]
625 cls.add_method('CreateFragment',
626 'ns3::Buffer',
627 [param('uint32_t', 'start'), param('uint32_t', 'length')],
628 is_const=True)
629 ## buffer.h (module 'network'): ns3::Buffer ns3::Buffer::CreateFullCopy() const [member function]
630 cls.add_method('CreateFullCopy',
631 'ns3::Buffer',
632 [],
633 is_const=True)
634 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Deserialize(uint8_t const * buffer, uint32_t size) [member function]
635 cls.add_method('Deserialize',
636 'uint32_t',
637 [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
638 ## buffer.h (module 'network'): ns3::Buffer::Iterator ns3::Buffer::End() const [member function]
639 cls.add_method('End',
640 'ns3::Buffer::Iterator',
641 [],
642 is_const=True)
643 ## buffer.h (module 'network'): int32_t ns3::Buffer::GetCurrentEndOffset() const [member function]
644 cls.add_method('GetCurrentEndOffset',
645 'int32_t',
646 [],
647 is_const=True)
648 ## buffer.h (module 'network'): int32_t ns3::Buffer::GetCurrentStartOffset() const [member function]
649 cls.add_method('GetCurrentStartOffset',
650 'int32_t',
651 [],
652 is_const=True)
653 ## buffer.h (module 'network'): uint32_t ns3::Buffer::GetSerializedSize() const [member function]
654 cls.add_method('GetSerializedSize',
655 'uint32_t',
656 [],
657 is_const=True)
658 ## buffer.h (module 'network'): uint32_t ns3::Buffer::GetSize() const [member function]
659 cls.add_method('GetSize',
660 'uint32_t',
661 [],
662 is_const=True)
663 ## buffer.h (module 'network'): uint8_t const * ns3::Buffer::PeekData() const [member function]
664 cls.add_method('PeekData',
665 'uint8_t const *',
666 [],
667 is_const=True)
668 ## buffer.h (module 'network'): void ns3::Buffer::RemoveAtEnd(uint32_t end) [member function]
669 cls.add_method('RemoveAtEnd',
670 'void',
671 [param('uint32_t', 'end')])
672 ## buffer.h (module 'network'): void ns3::Buffer::RemoveAtStart(uint32_t start) [member function]
673 cls.add_method('RemoveAtStart',
674 'void',
675 [param('uint32_t', 'start')])
676 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
677 cls.add_method('Serialize',
678 'uint32_t',
679 [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')],
680 is_const=True)
681 return
682
683def register_Ns3BufferIterator_methods(root_module, cls):
684 ## buffer.h (module 'network'): ns3::Buffer::Iterator::Iterator(ns3::Buffer::Iterator const & arg0) [copy constructor]
685 cls.add_constructor([param('ns3::Buffer::Iterator const &', 'arg0')])
686 ## buffer.h (module 'network'): ns3::Buffer::Iterator::Iterator() [constructor]
687 cls.add_constructor([])
688 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::CalculateIpChecksum(uint16_t size) [member function]
689 cls.add_method('CalculateIpChecksum',
690 'uint16_t',
691 [param('uint16_t', 'size')])
692 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::CalculateIpChecksum(uint16_t size, uint32_t initialChecksum) [member function]
693 cls.add_method('CalculateIpChecksum',
694 'uint16_t',
695 [param('uint16_t', 'size'), param('uint32_t', 'initialChecksum')])
696 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::GetDistanceFrom(ns3::Buffer::Iterator const & o) const [member function]
697 cls.add_method('GetDistanceFrom',
698 'uint32_t',
699 [param('ns3::Buffer::Iterator const &', 'o')],
700 is_const=True)
701 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::GetSize() const [member function]
702 cls.add_method('GetSize',
703 'uint32_t',
704 [],
705 is_const=True)
706 ## buffer.h (module 'network'): bool ns3::Buffer::Iterator::IsEnd() const [member function]
707 cls.add_method('IsEnd',
708 'bool',
709 [],
710 is_const=True)
711 ## buffer.h (module 'network'): bool ns3::Buffer::Iterator::IsStart() const [member function]
712 cls.add_method('IsStart',
713 'bool',
714 [],
715 is_const=True)
716 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Next() [member function]
717 cls.add_method('Next',
718 'void',
719 [])
720 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Next(uint32_t delta) [member function]
721 cls.add_method('Next',
722 'void',
723 [param('uint32_t', 'delta')])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800724 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Prev() [member function]
725 cls.add_method('Prev',
726 'void',
727 [])
728 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Prev(uint32_t delta) [member function]
729 cls.add_method('Prev',
730 'void',
731 [param('uint32_t', 'delta')])
732 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Read(uint8_t * buffer, uint32_t size) [member function]
733 cls.add_method('Read',
734 'void',
735 [param('uint8_t *', 'buffer'), param('uint32_t', 'size')])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800736 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadLsbtohU16() [member function]
737 cls.add_method('ReadLsbtohU16',
738 'uint16_t',
739 [])
740 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadLsbtohU32() [member function]
741 cls.add_method('ReadLsbtohU32',
742 'uint32_t',
743 [])
744 ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadLsbtohU64() [member function]
745 cls.add_method('ReadLsbtohU64',
746 'uint64_t',
747 [])
748 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadNtohU16() [member function]
749 cls.add_method('ReadNtohU16',
750 'uint16_t',
751 [])
752 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadNtohU32() [member function]
753 cls.add_method('ReadNtohU32',
754 'uint32_t',
755 [])
756 ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadNtohU64() [member function]
757 cls.add_method('ReadNtohU64',
758 'uint64_t',
759 [])
760 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadU16() [member function]
761 cls.add_method('ReadU16',
762 'uint16_t',
763 [])
764 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadU32() [member function]
765 cls.add_method('ReadU32',
766 'uint32_t',
767 [])
768 ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadU64() [member function]
769 cls.add_method('ReadU64',
770 'uint64_t',
771 [])
772 ## buffer.h (module 'network'): uint8_t ns3::Buffer::Iterator::ReadU8() [member function]
773 cls.add_method('ReadU8',
774 'uint8_t',
775 [])
776 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Write(uint8_t const * buffer, uint32_t size) [member function]
777 cls.add_method('Write',
778 'void',
779 [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
780 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Write(ns3::Buffer::Iterator start, ns3::Buffer::Iterator end) [member function]
781 cls.add_method('Write',
782 'void',
783 [param('ns3::Buffer::Iterator', 'start'), param('ns3::Buffer::Iterator', 'end')])
784 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU16(uint16_t data) [member function]
785 cls.add_method('WriteHtolsbU16',
786 'void',
787 [param('uint16_t', 'data')])
788 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU32(uint32_t data) [member function]
789 cls.add_method('WriteHtolsbU32',
790 'void',
791 [param('uint32_t', 'data')])
792 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU64(uint64_t data) [member function]
793 cls.add_method('WriteHtolsbU64',
794 'void',
795 [param('uint64_t', 'data')])
796 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU16(uint16_t data) [member function]
797 cls.add_method('WriteHtonU16',
798 'void',
799 [param('uint16_t', 'data')])
800 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU32(uint32_t data) [member function]
801 cls.add_method('WriteHtonU32',
802 'void',
803 [param('uint32_t', 'data')])
804 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU64(uint64_t data) [member function]
805 cls.add_method('WriteHtonU64',
806 'void',
807 [param('uint64_t', 'data')])
808 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU16(uint16_t data) [member function]
809 cls.add_method('WriteU16',
810 'void',
811 [param('uint16_t', 'data')])
812 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU32(uint32_t data) [member function]
813 cls.add_method('WriteU32',
814 'void',
815 [param('uint32_t', 'data')])
816 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU64(uint64_t data) [member function]
817 cls.add_method('WriteU64',
818 'void',
819 [param('uint64_t', 'data')])
820 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU8(uint8_t data) [member function]
821 cls.add_method('WriteU8',
822 'void',
823 [param('uint8_t', 'data')])
824 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU8(uint8_t data, uint32_t len) [member function]
825 cls.add_method('WriteU8',
826 'void',
827 [param('uint8_t', 'data'), param('uint32_t', 'len')])
828 return
829
830def register_Ns3ByteTagIterator_methods(root_module, cls):
831 ## packet.h (module 'network'): ns3::ByteTagIterator::ByteTagIterator(ns3::ByteTagIterator const & arg0) [copy constructor]
832 cls.add_constructor([param('ns3::ByteTagIterator const &', 'arg0')])
833 ## packet.h (module 'network'): bool ns3::ByteTagIterator::HasNext() const [member function]
834 cls.add_method('HasNext',
835 'bool',
836 [],
837 is_const=True)
838 ## packet.h (module 'network'): ns3::ByteTagIterator::Item ns3::ByteTagIterator::Next() [member function]
839 cls.add_method('Next',
840 'ns3::ByteTagIterator::Item',
841 [])
842 return
843
844def register_Ns3ByteTagIteratorItem_methods(root_module, cls):
845 ## packet.h (module 'network'): ns3::ByteTagIterator::Item::Item(ns3::ByteTagIterator::Item const & arg0) [copy constructor]
846 cls.add_constructor([param('ns3::ByteTagIterator::Item const &', 'arg0')])
847 ## packet.h (module 'network'): uint32_t ns3::ByteTagIterator::Item::GetEnd() const [member function]
848 cls.add_method('GetEnd',
849 'uint32_t',
850 [],
851 is_const=True)
852 ## packet.h (module 'network'): uint32_t ns3::ByteTagIterator::Item::GetStart() const [member function]
853 cls.add_method('GetStart',
854 'uint32_t',
855 [],
856 is_const=True)
857 ## packet.h (module 'network'): void ns3::ByteTagIterator::Item::GetTag(ns3::Tag & tag) const [member function]
858 cls.add_method('GetTag',
859 'void',
860 [param('ns3::Tag &', 'tag')],
861 is_const=True)
862 ## packet.h (module 'network'): ns3::TypeId ns3::ByteTagIterator::Item::GetTypeId() const [member function]
863 cls.add_method('GetTypeId',
864 'ns3::TypeId',
865 [],
866 is_const=True)
867 return
868
869def register_Ns3ByteTagList_methods(root_module, cls):
870 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::ByteTagList() [constructor]
871 cls.add_constructor([])
872 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::ByteTagList(ns3::ByteTagList const & o) [copy constructor]
873 cls.add_constructor([param('ns3::ByteTagList const &', 'o')])
874 ## 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]
875 cls.add_method('Add',
876 'ns3::TagBuffer',
877 [param('ns3::TypeId', 'tid'), param('uint32_t', 'bufferSize'), param('int32_t', 'start'), param('int32_t', 'end')])
878 ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::Add(ns3::ByteTagList const & o) [member function]
879 cls.add_method('Add',
880 'void',
881 [param('ns3::ByteTagList const &', 'o')])
882 ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::AddAtEnd(int32_t adjustment, int32_t appendOffset) [member function]
883 cls.add_method('AddAtEnd',
884 'void',
885 [param('int32_t', 'adjustment'), param('int32_t', 'appendOffset')])
886 ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::AddAtStart(int32_t adjustment, int32_t prependOffset) [member function]
887 cls.add_method('AddAtStart',
888 'void',
889 [param('int32_t', 'adjustment'), param('int32_t', 'prependOffset')])
890 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator ns3::ByteTagList::Begin(int32_t offsetStart, int32_t offsetEnd) const [member function]
891 cls.add_method('Begin',
892 'ns3::ByteTagList::Iterator',
893 [param('int32_t', 'offsetStart'), param('int32_t', 'offsetEnd')],
894 is_const=True)
895 ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::RemoveAll() [member function]
896 cls.add_method('RemoveAll',
897 'void',
898 [])
899 return
900
901def register_Ns3ByteTagListIterator_methods(root_module, cls):
902 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Iterator(ns3::ByteTagList::Iterator const & arg0) [copy constructor]
903 cls.add_constructor([param('ns3::ByteTagList::Iterator const &', 'arg0')])
904 ## byte-tag-list.h (module 'network'): uint32_t ns3::ByteTagList::Iterator::GetOffsetStart() const [member function]
905 cls.add_method('GetOffsetStart',
906 'uint32_t',
907 [],
908 is_const=True)
909 ## byte-tag-list.h (module 'network'): bool ns3::ByteTagList::Iterator::HasNext() const [member function]
910 cls.add_method('HasNext',
911 'bool',
912 [],
913 is_const=True)
914 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item ns3::ByteTagList::Iterator::Next() [member function]
915 cls.add_method('Next',
916 'ns3::ByteTagList::Iterator::Item',
917 [])
918 return
919
920def register_Ns3ByteTagListIteratorItem_methods(root_module, cls):
921 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::Item(ns3::ByteTagList::Iterator::Item const & arg0) [copy constructor]
922 cls.add_constructor([param('ns3::ByteTagList::Iterator::Item const &', 'arg0')])
923 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::Item(ns3::TagBuffer buf) [constructor]
924 cls.add_constructor([param('ns3::TagBuffer', 'buf')])
925 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::buf [variable]
926 cls.add_instance_attribute('buf', 'ns3::TagBuffer', is_const=False)
927 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::end [variable]
928 cls.add_instance_attribute('end', 'int32_t', is_const=False)
929 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::size [variable]
930 cls.add_instance_attribute('size', 'uint32_t', is_const=False)
931 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::start [variable]
932 cls.add_instance_attribute('start', 'int32_t', is_const=False)
933 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::tid [variable]
934 cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
935 return
936
937def register_Ns3CallbackBase_methods(root_module, cls):
938 ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase(ns3::CallbackBase const & arg0) [copy constructor]
939 cls.add_constructor([param('ns3::CallbackBase const &', 'arg0')])
940 ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase() [constructor]
941 cls.add_constructor([])
942 ## callback.h (module 'core'): ns3::Ptr<ns3::CallbackImplBase> ns3::CallbackBase::GetImpl() const [member function]
943 cls.add_method('GetImpl',
944 'ns3::Ptr< ns3::CallbackImplBase >',
945 [],
946 is_const=True)
947 ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase(ns3::Ptr<ns3::CallbackImplBase> impl) [constructor]
948 cls.add_constructor([param('ns3::Ptr< ns3::CallbackImplBase >', 'impl')],
949 visibility='protected')
950 ## callback.h (module 'core'): static std::string ns3::CallbackBase::Demangle(std::string const & mangled) [member function]
951 cls.add_method('Demangle',
952 'std::string',
953 [param('std::string const &', 'mangled')],
954 is_static=True, visibility='protected')
955 return
956
Alexander Afanasyev4975f732011-12-20 17:52:19 -0800957def register_Ns3CcnxAppHelper_methods(root_module, cls):
958 ## ccnx-app-helper.h (module 'NDNabstraction'): ns3::CcnxAppHelper::CcnxAppHelper(ns3::CcnxAppHelper const & arg0) [copy constructor]
959 cls.add_constructor([param('ns3::CcnxAppHelper const &', 'arg0')])
960 ## ccnx-app-helper.h (module 'NDNabstraction'): ns3::CcnxAppHelper::CcnxAppHelper(std::string const & prefix) [constructor]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800961 cls.add_constructor([param('std::string const &', 'prefix')])
Alexander Afanasyev4975f732011-12-20 17:52:19 -0800962 ## ccnx-app-helper.h (module 'NDNabstraction'): ns3::ApplicationContainer ns3::CcnxAppHelper::Install(ns3::NodeContainer c) [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800963 cls.add_method('Install',
964 'ns3::ApplicationContainer',
965 [param('ns3::NodeContainer', 'c')])
Alexander Afanasyev4975f732011-12-20 17:52:19 -0800966 ## ccnx-app-helper.h (module 'NDNabstraction'): ns3::ApplicationContainer ns3::CcnxAppHelper::Install(ns3::Ptr<ns3::Node> node) [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800967 cls.add_method('Install',
968 'ns3::ApplicationContainer',
969 [param('ns3::Ptr< ns3::Node >', 'node')])
Alexander Afanasyev4975f732011-12-20 17:52:19 -0800970 ## ccnx-app-helper.h (module 'NDNabstraction'): ns3::ApplicationContainer ns3::CcnxAppHelper::Install(std::string nodeName) [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800971 cls.add_method('Install',
972 'ns3::ApplicationContainer',
973 [param('std::string', 'nodeName')])
Alexander Afanasyev4975f732011-12-20 17:52:19 -0800974 ## ccnx-app-helper.h (module 'NDNabstraction'): void ns3::CcnxAppHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800975 cls.add_method('SetAttribute',
976 'void',
977 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
Alexander Afanasyev4975f732011-12-20 17:52:19 -0800978 ## ccnx-app-helper.h (module 'NDNabstraction'): void ns3::CcnxAppHelper::SetPrefix(std::string const & prefix) [member function]
979 cls.add_method('SetPrefix',
980 'void',
981 [param('std::string const &', 'prefix')])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800982 return
983
984def register_Ns3CcnxContentObjectHeaderException_methods(root_module, cls):
985 ## ccnx-content-object-header.h (module 'NDNabstraction'): ns3::CcnxContentObjectHeaderException::CcnxContentObjectHeaderException() [constructor]
986 cls.add_constructor([])
987 ## ccnx-content-object-header.h (module 'NDNabstraction'): ns3::CcnxContentObjectHeaderException::CcnxContentObjectHeaderException(ns3::CcnxContentObjectHeaderException const & arg0) [copy constructor]
988 cls.add_constructor([param('ns3::CcnxContentObjectHeaderException const &', 'arg0')])
989 return
990
Alexander Afanasyev8e2f1122012-04-17 15:01:11 -0700991def register_Ns3CcnxFibEntry_methods(root_module, cls):
992 cls.add_output_stream_operator()
993 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibEntry::CcnxFibEntry(ns3::CcnxFibEntry const & arg0) [copy constructor]
994 cls.add_constructor([param('ns3::CcnxFibEntry const &', 'arg0')])
995 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibEntry::CcnxFibEntry(ns3::Ptr<ns3::CcnxNameComponents const> const & prefix) [constructor]
996 cls.add_constructor([param('ns3::Ptr< ns3::CcnxNameComponents const > const &', 'prefix')])
997 ## ccnx-fib.h (module 'NDNabstraction'): void ns3::CcnxFibEntry::AddOrUpdateRoutingMetric(ns3::Ptr<ns3::CcnxFace> face, int32_t metric) [member function]
998 cls.add_method('AddOrUpdateRoutingMetric',
999 'void',
1000 [param('ns3::Ptr< ns3::CcnxFace >', 'face'), param('int32_t', 'metric')])
1001 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibFaceMetric const & ns3::CcnxFibEntry::FindBestCandidate(uint32_t skip=0) const [member function]
1002 cls.add_method('FindBestCandidate',
1003 'ns3::CcnxFibFaceMetric const &',
1004 [param('uint32_t', 'skip', default_value='0')],
1005 is_const=True)
1006 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxNameComponents const & ns3::CcnxFibEntry::GetPrefix() const [member function]
1007 cls.add_method('GetPrefix',
1008 'ns3::CcnxNameComponents const &',
1009 [],
1010 is_const=True)
1011 ## ccnx-fib.h (module 'NDNabstraction'): void ns3::CcnxFibEntry::Invalidate() [member function]
1012 cls.add_method('Invalidate',
1013 'void',
1014 [])
1015 ## ccnx-fib.h (module 'NDNabstraction'): void ns3::CcnxFibEntry::RemoveFace(ns3::Ptr<ns3::CcnxFace> const & face) [member function]
1016 cls.add_method('RemoveFace',
1017 'void',
1018 [param('ns3::Ptr< ns3::CcnxFace > const &', 'face')])
1019 ## ccnx-fib.h (module 'NDNabstraction'): void ns3::CcnxFibEntry::UpdateFaceRtt(ns3::Ptr<ns3::CcnxFace> face, ns3::Time const & sample) [member function]
1020 cls.add_method('UpdateFaceRtt',
1021 'void',
1022 [param('ns3::Ptr< ns3::CcnxFace >', 'face'), param('ns3::Time const &', 'sample')])
1023 ## ccnx-fib.h (module 'NDNabstraction'): void ns3::CcnxFibEntry::UpdateStatus(ns3::Ptr<ns3::CcnxFace> face, ns3::CcnxFibFaceMetric::Status status) [member function]
1024 cls.add_method('UpdateStatus',
1025 'void',
1026 [param('ns3::Ptr< ns3::CcnxFace >', 'face'), param('ns3::CcnxFibFaceMetric::Status', 'status')])
1027 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibEntry::m_faces [variable]
1028 cls.add_instance_attribute('m_faces', 'boost::multi_index::multi_index_container< ns3::CcnxFibFaceMetric, boost::multi_index::indexed_by< boost::multi_index::ordered_unique< boost::multi_index::tag< ns3::__ccnx_private::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::CcnxFibFaceMetric, ns3::Ptr< ns3::CcnxFace >, & ( ns3::CcnxFibFaceMetric::m_face ) >, mpl_::na >, boost::multi_index::ordered_non_unique< boost::multi_index::tag< ns3::__ccnx_private::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::CcnxFibFaceMetric, boost::multi_index::member< ns3::CcnxFibFaceMetric, ns3::CcnxFibFaceMetric::Status, & ( ns3::CcnxFibFaceMetric::m_status ) >, boost::multi_index::member< ns3::CcnxFibFaceMetric, int, & ( ns3::CcnxFibFaceMetric::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::__ccnx_private::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::CcnxFibFaceMetric > >', is_const=False)
1029 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibEntry::m_needsProbing [variable]
1030 cls.add_instance_attribute('m_needsProbing', 'bool', is_const=False)
1031 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibEntry::m_prefix [variable]
1032 cls.add_instance_attribute('m_prefix', 'ns3::Ptr< ns3::CcnxNameComponents const >', is_const=False)
1033 return
1034
1035def register_Ns3CcnxFibEntryNoFaces_methods(root_module, cls):
1036 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibEntry::NoFaces::NoFaces() [constructor]
1037 cls.add_constructor([])
1038 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibEntry::NoFaces::NoFaces(ns3::CcnxFibEntry::NoFaces const & arg0) [copy constructor]
1039 cls.add_constructor([param('ns3::CcnxFibEntry::NoFaces const &', 'arg0')])
1040 return
1041
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001042def register_Ns3CcnxFibEntryContainer_methods(root_module, cls):
1043 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibEntryContainer::CcnxFibEntryContainer() [constructor]
1044 cls.add_constructor([])
1045 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibEntryContainer::CcnxFibEntryContainer(ns3::CcnxFibEntryContainer const & arg0) [copy constructor]
1046 cls.add_constructor([param('ns3::CcnxFibEntryContainer const &', 'arg0')])
1047 return
1048
1049def register_Ns3CcnxFibFaceMetric_methods(root_module, cls):
1050 cls.add_output_stream_operator()
1051 cls.add_binary_comparison_operator('<')
1052 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibFaceMetric::CcnxFibFaceMetric(ns3::CcnxFibFaceMetric const & arg0) [copy constructor]
1053 cls.add_constructor([param('ns3::CcnxFibFaceMetric const &', 'arg0')])
Alexander Afanasyev03d92e42012-02-01 21:06:53 -08001054 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibFaceMetric::CcnxFibFaceMetric(ns3::Ptr<ns3::CcnxFace> face, int32_t cost) [constructor]
1055 cls.add_constructor([param('ns3::Ptr< ns3::CcnxFace >', 'face'), param('int32_t', 'cost')])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001056 ## ccnx-fib.h (module 'NDNabstraction'): ns3::Ptr<ns3::CcnxFace> ns3::CcnxFibFaceMetric::GetFace() const [member function]
1057 cls.add_method('GetFace',
1058 'ns3::Ptr< ns3::CcnxFace >',
1059 [],
1060 is_const=True)
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08001061 ## ccnx-fib.h (module 'NDNabstraction'): void ns3::CcnxFibFaceMetric::UpdateRtt(ns3::Time const & rttSample) [member function]
1062 cls.add_method('UpdateRtt',
1063 'void',
1064 [param('ns3::Time const &', 'rttSample')])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001065 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibFaceMetric::m_face [variable]
1066 cls.add_instance_attribute('m_face', 'ns3::Ptr< ns3::CcnxFace >', is_const=False)
1067 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibFaceMetric::m_routingCost [variable]
1068 cls.add_instance_attribute('m_routingCost', 'int32_t', is_const=False)
1069 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibFaceMetric::m_rttVar [variable]
1070 cls.add_instance_attribute('m_rttVar', 'ns3::Time', is_const=False)
1071 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibFaceMetric::m_sRtt [variable]
1072 cls.add_instance_attribute('m_sRtt', 'ns3::Time', is_const=False)
1073 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibFaceMetric::m_status [variable]
1074 cls.add_instance_attribute('m_status', 'ns3::CcnxFibFaceMetric::Status', is_const=False)
1075 return
1076
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001077def register_Ns3CcnxFibFaceMetricContainer_methods(root_module, cls):
1078 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibFaceMetricContainer::CcnxFibFaceMetricContainer() [constructor]
1079 cls.add_constructor([])
1080 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibFaceMetricContainer::CcnxFibFaceMetricContainer(ns3::CcnxFibFaceMetricContainer const & arg0) [copy constructor]
1081 cls.add_constructor([param('ns3::CcnxFibFaceMetricContainer const &', 'arg0')])
1082 return
1083
Alexander Afanasyev8e2f1122012-04-17 15:01:11 -07001084def register_Ns3CcnxGlobalRoutingHelper_methods(root_module, cls):
1085 ## ccnx-global-routing-helper.h (module 'NDNabstraction'): ns3::CcnxGlobalRoutingHelper::CcnxGlobalRoutingHelper() [constructor]
1086 cls.add_constructor([])
1087 ## ccnx-global-routing-helper.h (module 'NDNabstraction'): ns3::CcnxGlobalRoutingHelper::CcnxGlobalRoutingHelper(ns3::CcnxGlobalRoutingHelper const & arg0) [copy constructor]
1088 cls.add_constructor([param('ns3::CcnxGlobalRoutingHelper const &', 'arg0')])
1089 ## ccnx-global-routing-helper.h (module 'NDNabstraction'): void ns3::CcnxGlobalRoutingHelper::AddOrigin(std::string const & prefix, ns3::Ptr<ns3::Node> node) [member function]
1090 cls.add_method('AddOrigin',
1091 'void',
1092 [param('std::string const &', 'prefix'), param('ns3::Ptr< ns3::Node >', 'node')])
1093 ## ccnx-global-routing-helper.h (module 'NDNabstraction'): void ns3::CcnxGlobalRoutingHelper::AddOrigin(std::string const & prefix, std::string const & nodeName) [member function]
1094 cls.add_method('AddOrigin',
1095 'void',
1096 [param('std::string const &', 'prefix'), param('std::string const &', 'nodeName')])
Alexander Afanasyev06d3a612012-04-17 22:25:40 -07001097 ## ccnx-global-routing-helper.h (module 'NDNabstraction'): void ns3::CcnxGlobalRoutingHelper::AddOrigins(std::string const & prefix, ns3::NodeContainer const & nodes) [member function]
1098 cls.add_method('AddOrigins',
1099 'void',
1100 [param('std::string const &', 'prefix'), param('ns3::NodeContainer const &', 'nodes')])
Alexander Afanasyev8e2f1122012-04-17 15:01:11 -07001101 ## ccnx-global-routing-helper.h (module 'NDNabstraction'): void ns3::CcnxGlobalRoutingHelper::CalculateRoutes() [member function]
1102 cls.add_method('CalculateRoutes',
1103 'void',
1104 [])
1105 ## ccnx-global-routing-helper.h (module 'NDNabstraction'): void ns3::CcnxGlobalRoutingHelper::Install(ns3::Ptr<ns3::Node> node) [member function]
1106 cls.add_method('Install',
1107 'void',
1108 [param('ns3::Ptr< ns3::Node >', 'node')])
Alexander Afanasyevce810142012-04-17 15:50:36 -07001109 ## ccnx-global-routing-helper.h (module 'NDNabstraction'): void ns3::CcnxGlobalRoutingHelper::Install(ns3::NodeContainer const & nodes) [member function]
Alexander Afanasyev8e2f1122012-04-17 15:01:11 -07001110 cls.add_method('Install',
1111 'void',
Alexander Afanasyevce810142012-04-17 15:50:36 -07001112 [param('ns3::NodeContainer const &', 'nodes')])
1113 ## ccnx-global-routing-helper.h (module 'NDNabstraction'): void ns3::CcnxGlobalRoutingHelper::InstallAll() [member function]
1114 cls.add_method('InstallAll',
1115 'void',
1116 [])
Alexander Afanasyev8e2f1122012-04-17 15:01:11 -07001117 return
1118
Alexander Afanasyev53872ce2011-12-16 13:17:18 -08001119def register_Ns3CcnxHeaderHelper_methods(root_module, cls):
1120 ## ccnx-header-helper.h (module 'NDNabstraction'): ns3::CcnxHeaderHelper::CcnxHeaderHelper() [constructor]
1121 cls.add_constructor([])
1122 ## ccnx-header-helper.h (module 'NDNabstraction'): ns3::CcnxHeaderHelper::CcnxHeaderHelper(ns3::CcnxHeaderHelper const & arg0) [copy constructor]
1123 cls.add_constructor([param('ns3::CcnxHeaderHelper const &', 'arg0')])
1124 ## ccnx-header-helper.h (module 'NDNabstraction'): static ns3::CcnxHeaderHelper::Type ns3::CcnxHeaderHelper::GetCcnxHeaderType(ns3::Ptr<const ns3::Packet> packet) [member function]
1125 cls.add_method('GetCcnxHeaderType',
1126 'ns3::CcnxHeaderHelper::Type',
1127 [param('ns3::Ptr< ns3::Packet const >', 'packet')],
1128 is_static=True)
1129 return
1130
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001131def register_Ns3CcnxInterestHeaderException_methods(root_module, cls):
1132 ## ccnx-interest-header.h (module 'NDNabstraction'): ns3::CcnxInterestHeaderException::CcnxInterestHeaderException() [constructor]
1133 cls.add_constructor([])
1134 ## ccnx-interest-header.h (module 'NDNabstraction'): ns3::CcnxInterestHeaderException::CcnxInterestHeaderException(ns3::CcnxInterestHeaderException const & arg0) [copy constructor]
1135 cls.add_constructor([param('ns3::CcnxInterestHeaderException const &', 'arg0')])
1136 return
1137
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001138def register_Ns3CcnxPitEntry_methods(root_module, cls):
1139 cls.add_output_stream_operator()
1140 ## ccnx-pit-entry.h (module 'NDNabstraction'): ns3::CcnxPitEntry::CcnxPitEntry(ns3::CcnxPitEntry const & arg0) [copy constructor]
1141 cls.add_constructor([param('ns3::CcnxPitEntry const &', 'arg0')])
1142 ## ccnx-pit-entry.h (module 'NDNabstraction'): ns3::CcnxPitEntry::CcnxPitEntry(ns3::Ptr<ns3::CcnxNameComponents> prefix, ns3::Time const & offsetTime, ns3::CcnxFibEntry const & fibEntry) [constructor]
1143 cls.add_constructor([param('ns3::Ptr< ns3::CcnxNameComponents >', 'prefix'), param('ns3::Time const &', 'offsetTime'), param('ns3::CcnxFibEntry const &', 'fibEntry')])
1144 ## ccnx-pit-entry.h (module 'NDNabstraction'): boost::multi_index::detail::bidir_node_iterator<boost::multi_index::detail::ordered_index_node<boost::multi_index::detail::index_node_base<ns3::CcnxPitEntryIncomingFace, std::allocator<ns3::CcnxPitEntryIncomingFace> > > > ns3::CcnxPitEntry::AddIncoming(ns3::Ptr<ns3::CcnxFace> face) [member function]
1145 cls.add_method('AddIncoming',
1146 'boost::multi_index::detail::bidir_node_iterator< boost::multi_index::detail::ordered_index_node< boost::multi_index::detail::index_node_base< ns3::CcnxPitEntryIncomingFace, std::allocator< ns3::CcnxPitEntryIncomingFace > > > >',
1147 [param('ns3::Ptr< ns3::CcnxFace >', 'face')])
1148 ## ccnx-pit-entry.h (module 'NDNabstraction'): boost::multi_index::detail::bidir_node_iterator<boost::multi_index::detail::ordered_index_node<boost::multi_index::detail::ordered_index_node<boost::multi_index::detail::index_node_base<ns3::CcnxPitEntryOutgoingFace, std::allocator<ns3::CcnxPitEntryOutgoingFace> > > > > ns3::CcnxPitEntry::AddOutgoing(ns3::Ptr<ns3::CcnxFace> face) [member function]
1149 cls.add_method('AddOutgoing',
1150 'boost::multi_index::detail::bidir_node_iterator< boost::multi_index::detail::ordered_index_node< boost::multi_index::detail::ordered_index_node< boost::multi_index::detail::index_node_base< ns3::CcnxPitEntryOutgoingFace, std::allocator< ns3::CcnxPitEntryOutgoingFace > > > > >',
1151 [param('ns3::Ptr< ns3::CcnxFace >', 'face')])
1152 ## ccnx-pit-entry.h (module 'NDNabstraction'): void ns3::CcnxPitEntry::AddSeenNonce(uint32_t nonce) [member function]
1153 cls.add_method('AddSeenNonce',
1154 'void',
1155 [param('uint32_t', 'nonce')])
1156 ## ccnx-pit-entry.h (module 'NDNabstraction'): bool ns3::CcnxPitEntry::AreAllOutgoingInVain() const [member function]
1157 cls.add_method('AreAllOutgoingInVain',
1158 'bool',
1159 [],
1160 is_const=True)
1161 ## ccnx-pit-entry.h (module 'NDNabstraction'): bool ns3::CcnxPitEntry::AreTherePromisingOutgoingFacesExcept(ns3::Ptr<ns3::CcnxFace> face) const [member function]
1162 cls.add_method('AreTherePromisingOutgoingFacesExcept',
1163 'bool',
1164 [param('ns3::Ptr< ns3::CcnxFace >', 'face')],
1165 is_const=True)
1166 ## ccnx-pit-entry.h (module 'NDNabstraction'): void ns3::CcnxPitEntry::ClearIncoming() [member function]
1167 cls.add_method('ClearIncoming',
1168 'void',
1169 [])
1170 ## ccnx-pit-entry.h (module 'NDNabstraction'): void ns3::CcnxPitEntry::ClearOutgoing() [member function]
1171 cls.add_method('ClearOutgoing',
1172 'void',
1173 [])
1174 ## ccnx-pit-entry.h (module 'NDNabstraction'): ns3::Time const & ns3::CcnxPitEntry::GetExpireTime() const [member function]
1175 cls.add_method('GetExpireTime',
1176 'ns3::Time const &',
1177 [],
1178 is_const=True)
1179 ## ccnx-pit-entry.h (module 'NDNabstraction'): ns3::CcnxNameComponents const & ns3::CcnxPitEntry::GetPrefix() const [member function]
1180 cls.add_method('GetPrefix',
1181 'ns3::CcnxNameComponents const &',
1182 [],
1183 is_const=True)
1184 ## ccnx-pit-entry.h (module 'NDNabstraction'): void ns3::CcnxPitEntry::IncreaseAllowedRetxCount() [member function]
1185 cls.add_method('IncreaseAllowedRetxCount',
1186 'void',
1187 [])
1188 ## ccnx-pit-entry.h (module 'NDNabstraction'): bool ns3::CcnxPitEntry::IsNonceSeen(uint32_t nonce) const [member function]
1189 cls.add_method('IsNonceSeen',
1190 'bool',
1191 [param('uint32_t', 'nonce')],
1192 is_const=True)
1193 ## ccnx-pit-entry.h (module 'NDNabstraction'): void ns3::CcnxPitEntry::RemoveAllReferencesToFace(ns3::Ptr<ns3::CcnxFace> face) [member function]
1194 cls.add_method('RemoveAllReferencesToFace',
1195 'void',
1196 [param('ns3::Ptr< ns3::CcnxFace >', 'face')])
1197 ## ccnx-pit-entry.h (module 'NDNabstraction'): void ns3::CcnxPitEntry::RemoveIncoming(ns3::Ptr<ns3::CcnxFace> face) [member function]
1198 cls.add_method('RemoveIncoming',
1199 'void',
1200 [param('ns3::Ptr< ns3::CcnxFace >', 'face')])
1201 ## ccnx-pit-entry.h (module 'NDNabstraction'): void ns3::CcnxPitEntry::SetExpireTime(ns3::Time const & expireTime) [member function]
1202 cls.add_method('SetExpireTime',
1203 'void',
1204 [param('ns3::Time const &', 'expireTime')])
1205 ## ccnx-pit-entry.h (module 'NDNabstraction'): void ns3::CcnxPitEntry::SetWaitingInVain(boost::multi_index::detail::bidir_node_iterator<boost::multi_index::detail::ordered_index_node<boost::multi_index::detail::ordered_index_node<boost::multi_index::detail::index_node_base<ns3::CcnxPitEntryOutgoingFace, std::allocator<ns3::CcnxPitEntryOutgoingFace> > > > > face) [member function]
1206 cls.add_method('SetWaitingInVain',
1207 'void',
1208 [param('boost::multi_index::detail::bidir_node_iterator< boost::multi_index::detail::ordered_index_node< boost::multi_index::detail::ordered_index_node< boost::multi_index::detail::index_node_base< ns3::CcnxPitEntryOutgoingFace, std::allocator< ns3::CcnxPitEntryOutgoingFace > > > > >', 'face')])
1209 ## ccnx-pit-entry.h (module 'NDNabstraction'): void ns3::CcnxPitEntry::UpdateLifetime(ns3::Time const & offsetTime) [member function]
1210 cls.add_method('UpdateLifetime',
1211 'void',
1212 [param('ns3::Time const &', 'offsetTime')])
1213 ## ccnx-pit-entry.h (module 'NDNabstraction'): ns3::CcnxPitEntry::m_expireTime [variable]
1214 cls.add_instance_attribute('m_expireTime', 'ns3::Time', is_const=False)
1215 ## ccnx-pit-entry.h (module 'NDNabstraction'): ns3::CcnxPitEntry::m_fibEntry [variable]
1216 cls.add_instance_attribute('m_fibEntry', 'ns3::CcnxFibEntry const &', is_const=False)
1217 ## ccnx-pit-entry.h (module 'NDNabstraction'): ns3::CcnxPitEntry::m_incoming [variable]
1218 cls.add_instance_attribute('m_incoming', 'boost::multi_index::multi_index_container< ns3::CcnxPitEntryIncomingFace, boost::multi_index::indexed_by< boost::multi_index::ordered_unique< boost::multi_index::tag< ns3::__ccnx_private::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::CcnxPitEntryIncomingFace, ns3::Ptr< ns3::CcnxFace >, & ( ns3::CcnxPitEntryIncomingFace::m_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, mpl_::na >, std::allocator< ns3::CcnxPitEntryIncomingFace > >', is_const=False)
1219 ## ccnx-pit-entry.h (module 'NDNabstraction'): ns3::CcnxPitEntry::m_lastRetransmission [variable]
1220 cls.add_instance_attribute('m_lastRetransmission', 'ns3::Time', is_const=False)
1221 ## ccnx-pit-entry.h (module 'NDNabstraction'): ns3::CcnxPitEntry::m_maxRetxCount [variable]
1222 cls.add_instance_attribute('m_maxRetxCount', 'uint32_t', is_const=False)
1223 ## ccnx-pit-entry.h (module 'NDNabstraction'): ns3::CcnxPitEntry::m_outgoing [variable]
1224 cls.add_instance_attribute('m_outgoing', 'boost::multi_index::multi_index_container< ns3::CcnxPitEntryOutgoingFace, boost::multi_index::indexed_by< boost::multi_index::ordered_unique< boost::multi_index::tag< ns3::__ccnx_private::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::CcnxPitEntryOutgoingFace, ns3::Ptr< ns3::CcnxFace >, & ( ns3::CcnxPitEntryOutgoingFace::m_face ) >, mpl_::na >, boost::multi_index::ordered_non_unique< boost::multi_index::tag< ns3::__ccnx_private::i_retx, 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::CcnxPitEntryOutgoingFace, unsigned int, & ( ns3::CcnxPitEntryOutgoingFace::m_retxCount ) >, 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::CcnxPitEntryOutgoingFace > >', is_const=False)
1225 ## ccnx-pit-entry.h (module 'NDNabstraction'): ns3::CcnxPitEntry::m_prefix [variable]
1226 cls.add_instance_attribute('m_prefix', 'ns3::Ptr< ns3::CcnxNameComponents >', is_const=False)
1227 ## ccnx-pit-entry.h (module 'NDNabstraction'): ns3::CcnxPitEntry::m_seenNonces [variable]
1228 cls.add_instance_attribute('m_seenNonces', 'std::set< unsigned int >', is_const=False)
1229 return
1230
1231def register_Ns3CcnxPitEntryContainer_methods(root_module, cls):
1232 ## ccnx-pit.h (module 'NDNabstraction'): ns3::CcnxPitEntryContainer::CcnxPitEntryContainer() [constructor]
1233 cls.add_constructor([])
1234 ## ccnx-pit.h (module 'NDNabstraction'): ns3::CcnxPitEntryContainer::CcnxPitEntryContainer(ns3::CcnxPitEntryContainer const & arg0) [copy constructor]
1235 cls.add_constructor([param('ns3::CcnxPitEntryContainer const &', 'arg0')])
1236 return
1237
1238def register_Ns3CcnxPitEntryIncomingFace_methods(root_module, cls):
1239 cls.add_binary_comparison_operator('==')
1240 cls.add_binary_comparison_operator('<')
1241 ## ccnx-pit-entry-incoming-face.h (module 'NDNabstraction'): ns3::CcnxPitEntryIncomingFace::CcnxPitEntryIncomingFace(ns3::CcnxPitEntryIncomingFace const & arg0) [copy constructor]
1242 cls.add_constructor([param('ns3::CcnxPitEntryIncomingFace const &', 'arg0')])
1243 ## ccnx-pit-entry-incoming-face.h (module 'NDNabstraction'): ns3::CcnxPitEntryIncomingFace::CcnxPitEntryIncomingFace(ns3::Ptr<ns3::CcnxFace> face) [constructor]
1244 cls.add_constructor([param('ns3::Ptr< ns3::CcnxFace >', 'face')])
1245 ## ccnx-pit-entry-incoming-face.h (module 'NDNabstraction'): ns3::CcnxPitEntryIncomingFace::m_arrivalTime [variable]
1246 cls.add_instance_attribute('m_arrivalTime', 'ns3::Time', is_const=False)
1247 ## ccnx-pit-entry-incoming-face.h (module 'NDNabstraction'): ns3::CcnxPitEntryIncomingFace::m_face [variable]
1248 cls.add_instance_attribute('m_face', 'ns3::Ptr< ns3::CcnxFace >', is_const=False)
1249 return
1250
1251def register_Ns3CcnxPitEntryIncomingFaceContainer_methods(root_module, cls):
1252 ## ccnx-pit-entry.h (module 'NDNabstraction'): ns3::CcnxPitEntryIncomingFaceContainer::CcnxPitEntryIncomingFaceContainer() [constructor]
1253 cls.add_constructor([])
1254 ## ccnx-pit-entry.h (module 'NDNabstraction'): ns3::CcnxPitEntryIncomingFaceContainer::CcnxPitEntryIncomingFaceContainer(ns3::CcnxPitEntryIncomingFaceContainer const & arg0) [copy constructor]
1255 cls.add_constructor([param('ns3::CcnxPitEntryIncomingFaceContainer const &', 'arg0')])
1256 return
1257
1258def register_Ns3CcnxPitEntryNotFound_methods(root_module, cls):
1259 ## ccnx-pit.h (module 'NDNabstraction'): ns3::CcnxPitEntryNotFound::CcnxPitEntryNotFound() [constructor]
1260 cls.add_constructor([])
1261 ## ccnx-pit.h (module 'NDNabstraction'): ns3::CcnxPitEntryNotFound::CcnxPitEntryNotFound(ns3::CcnxPitEntryNotFound const & arg0) [copy constructor]
1262 cls.add_constructor([param('ns3::CcnxPitEntryNotFound const &', 'arg0')])
1263 return
1264
1265def register_Ns3CcnxPitEntryOutgoingFace_methods(root_module, cls):
1266 cls.add_binary_comparison_operator('==')
1267 cls.add_binary_comparison_operator('<')
1268 ## ccnx-pit-entry-outgoing-face.h (module 'NDNabstraction'): ns3::CcnxPitEntryOutgoingFace::CcnxPitEntryOutgoingFace(ns3::CcnxPitEntryOutgoingFace const & arg0) [copy constructor]
1269 cls.add_constructor([param('ns3::CcnxPitEntryOutgoingFace const &', 'arg0')])
1270 ## ccnx-pit-entry-outgoing-face.h (module 'NDNabstraction'): ns3::CcnxPitEntryOutgoingFace::CcnxPitEntryOutgoingFace(ns3::Ptr<ns3::CcnxFace> face) [constructor]
1271 cls.add_constructor([param('ns3::Ptr< ns3::CcnxFace >', 'face')])
1272 ## ccnx-pit-entry-outgoing-face.h (module 'NDNabstraction'): void ns3::CcnxPitEntryOutgoingFace::UpdateOnRetransmit() [member function]
1273 cls.add_method('UpdateOnRetransmit',
1274 'void',
1275 [])
1276 ## ccnx-pit-entry-outgoing-face.h (module 'NDNabstraction'): ns3::CcnxPitEntryOutgoingFace::m_face [variable]
1277 cls.add_instance_attribute('m_face', 'ns3::Ptr< ns3::CcnxFace >', is_const=False)
1278 ## ccnx-pit-entry-outgoing-face.h (module 'NDNabstraction'): ns3::CcnxPitEntryOutgoingFace::m_retxCount [variable]
1279 cls.add_instance_attribute('m_retxCount', 'uint32_t', is_const=False)
1280 ## ccnx-pit-entry-outgoing-face.h (module 'NDNabstraction'): ns3::CcnxPitEntryOutgoingFace::m_sendTime [variable]
1281 cls.add_instance_attribute('m_sendTime', 'ns3::Time', is_const=False)
1282 ## ccnx-pit-entry-outgoing-face.h (module 'NDNabstraction'): ns3::CcnxPitEntryOutgoingFace::m_waitingInVain [variable]
1283 cls.add_instance_attribute('m_waitingInVain', 'bool', is_const=False)
1284 return
1285
1286def register_Ns3CcnxPitEntryOutgoingFaceContainer_methods(root_module, cls):
1287 ## ccnx-pit-entry.h (module 'NDNabstraction'): ns3::CcnxPitEntryOutgoingFaceContainer::CcnxPitEntryOutgoingFaceContainer() [constructor]
1288 cls.add_constructor([])
1289 ## ccnx-pit-entry.h (module 'NDNabstraction'): ns3::CcnxPitEntryOutgoingFaceContainer::CcnxPitEntryOutgoingFaceContainer(ns3::CcnxPitEntryOutgoingFaceContainer const & arg0) [copy constructor]
1290 cls.add_constructor([param('ns3::CcnxPitEntryOutgoingFaceContainer const &', 'arg0')])
1291 return
1292
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08001293def register_Ns3CcnxStackHelper_methods(root_module, cls):
1294 ## ccnx-stack-helper.h (module 'NDNabstraction'): ns3::CcnxStackHelper::CcnxStackHelper() [constructor]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001295 cls.add_constructor([])
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08001296 ## ccnx-stack-helper.h (module 'NDNabstraction'): void ns3::CcnxStackHelper::SetForwardingStrategy(std::string forwardingStrategy) [member function]
1297 cls.add_method('SetForwardingStrategy',
1298 'void',
1299 [param('std::string', 'forwardingStrategy')])
1300 ## ccnx-stack-helper.h (module 'NDNabstraction'): void ns3::CcnxStackHelper::EnableLimits(bool enable=true, ns3::Time avgRtt=ns3::Seconds( ), uint32_t avgContentObject=1100, uint32_t avgInterest=40) [member function]
1301 cls.add_method('EnableLimits',
1302 'void',
1303 [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')])
1304 ## ccnx-stack-helper.h (module 'NDNabstraction'): ns3::Ptr<ns3::CcnxFaceContainer> ns3::CcnxStackHelper::Install(std::string nodeName) const [member function]
1305 cls.add_method('Install',
1306 'ns3::Ptr< ns3::CcnxFaceContainer >',
1307 [param('std::string', 'nodeName')],
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001308 is_const=True)
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08001309 ## ccnx-stack-helper.h (module 'NDNabstraction'): ns3::Ptr<ns3::CcnxFaceContainer> ns3::CcnxStackHelper::Install(ns3::Ptr<ns3::Node> node) const [member function]
1310 cls.add_method('Install',
1311 'ns3::Ptr< ns3::CcnxFaceContainer >',
1312 [param('ns3::Ptr< ns3::Node >', 'node')],
1313 is_const=True)
1314 ## ccnx-stack-helper.h (module 'NDNabstraction'): ns3::Ptr<ns3::CcnxFaceContainer> ns3::CcnxStackHelper::Install(ns3::NodeContainer c) const [member function]
1315 cls.add_method('Install',
1316 'ns3::Ptr< ns3::CcnxFaceContainer >',
1317 [param('ns3::NodeContainer', 'c')],
1318 is_const=True)
1319 ## ccnx-stack-helper.h (module 'NDNabstraction'): ns3::Ptr<ns3::CcnxFaceContainer> ns3::CcnxStackHelper::InstallAll() const [member function]
1320 cls.add_method('InstallAll',
1321 'ns3::Ptr< ns3::CcnxFaceContainer >',
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001322 [],
1323 is_const=True)
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08001324 ## ccnx-stack-helper.h (module 'NDNabstraction'): static void ns3::CcnxStackHelper::AddRoute(std::string nodeName, std::string prefix, uint32_t faceId, int32_t metric) [member function]
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08001325 cls.add_method('AddRoute',
1326 'void',
1327 [param('std::string', 'nodeName'), param('std::string', 'prefix'), param('uint32_t', 'faceId'), param('int32_t', 'metric')],
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08001328 is_static=True)
1329 ## ccnx-stack-helper.h (module 'NDNabstraction'): static void ns3::CcnxStackHelper::AddRoute(ns3::Ptr<ns3::Node> node, std::string prefix, ns3::Ptr<ns3::CcnxFace> face, int32_t metric) [member function]
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08001330 cls.add_method('AddRoute',
1331 'void',
1332 [param('ns3::Ptr< ns3::Node >', 'node'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::CcnxFace >', 'face'), param('int32_t', 'metric')],
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08001333 is_static=True)
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08001334 ## ccnx-stack-helper.h (module 'NDNabstraction'): void ns3::CcnxStackHelper::SetDefaultRoutes(bool needSet) [member function]
1335 cls.add_method('SetDefaultRoutes',
1336 'void',
1337 [param('bool', 'needSet')])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001338 return
1339
Alexander Afanasyev53872ce2011-12-16 13:17:18 -08001340def register_Ns3CcnxUnknownHeaderException_methods(root_module, cls):
1341 ## ccnx-header-helper.h (module 'NDNabstraction'): ns3::CcnxUnknownHeaderException::CcnxUnknownHeaderException() [constructor]
1342 cls.add_constructor([])
1343 ## ccnx-header-helper.h (module 'NDNabstraction'): ns3::CcnxUnknownHeaderException::CcnxUnknownHeaderException(ns3::CcnxUnknownHeaderException const & arg0) [copy constructor]
1344 cls.add_constructor([param('ns3::CcnxUnknownHeaderException const &', 'arg0')])
1345 return
1346
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001347def register_Ns3EventId_methods(root_module, cls):
1348 cls.add_binary_comparison_operator('!=')
1349 cls.add_binary_comparison_operator('==')
1350 ## event-id.h (module 'core'): ns3::EventId::EventId(ns3::EventId const & arg0) [copy constructor]
1351 cls.add_constructor([param('ns3::EventId const &', 'arg0')])
1352 ## event-id.h (module 'core'): ns3::EventId::EventId() [constructor]
1353 cls.add_constructor([])
1354 ## event-id.h (module 'core'): ns3::EventId::EventId(ns3::Ptr<ns3::EventImpl> const & impl, uint64_t ts, uint32_t context, uint32_t uid) [constructor]
1355 cls.add_constructor([param('ns3::Ptr< ns3::EventImpl > const &', 'impl'), param('uint64_t', 'ts'), param('uint32_t', 'context'), param('uint32_t', 'uid')])
1356 ## event-id.h (module 'core'): void ns3::EventId::Cancel() [member function]
1357 cls.add_method('Cancel',
1358 'void',
1359 [])
1360 ## event-id.h (module 'core'): uint32_t ns3::EventId::GetContext() const [member function]
1361 cls.add_method('GetContext',
1362 'uint32_t',
1363 [],
1364 is_const=True)
1365 ## event-id.h (module 'core'): uint64_t ns3::EventId::GetTs() const [member function]
1366 cls.add_method('GetTs',
1367 'uint64_t',
1368 [],
1369 is_const=True)
1370 ## event-id.h (module 'core'): uint32_t ns3::EventId::GetUid() const [member function]
1371 cls.add_method('GetUid',
1372 'uint32_t',
1373 [],
1374 is_const=True)
1375 ## event-id.h (module 'core'): bool ns3::EventId::IsExpired() const [member function]
1376 cls.add_method('IsExpired',
1377 'bool',
1378 [],
1379 is_const=True)
1380 ## event-id.h (module 'core'): bool ns3::EventId::IsRunning() const [member function]
1381 cls.add_method('IsRunning',
1382 'bool',
1383 [],
1384 is_const=True)
1385 ## event-id.h (module 'core'): ns3::EventImpl * ns3::EventId::PeekEventImpl() const [member function]
1386 cls.add_method('PeekEventImpl',
1387 'ns3::EventImpl *',
1388 [],
1389 is_const=True)
1390 return
1391
1392def register_Ns3Ipv4Address_methods(root_module, cls):
1393 cls.add_binary_comparison_operator('!=')
1394 cls.add_output_stream_operator()
1395 cls.add_binary_comparison_operator('==')
1396 cls.add_binary_comparison_operator('<')
1397 ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address(ns3::Ipv4Address const & arg0) [copy constructor]
1398 cls.add_constructor([param('ns3::Ipv4Address const &', 'arg0')])
1399 ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address() [constructor]
1400 cls.add_constructor([])
1401 ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address(uint32_t address) [constructor]
1402 cls.add_constructor([param('uint32_t', 'address')])
1403 ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address(char const * address) [constructor]
1404 cls.add_constructor([param('char const *', 'address')])
1405 ## ipv4-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv4Address::CombineMask(ns3::Ipv4Mask const & mask) const [member function]
1406 cls.add_method('CombineMask',
1407 'ns3::Ipv4Address',
1408 [param('ns3::Ipv4Mask const &', 'mask')],
1409 is_const=True)
1410 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::ConvertFrom(ns3::Address const & address) [member function]
1411 cls.add_method('ConvertFrom',
1412 'ns3::Ipv4Address',
1413 [param('ns3::Address const &', 'address')],
1414 is_static=True)
1415 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::Deserialize(uint8_t const * buf) [member function]
1416 cls.add_method('Deserialize',
1417 'ns3::Ipv4Address',
1418 [param('uint8_t const *', 'buf')],
1419 is_static=True)
Alexander Afanasyevce810142012-04-17 15:50:36 -07001420 ## ipv4-address.h (module 'network'): uint32_t ns3::Ipv4Address::Get() const [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001421 cls.add_method('Get',
Alexander Afanasyevce810142012-04-17 15:50:36 -07001422 'uint32_t',
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001423 [],
1424 is_const=True)
1425 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetAny() [member function]
1426 cls.add_method('GetAny',
1427 'ns3::Ipv4Address',
1428 [],
1429 is_static=True)
1430 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetBroadcast() [member function]
1431 cls.add_method('GetBroadcast',
1432 'ns3::Ipv4Address',
1433 [],
1434 is_static=True)
1435 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetLoopback() [member function]
1436 cls.add_method('GetLoopback',
1437 'ns3::Ipv4Address',
1438 [],
1439 is_static=True)
1440 ## ipv4-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv4Address::GetSubnetDirectedBroadcast(ns3::Ipv4Mask const & mask) const [member function]
1441 cls.add_method('GetSubnetDirectedBroadcast',
1442 'ns3::Ipv4Address',
1443 [param('ns3::Ipv4Mask const &', 'mask')],
1444 is_const=True)
1445 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetZero() [member function]
1446 cls.add_method('GetZero',
1447 'ns3::Ipv4Address',
1448 [],
1449 is_static=True)
1450 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsBroadcast() const [member function]
1451 cls.add_method('IsBroadcast',
1452 'bool',
1453 [],
1454 is_const=True)
1455 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsEqual(ns3::Ipv4Address const & other) const [member function]
1456 cls.add_method('IsEqual',
1457 'bool',
1458 [param('ns3::Ipv4Address const &', 'other')],
1459 is_const=True)
1460 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsLocalMulticast() const [member function]
1461 cls.add_method('IsLocalMulticast',
1462 'bool',
1463 [],
1464 is_const=True)
1465 ## ipv4-address.h (module 'network'): static bool ns3::Ipv4Address::IsMatchingType(ns3::Address const & address) [member function]
1466 cls.add_method('IsMatchingType',
1467 'bool',
1468 [param('ns3::Address const &', 'address')],
1469 is_static=True)
1470 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsMulticast() const [member function]
1471 cls.add_method('IsMulticast',
1472 'bool',
1473 [],
1474 is_const=True)
1475 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsSubnetDirectedBroadcast(ns3::Ipv4Mask const & mask) const [member function]
1476 cls.add_method('IsSubnetDirectedBroadcast',
1477 'bool',
1478 [param('ns3::Ipv4Mask const &', 'mask')],
1479 is_const=True)
1480 ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Print(std::ostream & os) const [member function]
1481 cls.add_method('Print',
1482 'void',
1483 [param('std::ostream &', 'os')],
1484 is_const=True)
1485 ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Serialize(uint8_t * buf) const [member function]
1486 cls.add_method('Serialize',
1487 'void',
1488 [param('uint8_t *', 'buf')],
1489 is_const=True)
1490 ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Set(uint32_t address) [member function]
1491 cls.add_method('Set',
1492 'void',
1493 [param('uint32_t', 'address')])
1494 ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Set(char const * address) [member function]
1495 cls.add_method('Set',
1496 'void',
1497 [param('char const *', 'address')])
1498 return
1499
1500def register_Ns3Ipv4Mask_methods(root_module, cls):
1501 cls.add_binary_comparison_operator('!=')
1502 cls.add_output_stream_operator()
1503 cls.add_binary_comparison_operator('==')
1504 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask(ns3::Ipv4Mask const & arg0) [copy constructor]
1505 cls.add_constructor([param('ns3::Ipv4Mask const &', 'arg0')])
1506 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask() [constructor]
1507 cls.add_constructor([])
1508 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask(uint32_t mask) [constructor]
1509 cls.add_constructor([param('uint32_t', 'mask')])
1510 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask(char const * mask) [constructor]
1511 cls.add_constructor([param('char const *', 'mask')])
1512 ## ipv4-address.h (module 'network'): uint32_t ns3::Ipv4Mask::Get() const [member function]
1513 cls.add_method('Get',
1514 'uint32_t',
1515 [],
1516 is_const=True)
1517 ## ipv4-address.h (module 'network'): uint32_t ns3::Ipv4Mask::GetInverse() const [member function]
1518 cls.add_method('GetInverse',
1519 'uint32_t',
1520 [],
1521 is_const=True)
1522 ## ipv4-address.h (module 'network'): static ns3::Ipv4Mask ns3::Ipv4Mask::GetLoopback() [member function]
1523 cls.add_method('GetLoopback',
1524 'ns3::Ipv4Mask',
1525 [],
1526 is_static=True)
1527 ## ipv4-address.h (module 'network'): static ns3::Ipv4Mask ns3::Ipv4Mask::GetOnes() [member function]
1528 cls.add_method('GetOnes',
1529 'ns3::Ipv4Mask',
1530 [],
1531 is_static=True)
1532 ## ipv4-address.h (module 'network'): uint16_t ns3::Ipv4Mask::GetPrefixLength() const [member function]
1533 cls.add_method('GetPrefixLength',
1534 'uint16_t',
1535 [],
1536 is_const=True)
1537 ## ipv4-address.h (module 'network'): static ns3::Ipv4Mask ns3::Ipv4Mask::GetZero() [member function]
1538 cls.add_method('GetZero',
1539 'ns3::Ipv4Mask',
1540 [],
1541 is_static=True)
1542 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Mask::IsEqual(ns3::Ipv4Mask other) const [member function]
1543 cls.add_method('IsEqual',
1544 'bool',
1545 [param('ns3::Ipv4Mask', 'other')],
1546 is_const=True)
1547 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Mask::IsMatch(ns3::Ipv4Address a, ns3::Ipv4Address b) const [member function]
1548 cls.add_method('IsMatch',
1549 'bool',
1550 [param('ns3::Ipv4Address', 'a'), param('ns3::Ipv4Address', 'b')],
1551 is_const=True)
1552 ## ipv4-address.h (module 'network'): void ns3::Ipv4Mask::Print(std::ostream & os) const [member function]
1553 cls.add_method('Print',
1554 'void',
1555 [param('std::ostream &', 'os')],
1556 is_const=True)
1557 ## ipv4-address.h (module 'network'): void ns3::Ipv4Mask::Set(uint32_t mask) [member function]
1558 cls.add_method('Set',
1559 'void',
1560 [param('uint32_t', 'mask')])
1561 return
1562
1563def register_Ns3Ipv6Address_methods(root_module, cls):
1564 cls.add_binary_comparison_operator('!=')
1565 cls.add_output_stream_operator()
1566 cls.add_binary_comparison_operator('==')
1567 cls.add_binary_comparison_operator('<')
1568 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address() [constructor]
1569 cls.add_constructor([])
1570 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(char const * address) [constructor]
1571 cls.add_constructor([param('char const *', 'address')])
1572 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(uint8_t * address) [constructor]
1573 cls.add_constructor([param('uint8_t *', 'address')])
1574 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(ns3::Ipv6Address const & addr) [copy constructor]
1575 cls.add_constructor([param('ns3::Ipv6Address const &', 'addr')])
1576 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(ns3::Ipv6Address const * addr) [constructor]
1577 cls.add_constructor([param('ns3::Ipv6Address const *', 'addr')])
1578 ## ipv6-address.h (module 'network'): ns3::Ipv6Address ns3::Ipv6Address::CombinePrefix(ns3::Ipv6Prefix const & prefix) [member function]
1579 cls.add_method('CombinePrefix',
1580 'ns3::Ipv6Address',
1581 [param('ns3::Ipv6Prefix const &', 'prefix')])
1582 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::ConvertFrom(ns3::Address const & address) [member function]
1583 cls.add_method('ConvertFrom',
1584 'ns3::Ipv6Address',
1585 [param('ns3::Address const &', 'address')],
1586 is_static=True)
1587 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::Deserialize(uint8_t const * buf) [member function]
1588 cls.add_method('Deserialize',
1589 'ns3::Ipv6Address',
1590 [param('uint8_t const *', 'buf')],
1591 is_static=True)
1592 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAllHostsMulticast() [member function]
1593 cls.add_method('GetAllHostsMulticast',
1594 'ns3::Ipv6Address',
1595 [],
1596 is_static=True)
1597 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAllNodesMulticast() [member function]
1598 cls.add_method('GetAllNodesMulticast',
1599 'ns3::Ipv6Address',
1600 [],
1601 is_static=True)
1602 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAllRoutersMulticast() [member function]
1603 cls.add_method('GetAllRoutersMulticast',
1604 'ns3::Ipv6Address',
1605 [],
1606 is_static=True)
1607 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAny() [member function]
1608 cls.add_method('GetAny',
1609 'ns3::Ipv6Address',
1610 [],
1611 is_static=True)
1612 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::GetBytes(uint8_t * buf) const [member function]
1613 cls.add_method('GetBytes',
1614 'void',
1615 [param('uint8_t *', 'buf')],
1616 is_const=True)
Alexander Afanasyev6f933532012-02-29 13:30:37 -08001617 ## ipv6-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv6Address::GetIpv4MappedAddress() const [member function]
1618 cls.add_method('GetIpv4MappedAddress',
1619 'ns3::Ipv4Address',
1620 [],
1621 is_const=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001622 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetLoopback() [member function]
1623 cls.add_method('GetLoopback',
1624 'ns3::Ipv6Address',
1625 [],
1626 is_static=True)
1627 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetOnes() [member function]
1628 cls.add_method('GetOnes',
1629 'ns3::Ipv6Address',
1630 [],
1631 is_static=True)
1632 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetZero() [member function]
1633 cls.add_method('GetZero',
1634 'ns3::Ipv6Address',
1635 [],
1636 is_static=True)
1637 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAllHostsMulticast() const [member function]
1638 cls.add_method('IsAllHostsMulticast',
1639 'bool',
1640 [],
1641 is_const=True)
1642 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAllNodesMulticast() const [member function]
1643 cls.add_method('IsAllNodesMulticast',
1644 'bool',
1645 [],
1646 is_const=True)
1647 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAllRoutersMulticast() const [member function]
1648 cls.add_method('IsAllRoutersMulticast',
1649 'bool',
1650 [],
1651 is_const=True)
1652 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAny() const [member function]
1653 cls.add_method('IsAny',
1654 'bool',
1655 [],
1656 is_const=True)
1657 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsEqual(ns3::Ipv6Address const & other) const [member function]
1658 cls.add_method('IsEqual',
1659 'bool',
1660 [param('ns3::Ipv6Address const &', 'other')],
1661 is_const=True)
Alexander Afanasyev6f933532012-02-29 13:30:37 -08001662 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsIpv4MappedAddress() [member function]
1663 cls.add_method('IsIpv4MappedAddress',
1664 'bool',
1665 [])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001666 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsLinkLocal() const [member function]
1667 cls.add_method('IsLinkLocal',
1668 'bool',
1669 [],
1670 is_const=True)
Alexander Afanasyev6f933532012-02-29 13:30:37 -08001671 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsLinkLocalMulticast() const [member function]
1672 cls.add_method('IsLinkLocalMulticast',
1673 'bool',
1674 [],
1675 is_const=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001676 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsLocalhost() const [member function]
1677 cls.add_method('IsLocalhost',
1678 'bool',
1679 [],
1680 is_const=True)
1681 ## ipv6-address.h (module 'network'): static bool ns3::Ipv6Address::IsMatchingType(ns3::Address const & address) [member function]
1682 cls.add_method('IsMatchingType',
1683 'bool',
1684 [param('ns3::Address const &', 'address')],
1685 is_static=True)
1686 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsMulticast() const [member function]
1687 cls.add_method('IsMulticast',
1688 'bool',
1689 [],
1690 is_const=True)
1691 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsSolicitedMulticast() const [member function]
1692 cls.add_method('IsSolicitedMulticast',
1693 'bool',
1694 [],
1695 is_const=True)
1696 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeAutoconfiguredAddress(ns3::Mac48Address addr, ns3::Ipv6Address prefix) [member function]
1697 cls.add_method('MakeAutoconfiguredAddress',
1698 'ns3::Ipv6Address',
1699 [param('ns3::Mac48Address', 'addr'), param('ns3::Ipv6Address', 'prefix')],
1700 is_static=True)
1701 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeAutoconfiguredLinkLocalAddress(ns3::Mac48Address mac) [member function]
1702 cls.add_method('MakeAutoconfiguredLinkLocalAddress',
1703 'ns3::Ipv6Address',
1704 [param('ns3::Mac48Address', 'mac')],
1705 is_static=True)
Alexander Afanasyev6f933532012-02-29 13:30:37 -08001706 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeIpv4MappedAddress(ns3::Ipv4Address addr) [member function]
1707 cls.add_method('MakeIpv4MappedAddress',
1708 'ns3::Ipv6Address',
1709 [param('ns3::Ipv4Address', 'addr')],
1710 is_static=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001711 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeSolicitedAddress(ns3::Ipv6Address addr) [member function]
1712 cls.add_method('MakeSolicitedAddress',
1713 'ns3::Ipv6Address',
1714 [param('ns3::Ipv6Address', 'addr')],
1715 is_static=True)
1716 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Print(std::ostream & os) const [member function]
1717 cls.add_method('Print',
1718 'void',
1719 [param('std::ostream &', 'os')],
1720 is_const=True)
1721 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Serialize(uint8_t * buf) const [member function]
1722 cls.add_method('Serialize',
1723 'void',
1724 [param('uint8_t *', 'buf')],
1725 is_const=True)
1726 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Set(char const * address) [member function]
1727 cls.add_method('Set',
1728 'void',
1729 [param('char const *', 'address')])
1730 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Set(uint8_t * address) [member function]
1731 cls.add_method('Set',
1732 'void',
1733 [param('uint8_t *', 'address')])
1734 return
1735
1736def register_Ns3Ipv6Prefix_methods(root_module, cls):
1737 cls.add_binary_comparison_operator('!=')
1738 cls.add_output_stream_operator()
1739 cls.add_binary_comparison_operator('==')
1740 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix() [constructor]
1741 cls.add_constructor([])
1742 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(uint8_t * prefix) [constructor]
1743 cls.add_constructor([param('uint8_t *', 'prefix')])
1744 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(char const * prefix) [constructor]
1745 cls.add_constructor([param('char const *', 'prefix')])
1746 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(uint8_t prefix) [constructor]
1747 cls.add_constructor([param('uint8_t', 'prefix')])
1748 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(ns3::Ipv6Prefix const & prefix) [copy constructor]
1749 cls.add_constructor([param('ns3::Ipv6Prefix const &', 'prefix')])
1750 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(ns3::Ipv6Prefix const * prefix) [constructor]
1751 cls.add_constructor([param('ns3::Ipv6Prefix const *', 'prefix')])
1752 ## ipv6-address.h (module 'network'): void ns3::Ipv6Prefix::GetBytes(uint8_t * buf) const [member function]
1753 cls.add_method('GetBytes',
1754 'void',
1755 [param('uint8_t *', 'buf')],
1756 is_const=True)
1757 ## ipv6-address.h (module 'network'): static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetLoopback() [member function]
1758 cls.add_method('GetLoopback',
1759 'ns3::Ipv6Prefix',
1760 [],
1761 is_static=True)
1762 ## ipv6-address.h (module 'network'): static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetOnes() [member function]
1763 cls.add_method('GetOnes',
1764 'ns3::Ipv6Prefix',
1765 [],
1766 is_static=True)
1767 ## ipv6-address.h (module 'network'): uint8_t ns3::Ipv6Prefix::GetPrefixLength() const [member function]
1768 cls.add_method('GetPrefixLength',
1769 'uint8_t',
1770 [],
1771 is_const=True)
1772 ## ipv6-address.h (module 'network'): static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetZero() [member function]
1773 cls.add_method('GetZero',
1774 'ns3::Ipv6Prefix',
1775 [],
1776 is_static=True)
1777 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Prefix::IsEqual(ns3::Ipv6Prefix const & other) const [member function]
1778 cls.add_method('IsEqual',
1779 'bool',
1780 [param('ns3::Ipv6Prefix const &', 'other')],
1781 is_const=True)
1782 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Prefix::IsMatch(ns3::Ipv6Address a, ns3::Ipv6Address b) const [member function]
1783 cls.add_method('IsMatch',
1784 'bool',
1785 [param('ns3::Ipv6Address', 'a'), param('ns3::Ipv6Address', 'b')],
1786 is_const=True)
1787 ## ipv6-address.h (module 'network'): void ns3::Ipv6Prefix::Print(std::ostream & os) const [member function]
1788 cls.add_method('Print',
1789 'void',
1790 [param('std::ostream &', 'os')],
1791 is_const=True)
1792 return
1793
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001794def register_Ns3NodeContainer_methods(root_module, cls):
1795 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & arg0) [copy constructor]
1796 cls.add_constructor([param('ns3::NodeContainer const &', 'arg0')])
1797 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer() [constructor]
1798 cls.add_constructor([])
1799 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::Ptr<ns3::Node> node) [constructor]
1800 cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node')])
1801 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(std::string nodeName) [constructor]
1802 cls.add_constructor([param('std::string', 'nodeName')])
1803 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b) [constructor]
1804 cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b')])
1805 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b, ns3::NodeContainer const & c) [constructor]
1806 cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b'), param('ns3::NodeContainer const &', 'c')])
1807 ## 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]
1808 cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b'), param('ns3::NodeContainer const &', 'c'), param('ns3::NodeContainer const &', 'd')])
1809 ## 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]
1810 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')])
1811 ## node-container.h (module 'network'): void ns3::NodeContainer::Add(ns3::NodeContainer other) [member function]
1812 cls.add_method('Add',
1813 'void',
1814 [param('ns3::NodeContainer', 'other')])
1815 ## node-container.h (module 'network'): void ns3::NodeContainer::Add(ns3::Ptr<ns3::Node> node) [member function]
1816 cls.add_method('Add',
1817 'void',
1818 [param('ns3::Ptr< ns3::Node >', 'node')])
1819 ## node-container.h (module 'network'): void ns3::NodeContainer::Add(std::string nodeName) [member function]
1820 cls.add_method('Add',
1821 'void',
1822 [param('std::string', 'nodeName')])
1823 ## 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]
1824 cls.add_method('Begin',
1825 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > >',
1826 [],
1827 is_const=True)
1828 ## node-container.h (module 'network'): void ns3::NodeContainer::Create(uint32_t n) [member function]
1829 cls.add_method('Create',
1830 'void',
1831 [param('uint32_t', 'n')])
1832 ## node-container.h (module 'network'): void ns3::NodeContainer::Create(uint32_t n, uint32_t systemId) [member function]
1833 cls.add_method('Create',
1834 'void',
1835 [param('uint32_t', 'n'), param('uint32_t', 'systemId')])
1836 ## 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]
1837 cls.add_method('End',
1838 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > >',
1839 [],
1840 is_const=True)
1841 ## node-container.h (module 'network'): ns3::Ptr<ns3::Node> ns3::NodeContainer::Get(uint32_t i) const [member function]
1842 cls.add_method('Get',
1843 'ns3::Ptr< ns3::Node >',
1844 [param('uint32_t', 'i')],
1845 is_const=True)
1846 ## node-container.h (module 'network'): static ns3::NodeContainer ns3::NodeContainer::GetGlobal() [member function]
1847 cls.add_method('GetGlobal',
1848 'ns3::NodeContainer',
1849 [],
1850 is_static=True)
1851 ## node-container.h (module 'network'): uint32_t ns3::NodeContainer::GetN() const [member function]
1852 cls.add_method('GetN',
1853 'uint32_t',
1854 [],
1855 is_const=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001856 return
1857
1858def register_Ns3ObjectBase_methods(root_module, cls):
1859 ## object-base.h (module 'core'): ns3::ObjectBase::ObjectBase() [constructor]
1860 cls.add_constructor([])
1861 ## object-base.h (module 'core'): ns3::ObjectBase::ObjectBase(ns3::ObjectBase const & arg0) [copy constructor]
1862 cls.add_constructor([param('ns3::ObjectBase const &', 'arg0')])
1863 ## object-base.h (module 'core'): void ns3::ObjectBase::GetAttribute(std::string name, ns3::AttributeValue & value) const [member function]
1864 cls.add_method('GetAttribute',
1865 'void',
1866 [param('std::string', 'name'), param('ns3::AttributeValue &', 'value')],
1867 is_const=True)
1868 ## object-base.h (module 'core'): bool ns3::ObjectBase::GetAttributeFailSafe(std::string name, ns3::AttributeValue & attribute) const [member function]
1869 cls.add_method('GetAttributeFailSafe',
1870 'bool',
1871 [param('std::string', 'name'), param('ns3::AttributeValue &', 'attribute')],
1872 is_const=True)
1873 ## object-base.h (module 'core'): ns3::TypeId ns3::ObjectBase::GetInstanceTypeId() const [member function]
1874 cls.add_method('GetInstanceTypeId',
1875 'ns3::TypeId',
1876 [],
1877 is_pure_virtual=True, is_const=True, is_virtual=True)
1878 ## object-base.h (module 'core'): static ns3::TypeId ns3::ObjectBase::GetTypeId() [member function]
1879 cls.add_method('GetTypeId',
1880 'ns3::TypeId',
1881 [],
1882 is_static=True)
1883 ## object-base.h (module 'core'): void ns3::ObjectBase::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function]
1884 cls.add_method('SetAttribute',
1885 'void',
1886 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
1887 ## object-base.h (module 'core'): bool ns3::ObjectBase::SetAttributeFailSafe(std::string name, ns3::AttributeValue const & value) [member function]
1888 cls.add_method('SetAttributeFailSafe',
1889 'bool',
1890 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
1891 ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceConnect(std::string name, std::string context, ns3::CallbackBase const & cb) [member function]
1892 cls.add_method('TraceConnect',
1893 'bool',
1894 [param('std::string', 'name'), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')])
1895 ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceConnectWithoutContext(std::string name, ns3::CallbackBase const & cb) [member function]
1896 cls.add_method('TraceConnectWithoutContext',
1897 'bool',
1898 [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')])
1899 ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceDisconnect(std::string name, std::string context, ns3::CallbackBase const & cb) [member function]
1900 cls.add_method('TraceDisconnect',
1901 'bool',
1902 [param('std::string', 'name'), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')])
1903 ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceDisconnectWithoutContext(std::string name, ns3::CallbackBase const & cb) [member function]
1904 cls.add_method('TraceDisconnectWithoutContext',
1905 'bool',
1906 [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')])
1907 ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function]
1908 cls.add_method('ConstructSelf',
1909 'void',
1910 [param('ns3::AttributeConstructionList const &', 'attributes')],
1911 visibility='protected')
1912 ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function]
1913 cls.add_method('NotifyConstructionCompleted',
1914 'void',
1915 [],
1916 visibility='protected', is_virtual=True)
1917 return
1918
1919def register_Ns3ObjectDeleter_methods(root_module, cls):
1920 ## object.h (module 'core'): ns3::ObjectDeleter::ObjectDeleter() [constructor]
1921 cls.add_constructor([])
1922 ## object.h (module 'core'): ns3::ObjectDeleter::ObjectDeleter(ns3::ObjectDeleter const & arg0) [copy constructor]
1923 cls.add_constructor([param('ns3::ObjectDeleter const &', 'arg0')])
1924 ## object.h (module 'core'): static void ns3::ObjectDeleter::Delete(ns3::Object * object) [member function]
1925 cls.add_method('Delete',
1926 'void',
1927 [param('ns3::Object *', 'object')],
1928 is_static=True)
1929 return
1930
1931def register_Ns3ObjectFactory_methods(root_module, cls):
1932 cls.add_output_stream_operator()
1933 ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(ns3::ObjectFactory const & arg0) [copy constructor]
1934 cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')])
1935 ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor]
1936 cls.add_constructor([])
1937 ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor]
1938 cls.add_constructor([param('std::string', 'typeId')])
1939 ## object-factory.h (module 'core'): ns3::Ptr<ns3::Object> ns3::ObjectFactory::Create() const [member function]
1940 cls.add_method('Create',
1941 'ns3::Ptr< ns3::Object >',
1942 [],
1943 is_const=True)
1944 ## object-factory.h (module 'core'): ns3::TypeId ns3::ObjectFactory::GetTypeId() const [member function]
1945 cls.add_method('GetTypeId',
1946 'ns3::TypeId',
1947 [],
1948 is_const=True)
1949 ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(std::string name, ns3::AttributeValue const & value) [member function]
1950 cls.add_method('Set',
1951 'void',
1952 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
1953 ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function]
1954 cls.add_method('SetTypeId',
1955 'void',
1956 [param('ns3::TypeId', 'tid')])
1957 ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(char const * tid) [member function]
1958 cls.add_method('SetTypeId',
1959 'void',
1960 [param('char const *', 'tid')])
1961 ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(std::string tid) [member function]
1962 cls.add_method('SetTypeId',
1963 'void',
1964 [param('std::string', 'tid')])
1965 return
1966
1967def register_Ns3PacketMetadata_methods(root_module, cls):
1968 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::PacketMetadata(uint64_t uid, uint32_t size) [constructor]
1969 cls.add_constructor([param('uint64_t', 'uid'), param('uint32_t', 'size')])
1970 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::PacketMetadata(ns3::PacketMetadata const & o) [copy constructor]
1971 cls.add_constructor([param('ns3::PacketMetadata const &', 'o')])
1972 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddAtEnd(ns3::PacketMetadata const & o) [member function]
1973 cls.add_method('AddAtEnd',
1974 'void',
1975 [param('ns3::PacketMetadata const &', 'o')])
1976 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddHeader(ns3::Header const & header, uint32_t size) [member function]
1977 cls.add_method('AddHeader',
1978 'void',
1979 [param('ns3::Header const &', 'header'), param('uint32_t', 'size')])
1980 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddPaddingAtEnd(uint32_t end) [member function]
1981 cls.add_method('AddPaddingAtEnd',
1982 'void',
1983 [param('uint32_t', 'end')])
1984 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddTrailer(ns3::Trailer const & trailer, uint32_t size) [member function]
1985 cls.add_method('AddTrailer',
1986 'void',
1987 [param('ns3::Trailer const &', 'trailer'), param('uint32_t', 'size')])
1988 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator ns3::PacketMetadata::BeginItem(ns3::Buffer buffer) const [member function]
1989 cls.add_method('BeginItem',
1990 'ns3::PacketMetadata::ItemIterator',
1991 [param('ns3::Buffer', 'buffer')],
1992 is_const=True)
1993 ## packet-metadata.h (module 'network'): ns3::PacketMetadata ns3::PacketMetadata::CreateFragment(uint32_t start, uint32_t end) const [member function]
1994 cls.add_method('CreateFragment',
1995 'ns3::PacketMetadata',
1996 [param('uint32_t', 'start'), param('uint32_t', 'end')],
1997 is_const=True)
1998 ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::Deserialize(uint8_t const * buffer, uint32_t size) [member function]
1999 cls.add_method('Deserialize',
2000 'uint32_t',
2001 [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
2002 ## packet-metadata.h (module 'network'): static void ns3::PacketMetadata::Enable() [member function]
2003 cls.add_method('Enable',
2004 'void',
2005 [],
2006 is_static=True)
2007 ## packet-metadata.h (module 'network'): static void ns3::PacketMetadata::EnableChecking() [member function]
2008 cls.add_method('EnableChecking',
2009 'void',
2010 [],
2011 is_static=True)
2012 ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::GetSerializedSize() const [member function]
2013 cls.add_method('GetSerializedSize',
2014 'uint32_t',
2015 [],
2016 is_const=True)
2017 ## packet-metadata.h (module 'network'): uint64_t ns3::PacketMetadata::GetUid() const [member function]
2018 cls.add_method('GetUid',
2019 'uint64_t',
2020 [],
2021 is_const=True)
2022 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveAtEnd(uint32_t end) [member function]
2023 cls.add_method('RemoveAtEnd',
2024 'void',
2025 [param('uint32_t', 'end')])
2026 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveAtStart(uint32_t start) [member function]
2027 cls.add_method('RemoveAtStart',
2028 'void',
2029 [param('uint32_t', 'start')])
2030 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveHeader(ns3::Header const & header, uint32_t size) [member function]
2031 cls.add_method('RemoveHeader',
2032 'void',
2033 [param('ns3::Header const &', 'header'), param('uint32_t', 'size')])
2034 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveTrailer(ns3::Trailer const & trailer, uint32_t size) [member function]
2035 cls.add_method('RemoveTrailer',
2036 'void',
2037 [param('ns3::Trailer const &', 'trailer'), param('uint32_t', 'size')])
2038 ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
2039 cls.add_method('Serialize',
2040 'uint32_t',
2041 [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')],
2042 is_const=True)
2043 return
2044
2045def register_Ns3PacketMetadataItem_methods(root_module, cls):
2046 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::Item() [constructor]
2047 cls.add_constructor([])
2048 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::Item(ns3::PacketMetadata::Item const & arg0) [copy constructor]
2049 cls.add_constructor([param('ns3::PacketMetadata::Item const &', 'arg0')])
2050 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::current [variable]
2051 cls.add_instance_attribute('current', 'ns3::Buffer::Iterator', is_const=False)
2052 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentSize [variable]
2053 cls.add_instance_attribute('currentSize', 'uint32_t', is_const=False)
2054 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentTrimedFromEnd [variable]
2055 cls.add_instance_attribute('currentTrimedFromEnd', 'uint32_t', is_const=False)
2056 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentTrimedFromStart [variable]
2057 cls.add_instance_attribute('currentTrimedFromStart', 'uint32_t', is_const=False)
2058 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::isFragment [variable]
2059 cls.add_instance_attribute('isFragment', 'bool', is_const=False)
2060 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::tid [variable]
2061 cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
2062 return
2063
2064def register_Ns3PacketMetadataItemIterator_methods(root_module, cls):
2065 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator::ItemIterator(ns3::PacketMetadata::ItemIterator const & arg0) [copy constructor]
2066 cls.add_constructor([param('ns3::PacketMetadata::ItemIterator const &', 'arg0')])
2067 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator::ItemIterator(ns3::PacketMetadata const * metadata, ns3::Buffer buffer) [constructor]
2068 cls.add_constructor([param('ns3::PacketMetadata const *', 'metadata'), param('ns3::Buffer', 'buffer')])
2069 ## packet-metadata.h (module 'network'): bool ns3::PacketMetadata::ItemIterator::HasNext() const [member function]
2070 cls.add_method('HasNext',
2071 'bool',
2072 [],
2073 is_const=True)
2074 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item ns3::PacketMetadata::ItemIterator::Next() [member function]
2075 cls.add_method('Next',
2076 'ns3::PacketMetadata::Item',
2077 [])
2078 return
2079
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002080def register_Ns3PacketTagIterator_methods(root_module, cls):
2081 ## packet.h (module 'network'): ns3::PacketTagIterator::PacketTagIterator(ns3::PacketTagIterator const & arg0) [copy constructor]
2082 cls.add_constructor([param('ns3::PacketTagIterator const &', 'arg0')])
2083 ## packet.h (module 'network'): bool ns3::PacketTagIterator::HasNext() const [member function]
2084 cls.add_method('HasNext',
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002085 'bool',
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002086 [],
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002087 is_const=True)
2088 ## packet.h (module 'network'): ns3::PacketTagIterator::Item ns3::PacketTagIterator::Next() [member function]
2089 cls.add_method('Next',
2090 'ns3::PacketTagIterator::Item',
2091 [])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002092 return
2093
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002094def register_Ns3PacketTagIteratorItem_methods(root_module, cls):
2095 ## packet.h (module 'network'): ns3::PacketTagIterator::Item::Item(ns3::PacketTagIterator::Item const & arg0) [copy constructor]
2096 cls.add_constructor([param('ns3::PacketTagIterator::Item const &', 'arg0')])
2097 ## packet.h (module 'network'): void ns3::PacketTagIterator::Item::GetTag(ns3::Tag & tag) const [member function]
2098 cls.add_method('GetTag',
2099 'void',
2100 [param('ns3::Tag &', 'tag')],
2101 is_const=True)
2102 ## packet.h (module 'network'): ns3::TypeId ns3::PacketTagIterator::Item::GetTypeId() const [member function]
2103 cls.add_method('GetTypeId',
2104 'ns3::TypeId',
2105 [],
2106 is_const=True)
2107 return
2108
2109def register_Ns3PacketTagList_methods(root_module, cls):
2110 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::PacketTagList() [constructor]
2111 cls.add_constructor([])
2112 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::PacketTagList(ns3::PacketTagList const & o) [copy constructor]
2113 cls.add_constructor([param('ns3::PacketTagList const &', 'o')])
2114 ## packet-tag-list.h (module 'network'): void ns3::PacketTagList::Add(ns3::Tag const & tag) const [member function]
2115 cls.add_method('Add',
2116 'void',
2117 [param('ns3::Tag const &', 'tag')],
2118 is_const=True)
2119 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData const * ns3::PacketTagList::Head() const [member function]
2120 cls.add_method('Head',
2121 'ns3::PacketTagList::TagData const *',
2122 [],
2123 is_const=True)
2124 ## packet-tag-list.h (module 'network'): bool ns3::PacketTagList::Peek(ns3::Tag & tag) const [member function]
2125 cls.add_method('Peek',
2126 'bool',
2127 [param('ns3::Tag &', 'tag')],
2128 is_const=True)
2129 ## packet-tag-list.h (module 'network'): bool ns3::PacketTagList::Remove(ns3::Tag & tag) [member function]
2130 cls.add_method('Remove',
2131 'bool',
2132 [param('ns3::Tag &', 'tag')])
2133 ## packet-tag-list.h (module 'network'): void ns3::PacketTagList::RemoveAll() [member function]
2134 cls.add_method('RemoveAll',
2135 'void',
2136 [])
2137 return
2138
2139def register_Ns3PacketTagListTagData_methods(root_module, cls):
2140 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::TagData() [constructor]
2141 cls.add_constructor([])
2142 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::TagData(ns3::PacketTagList::TagData const & arg0) [copy constructor]
2143 cls.add_constructor([param('ns3::PacketTagList::TagData const &', 'arg0')])
2144 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::count [variable]
2145 cls.add_instance_attribute('count', 'uint32_t', is_const=False)
2146 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::data [variable]
2147 cls.add_instance_attribute('data', 'uint8_t [ 20 ]', is_const=False)
2148 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::next [variable]
2149 cls.add_instance_attribute('next', 'ns3::PacketTagList::TagData *', is_const=False)
2150 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::tid [variable]
2151 cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002152 return
2153
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002154def register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, cls):
2155 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter>::SimpleRefCount() [constructor]
2156 cls.add_constructor([])
2157 ## 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]
2158 cls.add_constructor([param('ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter > const &', 'o')])
2159 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter>::Cleanup() [member function]
2160 cls.add_method('Cleanup',
2161 'void',
2162 [],
2163 is_static=True)
2164 return
2165
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002166def register_Ns3Tag_methods(root_module, cls):
2167 ## tag.h (module 'network'): ns3::Tag::Tag() [constructor]
Alexander Afanasyev4975f732011-12-20 17:52:19 -08002168 cls.add_constructor([])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002169 ## tag.h (module 'network'): ns3::Tag::Tag(ns3::Tag const & arg0) [copy constructor]
2170 cls.add_constructor([param('ns3::Tag const &', 'arg0')])
2171 ## tag.h (module 'network'): void ns3::Tag::Deserialize(ns3::TagBuffer i) [member function]
2172 cls.add_method('Deserialize',
Alexander Afanasyev4975f732011-12-20 17:52:19 -08002173 'void',
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002174 [param('ns3::TagBuffer', 'i')],
2175 is_pure_virtual=True, is_virtual=True)
2176 ## tag.h (module 'network'): uint32_t ns3::Tag::GetSerializedSize() const [member function]
2177 cls.add_method('GetSerializedSize',
2178 'uint32_t',
2179 [],
2180 is_pure_virtual=True, is_const=True, is_virtual=True)
2181 ## tag.h (module 'network'): static ns3::TypeId ns3::Tag::GetTypeId() [member function]
2182 cls.add_method('GetTypeId',
2183 'ns3::TypeId',
2184 [],
Alexander Afanasyev4975f732011-12-20 17:52:19 -08002185 is_static=True)
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002186 ## tag.h (module 'network'): void ns3::Tag::Print(std::ostream & os) const [member function]
2187 cls.add_method('Print',
Alexander Afanasyev4975f732011-12-20 17:52:19 -08002188 'void',
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002189 [param('std::ostream &', 'os')],
2190 is_pure_virtual=True, is_const=True, is_virtual=True)
2191 ## tag.h (module 'network'): void ns3::Tag::Serialize(ns3::TagBuffer i) const [member function]
2192 cls.add_method('Serialize',
2193 'void',
2194 [param('ns3::TagBuffer', 'i')],
2195 is_pure_virtual=True, is_const=True, is_virtual=True)
Alexander Afanasyev4975f732011-12-20 17:52:19 -08002196 return
2197
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002198def register_Ns3TagBuffer_methods(root_module, cls):
2199 ## tag-buffer.h (module 'network'): ns3::TagBuffer::TagBuffer(ns3::TagBuffer const & arg0) [copy constructor]
2200 cls.add_constructor([param('ns3::TagBuffer const &', 'arg0')])
2201 ## tag-buffer.h (module 'network'): ns3::TagBuffer::TagBuffer(uint8_t * start, uint8_t * end) [constructor]
2202 cls.add_constructor([param('uint8_t *', 'start'), param('uint8_t *', 'end')])
2203 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::CopyFrom(ns3::TagBuffer o) [member function]
2204 cls.add_method('CopyFrom',
2205 'void',
2206 [param('ns3::TagBuffer', 'o')])
2207 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::Read(uint8_t * buffer, uint32_t size) [member function]
2208 cls.add_method('Read',
2209 'void',
2210 [param('uint8_t *', 'buffer'), param('uint32_t', 'size')])
2211 ## tag-buffer.h (module 'network'): double ns3::TagBuffer::ReadDouble() [member function]
2212 cls.add_method('ReadDouble',
2213 'double',
2214 [])
2215 ## tag-buffer.h (module 'network'): uint16_t ns3::TagBuffer::ReadU16() [member function]
2216 cls.add_method('ReadU16',
2217 'uint16_t',
2218 [])
2219 ## tag-buffer.h (module 'network'): uint32_t ns3::TagBuffer::ReadU32() [member function]
2220 cls.add_method('ReadU32',
2221 'uint32_t',
2222 [])
2223 ## tag-buffer.h (module 'network'): uint64_t ns3::TagBuffer::ReadU64() [member function]
2224 cls.add_method('ReadU64',
2225 'uint64_t',
2226 [])
2227 ## tag-buffer.h (module 'network'): uint8_t ns3::TagBuffer::ReadU8() [member function]
2228 cls.add_method('ReadU8',
2229 'uint8_t',
2230 [])
2231 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::TrimAtEnd(uint32_t trim) [member function]
2232 cls.add_method('TrimAtEnd',
2233 'void',
2234 [param('uint32_t', 'trim')])
2235 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::Write(uint8_t const * buffer, uint32_t size) [member function]
2236 cls.add_method('Write',
2237 'void',
2238 [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
2239 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteDouble(double v) [member function]
2240 cls.add_method('WriteDouble',
2241 'void',
2242 [param('double', 'v')])
2243 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU16(uint16_t data) [member function]
2244 cls.add_method('WriteU16',
2245 'void',
2246 [param('uint16_t', 'data')])
2247 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU32(uint32_t data) [member function]
2248 cls.add_method('WriteU32',
2249 'void',
2250 [param('uint32_t', 'data')])
2251 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU64(uint64_t v) [member function]
2252 cls.add_method('WriteU64',
2253 'void',
2254 [param('uint64_t', 'v')])
2255 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU8(uint8_t v) [member function]
2256 cls.add_method('WriteU8',
2257 'void',
2258 [param('uint8_t', 'v')])
2259 return
2260
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002261def register_Ns3TypeId_methods(root_module, cls):
2262 cls.add_binary_comparison_operator('!=')
2263 cls.add_output_stream_operator()
2264 cls.add_binary_comparison_operator('==')
2265 cls.add_binary_comparison_operator('<')
2266 ## type-id.h (module 'core'): ns3::TypeId::TypeId(char const * name) [constructor]
2267 cls.add_constructor([param('char const *', 'name')])
2268 ## type-id.h (module 'core'): ns3::TypeId::TypeId() [constructor]
2269 cls.add_constructor([])
2270 ## type-id.h (module 'core'): ns3::TypeId::TypeId(ns3::TypeId const & o) [copy constructor]
2271 cls.add_constructor([param('ns3::TypeId const &', 'o')])
2272 ## 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]
2273 cls.add_method('AddAttribute',
2274 'ns3::TypeId',
2275 [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')])
2276 ## 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]
2277 cls.add_method('AddAttribute',
2278 'ns3::TypeId',
2279 [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')])
2280 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr<ns3::TraceSourceAccessor const> accessor) [member function]
2281 cls.add_method('AddTraceSource',
2282 'ns3::TypeId',
2283 [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')])
2284 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function]
2285 cls.add_method('GetAttribute',
2286 'ns3::TypeId::AttributeInformation',
2287 [param('uint32_t', 'i')],
2288 is_const=True)
2289 ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function]
2290 cls.add_method('GetAttributeFullName',
2291 'std::string',
2292 [param('uint32_t', 'i')],
2293 is_const=True)
2294 ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function]
2295 cls.add_method('GetAttributeN',
2296 'uint32_t',
2297 [],
2298 is_const=True)
2299 ## 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]
2300 cls.add_method('GetConstructor',
2301 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >',
2302 [],
2303 is_const=True)
2304 ## type-id.h (module 'core'): std::string ns3::TypeId::GetGroupName() const [member function]
2305 cls.add_method('GetGroupName',
2306 'std::string',
2307 [],
2308 is_const=True)
2309 ## type-id.h (module 'core'): std::string ns3::TypeId::GetName() const [member function]
2310 cls.add_method('GetName',
2311 'std::string',
2312 [],
2313 is_const=True)
2314 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::GetParent() const [member function]
2315 cls.add_method('GetParent',
2316 'ns3::TypeId',
2317 [],
2318 is_const=True)
2319 ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::GetRegistered(uint32_t i) [member function]
2320 cls.add_method('GetRegistered',
2321 'ns3::TypeId',
2322 [param('uint32_t', 'i')],
2323 is_static=True)
2324 ## type-id.h (module 'core'): static uint32_t ns3::TypeId::GetRegisteredN() [member function]
2325 cls.add_method('GetRegisteredN',
2326 'uint32_t',
2327 [],
2328 is_static=True)
2329 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function]
2330 cls.add_method('GetTraceSource',
2331 'ns3::TypeId::TraceSourceInformation',
2332 [param('uint32_t', 'i')],
2333 is_const=True)
2334 ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function]
2335 cls.add_method('GetTraceSourceN',
2336 'uint32_t',
2337 [],
2338 is_const=True)
2339 ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function]
2340 cls.add_method('GetUid',
2341 'uint16_t',
2342 [],
2343 is_const=True)
2344 ## type-id.h (module 'core'): bool ns3::TypeId::HasConstructor() const [member function]
2345 cls.add_method('HasConstructor',
2346 'bool',
2347 [],
2348 is_const=True)
2349 ## type-id.h (module 'core'): bool ns3::TypeId::HasParent() const [member function]
2350 cls.add_method('HasParent',
2351 'bool',
2352 [],
2353 is_const=True)
2354 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::HideFromDocumentation() [member function]
2355 cls.add_method('HideFromDocumentation',
2356 'ns3::TypeId',
2357 [])
2358 ## type-id.h (module 'core'): bool ns3::TypeId::IsChildOf(ns3::TypeId other) const [member function]
2359 cls.add_method('IsChildOf',
2360 'bool',
2361 [param('ns3::TypeId', 'other')],
2362 is_const=True)
2363 ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function]
2364 cls.add_method('LookupAttributeByName',
2365 'bool',
Alexander Afanasyev6f933532012-02-29 13:30:37 -08002366 [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info', transfer_ownership=False)],
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002367 is_const=True)
2368 ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function]
2369 cls.add_method('LookupByName',
2370 'ns3::TypeId',
2371 [param('std::string', 'name')],
2372 is_static=True)
2373 ## type-id.h (module 'core'): ns3::Ptr<ns3::TraceSourceAccessor const> ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function]
2374 cls.add_method('LookupTraceSourceByName',
2375 'ns3::Ptr< ns3::TraceSourceAccessor const >',
2376 [param('std::string', 'name')],
2377 is_const=True)
2378 ## type-id.h (module 'core'): bool ns3::TypeId::MustHideFromDocumentation() const [member function]
2379 cls.add_method('MustHideFromDocumentation',
2380 'bool',
2381 [],
2382 is_const=True)
2383 ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr<ns3::AttributeValue const> initialValue) [member function]
2384 cls.add_method('SetAttributeInitialValue',
2385 'bool',
2386 [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')])
2387 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function]
2388 cls.add_method('SetGroupName',
2389 'ns3::TypeId',
2390 [param('std::string', 'groupName')])
2391 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetParent(ns3::TypeId tid) [member function]
2392 cls.add_method('SetParent',
2393 'ns3::TypeId',
2394 [param('ns3::TypeId', 'tid')])
2395 ## type-id.h (module 'core'): void ns3::TypeId::SetUid(uint16_t tid) [member function]
2396 cls.add_method('SetUid',
2397 'void',
2398 [param('uint16_t', 'tid')])
2399 return
2400
2401def register_Ns3TypeIdAttributeInformation_methods(root_module, cls):
2402 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor]
2403 cls.add_constructor([])
2404 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor]
2405 cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')])
2406 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable]
2407 cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False)
2408 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable]
2409 cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False)
2410 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable]
2411 cls.add_instance_attribute('flags', 'uint32_t', is_const=False)
2412 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable]
2413 cls.add_instance_attribute('help', 'std::string', is_const=False)
2414 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable]
2415 cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False)
2416 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable]
2417 cls.add_instance_attribute('name', 'std::string', is_const=False)
2418 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable]
2419 cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False)
2420 return
2421
2422def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls):
2423 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor]
2424 cls.add_constructor([])
2425 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor]
2426 cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')])
2427 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable]
2428 cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False)
2429 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable]
2430 cls.add_instance_attribute('help', 'std::string', is_const=False)
2431 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable]
2432 cls.add_instance_attribute('name', 'std::string', is_const=False)
2433 return
2434
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002435def register_Ns3Empty_methods(root_module, cls):
2436 ## empty.h (module 'core'): ns3::empty::empty() [constructor]
2437 cls.add_constructor([])
2438 ## empty.h (module 'core'): ns3::empty::empty(ns3::empty const & arg0) [copy constructor]
2439 cls.add_constructor([param('ns3::empty const &', 'arg0')])
2440 return
2441
2442def register_Ns3Int64x64_t_methods(root_module, cls):
2443 cls.add_binary_comparison_operator('!=')
2444 cls.add_inplace_numeric_operator('*=', param('ns3::int64x64_t const &', 'right'))
2445 cls.add_inplace_numeric_operator('+=', param('ns3::int64x64_t const &', 'right'))
2446 cls.add_inplace_numeric_operator('-=', param('ns3::int64x64_t const &', 'right'))
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002447 cls.add_output_stream_operator()
Alexander Afanasyev4975f732011-12-20 17:52:19 -08002448 cls.add_binary_comparison_operator('<=')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002449 cls.add_binary_comparison_operator('==')
2450 cls.add_binary_comparison_operator('>=')
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002451 cls.add_inplace_numeric_operator('/=', param('ns3::int64x64_t const &', 'right'))
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002452 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
2453 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
2454 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
2455 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
2456 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
2457 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
2458 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
2459 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
2460 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
2461 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
2462 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
2463 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
2464 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
2465 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
2466 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
2467 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
2468 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
2469 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
2470 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
2471 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
2472 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
2473 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
2474 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
2475 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
2476 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
2477 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
2478 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
2479 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
2480 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
2481 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
2482 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
2483 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
2484 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
2485 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
2486 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
2487 cls.add_unary_numeric_operator('-')
2488 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
2489 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
2490 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
2491 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
2492 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
2493 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
2494 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
2495 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
2496 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
2497 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
2498 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
2499 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
2500 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
2501 cls.add_binary_comparison_operator('<')
2502 cls.add_binary_comparison_operator('>')
2503 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t() [constructor]
2504 cls.add_constructor([])
2505 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(double v) [constructor]
2506 cls.add_constructor([param('double', 'v')])
2507 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(int v) [constructor]
2508 cls.add_constructor([param('int', 'v')])
2509 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long int v) [constructor]
2510 cls.add_constructor([param('long int', 'v')])
2511 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long long int v) [constructor]
2512 cls.add_constructor([param('long long int', 'v')])
2513 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(unsigned int v) [constructor]
2514 cls.add_constructor([param('unsigned int', 'v')])
2515 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long unsigned int v) [constructor]
2516 cls.add_constructor([param('long unsigned int', 'v')])
2517 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long long unsigned int v) [constructor]
2518 cls.add_constructor([param('long long unsigned int', 'v')])
2519 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(int64_t hi, uint64_t lo) [constructor]
2520 cls.add_constructor([param('int64_t', 'hi'), param('uint64_t', 'lo')])
2521 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(ns3::int64x64_t const & o) [copy constructor]
2522 cls.add_constructor([param('ns3::int64x64_t const &', 'o')])
2523 ## int64x64-double.h (module 'core'): double ns3::int64x64_t::GetDouble() const [member function]
2524 cls.add_method('GetDouble',
2525 'double',
2526 [],
2527 is_const=True)
2528 ## int64x64-double.h (module 'core'): int64_t ns3::int64x64_t::GetHigh() const [member function]
2529 cls.add_method('GetHigh',
2530 'int64_t',
2531 [],
2532 is_const=True)
2533 ## int64x64-double.h (module 'core'): uint64_t ns3::int64x64_t::GetLow() const [member function]
2534 cls.add_method('GetLow',
2535 'uint64_t',
2536 [],
2537 is_const=True)
2538 ## int64x64-double.h (module 'core'): static ns3::int64x64_t ns3::int64x64_t::Invert(uint64_t v) [member function]
2539 cls.add_method('Invert',
2540 'ns3::int64x64_t',
2541 [param('uint64_t', 'v')],
2542 is_static=True)
2543 ## int64x64-double.h (module 'core'): void ns3::int64x64_t::MulByInvert(ns3::int64x64_t const & o) [member function]
2544 cls.add_method('MulByInvert',
2545 'void',
2546 [param('ns3::int64x64_t const &', 'o')])
2547 return
2548
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002549def register_Ns3Chunk_methods(root_module, cls):
2550 ## chunk.h (module 'network'): ns3::Chunk::Chunk() [constructor]
2551 cls.add_constructor([])
2552 ## chunk.h (module 'network'): ns3::Chunk::Chunk(ns3::Chunk const & arg0) [copy constructor]
2553 cls.add_constructor([param('ns3::Chunk const &', 'arg0')])
2554 ## chunk.h (module 'network'): uint32_t ns3::Chunk::Deserialize(ns3::Buffer::Iterator start) [member function]
2555 cls.add_method('Deserialize',
2556 'uint32_t',
2557 [param('ns3::Buffer::Iterator', 'start')],
2558 is_pure_virtual=True, is_virtual=True)
2559 ## chunk.h (module 'network'): static ns3::TypeId ns3::Chunk::GetTypeId() [member function]
2560 cls.add_method('GetTypeId',
2561 'ns3::TypeId',
2562 [],
2563 is_static=True)
2564 ## chunk.h (module 'network'): void ns3::Chunk::Print(std::ostream & os) const [member function]
2565 cls.add_method('Print',
2566 'void',
2567 [param('std::ostream &', 'os')],
2568 is_pure_virtual=True, is_const=True, is_virtual=True)
2569 return
2570
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002571def register_Ns3Header_methods(root_module, cls):
2572 cls.add_output_stream_operator()
2573 ## header.h (module 'network'): ns3::Header::Header() [constructor]
2574 cls.add_constructor([])
2575 ## header.h (module 'network'): ns3::Header::Header(ns3::Header const & arg0) [copy constructor]
2576 cls.add_constructor([param('ns3::Header const &', 'arg0')])
2577 ## header.h (module 'network'): uint32_t ns3::Header::Deserialize(ns3::Buffer::Iterator start) [member function]
2578 cls.add_method('Deserialize',
2579 'uint32_t',
2580 [param('ns3::Buffer::Iterator', 'start')],
2581 is_pure_virtual=True, is_virtual=True)
2582 ## header.h (module 'network'): uint32_t ns3::Header::GetSerializedSize() const [member function]
2583 cls.add_method('GetSerializedSize',
2584 'uint32_t',
2585 [],
2586 is_pure_virtual=True, is_const=True, is_virtual=True)
2587 ## header.h (module 'network'): static ns3::TypeId ns3::Header::GetTypeId() [member function]
2588 cls.add_method('GetTypeId',
2589 'ns3::TypeId',
2590 [],
2591 is_static=True)
2592 ## header.h (module 'network'): void ns3::Header::Print(std::ostream & os) const [member function]
2593 cls.add_method('Print',
2594 'void',
2595 [param('std::ostream &', 'os')],
2596 is_pure_virtual=True, is_const=True, is_virtual=True)
2597 ## header.h (module 'network'): void ns3::Header::Serialize(ns3::Buffer::Iterator start) const [member function]
2598 cls.add_method('Serialize',
2599 'void',
2600 [param('ns3::Buffer::Iterator', 'start')],
2601 is_pure_virtual=True, is_const=True, is_virtual=True)
2602 return
2603
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002604def register_Ns3Object_methods(root_module, cls):
2605 ## object.h (module 'core'): ns3::Object::Object() [constructor]
2606 cls.add_constructor([])
2607 ## object.h (module 'core'): void ns3::Object::AggregateObject(ns3::Ptr<ns3::Object> other) [member function]
2608 cls.add_method('AggregateObject',
2609 'void',
2610 [param('ns3::Ptr< ns3::Object >', 'other')])
2611 ## object.h (module 'core'): void ns3::Object::Dispose() [member function]
2612 cls.add_method('Dispose',
2613 'void',
2614 [])
2615 ## object.h (module 'core'): ns3::Object::AggregateIterator ns3::Object::GetAggregateIterator() const [member function]
2616 cls.add_method('GetAggregateIterator',
2617 'ns3::Object::AggregateIterator',
2618 [],
2619 is_const=True)
2620 ## object.h (module 'core'): ns3::TypeId ns3::Object::GetInstanceTypeId() const [member function]
2621 cls.add_method('GetInstanceTypeId',
2622 'ns3::TypeId',
2623 [],
2624 is_const=True, is_virtual=True)
2625 ## object.h (module 'core'): static ns3::TypeId ns3::Object::GetTypeId() [member function]
2626 cls.add_method('GetTypeId',
2627 'ns3::TypeId',
2628 [],
2629 is_static=True)
2630 ## object.h (module 'core'): void ns3::Object::Start() [member function]
2631 cls.add_method('Start',
2632 'void',
2633 [])
2634 ## object.h (module 'core'): ns3::Object::Object(ns3::Object const & o) [copy constructor]
2635 cls.add_constructor([param('ns3::Object const &', 'o')],
2636 visibility='protected')
2637 ## object.h (module 'core'): void ns3::Object::DoDispose() [member function]
2638 cls.add_method('DoDispose',
2639 'void',
2640 [],
2641 visibility='protected', is_virtual=True)
2642 ## object.h (module 'core'): void ns3::Object::DoStart() [member function]
2643 cls.add_method('DoStart',
2644 'void',
2645 [],
2646 visibility='protected', is_virtual=True)
2647 ## object.h (module 'core'): void ns3::Object::NotifyNewAggregate() [member function]
2648 cls.add_method('NotifyNewAggregate',
2649 'void',
2650 [],
2651 visibility='protected', is_virtual=True)
2652 return
2653
2654def register_Ns3ObjectAggregateIterator_methods(root_module, cls):
2655 ## object.h (module 'core'): ns3::Object::AggregateIterator::AggregateIterator(ns3::Object::AggregateIterator const & arg0) [copy constructor]
2656 cls.add_constructor([param('ns3::Object::AggregateIterator const &', 'arg0')])
2657 ## object.h (module 'core'): ns3::Object::AggregateIterator::AggregateIterator() [constructor]
2658 cls.add_constructor([])
2659 ## object.h (module 'core'): bool ns3::Object::AggregateIterator::HasNext() const [member function]
2660 cls.add_method('HasNext',
2661 'bool',
2662 [],
2663 is_const=True)
2664 ## object.h (module 'core'): ns3::Ptr<ns3::Object const> ns3::Object::AggregateIterator::Next() [member function]
2665 cls.add_method('Next',
2666 'ns3::Ptr< ns3::Object const >',
2667 [])
2668 return
2669
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002670def register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, cls):
2671 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >::SimpleRefCount() [constructor]
2672 cls.add_constructor([])
2673 ## 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]
2674 cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter< ns3::AttributeAccessor > > const &', 'o')])
2675 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >::Cleanup() [member function]
2676 cls.add_method('Cleanup',
2677 'void',
2678 [],
2679 is_static=True)
2680 return
2681
2682def register_Ns3SimpleRefCount__Ns3AttributeChecker_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeChecker__gt___methods(root_module, cls):
2683 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >::SimpleRefCount() [constructor]
2684 cls.add_constructor([])
2685 ## 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]
2686 cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter< ns3::AttributeChecker > > const &', 'o')])
2687 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >::Cleanup() [member function]
2688 cls.add_method('Cleanup',
2689 'void',
2690 [],
2691 is_static=True)
2692 return
2693
2694def register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeValue__gt___methods(root_module, cls):
2695 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >::SimpleRefCount() [constructor]
2696 cls.add_constructor([])
2697 ## 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]
2698 cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter< ns3::AttributeValue > > const &', 'o')])
2699 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >::Cleanup() [member function]
2700 cls.add_method('Cleanup',
2701 'void',
2702 [],
2703 is_static=True)
2704 return
2705
2706def register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__lt__ns3CallbackImplBase__gt___methods(root_module, cls):
2707 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >::SimpleRefCount() [constructor]
2708 cls.add_constructor([])
2709 ## 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]
2710 cls.add_constructor([param('ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter< ns3::CallbackImplBase > > const &', 'o')])
2711 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >::Cleanup() [member function]
2712 cls.add_method('Cleanup',
2713 'void',
2714 [],
2715 is_static=True)
2716 return
2717
Alexander Afanasyev4756b892012-04-18 14:48:43 -07002718def register_Ns3SimpleRefCount__Ns3CcnxContentObjectHeader_Ns3Header_Ns3DefaultDeleter__lt__ns3CcnxContentObjectHeader__gt___methods(root_module, cls):
2719 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CcnxContentObjectHeader, ns3::Header, ns3::DefaultDeleter<ns3::CcnxContentObjectHeader> >::SimpleRefCount() [constructor]
2720 cls.add_constructor([])
2721 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CcnxContentObjectHeader, ns3::Header, ns3::DefaultDeleter<ns3::CcnxContentObjectHeader> >::SimpleRefCount(ns3::SimpleRefCount<ns3::CcnxContentObjectHeader, ns3::Header, ns3::DefaultDeleter<ns3::CcnxContentObjectHeader> > const & o) [copy constructor]
2722 cls.add_constructor([param('ns3::SimpleRefCount< ns3::CcnxContentObjectHeader, ns3::Header, ns3::DefaultDeleter< ns3::CcnxContentObjectHeader > > const &', 'o')])
2723 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::CcnxContentObjectHeader, ns3::Header, ns3::DefaultDeleter<ns3::CcnxContentObjectHeader> >::Cleanup() [member function]
2724 cls.add_method('Cleanup',
2725 'void',
2726 [],
2727 is_static=True)
2728 return
2729
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002730def register_Ns3SimpleRefCount__Ns3CcnxFaceContainer_Ns3Empty_Ns3DefaultDeleter__lt__ns3CcnxFaceContainer__gt___methods(root_module, cls):
2731 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CcnxFaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::CcnxFaceContainer> >::SimpleRefCount() [constructor]
2732 cls.add_constructor([])
2733 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CcnxFaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::CcnxFaceContainer> >::SimpleRefCount(ns3::SimpleRefCount<ns3::CcnxFaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::CcnxFaceContainer> > const & o) [copy constructor]
2734 cls.add_constructor([param('ns3::SimpleRefCount< ns3::CcnxFaceContainer, ns3::empty, ns3::DefaultDeleter< ns3::CcnxFaceContainer > > const &', 'o')])
2735 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::CcnxFaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::CcnxFaceContainer> >::Cleanup() [member function]
2736 cls.add_method('Cleanup',
2737 'void',
2738 [],
2739 is_static=True)
2740 return
2741
Alexander Afanasyev4756b892012-04-18 14:48:43 -07002742def register_Ns3SimpleRefCount__Ns3CcnxInterestHeader_Ns3Header_Ns3DefaultDeleter__lt__ns3CcnxInterestHeader__gt___methods(root_module, cls):
2743 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CcnxInterestHeader, ns3::Header, ns3::DefaultDeleter<ns3::CcnxInterestHeader> >::SimpleRefCount() [constructor]
2744 cls.add_constructor([])
2745 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CcnxInterestHeader, ns3::Header, ns3::DefaultDeleter<ns3::CcnxInterestHeader> >::SimpleRefCount(ns3::SimpleRefCount<ns3::CcnxInterestHeader, ns3::Header, ns3::DefaultDeleter<ns3::CcnxInterestHeader> > const & o) [copy constructor]
2746 cls.add_constructor([param('ns3::SimpleRefCount< ns3::CcnxInterestHeader, ns3::Header, ns3::DefaultDeleter< ns3::CcnxInterestHeader > > const &', 'o')])
2747 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::CcnxInterestHeader, ns3::Header, ns3::DefaultDeleter<ns3::CcnxInterestHeader> >::Cleanup() [member function]
2748 cls.add_method('Cleanup',
2749 'void',
2750 [],
2751 is_static=True)
2752 return
2753
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002754def register_Ns3SimpleRefCount__Ns3CcnxNameComponents_Ns3Empty_Ns3DefaultDeleter__lt__ns3CcnxNameComponents__gt___methods(root_module, cls):
2755 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CcnxNameComponents, ns3::empty, ns3::DefaultDeleter<ns3::CcnxNameComponents> >::SimpleRefCount() [constructor]
2756 cls.add_constructor([])
2757 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CcnxNameComponents, ns3::empty, ns3::DefaultDeleter<ns3::CcnxNameComponents> >::SimpleRefCount(ns3::SimpleRefCount<ns3::CcnxNameComponents, ns3::empty, ns3::DefaultDeleter<ns3::CcnxNameComponents> > const & o) [copy constructor]
2758 cls.add_constructor([param('ns3::SimpleRefCount< ns3::CcnxNameComponents, ns3::empty, ns3::DefaultDeleter< ns3::CcnxNameComponents > > const &', 'o')])
2759 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::CcnxNameComponents, ns3::empty, ns3::DefaultDeleter<ns3::CcnxNameComponents> >::Cleanup() [member function]
2760 cls.add_method('Cleanup',
2761 'void',
2762 [],
2763 is_static=True)
2764 return
2765
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002766def register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__gt___methods(root_module, cls):
2767 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >::SimpleRefCount() [constructor]
2768 cls.add_constructor([])
2769 ## 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]
2770 cls.add_constructor([param('ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter< ns3::EventImpl > > const &', 'o')])
2771 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >::Cleanup() [member function]
2772 cls.add_method('Cleanup',
2773 'void',
2774 [],
2775 is_static=True)
2776 return
2777
2778def register_Ns3SimpleRefCount__Ns3NixVector_Ns3Empty_Ns3DefaultDeleter__lt__ns3NixVector__gt___methods(root_module, cls):
2779 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >::SimpleRefCount() [constructor]
2780 cls.add_constructor([])
2781 ## 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]
2782 cls.add_constructor([param('ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter< ns3::NixVector > > const &', 'o')])
2783 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >::Cleanup() [member function]
2784 cls.add_method('Cleanup',
2785 'void',
2786 [],
2787 is_static=True)
2788 return
2789
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002790def register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, cls):
2791 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >::SimpleRefCount() [constructor]
2792 cls.add_constructor([])
2793 ## 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]
2794 cls.add_constructor([param('ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter< ns3::Packet > > const &', 'o')])
2795 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >::Cleanup() [member function]
2796 cls.add_method('Cleanup',
2797 'void',
2798 [],
2799 is_static=True)
2800 return
2801
2802def register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, cls):
2803 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >::SimpleRefCount() [constructor]
2804 cls.add_constructor([])
2805 ## 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]
2806 cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > const &', 'o')])
2807 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >::Cleanup() [member function]
2808 cls.add_method('Cleanup',
2809 'void',
2810 [],
2811 is_static=True)
2812 return
2813
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002814def register_Ns3Time_methods(root_module, cls):
2815 cls.add_binary_comparison_operator('!=')
2816 cls.add_inplace_numeric_operator('+=', param('ns3::Time const &', 'right'))
2817 cls.add_inplace_numeric_operator('-=', param('ns3::Time const &', 'right'))
2818 cls.add_output_stream_operator()
Alexander Afanasyev4975f732011-12-20 17:52:19 -08002819 cls.add_binary_comparison_operator('<=')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002820 cls.add_binary_comparison_operator('==')
2821 cls.add_binary_comparison_operator('>=')
2822 cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right'))
2823 cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right'))
2824 cls.add_binary_comparison_operator('<')
2825 cls.add_binary_comparison_operator('>')
2826 ## nstime.h (module 'core'): ns3::Time::Time() [constructor]
2827 cls.add_constructor([])
2828 ## nstime.h (module 'core'): ns3::Time::Time(ns3::Time const & o) [copy constructor]
2829 cls.add_constructor([param('ns3::Time const &', 'o')])
2830 ## nstime.h (module 'core'): ns3::Time::Time(double v) [constructor]
2831 cls.add_constructor([param('double', 'v')])
2832 ## nstime.h (module 'core'): ns3::Time::Time(int v) [constructor]
2833 cls.add_constructor([param('int', 'v')])
2834 ## nstime.h (module 'core'): ns3::Time::Time(long int v) [constructor]
2835 cls.add_constructor([param('long int', 'v')])
2836 ## nstime.h (module 'core'): ns3::Time::Time(long long int v) [constructor]
2837 cls.add_constructor([param('long long int', 'v')])
2838 ## nstime.h (module 'core'): ns3::Time::Time(unsigned int v) [constructor]
2839 cls.add_constructor([param('unsigned int', 'v')])
2840 ## nstime.h (module 'core'): ns3::Time::Time(long unsigned int v) [constructor]
2841 cls.add_constructor([param('long unsigned int', 'v')])
2842 ## nstime.h (module 'core'): ns3::Time::Time(long long unsigned int v) [constructor]
2843 cls.add_constructor([param('long long unsigned int', 'v')])
2844 ## nstime.h (module 'core'): ns3::Time::Time(std::string const & s) [constructor]
2845 cls.add_constructor([param('std::string const &', 's')])
2846 ## nstime.h (module 'core'): ns3::Time::Time(ns3::int64x64_t const & value) [constructor]
2847 cls.add_constructor([param('ns3::int64x64_t const &', 'value')])
2848 ## nstime.h (module 'core'): int ns3::Time::Compare(ns3::Time const & o) const [member function]
2849 cls.add_method('Compare',
2850 'int',
2851 [param('ns3::Time const &', 'o')],
2852 is_const=True)
2853 ## nstime.h (module 'core'): static ns3::Time ns3::Time::From(ns3::int64x64_t const & from, ns3::Time::Unit timeUnit) [member function]
2854 cls.add_method('From',
2855 'ns3::Time',
2856 [param('ns3::int64x64_t const &', 'from'), param('ns3::Time::Unit', 'timeUnit')],
2857 is_static=True)
2858 ## nstime.h (module 'core'): static ns3::Time ns3::Time::From(ns3::int64x64_t const & value) [member function]
2859 cls.add_method('From',
2860 'ns3::Time',
2861 [param('ns3::int64x64_t const &', 'value')],
2862 is_static=True)
2863 ## nstime.h (module 'core'): static ns3::Time ns3::Time::FromDouble(double value, ns3::Time::Unit timeUnit) [member function]
2864 cls.add_method('FromDouble',
2865 'ns3::Time',
2866 [param('double', 'value'), param('ns3::Time::Unit', 'timeUnit')],
2867 is_static=True)
2868 ## nstime.h (module 'core'): static ns3::Time ns3::Time::FromInteger(uint64_t value, ns3::Time::Unit timeUnit) [member function]
2869 cls.add_method('FromInteger',
2870 'ns3::Time',
2871 [param('uint64_t', 'value'), param('ns3::Time::Unit', 'timeUnit')],
2872 is_static=True)
2873 ## nstime.h (module 'core'): double ns3::Time::GetDouble() const [member function]
2874 cls.add_method('GetDouble',
2875 'double',
2876 [],
2877 is_const=True)
2878 ## nstime.h (module 'core'): int64_t ns3::Time::GetFemtoSeconds() const [member function]
2879 cls.add_method('GetFemtoSeconds',
2880 'int64_t',
2881 [],
2882 is_const=True)
2883 ## nstime.h (module 'core'): int64_t ns3::Time::GetInteger() const [member function]
2884 cls.add_method('GetInteger',
2885 'int64_t',
2886 [],
2887 is_const=True)
2888 ## nstime.h (module 'core'): int64_t ns3::Time::GetMicroSeconds() const [member function]
2889 cls.add_method('GetMicroSeconds',
2890 'int64_t',
2891 [],
2892 is_const=True)
2893 ## nstime.h (module 'core'): int64_t ns3::Time::GetMilliSeconds() const [member function]
2894 cls.add_method('GetMilliSeconds',
2895 'int64_t',
2896 [],
2897 is_const=True)
2898 ## nstime.h (module 'core'): int64_t ns3::Time::GetNanoSeconds() const [member function]
2899 cls.add_method('GetNanoSeconds',
2900 'int64_t',
2901 [],
2902 is_const=True)
2903 ## nstime.h (module 'core'): int64_t ns3::Time::GetPicoSeconds() const [member function]
2904 cls.add_method('GetPicoSeconds',
2905 'int64_t',
2906 [],
2907 is_const=True)
2908 ## nstime.h (module 'core'): static ns3::Time::Unit ns3::Time::GetResolution() [member function]
2909 cls.add_method('GetResolution',
2910 'ns3::Time::Unit',
2911 [],
2912 is_static=True)
2913 ## nstime.h (module 'core'): double ns3::Time::GetSeconds() const [member function]
2914 cls.add_method('GetSeconds',
2915 'double',
2916 [],
2917 is_const=True)
2918 ## nstime.h (module 'core'): int64_t ns3::Time::GetTimeStep() const [member function]
2919 cls.add_method('GetTimeStep',
2920 'int64_t',
2921 [],
2922 is_const=True)
2923 ## nstime.h (module 'core'): bool ns3::Time::IsNegative() const [member function]
2924 cls.add_method('IsNegative',
2925 'bool',
2926 [],
2927 is_const=True)
2928 ## nstime.h (module 'core'): bool ns3::Time::IsPositive() const [member function]
2929 cls.add_method('IsPositive',
2930 'bool',
2931 [],
2932 is_const=True)
2933 ## nstime.h (module 'core'): bool ns3::Time::IsStrictlyNegative() const [member function]
2934 cls.add_method('IsStrictlyNegative',
2935 'bool',
2936 [],
2937 is_const=True)
2938 ## nstime.h (module 'core'): bool ns3::Time::IsStrictlyPositive() const [member function]
2939 cls.add_method('IsStrictlyPositive',
2940 'bool',
2941 [],
2942 is_const=True)
2943 ## nstime.h (module 'core'): bool ns3::Time::IsZero() const [member function]
2944 cls.add_method('IsZero',
2945 'bool',
2946 [],
2947 is_const=True)
2948 ## nstime.h (module 'core'): static void ns3::Time::SetResolution(ns3::Time::Unit resolution) [member function]
2949 cls.add_method('SetResolution',
2950 'void',
2951 [param('ns3::Time::Unit', 'resolution')],
2952 is_static=True)
2953 ## nstime.h (module 'core'): ns3::int64x64_t ns3::Time::To(ns3::Time::Unit timeUnit) const [member function]
2954 cls.add_method('To',
2955 'ns3::int64x64_t',
2956 [param('ns3::Time::Unit', 'timeUnit')],
2957 is_const=True)
2958 ## nstime.h (module 'core'): double ns3::Time::ToDouble(ns3::Time::Unit timeUnit) const [member function]
2959 cls.add_method('ToDouble',
2960 'double',
2961 [param('ns3::Time::Unit', 'timeUnit')],
2962 is_const=True)
2963 ## nstime.h (module 'core'): int64_t ns3::Time::ToInteger(ns3::Time::Unit timeUnit) const [member function]
2964 cls.add_method('ToInteger',
2965 'int64_t',
2966 [param('ns3::Time::Unit', 'timeUnit')],
2967 is_const=True)
2968 return
2969
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002970def register_Ns3TraceSourceAccessor_methods(root_module, cls):
2971 ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor]
2972 cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')])
2973 ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor]
2974 cls.add_constructor([])
2975 ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function]
2976 cls.add_method('Connect',
2977 'bool',
2978 [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')],
2979 is_pure_virtual=True, is_const=True, is_virtual=True)
2980 ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function]
2981 cls.add_method('ConnectWithoutContext',
2982 'bool',
2983 [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')],
2984 is_pure_virtual=True, is_const=True, is_virtual=True)
2985 ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function]
2986 cls.add_method('Disconnect',
2987 'bool',
2988 [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')],
2989 is_pure_virtual=True, is_const=True, is_virtual=True)
2990 ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function]
2991 cls.add_method('DisconnectWithoutContext',
2992 'bool',
2993 [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')],
2994 is_pure_virtual=True, is_const=True, is_virtual=True)
2995 return
2996
2997def register_Ns3Trailer_methods(root_module, cls):
2998 cls.add_output_stream_operator()
2999 ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor]
3000 cls.add_constructor([])
3001 ## trailer.h (module 'network'): ns3::Trailer::Trailer(ns3::Trailer const & arg0) [copy constructor]
3002 cls.add_constructor([param('ns3::Trailer const &', 'arg0')])
3003 ## trailer.h (module 'network'): uint32_t ns3::Trailer::Deserialize(ns3::Buffer::Iterator end) [member function]
3004 cls.add_method('Deserialize',
3005 'uint32_t',
3006 [param('ns3::Buffer::Iterator', 'end')],
3007 is_pure_virtual=True, is_virtual=True)
3008 ## trailer.h (module 'network'): uint32_t ns3::Trailer::GetSerializedSize() const [member function]
3009 cls.add_method('GetSerializedSize',
3010 'uint32_t',
3011 [],
3012 is_pure_virtual=True, is_const=True, is_virtual=True)
3013 ## trailer.h (module 'network'): static ns3::TypeId ns3::Trailer::GetTypeId() [member function]
3014 cls.add_method('GetTypeId',
3015 'ns3::TypeId',
3016 [],
3017 is_static=True)
3018 ## trailer.h (module 'network'): void ns3::Trailer::Print(std::ostream & os) const [member function]
3019 cls.add_method('Print',
3020 'void',
3021 [param('std::ostream &', 'os')],
3022 is_pure_virtual=True, is_const=True, is_virtual=True)
3023 ## trailer.h (module 'network'): void ns3::Trailer::Serialize(ns3::Buffer::Iterator start) const [member function]
3024 cls.add_method('Serialize',
3025 'void',
3026 [param('ns3::Buffer::Iterator', 'start')],
3027 is_pure_virtual=True, is_const=True, is_virtual=True)
3028 return
3029
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003030def register_Ns3Application_methods(root_module, cls):
3031 ## application.h (module 'network'): ns3::Application::Application(ns3::Application const & arg0) [copy constructor]
3032 cls.add_constructor([param('ns3::Application const &', 'arg0')])
3033 ## application.h (module 'network'): ns3::Application::Application() [constructor]
3034 cls.add_constructor([])
3035 ## application.h (module 'network'): ns3::Ptr<ns3::Node> ns3::Application::GetNode() const [member function]
3036 cls.add_method('GetNode',
3037 'ns3::Ptr< ns3::Node >',
3038 [],
3039 is_const=True)
3040 ## application.h (module 'network'): static ns3::TypeId ns3::Application::GetTypeId() [member function]
3041 cls.add_method('GetTypeId',
3042 'ns3::TypeId',
3043 [],
3044 is_static=True)
3045 ## application.h (module 'network'): void ns3::Application::SetNode(ns3::Ptr<ns3::Node> node) [member function]
3046 cls.add_method('SetNode',
3047 'void',
3048 [param('ns3::Ptr< ns3::Node >', 'node')])
3049 ## application.h (module 'network'): void ns3::Application::SetStartTime(ns3::Time start) [member function]
3050 cls.add_method('SetStartTime',
3051 'void',
3052 [param('ns3::Time', 'start')])
3053 ## application.h (module 'network'): void ns3::Application::SetStopTime(ns3::Time stop) [member function]
3054 cls.add_method('SetStopTime',
3055 'void',
3056 [param('ns3::Time', 'stop')])
3057 ## application.h (module 'network'): void ns3::Application::DoDispose() [member function]
3058 cls.add_method('DoDispose',
3059 'void',
3060 [],
3061 visibility='protected', is_virtual=True)
3062 ## application.h (module 'network'): void ns3::Application::DoStart() [member function]
3063 cls.add_method('DoStart',
3064 'void',
3065 [],
3066 visibility='protected', is_virtual=True)
3067 ## application.h (module 'network'): void ns3::Application::StartApplication() [member function]
3068 cls.add_method('StartApplication',
3069 'void',
3070 [],
Alexander Afanasyev06d3a612012-04-17 22:25:40 -07003071 visibility='private', is_virtual=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003072 ## application.h (module 'network'): void ns3::Application::StopApplication() [member function]
3073 cls.add_method('StopApplication',
3074 'void',
3075 [],
Alexander Afanasyev06d3a612012-04-17 22:25:40 -07003076 visibility='private', is_virtual=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003077 return
3078
3079def register_Ns3AttributeAccessor_methods(root_module, cls):
3080 ## attribute.h (module 'core'): ns3::AttributeAccessor::AttributeAccessor(ns3::AttributeAccessor const & arg0) [copy constructor]
3081 cls.add_constructor([param('ns3::AttributeAccessor const &', 'arg0')])
3082 ## attribute.h (module 'core'): ns3::AttributeAccessor::AttributeAccessor() [constructor]
3083 cls.add_constructor([])
3084 ## attribute.h (module 'core'): bool ns3::AttributeAccessor::Get(ns3::ObjectBase const * object, ns3::AttributeValue & attribute) const [member function]
3085 cls.add_method('Get',
3086 'bool',
3087 [param('ns3::ObjectBase const *', 'object'), param('ns3::AttributeValue &', 'attribute')],
3088 is_pure_virtual=True, is_const=True, is_virtual=True)
3089 ## attribute.h (module 'core'): bool ns3::AttributeAccessor::HasGetter() const [member function]
3090 cls.add_method('HasGetter',
3091 'bool',
3092 [],
3093 is_pure_virtual=True, is_const=True, is_virtual=True)
3094 ## attribute.h (module 'core'): bool ns3::AttributeAccessor::HasSetter() const [member function]
3095 cls.add_method('HasSetter',
3096 'bool',
3097 [],
3098 is_pure_virtual=True, is_const=True, is_virtual=True)
3099 ## attribute.h (module 'core'): bool ns3::AttributeAccessor::Set(ns3::ObjectBase * object, ns3::AttributeValue const & value) const [member function]
3100 cls.add_method('Set',
3101 'bool',
3102 [param('ns3::ObjectBase *', 'object', transfer_ownership=False), param('ns3::AttributeValue const &', 'value')],
3103 is_pure_virtual=True, is_const=True, is_virtual=True)
3104 return
3105
3106def register_Ns3AttributeChecker_methods(root_module, cls):
3107 ## attribute.h (module 'core'): ns3::AttributeChecker::AttributeChecker(ns3::AttributeChecker const & arg0) [copy constructor]
3108 cls.add_constructor([param('ns3::AttributeChecker const &', 'arg0')])
3109 ## attribute.h (module 'core'): ns3::AttributeChecker::AttributeChecker() [constructor]
3110 cls.add_constructor([])
3111 ## attribute.h (module 'core'): bool ns3::AttributeChecker::Check(ns3::AttributeValue const & value) const [member function]
3112 cls.add_method('Check',
3113 'bool',
3114 [param('ns3::AttributeValue const &', 'value')],
3115 is_pure_virtual=True, is_const=True, is_virtual=True)
3116 ## attribute.h (module 'core'): bool ns3::AttributeChecker::Copy(ns3::AttributeValue const & source, ns3::AttributeValue & destination) const [member function]
3117 cls.add_method('Copy',
3118 'bool',
3119 [param('ns3::AttributeValue const &', 'source'), param('ns3::AttributeValue &', 'destination')],
3120 is_pure_virtual=True, is_const=True, is_virtual=True)
3121 ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeChecker::Create() const [member function]
3122 cls.add_method('Create',
3123 'ns3::Ptr< ns3::AttributeValue >',
3124 [],
3125 is_pure_virtual=True, is_const=True, is_virtual=True)
3126 ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function]
3127 cls.add_method('CreateValidValue',
3128 'ns3::Ptr< ns3::AttributeValue >',
3129 [param('ns3::AttributeValue const &', 'value')],
3130 is_const=True)
3131 ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function]
3132 cls.add_method('GetUnderlyingTypeInformation',
3133 'std::string',
3134 [],
3135 is_pure_virtual=True, is_const=True, is_virtual=True)
3136 ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetValueTypeName() const [member function]
3137 cls.add_method('GetValueTypeName',
3138 'std::string',
3139 [],
3140 is_pure_virtual=True, is_const=True, is_virtual=True)
3141 ## attribute.h (module 'core'): bool ns3::AttributeChecker::HasUnderlyingTypeInformation() const [member function]
3142 cls.add_method('HasUnderlyingTypeInformation',
3143 'bool',
3144 [],
3145 is_pure_virtual=True, is_const=True, is_virtual=True)
3146 return
3147
3148def register_Ns3AttributeValue_methods(root_module, cls):
3149 ## attribute.h (module 'core'): ns3::AttributeValue::AttributeValue(ns3::AttributeValue const & arg0) [copy constructor]
3150 cls.add_constructor([param('ns3::AttributeValue const &', 'arg0')])
3151 ## attribute.h (module 'core'): ns3::AttributeValue::AttributeValue() [constructor]
3152 cls.add_constructor([])
3153 ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeValue::Copy() const [member function]
3154 cls.add_method('Copy',
3155 'ns3::Ptr< ns3::AttributeValue >',
3156 [],
3157 is_pure_virtual=True, is_const=True, is_virtual=True)
3158 ## attribute.h (module 'core'): bool ns3::AttributeValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3159 cls.add_method('DeserializeFromString',
3160 'bool',
3161 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3162 is_pure_virtual=True, is_virtual=True)
3163 ## attribute.h (module 'core'): std::string ns3::AttributeValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3164 cls.add_method('SerializeToString',
3165 'std::string',
3166 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3167 is_pure_virtual=True, is_const=True, is_virtual=True)
3168 return
3169
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08003170def register_Ns3BatchesChecker_methods(root_module, cls):
3171 ## batches.h (module 'NDNabstraction'): ns3::BatchesChecker::BatchesChecker() [constructor]
3172 cls.add_constructor([])
3173 ## batches.h (module 'NDNabstraction'): ns3::BatchesChecker::BatchesChecker(ns3::BatchesChecker const & arg0) [copy constructor]
3174 cls.add_constructor([param('ns3::BatchesChecker const &', 'arg0')])
3175 return
3176
3177def register_Ns3BatchesValue_methods(root_module, cls):
3178 ## batches.h (module 'NDNabstraction'): ns3::BatchesValue::BatchesValue() [constructor]
3179 cls.add_constructor([])
3180 ## batches.h (module 'NDNabstraction'): ns3::BatchesValue::BatchesValue(ns3::BatchesValue const & arg0) [copy constructor]
3181 cls.add_constructor([param('ns3::BatchesValue const &', 'arg0')])
3182 ## batches.h (module 'NDNabstraction'): ns3::BatchesValue::BatchesValue(ns3::Batches const & value) [constructor]
3183 cls.add_constructor([param('ns3::Batches const &', 'value')])
3184 ## batches.h (module 'NDNabstraction'): ns3::Ptr<ns3::AttributeValue> ns3::BatchesValue::Copy() const [member function]
3185 cls.add_method('Copy',
3186 'ns3::Ptr< ns3::AttributeValue >',
3187 [],
3188 is_const=True, is_virtual=True)
3189 ## batches.h (module 'NDNabstraction'): bool ns3::BatchesValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3190 cls.add_method('DeserializeFromString',
3191 'bool',
3192 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3193 is_virtual=True)
3194 ## batches.h (module 'NDNabstraction'): ns3::Batches ns3::BatchesValue::Get() const [member function]
3195 cls.add_method('Get',
3196 'ns3::Batches',
3197 [],
3198 is_const=True)
3199 ## batches.h (module 'NDNabstraction'): std::string ns3::BatchesValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3200 cls.add_method('SerializeToString',
3201 'std::string',
3202 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3203 is_const=True, is_virtual=True)
3204 ## batches.h (module 'NDNabstraction'): void ns3::BatchesValue::Set(ns3::Batches const & value) [member function]
3205 cls.add_method('Set',
3206 'void',
3207 [param('ns3::Batches const &', 'value')])
3208 return
3209
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003210def register_Ns3CallbackChecker_methods(root_module, cls):
3211 ## callback.h (module 'core'): ns3::CallbackChecker::CallbackChecker() [constructor]
3212 cls.add_constructor([])
3213 ## callback.h (module 'core'): ns3::CallbackChecker::CallbackChecker(ns3::CallbackChecker const & arg0) [copy constructor]
3214 cls.add_constructor([param('ns3::CallbackChecker const &', 'arg0')])
3215 return
3216
3217def register_Ns3CallbackImplBase_methods(root_module, cls):
3218 ## callback.h (module 'core'): ns3::CallbackImplBase::CallbackImplBase() [constructor]
3219 cls.add_constructor([])
3220 ## callback.h (module 'core'): ns3::CallbackImplBase::CallbackImplBase(ns3::CallbackImplBase const & arg0) [copy constructor]
3221 cls.add_constructor([param('ns3::CallbackImplBase const &', 'arg0')])
3222 ## callback.h (module 'core'): bool ns3::CallbackImplBase::IsEqual(ns3::Ptr<ns3::CallbackImplBase const> other) const [member function]
3223 cls.add_method('IsEqual',
3224 'bool',
3225 [param('ns3::Ptr< ns3::CallbackImplBase const >', 'other')],
3226 is_pure_virtual=True, is_const=True, is_virtual=True)
3227 return
3228
3229def register_Ns3CallbackValue_methods(root_module, cls):
3230 ## callback.h (module 'core'): ns3::CallbackValue::CallbackValue(ns3::CallbackValue const & arg0) [copy constructor]
3231 cls.add_constructor([param('ns3::CallbackValue const &', 'arg0')])
3232 ## callback.h (module 'core'): ns3::CallbackValue::CallbackValue() [constructor]
3233 cls.add_constructor([])
3234 ## callback.h (module 'core'): ns3::CallbackValue::CallbackValue(ns3::CallbackBase const & base) [constructor]
3235 cls.add_constructor([param('ns3::CallbackBase const &', 'base')])
3236 ## callback.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::CallbackValue::Copy() const [member function]
3237 cls.add_method('Copy',
3238 'ns3::Ptr< ns3::AttributeValue >',
3239 [],
3240 is_const=True, is_virtual=True)
3241 ## callback.h (module 'core'): bool ns3::CallbackValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3242 cls.add_method('DeserializeFromString',
3243 'bool',
3244 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3245 is_virtual=True)
3246 ## callback.h (module 'core'): std::string ns3::CallbackValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3247 cls.add_method('SerializeToString',
3248 'std::string',
3249 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3250 is_const=True, is_virtual=True)
3251 ## callback.h (module 'core'): void ns3::CallbackValue::Set(ns3::CallbackBase base) [member function]
3252 cls.add_method('Set',
3253 'void',
3254 [param('ns3::CallbackBase', 'base')])
3255 return
3256
3257def register_Ns3Ccnx_methods(root_module, cls):
3258 ## ccnx.h (module 'NDNabstraction'): ns3::Ccnx::Ccnx() [constructor]
3259 cls.add_constructor([])
3260 ## ccnx.h (module 'NDNabstraction'): ns3::Ccnx::Ccnx(ns3::Ccnx const & arg0) [copy constructor]
3261 cls.add_constructor([param('ns3::Ccnx const &', 'arg0')])
3262 ## ccnx.h (module 'NDNabstraction'): uint32_t ns3::Ccnx::AddFace(ns3::Ptr<ns3::CcnxFace> const & face) [member function]
3263 cls.add_method('AddFace',
3264 'uint32_t',
3265 [param('ns3::Ptr< ns3::CcnxFace > const &', 'face')],
3266 is_pure_virtual=True, is_virtual=True)
3267 ## ccnx.h (module 'NDNabstraction'): ns3::Ptr<ns3::CcnxFace> ns3::Ccnx::GetFace(uint32_t face) const [member function]
3268 cls.add_method('GetFace',
3269 'ns3::Ptr< ns3::CcnxFace >',
3270 [param('uint32_t', 'face')],
3271 is_pure_virtual=True, is_const=True, is_virtual=True)
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003272 ## ccnx.h (module 'NDNabstraction'): ns3::Ptr<ns3::CcnxFace> ns3::Ccnx::GetFaceByNetDevice(ns3::Ptr<ns3::NetDevice> netDevice) const [member function]
3273 cls.add_method('GetFaceByNetDevice',
3274 'ns3::Ptr< ns3::CcnxFace >',
3275 [param('ns3::Ptr< ns3::NetDevice >', 'netDevice')],
3276 is_pure_virtual=True, is_const=True, is_virtual=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003277 ## ccnx.h (module 'NDNabstraction'): ns3::Ptr<ns3::CcnxForwardingStrategy> ns3::Ccnx::GetForwardingStrategy() const [member function]
3278 cls.add_method('GetForwardingStrategy',
3279 'ns3::Ptr< ns3::CcnxForwardingStrategy >',
3280 [],
3281 is_pure_virtual=True, is_const=True, is_virtual=True)
3282 ## ccnx.h (module 'NDNabstraction'): uint32_t ns3::Ccnx::GetNFaces() const [member function]
3283 cls.add_method('GetNFaces',
3284 'uint32_t',
3285 [],
3286 is_pure_virtual=True, is_const=True, is_virtual=True)
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07003287 ## ccnx.h (module 'NDNabstraction'): ns3::Ptr<ns3::CcnxPit> ns3::Ccnx::GetPit() const [member function]
3288 cls.add_method('GetPit',
3289 'ns3::Ptr< ns3::CcnxPit >',
3290 [],
3291 is_pure_virtual=True, is_const=True, is_virtual=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003292 ## ccnx.h (module 'NDNabstraction'): static ns3::TypeId ns3::Ccnx::GetTypeId() [member function]
3293 cls.add_method('GetTypeId',
3294 'ns3::TypeId',
3295 [],
3296 is_static=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003297 ## ccnx.h (module 'NDNabstraction'): void ns3::Ccnx::RemoveFace(ns3::Ptr<ns3::CcnxFace> face) [member function]
3298 cls.add_method('RemoveFace',
3299 'void',
3300 [param('ns3::Ptr< ns3::CcnxFace >', 'face')],
3301 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003302 ## ccnx.h (module 'NDNabstraction'): void ns3::Ccnx::SetForwardingStrategy(ns3::Ptr<ns3::CcnxForwardingStrategy> forwardingStrategy) [member function]
3303 cls.add_method('SetForwardingStrategy',
3304 'void',
3305 [param('ns3::Ptr< ns3::CcnxForwardingStrategy >', 'forwardingStrategy')],
3306 is_pure_virtual=True, is_virtual=True)
3307 return
3308
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003309def register_Ns3CcnxApp_methods(root_module, cls):
3310 ## ccnx-app.h (module 'NDNabstraction'): ns3::CcnxApp::CcnxApp(ns3::CcnxApp const & arg0) [copy constructor]
3311 cls.add_constructor([param('ns3::CcnxApp const &', 'arg0')])
3312 ## ccnx-app.h (module 'NDNabstraction'): ns3::CcnxApp::CcnxApp() [constructor]
3313 cls.add_constructor([])
3314 ## ccnx-app.h (module 'NDNabstraction'): static ns3::TypeId ns3::CcnxApp::GetTypeId() [member function]
3315 cls.add_method('GetTypeId',
3316 'ns3::TypeId',
3317 [],
3318 is_static=True)
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08003319 ## ccnx-app.h (module 'NDNabstraction'): void ns3::CcnxApp::OnContentObject(ns3::Ptr<const ns3::CcnxContentObjectHeader> const & contentObject, ns3::Ptr<ns3::Packet> payload) [member function]
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003320 cls.add_method('OnContentObject',
3321 'void',
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08003322 [param('ns3::Ptr< ns3::CcnxContentObjectHeader const > const &', 'contentObject'), param('ns3::Ptr< ns3::Packet >', 'payload')],
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003323 is_virtual=True)
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08003324 ## ccnx-app.h (module 'NDNabstraction'): void ns3::CcnxApp::OnInterest(ns3::Ptr<const ns3::CcnxInterestHeader> const & interest, ns3::Ptr<ns3::Packet> packet) [member function]
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003325 cls.add_method('OnInterest',
3326 'void',
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08003327 [param('ns3::Ptr< ns3::CcnxInterestHeader const > const &', 'interest'), param('ns3::Ptr< ns3::Packet >', 'packet')],
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003328 is_virtual=True)
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08003329 ## ccnx-app.h (module 'NDNabstraction'): void ns3::CcnxApp::OnNack(ns3::Ptr<const ns3::CcnxInterestHeader> const & interest, ns3::Ptr<ns3::Packet> packet) [member function]
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003330 cls.add_method('OnNack',
3331 'void',
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08003332 [param('ns3::Ptr< ns3::CcnxInterestHeader const > const &', 'interest'), param('ns3::Ptr< ns3::Packet >', 'packet')],
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003333 is_virtual=True)
3334 ## ccnx-app.h (module 'NDNabstraction'): void ns3::CcnxApp::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]
3335 cls.add_method('RegisterProtocolHandler',
3336 'void',
3337 [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')])
3338 ## ccnx-app.h (module 'NDNabstraction'): void ns3::CcnxApp::DoDispose() [member function]
3339 cls.add_method('DoDispose',
3340 'void',
3341 [],
3342 visibility='protected', is_virtual=True)
3343 ## ccnx-app.h (module 'NDNabstraction'): void ns3::CcnxApp::StartApplication() [member function]
3344 cls.add_method('StartApplication',
3345 'void',
3346 [],
3347 visibility='protected', is_virtual=True)
3348 ## ccnx-app.h (module 'NDNabstraction'): void ns3::CcnxApp::StopApplication() [member function]
3349 cls.add_method('StopApplication',
3350 'void',
3351 [],
3352 visibility='protected', is_virtual=True)
3353 return
3354
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003355def register_Ns3CcnxContentObjectHeader_methods(root_module, cls):
3356 ## ccnx-content-object-header.h (module 'NDNabstraction'): ns3::CcnxContentObjectHeader::CcnxContentObjectHeader(ns3::CcnxContentObjectHeader const & arg0) [copy constructor]
3357 cls.add_constructor([param('ns3::CcnxContentObjectHeader const &', 'arg0')])
3358 ## ccnx-content-object-header.h (module 'NDNabstraction'): ns3::CcnxContentObjectHeader::CcnxContentObjectHeader() [constructor]
3359 cls.add_constructor([])
3360 ## ccnx-content-object-header.h (module 'NDNabstraction'): uint32_t ns3::CcnxContentObjectHeader::Deserialize(ns3::Buffer::Iterator start) [member function]
3361 cls.add_method('Deserialize',
3362 'uint32_t',
3363 [param('ns3::Buffer::Iterator', 'start')],
3364 is_virtual=True)
Alexander Afanasyev9568f952012-04-05 16:09:14 -07003365 ## ccnx-content-object-header.h (module 'NDNabstraction'): ns3::Time ns3::CcnxContentObjectHeader::GetFreshness() const [member function]
3366 cls.add_method('GetFreshness',
3367 'ns3::Time',
3368 [],
3369 is_const=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003370 ## ccnx-content-object-header.h (module 'NDNabstraction'): ns3::TypeId ns3::CcnxContentObjectHeader::GetInstanceTypeId() const [member function]
3371 cls.add_method('GetInstanceTypeId',
3372 'ns3::TypeId',
3373 [],
3374 is_const=True, is_virtual=True)
3375 ## ccnx-content-object-header.h (module 'NDNabstraction'): ns3::CcnxNameComponents const & ns3::CcnxContentObjectHeader::GetName() const [member function]
3376 cls.add_method('GetName',
3377 'ns3::CcnxNameComponents const &',
3378 [],
3379 is_const=True)
3380 ## ccnx-content-object-header.h (module 'NDNabstraction'): uint32_t ns3::CcnxContentObjectHeader::GetSerializedSize() const [member function]
3381 cls.add_method('GetSerializedSize',
3382 'uint32_t',
3383 [],
3384 is_const=True, is_virtual=True)
Alexander Afanasyev9568f952012-04-05 16:09:14 -07003385 ## ccnx-content-object-header.h (module 'NDNabstraction'): ns3::Time ns3::CcnxContentObjectHeader::GetTimestamp() const [member function]
3386 cls.add_method('GetTimestamp',
3387 'ns3::Time',
3388 [],
3389 is_const=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003390 ## ccnx-content-object-header.h (module 'NDNabstraction'): static ns3::TypeId ns3::CcnxContentObjectHeader::GetTypeId() [member function]
3391 cls.add_method('GetTypeId',
3392 'ns3::TypeId',
3393 [],
3394 is_static=True)
3395 ## ccnx-content-object-header.h (module 'NDNabstraction'): void ns3::CcnxContentObjectHeader::Print(std::ostream & os) const [member function]
3396 cls.add_method('Print',
3397 'void',
3398 [param('std::ostream &', 'os')],
3399 is_const=True, is_virtual=True)
3400 ## ccnx-content-object-header.h (module 'NDNabstraction'): void ns3::CcnxContentObjectHeader::Serialize(ns3::Buffer::Iterator start) const [member function]
3401 cls.add_method('Serialize',
3402 'void',
3403 [param('ns3::Buffer::Iterator', 'start')],
3404 is_const=True, is_virtual=True)
Alexander Afanasyev9568f952012-04-05 16:09:14 -07003405 ## ccnx-content-object-header.h (module 'NDNabstraction'): void ns3::CcnxContentObjectHeader::SetFreshness(ns3::Time const & freshness) [member function]
3406 cls.add_method('SetFreshness',
3407 'void',
3408 [param('ns3::Time const &', 'freshness')])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003409 ## ccnx-content-object-header.h (module 'NDNabstraction'): void ns3::CcnxContentObjectHeader::SetName(ns3::Ptr<ns3::CcnxNameComponents> const & name) [member function]
3410 cls.add_method('SetName',
3411 'void',
3412 [param('ns3::Ptr< ns3::CcnxNameComponents > const &', 'name')])
Alexander Afanasyev9568f952012-04-05 16:09:14 -07003413 ## ccnx-content-object-header.h (module 'NDNabstraction'): void ns3::CcnxContentObjectHeader::SetTimestamp(ns3::Time const & timestamp) [member function]
3414 cls.add_method('SetTimestamp',
3415 'void',
3416 [param('ns3::Time const &', 'timestamp')])
3417 return
3418
3419def register_Ns3CcnxContentObjectHeaderSignedInfo_methods(root_module, cls):
3420 ## ccnx-content-object-header.h (module 'NDNabstraction'): ns3::CcnxContentObjectHeader::SignedInfo::SignedInfo() [constructor]
3421 cls.add_constructor([])
3422 ## ccnx-content-object-header.h (module 'NDNabstraction'): ns3::CcnxContentObjectHeader::SignedInfo::SignedInfo(ns3::CcnxContentObjectHeader::SignedInfo const & arg0) [copy constructor]
3423 cls.add_constructor([param('ns3::CcnxContentObjectHeader::SignedInfo const &', 'arg0')])
3424 ## ccnx-content-object-header.h (module 'NDNabstraction'): ns3::CcnxContentObjectHeader::SignedInfo::m_freshness [variable]
3425 cls.add_instance_attribute('m_freshness', 'ns3::Time', is_const=False)
3426 ## ccnx-content-object-header.h (module 'NDNabstraction'): ns3::CcnxContentObjectHeader::SignedInfo::m_timestamp [variable]
3427 cls.add_instance_attribute('m_timestamp', 'ns3::Time', is_const=False)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003428 return
3429
3430def register_Ns3CcnxContentObjectTail_methods(root_module, cls):
3431 ## ccnx-content-object-header.h (module 'NDNabstraction'): ns3::CcnxContentObjectTail::CcnxContentObjectTail(ns3::CcnxContentObjectTail const & arg0) [copy constructor]
3432 cls.add_constructor([param('ns3::CcnxContentObjectTail const &', 'arg0')])
3433 ## ccnx-content-object-header.h (module 'NDNabstraction'): ns3::CcnxContentObjectTail::CcnxContentObjectTail() [constructor]
3434 cls.add_constructor([])
3435 ## ccnx-content-object-header.h (module 'NDNabstraction'): uint32_t ns3::CcnxContentObjectTail::Deserialize(ns3::Buffer::Iterator start) [member function]
3436 cls.add_method('Deserialize',
3437 'uint32_t',
3438 [param('ns3::Buffer::Iterator', 'start')],
3439 is_virtual=True)
3440 ## ccnx-content-object-header.h (module 'NDNabstraction'): ns3::TypeId ns3::CcnxContentObjectTail::GetInstanceTypeId() const [member function]
3441 cls.add_method('GetInstanceTypeId',
3442 'ns3::TypeId',
3443 [],
3444 is_const=True, is_virtual=True)
3445 ## ccnx-content-object-header.h (module 'NDNabstraction'): uint32_t ns3::CcnxContentObjectTail::GetSerializedSize() const [member function]
3446 cls.add_method('GetSerializedSize',
3447 'uint32_t',
3448 [],
3449 is_const=True, is_virtual=True)
3450 ## ccnx-content-object-header.h (module 'NDNabstraction'): static ns3::TypeId ns3::CcnxContentObjectTail::GetTypeId() [member function]
3451 cls.add_method('GetTypeId',
3452 'ns3::TypeId',
3453 [],
3454 is_static=True)
3455 ## ccnx-content-object-header.h (module 'NDNabstraction'): void ns3::CcnxContentObjectTail::Print(std::ostream & os) const [member function]
3456 cls.add_method('Print',
3457 'void',
3458 [param('std::ostream &', 'os')],
3459 is_const=True, is_virtual=True)
3460 ## ccnx-content-object-header.h (module 'NDNabstraction'): void ns3::CcnxContentObjectTail::Serialize(ns3::Buffer::Iterator start) const [member function]
3461 cls.add_method('Serialize',
3462 'void',
3463 [param('ns3::Buffer::Iterator', 'start')],
3464 is_const=True, is_virtual=True)
3465 return
3466
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003467def register_Ns3CcnxFace_methods(root_module, cls):
3468 cls.add_output_stream_operator()
3469 cls.add_binary_comparison_operator('<')
3470 cls.add_binary_comparison_operator('==')
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003471 ## ccnx-face.h (module 'NDNabstraction'): ns3::CcnxFace::CcnxFace(ns3::Ptr<ns3::Node> node) [constructor]
3472 cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node')])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003473 ## ccnx-face.h (module 'NDNabstraction'): uint32_t ns3::CcnxFace::GetId() const [member function]
3474 cls.add_method('GetId',
3475 'uint32_t',
3476 [],
3477 is_const=True)
Alexander Afanasyev8e0d2812012-01-19 22:38:14 -08003478 ## ccnx-face.h (module 'NDNabstraction'): uint16_t ns3::CcnxFace::GetMetric() const [member function]
3479 cls.add_method('GetMetric',
3480 'uint16_t',
3481 [],
3482 is_const=True, is_virtual=True)
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08003483 ## ccnx-face.h (module 'NDNabstraction'): ns3::Ptr<ns3::Node> ns3::CcnxFace::GetNode() const [member function]
3484 cls.add_method('GetNode',
3485 'ns3::Ptr< ns3::Node >',
3486 [],
3487 is_const=True)
Alexander Afanasyev53872ce2011-12-16 13:17:18 -08003488 ## ccnx-face.h (module 'NDNabstraction'): static ns3::TypeId ns3::CcnxFace::GetTypeId() [member function]
3489 cls.add_method('GetTypeId',
3490 'ns3::TypeId',
3491 [],
3492 is_static=True)
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003493 ## ccnx-face.h (module 'NDNabstraction'): bool ns3::CcnxFace::IsBelowLimit() [member function]
3494 cls.add_method('IsBelowLimit',
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003495 'bool',
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003496 [])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003497 ## ccnx-face.h (module 'NDNabstraction'): bool ns3::CcnxFace::IsUp() const [member function]
3498 cls.add_method('IsUp',
3499 'bool',
3500 [],
3501 is_const=True, is_virtual=True)
Alexander Afanasyev4975f732011-12-20 17:52:19 -08003502 ## ccnx-face.h (module 'NDNabstraction'): void ns3::CcnxFace::LeakBucket() [member function]
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003503 cls.add_method('LeakBucket',
3504 'void',
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003505 [])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003506 ## ccnx-face.h (module 'NDNabstraction'): std::ostream & ns3::CcnxFace::Print(std::ostream & os) const [member function]
3507 cls.add_method('Print',
3508 'std::ostream &',
3509 [param('std::ostream &', 'os')],
3510 is_const=True, is_virtual=True)
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003511 ## ccnx-face.h (module 'NDNabstraction'): bool ns3::CcnxFace::Receive(ns3::Ptr<const ns3::Packet> const & p) [member function]
3512 cls.add_method('Receive',
3513 'bool',
3514 [param('ns3::Ptr< ns3::Packet const > const &', 'p')])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003515 ## ccnx-face.h (module 'NDNabstraction'): void ns3::CcnxFace::RegisterProtocolHandler(ns3::Callback<void, ns3::Ptr<ns3::CcnxFace> const&, ns3::Ptr<ns3::Packet const> const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> handler) [member function]
3516 cls.add_method('RegisterProtocolHandler',
3517 'void',
3518 [param('ns3::Callback< void, ns3::Ptr< ns3::CcnxFace >, ns3::Ptr< ns3::Packet const >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'handler')],
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003519 is_virtual=True)
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003520 ## ccnx-face.h (module 'NDNabstraction'): bool ns3::CcnxFace::Send(ns3::Ptr<ns3::Packet> p) [member function]
3521 cls.add_method('Send',
3522 'bool',
3523 [param('ns3::Ptr< ns3::Packet >', 'p')])
3524 ## ccnx-face.h (module 'NDNabstraction'): void ns3::CcnxFace::SetBucketLeak(double leak) [member function]
3525 cls.add_method('SetBucketLeak',
3526 'void',
3527 [param('double', 'leak')])
3528 ## ccnx-face.h (module 'NDNabstraction'): void ns3::CcnxFace::SetBucketMax(double bucket) [member function]
3529 cls.add_method('SetBucketMax',
3530 'void',
3531 [param('double', 'bucket')])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003532 ## ccnx-face.h (module 'NDNabstraction'): void ns3::CcnxFace::SetId(uint32_t id) [member function]
3533 cls.add_method('SetId',
3534 'void',
3535 [param('uint32_t', 'id')])
Alexander Afanasyev8e0d2812012-01-19 22:38:14 -08003536 ## ccnx-face.h (module 'NDNabstraction'): void ns3::CcnxFace::SetMetric(uint16_t metric) [member function]
3537 cls.add_method('SetMetric',
3538 'void',
3539 [param('uint16_t', 'metric')],
3540 is_virtual=True)
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003541 ## ccnx-face.h (module 'NDNabstraction'): void ns3::CcnxFace::SetUp(bool up=true) [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003542 cls.add_method('SetUp',
3543 'void',
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003544 [param('bool', 'up', default_value='true')],
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003545 is_virtual=True)
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003546 ## ccnx-face.h (module 'NDNabstraction'): void ns3::CcnxFace::SendImpl(ns3::Ptr<ns3::Packet> p) [member function]
3547 cls.add_method('SendImpl',
3548 'void',
3549 [param('ns3::Ptr< ns3::Packet >', 'p')],
3550 is_pure_virtual=True, visibility='protected', is_virtual=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003551 return
3552
3553def register_Ns3CcnxFaceContainer_methods(root_module, cls):
3554 ## ccnx-face-container.h (module 'NDNabstraction'): ns3::CcnxFaceContainer::CcnxFaceContainer() [constructor]
3555 cls.add_constructor([])
3556 ## ccnx-face-container.h (module 'NDNabstraction'): ns3::CcnxFaceContainer::CcnxFaceContainer(ns3::CcnxFaceContainer const & other) [copy constructor]
3557 cls.add_constructor([param('ns3::CcnxFaceContainer const &', 'other')])
3558 ## ccnx-face-container.h (module 'NDNabstraction'): void ns3::CcnxFaceContainer::Add(ns3::Ptr<ns3::CcnxFace> const & face) [member function]
3559 cls.add_method('Add',
3560 'void',
3561 [param('ns3::Ptr< ns3::CcnxFace > const &', 'face')])
3562 ## ccnx-face-container.h (module 'NDNabstraction'): void ns3::CcnxFaceContainer::AddAll(ns3::Ptr<ns3::CcnxFaceContainer> other) [member function]
3563 cls.add_method('AddAll',
3564 'void',
3565 [param('ns3::Ptr< ns3::CcnxFaceContainer >', 'other')])
3566 ## ccnx-face-container.h (module 'NDNabstraction'): void ns3::CcnxFaceContainer::AddAll(ns3::CcnxFaceContainer const & other) [member function]
3567 cls.add_method('AddAll',
3568 'void',
3569 [param('ns3::CcnxFaceContainer const &', 'other')])
3570 ## ccnx-face-container.h (module 'NDNabstraction'): __gnu_cxx::__normal_iterator<const ns3::Ptr<ns3::CcnxFace>*,std::vector<ns3::Ptr<ns3::CcnxFace>, std::allocator<ns3::Ptr<ns3::CcnxFace> > > > ns3::CcnxFaceContainer::Begin() const [member function]
3571 cls.add_method('Begin',
3572 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::CcnxFace > const, std::vector< ns3::Ptr< ns3::CcnxFace > > >',
3573 [],
3574 is_const=True)
3575 ## ccnx-face-container.h (module 'NDNabstraction'): __gnu_cxx::__normal_iterator<const ns3::Ptr<ns3::CcnxFace>*,std::vector<ns3::Ptr<ns3::CcnxFace>, std::allocator<ns3::Ptr<ns3::CcnxFace> > > > ns3::CcnxFaceContainer::End() const [member function]
3576 cls.add_method('End',
3577 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::CcnxFace > const, std::vector< ns3::Ptr< ns3::CcnxFace > > >',
3578 [],
3579 is_const=True)
3580 ## ccnx-face-container.h (module 'NDNabstraction'): ns3::Ptr<ns3::CcnxFace> ns3::CcnxFaceContainer::Get(__gnu_cxx::__normal_iterator<const ns3::Ptr<ns3::CcnxFace>*,std::vector<ns3::Ptr<ns3::CcnxFace>, std::allocator<ns3::Ptr<ns3::CcnxFace> > > > i) const [member function]
3581 cls.add_method('Get',
3582 'ns3::Ptr< ns3::CcnxFace >',
3583 [param('__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::CcnxFace > const, std::vector< ns3::Ptr< ns3::CcnxFace > > >', 'i')],
3584 is_const=True)
3585 ## ccnx-face-container.h (module 'NDNabstraction'): uint32_t ns3::CcnxFaceContainer::GetN() const [member function]
3586 cls.add_method('GetN',
3587 'uint32_t',
3588 [],
3589 is_const=True)
3590 return
3591
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003592def register_Ns3CcnxFib_methods(root_module, cls):
3593 cls.add_output_stream_operator()
3594 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFib::CcnxFib() [constructor]
3595 cls.add_constructor([])
3596 ## ccnx-fib.h (module 'NDNabstraction'): boost::multi_index::detail::hashed_index_iterator<boost::multi_index::detail::hashed_index_node<boost::multi_index::detail::random_access_index_node<boost::multi_index::detail::index_node_base<ns3::CcnxFibEntry, std::allocator<ns3::CcnxFibEntry> > > >,boost::multi_index::detail::bucket_array<std::allocator<ns3::CcnxFibEntry> > > ns3::CcnxFib::Add(ns3::CcnxNameComponents const & prefix, ns3::Ptr<ns3::CcnxFace> face, int32_t metric) [member function]
3597 cls.add_method('Add',
3598 'boost::multi_index::detail::hashed_index_iterator< boost::multi_index::detail::hashed_index_node< boost::multi_index::detail::random_access_index_node< boost::multi_index::detail::index_node_base< ns3::CcnxFibEntry, std::allocator< ns3::CcnxFibEntry > > > >, boost::multi_index::detail::bucket_array< std::allocator< ns3::CcnxFibEntry > > >',
3599 [param('ns3::CcnxNameComponents const &', 'prefix'), param('ns3::Ptr< ns3::CcnxFace >', 'face'), param('int32_t', 'metric')])
Alexander Afanasyev8e2f1122012-04-17 15:01:11 -07003600 ## ccnx-fib.h (module 'NDNabstraction'): boost::multi_index::detail::hashed_index_iterator<boost::multi_index::detail::hashed_index_node<boost::multi_index::detail::random_access_index_node<boost::multi_index::detail::index_node_base<ns3::CcnxFibEntry, std::allocator<ns3::CcnxFibEntry> > > >,boost::multi_index::detail::bucket_array<std::allocator<ns3::CcnxFibEntry> > > ns3::CcnxFib::Add(ns3::Ptr<ns3::CcnxNameComponents const> const & prefix, ns3::Ptr<ns3::CcnxFace> face, int32_t metric) [member function]
3601 cls.add_method('Add',
3602 'boost::multi_index::detail::hashed_index_iterator< boost::multi_index::detail::hashed_index_node< boost::multi_index::detail::random_access_index_node< boost::multi_index::detail::index_node_base< ns3::CcnxFibEntry, std::allocator< ns3::CcnxFibEntry > > > >, boost::multi_index::detail::bucket_array< std::allocator< ns3::CcnxFibEntry > > >',
3603 [param('ns3::Ptr< ns3::CcnxNameComponents const > const &', 'prefix'), param('ns3::Ptr< ns3::CcnxFace >', 'face'), param('int32_t', 'metric')])
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003604 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFibEntry const & ns3::CcnxFib::GetCcnxFibEntry(uint32_t index) [member function]
3605 cls.add_method('GetCcnxFibEntry',
3606 'ns3::CcnxFibEntry const &',
3607 [param('uint32_t', 'index')])
3608 ## ccnx-fib.h (module 'NDNabstraction'): uint32_t ns3::CcnxFib::GetCcnxFibEntryCount() const [member function]
3609 cls.add_method('GetCcnxFibEntryCount',
3610 'uint32_t',
3611 [],
3612 is_const=True)
3613 ## ccnx-fib.h (module 'NDNabstraction'): static ns3::TypeId ns3::CcnxFib::GetTypeId() [member function]
3614 cls.add_method('GetTypeId',
3615 'ns3::TypeId',
3616 [],
3617 is_static=True)
Alexander Afanasyev8e2f1122012-04-17 15:01:11 -07003618 ## ccnx-fib.h (module 'NDNabstraction'): void ns3::CcnxFib::Invalidate(ns3::Ptr<ns3::CcnxNameComponents const> const & prefix) [member function]
3619 cls.add_method('Invalidate',
3620 'void',
3621 [param('ns3::Ptr< ns3::CcnxNameComponents const > const &', 'prefix')])
3622 ## ccnx-fib.h (module 'NDNabstraction'): void ns3::CcnxFib::InvalidateAll() [member function]
3623 cls.add_method('InvalidateAll',
3624 'void',
3625 [])
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003626 ## ccnx-fib.h (module 'NDNabstraction'): boost::multi_index::detail::hashed_index_iterator<boost::multi_index::detail::hashed_index_node<boost::multi_index::detail::random_access_index_node<boost::multi_index::detail::index_node_base<ns3::CcnxFibEntry, std::allocator<ns3::CcnxFibEntry> > > >,boost::multi_index::detail::bucket_array<std::allocator<ns3::CcnxFibEntry> > > ns3::CcnxFib::LongestPrefixMatch(ns3::CcnxInterestHeader const & interest) const [member function]
3627 cls.add_method('LongestPrefixMatch',
3628 'boost::multi_index::detail::hashed_index_iterator< boost::multi_index::detail::hashed_index_node< boost::multi_index::detail::random_access_index_node< boost::multi_index::detail::index_node_base< ns3::CcnxFibEntry, std::allocator< ns3::CcnxFibEntry > > > >, boost::multi_index::detail::bucket_array< std::allocator< ns3::CcnxFibEntry > > >',
3629 [param('ns3::CcnxInterestHeader const &', 'interest')],
3630 is_const=True)
Alexander Afanasyev8e2f1122012-04-17 15:01:11 -07003631 ## ccnx-fib.h (module 'NDNabstraction'): void ns3::CcnxFib::Remove(ns3::Ptr<ns3::CcnxNameComponents const> const & prefix) [member function]
3632 cls.add_method('Remove',
3633 'void',
3634 [param('ns3::Ptr< ns3::CcnxNameComponents const > const &', 'prefix')])
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003635 ## ccnx-fib.h (module 'NDNabstraction'): void ns3::CcnxFib::Remove(ns3::CcnxFibEntry const & entry, ns3::Ptr<ns3::CcnxFace> face) [member function]
3636 cls.add_method('Remove',
3637 'void',
3638 [param('ns3::CcnxFibEntry const &', 'entry'), param('ns3::Ptr< ns3::CcnxFace >', 'face')])
3639 ## ccnx-fib.h (module 'NDNabstraction'): void ns3::CcnxFib::RemoveFromAll(ns3::Ptr<ns3::CcnxFace> face) [member function]
3640 cls.add_method('RemoveFromAll',
3641 'void',
3642 [param('ns3::Ptr< ns3::CcnxFace >', 'face')])
3643 ## ccnx-fib.h (module 'NDNabstraction'): ns3::CcnxFib::m_fib [variable]
3644 cls.add_instance_attribute('m_fib', 'boost::multi_index::multi_index_container< ns3::CcnxFibEntry, boost::multi_index::indexed_by< boost::multi_index::hashed_unique< boost::multi_index::tag< ns3::__ccnx_private::i_prefix, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na >, boost::multi_index::const_mem_fun< ns3::CcnxFibEntry, ns3::CcnxNameComponents const &, & ( ns3::CcnxFibEntry::GetPrefix ( ) const ) >, ns3::CcnxPrefixHash, mpl_::na >, boost::multi_index::random_access< boost::multi_index::tag< ns3::__ccnx_private::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, mpl_::na >, std::allocator< ns3::CcnxFibEntry > >', is_const=False)
3645 ## ccnx-fib.h (module 'NDNabstraction'): void ns3::CcnxFib::DoDispose() [member function]
3646 cls.add_method('DoDispose',
3647 'void',
3648 [],
3649 visibility='protected', is_virtual=True)
3650 ## ccnx-fib.h (module 'NDNabstraction'): void ns3::CcnxFib::NotifyNewAggregate() [member function]
3651 cls.add_method('NotifyNewAggregate',
3652 'void',
3653 [],
3654 visibility='protected', is_virtual=True)
3655 return
3656
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003657def register_Ns3CcnxInterestHeader_methods(root_module, cls):
3658 ## ccnx-interest-header.h (module 'NDNabstraction'): ns3::CcnxInterestHeader::CcnxInterestHeader(ns3::CcnxInterestHeader const & arg0) [copy constructor]
3659 cls.add_constructor([param('ns3::CcnxInterestHeader const &', 'arg0')])
3660 ## ccnx-interest-header.h (module 'NDNabstraction'): ns3::CcnxInterestHeader::CcnxInterestHeader() [constructor]
3661 cls.add_constructor([])
3662 ## ccnx-interest-header.h (module 'NDNabstraction'): uint32_t ns3::CcnxInterestHeader::Deserialize(ns3::Buffer::Iterator start) [member function]
3663 cls.add_method('Deserialize',
3664 'uint32_t',
3665 [param('ns3::Buffer::Iterator', 'start')],
3666 is_virtual=True)
3667 ## ccnx-interest-header.h (module 'NDNabstraction'): ns3::CcnxNameComponents const & ns3::CcnxInterestHeader::GetExclude() const [member function]
3668 cls.add_method('GetExclude',
3669 'ns3::CcnxNameComponents const &',
3670 [],
3671 is_const=True)
3672 ## ccnx-interest-header.h (module 'NDNabstraction'): ns3::TypeId ns3::CcnxInterestHeader::GetInstanceTypeId() const [member function]
3673 cls.add_method('GetInstanceTypeId',
3674 'ns3::TypeId',
3675 [],
3676 is_const=True, is_virtual=True)
3677 ## ccnx-interest-header.h (module 'NDNabstraction'): ns3::Time ns3::CcnxInterestHeader::GetInterestLifetime() const [member function]
3678 cls.add_method('GetInterestLifetime',
3679 'ns3::Time',
3680 [],
3681 is_const=True)
3682 ## ccnx-interest-header.h (module 'NDNabstraction'): int32_t ns3::CcnxInterestHeader::GetMaxSuffixComponents() const [member function]
3683 cls.add_method('GetMaxSuffixComponents',
3684 'int32_t',
3685 [],
3686 is_const=True)
3687 ## ccnx-interest-header.h (module 'NDNabstraction'): int32_t ns3::CcnxInterestHeader::GetMinSuffixComponents() const [member function]
3688 cls.add_method('GetMinSuffixComponents',
3689 'int32_t',
3690 [],
3691 is_const=True)
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003692 ## ccnx-interest-header.h (module 'NDNabstraction'): uint32_t ns3::CcnxInterestHeader::GetNack() const [member function]
3693 cls.add_method('GetNack',
3694 'uint32_t',
3695 [],
3696 is_const=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003697 ## ccnx-interest-header.h (module 'NDNabstraction'): ns3::CcnxNameComponents const & ns3::CcnxInterestHeader::GetName() const [member function]
3698 cls.add_method('GetName',
3699 'ns3::CcnxNameComponents const &',
3700 [],
3701 is_const=True)
3702 ## ccnx-interest-header.h (module 'NDNabstraction'): uint32_t ns3::CcnxInterestHeader::GetNonce() const [member function]
3703 cls.add_method('GetNonce',
3704 'uint32_t',
3705 [],
3706 is_const=True)
3707 ## ccnx-interest-header.h (module 'NDNabstraction'): int8_t ns3::CcnxInterestHeader::GetScope() const [member function]
3708 cls.add_method('GetScope',
3709 'int8_t',
3710 [],
3711 is_const=True)
3712 ## ccnx-interest-header.h (module 'NDNabstraction'): uint32_t ns3::CcnxInterestHeader::GetSerializedSize() const [member function]
3713 cls.add_method('GetSerializedSize',
3714 'uint32_t',
3715 [],
3716 is_const=True, is_virtual=True)
3717 ## ccnx-interest-header.h (module 'NDNabstraction'): static ns3::TypeId ns3::CcnxInterestHeader::GetTypeId() [member function]
3718 cls.add_method('GetTypeId',
3719 'ns3::TypeId',
3720 [],
3721 is_static=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003722 ## ccnx-interest-header.h (module 'NDNabstraction'): bool ns3::CcnxInterestHeader::IsEnabledAnswerOriginKind() const [member function]
3723 cls.add_method('IsEnabledAnswerOriginKind',
3724 'bool',
3725 [],
3726 is_const=True)
3727 ## ccnx-interest-header.h (module 'NDNabstraction'): bool ns3::CcnxInterestHeader::IsEnabledChildSelector() const [member function]
3728 cls.add_method('IsEnabledChildSelector',
3729 'bool',
3730 [],
3731 is_const=True)
3732 ## ccnx-interest-header.h (module 'NDNabstraction'): bool ns3::CcnxInterestHeader::IsEnabledExclude() const [member function]
3733 cls.add_method('IsEnabledExclude',
3734 'bool',
3735 [],
3736 is_const=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003737 ## ccnx-interest-header.h (module 'NDNabstraction'): void ns3::CcnxInterestHeader::Print(std::ostream & os) const [member function]
3738 cls.add_method('Print',
3739 'void',
3740 [param('std::ostream &', 'os')],
3741 is_const=True, is_virtual=True)
3742 ## ccnx-interest-header.h (module 'NDNabstraction'): void ns3::CcnxInterestHeader::Serialize(ns3::Buffer::Iterator start) const [member function]
3743 cls.add_method('Serialize',
3744 'void',
3745 [param('ns3::Buffer::Iterator', 'start')],
3746 is_const=True, is_virtual=True)
3747 ## ccnx-interest-header.h (module 'NDNabstraction'): void ns3::CcnxInterestHeader::SetAnswerOriginKind(bool value) [member function]
3748 cls.add_method('SetAnswerOriginKind',
3749 'void',
3750 [param('bool', 'value')])
3751 ## ccnx-interest-header.h (module 'NDNabstraction'): void ns3::CcnxInterestHeader::SetChildSelector(bool value) [member function]
3752 cls.add_method('SetChildSelector',
3753 'void',
3754 [param('bool', 'value')])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003755 ## ccnx-interest-header.h (module 'NDNabstraction'): void ns3::CcnxInterestHeader::SetExclude(ns3::Ptr<ns3::CcnxNameComponents> const & exclude) [member function]
3756 cls.add_method('SetExclude',
3757 'void',
3758 [param('ns3::Ptr< ns3::CcnxNameComponents > const &', 'exclude')])
3759 ## ccnx-interest-header.h (module 'NDNabstraction'): void ns3::CcnxInterestHeader::SetInterestLifetime(ns3::Time time) [member function]
3760 cls.add_method('SetInterestLifetime',
3761 'void',
3762 [param('ns3::Time', 'time')])
3763 ## ccnx-interest-header.h (module 'NDNabstraction'): void ns3::CcnxInterestHeader::SetMaxSuffixComponents(int32_t value) [member function]
3764 cls.add_method('SetMaxSuffixComponents',
3765 'void',
3766 [param('int32_t', 'value')])
3767 ## ccnx-interest-header.h (module 'NDNabstraction'): void ns3::CcnxInterestHeader::SetMinSuffixComponents(int32_t value) [member function]
3768 cls.add_method('SetMinSuffixComponents',
3769 'void',
3770 [param('int32_t', 'value')])
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003771 ## ccnx-interest-header.h (module 'NDNabstraction'): void ns3::CcnxInterestHeader::SetNack(uint32_t nackType) [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003772 cls.add_method('SetNack',
3773 'void',
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003774 [param('uint32_t', 'nackType')])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003775 ## ccnx-interest-header.h (module 'NDNabstraction'): void ns3::CcnxInterestHeader::SetName(ns3::Ptr<ns3::CcnxNameComponents> const & name) [member function]
3776 cls.add_method('SetName',
3777 'void',
3778 [param('ns3::Ptr< ns3::CcnxNameComponents > const &', 'name')])
3779 ## ccnx-interest-header.h (module 'NDNabstraction'): void ns3::CcnxInterestHeader::SetNonce(uint32_t nonce) [member function]
3780 cls.add_method('SetNonce',
3781 'void',
3782 [param('uint32_t', 'nonce')])
3783 ## ccnx-interest-header.h (module 'NDNabstraction'): void ns3::CcnxInterestHeader::SetScope(int8_t scope) [member function]
3784 cls.add_method('SetScope',
3785 'void',
3786 [param('int8_t', 'scope')])
3787 return
3788
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003789def register_Ns3CcnxNameComponents_methods(root_module, cls):
3790 cls.add_output_stream_operator()
3791 cls.add_binary_comparison_operator('<')
3792 cls.add_binary_comparison_operator('==')
3793 ## ccnx-name-components.h (module 'NDNabstraction'): ns3::CcnxNameComponents::CcnxNameComponents(ns3::CcnxNameComponents const & arg0) [copy constructor]
3794 cls.add_constructor([param('ns3::CcnxNameComponents const &', 'arg0')])
3795 ## ccnx-name-components.h (module 'NDNabstraction'): ns3::CcnxNameComponents::CcnxNameComponents() [constructor]
3796 cls.add_constructor([])
Alexander Afanasyev8e2f1122012-04-17 15:01:11 -07003797 ## ccnx-name-components.h (module 'NDNabstraction'): ns3::CcnxNameComponents::CcnxNameComponents(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]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003798 cls.add_constructor([param('std::list< boost::reference_wrapper< std::string const > > const &', 'components')])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003799 ## ccnx-name-components.h (module 'NDNabstraction'): std::list<std::string, std::allocator<std::string> > const & ns3::CcnxNameComponents::GetComponents() const [member function]
3800 cls.add_method('GetComponents',
3801 'std::list< std::string > const &',
3802 [],
3803 is_const=True)
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08003804 ## ccnx-name-components.h (module 'NDNabstraction'): std::string ns3::CcnxNameComponents::GetLastComponent() const [member function]
3805 cls.add_method('GetLastComponent',
3806 'std::string',
3807 [],
3808 is_const=True)
Alexander Afanasyev8e2f1122012-04-17 15:01:11 -07003809 ## ccnx-name-components.h (module 'NDNabstraction'): 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::CcnxNameComponents::GetSubComponents(size_t num) const [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003810 cls.add_method('GetSubComponents',
3811 'std::list< boost::reference_wrapper< std::string const > >',
3812 [param('size_t', 'num')],
3813 is_const=True)
3814 ## ccnx-name-components.h (module 'NDNabstraction'): void ns3::CcnxNameComponents::Print(std::ostream & os) const [member function]
3815 cls.add_method('Print',
3816 'void',
3817 [param('std::ostream &', 'os')],
3818 is_const=True)
3819 ## ccnx-name-components.h (module 'NDNabstraction'): size_t ns3::CcnxNameComponents::size() const [member function]
3820 cls.add_method('size',
3821 'size_t',
3822 [],
3823 is_const=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003824 return
3825
3826def register_Ns3CcnxNameComponentsChecker_methods(root_module, cls):
3827 ## ccnx-name-components.h (module 'NDNabstraction'): ns3::CcnxNameComponentsChecker::CcnxNameComponentsChecker() [constructor]
3828 cls.add_constructor([])
3829 ## ccnx-name-components.h (module 'NDNabstraction'): ns3::CcnxNameComponentsChecker::CcnxNameComponentsChecker(ns3::CcnxNameComponentsChecker const & arg0) [copy constructor]
3830 cls.add_constructor([param('ns3::CcnxNameComponentsChecker const &', 'arg0')])
3831 return
3832
3833def register_Ns3CcnxNameComponentsValue_methods(root_module, cls):
3834 ## ccnx-name-components.h (module 'NDNabstraction'): ns3::CcnxNameComponentsValue::CcnxNameComponentsValue() [constructor]
3835 cls.add_constructor([])
3836 ## ccnx-name-components.h (module 'NDNabstraction'): ns3::CcnxNameComponentsValue::CcnxNameComponentsValue(ns3::CcnxNameComponentsValue const & arg0) [copy constructor]
3837 cls.add_constructor([param('ns3::CcnxNameComponentsValue const &', 'arg0')])
3838 ## ccnx-name-components.h (module 'NDNabstraction'): ns3::CcnxNameComponentsValue::CcnxNameComponentsValue(ns3::CcnxNameComponents const & value) [constructor]
3839 cls.add_constructor([param('ns3::CcnxNameComponents const &', 'value')])
3840 ## ccnx-name-components.h (module 'NDNabstraction'): ns3::Ptr<ns3::AttributeValue> ns3::CcnxNameComponentsValue::Copy() const [member function]
3841 cls.add_method('Copy',
3842 'ns3::Ptr< ns3::AttributeValue >',
3843 [],
3844 is_const=True, is_virtual=True)
3845 ## ccnx-name-components.h (module 'NDNabstraction'): bool ns3::CcnxNameComponentsValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3846 cls.add_method('DeserializeFromString',
3847 'bool',
3848 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3849 is_virtual=True)
3850 ## ccnx-name-components.h (module 'NDNabstraction'): ns3::CcnxNameComponents ns3::CcnxNameComponentsValue::Get() const [member function]
3851 cls.add_method('Get',
3852 'ns3::CcnxNameComponents',
3853 [],
3854 is_const=True)
3855 ## ccnx-name-components.h (module 'NDNabstraction'): std::string ns3::CcnxNameComponentsValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3856 cls.add_method('SerializeToString',
3857 'std::string',
3858 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3859 is_const=True, is_virtual=True)
3860 ## ccnx-name-components.h (module 'NDNabstraction'): void ns3::CcnxNameComponentsValue::Set(ns3::CcnxNameComponents const & value) [member function]
3861 cls.add_method('Set',
3862 'void',
3863 [param('ns3::CcnxNameComponents const &', 'value')])
3864 return
3865
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003866def register_Ns3EmptyAttributeValue_methods(root_module, cls):
3867 ## attribute.h (module 'core'): ns3::EmptyAttributeValue::EmptyAttributeValue(ns3::EmptyAttributeValue const & arg0) [copy constructor]
3868 cls.add_constructor([param('ns3::EmptyAttributeValue const &', 'arg0')])
3869 ## attribute.h (module 'core'): ns3::EmptyAttributeValue::EmptyAttributeValue() [constructor]
3870 cls.add_constructor([])
3871 ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::EmptyAttributeValue::Copy() const [member function]
3872 cls.add_method('Copy',
3873 'ns3::Ptr< ns3::AttributeValue >',
3874 [],
3875 is_const=True, visibility='private', is_virtual=True)
3876 ## attribute.h (module 'core'): bool ns3::EmptyAttributeValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3877 cls.add_method('DeserializeFromString',
3878 'bool',
3879 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3880 visibility='private', is_virtual=True)
3881 ## attribute.h (module 'core'): std::string ns3::EmptyAttributeValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3882 cls.add_method('SerializeToString',
3883 'std::string',
3884 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3885 is_const=True, visibility='private', is_virtual=True)
3886 return
3887
3888def register_Ns3EventImpl_methods(root_module, cls):
3889 ## event-impl.h (module 'core'): ns3::EventImpl::EventImpl(ns3::EventImpl const & arg0) [copy constructor]
3890 cls.add_constructor([param('ns3::EventImpl const &', 'arg0')])
3891 ## event-impl.h (module 'core'): ns3::EventImpl::EventImpl() [constructor]
3892 cls.add_constructor([])
3893 ## event-impl.h (module 'core'): void ns3::EventImpl::Cancel() [member function]
3894 cls.add_method('Cancel',
3895 'void',
3896 [])
3897 ## event-impl.h (module 'core'): void ns3::EventImpl::Invoke() [member function]
3898 cls.add_method('Invoke',
3899 'void',
3900 [])
3901 ## event-impl.h (module 'core'): bool ns3::EventImpl::IsCancelled() [member function]
3902 cls.add_method('IsCancelled',
3903 'bool',
3904 [])
3905 ## event-impl.h (module 'core'): void ns3::EventImpl::Notify() [member function]
3906 cls.add_method('Notify',
3907 'void',
3908 [],
3909 is_pure_virtual=True, visibility='protected', is_virtual=True)
3910 return
3911
3912def register_Ns3IntegerValue_methods(root_module, cls):
3913 ## integer.h (module 'core'): ns3::IntegerValue::IntegerValue() [constructor]
3914 cls.add_constructor([])
3915 ## integer.h (module 'core'): ns3::IntegerValue::IntegerValue(ns3::IntegerValue const & arg0) [copy constructor]
3916 cls.add_constructor([param('ns3::IntegerValue const &', 'arg0')])
3917 ## integer.h (module 'core'): ns3::IntegerValue::IntegerValue(int64_t const & value) [constructor]
3918 cls.add_constructor([param('int64_t const &', 'value')])
3919 ## integer.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::IntegerValue::Copy() const [member function]
3920 cls.add_method('Copy',
3921 'ns3::Ptr< ns3::AttributeValue >',
3922 [],
3923 is_const=True, is_virtual=True)
3924 ## integer.h (module 'core'): bool ns3::IntegerValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3925 cls.add_method('DeserializeFromString',
3926 'bool',
3927 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3928 is_virtual=True)
3929 ## integer.h (module 'core'): int64_t ns3::IntegerValue::Get() const [member function]
3930 cls.add_method('Get',
3931 'int64_t',
3932 [],
3933 is_const=True)
3934 ## integer.h (module 'core'): std::string ns3::IntegerValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3935 cls.add_method('SerializeToString',
3936 'std::string',
3937 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3938 is_const=True, is_virtual=True)
3939 ## integer.h (module 'core'): void ns3::IntegerValue::Set(int64_t const & value) [member function]
3940 cls.add_method('Set',
3941 'void',
3942 [param('int64_t const &', 'value')])
3943 return
3944
3945def register_Ns3Ipv4AddressChecker_methods(root_module, cls):
3946 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker::Ipv4AddressChecker() [constructor]
3947 cls.add_constructor([])
3948 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker::Ipv4AddressChecker(ns3::Ipv4AddressChecker const & arg0) [copy constructor]
3949 cls.add_constructor([param('ns3::Ipv4AddressChecker const &', 'arg0')])
3950 return
3951
3952def register_Ns3Ipv4AddressValue_methods(root_module, cls):
3953 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue::Ipv4AddressValue() [constructor]
3954 cls.add_constructor([])
3955 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue::Ipv4AddressValue(ns3::Ipv4AddressValue const & arg0) [copy constructor]
3956 cls.add_constructor([param('ns3::Ipv4AddressValue const &', 'arg0')])
3957 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue::Ipv4AddressValue(ns3::Ipv4Address const & value) [constructor]
3958 cls.add_constructor([param('ns3::Ipv4Address const &', 'value')])
3959 ## ipv4-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv4AddressValue::Copy() const [member function]
3960 cls.add_method('Copy',
3961 'ns3::Ptr< ns3::AttributeValue >',
3962 [],
3963 is_const=True, is_virtual=True)
3964 ## ipv4-address.h (module 'network'): bool ns3::Ipv4AddressValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3965 cls.add_method('DeserializeFromString',
3966 'bool',
3967 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3968 is_virtual=True)
3969 ## ipv4-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv4AddressValue::Get() const [member function]
3970 cls.add_method('Get',
3971 'ns3::Ipv4Address',
3972 [],
3973 is_const=True)
3974 ## ipv4-address.h (module 'network'): std::string ns3::Ipv4AddressValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3975 cls.add_method('SerializeToString',
3976 'std::string',
3977 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3978 is_const=True, is_virtual=True)
3979 ## ipv4-address.h (module 'network'): void ns3::Ipv4AddressValue::Set(ns3::Ipv4Address const & value) [member function]
3980 cls.add_method('Set',
3981 'void',
3982 [param('ns3::Ipv4Address const &', 'value')])
3983 return
3984
3985def register_Ns3Ipv4MaskChecker_methods(root_module, cls):
3986 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker::Ipv4MaskChecker() [constructor]
3987 cls.add_constructor([])
3988 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker::Ipv4MaskChecker(ns3::Ipv4MaskChecker const & arg0) [copy constructor]
3989 cls.add_constructor([param('ns3::Ipv4MaskChecker const &', 'arg0')])
3990 return
3991
3992def register_Ns3Ipv4MaskValue_methods(root_module, cls):
3993 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue::Ipv4MaskValue() [constructor]
3994 cls.add_constructor([])
3995 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue::Ipv4MaskValue(ns3::Ipv4MaskValue const & arg0) [copy constructor]
3996 cls.add_constructor([param('ns3::Ipv4MaskValue const &', 'arg0')])
3997 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue::Ipv4MaskValue(ns3::Ipv4Mask const & value) [constructor]
3998 cls.add_constructor([param('ns3::Ipv4Mask const &', 'value')])
3999 ## ipv4-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv4MaskValue::Copy() const [member function]
4000 cls.add_method('Copy',
4001 'ns3::Ptr< ns3::AttributeValue >',
4002 [],
4003 is_const=True, is_virtual=True)
4004 ## ipv4-address.h (module 'network'): bool ns3::Ipv4MaskValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4005 cls.add_method('DeserializeFromString',
4006 'bool',
4007 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4008 is_virtual=True)
4009 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask ns3::Ipv4MaskValue::Get() const [member function]
4010 cls.add_method('Get',
4011 'ns3::Ipv4Mask',
4012 [],
4013 is_const=True)
4014 ## ipv4-address.h (module 'network'): std::string ns3::Ipv4MaskValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4015 cls.add_method('SerializeToString',
4016 'std::string',
4017 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4018 is_const=True, is_virtual=True)
4019 ## ipv4-address.h (module 'network'): void ns3::Ipv4MaskValue::Set(ns3::Ipv4Mask const & value) [member function]
4020 cls.add_method('Set',
4021 'void',
4022 [param('ns3::Ipv4Mask const &', 'value')])
4023 return
4024
4025def register_Ns3Ipv6AddressChecker_methods(root_module, cls):
4026 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker::Ipv6AddressChecker() [constructor]
4027 cls.add_constructor([])
4028 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker::Ipv6AddressChecker(ns3::Ipv6AddressChecker const & arg0) [copy constructor]
4029 cls.add_constructor([param('ns3::Ipv6AddressChecker const &', 'arg0')])
4030 return
4031
4032def register_Ns3Ipv6AddressValue_methods(root_module, cls):
4033 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue::Ipv6AddressValue() [constructor]
4034 cls.add_constructor([])
4035 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue::Ipv6AddressValue(ns3::Ipv6AddressValue const & arg0) [copy constructor]
4036 cls.add_constructor([param('ns3::Ipv6AddressValue const &', 'arg0')])
4037 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue::Ipv6AddressValue(ns3::Ipv6Address const & value) [constructor]
4038 cls.add_constructor([param('ns3::Ipv6Address const &', 'value')])
4039 ## ipv6-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv6AddressValue::Copy() const [member function]
4040 cls.add_method('Copy',
4041 'ns3::Ptr< ns3::AttributeValue >',
4042 [],
4043 is_const=True, is_virtual=True)
4044 ## ipv6-address.h (module 'network'): bool ns3::Ipv6AddressValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4045 cls.add_method('DeserializeFromString',
4046 'bool',
4047 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4048 is_virtual=True)
4049 ## ipv6-address.h (module 'network'): ns3::Ipv6Address ns3::Ipv6AddressValue::Get() const [member function]
4050 cls.add_method('Get',
4051 'ns3::Ipv6Address',
4052 [],
4053 is_const=True)
4054 ## ipv6-address.h (module 'network'): std::string ns3::Ipv6AddressValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4055 cls.add_method('SerializeToString',
4056 'std::string',
4057 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4058 is_const=True, is_virtual=True)
4059 ## ipv6-address.h (module 'network'): void ns3::Ipv6AddressValue::Set(ns3::Ipv6Address const & value) [member function]
4060 cls.add_method('Set',
4061 'void',
4062 [param('ns3::Ipv6Address const &', 'value')])
4063 return
4064
4065def register_Ns3Ipv6PrefixChecker_methods(root_module, cls):
4066 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker::Ipv6PrefixChecker() [constructor]
4067 cls.add_constructor([])
4068 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker::Ipv6PrefixChecker(ns3::Ipv6PrefixChecker const & arg0) [copy constructor]
4069 cls.add_constructor([param('ns3::Ipv6PrefixChecker const &', 'arg0')])
4070 return
4071
4072def register_Ns3Ipv6PrefixValue_methods(root_module, cls):
4073 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue::Ipv6PrefixValue() [constructor]
4074 cls.add_constructor([])
4075 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue::Ipv6PrefixValue(ns3::Ipv6PrefixValue const & arg0) [copy constructor]
4076 cls.add_constructor([param('ns3::Ipv6PrefixValue const &', 'arg0')])
4077 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue::Ipv6PrefixValue(ns3::Ipv6Prefix const & value) [constructor]
4078 cls.add_constructor([param('ns3::Ipv6Prefix const &', 'value')])
4079 ## ipv6-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv6PrefixValue::Copy() const [member function]
4080 cls.add_method('Copy',
4081 'ns3::Ptr< ns3::AttributeValue >',
4082 [],
4083 is_const=True, is_virtual=True)
4084 ## ipv6-address.h (module 'network'): bool ns3::Ipv6PrefixValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4085 cls.add_method('DeserializeFromString',
4086 'bool',
4087 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4088 is_virtual=True)
4089 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix ns3::Ipv6PrefixValue::Get() const [member function]
4090 cls.add_method('Get',
4091 'ns3::Ipv6Prefix',
4092 [],
4093 is_const=True)
4094 ## ipv6-address.h (module 'network'): std::string ns3::Ipv6PrefixValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4095 cls.add_method('SerializeToString',
4096 'std::string',
4097 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4098 is_const=True, is_virtual=True)
4099 ## ipv6-address.h (module 'network'): void ns3::Ipv6PrefixValue::Set(ns3::Ipv6Prefix const & value) [member function]
4100 cls.add_method('Set',
4101 'void',
4102 [param('ns3::Ipv6Prefix const &', 'value')])
4103 return
4104
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004105def register_Ns3NetDevice_methods(root_module, cls):
4106 ## net-device.h (module 'network'): ns3::NetDevice::NetDevice() [constructor]
4107 cls.add_constructor([])
4108 ## net-device.h (module 'network'): ns3::NetDevice::NetDevice(ns3::NetDevice const & arg0) [copy constructor]
4109 cls.add_constructor([param('ns3::NetDevice const &', 'arg0')])
4110 ## 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]
4111 cls.add_method('AddLinkChangeCallback',
4112 'void',
4113 [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')],
4114 is_pure_virtual=True, is_virtual=True)
4115 ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetAddress() const [member function]
4116 cls.add_method('GetAddress',
4117 'ns3::Address',
4118 [],
4119 is_pure_virtual=True, is_const=True, is_virtual=True)
4120 ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetBroadcast() const [member function]
4121 cls.add_method('GetBroadcast',
4122 'ns3::Address',
4123 [],
4124 is_pure_virtual=True, is_const=True, is_virtual=True)
4125 ## net-device.h (module 'network'): ns3::Ptr<ns3::Channel> ns3::NetDevice::GetChannel() const [member function]
4126 cls.add_method('GetChannel',
4127 'ns3::Ptr< ns3::Channel >',
4128 [],
4129 is_pure_virtual=True, is_const=True, is_virtual=True)
4130 ## net-device.h (module 'network'): uint32_t ns3::NetDevice::GetIfIndex() const [member function]
4131 cls.add_method('GetIfIndex',
4132 'uint32_t',
4133 [],
4134 is_pure_virtual=True, is_const=True, is_virtual=True)
4135 ## net-device.h (module 'network'): uint16_t ns3::NetDevice::GetMtu() const [member function]
4136 cls.add_method('GetMtu',
4137 'uint16_t',
4138 [],
4139 is_pure_virtual=True, is_const=True, is_virtual=True)
4140 ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetMulticast(ns3::Ipv4Address multicastGroup) const [member function]
4141 cls.add_method('GetMulticast',
4142 'ns3::Address',
4143 [param('ns3::Ipv4Address', 'multicastGroup')],
4144 is_pure_virtual=True, is_const=True, is_virtual=True)
4145 ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetMulticast(ns3::Ipv6Address addr) const [member function]
4146 cls.add_method('GetMulticast',
4147 'ns3::Address',
4148 [param('ns3::Ipv6Address', 'addr')],
4149 is_pure_virtual=True, is_const=True, is_virtual=True)
4150 ## net-device.h (module 'network'): ns3::Ptr<ns3::Node> ns3::NetDevice::GetNode() const [member function]
4151 cls.add_method('GetNode',
4152 'ns3::Ptr< ns3::Node >',
4153 [],
4154 is_pure_virtual=True, is_const=True, is_virtual=True)
4155 ## net-device.h (module 'network'): static ns3::TypeId ns3::NetDevice::GetTypeId() [member function]
4156 cls.add_method('GetTypeId',
4157 'ns3::TypeId',
4158 [],
4159 is_static=True)
4160 ## net-device.h (module 'network'): bool ns3::NetDevice::IsBridge() const [member function]
4161 cls.add_method('IsBridge',
4162 'bool',
4163 [],
4164 is_pure_virtual=True, is_const=True, is_virtual=True)
4165 ## net-device.h (module 'network'): bool ns3::NetDevice::IsBroadcast() const [member function]
4166 cls.add_method('IsBroadcast',
4167 'bool',
4168 [],
4169 is_pure_virtual=True, is_const=True, is_virtual=True)
4170 ## net-device.h (module 'network'): bool ns3::NetDevice::IsLinkUp() const [member function]
4171 cls.add_method('IsLinkUp',
4172 'bool',
4173 [],
4174 is_pure_virtual=True, is_const=True, is_virtual=True)
4175 ## net-device.h (module 'network'): bool ns3::NetDevice::IsMulticast() const [member function]
4176 cls.add_method('IsMulticast',
4177 'bool',
4178 [],
4179 is_pure_virtual=True, is_const=True, is_virtual=True)
4180 ## net-device.h (module 'network'): bool ns3::NetDevice::IsPointToPoint() const [member function]
4181 cls.add_method('IsPointToPoint',
4182 'bool',
4183 [],
4184 is_pure_virtual=True, is_const=True, is_virtual=True)
4185 ## net-device.h (module 'network'): bool ns3::NetDevice::NeedsArp() const [member function]
4186 cls.add_method('NeedsArp',
4187 'bool',
4188 [],
4189 is_pure_virtual=True, is_const=True, is_virtual=True)
4190 ## net-device.h (module 'network'): bool ns3::NetDevice::Send(ns3::Ptr<ns3::Packet> packet, ns3::Address const & dest, uint16_t protocolNumber) [member function]
4191 cls.add_method('Send',
4192 'bool',
4193 [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')],
4194 is_pure_virtual=True, is_virtual=True)
4195 ## 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]
4196 cls.add_method('SendFrom',
4197 'bool',
4198 [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'source'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')],
4199 is_pure_virtual=True, is_virtual=True)
4200 ## net-device.h (module 'network'): void ns3::NetDevice::SetAddress(ns3::Address address) [member function]
4201 cls.add_method('SetAddress',
4202 'void',
4203 [param('ns3::Address', 'address')],
4204 is_pure_virtual=True, is_virtual=True)
4205 ## net-device.h (module 'network'): void ns3::NetDevice::SetIfIndex(uint32_t const index) [member function]
4206 cls.add_method('SetIfIndex',
4207 'void',
4208 [param('uint32_t const', 'index')],
4209 is_pure_virtual=True, is_virtual=True)
4210 ## net-device.h (module 'network'): bool ns3::NetDevice::SetMtu(uint16_t const mtu) [member function]
4211 cls.add_method('SetMtu',
4212 'bool',
4213 [param('uint16_t const', 'mtu')],
4214 is_pure_virtual=True, is_virtual=True)
4215 ## net-device.h (module 'network'): void ns3::NetDevice::SetNode(ns3::Ptr<ns3::Node> node) [member function]
4216 cls.add_method('SetNode',
4217 'void',
4218 [param('ns3::Ptr< ns3::Node >', 'node')],
4219 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08004220 ## 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 -08004221 cls.add_method('SetPromiscReceiveCallback',
4222 'void',
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08004223 [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 -08004224 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08004225 ## 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 -08004226 cls.add_method('SetReceiveCallback',
4227 'void',
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08004228 [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 -08004229 is_pure_virtual=True, is_virtual=True)
4230 ## net-device.h (module 'network'): bool ns3::NetDevice::SupportsSendFrom() const [member function]
4231 cls.add_method('SupportsSendFrom',
4232 'bool',
4233 [],
4234 is_pure_virtual=True, is_const=True, is_virtual=True)
4235 return
4236
4237def register_Ns3NixVector_methods(root_module, cls):
4238 cls.add_output_stream_operator()
4239 ## nix-vector.h (module 'network'): ns3::NixVector::NixVector() [constructor]
4240 cls.add_constructor([])
4241 ## nix-vector.h (module 'network'): ns3::NixVector::NixVector(ns3::NixVector const & o) [copy constructor]
4242 cls.add_constructor([param('ns3::NixVector const &', 'o')])
4243 ## nix-vector.h (module 'network'): void ns3::NixVector::AddNeighborIndex(uint32_t newBits, uint32_t numberOfBits) [member function]
4244 cls.add_method('AddNeighborIndex',
4245 'void',
4246 [param('uint32_t', 'newBits'), param('uint32_t', 'numberOfBits')])
4247 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::BitCount(uint32_t numberOfNeighbors) const [member function]
4248 cls.add_method('BitCount',
4249 'uint32_t',
4250 [param('uint32_t', 'numberOfNeighbors')],
4251 is_const=True)
4252 ## nix-vector.h (module 'network'): ns3::Ptr<ns3::NixVector> ns3::NixVector::Copy() const [member function]
4253 cls.add_method('Copy',
4254 'ns3::Ptr< ns3::NixVector >',
4255 [],
4256 is_const=True)
4257 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::Deserialize(uint32_t const * buffer, uint32_t size) [member function]
4258 cls.add_method('Deserialize',
4259 'uint32_t',
4260 [param('uint32_t const *', 'buffer'), param('uint32_t', 'size')])
4261 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::ExtractNeighborIndex(uint32_t numberOfBits) [member function]
4262 cls.add_method('ExtractNeighborIndex',
4263 'uint32_t',
4264 [param('uint32_t', 'numberOfBits')])
4265 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::GetRemainingBits() [member function]
4266 cls.add_method('GetRemainingBits',
4267 'uint32_t',
4268 [])
4269 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::GetSerializedSize() const [member function]
4270 cls.add_method('GetSerializedSize',
4271 'uint32_t',
4272 [],
4273 is_const=True)
4274 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::Serialize(uint32_t * buffer, uint32_t maxSize) const [member function]
4275 cls.add_method('Serialize',
4276 'uint32_t',
4277 [param('uint32_t *', 'buffer'), param('uint32_t', 'maxSize')],
4278 is_const=True)
4279 return
4280
4281def register_Ns3Node_methods(root_module, cls):
4282 ## node.h (module 'network'): ns3::Node::Node(ns3::Node const & arg0) [copy constructor]
4283 cls.add_constructor([param('ns3::Node const &', 'arg0')])
4284 ## node.h (module 'network'): ns3::Node::Node() [constructor]
4285 cls.add_constructor([])
4286 ## node.h (module 'network'): ns3::Node::Node(uint32_t systemId) [constructor]
4287 cls.add_constructor([param('uint32_t', 'systemId')])
4288 ## node.h (module 'network'): uint32_t ns3::Node::AddApplication(ns3::Ptr<ns3::Application> application) [member function]
4289 cls.add_method('AddApplication',
4290 'uint32_t',
4291 [param('ns3::Ptr< ns3::Application >', 'application')])
4292 ## node.h (module 'network'): uint32_t ns3::Node::AddDevice(ns3::Ptr<ns3::NetDevice> device) [member function]
4293 cls.add_method('AddDevice',
4294 'uint32_t',
4295 [param('ns3::Ptr< ns3::NetDevice >', 'device')])
4296 ## node.h (module 'network'): static bool ns3::Node::ChecksumEnabled() [member function]
4297 cls.add_method('ChecksumEnabled',
4298 'bool',
4299 [],
4300 is_static=True)
4301 ## node.h (module 'network'): ns3::Ptr<ns3::Application> ns3::Node::GetApplication(uint32_t index) const [member function]
4302 cls.add_method('GetApplication',
4303 'ns3::Ptr< ns3::Application >',
4304 [param('uint32_t', 'index')],
4305 is_const=True)
4306 ## node.h (module 'network'): ns3::Ptr<ns3::NetDevice> ns3::Node::GetDevice(uint32_t index) const [member function]
4307 cls.add_method('GetDevice',
4308 'ns3::Ptr< ns3::NetDevice >',
4309 [param('uint32_t', 'index')],
4310 is_const=True)
4311 ## node.h (module 'network'): uint32_t ns3::Node::GetId() const [member function]
4312 cls.add_method('GetId',
4313 'uint32_t',
4314 [],
4315 is_const=True)
4316 ## node.h (module 'network'): uint32_t ns3::Node::GetNApplications() const [member function]
4317 cls.add_method('GetNApplications',
4318 'uint32_t',
4319 [],
4320 is_const=True)
4321 ## node.h (module 'network'): uint32_t ns3::Node::GetNDevices() const [member function]
4322 cls.add_method('GetNDevices',
4323 'uint32_t',
4324 [],
4325 is_const=True)
4326 ## node.h (module 'network'): uint32_t ns3::Node::GetSystemId() const [member function]
4327 cls.add_method('GetSystemId',
4328 'uint32_t',
4329 [],
4330 is_const=True)
4331 ## node.h (module 'network'): static ns3::TypeId ns3::Node::GetTypeId() [member function]
4332 cls.add_method('GetTypeId',
4333 'ns3::TypeId',
4334 [],
4335 is_static=True)
4336 ## 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]
4337 cls.add_method('RegisterDeviceAdditionListener',
4338 'void',
4339 [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')])
4340 ## 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]
4341 cls.add_method('RegisterProtocolHandler',
4342 'void',
4343 [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')])
4344 ## 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]
4345 cls.add_method('UnregisterDeviceAdditionListener',
4346 'void',
4347 [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')])
4348 ## 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]
4349 cls.add_method('UnregisterProtocolHandler',
4350 'void',
4351 [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')])
4352 ## node.h (module 'network'): void ns3::Node::DoDispose() [member function]
4353 cls.add_method('DoDispose',
4354 'void',
4355 [],
4356 visibility='protected', is_virtual=True)
4357 ## node.h (module 'network'): void ns3::Node::DoStart() [member function]
4358 cls.add_method('DoStart',
4359 'void',
4360 [],
4361 visibility='protected', is_virtual=True)
4362 return
4363
4364def register_Ns3ObjectFactoryChecker_methods(root_module, cls):
4365 ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker::ObjectFactoryChecker() [constructor]
4366 cls.add_constructor([])
4367 ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker::ObjectFactoryChecker(ns3::ObjectFactoryChecker const & arg0) [copy constructor]
4368 cls.add_constructor([param('ns3::ObjectFactoryChecker const &', 'arg0')])
4369 return
4370
4371def register_Ns3ObjectFactoryValue_methods(root_module, cls):
4372 ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue() [constructor]
4373 cls.add_constructor([])
4374 ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue(ns3::ObjectFactoryValue const & arg0) [copy constructor]
4375 cls.add_constructor([param('ns3::ObjectFactoryValue const &', 'arg0')])
4376 ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue(ns3::ObjectFactory const & value) [constructor]
4377 cls.add_constructor([param('ns3::ObjectFactory const &', 'value')])
4378 ## object-factory.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::ObjectFactoryValue::Copy() const [member function]
4379 cls.add_method('Copy',
4380 'ns3::Ptr< ns3::AttributeValue >',
4381 [],
4382 is_const=True, is_virtual=True)
4383 ## object-factory.h (module 'core'): bool ns3::ObjectFactoryValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4384 cls.add_method('DeserializeFromString',
4385 'bool',
4386 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4387 is_virtual=True)
4388 ## object-factory.h (module 'core'): ns3::ObjectFactory ns3::ObjectFactoryValue::Get() const [member function]
4389 cls.add_method('Get',
4390 'ns3::ObjectFactory',
4391 [],
4392 is_const=True)
4393 ## object-factory.h (module 'core'): std::string ns3::ObjectFactoryValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4394 cls.add_method('SerializeToString',
4395 'std::string',
4396 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4397 is_const=True, is_virtual=True)
4398 ## object-factory.h (module 'core'): void ns3::ObjectFactoryValue::Set(ns3::ObjectFactory const & value) [member function]
4399 cls.add_method('Set',
4400 'void',
4401 [param('ns3::ObjectFactory const &', 'value')])
4402 return
4403
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004404def register_Ns3Packet_methods(root_module, cls):
4405 cls.add_output_stream_operator()
4406 ## packet.h (module 'network'): ns3::Packet::Packet() [constructor]
4407 cls.add_constructor([])
4408 ## packet.h (module 'network'): ns3::Packet::Packet(ns3::Packet const & o) [copy constructor]
4409 cls.add_constructor([param('ns3::Packet const &', 'o')])
4410 ## packet.h (module 'network'): ns3::Packet::Packet(uint32_t size) [constructor]
4411 cls.add_constructor([param('uint32_t', 'size')])
4412 ## packet.h (module 'network'): ns3::Packet::Packet(uint8_t const * buffer, uint32_t size, bool magic) [constructor]
4413 cls.add_constructor([param('uint8_t const *', 'buffer'), param('uint32_t', 'size'), param('bool', 'magic')])
4414 ## packet.h (module 'network'): ns3::Packet::Packet(uint8_t const * buffer, uint32_t size) [constructor]
4415 cls.add_constructor([param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08004416 ## packet.h (module 'network'): void ns3::Packet::AddAtEnd(ns3::Ptr<const ns3::Packet> packet) [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004417 cls.add_method('AddAtEnd',
4418 'void',
4419 [param('ns3::Ptr< ns3::Packet const >', 'packet')])
4420 ## packet.h (module 'network'): void ns3::Packet::AddByteTag(ns3::Tag const & tag) const [member function]
4421 cls.add_method('AddByteTag',
4422 'void',
4423 [param('ns3::Tag const &', 'tag')],
4424 is_const=True)
4425 ## packet.h (module 'network'): void ns3::Packet::AddHeader(ns3::Header const & header) [member function]
4426 cls.add_method('AddHeader',
4427 'void',
4428 [param('ns3::Header const &', 'header')])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004429 ## packet.h (module 'network'): void ns3::Packet::AddPacketTag(ns3::Tag const & tag) const [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004430 cls.add_method('AddPacketTag',
4431 'void',
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004432 [param('ns3::Tag const &', 'tag')],
4433 is_const=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004434 ## packet.h (module 'network'): void ns3::Packet::AddPaddingAtEnd(uint32_t size) [member function]
4435 cls.add_method('AddPaddingAtEnd',
4436 'void',
4437 [param('uint32_t', 'size')])
4438 ## packet.h (module 'network'): void ns3::Packet::AddTrailer(ns3::Trailer const & trailer) [member function]
4439 cls.add_method('AddTrailer',
4440 'void',
4441 [param('ns3::Trailer const &', 'trailer')])
4442 ## packet.h (module 'network'): ns3::PacketMetadata::ItemIterator ns3::Packet::BeginItem() const [member function]
4443 cls.add_method('BeginItem',
4444 'ns3::PacketMetadata::ItemIterator',
4445 [],
4446 is_const=True)
4447 ## packet.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Packet::Copy() const [member function]
4448 cls.add_method('Copy',
4449 'ns3::Ptr< ns3::Packet >',
4450 [],
4451 is_const=True)
4452 ## packet.h (module 'network'): uint32_t ns3::Packet::CopyData(uint8_t * buffer, uint32_t size) const [member function]
4453 cls.add_method('CopyData',
4454 'uint32_t',
4455 [param('uint8_t *', 'buffer'), param('uint32_t', 'size')],
4456 is_const=True)
4457 ## packet.h (module 'network'): void ns3::Packet::CopyData(std::ostream * os, uint32_t size) const [member function]
4458 cls.add_method('CopyData',
4459 'void',
4460 [param('std::ostream *', 'os'), param('uint32_t', 'size')],
4461 is_const=True)
4462 ## packet.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Packet::CreateFragment(uint32_t start, uint32_t length) const [member function]
4463 cls.add_method('CreateFragment',
4464 'ns3::Ptr< ns3::Packet >',
4465 [param('uint32_t', 'start'), param('uint32_t', 'length')],
4466 is_const=True)
4467 ## packet.h (module 'network'): static void ns3::Packet::EnableChecking() [member function]
4468 cls.add_method('EnableChecking',
4469 'void',
4470 [],
4471 is_static=True)
4472 ## packet.h (module 'network'): static void ns3::Packet::EnablePrinting() [member function]
4473 cls.add_method('EnablePrinting',
4474 'void',
4475 [],
4476 is_static=True)
4477 ## packet.h (module 'network'): bool ns3::Packet::FindFirstMatchingByteTag(ns3::Tag & tag) const [member function]
4478 cls.add_method('FindFirstMatchingByteTag',
4479 'bool',
4480 [param('ns3::Tag &', 'tag')],
4481 is_const=True)
4482 ## packet.h (module 'network'): ns3::ByteTagIterator ns3::Packet::GetByteTagIterator() const [member function]
4483 cls.add_method('GetByteTagIterator',
4484 'ns3::ByteTagIterator',
4485 [],
4486 is_const=True)
4487 ## packet.h (module 'network'): ns3::Ptr<ns3::NixVector> ns3::Packet::GetNixVector() const [member function]
4488 cls.add_method('GetNixVector',
4489 'ns3::Ptr< ns3::NixVector >',
4490 [],
4491 is_const=True)
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004492 ## packet.h (module 'network'): ns3::PacketTagIterator ns3::Packet::GetPacketTagIterator() const [member function]
4493 cls.add_method('GetPacketTagIterator',
4494 'ns3::PacketTagIterator',
4495 [],
4496 is_const=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004497 ## packet.h (module 'network'): uint32_t ns3::Packet::GetSerializedSize() const [member function]
4498 cls.add_method('GetSerializedSize',
4499 'uint32_t',
4500 [],
4501 is_const=True)
4502 ## packet.h (module 'network'): uint32_t ns3::Packet::GetSize() const [member function]
4503 cls.add_method('GetSize',
4504 'uint32_t',
4505 [],
4506 is_const=True)
4507 ## packet.h (module 'network'): uint64_t ns3::Packet::GetUid() const [member function]
4508 cls.add_method('GetUid',
4509 'uint64_t',
4510 [],
4511 is_const=True)
4512 ## packet.h (module 'network'): uint8_t const * ns3::Packet::PeekData() const [member function]
4513 cls.add_method('PeekData',
4514 'uint8_t const *',
4515 [],
4516 deprecated=True, is_const=True)
4517 ## packet.h (module 'network'): uint32_t ns3::Packet::PeekHeader(ns3::Header & header) const [member function]
4518 cls.add_method('PeekHeader',
4519 'uint32_t',
4520 [param('ns3::Header &', 'header')],
4521 is_const=True)
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004522 ## packet.h (module 'network'): bool ns3::Packet::PeekPacketTag(ns3::Tag & tag) const [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004523 cls.add_method('PeekPacketTag',
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004524 'bool',
4525 [param('ns3::Tag &', 'tag')],
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004526 is_const=True)
4527 ## packet.h (module 'network'): uint32_t ns3::Packet::PeekTrailer(ns3::Trailer & trailer) [member function]
4528 cls.add_method('PeekTrailer',
4529 'uint32_t',
4530 [param('ns3::Trailer &', 'trailer')])
4531 ## packet.h (module 'network'): void ns3::Packet::Print(std::ostream & os) const [member function]
4532 cls.add_method('Print',
4533 'void',
4534 [param('std::ostream &', 'os')],
4535 is_const=True)
4536 ## packet.h (module 'network'): void ns3::Packet::PrintByteTags(std::ostream & os) const [member function]
4537 cls.add_method('PrintByteTags',
4538 'void',
4539 [param('std::ostream &', 'os')],
4540 is_const=True)
4541 ## packet.h (module 'network'): void ns3::Packet::PrintPacketTags(std::ostream & os) const [member function]
4542 cls.add_method('PrintPacketTags',
4543 'void',
4544 [param('std::ostream &', 'os')],
4545 is_const=True)
4546 ## packet.h (module 'network'): void ns3::Packet::RemoveAllByteTags() [member function]
4547 cls.add_method('RemoveAllByteTags',
4548 'void',
4549 [])
4550 ## packet.h (module 'network'): void ns3::Packet::RemoveAllPacketTags() [member function]
4551 cls.add_method('RemoveAllPacketTags',
4552 'void',
4553 [])
4554 ## packet.h (module 'network'): void ns3::Packet::RemoveAtEnd(uint32_t size) [member function]
4555 cls.add_method('RemoveAtEnd',
4556 'void',
4557 [param('uint32_t', 'size')])
4558 ## packet.h (module 'network'): void ns3::Packet::RemoveAtStart(uint32_t size) [member function]
4559 cls.add_method('RemoveAtStart',
4560 'void',
4561 [param('uint32_t', 'size')])
4562 ## packet.h (module 'network'): uint32_t ns3::Packet::RemoveHeader(ns3::Header & header) [member function]
4563 cls.add_method('RemoveHeader',
4564 'uint32_t',
4565 [param('ns3::Header &', 'header')])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004566 ## packet.h (module 'network'): bool ns3::Packet::RemovePacketTag(ns3::Tag & tag) [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004567 cls.add_method('RemovePacketTag',
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004568 'bool',
4569 [param('ns3::Tag &', 'tag')])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004570 ## packet.h (module 'network'): uint32_t ns3::Packet::RemoveTrailer(ns3::Trailer & trailer) [member function]
4571 cls.add_method('RemoveTrailer',
4572 'uint32_t',
4573 [param('ns3::Trailer &', 'trailer')])
4574 ## packet.h (module 'network'): uint32_t ns3::Packet::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
4575 cls.add_method('Serialize',
4576 'uint32_t',
4577 [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')],
4578 is_const=True)
4579 ## packet.h (module 'network'): void ns3::Packet::SetNixVector(ns3::Ptr<ns3::NixVector> arg0) [member function]
4580 cls.add_method('SetNixVector',
4581 'void',
4582 [param('ns3::Ptr< ns3::NixVector >', 'arg0')])
4583 return
4584
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004585def register_Ns3TimeChecker_methods(root_module, cls):
4586 ## nstime.h (module 'core'): ns3::TimeChecker::TimeChecker() [constructor]
4587 cls.add_constructor([])
4588 ## nstime.h (module 'core'): ns3::TimeChecker::TimeChecker(ns3::TimeChecker const & arg0) [copy constructor]
4589 cls.add_constructor([param('ns3::TimeChecker const &', 'arg0')])
4590 return
4591
4592def register_Ns3TimeValue_methods(root_module, cls):
4593 ## nstime.h (module 'core'): ns3::TimeValue::TimeValue() [constructor]
4594 cls.add_constructor([])
4595 ## nstime.h (module 'core'): ns3::TimeValue::TimeValue(ns3::TimeValue const & arg0) [copy constructor]
4596 cls.add_constructor([param('ns3::TimeValue const &', 'arg0')])
4597 ## nstime.h (module 'core'): ns3::TimeValue::TimeValue(ns3::Time const & value) [constructor]
4598 cls.add_constructor([param('ns3::Time const &', 'value')])
4599 ## nstime.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::TimeValue::Copy() const [member function]
4600 cls.add_method('Copy',
4601 'ns3::Ptr< ns3::AttributeValue >',
4602 [],
4603 is_const=True, is_virtual=True)
4604 ## nstime.h (module 'core'): bool ns3::TimeValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4605 cls.add_method('DeserializeFromString',
4606 'bool',
4607 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4608 is_virtual=True)
4609 ## nstime.h (module 'core'): ns3::Time ns3::TimeValue::Get() const [member function]
4610 cls.add_method('Get',
4611 'ns3::Time',
4612 [],
4613 is_const=True)
4614 ## nstime.h (module 'core'): std::string ns3::TimeValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4615 cls.add_method('SerializeToString',
4616 'std::string',
4617 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4618 is_const=True, is_virtual=True)
4619 ## nstime.h (module 'core'): void ns3::TimeValue::Set(ns3::Time const & value) [member function]
4620 cls.add_method('Set',
4621 'void',
4622 [param('ns3::Time const &', 'value')])
4623 return
4624
4625def register_Ns3TypeIdChecker_methods(root_module, cls):
4626 ## type-id.h (module 'core'): ns3::TypeIdChecker::TypeIdChecker() [constructor]
4627 cls.add_constructor([])
4628 ## type-id.h (module 'core'): ns3::TypeIdChecker::TypeIdChecker(ns3::TypeIdChecker const & arg0) [copy constructor]
4629 cls.add_constructor([param('ns3::TypeIdChecker const &', 'arg0')])
4630 return
4631
4632def register_Ns3TypeIdValue_methods(root_module, cls):
4633 ## type-id.h (module 'core'): ns3::TypeIdValue::TypeIdValue() [constructor]
4634 cls.add_constructor([])
4635 ## type-id.h (module 'core'): ns3::TypeIdValue::TypeIdValue(ns3::TypeIdValue const & arg0) [copy constructor]
4636 cls.add_constructor([param('ns3::TypeIdValue const &', 'arg0')])
4637 ## type-id.h (module 'core'): ns3::TypeIdValue::TypeIdValue(ns3::TypeId const & value) [constructor]
4638 cls.add_constructor([param('ns3::TypeId const &', 'value')])
4639 ## type-id.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::TypeIdValue::Copy() const [member function]
4640 cls.add_method('Copy',
4641 'ns3::Ptr< ns3::AttributeValue >',
4642 [],
4643 is_const=True, is_virtual=True)
4644 ## type-id.h (module 'core'): bool ns3::TypeIdValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4645 cls.add_method('DeserializeFromString',
4646 'bool',
4647 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4648 is_virtual=True)
4649 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeIdValue::Get() const [member function]
4650 cls.add_method('Get',
4651 'ns3::TypeId',
4652 [],
4653 is_const=True)
4654 ## type-id.h (module 'core'): std::string ns3::TypeIdValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4655 cls.add_method('SerializeToString',
4656 'std::string',
4657 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4658 is_const=True, is_virtual=True)
4659 ## type-id.h (module 'core'): void ns3::TypeIdValue::Set(ns3::TypeId const & value) [member function]
4660 cls.add_method('Set',
4661 'void',
4662 [param('ns3::TypeId const &', 'value')])
4663 return
4664
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004665def register_Ns3AddressChecker_methods(root_module, cls):
4666 ## address.h (module 'network'): ns3::AddressChecker::AddressChecker() [constructor]
4667 cls.add_constructor([])
4668 ## address.h (module 'network'): ns3::AddressChecker::AddressChecker(ns3::AddressChecker const & arg0) [copy constructor]
4669 cls.add_constructor([param('ns3::AddressChecker const &', 'arg0')])
4670 return
4671
4672def register_Ns3AddressValue_methods(root_module, cls):
4673 ## address.h (module 'network'): ns3::AddressValue::AddressValue() [constructor]
4674 cls.add_constructor([])
4675 ## address.h (module 'network'): ns3::AddressValue::AddressValue(ns3::AddressValue const & arg0) [copy constructor]
4676 cls.add_constructor([param('ns3::AddressValue const &', 'arg0')])
4677 ## address.h (module 'network'): ns3::AddressValue::AddressValue(ns3::Address const & value) [constructor]
4678 cls.add_constructor([param('ns3::Address const &', 'value')])
4679 ## address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::AddressValue::Copy() const [member function]
4680 cls.add_method('Copy',
4681 'ns3::Ptr< ns3::AttributeValue >',
4682 [],
4683 is_const=True, is_virtual=True)
4684 ## address.h (module 'network'): bool ns3::AddressValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4685 cls.add_method('DeserializeFromString',
4686 'bool',
4687 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4688 is_virtual=True)
4689 ## address.h (module 'network'): ns3::Address ns3::AddressValue::Get() const [member function]
4690 cls.add_method('Get',
4691 'ns3::Address',
4692 [],
4693 is_const=True)
4694 ## address.h (module 'network'): std::string ns3::AddressValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4695 cls.add_method('SerializeToString',
4696 'std::string',
4697 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4698 is_const=True, is_virtual=True)
4699 ## address.h (module 'network'): void ns3::AddressValue::Set(ns3::Address const & value) [member function]
4700 cls.add_method('Set',
4701 'void',
4702 [param('ns3::Address const &', 'value')])
4703 return
4704
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004705def register_functions(root_module):
4706 module = root_module
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08004707 ## batches.h (module 'NDNabstraction'): extern ns3::Ptr<ns3::AttributeChecker const> ns3::MakeBatchesChecker() [free function]
4708 module.add_function('MakeBatchesChecker',
4709 'ns3::Ptr< ns3::AttributeChecker const >',
4710 [])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004711 ## ccnx-name-components.h (module 'NDNabstraction'): extern ns3::Ptr<ns3::AttributeChecker const> ns3::MakeCcnxNameComponentsChecker() [free function]
4712 module.add_function('MakeCcnxNameComponentsChecker',
4713 'ns3::Ptr< ns3::AttributeChecker const >',
4714 [])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004715 register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module)
4716 register_functions_ns3_internal(module.get_submodule('internal'), root_module)
4717 return
4718
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004719def register_functions_ns3_FatalImpl(module, root_module):
4720 return
4721
4722def register_functions_ns3_internal(module, root_module):
4723 return
4724
4725def main():
4726 out = FileCodeSink(sys.stdout)
4727 root_module = module_init()
4728 register_types(root_module)
4729 register_methods(root_module)
4730 register_functions(root_module)
4731 root_module.generate(out)
4732
4733if __name__ == '__main__':
4734 main()
4735