blob: 210b38cfeb5b09e9dc032e4172fa5a3ec2098309 [file] [log] [blame]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers
2
3
4import pybindgen.settings
5import warnings
6
7class ErrorHandler(pybindgen.settings.ErrorHandler):
8 def handle_error(self, wrapper, exception, traceback_):
9 warnings.warn("exception %r in wrapper %s" % (exception, wrapper))
10 return True
11pybindgen.settings.error_handler = ErrorHandler()
12
13
14import sys
15
16def module_init():
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -070017 root_module = Module('ns.ndnSIM', cpp_namespace='::ns3')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -080018 return root_module
19
20def register_types(module):
21 root_module = module.get_root()
22
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -080023 ## address.h (module 'network'): ns3::Address [class]
24 module.add_class('Address', import_from_module='ns.network')
25 ## address.h (module 'network'): ns3::Address::MaxSize_e [enumeration]
26 module.add_enum('MaxSize_e', ['MAX_SIZE'], outer_class=root_module['ns3::Address'], import_from_module='ns.network')
27 ## application-container.h (module 'network'): ns3::ApplicationContainer [class]
28 module.add_class('ApplicationContainer', import_from_module='ns.network')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -080029 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class]
30 module.add_class('AttributeConstructionList', import_from_module='ns.core')
31 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct]
32 module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList'])
33 ## buffer.h (module 'network'): ns3::Buffer [class]
34 module.add_class('Buffer', import_from_module='ns.network')
35 ## buffer.h (module 'network'): ns3::Buffer::Iterator [class]
36 module.add_class('Iterator', import_from_module='ns.network', outer_class=root_module['ns3::Buffer'])
37 ## packet.h (module 'network'): ns3::ByteTagIterator [class]
38 module.add_class('ByteTagIterator', import_from_module='ns.network')
39 ## packet.h (module 'network'): ns3::ByteTagIterator::Item [class]
40 module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::ByteTagIterator'])
41 ## byte-tag-list.h (module 'network'): ns3::ByteTagList [class]
42 module.add_class('ByteTagList', import_from_module='ns.network')
43 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator [class]
44 module.add_class('Iterator', import_from_module='ns.network', outer_class=root_module['ns3::ByteTagList'])
45 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item [struct]
46 module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::ByteTagList::Iterator'])
47 ## callback.h (module 'core'): ns3::CallbackBase [class]
48 module.add_class('CallbackBase', import_from_module='ns.core')
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -070049 ## ccnx-app-helper.h (module 'ndnSIM'): ns3::CcnxAppHelper [class]
Alexander Afanasyev4975f732011-12-20 17:52:19 -080050 module.add_class('CcnxAppHelper')
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -070051 ## ccnx-content-object-header.h (module 'ndnSIM'): ns3::CcnxContentObjectHeaderException [class]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -080052 module.add_class('CcnxContentObjectHeaderException')
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -070053 ## ccnx-fib.h (module 'ndnSIM'): ns3::CcnxFibEntry [class]
Alexander Afanasyev8e2f1122012-04-17 15:01:11 -070054 module.add_class('CcnxFibEntry')
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -070055 ## ccnx-fib.h (module 'ndnSIM'): ns3::CcnxFibEntry::NoFaces [class]
Alexander Afanasyev8e2f1122012-04-17 15:01:11 -070056 module.add_class('NoFaces', outer_class=root_module['ns3::CcnxFibEntry'])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -070057 ## ccnx-fib.h (module 'ndnSIM'): ns3::CcnxFibEntryContainer [struct]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -080058 module.add_class('CcnxFibEntryContainer')
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -070059 ## ccnx-fib.h (module 'ndnSIM'): ns3::CcnxFibFaceMetric [class]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -080060 module.add_class('CcnxFibFaceMetric')
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -070061 ## ccnx-fib.h (module 'ndnSIM'): ns3::CcnxFibFaceMetric::Status [enumeration]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -080062 module.add_enum('Status', ['NDN_FIB_GREEN', 'NDN_FIB_YELLOW', 'NDN_FIB_RED'], outer_class=root_module['ns3::CcnxFibFaceMetric'])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -070063 ## ccnx-fib.h (module 'ndnSIM'): ns3::CcnxFibFaceMetricContainer [struct]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -080064 module.add_class('CcnxFibFaceMetricContainer')
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -070065 ## ccnx-global-routing-helper.h (module 'ndnSIM'): ns3::CcnxGlobalRoutingHelper [class]
Alexander Afanasyev8e2f1122012-04-17 15:01:11 -070066 module.add_class('CcnxGlobalRoutingHelper')
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -070067 ## ccnx-header-helper.h (module 'ndnSIM'): ns3::CcnxHeaderHelper [class]
Alexander Afanasyev53872ce2011-12-16 13:17:18 -080068 module.add_class('CcnxHeaderHelper')
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -070069 ## ccnx-header-helper.h (module 'ndnSIM'): ns3::CcnxHeaderHelper::Type [enumeration]
Alexander Afanasyev53872ce2011-12-16 13:17:18 -080070 module.add_enum('Type', ['INTEREST', 'CONTENT_OBJECT'], outer_class=root_module['ns3::CcnxHeaderHelper'])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -070071 ## ccnx-interest-header.h (module 'ndnSIM'): ns3::CcnxInterestHeaderException [class]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -080072 module.add_class('CcnxInterestHeaderException')
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -070073 ## ccnx-pit-entry.h (module 'ndnSIM'): ns3::CcnxPitEntry [struct]
Alexander Afanasyevad5acce2012-05-31 12:43:08 -070074 module.add_class('CcnxPitEntry')
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -070075 ## ccnx-pit.h (module 'ndnSIM'): ns3::CcnxPitEntryContainer [struct]
Alexander Afanasyevad5acce2012-05-31 12:43:08 -070076 module.add_class('CcnxPitEntryContainer')
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -070077 ## ccnx-pit-entry-incoming-face.h (module 'ndnSIM'): ns3::CcnxPitEntryIncomingFace [struct]
Alexander Afanasyevad5acce2012-05-31 12:43:08 -070078 module.add_class('CcnxPitEntryIncomingFace')
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -070079 ## ccnx-pit-entry.h (module 'ndnSIM'): ns3::CcnxPitEntryIncomingFaceContainer [struct]
Alexander Afanasyevad5acce2012-05-31 12:43:08 -070080 module.add_class('CcnxPitEntryIncomingFaceContainer')
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -070081 ## ccnx-pit.h (module 'ndnSIM'): ns3::CcnxPitEntryNotFound [class]
Alexander Afanasyevad5acce2012-05-31 12:43:08 -070082 module.add_class('CcnxPitEntryNotFound')
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -070083 ## ccnx-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::CcnxPitEntryOutgoingFace [struct]
Alexander Afanasyevad5acce2012-05-31 12:43:08 -070084 module.add_class('CcnxPitEntryOutgoingFace')
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -070085 ## ccnx-pit-entry.h (module 'ndnSIM'): ns3::CcnxPitEntryOutgoingFaceContainer [struct]
Alexander Afanasyevad5acce2012-05-31 12:43:08 -070086 module.add_class('CcnxPitEntryOutgoingFaceContainer')
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -070087 ## ccnx-stack-helper.h (module 'ndnSIM'): ns3::CcnxStackHelper [class]
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -080088 module.add_class('CcnxStackHelper')
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -070089 ## ccnx-header-helper.h (module 'ndnSIM'): ns3::CcnxUnknownHeaderException [class]
Alexander Afanasyev53872ce2011-12-16 13:17:18 -080090 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 Afanasyev6d98ac32012-06-06 13:01:48 -0700197 ## batches.h (module 'ndnSIM'): ns3::BatchesChecker [class]
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -0800198 module.add_class('BatchesChecker', parent=root_module['ns3::AttributeChecker'])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -0700199 ## batches.h (module 'ndnSIM'): ns3::BatchesValue [class]
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -0800200 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'])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -0700207 ## ccnx.h (module 'ndnSIM'): ns3::Ccnx [class]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800208 module.add_class('Ccnx', parent=root_module['ns3::Object'])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -0700209 ## ccnx.h (module 'ndnSIM'): ns3::Ccnx::DropReason [enumeration]
Alexander Afanasyev8f5a9bb2011-12-18 19:49:02 -0800210 module.add_enum('DropReason', ['DUPLICATED', 'SUPPRESSED', 'NO_FACES', 'NON_DUPLICATED', 'AFTER_SATISFIED', 'UNSOLICITED'], outer_class=root_module['ns3::Ccnx'])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -0700211 ## ccnx-app.h (module 'ndnSIM'): ns3::CcnxApp [class]
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -0800212 module.add_class('CcnxApp', parent=root_module['ns3::Application'])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -0700213 ## ccnx-content-object-header.h (module 'ndnSIM'): 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 Afanasyev6d98ac32012-06-06 13:01:48 -0700215 ## ccnx-content-object-header.h (module 'ndnSIM'): ns3::CcnxContentObjectHeader::ContentType [enumeration]
216 module.add_enum('ContentType', ['DATA', 'ENCR', 'GONE', 'KEY', 'LINK', 'NACK'], outer_class=root_module['ns3::CcnxContentObjectHeader'])
217 ## ccnx-content-object-header.h (module 'ndnSIM'): ns3::CcnxContentObjectHeader::Signature [class]
218 module.add_class('Signature', outer_class=root_module['ns3::CcnxContentObjectHeader'])
219 ## ccnx-content-object-header.h (module 'ndnSIM'): ns3::CcnxContentObjectHeader::SignedInfo [class]
Alexander Afanasyev9568f952012-04-05 16:09:14 -0700220 module.add_class('SignedInfo', outer_class=root_module['ns3::CcnxContentObjectHeader'])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -0700221 ## ccnx-content-object-header.h (module 'ndnSIM'): ns3::CcnxContentObjectTail [class]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800222 module.add_class('CcnxContentObjectTail', parent=root_module['ns3::Trailer'])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -0700223 ## ccnx-face.h (module 'ndnSIM'): ns3::CcnxFace [class]
Alexander Afanasyev53872ce2011-12-16 13:17:18 -0800224 module.add_class('CcnxFace', parent=root_module['ns3::Object'])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -0700225 ## ccnx-face-container.h (module 'ndnSIM'): ns3::CcnxFaceContainer [class]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800226 module.add_class('CcnxFaceContainer', parent=root_module['ns3::SimpleRefCount< ns3::CcnxFaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::CcnxFaceContainer> >'])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -0700227 ## ccnx-fib.h (module 'ndnSIM'): ns3::CcnxFib [class]
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -0800228 module.add_class('CcnxFib', parent=root_module['ns3::Object'])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -0700229 ## ccnx-interest-header.h (module 'ndnSIM'): ns3::CcnxInterestHeader [class]
Alexander Afanasyev4756b892012-04-18 14:48:43 -0700230 module.add_class('CcnxInterestHeader', parent=root_module['ns3::SimpleRefCount< ns3::CcnxInterestHeader, ns3::Header, ns3::DefaultDeleter<ns3::CcnxInterestHeader> >'])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -0700231 ## ccnx-interest-header.h (module 'ndnSIM'): ns3::CcnxInterestHeader [enumeration]
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -0800232 module.add_enum('', ['NORMAL_INTEREST', 'NACK_LOOP', 'NACK_CONGESTION', 'NACK_GIVEUP_PIT'], outer_class=root_module['ns3::CcnxInterestHeader'])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -0700233 ## ccnx-name-components.h (module 'ndnSIM'): ns3::CcnxNameComponents [class]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800234 module.add_class('CcnxNameComponents', parent=root_module['ns3::SimpleRefCount< ns3::CcnxNameComponents, ns3::empty, ns3::DefaultDeleter<ns3::CcnxNameComponents> >'])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -0700235 ## ccnx-name-components.h (module 'ndnSIM'): ns3::CcnxNameComponentsChecker [class]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800236 module.add_class('CcnxNameComponentsChecker', parent=root_module['ns3::AttributeChecker'])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -0700237 ## ccnx-name-components.h (module 'ndnSIM'): ns3::CcnxNameComponentsValue [class]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800238 module.add_class('CcnxNameComponentsValue', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -0700239 ## ccnx-net-device-face.h (module 'ndnSIM'): ns3::CcnxNetDeviceFace [class]
240 module.add_class('CcnxNetDeviceFace', parent=root_module['ns3::CcnxFace'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800241 ## attribute.h (module 'core'): ns3::EmptyAttributeValue [class]
242 module.add_class('EmptyAttributeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
243 ## event-impl.h (module 'core'): ns3::EventImpl [class]
244 module.add_class('EventImpl', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >'])
245 ## integer.h (module 'core'): ns3::IntegerValue [class]
246 module.add_class('IntegerValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
247 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker [class]
248 module.add_class('Ipv4AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
249 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue [class]
250 module.add_class('Ipv4AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
251 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker [class]
252 module.add_class('Ipv4MaskChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
253 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue [class]
254 module.add_class('Ipv4MaskValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
255 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker [class]
256 module.add_class('Ipv6AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
257 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue [class]
258 module.add_class('Ipv6AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
259 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker [class]
260 module.add_class('Ipv6PrefixChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
261 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue [class]
262 module.add_class('Ipv6PrefixValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800263 ## net-device.h (module 'network'): ns3::NetDevice [class]
264 module.add_class('NetDevice', import_from_module='ns.network', parent=root_module['ns3::Object'])
265 ## net-device.h (module 'network'): ns3::NetDevice::PacketType [enumeration]
266 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')
267 ## nix-vector.h (module 'network'): ns3::NixVector [class]
268 module.add_class('NixVector', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >'])
269 ## node.h (module 'network'): ns3::Node [class]
270 module.add_class('Node', import_from_module='ns.network', parent=root_module['ns3::Object'])
271 ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker [class]
272 module.add_class('ObjectFactoryChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
273 ## object-factory.h (module 'core'): ns3::ObjectFactoryValue [class]
274 module.add_class('ObjectFactoryValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800275 ## packet.h (module 'network'): ns3::Packet [class]
276 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 -0800277 ## nstime.h (module 'core'): ns3::TimeChecker [class]
278 module.add_class('TimeChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
279 ## nstime.h (module 'core'): ns3::TimeValue [class]
280 module.add_class('TimeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
281 ## type-id.h (module 'core'): ns3::TypeIdChecker [class]
282 module.add_class('TypeIdChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
283 ## type-id.h (module 'core'): ns3::TypeIdValue [class]
284 module.add_class('TypeIdValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800285 ## address.h (module 'network'): ns3::AddressChecker [class]
286 module.add_class('AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
287 ## address.h (module 'network'): ns3::AddressValue [class]
288 module.add_class('AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -0700289 ## ccnx-app-face.h (module 'ndnSIM'): ns3::CcnxAppFace [class]
290 module.add_class('CcnxAppFace', parent=root_module['ns3::CcnxFace'])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -0700291 module.add_container('std::set< unsigned int >', 'unsigned int', container_type='set')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800292 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')
293 module.add_container('std::list< std::string >', 'std::string', container_type='list')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800294
295 ## Register a nested module for the namespace FatalImpl
296
297 nested_module = module.add_cpp_namespace('FatalImpl')
298 register_types_ns3_FatalImpl(nested_module)
299
300
301 ## Register a nested module for the namespace internal
302
303 nested_module = module.add_cpp_namespace('internal')
304 register_types_ns3_internal(nested_module)
305
306
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800307def register_types_ns3_FatalImpl(module):
308 root_module = module.get_root()
309
310
311def register_types_ns3_internal(module):
312 root_module = module.get_root()
313
314
315def register_methods(root_module):
316 register_Ns3Address_methods(root_module, root_module['ns3::Address'])
317 register_Ns3ApplicationContainer_methods(root_module, root_module['ns3::ApplicationContainer'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800318 register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList'])
319 register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item'])
320 register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer'])
321 register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator'])
322 register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator'])
323 register_Ns3ByteTagIteratorItem_methods(root_module, root_module['ns3::ByteTagIterator::Item'])
324 register_Ns3ByteTagList_methods(root_module, root_module['ns3::ByteTagList'])
325 register_Ns3ByteTagListIterator_methods(root_module, root_module['ns3::ByteTagList::Iterator'])
326 register_Ns3ByteTagListIteratorItem_methods(root_module, root_module['ns3::ByteTagList::Iterator::Item'])
327 register_Ns3CallbackBase_methods(root_module, root_module['ns3::CallbackBase'])
Alexander Afanasyev4975f732011-12-20 17:52:19 -0800328 register_Ns3CcnxAppHelper_methods(root_module, root_module['ns3::CcnxAppHelper'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800329 register_Ns3CcnxContentObjectHeaderException_methods(root_module, root_module['ns3::CcnxContentObjectHeaderException'])
Alexander Afanasyev8e2f1122012-04-17 15:01:11 -0700330 register_Ns3CcnxFibEntry_methods(root_module, root_module['ns3::CcnxFibEntry'])
331 register_Ns3CcnxFibEntryNoFaces_methods(root_module, root_module['ns3::CcnxFibEntry::NoFaces'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800332 register_Ns3CcnxFibEntryContainer_methods(root_module, root_module['ns3::CcnxFibEntryContainer'])
333 register_Ns3CcnxFibFaceMetric_methods(root_module, root_module['ns3::CcnxFibFaceMetric'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800334 register_Ns3CcnxFibFaceMetricContainer_methods(root_module, root_module['ns3::CcnxFibFaceMetricContainer'])
Alexander Afanasyev8e2f1122012-04-17 15:01:11 -0700335 register_Ns3CcnxGlobalRoutingHelper_methods(root_module, root_module['ns3::CcnxGlobalRoutingHelper'])
Alexander Afanasyev53872ce2011-12-16 13:17:18 -0800336 register_Ns3CcnxHeaderHelper_methods(root_module, root_module['ns3::CcnxHeaderHelper'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800337 register_Ns3CcnxInterestHeaderException_methods(root_module, root_module['ns3::CcnxInterestHeaderException'])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -0700338 register_Ns3CcnxPitEntry_methods(root_module, root_module['ns3::CcnxPitEntry'])
339 register_Ns3CcnxPitEntryContainer_methods(root_module, root_module['ns3::CcnxPitEntryContainer'])
340 register_Ns3CcnxPitEntryIncomingFace_methods(root_module, root_module['ns3::CcnxPitEntryIncomingFace'])
341 register_Ns3CcnxPitEntryIncomingFaceContainer_methods(root_module, root_module['ns3::CcnxPitEntryIncomingFaceContainer'])
342 register_Ns3CcnxPitEntryNotFound_methods(root_module, root_module['ns3::CcnxPitEntryNotFound'])
343 register_Ns3CcnxPitEntryOutgoingFace_methods(root_module, root_module['ns3::CcnxPitEntryOutgoingFace'])
344 register_Ns3CcnxPitEntryOutgoingFaceContainer_methods(root_module, root_module['ns3::CcnxPitEntryOutgoingFaceContainer'])
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -0800345 register_Ns3CcnxStackHelper_methods(root_module, root_module['ns3::CcnxStackHelper'])
Alexander Afanasyev53872ce2011-12-16 13:17:18 -0800346 register_Ns3CcnxUnknownHeaderException_methods(root_module, root_module['ns3::CcnxUnknownHeaderException'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800347 register_Ns3EventId_methods(root_module, root_module['ns3::EventId'])
348 register_Ns3Ipv4Address_methods(root_module, root_module['ns3::Ipv4Address'])
349 register_Ns3Ipv4Mask_methods(root_module, root_module['ns3::Ipv4Mask'])
350 register_Ns3Ipv6Address_methods(root_module, root_module['ns3::Ipv6Address'])
351 register_Ns3Ipv6Prefix_methods(root_module, root_module['ns3::Ipv6Prefix'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800352 register_Ns3NodeContainer_methods(root_module, root_module['ns3::NodeContainer'])
353 register_Ns3ObjectBase_methods(root_module, root_module['ns3::ObjectBase'])
354 register_Ns3ObjectDeleter_methods(root_module, root_module['ns3::ObjectDeleter'])
355 register_Ns3ObjectFactory_methods(root_module, root_module['ns3::ObjectFactory'])
356 register_Ns3PacketMetadata_methods(root_module, root_module['ns3::PacketMetadata'])
357 register_Ns3PacketMetadataItem_methods(root_module, root_module['ns3::PacketMetadata::Item'])
358 register_Ns3PacketMetadataItemIterator_methods(root_module, root_module['ns3::PacketMetadata::ItemIterator'])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -0700359 register_Ns3PacketTagIterator_methods(root_module, root_module['ns3::PacketTagIterator'])
360 register_Ns3PacketTagIteratorItem_methods(root_module, root_module['ns3::PacketTagIterator::Item'])
361 register_Ns3PacketTagList_methods(root_module, root_module['ns3::PacketTagList'])
362 register_Ns3PacketTagListTagData_methods(root_module, root_module['ns3::PacketTagList::TagData'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800363 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 -0700364 register_Ns3Tag_methods(root_module, root_module['ns3::Tag'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800365 register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800366 register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId'])
367 register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation'])
368 register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800369 register_Ns3Empty_methods(root_module, root_module['ns3::empty'])
370 register_Ns3Int64x64_t_methods(root_module, root_module['ns3::int64x64_t'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800371 register_Ns3Chunk_methods(root_module, root_module['ns3::Chunk'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800372 register_Ns3Header_methods(root_module, root_module['ns3::Header'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800373 register_Ns3Object_methods(root_module, root_module['ns3::Object'])
374 register_Ns3ObjectAggregateIterator_methods(root_module, root_module['ns3::Object::AggregateIterator'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800375 register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >'])
376 register_Ns3SimpleRefCount__Ns3AttributeChecker_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeChecker__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >'])
377 register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeValue__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >'])
378 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 -0700379 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 -0800380 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 -0700381 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 -0800382 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 -0800383 register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >'])
384 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 -0800385 register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >'])
386 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 -0800387 register_Ns3Time_methods(root_module, root_module['ns3::Time'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800388 register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor'])
389 register_Ns3Trailer_methods(root_module, root_module['ns3::Trailer'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800390 register_Ns3Application_methods(root_module, root_module['ns3::Application'])
391 register_Ns3AttributeAccessor_methods(root_module, root_module['ns3::AttributeAccessor'])
392 register_Ns3AttributeChecker_methods(root_module, root_module['ns3::AttributeChecker'])
393 register_Ns3AttributeValue_methods(root_module, root_module['ns3::AttributeValue'])
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -0800394 register_Ns3BatchesChecker_methods(root_module, root_module['ns3::BatchesChecker'])
395 register_Ns3BatchesValue_methods(root_module, root_module['ns3::BatchesValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800396 register_Ns3CallbackChecker_methods(root_module, root_module['ns3::CallbackChecker'])
397 register_Ns3CallbackImplBase_methods(root_module, root_module['ns3::CallbackImplBase'])
398 register_Ns3CallbackValue_methods(root_module, root_module['ns3::CallbackValue'])
399 register_Ns3Ccnx_methods(root_module, root_module['ns3::Ccnx'])
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -0800400 register_Ns3CcnxApp_methods(root_module, root_module['ns3::CcnxApp'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800401 register_Ns3CcnxContentObjectHeader_methods(root_module, root_module['ns3::CcnxContentObjectHeader'])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -0700402 register_Ns3CcnxContentObjectHeaderSignature_methods(root_module, root_module['ns3::CcnxContentObjectHeader::Signature'])
Alexander Afanasyev9568f952012-04-05 16:09:14 -0700403 register_Ns3CcnxContentObjectHeaderSignedInfo_methods(root_module, root_module['ns3::CcnxContentObjectHeader::SignedInfo'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800404 register_Ns3CcnxContentObjectTail_methods(root_module, root_module['ns3::CcnxContentObjectTail'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800405 register_Ns3CcnxFace_methods(root_module, root_module['ns3::CcnxFace'])
406 register_Ns3CcnxFaceContainer_methods(root_module, root_module['ns3::CcnxFaceContainer'])
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -0800407 register_Ns3CcnxFib_methods(root_module, root_module['ns3::CcnxFib'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800408 register_Ns3CcnxInterestHeader_methods(root_module, root_module['ns3::CcnxInterestHeader'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800409 register_Ns3CcnxNameComponents_methods(root_module, root_module['ns3::CcnxNameComponents'])
410 register_Ns3CcnxNameComponentsChecker_methods(root_module, root_module['ns3::CcnxNameComponentsChecker'])
411 register_Ns3CcnxNameComponentsValue_methods(root_module, root_module['ns3::CcnxNameComponentsValue'])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -0700412 register_Ns3CcnxNetDeviceFace_methods(root_module, root_module['ns3::CcnxNetDeviceFace'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800413 register_Ns3EmptyAttributeValue_methods(root_module, root_module['ns3::EmptyAttributeValue'])
414 register_Ns3EventImpl_methods(root_module, root_module['ns3::EventImpl'])
415 register_Ns3IntegerValue_methods(root_module, root_module['ns3::IntegerValue'])
416 register_Ns3Ipv4AddressChecker_methods(root_module, root_module['ns3::Ipv4AddressChecker'])
417 register_Ns3Ipv4AddressValue_methods(root_module, root_module['ns3::Ipv4AddressValue'])
418 register_Ns3Ipv4MaskChecker_methods(root_module, root_module['ns3::Ipv4MaskChecker'])
419 register_Ns3Ipv4MaskValue_methods(root_module, root_module['ns3::Ipv4MaskValue'])
420 register_Ns3Ipv6AddressChecker_methods(root_module, root_module['ns3::Ipv6AddressChecker'])
421 register_Ns3Ipv6AddressValue_methods(root_module, root_module['ns3::Ipv6AddressValue'])
422 register_Ns3Ipv6PrefixChecker_methods(root_module, root_module['ns3::Ipv6PrefixChecker'])
423 register_Ns3Ipv6PrefixValue_methods(root_module, root_module['ns3::Ipv6PrefixValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800424 register_Ns3NetDevice_methods(root_module, root_module['ns3::NetDevice'])
425 register_Ns3NixVector_methods(root_module, root_module['ns3::NixVector'])
426 register_Ns3Node_methods(root_module, root_module['ns3::Node'])
427 register_Ns3ObjectFactoryChecker_methods(root_module, root_module['ns3::ObjectFactoryChecker'])
428 register_Ns3ObjectFactoryValue_methods(root_module, root_module['ns3::ObjectFactoryValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800429 register_Ns3Packet_methods(root_module, root_module['ns3::Packet'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800430 register_Ns3TimeChecker_methods(root_module, root_module['ns3::TimeChecker'])
431 register_Ns3TimeValue_methods(root_module, root_module['ns3::TimeValue'])
432 register_Ns3TypeIdChecker_methods(root_module, root_module['ns3::TypeIdChecker'])
433 register_Ns3TypeIdValue_methods(root_module, root_module['ns3::TypeIdValue'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800434 register_Ns3AddressChecker_methods(root_module, root_module['ns3::AddressChecker'])
435 register_Ns3AddressValue_methods(root_module, root_module['ns3::AddressValue'])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -0700436 register_Ns3CcnxAppFace_methods(root_module, root_module['ns3::CcnxAppFace'])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800437 return
438
439def register_Ns3Address_methods(root_module, cls):
440 cls.add_binary_comparison_operator('!=')
441 cls.add_output_stream_operator()
442 cls.add_binary_comparison_operator('==')
443 cls.add_binary_comparison_operator('<')
444 ## address.h (module 'network'): ns3::Address::Address() [constructor]
445 cls.add_constructor([])
446 ## address.h (module 'network'): ns3::Address::Address(uint8_t type, uint8_t const * buffer, uint8_t len) [constructor]
447 cls.add_constructor([param('uint8_t', 'type'), param('uint8_t const *', 'buffer'), param('uint8_t', 'len')])
448 ## address.h (module 'network'): ns3::Address::Address(ns3::Address const & address) [copy constructor]
449 cls.add_constructor([param('ns3::Address const &', 'address')])
450 ## address.h (module 'network'): bool ns3::Address::CheckCompatible(uint8_t type, uint8_t len) const [member function]
451 cls.add_method('CheckCompatible',
452 'bool',
453 [param('uint8_t', 'type'), param('uint8_t', 'len')],
454 is_const=True)
455 ## address.h (module 'network'): uint32_t ns3::Address::CopyAllFrom(uint8_t const * buffer, uint8_t len) [member function]
456 cls.add_method('CopyAllFrom',
457 'uint32_t',
458 [param('uint8_t const *', 'buffer'), param('uint8_t', 'len')])
459 ## address.h (module 'network'): uint32_t ns3::Address::CopyAllTo(uint8_t * buffer, uint8_t len) const [member function]
460 cls.add_method('CopyAllTo',
461 'uint32_t',
462 [param('uint8_t *', 'buffer'), param('uint8_t', 'len')],
463 is_const=True)
464 ## address.h (module 'network'): uint32_t ns3::Address::CopyFrom(uint8_t const * buffer, uint8_t len) [member function]
465 cls.add_method('CopyFrom',
466 'uint32_t',
467 [param('uint8_t const *', 'buffer'), param('uint8_t', 'len')])
468 ## address.h (module 'network'): uint32_t ns3::Address::CopyTo(uint8_t * buffer) const [member function]
469 cls.add_method('CopyTo',
470 'uint32_t',
471 [param('uint8_t *', 'buffer')],
472 is_const=True)
473 ## address.h (module 'network'): void ns3::Address::Deserialize(ns3::TagBuffer buffer) [member function]
474 cls.add_method('Deserialize',
475 'void',
476 [param('ns3::TagBuffer', 'buffer')])
477 ## address.h (module 'network'): uint8_t ns3::Address::GetLength() const [member function]
478 cls.add_method('GetLength',
479 'uint8_t',
480 [],
481 is_const=True)
482 ## address.h (module 'network'): uint32_t ns3::Address::GetSerializedSize() const [member function]
483 cls.add_method('GetSerializedSize',
484 'uint32_t',
485 [],
486 is_const=True)
487 ## address.h (module 'network'): bool ns3::Address::IsInvalid() const [member function]
488 cls.add_method('IsInvalid',
489 'bool',
490 [],
491 is_const=True)
492 ## address.h (module 'network'): bool ns3::Address::IsMatchingType(uint8_t type) const [member function]
493 cls.add_method('IsMatchingType',
494 'bool',
495 [param('uint8_t', 'type')],
496 is_const=True)
497 ## address.h (module 'network'): static uint8_t ns3::Address::Register() [member function]
498 cls.add_method('Register',
499 'uint8_t',
500 [],
501 is_static=True)
502 ## address.h (module 'network'): void ns3::Address::Serialize(ns3::TagBuffer buffer) const [member function]
503 cls.add_method('Serialize',
504 'void',
505 [param('ns3::TagBuffer', 'buffer')],
506 is_const=True)
507 return
508
509def register_Ns3ApplicationContainer_methods(root_module, cls):
510 ## application-container.h (module 'network'): ns3::ApplicationContainer::ApplicationContainer(ns3::ApplicationContainer const & arg0) [copy constructor]
511 cls.add_constructor([param('ns3::ApplicationContainer const &', 'arg0')])
512 ## application-container.h (module 'network'): ns3::ApplicationContainer::ApplicationContainer() [constructor]
513 cls.add_constructor([])
514 ## application-container.h (module 'network'): ns3::ApplicationContainer::ApplicationContainer(ns3::Ptr<ns3::Application> application) [constructor]
515 cls.add_constructor([param('ns3::Ptr< ns3::Application >', 'application')])
516 ## application-container.h (module 'network'): ns3::ApplicationContainer::ApplicationContainer(std::string name) [constructor]
517 cls.add_constructor([param('std::string', 'name')])
518 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Add(ns3::ApplicationContainer other) [member function]
519 cls.add_method('Add',
520 'void',
521 [param('ns3::ApplicationContainer', 'other')])
522 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Add(ns3::Ptr<ns3::Application> application) [member function]
523 cls.add_method('Add',
524 'void',
525 [param('ns3::Ptr< ns3::Application >', 'application')])
526 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Add(std::string name) [member function]
527 cls.add_method('Add',
528 'void',
529 [param('std::string', 'name')])
530 ## 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]
531 cls.add_method('Begin',
532 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Application > const, std::vector< ns3::Ptr< ns3::Application > > >',
533 [],
534 is_const=True)
535 ## 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]
536 cls.add_method('End',
537 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Application > const, std::vector< ns3::Ptr< ns3::Application > > >',
538 [],
539 is_const=True)
540 ## application-container.h (module 'network'): ns3::Ptr<ns3::Application> ns3::ApplicationContainer::Get(uint32_t i) const [member function]
541 cls.add_method('Get',
542 'ns3::Ptr< ns3::Application >',
543 [param('uint32_t', 'i')],
544 is_const=True)
545 ## application-container.h (module 'network'): uint32_t ns3::ApplicationContainer::GetN() const [member function]
546 cls.add_method('GetN',
547 'uint32_t',
548 [],
549 is_const=True)
550 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Start(ns3::Time start) [member function]
551 cls.add_method('Start',
552 'void',
553 [param('ns3::Time', 'start')])
554 ## application-container.h (module 'network'): void ns3::ApplicationContainer::Stop(ns3::Time stop) [member function]
555 cls.add_method('Stop',
556 'void',
557 [param('ns3::Time', 'stop')])
558 return
559
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800560def register_Ns3AttributeConstructionList_methods(root_module, cls):
561 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor]
562 cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')])
563 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor]
564 cls.add_constructor([])
565 ## 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]
566 cls.add_method('Add',
567 'void',
568 [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')])
569 ## attribute-construction-list.h (module 'core'): std::_List_const_iterator<ns3::AttributeConstructionList::Item> ns3::AttributeConstructionList::Begin() const [member function]
570 cls.add_method('Begin',
571 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >',
572 [],
573 is_const=True)
574 ## attribute-construction-list.h (module 'core'): std::_List_const_iterator<ns3::AttributeConstructionList::Item> ns3::AttributeConstructionList::End() const [member function]
575 cls.add_method('End',
576 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >',
577 [],
578 is_const=True)
579 ## attribute-construction-list.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeConstructionList::Find(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
580 cls.add_method('Find',
581 'ns3::Ptr< ns3::AttributeValue >',
582 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
583 is_const=True)
584 return
585
586def register_Ns3AttributeConstructionListItem_methods(root_module, cls):
587 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor]
588 cls.add_constructor([])
589 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor]
590 cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')])
591 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable]
592 cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False)
593 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable]
594 cls.add_instance_attribute('name', 'std::string', is_const=False)
595 ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable]
596 cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False)
597 return
598
599def register_Ns3Buffer_methods(root_module, cls):
600 ## buffer.h (module 'network'): ns3::Buffer::Buffer() [constructor]
601 cls.add_constructor([])
602 ## buffer.h (module 'network'): ns3::Buffer::Buffer(uint32_t dataSize) [constructor]
603 cls.add_constructor([param('uint32_t', 'dataSize')])
604 ## buffer.h (module 'network'): ns3::Buffer::Buffer(uint32_t dataSize, bool initialize) [constructor]
605 cls.add_constructor([param('uint32_t', 'dataSize'), param('bool', 'initialize')])
606 ## buffer.h (module 'network'): ns3::Buffer::Buffer(ns3::Buffer const & o) [copy constructor]
607 cls.add_constructor([param('ns3::Buffer const &', 'o')])
608 ## buffer.h (module 'network'): bool ns3::Buffer::AddAtEnd(uint32_t end) [member function]
609 cls.add_method('AddAtEnd',
610 'bool',
611 [param('uint32_t', 'end')])
612 ## buffer.h (module 'network'): void ns3::Buffer::AddAtEnd(ns3::Buffer const & o) [member function]
613 cls.add_method('AddAtEnd',
614 'void',
615 [param('ns3::Buffer const &', 'o')])
616 ## buffer.h (module 'network'): bool ns3::Buffer::AddAtStart(uint32_t start) [member function]
617 cls.add_method('AddAtStart',
618 'bool',
619 [param('uint32_t', 'start')])
620 ## buffer.h (module 'network'): ns3::Buffer::Iterator ns3::Buffer::Begin() const [member function]
621 cls.add_method('Begin',
622 'ns3::Buffer::Iterator',
623 [],
624 is_const=True)
625 ## buffer.h (module 'network'): void ns3::Buffer::CopyData(std::ostream * os, uint32_t size) const [member function]
626 cls.add_method('CopyData',
627 'void',
628 [param('std::ostream *', 'os'), param('uint32_t', 'size')],
629 is_const=True)
630 ## buffer.h (module 'network'): uint32_t ns3::Buffer::CopyData(uint8_t * buffer, uint32_t size) const [member function]
631 cls.add_method('CopyData',
632 'uint32_t',
633 [param('uint8_t *', 'buffer'), param('uint32_t', 'size')],
634 is_const=True)
635 ## buffer.h (module 'network'): ns3::Buffer ns3::Buffer::CreateFragment(uint32_t start, uint32_t length) const [member function]
636 cls.add_method('CreateFragment',
637 'ns3::Buffer',
638 [param('uint32_t', 'start'), param('uint32_t', 'length')],
639 is_const=True)
640 ## buffer.h (module 'network'): ns3::Buffer ns3::Buffer::CreateFullCopy() const [member function]
641 cls.add_method('CreateFullCopy',
642 'ns3::Buffer',
643 [],
644 is_const=True)
645 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Deserialize(uint8_t const * buffer, uint32_t size) [member function]
646 cls.add_method('Deserialize',
647 'uint32_t',
648 [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
649 ## buffer.h (module 'network'): ns3::Buffer::Iterator ns3::Buffer::End() const [member function]
650 cls.add_method('End',
651 'ns3::Buffer::Iterator',
652 [],
653 is_const=True)
654 ## buffer.h (module 'network'): int32_t ns3::Buffer::GetCurrentEndOffset() const [member function]
655 cls.add_method('GetCurrentEndOffset',
656 'int32_t',
657 [],
658 is_const=True)
659 ## buffer.h (module 'network'): int32_t ns3::Buffer::GetCurrentStartOffset() const [member function]
660 cls.add_method('GetCurrentStartOffset',
661 'int32_t',
662 [],
663 is_const=True)
664 ## buffer.h (module 'network'): uint32_t ns3::Buffer::GetSerializedSize() const [member function]
665 cls.add_method('GetSerializedSize',
666 'uint32_t',
667 [],
668 is_const=True)
669 ## buffer.h (module 'network'): uint32_t ns3::Buffer::GetSize() const [member function]
670 cls.add_method('GetSize',
671 'uint32_t',
672 [],
673 is_const=True)
674 ## buffer.h (module 'network'): uint8_t const * ns3::Buffer::PeekData() const [member function]
675 cls.add_method('PeekData',
676 'uint8_t const *',
677 [],
678 is_const=True)
679 ## buffer.h (module 'network'): void ns3::Buffer::RemoveAtEnd(uint32_t end) [member function]
680 cls.add_method('RemoveAtEnd',
681 'void',
682 [param('uint32_t', 'end')])
683 ## buffer.h (module 'network'): void ns3::Buffer::RemoveAtStart(uint32_t start) [member function]
684 cls.add_method('RemoveAtStart',
685 'void',
686 [param('uint32_t', 'start')])
687 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
688 cls.add_method('Serialize',
689 'uint32_t',
690 [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')],
691 is_const=True)
692 return
693
694def register_Ns3BufferIterator_methods(root_module, cls):
695 ## buffer.h (module 'network'): ns3::Buffer::Iterator::Iterator(ns3::Buffer::Iterator const & arg0) [copy constructor]
696 cls.add_constructor([param('ns3::Buffer::Iterator const &', 'arg0')])
697 ## buffer.h (module 'network'): ns3::Buffer::Iterator::Iterator() [constructor]
698 cls.add_constructor([])
699 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::CalculateIpChecksum(uint16_t size) [member function]
700 cls.add_method('CalculateIpChecksum',
701 'uint16_t',
702 [param('uint16_t', 'size')])
703 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::CalculateIpChecksum(uint16_t size, uint32_t initialChecksum) [member function]
704 cls.add_method('CalculateIpChecksum',
705 'uint16_t',
706 [param('uint16_t', 'size'), param('uint32_t', 'initialChecksum')])
707 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::GetDistanceFrom(ns3::Buffer::Iterator const & o) const [member function]
708 cls.add_method('GetDistanceFrom',
709 'uint32_t',
710 [param('ns3::Buffer::Iterator const &', 'o')],
711 is_const=True)
712 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::GetSize() const [member function]
713 cls.add_method('GetSize',
714 'uint32_t',
715 [],
716 is_const=True)
717 ## buffer.h (module 'network'): bool ns3::Buffer::Iterator::IsEnd() const [member function]
718 cls.add_method('IsEnd',
719 'bool',
720 [],
721 is_const=True)
722 ## buffer.h (module 'network'): bool ns3::Buffer::Iterator::IsStart() const [member function]
723 cls.add_method('IsStart',
724 'bool',
725 [],
726 is_const=True)
727 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Next() [member function]
728 cls.add_method('Next',
729 'void',
730 [])
731 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Next(uint32_t delta) [member function]
732 cls.add_method('Next',
733 'void',
734 [param('uint32_t', 'delta')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -0700735 ## buffer.h (module 'network'): uint8_t ns3::Buffer::Iterator::PeekU8() [member function]
736 cls.add_method('PeekU8',
737 'uint8_t',
738 [])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800739 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Prev() [member function]
740 cls.add_method('Prev',
741 'void',
742 [])
743 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Prev(uint32_t delta) [member function]
744 cls.add_method('Prev',
745 'void',
746 [param('uint32_t', 'delta')])
747 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Read(uint8_t * buffer, uint32_t size) [member function]
748 cls.add_method('Read',
749 'void',
750 [param('uint8_t *', 'buffer'), param('uint32_t', 'size')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -0700751 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Read(ns3::Buffer::Iterator start, uint32_t size) [member function]
752 cls.add_method('Read',
753 'void',
754 [param('ns3::Buffer::Iterator', 'start'), param('uint32_t', 'size')])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800755 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadLsbtohU16() [member function]
756 cls.add_method('ReadLsbtohU16',
757 'uint16_t',
758 [])
759 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadLsbtohU32() [member function]
760 cls.add_method('ReadLsbtohU32',
761 'uint32_t',
762 [])
763 ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadLsbtohU64() [member function]
764 cls.add_method('ReadLsbtohU64',
765 'uint64_t',
766 [])
767 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadNtohU16() [member function]
768 cls.add_method('ReadNtohU16',
769 'uint16_t',
770 [])
771 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadNtohU32() [member function]
772 cls.add_method('ReadNtohU32',
773 'uint32_t',
774 [])
775 ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadNtohU64() [member function]
776 cls.add_method('ReadNtohU64',
777 'uint64_t',
778 [])
779 ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadU16() [member function]
780 cls.add_method('ReadU16',
781 'uint16_t',
782 [])
783 ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadU32() [member function]
784 cls.add_method('ReadU32',
785 'uint32_t',
786 [])
787 ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadU64() [member function]
788 cls.add_method('ReadU64',
789 'uint64_t',
790 [])
791 ## buffer.h (module 'network'): uint8_t ns3::Buffer::Iterator::ReadU8() [member function]
792 cls.add_method('ReadU8',
793 'uint8_t',
794 [])
795 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Write(uint8_t const * buffer, uint32_t size) [member function]
796 cls.add_method('Write',
797 'void',
798 [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
799 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Write(ns3::Buffer::Iterator start, ns3::Buffer::Iterator end) [member function]
800 cls.add_method('Write',
801 'void',
802 [param('ns3::Buffer::Iterator', 'start'), param('ns3::Buffer::Iterator', 'end')])
803 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU16(uint16_t data) [member function]
804 cls.add_method('WriteHtolsbU16',
805 'void',
806 [param('uint16_t', 'data')])
807 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU32(uint32_t data) [member function]
808 cls.add_method('WriteHtolsbU32',
809 'void',
810 [param('uint32_t', 'data')])
811 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU64(uint64_t data) [member function]
812 cls.add_method('WriteHtolsbU64',
813 'void',
814 [param('uint64_t', 'data')])
815 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU16(uint16_t data) [member function]
816 cls.add_method('WriteHtonU16',
817 'void',
818 [param('uint16_t', 'data')])
819 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU32(uint32_t data) [member function]
820 cls.add_method('WriteHtonU32',
821 'void',
822 [param('uint32_t', 'data')])
823 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU64(uint64_t data) [member function]
824 cls.add_method('WriteHtonU64',
825 'void',
826 [param('uint64_t', 'data')])
827 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU16(uint16_t data) [member function]
828 cls.add_method('WriteU16',
829 'void',
830 [param('uint16_t', 'data')])
831 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU32(uint32_t data) [member function]
832 cls.add_method('WriteU32',
833 'void',
834 [param('uint32_t', 'data')])
835 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU64(uint64_t data) [member function]
836 cls.add_method('WriteU64',
837 'void',
838 [param('uint64_t', 'data')])
839 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU8(uint8_t data) [member function]
840 cls.add_method('WriteU8',
841 'void',
842 [param('uint8_t', 'data')])
843 ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU8(uint8_t data, uint32_t len) [member function]
844 cls.add_method('WriteU8',
845 'void',
846 [param('uint8_t', 'data'), param('uint32_t', 'len')])
847 return
848
849def register_Ns3ByteTagIterator_methods(root_module, cls):
850 ## packet.h (module 'network'): ns3::ByteTagIterator::ByteTagIterator(ns3::ByteTagIterator const & arg0) [copy constructor]
851 cls.add_constructor([param('ns3::ByteTagIterator const &', 'arg0')])
852 ## packet.h (module 'network'): bool ns3::ByteTagIterator::HasNext() const [member function]
853 cls.add_method('HasNext',
854 'bool',
855 [],
856 is_const=True)
857 ## packet.h (module 'network'): ns3::ByteTagIterator::Item ns3::ByteTagIterator::Next() [member function]
858 cls.add_method('Next',
859 'ns3::ByteTagIterator::Item',
860 [])
861 return
862
863def register_Ns3ByteTagIteratorItem_methods(root_module, cls):
864 ## packet.h (module 'network'): ns3::ByteTagIterator::Item::Item(ns3::ByteTagIterator::Item const & arg0) [copy constructor]
865 cls.add_constructor([param('ns3::ByteTagIterator::Item const &', 'arg0')])
866 ## packet.h (module 'network'): uint32_t ns3::ByteTagIterator::Item::GetEnd() const [member function]
867 cls.add_method('GetEnd',
868 'uint32_t',
869 [],
870 is_const=True)
871 ## packet.h (module 'network'): uint32_t ns3::ByteTagIterator::Item::GetStart() const [member function]
872 cls.add_method('GetStart',
873 'uint32_t',
874 [],
875 is_const=True)
876 ## packet.h (module 'network'): void ns3::ByteTagIterator::Item::GetTag(ns3::Tag & tag) const [member function]
877 cls.add_method('GetTag',
878 'void',
879 [param('ns3::Tag &', 'tag')],
880 is_const=True)
881 ## packet.h (module 'network'): ns3::TypeId ns3::ByteTagIterator::Item::GetTypeId() const [member function]
882 cls.add_method('GetTypeId',
883 'ns3::TypeId',
884 [],
885 is_const=True)
886 return
887
888def register_Ns3ByteTagList_methods(root_module, cls):
889 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::ByteTagList() [constructor]
890 cls.add_constructor([])
891 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::ByteTagList(ns3::ByteTagList const & o) [copy constructor]
892 cls.add_constructor([param('ns3::ByteTagList const &', 'o')])
893 ## 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]
894 cls.add_method('Add',
895 'ns3::TagBuffer',
896 [param('ns3::TypeId', 'tid'), param('uint32_t', 'bufferSize'), param('int32_t', 'start'), param('int32_t', 'end')])
897 ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::Add(ns3::ByteTagList const & o) [member function]
898 cls.add_method('Add',
899 'void',
900 [param('ns3::ByteTagList const &', 'o')])
901 ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::AddAtEnd(int32_t adjustment, int32_t appendOffset) [member function]
902 cls.add_method('AddAtEnd',
903 'void',
904 [param('int32_t', 'adjustment'), param('int32_t', 'appendOffset')])
905 ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::AddAtStart(int32_t adjustment, int32_t prependOffset) [member function]
906 cls.add_method('AddAtStart',
907 'void',
908 [param('int32_t', 'adjustment'), param('int32_t', 'prependOffset')])
909 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator ns3::ByteTagList::Begin(int32_t offsetStart, int32_t offsetEnd) const [member function]
910 cls.add_method('Begin',
911 'ns3::ByteTagList::Iterator',
912 [param('int32_t', 'offsetStart'), param('int32_t', 'offsetEnd')],
913 is_const=True)
914 ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::RemoveAll() [member function]
915 cls.add_method('RemoveAll',
916 'void',
917 [])
918 return
919
920def register_Ns3ByteTagListIterator_methods(root_module, cls):
921 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Iterator(ns3::ByteTagList::Iterator const & arg0) [copy constructor]
922 cls.add_constructor([param('ns3::ByteTagList::Iterator const &', 'arg0')])
923 ## byte-tag-list.h (module 'network'): uint32_t ns3::ByteTagList::Iterator::GetOffsetStart() const [member function]
924 cls.add_method('GetOffsetStart',
925 'uint32_t',
926 [],
927 is_const=True)
928 ## byte-tag-list.h (module 'network'): bool ns3::ByteTagList::Iterator::HasNext() const [member function]
929 cls.add_method('HasNext',
930 'bool',
931 [],
932 is_const=True)
933 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item ns3::ByteTagList::Iterator::Next() [member function]
934 cls.add_method('Next',
935 'ns3::ByteTagList::Iterator::Item',
936 [])
937 return
938
939def register_Ns3ByteTagListIteratorItem_methods(root_module, cls):
940 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::Item(ns3::ByteTagList::Iterator::Item const & arg0) [copy constructor]
941 cls.add_constructor([param('ns3::ByteTagList::Iterator::Item const &', 'arg0')])
942 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::Item(ns3::TagBuffer buf) [constructor]
943 cls.add_constructor([param('ns3::TagBuffer', 'buf')])
944 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::buf [variable]
945 cls.add_instance_attribute('buf', 'ns3::TagBuffer', is_const=False)
946 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::end [variable]
947 cls.add_instance_attribute('end', 'int32_t', is_const=False)
948 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::size [variable]
949 cls.add_instance_attribute('size', 'uint32_t', is_const=False)
950 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::start [variable]
951 cls.add_instance_attribute('start', 'int32_t', is_const=False)
952 ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::tid [variable]
953 cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
954 return
955
956def register_Ns3CallbackBase_methods(root_module, cls):
957 ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase(ns3::CallbackBase const & arg0) [copy constructor]
958 cls.add_constructor([param('ns3::CallbackBase const &', 'arg0')])
959 ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase() [constructor]
960 cls.add_constructor([])
961 ## callback.h (module 'core'): ns3::Ptr<ns3::CallbackImplBase> ns3::CallbackBase::GetImpl() const [member function]
962 cls.add_method('GetImpl',
963 'ns3::Ptr< ns3::CallbackImplBase >',
964 [],
965 is_const=True)
966 ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase(ns3::Ptr<ns3::CallbackImplBase> impl) [constructor]
967 cls.add_constructor([param('ns3::Ptr< ns3::CallbackImplBase >', 'impl')],
968 visibility='protected')
969 ## callback.h (module 'core'): static std::string ns3::CallbackBase::Demangle(std::string const & mangled) [member function]
970 cls.add_method('Demangle',
971 'std::string',
972 [param('std::string const &', 'mangled')],
973 is_static=True, visibility='protected')
974 return
975
Alexander Afanasyev4975f732011-12-20 17:52:19 -0800976def register_Ns3CcnxAppHelper_methods(root_module, cls):
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -0700977 ## ccnx-app-helper.h (module 'ndnSIM'): ns3::CcnxAppHelper::CcnxAppHelper(ns3::CcnxAppHelper const & arg0) [copy constructor]
Alexander Afanasyev4975f732011-12-20 17:52:19 -0800978 cls.add_constructor([param('ns3::CcnxAppHelper const &', 'arg0')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -0700979 ## ccnx-app-helper.h (module 'ndnSIM'): ns3::CcnxAppHelper::CcnxAppHelper(std::string const & prefix) [constructor]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800980 cls.add_constructor([param('std::string const &', 'prefix')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -0700981 ## ccnx-app-helper.h (module 'ndnSIM'): ns3::ApplicationContainer ns3::CcnxAppHelper::Install(ns3::NodeContainer c) [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800982 cls.add_method('Install',
983 'ns3::ApplicationContainer',
984 [param('ns3::NodeContainer', 'c')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -0700985 ## ccnx-app-helper.h (module 'ndnSIM'): ns3::ApplicationContainer ns3::CcnxAppHelper::Install(ns3::Ptr<ns3::Node> node) [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800986 cls.add_method('Install',
987 'ns3::ApplicationContainer',
988 [param('ns3::Ptr< ns3::Node >', 'node')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -0700989 ## ccnx-app-helper.h (module 'ndnSIM'): ns3::ApplicationContainer ns3::CcnxAppHelper::Install(std::string nodeName) [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800990 cls.add_method('Install',
991 'ns3::ApplicationContainer',
992 [param('std::string', 'nodeName')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -0700993 ## ccnx-app-helper.h (module 'ndnSIM'): void ns3::CcnxAppHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -0800994 cls.add_method('SetAttribute',
995 'void',
996 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -0700997 ## ccnx-app-helper.h (module 'ndnSIM'): void ns3::CcnxAppHelper::SetPrefix(std::string const & prefix) [member function]
Alexander Afanasyev4975f732011-12-20 17:52:19 -0800998 cls.add_method('SetPrefix',
999 'void',
1000 [param('std::string const &', 'prefix')])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001001 return
1002
1003def register_Ns3CcnxContentObjectHeaderException_methods(root_module, cls):
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001004 ## ccnx-content-object-header.h (module 'ndnSIM'): ns3::CcnxContentObjectHeaderException::CcnxContentObjectHeaderException() [constructor]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001005 cls.add_constructor([])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001006 ## ccnx-content-object-header.h (module 'ndnSIM'): ns3::CcnxContentObjectHeaderException::CcnxContentObjectHeaderException(ns3::CcnxContentObjectHeaderException const & arg0) [copy constructor]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001007 cls.add_constructor([param('ns3::CcnxContentObjectHeaderException const &', 'arg0')])
1008 return
1009
Alexander Afanasyev8e2f1122012-04-17 15:01:11 -07001010def register_Ns3CcnxFibEntry_methods(root_module, cls):
1011 cls.add_output_stream_operator()
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001012 ## ccnx-fib.h (module 'ndnSIM'): ns3::CcnxFibEntry::CcnxFibEntry(ns3::CcnxFibEntry const & arg0) [copy constructor]
Alexander Afanasyev8e2f1122012-04-17 15:01:11 -07001013 cls.add_constructor([param('ns3::CcnxFibEntry const &', 'arg0')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001014 ## ccnx-fib.h (module 'ndnSIM'): ns3::CcnxFibEntry::CcnxFibEntry(ns3::Ptr<ns3::CcnxNameComponents const> const & prefix) [constructor]
Alexander Afanasyev8e2f1122012-04-17 15:01:11 -07001015 cls.add_constructor([param('ns3::Ptr< ns3::CcnxNameComponents const > const &', 'prefix')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001016 ## ccnx-fib.h (module 'ndnSIM'): void ns3::CcnxFibEntry::AddOrUpdateRoutingMetric(ns3::Ptr<ns3::CcnxFace> face, int32_t metric) [member function]
Alexander Afanasyev8e2f1122012-04-17 15:01:11 -07001017 cls.add_method('AddOrUpdateRoutingMetric',
1018 'void',
1019 [param('ns3::Ptr< ns3::CcnxFace >', 'face'), param('int32_t', 'metric')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001020 ## ccnx-fib.h (module 'ndnSIM'): ns3::CcnxFibFaceMetric const & ns3::CcnxFibEntry::FindBestCandidate(uint32_t skip=0) const [member function]
Alexander Afanasyev8e2f1122012-04-17 15:01:11 -07001021 cls.add_method('FindBestCandidate',
1022 'ns3::CcnxFibFaceMetric const &',
1023 [param('uint32_t', 'skip', default_value='0')],
1024 is_const=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001025 ## ccnx-fib.h (module 'ndnSIM'): ns3::CcnxNameComponents const & ns3::CcnxFibEntry::GetPrefix() const [member function]
Alexander Afanasyev8e2f1122012-04-17 15:01:11 -07001026 cls.add_method('GetPrefix',
1027 'ns3::CcnxNameComponents const &',
1028 [],
1029 is_const=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001030 ## ccnx-fib.h (module 'ndnSIM'): void ns3::CcnxFibEntry::Invalidate() [member function]
Alexander Afanasyev8e2f1122012-04-17 15:01:11 -07001031 cls.add_method('Invalidate',
1032 'void',
1033 [])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001034 ## ccnx-fib.h (module 'ndnSIM'): void ns3::CcnxFibEntry::RemoveFace(ns3::Ptr<ns3::CcnxFace> const & face) [member function]
Alexander Afanasyev8e2f1122012-04-17 15:01:11 -07001035 cls.add_method('RemoveFace',
1036 'void',
1037 [param('ns3::Ptr< ns3::CcnxFace > const &', 'face')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001038 ## ccnx-fib.h (module 'ndnSIM'): void ns3::CcnxFibEntry::UpdateFaceRtt(ns3::Ptr<ns3::CcnxFace> face, ns3::Time const & sample) [member function]
Alexander Afanasyev8e2f1122012-04-17 15:01:11 -07001039 cls.add_method('UpdateFaceRtt',
1040 'void',
1041 [param('ns3::Ptr< ns3::CcnxFace >', 'face'), param('ns3::Time const &', 'sample')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001042 ## ccnx-fib.h (module 'ndnSIM'): void ns3::CcnxFibEntry::UpdateStatus(ns3::Ptr<ns3::CcnxFace> face, ns3::CcnxFibFaceMetric::Status status) [member function]
Alexander Afanasyev8e2f1122012-04-17 15:01:11 -07001043 cls.add_method('UpdateStatus',
1044 'void',
1045 [param('ns3::Ptr< ns3::CcnxFace >', 'face'), param('ns3::CcnxFibFaceMetric::Status', 'status')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001046 ## ccnx-fib.h (module 'ndnSIM'): ns3::CcnxFibEntry::m_faces [variable]
Alexander Afanasyev8e2f1122012-04-17 15:01:11 -07001047 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)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001048 ## ccnx-fib.h (module 'ndnSIM'): ns3::CcnxFibEntry::m_needsProbing [variable]
Alexander Afanasyev8e2f1122012-04-17 15:01:11 -07001049 cls.add_instance_attribute('m_needsProbing', 'bool', is_const=False)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001050 ## ccnx-fib.h (module 'ndnSIM'): ns3::CcnxFibEntry::m_prefix [variable]
Alexander Afanasyev8e2f1122012-04-17 15:01:11 -07001051 cls.add_instance_attribute('m_prefix', 'ns3::Ptr< ns3::CcnxNameComponents const >', is_const=False)
1052 return
1053
1054def register_Ns3CcnxFibEntryNoFaces_methods(root_module, cls):
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001055 ## ccnx-fib.h (module 'ndnSIM'): ns3::CcnxFibEntry::NoFaces::NoFaces() [constructor]
Alexander Afanasyev8e2f1122012-04-17 15:01:11 -07001056 cls.add_constructor([])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001057 ## ccnx-fib.h (module 'ndnSIM'): ns3::CcnxFibEntry::NoFaces::NoFaces(ns3::CcnxFibEntry::NoFaces const & arg0) [copy constructor]
Alexander Afanasyev8e2f1122012-04-17 15:01:11 -07001058 cls.add_constructor([param('ns3::CcnxFibEntry::NoFaces const &', 'arg0')])
1059 return
1060
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001061def register_Ns3CcnxFibEntryContainer_methods(root_module, cls):
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001062 ## ccnx-fib.h (module 'ndnSIM'): ns3::CcnxFibEntryContainer::CcnxFibEntryContainer() [constructor]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001063 cls.add_constructor([])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001064 ## ccnx-fib.h (module 'ndnSIM'): ns3::CcnxFibEntryContainer::CcnxFibEntryContainer(ns3::CcnxFibEntryContainer const & arg0) [copy constructor]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001065 cls.add_constructor([param('ns3::CcnxFibEntryContainer const &', 'arg0')])
1066 return
1067
1068def register_Ns3CcnxFibFaceMetric_methods(root_module, cls):
1069 cls.add_output_stream_operator()
1070 cls.add_binary_comparison_operator('<')
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001071 ## ccnx-fib.h (module 'ndnSIM'): ns3::CcnxFibFaceMetric::CcnxFibFaceMetric(ns3::CcnxFibFaceMetric const & arg0) [copy constructor]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001072 cls.add_constructor([param('ns3::CcnxFibFaceMetric const &', 'arg0')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001073 ## ccnx-fib.h (module 'ndnSIM'): ns3::CcnxFibFaceMetric::CcnxFibFaceMetric(ns3::Ptr<ns3::CcnxFace> face, int32_t cost) [constructor]
Alexander Afanasyev03d92e42012-02-01 21:06:53 -08001074 cls.add_constructor([param('ns3::Ptr< ns3::CcnxFace >', 'face'), param('int32_t', 'cost')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001075 ## ccnx-fib.h (module 'ndnSIM'): ns3::Ptr<ns3::CcnxFace> ns3::CcnxFibFaceMetric::GetFace() const [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001076 cls.add_method('GetFace',
1077 'ns3::Ptr< ns3::CcnxFace >',
1078 [],
1079 is_const=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001080 ## ccnx-fib.h (module 'ndnSIM'): void ns3::CcnxFibFaceMetric::UpdateRtt(ns3::Time const & rttSample) [member function]
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08001081 cls.add_method('UpdateRtt',
1082 'void',
1083 [param('ns3::Time const &', 'rttSample')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001084 ## ccnx-fib.h (module 'ndnSIM'): ns3::CcnxFibFaceMetric::m_face [variable]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001085 cls.add_instance_attribute('m_face', 'ns3::Ptr< ns3::CcnxFace >', is_const=False)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001086 ## ccnx-fib.h (module 'ndnSIM'): ns3::CcnxFibFaceMetric::m_routingCost [variable]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001087 cls.add_instance_attribute('m_routingCost', 'int32_t', is_const=False)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001088 ## ccnx-fib.h (module 'ndnSIM'): ns3::CcnxFibFaceMetric::m_rttVar [variable]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001089 cls.add_instance_attribute('m_rttVar', 'ns3::Time', is_const=False)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001090 ## ccnx-fib.h (module 'ndnSIM'): ns3::CcnxFibFaceMetric::m_sRtt [variable]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001091 cls.add_instance_attribute('m_sRtt', 'ns3::Time', is_const=False)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001092 ## ccnx-fib.h (module 'ndnSIM'): ns3::CcnxFibFaceMetric::m_status [variable]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001093 cls.add_instance_attribute('m_status', 'ns3::CcnxFibFaceMetric::Status', is_const=False)
1094 return
1095
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001096def register_Ns3CcnxFibFaceMetricContainer_methods(root_module, cls):
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001097 ## ccnx-fib.h (module 'ndnSIM'): ns3::CcnxFibFaceMetricContainer::CcnxFibFaceMetricContainer() [constructor]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001098 cls.add_constructor([])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001099 ## ccnx-fib.h (module 'ndnSIM'): ns3::CcnxFibFaceMetricContainer::CcnxFibFaceMetricContainer(ns3::CcnxFibFaceMetricContainer const & arg0) [copy constructor]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001100 cls.add_constructor([param('ns3::CcnxFibFaceMetricContainer const &', 'arg0')])
1101 return
1102
Alexander Afanasyev8e2f1122012-04-17 15:01:11 -07001103def register_Ns3CcnxGlobalRoutingHelper_methods(root_module, cls):
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001104 ## ccnx-global-routing-helper.h (module 'ndnSIM'): ns3::CcnxGlobalRoutingHelper::CcnxGlobalRoutingHelper() [constructor]
Alexander Afanasyev8e2f1122012-04-17 15:01:11 -07001105 cls.add_constructor([])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001106 ## ccnx-global-routing-helper.h (module 'ndnSIM'): ns3::CcnxGlobalRoutingHelper::CcnxGlobalRoutingHelper(ns3::CcnxGlobalRoutingHelper const & arg0) [copy constructor]
Alexander Afanasyev8e2f1122012-04-17 15:01:11 -07001107 cls.add_constructor([param('ns3::CcnxGlobalRoutingHelper const &', 'arg0')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001108 ## ccnx-global-routing-helper.h (module 'ndnSIM'): void ns3::CcnxGlobalRoutingHelper::AddOrigin(std::string const & prefix, ns3::Ptr<ns3::Node> node) [member function]
Alexander Afanasyev8e2f1122012-04-17 15:01:11 -07001109 cls.add_method('AddOrigin',
1110 'void',
1111 [param('std::string const &', 'prefix'), param('ns3::Ptr< ns3::Node >', 'node')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001112 ## ccnx-global-routing-helper.h (module 'ndnSIM'): void ns3::CcnxGlobalRoutingHelper::AddOrigin(std::string const & prefix, std::string const & nodeName) [member function]
Alexander Afanasyev8e2f1122012-04-17 15:01:11 -07001113 cls.add_method('AddOrigin',
1114 'void',
1115 [param('std::string const &', 'prefix'), param('std::string const &', 'nodeName')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001116 ## ccnx-global-routing-helper.h (module 'ndnSIM'): void ns3::CcnxGlobalRoutingHelper::AddOrigins(std::string const & prefix, ns3::NodeContainer const & nodes) [member function]
Alexander Afanasyev06d3a612012-04-17 22:25:40 -07001117 cls.add_method('AddOrigins',
1118 'void',
1119 [param('std::string const &', 'prefix'), param('ns3::NodeContainer const &', 'nodes')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001120 ## ccnx-global-routing-helper.h (module 'ndnSIM'): void ns3::CcnxGlobalRoutingHelper::CalculateRoutes() [member function]
Alexander Afanasyev8e2f1122012-04-17 15:01:11 -07001121 cls.add_method('CalculateRoutes',
1122 'void',
1123 [])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001124 ## ccnx-global-routing-helper.h (module 'ndnSIM'): void ns3::CcnxGlobalRoutingHelper::Install(ns3::Ptr<ns3::Node> node) [member function]
Alexander Afanasyev8e2f1122012-04-17 15:01:11 -07001125 cls.add_method('Install',
1126 'void',
1127 [param('ns3::Ptr< ns3::Node >', 'node')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001128 ## ccnx-global-routing-helper.h (module 'ndnSIM'): void ns3::CcnxGlobalRoutingHelper::Install(ns3::NodeContainer const & nodes) [member function]
Alexander Afanasyev8e2f1122012-04-17 15:01:11 -07001129 cls.add_method('Install',
1130 'void',
Alexander Afanasyevce810142012-04-17 15:50:36 -07001131 [param('ns3::NodeContainer const &', 'nodes')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001132 ## ccnx-global-routing-helper.h (module 'ndnSIM'): void ns3::CcnxGlobalRoutingHelper::InstallAll() [member function]
Alexander Afanasyevce810142012-04-17 15:50:36 -07001133 cls.add_method('InstallAll',
1134 'void',
1135 [])
Alexander Afanasyev8e2f1122012-04-17 15:01:11 -07001136 return
1137
Alexander Afanasyev53872ce2011-12-16 13:17:18 -08001138def register_Ns3CcnxHeaderHelper_methods(root_module, cls):
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001139 ## ccnx-header-helper.h (module 'ndnSIM'): ns3::CcnxHeaderHelper::CcnxHeaderHelper() [constructor]
Alexander Afanasyev53872ce2011-12-16 13:17:18 -08001140 cls.add_constructor([])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001141 ## ccnx-header-helper.h (module 'ndnSIM'): ns3::CcnxHeaderHelper::CcnxHeaderHelper(ns3::CcnxHeaderHelper const & arg0) [copy constructor]
Alexander Afanasyev53872ce2011-12-16 13:17:18 -08001142 cls.add_constructor([param('ns3::CcnxHeaderHelper const &', 'arg0')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001143 ## ccnx-header-helper.h (module 'ndnSIM'): static ns3::CcnxHeaderHelper::Type ns3::CcnxHeaderHelper::GetCcnxHeaderType(ns3::Ptr<const ns3::Packet> packet) [member function]
Alexander Afanasyev53872ce2011-12-16 13:17:18 -08001144 cls.add_method('GetCcnxHeaderType',
1145 'ns3::CcnxHeaderHelper::Type',
1146 [param('ns3::Ptr< ns3::Packet const >', 'packet')],
1147 is_static=True)
1148 return
1149
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001150def register_Ns3CcnxInterestHeaderException_methods(root_module, cls):
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001151 ## ccnx-interest-header.h (module 'ndnSIM'): ns3::CcnxInterestHeaderException::CcnxInterestHeaderException() [constructor]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001152 cls.add_constructor([])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001153 ## ccnx-interest-header.h (module 'ndnSIM'): ns3::CcnxInterestHeaderException::CcnxInterestHeaderException(ns3::CcnxInterestHeaderException const & arg0) [copy constructor]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001154 cls.add_constructor([param('ns3::CcnxInterestHeaderException const &', 'arg0')])
1155 return
1156
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001157def register_Ns3CcnxPitEntry_methods(root_module, cls):
1158 cls.add_output_stream_operator()
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001159 ## ccnx-pit-entry.h (module 'ndnSIM'): ns3::CcnxPitEntry::CcnxPitEntry(ns3::CcnxPitEntry const & arg0) [copy constructor]
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001160 cls.add_constructor([param('ns3::CcnxPitEntry const &', 'arg0')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001161 ## ccnx-pit-entry.h (module 'ndnSIM'): ns3::CcnxPitEntry::CcnxPitEntry(ns3::Ptr<ns3::CcnxNameComponents> prefix, ns3::Time const & offsetTime, ns3::CcnxFibEntry const & fibEntry) [constructor]
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001162 cls.add_constructor([param('ns3::Ptr< ns3::CcnxNameComponents >', 'prefix'), param('ns3::Time const &', 'offsetTime'), param('ns3::CcnxFibEntry const &', 'fibEntry')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001163 ## ccnx-pit-entry.h (module 'ndnSIM'): 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]
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001164 cls.add_method('AddIncoming',
1165 '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 > > > >',
1166 [param('ns3::Ptr< ns3::CcnxFace >', 'face')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001167 ## ccnx-pit-entry.h (module 'ndnSIM'): 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]
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001168 cls.add_method('AddOutgoing',
1169 '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 > > > > >',
1170 [param('ns3::Ptr< ns3::CcnxFace >', 'face')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001171 ## ccnx-pit-entry.h (module 'ndnSIM'): void ns3::CcnxPitEntry::AddSeenNonce(uint32_t nonce) [member function]
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001172 cls.add_method('AddSeenNonce',
1173 'void',
1174 [param('uint32_t', 'nonce')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001175 ## ccnx-pit-entry.h (module 'ndnSIM'): bool ns3::CcnxPitEntry::AreAllOutgoingInVain() const [member function]
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001176 cls.add_method('AreAllOutgoingInVain',
1177 'bool',
1178 [],
1179 is_const=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001180 ## ccnx-pit-entry.h (module 'ndnSIM'): bool ns3::CcnxPitEntry::AreTherePromisingOutgoingFacesExcept(ns3::Ptr<ns3::CcnxFace> face) const [member function]
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001181 cls.add_method('AreTherePromisingOutgoingFacesExcept',
1182 'bool',
1183 [param('ns3::Ptr< ns3::CcnxFace >', 'face')],
1184 is_const=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001185 ## ccnx-pit-entry.h (module 'ndnSIM'): void ns3::CcnxPitEntry::ClearIncoming() [member function]
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001186 cls.add_method('ClearIncoming',
1187 'void',
1188 [])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001189 ## ccnx-pit-entry.h (module 'ndnSIM'): void ns3::CcnxPitEntry::ClearOutgoing() [member function]
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001190 cls.add_method('ClearOutgoing',
1191 'void',
1192 [])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001193 ## ccnx-pit-entry.h (module 'ndnSIM'): ns3::Time const & ns3::CcnxPitEntry::GetExpireTime() const [member function]
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001194 cls.add_method('GetExpireTime',
1195 'ns3::Time const &',
1196 [],
1197 is_const=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001198 ## ccnx-pit-entry.h (module 'ndnSIM'): ns3::CcnxNameComponents const & ns3::CcnxPitEntry::GetPrefix() const [member function]
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001199 cls.add_method('GetPrefix',
1200 'ns3::CcnxNameComponents const &',
1201 [],
1202 is_const=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001203 ## ccnx-pit-entry.h (module 'ndnSIM'): void ns3::CcnxPitEntry::IncreaseAllowedRetxCount() [member function]
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001204 cls.add_method('IncreaseAllowedRetxCount',
1205 'void',
1206 [])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001207 ## ccnx-pit-entry.h (module 'ndnSIM'): bool ns3::CcnxPitEntry::IsNonceSeen(uint32_t nonce) const [member function]
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001208 cls.add_method('IsNonceSeen',
1209 'bool',
1210 [param('uint32_t', 'nonce')],
1211 is_const=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001212 ## ccnx-pit-entry.h (module 'ndnSIM'): void ns3::CcnxPitEntry::RemoveAllReferencesToFace(ns3::Ptr<ns3::CcnxFace> face) [member function]
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001213 cls.add_method('RemoveAllReferencesToFace',
1214 'void',
1215 [param('ns3::Ptr< ns3::CcnxFace >', 'face')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001216 ## ccnx-pit-entry.h (module 'ndnSIM'): void ns3::CcnxPitEntry::RemoveIncoming(ns3::Ptr<ns3::CcnxFace> face) [member function]
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001217 cls.add_method('RemoveIncoming',
1218 'void',
1219 [param('ns3::Ptr< ns3::CcnxFace >', 'face')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001220 ## ccnx-pit-entry.h (module 'ndnSIM'): void ns3::CcnxPitEntry::SetExpireTime(ns3::Time const & expireTime) [member function]
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001221 cls.add_method('SetExpireTime',
1222 'void',
1223 [param('ns3::Time const &', 'expireTime')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001224 ## ccnx-pit-entry.h (module 'ndnSIM'): 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]
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001225 cls.add_method('SetWaitingInVain',
1226 'void',
1227 [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')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001228 ## ccnx-pit-entry.h (module 'ndnSIM'): void ns3::CcnxPitEntry::UpdateLifetime(ns3::Time const & offsetTime) [member function]
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001229 cls.add_method('UpdateLifetime',
1230 'void',
1231 [param('ns3::Time const &', 'offsetTime')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001232 ## ccnx-pit-entry.h (module 'ndnSIM'): ns3::CcnxPitEntry::m_expireTime [variable]
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001233 cls.add_instance_attribute('m_expireTime', 'ns3::Time', is_const=False)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001234 ## ccnx-pit-entry.h (module 'ndnSIM'): ns3::CcnxPitEntry::m_fibEntry [variable]
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001235 cls.add_instance_attribute('m_fibEntry', 'ns3::CcnxFibEntry const &', is_const=False)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001236 ## ccnx-pit-entry.h (module 'ndnSIM'): ns3::CcnxPitEntry::m_incoming [variable]
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001237 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)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001238 ## ccnx-pit-entry.h (module 'ndnSIM'): ns3::CcnxPitEntry::m_lastRetransmission [variable]
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001239 cls.add_instance_attribute('m_lastRetransmission', 'ns3::Time', is_const=False)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001240 ## ccnx-pit-entry.h (module 'ndnSIM'): ns3::CcnxPitEntry::m_maxRetxCount [variable]
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001241 cls.add_instance_attribute('m_maxRetxCount', 'uint32_t', is_const=False)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001242 ## ccnx-pit-entry.h (module 'ndnSIM'): ns3::CcnxPitEntry::m_outgoing [variable]
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001243 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)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001244 ## ccnx-pit-entry.h (module 'ndnSIM'): ns3::CcnxPitEntry::m_prefix [variable]
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001245 cls.add_instance_attribute('m_prefix', 'ns3::Ptr< ns3::CcnxNameComponents >', is_const=False)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001246 ## ccnx-pit-entry.h (module 'ndnSIM'): ns3::CcnxPitEntry::m_seenNonces [variable]
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001247 cls.add_instance_attribute('m_seenNonces', 'std::set< unsigned int >', is_const=False)
1248 return
1249
1250def register_Ns3CcnxPitEntryContainer_methods(root_module, cls):
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001251 ## ccnx-pit.h (module 'ndnSIM'): ns3::CcnxPitEntryContainer::CcnxPitEntryContainer() [constructor]
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001252 cls.add_constructor([])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001253 ## ccnx-pit.h (module 'ndnSIM'): ns3::CcnxPitEntryContainer::CcnxPitEntryContainer(ns3::CcnxPitEntryContainer const & arg0) [copy constructor]
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001254 cls.add_constructor([param('ns3::CcnxPitEntryContainer const &', 'arg0')])
1255 return
1256
1257def register_Ns3CcnxPitEntryIncomingFace_methods(root_module, cls):
1258 cls.add_binary_comparison_operator('==')
1259 cls.add_binary_comparison_operator('<')
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001260 ## ccnx-pit-entry-incoming-face.h (module 'ndnSIM'): ns3::CcnxPitEntryIncomingFace::CcnxPitEntryIncomingFace(ns3::CcnxPitEntryIncomingFace const & arg0) [copy constructor]
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001261 cls.add_constructor([param('ns3::CcnxPitEntryIncomingFace const &', 'arg0')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001262 ## ccnx-pit-entry-incoming-face.h (module 'ndnSIM'): ns3::CcnxPitEntryIncomingFace::CcnxPitEntryIncomingFace(ns3::Ptr<ns3::CcnxFace> face) [constructor]
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001263 cls.add_constructor([param('ns3::Ptr< ns3::CcnxFace >', 'face')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001264 ## ccnx-pit-entry-incoming-face.h (module 'ndnSIM'): ns3::CcnxPitEntryIncomingFace::m_arrivalTime [variable]
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001265 cls.add_instance_attribute('m_arrivalTime', 'ns3::Time', is_const=False)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001266 ## ccnx-pit-entry-incoming-face.h (module 'ndnSIM'): ns3::CcnxPitEntryIncomingFace::m_face [variable]
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001267 cls.add_instance_attribute('m_face', 'ns3::Ptr< ns3::CcnxFace >', is_const=False)
1268 return
1269
1270def register_Ns3CcnxPitEntryIncomingFaceContainer_methods(root_module, cls):
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001271 ## ccnx-pit-entry.h (module 'ndnSIM'): ns3::CcnxPitEntryIncomingFaceContainer::CcnxPitEntryIncomingFaceContainer() [constructor]
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001272 cls.add_constructor([])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001273 ## ccnx-pit-entry.h (module 'ndnSIM'): ns3::CcnxPitEntryIncomingFaceContainer::CcnxPitEntryIncomingFaceContainer(ns3::CcnxPitEntryIncomingFaceContainer const & arg0) [copy constructor]
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001274 cls.add_constructor([param('ns3::CcnxPitEntryIncomingFaceContainer const &', 'arg0')])
1275 return
1276
1277def register_Ns3CcnxPitEntryNotFound_methods(root_module, cls):
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001278 ## ccnx-pit.h (module 'ndnSIM'): ns3::CcnxPitEntryNotFound::CcnxPitEntryNotFound() [constructor]
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001279 cls.add_constructor([])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001280 ## ccnx-pit.h (module 'ndnSIM'): ns3::CcnxPitEntryNotFound::CcnxPitEntryNotFound(ns3::CcnxPitEntryNotFound const & arg0) [copy constructor]
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001281 cls.add_constructor([param('ns3::CcnxPitEntryNotFound const &', 'arg0')])
1282 return
1283
1284def register_Ns3CcnxPitEntryOutgoingFace_methods(root_module, cls):
1285 cls.add_binary_comparison_operator('==')
1286 cls.add_binary_comparison_operator('<')
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001287 ## ccnx-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::CcnxPitEntryOutgoingFace::CcnxPitEntryOutgoingFace(ns3::CcnxPitEntryOutgoingFace const & arg0) [copy constructor]
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001288 cls.add_constructor([param('ns3::CcnxPitEntryOutgoingFace const &', 'arg0')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001289 ## ccnx-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::CcnxPitEntryOutgoingFace::CcnxPitEntryOutgoingFace(ns3::Ptr<ns3::CcnxFace> face) [constructor]
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001290 cls.add_constructor([param('ns3::Ptr< ns3::CcnxFace >', 'face')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001291 ## ccnx-pit-entry-outgoing-face.h (module 'ndnSIM'): void ns3::CcnxPitEntryOutgoingFace::UpdateOnRetransmit() [member function]
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001292 cls.add_method('UpdateOnRetransmit',
1293 'void',
1294 [])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001295 ## ccnx-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::CcnxPitEntryOutgoingFace::m_face [variable]
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001296 cls.add_instance_attribute('m_face', 'ns3::Ptr< ns3::CcnxFace >', is_const=False)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001297 ## ccnx-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::CcnxPitEntryOutgoingFace::m_retxCount [variable]
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001298 cls.add_instance_attribute('m_retxCount', 'uint32_t', is_const=False)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001299 ## ccnx-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::CcnxPitEntryOutgoingFace::m_sendTime [variable]
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001300 cls.add_instance_attribute('m_sendTime', 'ns3::Time', is_const=False)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001301 ## ccnx-pit-entry-outgoing-face.h (module 'ndnSIM'): ns3::CcnxPitEntryOutgoingFace::m_waitingInVain [variable]
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001302 cls.add_instance_attribute('m_waitingInVain', 'bool', is_const=False)
1303 return
1304
1305def register_Ns3CcnxPitEntryOutgoingFaceContainer_methods(root_module, cls):
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001306 ## ccnx-pit-entry.h (module 'ndnSIM'): ns3::CcnxPitEntryOutgoingFaceContainer::CcnxPitEntryOutgoingFaceContainer() [constructor]
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001307 cls.add_constructor([])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001308 ## ccnx-pit-entry.h (module 'ndnSIM'): ns3::CcnxPitEntryOutgoingFaceContainer::CcnxPitEntryOutgoingFaceContainer(ns3::CcnxPitEntryOutgoingFaceContainer const & arg0) [copy constructor]
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07001309 cls.add_constructor([param('ns3::CcnxPitEntryOutgoingFaceContainer const &', 'arg0')])
1310 return
1311
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08001312def register_Ns3CcnxStackHelper_methods(root_module, cls):
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001313 ## ccnx-stack-helper.h (module 'ndnSIM'): ns3::CcnxStackHelper::CcnxStackHelper() [constructor]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001314 cls.add_constructor([])
Alexander Afanasyev4052f952012-06-08 17:57:59 -07001315 ## ccnx-stack-helper.h (module 'ndnSIM'): void ns3::CcnxStackHelper::SetForwardingStrategy(std::string const & forwardingStrategy) [member function]
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08001316 cls.add_method('SetForwardingStrategy',
1317 'void',
Alexander Afanasyev4052f952012-06-08 17:57:59 -07001318 [param('std::string const &', 'forwardingStrategy')])
1319 ## ccnx-stack-helper.h (module 'ndnSIM'): void ns3::CcnxStackHelper::SetContentStore(std::string const & contentStore) [member function]
1320 cls.add_method('SetContentStore',
1321 'void',
1322 [param('std::string const &', 'contentStore')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001323 ## ccnx-stack-helper.h (module 'ndnSIM'): void ns3::CcnxStackHelper::EnableLimits(bool enable=true, ns3::Time avgRtt=ns3::Seconds( ), uint32_t avgContentObject=1100, uint32_t avgInterest=40) [member function]
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08001324 cls.add_method('EnableLimits',
1325 'void',
1326 [param('bool', 'enable', default_value='true'), param('ns3::Time', 'avgRtt', default_value='ns3::Seconds(0)'), param('uint32_t', 'avgContentObject', default_value='1100'), param('uint32_t', 'avgInterest', default_value='40')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001327 ## ccnx-stack-helper.h (module 'ndnSIM'): ns3::Ptr<ns3::CcnxFaceContainer> ns3::CcnxStackHelper::Install(std::string nodeName) const [member function]
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08001328 cls.add_method('Install',
1329 'ns3::Ptr< ns3::CcnxFaceContainer >',
1330 [param('std::string', 'nodeName')],
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001331 is_const=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001332 ## ccnx-stack-helper.h (module 'ndnSIM'): ns3::Ptr<ns3::CcnxFaceContainer> ns3::CcnxStackHelper::Install(ns3::Ptr<ns3::Node> node) const [member function]
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08001333 cls.add_method('Install',
1334 'ns3::Ptr< ns3::CcnxFaceContainer >',
1335 [param('ns3::Ptr< ns3::Node >', 'node')],
1336 is_const=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001337 ## ccnx-stack-helper.h (module 'ndnSIM'): ns3::Ptr<ns3::CcnxFaceContainer> ns3::CcnxStackHelper::Install(ns3::NodeContainer c) const [member function]
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08001338 cls.add_method('Install',
1339 'ns3::Ptr< ns3::CcnxFaceContainer >',
1340 [param('ns3::NodeContainer', 'c')],
1341 is_const=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001342 ## ccnx-stack-helper.h (module 'ndnSIM'): ns3::Ptr<ns3::CcnxFaceContainer> ns3::CcnxStackHelper::InstallAll() const [member function]
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08001343 cls.add_method('InstallAll',
1344 'ns3::Ptr< ns3::CcnxFaceContainer >',
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001345 [],
1346 is_const=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001347 ## ccnx-stack-helper.h (module 'ndnSIM'): 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 -08001348 cls.add_method('AddRoute',
1349 'void',
1350 [param('std::string', 'nodeName'), param('std::string', 'prefix'), param('uint32_t', 'faceId'), param('int32_t', 'metric')],
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08001351 is_static=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001352 ## ccnx-stack-helper.h (module 'ndnSIM'): 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 -08001353 cls.add_method('AddRoute',
1354 'void',
1355 [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 -08001356 is_static=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001357 ## ccnx-stack-helper.h (module 'ndnSIM'): void ns3::CcnxStackHelper::SetDefaultRoutes(bool needSet) [member function]
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08001358 cls.add_method('SetDefaultRoutes',
1359 'void',
1360 [param('bool', 'needSet')])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001361 return
1362
Alexander Afanasyev53872ce2011-12-16 13:17:18 -08001363def register_Ns3CcnxUnknownHeaderException_methods(root_module, cls):
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001364 ## ccnx-header-helper.h (module 'ndnSIM'): ns3::CcnxUnknownHeaderException::CcnxUnknownHeaderException() [constructor]
Alexander Afanasyev53872ce2011-12-16 13:17:18 -08001365 cls.add_constructor([])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07001366 ## ccnx-header-helper.h (module 'ndnSIM'): ns3::CcnxUnknownHeaderException::CcnxUnknownHeaderException(ns3::CcnxUnknownHeaderException const & arg0) [copy constructor]
Alexander Afanasyev53872ce2011-12-16 13:17:18 -08001367 cls.add_constructor([param('ns3::CcnxUnknownHeaderException const &', 'arg0')])
1368 return
1369
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001370def register_Ns3EventId_methods(root_module, cls):
1371 cls.add_binary_comparison_operator('!=')
1372 cls.add_binary_comparison_operator('==')
1373 ## event-id.h (module 'core'): ns3::EventId::EventId(ns3::EventId const & arg0) [copy constructor]
1374 cls.add_constructor([param('ns3::EventId const &', 'arg0')])
1375 ## event-id.h (module 'core'): ns3::EventId::EventId() [constructor]
1376 cls.add_constructor([])
1377 ## event-id.h (module 'core'): ns3::EventId::EventId(ns3::Ptr<ns3::EventImpl> const & impl, uint64_t ts, uint32_t context, uint32_t uid) [constructor]
1378 cls.add_constructor([param('ns3::Ptr< ns3::EventImpl > const &', 'impl'), param('uint64_t', 'ts'), param('uint32_t', 'context'), param('uint32_t', 'uid')])
1379 ## event-id.h (module 'core'): void ns3::EventId::Cancel() [member function]
1380 cls.add_method('Cancel',
1381 'void',
1382 [])
1383 ## event-id.h (module 'core'): uint32_t ns3::EventId::GetContext() const [member function]
1384 cls.add_method('GetContext',
1385 'uint32_t',
1386 [],
1387 is_const=True)
1388 ## event-id.h (module 'core'): uint64_t ns3::EventId::GetTs() const [member function]
1389 cls.add_method('GetTs',
1390 'uint64_t',
1391 [],
1392 is_const=True)
1393 ## event-id.h (module 'core'): uint32_t ns3::EventId::GetUid() const [member function]
1394 cls.add_method('GetUid',
1395 'uint32_t',
1396 [],
1397 is_const=True)
1398 ## event-id.h (module 'core'): bool ns3::EventId::IsExpired() const [member function]
1399 cls.add_method('IsExpired',
1400 'bool',
1401 [],
1402 is_const=True)
1403 ## event-id.h (module 'core'): bool ns3::EventId::IsRunning() const [member function]
1404 cls.add_method('IsRunning',
1405 'bool',
1406 [],
1407 is_const=True)
1408 ## event-id.h (module 'core'): ns3::EventImpl * ns3::EventId::PeekEventImpl() const [member function]
1409 cls.add_method('PeekEventImpl',
1410 'ns3::EventImpl *',
1411 [],
1412 is_const=True)
1413 return
1414
1415def register_Ns3Ipv4Address_methods(root_module, cls):
1416 cls.add_binary_comparison_operator('!=')
1417 cls.add_output_stream_operator()
1418 cls.add_binary_comparison_operator('==')
1419 cls.add_binary_comparison_operator('<')
1420 ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address(ns3::Ipv4Address const & arg0) [copy constructor]
1421 cls.add_constructor([param('ns3::Ipv4Address const &', 'arg0')])
1422 ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address() [constructor]
1423 cls.add_constructor([])
1424 ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address(uint32_t address) [constructor]
1425 cls.add_constructor([param('uint32_t', 'address')])
1426 ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address(char const * address) [constructor]
1427 cls.add_constructor([param('char const *', 'address')])
1428 ## ipv4-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv4Address::CombineMask(ns3::Ipv4Mask const & mask) const [member function]
1429 cls.add_method('CombineMask',
1430 'ns3::Ipv4Address',
1431 [param('ns3::Ipv4Mask const &', 'mask')],
1432 is_const=True)
1433 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::ConvertFrom(ns3::Address const & address) [member function]
1434 cls.add_method('ConvertFrom',
1435 'ns3::Ipv4Address',
1436 [param('ns3::Address const &', 'address')],
1437 is_static=True)
1438 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::Deserialize(uint8_t const * buf) [member function]
1439 cls.add_method('Deserialize',
1440 'ns3::Ipv4Address',
1441 [param('uint8_t const *', 'buf')],
1442 is_static=True)
Alexander Afanasyev4052f952012-06-08 17:57:59 -07001443 ## ipv4-address.h (module 'network'): uint32_t ns3::Ipv4Address::Get() const [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001444 cls.add_method('Get',
Alexander Afanasyev4052f952012-06-08 17:57:59 -07001445 'uint32_t',
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001446 [],
1447 is_const=True)
1448 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetAny() [member function]
1449 cls.add_method('GetAny',
1450 'ns3::Ipv4Address',
1451 [],
1452 is_static=True)
1453 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetBroadcast() [member function]
1454 cls.add_method('GetBroadcast',
1455 'ns3::Ipv4Address',
1456 [],
1457 is_static=True)
1458 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetLoopback() [member function]
1459 cls.add_method('GetLoopback',
1460 'ns3::Ipv4Address',
1461 [],
1462 is_static=True)
1463 ## ipv4-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv4Address::GetSubnetDirectedBroadcast(ns3::Ipv4Mask const & mask) const [member function]
1464 cls.add_method('GetSubnetDirectedBroadcast',
1465 'ns3::Ipv4Address',
1466 [param('ns3::Ipv4Mask const &', 'mask')],
1467 is_const=True)
1468 ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetZero() [member function]
1469 cls.add_method('GetZero',
1470 'ns3::Ipv4Address',
1471 [],
1472 is_static=True)
1473 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsBroadcast() const [member function]
1474 cls.add_method('IsBroadcast',
1475 'bool',
1476 [],
1477 is_const=True)
1478 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsEqual(ns3::Ipv4Address const & other) const [member function]
1479 cls.add_method('IsEqual',
1480 'bool',
1481 [param('ns3::Ipv4Address const &', 'other')],
1482 is_const=True)
1483 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsLocalMulticast() const [member function]
1484 cls.add_method('IsLocalMulticast',
1485 'bool',
1486 [],
1487 is_const=True)
1488 ## ipv4-address.h (module 'network'): static bool ns3::Ipv4Address::IsMatchingType(ns3::Address const & address) [member function]
1489 cls.add_method('IsMatchingType',
1490 'bool',
1491 [param('ns3::Address const &', 'address')],
1492 is_static=True)
1493 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsMulticast() const [member function]
1494 cls.add_method('IsMulticast',
1495 'bool',
1496 [],
1497 is_const=True)
1498 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsSubnetDirectedBroadcast(ns3::Ipv4Mask const & mask) const [member function]
1499 cls.add_method('IsSubnetDirectedBroadcast',
1500 'bool',
1501 [param('ns3::Ipv4Mask const &', 'mask')],
1502 is_const=True)
1503 ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Print(std::ostream & os) const [member function]
1504 cls.add_method('Print',
1505 'void',
1506 [param('std::ostream &', 'os')],
1507 is_const=True)
1508 ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Serialize(uint8_t * buf) const [member function]
1509 cls.add_method('Serialize',
1510 'void',
1511 [param('uint8_t *', 'buf')],
1512 is_const=True)
1513 ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Set(uint32_t address) [member function]
1514 cls.add_method('Set',
1515 'void',
1516 [param('uint32_t', 'address')])
1517 ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Set(char const * address) [member function]
1518 cls.add_method('Set',
1519 'void',
1520 [param('char const *', 'address')])
1521 return
1522
1523def register_Ns3Ipv4Mask_methods(root_module, cls):
1524 cls.add_binary_comparison_operator('!=')
1525 cls.add_output_stream_operator()
1526 cls.add_binary_comparison_operator('==')
1527 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask(ns3::Ipv4Mask const & arg0) [copy constructor]
1528 cls.add_constructor([param('ns3::Ipv4Mask const &', 'arg0')])
1529 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask() [constructor]
1530 cls.add_constructor([])
1531 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask(uint32_t mask) [constructor]
1532 cls.add_constructor([param('uint32_t', 'mask')])
1533 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask(char const * mask) [constructor]
1534 cls.add_constructor([param('char const *', 'mask')])
1535 ## ipv4-address.h (module 'network'): uint32_t ns3::Ipv4Mask::Get() const [member function]
1536 cls.add_method('Get',
1537 'uint32_t',
1538 [],
1539 is_const=True)
1540 ## ipv4-address.h (module 'network'): uint32_t ns3::Ipv4Mask::GetInverse() const [member function]
1541 cls.add_method('GetInverse',
1542 'uint32_t',
1543 [],
1544 is_const=True)
1545 ## ipv4-address.h (module 'network'): static ns3::Ipv4Mask ns3::Ipv4Mask::GetLoopback() [member function]
1546 cls.add_method('GetLoopback',
1547 'ns3::Ipv4Mask',
1548 [],
1549 is_static=True)
1550 ## ipv4-address.h (module 'network'): static ns3::Ipv4Mask ns3::Ipv4Mask::GetOnes() [member function]
1551 cls.add_method('GetOnes',
1552 'ns3::Ipv4Mask',
1553 [],
1554 is_static=True)
1555 ## ipv4-address.h (module 'network'): uint16_t ns3::Ipv4Mask::GetPrefixLength() const [member function]
1556 cls.add_method('GetPrefixLength',
1557 'uint16_t',
1558 [],
1559 is_const=True)
1560 ## ipv4-address.h (module 'network'): static ns3::Ipv4Mask ns3::Ipv4Mask::GetZero() [member function]
1561 cls.add_method('GetZero',
1562 'ns3::Ipv4Mask',
1563 [],
1564 is_static=True)
1565 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Mask::IsEqual(ns3::Ipv4Mask other) const [member function]
1566 cls.add_method('IsEqual',
1567 'bool',
1568 [param('ns3::Ipv4Mask', 'other')],
1569 is_const=True)
1570 ## ipv4-address.h (module 'network'): bool ns3::Ipv4Mask::IsMatch(ns3::Ipv4Address a, ns3::Ipv4Address b) const [member function]
1571 cls.add_method('IsMatch',
1572 'bool',
1573 [param('ns3::Ipv4Address', 'a'), param('ns3::Ipv4Address', 'b')],
1574 is_const=True)
1575 ## ipv4-address.h (module 'network'): void ns3::Ipv4Mask::Print(std::ostream & os) const [member function]
1576 cls.add_method('Print',
1577 'void',
1578 [param('std::ostream &', 'os')],
1579 is_const=True)
1580 ## ipv4-address.h (module 'network'): void ns3::Ipv4Mask::Set(uint32_t mask) [member function]
1581 cls.add_method('Set',
1582 'void',
1583 [param('uint32_t', 'mask')])
1584 return
1585
1586def register_Ns3Ipv6Address_methods(root_module, cls):
1587 cls.add_binary_comparison_operator('!=')
1588 cls.add_output_stream_operator()
1589 cls.add_binary_comparison_operator('==')
1590 cls.add_binary_comparison_operator('<')
1591 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address() [constructor]
1592 cls.add_constructor([])
1593 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(char const * address) [constructor]
1594 cls.add_constructor([param('char const *', 'address')])
1595 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(uint8_t * address) [constructor]
1596 cls.add_constructor([param('uint8_t *', 'address')])
1597 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(ns3::Ipv6Address const & addr) [copy constructor]
1598 cls.add_constructor([param('ns3::Ipv6Address const &', 'addr')])
1599 ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(ns3::Ipv6Address const * addr) [constructor]
1600 cls.add_constructor([param('ns3::Ipv6Address const *', 'addr')])
1601 ## ipv6-address.h (module 'network'): ns3::Ipv6Address ns3::Ipv6Address::CombinePrefix(ns3::Ipv6Prefix const & prefix) [member function]
1602 cls.add_method('CombinePrefix',
1603 'ns3::Ipv6Address',
1604 [param('ns3::Ipv6Prefix const &', 'prefix')])
1605 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::ConvertFrom(ns3::Address const & address) [member function]
1606 cls.add_method('ConvertFrom',
1607 'ns3::Ipv6Address',
1608 [param('ns3::Address const &', 'address')],
1609 is_static=True)
1610 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::Deserialize(uint8_t const * buf) [member function]
1611 cls.add_method('Deserialize',
1612 'ns3::Ipv6Address',
1613 [param('uint8_t const *', 'buf')],
1614 is_static=True)
1615 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAllHostsMulticast() [member function]
1616 cls.add_method('GetAllHostsMulticast',
1617 'ns3::Ipv6Address',
1618 [],
1619 is_static=True)
1620 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAllNodesMulticast() [member function]
1621 cls.add_method('GetAllNodesMulticast',
1622 'ns3::Ipv6Address',
1623 [],
1624 is_static=True)
1625 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAllRoutersMulticast() [member function]
1626 cls.add_method('GetAllRoutersMulticast',
1627 'ns3::Ipv6Address',
1628 [],
1629 is_static=True)
1630 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAny() [member function]
1631 cls.add_method('GetAny',
1632 'ns3::Ipv6Address',
1633 [],
1634 is_static=True)
1635 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::GetBytes(uint8_t * buf) const [member function]
1636 cls.add_method('GetBytes',
1637 'void',
1638 [param('uint8_t *', 'buf')],
1639 is_const=True)
Alexander Afanasyev6f933532012-02-29 13:30:37 -08001640 ## ipv6-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv6Address::GetIpv4MappedAddress() const [member function]
1641 cls.add_method('GetIpv4MappedAddress',
1642 'ns3::Ipv4Address',
1643 [],
1644 is_const=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001645 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetLoopback() [member function]
1646 cls.add_method('GetLoopback',
1647 'ns3::Ipv6Address',
1648 [],
1649 is_static=True)
1650 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetOnes() [member function]
1651 cls.add_method('GetOnes',
1652 'ns3::Ipv6Address',
1653 [],
1654 is_static=True)
1655 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetZero() [member function]
1656 cls.add_method('GetZero',
1657 'ns3::Ipv6Address',
1658 [],
1659 is_static=True)
1660 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAllHostsMulticast() const [member function]
1661 cls.add_method('IsAllHostsMulticast',
1662 'bool',
1663 [],
1664 is_const=True)
1665 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAllNodesMulticast() const [member function]
1666 cls.add_method('IsAllNodesMulticast',
1667 'bool',
1668 [],
1669 is_const=True)
1670 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAllRoutersMulticast() const [member function]
1671 cls.add_method('IsAllRoutersMulticast',
1672 'bool',
1673 [],
1674 is_const=True)
1675 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAny() const [member function]
1676 cls.add_method('IsAny',
1677 'bool',
1678 [],
1679 is_const=True)
1680 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsEqual(ns3::Ipv6Address const & other) const [member function]
1681 cls.add_method('IsEqual',
1682 'bool',
1683 [param('ns3::Ipv6Address const &', 'other')],
1684 is_const=True)
Alexander Afanasyev6f933532012-02-29 13:30:37 -08001685 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsIpv4MappedAddress() [member function]
1686 cls.add_method('IsIpv4MappedAddress',
1687 'bool',
1688 [])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001689 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsLinkLocal() const [member function]
1690 cls.add_method('IsLinkLocal',
1691 'bool',
1692 [],
1693 is_const=True)
Alexander Afanasyev6f933532012-02-29 13:30:37 -08001694 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsLinkLocalMulticast() const [member function]
1695 cls.add_method('IsLinkLocalMulticast',
1696 'bool',
1697 [],
1698 is_const=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001699 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsLocalhost() const [member function]
1700 cls.add_method('IsLocalhost',
1701 'bool',
1702 [],
1703 is_const=True)
1704 ## ipv6-address.h (module 'network'): static bool ns3::Ipv6Address::IsMatchingType(ns3::Address const & address) [member function]
1705 cls.add_method('IsMatchingType',
1706 'bool',
1707 [param('ns3::Address const &', 'address')],
1708 is_static=True)
1709 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsMulticast() const [member function]
1710 cls.add_method('IsMulticast',
1711 'bool',
1712 [],
1713 is_const=True)
1714 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsSolicitedMulticast() const [member function]
1715 cls.add_method('IsSolicitedMulticast',
1716 'bool',
1717 [],
1718 is_const=True)
1719 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeAutoconfiguredAddress(ns3::Mac48Address addr, ns3::Ipv6Address prefix) [member function]
1720 cls.add_method('MakeAutoconfiguredAddress',
1721 'ns3::Ipv6Address',
1722 [param('ns3::Mac48Address', 'addr'), param('ns3::Ipv6Address', 'prefix')],
1723 is_static=True)
1724 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeAutoconfiguredLinkLocalAddress(ns3::Mac48Address mac) [member function]
1725 cls.add_method('MakeAutoconfiguredLinkLocalAddress',
1726 'ns3::Ipv6Address',
1727 [param('ns3::Mac48Address', 'mac')],
1728 is_static=True)
Alexander Afanasyev6f933532012-02-29 13:30:37 -08001729 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeIpv4MappedAddress(ns3::Ipv4Address addr) [member function]
1730 cls.add_method('MakeIpv4MappedAddress',
1731 'ns3::Ipv6Address',
1732 [param('ns3::Ipv4Address', 'addr')],
1733 is_static=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001734 ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeSolicitedAddress(ns3::Ipv6Address addr) [member function]
1735 cls.add_method('MakeSolicitedAddress',
1736 'ns3::Ipv6Address',
1737 [param('ns3::Ipv6Address', 'addr')],
1738 is_static=True)
1739 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Print(std::ostream & os) const [member function]
1740 cls.add_method('Print',
1741 'void',
1742 [param('std::ostream &', 'os')],
1743 is_const=True)
1744 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Serialize(uint8_t * buf) const [member function]
1745 cls.add_method('Serialize',
1746 'void',
1747 [param('uint8_t *', 'buf')],
1748 is_const=True)
1749 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Set(char const * address) [member function]
1750 cls.add_method('Set',
1751 'void',
1752 [param('char const *', 'address')])
1753 ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Set(uint8_t * address) [member function]
1754 cls.add_method('Set',
1755 'void',
1756 [param('uint8_t *', 'address')])
1757 return
1758
1759def register_Ns3Ipv6Prefix_methods(root_module, cls):
1760 cls.add_binary_comparison_operator('!=')
1761 cls.add_output_stream_operator()
1762 cls.add_binary_comparison_operator('==')
1763 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix() [constructor]
1764 cls.add_constructor([])
1765 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(uint8_t * prefix) [constructor]
1766 cls.add_constructor([param('uint8_t *', 'prefix')])
1767 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(char const * prefix) [constructor]
1768 cls.add_constructor([param('char const *', 'prefix')])
1769 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(uint8_t prefix) [constructor]
1770 cls.add_constructor([param('uint8_t', 'prefix')])
1771 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(ns3::Ipv6Prefix const & prefix) [copy constructor]
1772 cls.add_constructor([param('ns3::Ipv6Prefix const &', 'prefix')])
1773 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(ns3::Ipv6Prefix const * prefix) [constructor]
1774 cls.add_constructor([param('ns3::Ipv6Prefix const *', 'prefix')])
1775 ## ipv6-address.h (module 'network'): void ns3::Ipv6Prefix::GetBytes(uint8_t * buf) const [member function]
1776 cls.add_method('GetBytes',
1777 'void',
1778 [param('uint8_t *', 'buf')],
1779 is_const=True)
1780 ## ipv6-address.h (module 'network'): static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetLoopback() [member function]
1781 cls.add_method('GetLoopback',
1782 'ns3::Ipv6Prefix',
1783 [],
1784 is_static=True)
1785 ## ipv6-address.h (module 'network'): static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetOnes() [member function]
1786 cls.add_method('GetOnes',
1787 'ns3::Ipv6Prefix',
1788 [],
1789 is_static=True)
1790 ## ipv6-address.h (module 'network'): uint8_t ns3::Ipv6Prefix::GetPrefixLength() const [member function]
1791 cls.add_method('GetPrefixLength',
1792 'uint8_t',
1793 [],
1794 is_const=True)
1795 ## ipv6-address.h (module 'network'): static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetZero() [member function]
1796 cls.add_method('GetZero',
1797 'ns3::Ipv6Prefix',
1798 [],
1799 is_static=True)
1800 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Prefix::IsEqual(ns3::Ipv6Prefix const & other) const [member function]
1801 cls.add_method('IsEqual',
1802 'bool',
1803 [param('ns3::Ipv6Prefix const &', 'other')],
1804 is_const=True)
1805 ## ipv6-address.h (module 'network'): bool ns3::Ipv6Prefix::IsMatch(ns3::Ipv6Address a, ns3::Ipv6Address b) const [member function]
1806 cls.add_method('IsMatch',
1807 'bool',
1808 [param('ns3::Ipv6Address', 'a'), param('ns3::Ipv6Address', 'b')],
1809 is_const=True)
1810 ## ipv6-address.h (module 'network'): void ns3::Ipv6Prefix::Print(std::ostream & os) const [member function]
1811 cls.add_method('Print',
1812 'void',
1813 [param('std::ostream &', 'os')],
1814 is_const=True)
1815 return
1816
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001817def register_Ns3NodeContainer_methods(root_module, cls):
1818 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & arg0) [copy constructor]
1819 cls.add_constructor([param('ns3::NodeContainer const &', 'arg0')])
1820 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer() [constructor]
1821 cls.add_constructor([])
1822 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::Ptr<ns3::Node> node) [constructor]
1823 cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node')])
1824 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(std::string nodeName) [constructor]
1825 cls.add_constructor([param('std::string', 'nodeName')])
1826 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b) [constructor]
1827 cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b')])
1828 ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b, ns3::NodeContainer const & c) [constructor]
1829 cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b'), param('ns3::NodeContainer const &', 'c')])
1830 ## 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]
1831 cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b'), param('ns3::NodeContainer const &', 'c'), param('ns3::NodeContainer const &', 'd')])
1832 ## 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]
1833 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')])
1834 ## node-container.h (module 'network'): void ns3::NodeContainer::Add(ns3::NodeContainer other) [member function]
1835 cls.add_method('Add',
1836 'void',
1837 [param('ns3::NodeContainer', 'other')])
1838 ## node-container.h (module 'network'): void ns3::NodeContainer::Add(ns3::Ptr<ns3::Node> node) [member function]
1839 cls.add_method('Add',
1840 'void',
1841 [param('ns3::Ptr< ns3::Node >', 'node')])
1842 ## node-container.h (module 'network'): void ns3::NodeContainer::Add(std::string nodeName) [member function]
1843 cls.add_method('Add',
1844 'void',
1845 [param('std::string', 'nodeName')])
1846 ## 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]
1847 cls.add_method('Begin',
1848 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > >',
1849 [],
1850 is_const=True)
1851 ## node-container.h (module 'network'): void ns3::NodeContainer::Create(uint32_t n) [member function]
1852 cls.add_method('Create',
1853 'void',
1854 [param('uint32_t', 'n')])
1855 ## node-container.h (module 'network'): void ns3::NodeContainer::Create(uint32_t n, uint32_t systemId) [member function]
1856 cls.add_method('Create',
1857 'void',
1858 [param('uint32_t', 'n'), param('uint32_t', 'systemId')])
1859 ## 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]
1860 cls.add_method('End',
1861 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > >',
1862 [],
1863 is_const=True)
1864 ## node-container.h (module 'network'): ns3::Ptr<ns3::Node> ns3::NodeContainer::Get(uint32_t i) const [member function]
1865 cls.add_method('Get',
1866 'ns3::Ptr< ns3::Node >',
1867 [param('uint32_t', 'i')],
1868 is_const=True)
1869 ## node-container.h (module 'network'): static ns3::NodeContainer ns3::NodeContainer::GetGlobal() [member function]
1870 cls.add_method('GetGlobal',
1871 'ns3::NodeContainer',
1872 [],
1873 is_static=True)
1874 ## node-container.h (module 'network'): uint32_t ns3::NodeContainer::GetN() const [member function]
1875 cls.add_method('GetN',
1876 'uint32_t',
1877 [],
1878 is_const=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08001879 return
1880
1881def register_Ns3ObjectBase_methods(root_module, cls):
1882 ## object-base.h (module 'core'): ns3::ObjectBase::ObjectBase() [constructor]
1883 cls.add_constructor([])
1884 ## object-base.h (module 'core'): ns3::ObjectBase::ObjectBase(ns3::ObjectBase const & arg0) [copy constructor]
1885 cls.add_constructor([param('ns3::ObjectBase const &', 'arg0')])
1886 ## object-base.h (module 'core'): void ns3::ObjectBase::GetAttribute(std::string name, ns3::AttributeValue & value) const [member function]
1887 cls.add_method('GetAttribute',
1888 'void',
1889 [param('std::string', 'name'), param('ns3::AttributeValue &', 'value')],
1890 is_const=True)
1891 ## object-base.h (module 'core'): bool ns3::ObjectBase::GetAttributeFailSafe(std::string name, ns3::AttributeValue & attribute) const [member function]
1892 cls.add_method('GetAttributeFailSafe',
1893 'bool',
1894 [param('std::string', 'name'), param('ns3::AttributeValue &', 'attribute')],
1895 is_const=True)
1896 ## object-base.h (module 'core'): ns3::TypeId ns3::ObjectBase::GetInstanceTypeId() const [member function]
1897 cls.add_method('GetInstanceTypeId',
1898 'ns3::TypeId',
1899 [],
1900 is_pure_virtual=True, is_const=True, is_virtual=True)
1901 ## object-base.h (module 'core'): static ns3::TypeId ns3::ObjectBase::GetTypeId() [member function]
1902 cls.add_method('GetTypeId',
1903 'ns3::TypeId',
1904 [],
1905 is_static=True)
1906 ## object-base.h (module 'core'): void ns3::ObjectBase::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function]
1907 cls.add_method('SetAttribute',
1908 'void',
1909 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
1910 ## object-base.h (module 'core'): bool ns3::ObjectBase::SetAttributeFailSafe(std::string name, ns3::AttributeValue const & value) [member function]
1911 cls.add_method('SetAttributeFailSafe',
1912 'bool',
1913 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
1914 ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceConnect(std::string name, std::string context, ns3::CallbackBase const & cb) [member function]
1915 cls.add_method('TraceConnect',
1916 'bool',
1917 [param('std::string', 'name'), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')])
1918 ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceConnectWithoutContext(std::string name, ns3::CallbackBase const & cb) [member function]
1919 cls.add_method('TraceConnectWithoutContext',
1920 'bool',
1921 [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')])
1922 ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceDisconnect(std::string name, std::string context, ns3::CallbackBase const & cb) [member function]
1923 cls.add_method('TraceDisconnect',
1924 'bool',
1925 [param('std::string', 'name'), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')])
1926 ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceDisconnectWithoutContext(std::string name, ns3::CallbackBase const & cb) [member function]
1927 cls.add_method('TraceDisconnectWithoutContext',
1928 'bool',
1929 [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')])
1930 ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function]
1931 cls.add_method('ConstructSelf',
1932 'void',
1933 [param('ns3::AttributeConstructionList const &', 'attributes')],
1934 visibility='protected')
1935 ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function]
1936 cls.add_method('NotifyConstructionCompleted',
1937 'void',
1938 [],
1939 visibility='protected', is_virtual=True)
1940 return
1941
1942def register_Ns3ObjectDeleter_methods(root_module, cls):
1943 ## object.h (module 'core'): ns3::ObjectDeleter::ObjectDeleter() [constructor]
1944 cls.add_constructor([])
1945 ## object.h (module 'core'): ns3::ObjectDeleter::ObjectDeleter(ns3::ObjectDeleter const & arg0) [copy constructor]
1946 cls.add_constructor([param('ns3::ObjectDeleter const &', 'arg0')])
1947 ## object.h (module 'core'): static void ns3::ObjectDeleter::Delete(ns3::Object * object) [member function]
1948 cls.add_method('Delete',
1949 'void',
1950 [param('ns3::Object *', 'object')],
1951 is_static=True)
1952 return
1953
1954def register_Ns3ObjectFactory_methods(root_module, cls):
1955 cls.add_output_stream_operator()
1956 ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(ns3::ObjectFactory const & arg0) [copy constructor]
1957 cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')])
1958 ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor]
1959 cls.add_constructor([])
1960 ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor]
1961 cls.add_constructor([param('std::string', 'typeId')])
1962 ## object-factory.h (module 'core'): ns3::Ptr<ns3::Object> ns3::ObjectFactory::Create() const [member function]
1963 cls.add_method('Create',
1964 'ns3::Ptr< ns3::Object >',
1965 [],
1966 is_const=True)
1967 ## object-factory.h (module 'core'): ns3::TypeId ns3::ObjectFactory::GetTypeId() const [member function]
1968 cls.add_method('GetTypeId',
1969 'ns3::TypeId',
1970 [],
1971 is_const=True)
1972 ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(std::string name, ns3::AttributeValue const & value) [member function]
1973 cls.add_method('Set',
1974 'void',
1975 [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
1976 ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function]
1977 cls.add_method('SetTypeId',
1978 'void',
1979 [param('ns3::TypeId', 'tid')])
1980 ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(char const * tid) [member function]
1981 cls.add_method('SetTypeId',
1982 'void',
1983 [param('char const *', 'tid')])
1984 ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(std::string tid) [member function]
1985 cls.add_method('SetTypeId',
1986 'void',
1987 [param('std::string', 'tid')])
1988 return
1989
1990def register_Ns3PacketMetadata_methods(root_module, cls):
1991 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::PacketMetadata(uint64_t uid, uint32_t size) [constructor]
1992 cls.add_constructor([param('uint64_t', 'uid'), param('uint32_t', 'size')])
1993 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::PacketMetadata(ns3::PacketMetadata const & o) [copy constructor]
1994 cls.add_constructor([param('ns3::PacketMetadata const &', 'o')])
1995 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddAtEnd(ns3::PacketMetadata const & o) [member function]
1996 cls.add_method('AddAtEnd',
1997 'void',
1998 [param('ns3::PacketMetadata const &', 'o')])
1999 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddHeader(ns3::Header const & header, uint32_t size) [member function]
2000 cls.add_method('AddHeader',
2001 'void',
2002 [param('ns3::Header const &', 'header'), param('uint32_t', 'size')])
2003 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddPaddingAtEnd(uint32_t end) [member function]
2004 cls.add_method('AddPaddingAtEnd',
2005 'void',
2006 [param('uint32_t', 'end')])
2007 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddTrailer(ns3::Trailer const & trailer, uint32_t size) [member function]
2008 cls.add_method('AddTrailer',
2009 'void',
2010 [param('ns3::Trailer const &', 'trailer'), param('uint32_t', 'size')])
2011 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator ns3::PacketMetadata::BeginItem(ns3::Buffer buffer) const [member function]
2012 cls.add_method('BeginItem',
2013 'ns3::PacketMetadata::ItemIterator',
2014 [param('ns3::Buffer', 'buffer')],
2015 is_const=True)
2016 ## packet-metadata.h (module 'network'): ns3::PacketMetadata ns3::PacketMetadata::CreateFragment(uint32_t start, uint32_t end) const [member function]
2017 cls.add_method('CreateFragment',
2018 'ns3::PacketMetadata',
2019 [param('uint32_t', 'start'), param('uint32_t', 'end')],
2020 is_const=True)
2021 ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::Deserialize(uint8_t const * buffer, uint32_t size) [member function]
2022 cls.add_method('Deserialize',
2023 'uint32_t',
2024 [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
2025 ## packet-metadata.h (module 'network'): static void ns3::PacketMetadata::Enable() [member function]
2026 cls.add_method('Enable',
2027 'void',
2028 [],
2029 is_static=True)
2030 ## packet-metadata.h (module 'network'): static void ns3::PacketMetadata::EnableChecking() [member function]
2031 cls.add_method('EnableChecking',
2032 'void',
2033 [],
2034 is_static=True)
2035 ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::GetSerializedSize() const [member function]
2036 cls.add_method('GetSerializedSize',
2037 'uint32_t',
2038 [],
2039 is_const=True)
2040 ## packet-metadata.h (module 'network'): uint64_t ns3::PacketMetadata::GetUid() const [member function]
2041 cls.add_method('GetUid',
2042 'uint64_t',
2043 [],
2044 is_const=True)
2045 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveAtEnd(uint32_t end) [member function]
2046 cls.add_method('RemoveAtEnd',
2047 'void',
2048 [param('uint32_t', 'end')])
2049 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveAtStart(uint32_t start) [member function]
2050 cls.add_method('RemoveAtStart',
2051 'void',
2052 [param('uint32_t', 'start')])
2053 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveHeader(ns3::Header const & header, uint32_t size) [member function]
2054 cls.add_method('RemoveHeader',
2055 'void',
2056 [param('ns3::Header const &', 'header'), param('uint32_t', 'size')])
2057 ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveTrailer(ns3::Trailer const & trailer, uint32_t size) [member function]
2058 cls.add_method('RemoveTrailer',
2059 'void',
2060 [param('ns3::Trailer const &', 'trailer'), param('uint32_t', 'size')])
2061 ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
2062 cls.add_method('Serialize',
2063 'uint32_t',
2064 [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')],
2065 is_const=True)
2066 return
2067
2068def register_Ns3PacketMetadataItem_methods(root_module, cls):
2069 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::Item() [constructor]
2070 cls.add_constructor([])
2071 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::Item(ns3::PacketMetadata::Item const & arg0) [copy constructor]
2072 cls.add_constructor([param('ns3::PacketMetadata::Item const &', 'arg0')])
2073 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::current [variable]
2074 cls.add_instance_attribute('current', 'ns3::Buffer::Iterator', is_const=False)
2075 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentSize [variable]
2076 cls.add_instance_attribute('currentSize', 'uint32_t', is_const=False)
2077 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentTrimedFromEnd [variable]
2078 cls.add_instance_attribute('currentTrimedFromEnd', 'uint32_t', is_const=False)
2079 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentTrimedFromStart [variable]
2080 cls.add_instance_attribute('currentTrimedFromStart', 'uint32_t', is_const=False)
2081 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::isFragment [variable]
2082 cls.add_instance_attribute('isFragment', 'bool', is_const=False)
2083 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::tid [variable]
2084 cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
2085 return
2086
2087def register_Ns3PacketMetadataItemIterator_methods(root_module, cls):
2088 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator::ItemIterator(ns3::PacketMetadata::ItemIterator const & arg0) [copy constructor]
2089 cls.add_constructor([param('ns3::PacketMetadata::ItemIterator const &', 'arg0')])
2090 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator::ItemIterator(ns3::PacketMetadata const * metadata, ns3::Buffer buffer) [constructor]
2091 cls.add_constructor([param('ns3::PacketMetadata const *', 'metadata'), param('ns3::Buffer', 'buffer')])
2092 ## packet-metadata.h (module 'network'): bool ns3::PacketMetadata::ItemIterator::HasNext() const [member function]
2093 cls.add_method('HasNext',
2094 'bool',
2095 [],
2096 is_const=True)
2097 ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item ns3::PacketMetadata::ItemIterator::Next() [member function]
2098 cls.add_method('Next',
2099 'ns3::PacketMetadata::Item',
2100 [])
2101 return
2102
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002103def register_Ns3PacketTagIterator_methods(root_module, cls):
2104 ## packet.h (module 'network'): ns3::PacketTagIterator::PacketTagIterator(ns3::PacketTagIterator const & arg0) [copy constructor]
2105 cls.add_constructor([param('ns3::PacketTagIterator const &', 'arg0')])
2106 ## packet.h (module 'network'): bool ns3::PacketTagIterator::HasNext() const [member function]
2107 cls.add_method('HasNext',
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002108 'bool',
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002109 [],
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002110 is_const=True)
2111 ## packet.h (module 'network'): ns3::PacketTagIterator::Item ns3::PacketTagIterator::Next() [member function]
2112 cls.add_method('Next',
2113 'ns3::PacketTagIterator::Item',
2114 [])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002115 return
2116
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002117def register_Ns3PacketTagIteratorItem_methods(root_module, cls):
2118 ## packet.h (module 'network'): ns3::PacketTagIterator::Item::Item(ns3::PacketTagIterator::Item const & arg0) [copy constructor]
2119 cls.add_constructor([param('ns3::PacketTagIterator::Item const &', 'arg0')])
2120 ## packet.h (module 'network'): void ns3::PacketTagIterator::Item::GetTag(ns3::Tag & tag) const [member function]
2121 cls.add_method('GetTag',
2122 'void',
2123 [param('ns3::Tag &', 'tag')],
2124 is_const=True)
2125 ## packet.h (module 'network'): ns3::TypeId ns3::PacketTagIterator::Item::GetTypeId() const [member function]
2126 cls.add_method('GetTypeId',
2127 'ns3::TypeId',
2128 [],
2129 is_const=True)
2130 return
2131
2132def register_Ns3PacketTagList_methods(root_module, cls):
2133 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::PacketTagList() [constructor]
2134 cls.add_constructor([])
2135 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::PacketTagList(ns3::PacketTagList const & o) [copy constructor]
2136 cls.add_constructor([param('ns3::PacketTagList const &', 'o')])
2137 ## packet-tag-list.h (module 'network'): void ns3::PacketTagList::Add(ns3::Tag const & tag) const [member function]
2138 cls.add_method('Add',
2139 'void',
2140 [param('ns3::Tag const &', 'tag')],
2141 is_const=True)
2142 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData const * ns3::PacketTagList::Head() const [member function]
2143 cls.add_method('Head',
2144 'ns3::PacketTagList::TagData const *',
2145 [],
2146 is_const=True)
2147 ## packet-tag-list.h (module 'network'): bool ns3::PacketTagList::Peek(ns3::Tag & tag) const [member function]
2148 cls.add_method('Peek',
2149 'bool',
2150 [param('ns3::Tag &', 'tag')],
2151 is_const=True)
2152 ## packet-tag-list.h (module 'network'): bool ns3::PacketTagList::Remove(ns3::Tag & tag) [member function]
2153 cls.add_method('Remove',
2154 'bool',
2155 [param('ns3::Tag &', 'tag')])
2156 ## packet-tag-list.h (module 'network'): void ns3::PacketTagList::RemoveAll() [member function]
2157 cls.add_method('RemoveAll',
2158 'void',
2159 [])
2160 return
2161
2162def register_Ns3PacketTagListTagData_methods(root_module, cls):
2163 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::TagData() [constructor]
2164 cls.add_constructor([])
2165 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::TagData(ns3::PacketTagList::TagData const & arg0) [copy constructor]
2166 cls.add_constructor([param('ns3::PacketTagList::TagData const &', 'arg0')])
2167 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::count [variable]
2168 cls.add_instance_attribute('count', 'uint32_t', is_const=False)
2169 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::data [variable]
2170 cls.add_instance_attribute('data', 'uint8_t [ 20 ]', is_const=False)
2171 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::next [variable]
2172 cls.add_instance_attribute('next', 'ns3::PacketTagList::TagData *', is_const=False)
2173 ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::tid [variable]
2174 cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002175 return
2176
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002177def register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, cls):
2178 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter>::SimpleRefCount() [constructor]
2179 cls.add_constructor([])
2180 ## 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]
2181 cls.add_constructor([param('ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter > const &', 'o')])
2182 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter>::Cleanup() [member function]
2183 cls.add_method('Cleanup',
2184 'void',
2185 [],
2186 is_static=True)
2187 return
2188
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002189def register_Ns3Tag_methods(root_module, cls):
2190 ## tag.h (module 'network'): ns3::Tag::Tag() [constructor]
Alexander Afanasyev4975f732011-12-20 17:52:19 -08002191 cls.add_constructor([])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002192 ## tag.h (module 'network'): ns3::Tag::Tag(ns3::Tag const & arg0) [copy constructor]
2193 cls.add_constructor([param('ns3::Tag const &', 'arg0')])
2194 ## tag.h (module 'network'): void ns3::Tag::Deserialize(ns3::TagBuffer i) [member function]
2195 cls.add_method('Deserialize',
Alexander Afanasyev4975f732011-12-20 17:52:19 -08002196 'void',
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002197 [param('ns3::TagBuffer', 'i')],
2198 is_pure_virtual=True, is_virtual=True)
2199 ## tag.h (module 'network'): uint32_t ns3::Tag::GetSerializedSize() const [member function]
2200 cls.add_method('GetSerializedSize',
2201 'uint32_t',
2202 [],
2203 is_pure_virtual=True, is_const=True, is_virtual=True)
2204 ## tag.h (module 'network'): static ns3::TypeId ns3::Tag::GetTypeId() [member function]
2205 cls.add_method('GetTypeId',
2206 'ns3::TypeId',
2207 [],
Alexander Afanasyev4975f732011-12-20 17:52:19 -08002208 is_static=True)
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002209 ## tag.h (module 'network'): void ns3::Tag::Print(std::ostream & os) const [member function]
2210 cls.add_method('Print',
Alexander Afanasyev4975f732011-12-20 17:52:19 -08002211 'void',
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002212 [param('std::ostream &', 'os')],
2213 is_pure_virtual=True, is_const=True, is_virtual=True)
2214 ## tag.h (module 'network'): void ns3::Tag::Serialize(ns3::TagBuffer i) const [member function]
2215 cls.add_method('Serialize',
2216 'void',
2217 [param('ns3::TagBuffer', 'i')],
2218 is_pure_virtual=True, is_const=True, is_virtual=True)
Alexander Afanasyev4975f732011-12-20 17:52:19 -08002219 return
2220
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002221def register_Ns3TagBuffer_methods(root_module, cls):
2222 ## tag-buffer.h (module 'network'): ns3::TagBuffer::TagBuffer(ns3::TagBuffer const & arg0) [copy constructor]
2223 cls.add_constructor([param('ns3::TagBuffer const &', 'arg0')])
2224 ## tag-buffer.h (module 'network'): ns3::TagBuffer::TagBuffer(uint8_t * start, uint8_t * end) [constructor]
2225 cls.add_constructor([param('uint8_t *', 'start'), param('uint8_t *', 'end')])
2226 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::CopyFrom(ns3::TagBuffer o) [member function]
2227 cls.add_method('CopyFrom',
2228 'void',
2229 [param('ns3::TagBuffer', 'o')])
2230 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::Read(uint8_t * buffer, uint32_t size) [member function]
2231 cls.add_method('Read',
2232 'void',
2233 [param('uint8_t *', 'buffer'), param('uint32_t', 'size')])
2234 ## tag-buffer.h (module 'network'): double ns3::TagBuffer::ReadDouble() [member function]
2235 cls.add_method('ReadDouble',
2236 'double',
2237 [])
2238 ## tag-buffer.h (module 'network'): uint16_t ns3::TagBuffer::ReadU16() [member function]
2239 cls.add_method('ReadU16',
2240 'uint16_t',
2241 [])
2242 ## tag-buffer.h (module 'network'): uint32_t ns3::TagBuffer::ReadU32() [member function]
2243 cls.add_method('ReadU32',
2244 'uint32_t',
2245 [])
2246 ## tag-buffer.h (module 'network'): uint64_t ns3::TagBuffer::ReadU64() [member function]
2247 cls.add_method('ReadU64',
2248 'uint64_t',
2249 [])
2250 ## tag-buffer.h (module 'network'): uint8_t ns3::TagBuffer::ReadU8() [member function]
2251 cls.add_method('ReadU8',
2252 'uint8_t',
2253 [])
2254 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::TrimAtEnd(uint32_t trim) [member function]
2255 cls.add_method('TrimAtEnd',
2256 'void',
2257 [param('uint32_t', 'trim')])
2258 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::Write(uint8_t const * buffer, uint32_t size) [member function]
2259 cls.add_method('Write',
2260 'void',
2261 [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
2262 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteDouble(double v) [member function]
2263 cls.add_method('WriteDouble',
2264 'void',
2265 [param('double', 'v')])
2266 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU16(uint16_t data) [member function]
2267 cls.add_method('WriteU16',
2268 'void',
2269 [param('uint16_t', 'data')])
2270 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU32(uint32_t data) [member function]
2271 cls.add_method('WriteU32',
2272 'void',
2273 [param('uint32_t', 'data')])
2274 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU64(uint64_t v) [member function]
2275 cls.add_method('WriteU64',
2276 'void',
2277 [param('uint64_t', 'v')])
2278 ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU8(uint8_t v) [member function]
2279 cls.add_method('WriteU8',
2280 'void',
2281 [param('uint8_t', 'v')])
2282 return
2283
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002284def register_Ns3TypeId_methods(root_module, cls):
2285 cls.add_binary_comparison_operator('!=')
2286 cls.add_output_stream_operator()
2287 cls.add_binary_comparison_operator('==')
2288 cls.add_binary_comparison_operator('<')
2289 ## type-id.h (module 'core'): ns3::TypeId::TypeId(char const * name) [constructor]
2290 cls.add_constructor([param('char const *', 'name')])
2291 ## type-id.h (module 'core'): ns3::TypeId::TypeId() [constructor]
2292 cls.add_constructor([])
2293 ## type-id.h (module 'core'): ns3::TypeId::TypeId(ns3::TypeId const & o) [copy constructor]
2294 cls.add_constructor([param('ns3::TypeId const &', 'o')])
2295 ## 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]
2296 cls.add_method('AddAttribute',
2297 'ns3::TypeId',
2298 [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')])
2299 ## 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]
2300 cls.add_method('AddAttribute',
2301 'ns3::TypeId',
2302 [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')])
2303 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr<ns3::TraceSourceAccessor const> accessor) [member function]
2304 cls.add_method('AddTraceSource',
2305 'ns3::TypeId',
2306 [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')])
2307 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function]
2308 cls.add_method('GetAttribute',
2309 'ns3::TypeId::AttributeInformation',
2310 [param('uint32_t', 'i')],
2311 is_const=True)
2312 ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function]
2313 cls.add_method('GetAttributeFullName',
2314 'std::string',
2315 [param('uint32_t', 'i')],
2316 is_const=True)
2317 ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function]
2318 cls.add_method('GetAttributeN',
2319 'uint32_t',
2320 [],
2321 is_const=True)
2322 ## 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]
2323 cls.add_method('GetConstructor',
2324 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >',
2325 [],
2326 is_const=True)
2327 ## type-id.h (module 'core'): std::string ns3::TypeId::GetGroupName() const [member function]
2328 cls.add_method('GetGroupName',
2329 'std::string',
2330 [],
2331 is_const=True)
2332 ## type-id.h (module 'core'): std::string ns3::TypeId::GetName() const [member function]
2333 cls.add_method('GetName',
2334 'std::string',
2335 [],
2336 is_const=True)
2337 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::GetParent() const [member function]
2338 cls.add_method('GetParent',
2339 'ns3::TypeId',
2340 [],
2341 is_const=True)
2342 ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::GetRegistered(uint32_t i) [member function]
2343 cls.add_method('GetRegistered',
2344 'ns3::TypeId',
2345 [param('uint32_t', 'i')],
2346 is_static=True)
2347 ## type-id.h (module 'core'): static uint32_t ns3::TypeId::GetRegisteredN() [member function]
2348 cls.add_method('GetRegisteredN',
2349 'uint32_t',
2350 [],
2351 is_static=True)
2352 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function]
2353 cls.add_method('GetTraceSource',
2354 'ns3::TypeId::TraceSourceInformation',
2355 [param('uint32_t', 'i')],
2356 is_const=True)
2357 ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function]
2358 cls.add_method('GetTraceSourceN',
2359 'uint32_t',
2360 [],
2361 is_const=True)
2362 ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function]
2363 cls.add_method('GetUid',
2364 'uint16_t',
2365 [],
2366 is_const=True)
2367 ## type-id.h (module 'core'): bool ns3::TypeId::HasConstructor() const [member function]
2368 cls.add_method('HasConstructor',
2369 'bool',
2370 [],
2371 is_const=True)
2372 ## type-id.h (module 'core'): bool ns3::TypeId::HasParent() const [member function]
2373 cls.add_method('HasParent',
2374 'bool',
2375 [],
2376 is_const=True)
2377 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::HideFromDocumentation() [member function]
2378 cls.add_method('HideFromDocumentation',
2379 'ns3::TypeId',
2380 [])
2381 ## type-id.h (module 'core'): bool ns3::TypeId::IsChildOf(ns3::TypeId other) const [member function]
2382 cls.add_method('IsChildOf',
2383 'bool',
2384 [param('ns3::TypeId', 'other')],
2385 is_const=True)
2386 ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function]
2387 cls.add_method('LookupAttributeByName',
2388 'bool',
Alexander Afanasyev6f933532012-02-29 13:30:37 -08002389 [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info', transfer_ownership=False)],
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002390 is_const=True)
2391 ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function]
2392 cls.add_method('LookupByName',
2393 'ns3::TypeId',
2394 [param('std::string', 'name')],
2395 is_static=True)
2396 ## type-id.h (module 'core'): ns3::Ptr<ns3::TraceSourceAccessor const> ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function]
2397 cls.add_method('LookupTraceSourceByName',
2398 'ns3::Ptr< ns3::TraceSourceAccessor const >',
2399 [param('std::string', 'name')],
2400 is_const=True)
2401 ## type-id.h (module 'core'): bool ns3::TypeId::MustHideFromDocumentation() const [member function]
2402 cls.add_method('MustHideFromDocumentation',
2403 'bool',
2404 [],
2405 is_const=True)
2406 ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr<ns3::AttributeValue const> initialValue) [member function]
2407 cls.add_method('SetAttributeInitialValue',
2408 'bool',
2409 [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')])
2410 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function]
2411 cls.add_method('SetGroupName',
2412 'ns3::TypeId',
2413 [param('std::string', 'groupName')])
2414 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetParent(ns3::TypeId tid) [member function]
2415 cls.add_method('SetParent',
2416 'ns3::TypeId',
2417 [param('ns3::TypeId', 'tid')])
2418 ## type-id.h (module 'core'): void ns3::TypeId::SetUid(uint16_t tid) [member function]
2419 cls.add_method('SetUid',
2420 'void',
2421 [param('uint16_t', 'tid')])
2422 return
2423
2424def register_Ns3TypeIdAttributeInformation_methods(root_module, cls):
2425 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor]
2426 cls.add_constructor([])
2427 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor]
2428 cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')])
2429 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable]
2430 cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False)
2431 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable]
2432 cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False)
2433 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable]
2434 cls.add_instance_attribute('flags', 'uint32_t', is_const=False)
2435 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable]
2436 cls.add_instance_attribute('help', 'std::string', is_const=False)
2437 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable]
2438 cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False)
2439 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable]
2440 cls.add_instance_attribute('name', 'std::string', is_const=False)
2441 ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable]
2442 cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False)
2443 return
2444
2445def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls):
2446 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor]
2447 cls.add_constructor([])
2448 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor]
2449 cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')])
2450 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable]
2451 cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False)
2452 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable]
2453 cls.add_instance_attribute('help', 'std::string', is_const=False)
2454 ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable]
2455 cls.add_instance_attribute('name', 'std::string', is_const=False)
2456 return
2457
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002458def register_Ns3Empty_methods(root_module, cls):
2459 ## empty.h (module 'core'): ns3::empty::empty() [constructor]
2460 cls.add_constructor([])
2461 ## empty.h (module 'core'): ns3::empty::empty(ns3::empty const & arg0) [copy constructor]
2462 cls.add_constructor([param('ns3::empty const &', 'arg0')])
2463 return
2464
2465def register_Ns3Int64x64_t_methods(root_module, cls):
2466 cls.add_binary_comparison_operator('!=')
2467 cls.add_inplace_numeric_operator('*=', param('ns3::int64x64_t const &', 'right'))
2468 cls.add_inplace_numeric_operator('+=', param('ns3::int64x64_t const &', 'right'))
2469 cls.add_inplace_numeric_operator('-=', param('ns3::int64x64_t const &', 'right'))
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002470 cls.add_output_stream_operator()
Alexander Afanasyev4975f732011-12-20 17:52:19 -08002471 cls.add_binary_comparison_operator('<=')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002472 cls.add_binary_comparison_operator('==')
2473 cls.add_binary_comparison_operator('>=')
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07002474 cls.add_inplace_numeric_operator('/=', param('ns3::int64x64_t const &', 'right'))
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002475 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
2476 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
2477 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
2478 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
2479 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
2480 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
2481 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
2482 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
2483 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
2484 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
2485 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
2486 cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
2487 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
2488 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
2489 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
2490 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
2491 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
2492 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
2493 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
2494 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
2495 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
2496 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
2497 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
2498 cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
2499 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
2500 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
2501 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
2502 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
2503 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
2504 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
2505 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
2506 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
2507 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
2508 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
2509 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
2510 cls.add_unary_numeric_operator('-')
2511 cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
2512 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
2513 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
2514 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
2515 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
2516 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
2517 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
2518 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
2519 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
2520 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
2521 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
2522 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
2523 cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
2524 cls.add_binary_comparison_operator('<')
2525 cls.add_binary_comparison_operator('>')
2526 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t() [constructor]
2527 cls.add_constructor([])
2528 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(double v) [constructor]
2529 cls.add_constructor([param('double', 'v')])
2530 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(int v) [constructor]
2531 cls.add_constructor([param('int', 'v')])
2532 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long int v) [constructor]
2533 cls.add_constructor([param('long int', 'v')])
2534 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long long int v) [constructor]
2535 cls.add_constructor([param('long long int', 'v')])
2536 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(unsigned int v) [constructor]
2537 cls.add_constructor([param('unsigned int', 'v')])
2538 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long unsigned int v) [constructor]
2539 cls.add_constructor([param('long unsigned int', 'v')])
2540 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long long unsigned int v) [constructor]
2541 cls.add_constructor([param('long long unsigned int', 'v')])
2542 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(int64_t hi, uint64_t lo) [constructor]
2543 cls.add_constructor([param('int64_t', 'hi'), param('uint64_t', 'lo')])
2544 ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(ns3::int64x64_t const & o) [copy constructor]
2545 cls.add_constructor([param('ns3::int64x64_t const &', 'o')])
2546 ## int64x64-double.h (module 'core'): double ns3::int64x64_t::GetDouble() const [member function]
2547 cls.add_method('GetDouble',
2548 'double',
2549 [],
2550 is_const=True)
2551 ## int64x64-double.h (module 'core'): int64_t ns3::int64x64_t::GetHigh() const [member function]
2552 cls.add_method('GetHigh',
2553 'int64_t',
2554 [],
2555 is_const=True)
2556 ## int64x64-double.h (module 'core'): uint64_t ns3::int64x64_t::GetLow() const [member function]
2557 cls.add_method('GetLow',
2558 'uint64_t',
2559 [],
2560 is_const=True)
2561 ## int64x64-double.h (module 'core'): static ns3::int64x64_t ns3::int64x64_t::Invert(uint64_t v) [member function]
2562 cls.add_method('Invert',
2563 'ns3::int64x64_t',
2564 [param('uint64_t', 'v')],
2565 is_static=True)
2566 ## int64x64-double.h (module 'core'): void ns3::int64x64_t::MulByInvert(ns3::int64x64_t const & o) [member function]
2567 cls.add_method('MulByInvert',
2568 'void',
2569 [param('ns3::int64x64_t const &', 'o')])
2570 return
2571
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002572def register_Ns3Chunk_methods(root_module, cls):
2573 ## chunk.h (module 'network'): ns3::Chunk::Chunk() [constructor]
2574 cls.add_constructor([])
2575 ## chunk.h (module 'network'): ns3::Chunk::Chunk(ns3::Chunk const & arg0) [copy constructor]
2576 cls.add_constructor([param('ns3::Chunk const &', 'arg0')])
2577 ## chunk.h (module 'network'): uint32_t ns3::Chunk::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 ## chunk.h (module 'network'): static ns3::TypeId ns3::Chunk::GetTypeId() [member function]
2583 cls.add_method('GetTypeId',
2584 'ns3::TypeId',
2585 [],
2586 is_static=True)
2587 ## chunk.h (module 'network'): void ns3::Chunk::Print(std::ostream & os) const [member function]
2588 cls.add_method('Print',
2589 'void',
2590 [param('std::ostream &', 'os')],
2591 is_pure_virtual=True, is_const=True, is_virtual=True)
2592 return
2593
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002594def register_Ns3Header_methods(root_module, cls):
2595 cls.add_output_stream_operator()
2596 ## header.h (module 'network'): ns3::Header::Header() [constructor]
2597 cls.add_constructor([])
2598 ## header.h (module 'network'): ns3::Header::Header(ns3::Header const & arg0) [copy constructor]
2599 cls.add_constructor([param('ns3::Header const &', 'arg0')])
2600 ## header.h (module 'network'): uint32_t ns3::Header::Deserialize(ns3::Buffer::Iterator start) [member function]
2601 cls.add_method('Deserialize',
2602 'uint32_t',
2603 [param('ns3::Buffer::Iterator', 'start')],
2604 is_pure_virtual=True, is_virtual=True)
2605 ## header.h (module 'network'): uint32_t ns3::Header::GetSerializedSize() const [member function]
2606 cls.add_method('GetSerializedSize',
2607 'uint32_t',
2608 [],
2609 is_pure_virtual=True, is_const=True, is_virtual=True)
2610 ## header.h (module 'network'): static ns3::TypeId ns3::Header::GetTypeId() [member function]
2611 cls.add_method('GetTypeId',
2612 'ns3::TypeId',
2613 [],
2614 is_static=True)
2615 ## header.h (module 'network'): void ns3::Header::Print(std::ostream & os) const [member function]
2616 cls.add_method('Print',
2617 'void',
2618 [param('std::ostream &', 'os')],
2619 is_pure_virtual=True, is_const=True, is_virtual=True)
2620 ## header.h (module 'network'): void ns3::Header::Serialize(ns3::Buffer::Iterator start) const [member function]
2621 cls.add_method('Serialize',
2622 'void',
2623 [param('ns3::Buffer::Iterator', 'start')],
2624 is_pure_virtual=True, is_const=True, is_virtual=True)
2625 return
2626
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002627def register_Ns3Object_methods(root_module, cls):
2628 ## object.h (module 'core'): ns3::Object::Object() [constructor]
2629 cls.add_constructor([])
2630 ## object.h (module 'core'): void ns3::Object::AggregateObject(ns3::Ptr<ns3::Object> other) [member function]
2631 cls.add_method('AggregateObject',
2632 'void',
2633 [param('ns3::Ptr< ns3::Object >', 'other')])
2634 ## object.h (module 'core'): void ns3::Object::Dispose() [member function]
2635 cls.add_method('Dispose',
2636 'void',
2637 [])
2638 ## object.h (module 'core'): ns3::Object::AggregateIterator ns3::Object::GetAggregateIterator() const [member function]
2639 cls.add_method('GetAggregateIterator',
2640 'ns3::Object::AggregateIterator',
2641 [],
2642 is_const=True)
2643 ## object.h (module 'core'): ns3::TypeId ns3::Object::GetInstanceTypeId() const [member function]
2644 cls.add_method('GetInstanceTypeId',
2645 'ns3::TypeId',
2646 [],
2647 is_const=True, is_virtual=True)
2648 ## object.h (module 'core'): static ns3::TypeId ns3::Object::GetTypeId() [member function]
2649 cls.add_method('GetTypeId',
2650 'ns3::TypeId',
2651 [],
2652 is_static=True)
2653 ## object.h (module 'core'): void ns3::Object::Start() [member function]
2654 cls.add_method('Start',
2655 'void',
2656 [])
2657 ## object.h (module 'core'): ns3::Object::Object(ns3::Object const & o) [copy constructor]
2658 cls.add_constructor([param('ns3::Object const &', 'o')],
2659 visibility='protected')
2660 ## object.h (module 'core'): void ns3::Object::DoDispose() [member function]
2661 cls.add_method('DoDispose',
2662 'void',
2663 [],
2664 visibility='protected', is_virtual=True)
2665 ## object.h (module 'core'): void ns3::Object::DoStart() [member function]
2666 cls.add_method('DoStart',
2667 'void',
2668 [],
2669 visibility='protected', is_virtual=True)
2670 ## object.h (module 'core'): void ns3::Object::NotifyNewAggregate() [member function]
2671 cls.add_method('NotifyNewAggregate',
2672 'void',
2673 [],
2674 visibility='protected', is_virtual=True)
2675 return
2676
2677def register_Ns3ObjectAggregateIterator_methods(root_module, cls):
2678 ## object.h (module 'core'): ns3::Object::AggregateIterator::AggregateIterator(ns3::Object::AggregateIterator const & arg0) [copy constructor]
2679 cls.add_constructor([param('ns3::Object::AggregateIterator const &', 'arg0')])
2680 ## object.h (module 'core'): ns3::Object::AggregateIterator::AggregateIterator() [constructor]
2681 cls.add_constructor([])
2682 ## object.h (module 'core'): bool ns3::Object::AggregateIterator::HasNext() const [member function]
2683 cls.add_method('HasNext',
2684 'bool',
2685 [],
2686 is_const=True)
2687 ## object.h (module 'core'): ns3::Ptr<ns3::Object const> ns3::Object::AggregateIterator::Next() [member function]
2688 cls.add_method('Next',
2689 'ns3::Ptr< ns3::Object const >',
2690 [])
2691 return
2692
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002693def register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, cls):
2694 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >::SimpleRefCount() [constructor]
2695 cls.add_constructor([])
2696 ## 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]
2697 cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter< ns3::AttributeAccessor > > const &', 'o')])
2698 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >::Cleanup() [member function]
2699 cls.add_method('Cleanup',
2700 'void',
2701 [],
2702 is_static=True)
2703 return
2704
2705def register_Ns3SimpleRefCount__Ns3AttributeChecker_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeChecker__gt___methods(root_module, cls):
2706 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >::SimpleRefCount() [constructor]
2707 cls.add_constructor([])
2708 ## 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]
2709 cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter< ns3::AttributeChecker > > const &', 'o')])
2710 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >::Cleanup() [member function]
2711 cls.add_method('Cleanup',
2712 'void',
2713 [],
2714 is_static=True)
2715 return
2716
2717def register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeValue__gt___methods(root_module, cls):
2718 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >::SimpleRefCount() [constructor]
2719 cls.add_constructor([])
2720 ## 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]
2721 cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter< ns3::AttributeValue > > const &', 'o')])
2722 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >::Cleanup() [member function]
2723 cls.add_method('Cleanup',
2724 'void',
2725 [],
2726 is_static=True)
2727 return
2728
2729def register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__lt__ns3CallbackImplBase__gt___methods(root_module, cls):
2730 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >::SimpleRefCount() [constructor]
2731 cls.add_constructor([])
2732 ## 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]
2733 cls.add_constructor([param('ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter< ns3::CallbackImplBase > > const &', 'o')])
2734 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >::Cleanup() [member function]
2735 cls.add_method('Cleanup',
2736 'void',
2737 [],
2738 is_static=True)
2739 return
2740
Alexander Afanasyev4756b892012-04-18 14:48:43 -07002741def register_Ns3SimpleRefCount__Ns3CcnxContentObjectHeader_Ns3Header_Ns3DefaultDeleter__lt__ns3CcnxContentObjectHeader__gt___methods(root_module, cls):
2742 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CcnxContentObjectHeader, ns3::Header, ns3::DefaultDeleter<ns3::CcnxContentObjectHeader> >::SimpleRefCount() [constructor]
2743 cls.add_constructor([])
2744 ## 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]
2745 cls.add_constructor([param('ns3::SimpleRefCount< ns3::CcnxContentObjectHeader, ns3::Header, ns3::DefaultDeleter< ns3::CcnxContentObjectHeader > > const &', 'o')])
2746 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::CcnxContentObjectHeader, ns3::Header, ns3::DefaultDeleter<ns3::CcnxContentObjectHeader> >::Cleanup() [member function]
2747 cls.add_method('Cleanup',
2748 'void',
2749 [],
2750 is_static=True)
2751 return
2752
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002753def register_Ns3SimpleRefCount__Ns3CcnxFaceContainer_Ns3Empty_Ns3DefaultDeleter__lt__ns3CcnxFaceContainer__gt___methods(root_module, cls):
2754 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CcnxFaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::CcnxFaceContainer> >::SimpleRefCount() [constructor]
2755 cls.add_constructor([])
2756 ## 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]
2757 cls.add_constructor([param('ns3::SimpleRefCount< ns3::CcnxFaceContainer, ns3::empty, ns3::DefaultDeleter< ns3::CcnxFaceContainer > > const &', 'o')])
2758 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::CcnxFaceContainer, ns3::empty, ns3::DefaultDeleter<ns3::CcnxFaceContainer> >::Cleanup() [member function]
2759 cls.add_method('Cleanup',
2760 'void',
2761 [],
2762 is_static=True)
2763 return
2764
Alexander Afanasyev4756b892012-04-18 14:48:43 -07002765def register_Ns3SimpleRefCount__Ns3CcnxInterestHeader_Ns3Header_Ns3DefaultDeleter__lt__ns3CcnxInterestHeader__gt___methods(root_module, cls):
2766 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CcnxInterestHeader, ns3::Header, ns3::DefaultDeleter<ns3::CcnxInterestHeader> >::SimpleRefCount() [constructor]
2767 cls.add_constructor([])
2768 ## 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]
2769 cls.add_constructor([param('ns3::SimpleRefCount< ns3::CcnxInterestHeader, ns3::Header, ns3::DefaultDeleter< ns3::CcnxInterestHeader > > const &', 'o')])
2770 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::CcnxInterestHeader, ns3::Header, ns3::DefaultDeleter<ns3::CcnxInterestHeader> >::Cleanup() [member function]
2771 cls.add_method('Cleanup',
2772 'void',
2773 [],
2774 is_static=True)
2775 return
2776
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002777def register_Ns3SimpleRefCount__Ns3CcnxNameComponents_Ns3Empty_Ns3DefaultDeleter__lt__ns3CcnxNameComponents__gt___methods(root_module, cls):
2778 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CcnxNameComponents, ns3::empty, ns3::DefaultDeleter<ns3::CcnxNameComponents> >::SimpleRefCount() [constructor]
2779 cls.add_constructor([])
2780 ## 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]
2781 cls.add_constructor([param('ns3::SimpleRefCount< ns3::CcnxNameComponents, ns3::empty, ns3::DefaultDeleter< ns3::CcnxNameComponents > > const &', 'o')])
2782 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::CcnxNameComponents, ns3::empty, ns3::DefaultDeleter<ns3::CcnxNameComponents> >::Cleanup() [member function]
2783 cls.add_method('Cleanup',
2784 'void',
2785 [],
2786 is_static=True)
2787 return
2788
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002789def register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__gt___methods(root_module, cls):
2790 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >::SimpleRefCount() [constructor]
2791 cls.add_constructor([])
2792 ## 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]
2793 cls.add_constructor([param('ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter< ns3::EventImpl > > const &', 'o')])
2794 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >::Cleanup() [member function]
2795 cls.add_method('Cleanup',
2796 'void',
2797 [],
2798 is_static=True)
2799 return
2800
2801def register_Ns3SimpleRefCount__Ns3NixVector_Ns3Empty_Ns3DefaultDeleter__lt__ns3NixVector__gt___methods(root_module, cls):
2802 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >::SimpleRefCount() [constructor]
2803 cls.add_constructor([])
2804 ## 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]
2805 cls.add_constructor([param('ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter< ns3::NixVector > > const &', 'o')])
2806 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >::Cleanup() [member function]
2807 cls.add_method('Cleanup',
2808 'void',
2809 [],
2810 is_static=True)
2811 return
2812
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002813def register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, cls):
2814 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >::SimpleRefCount() [constructor]
2815 cls.add_constructor([])
2816 ## 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]
2817 cls.add_constructor([param('ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter< ns3::Packet > > const &', 'o')])
2818 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >::Cleanup() [member function]
2819 cls.add_method('Cleanup',
2820 'void',
2821 [],
2822 is_static=True)
2823 return
2824
2825def register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, cls):
2826 ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >::SimpleRefCount() [constructor]
2827 cls.add_constructor([])
2828 ## 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]
2829 cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > const &', 'o')])
2830 ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >::Cleanup() [member function]
2831 cls.add_method('Cleanup',
2832 'void',
2833 [],
2834 is_static=True)
2835 return
2836
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002837def register_Ns3Time_methods(root_module, cls):
2838 cls.add_binary_comparison_operator('!=')
2839 cls.add_inplace_numeric_operator('+=', param('ns3::Time const &', 'right'))
2840 cls.add_inplace_numeric_operator('-=', param('ns3::Time const &', 'right'))
2841 cls.add_output_stream_operator()
Alexander Afanasyev4975f732011-12-20 17:52:19 -08002842 cls.add_binary_comparison_operator('<=')
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002843 cls.add_binary_comparison_operator('==')
2844 cls.add_binary_comparison_operator('>=')
2845 cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right'))
2846 cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right'))
2847 cls.add_binary_comparison_operator('<')
2848 cls.add_binary_comparison_operator('>')
2849 ## nstime.h (module 'core'): ns3::Time::Time() [constructor]
2850 cls.add_constructor([])
2851 ## nstime.h (module 'core'): ns3::Time::Time(ns3::Time const & o) [copy constructor]
2852 cls.add_constructor([param('ns3::Time const &', 'o')])
2853 ## nstime.h (module 'core'): ns3::Time::Time(double v) [constructor]
2854 cls.add_constructor([param('double', 'v')])
2855 ## nstime.h (module 'core'): ns3::Time::Time(int v) [constructor]
2856 cls.add_constructor([param('int', 'v')])
2857 ## nstime.h (module 'core'): ns3::Time::Time(long int v) [constructor]
2858 cls.add_constructor([param('long int', 'v')])
2859 ## nstime.h (module 'core'): ns3::Time::Time(long long int v) [constructor]
2860 cls.add_constructor([param('long long int', 'v')])
2861 ## nstime.h (module 'core'): ns3::Time::Time(unsigned int v) [constructor]
2862 cls.add_constructor([param('unsigned int', 'v')])
2863 ## nstime.h (module 'core'): ns3::Time::Time(long unsigned int v) [constructor]
2864 cls.add_constructor([param('long unsigned int', 'v')])
2865 ## nstime.h (module 'core'): ns3::Time::Time(long long unsigned int v) [constructor]
2866 cls.add_constructor([param('long long unsigned int', 'v')])
2867 ## nstime.h (module 'core'): ns3::Time::Time(std::string const & s) [constructor]
2868 cls.add_constructor([param('std::string const &', 's')])
2869 ## nstime.h (module 'core'): ns3::Time::Time(ns3::int64x64_t const & value) [constructor]
2870 cls.add_constructor([param('ns3::int64x64_t const &', 'value')])
2871 ## nstime.h (module 'core'): int ns3::Time::Compare(ns3::Time const & o) const [member function]
2872 cls.add_method('Compare',
2873 'int',
2874 [param('ns3::Time const &', 'o')],
2875 is_const=True)
2876 ## nstime.h (module 'core'): static ns3::Time ns3::Time::From(ns3::int64x64_t const & from, ns3::Time::Unit timeUnit) [member function]
2877 cls.add_method('From',
2878 'ns3::Time',
2879 [param('ns3::int64x64_t const &', 'from'), param('ns3::Time::Unit', 'timeUnit')],
2880 is_static=True)
2881 ## nstime.h (module 'core'): static ns3::Time ns3::Time::From(ns3::int64x64_t const & value) [member function]
2882 cls.add_method('From',
2883 'ns3::Time',
2884 [param('ns3::int64x64_t const &', 'value')],
2885 is_static=True)
2886 ## nstime.h (module 'core'): static ns3::Time ns3::Time::FromDouble(double value, ns3::Time::Unit timeUnit) [member function]
2887 cls.add_method('FromDouble',
2888 'ns3::Time',
2889 [param('double', 'value'), param('ns3::Time::Unit', 'timeUnit')],
2890 is_static=True)
2891 ## nstime.h (module 'core'): static ns3::Time ns3::Time::FromInteger(uint64_t value, ns3::Time::Unit timeUnit) [member function]
2892 cls.add_method('FromInteger',
2893 'ns3::Time',
2894 [param('uint64_t', 'value'), param('ns3::Time::Unit', 'timeUnit')],
2895 is_static=True)
2896 ## nstime.h (module 'core'): double ns3::Time::GetDouble() const [member function]
2897 cls.add_method('GetDouble',
2898 'double',
2899 [],
2900 is_const=True)
2901 ## nstime.h (module 'core'): int64_t ns3::Time::GetFemtoSeconds() const [member function]
2902 cls.add_method('GetFemtoSeconds',
2903 'int64_t',
2904 [],
2905 is_const=True)
2906 ## nstime.h (module 'core'): int64_t ns3::Time::GetInteger() const [member function]
2907 cls.add_method('GetInteger',
2908 'int64_t',
2909 [],
2910 is_const=True)
2911 ## nstime.h (module 'core'): int64_t ns3::Time::GetMicroSeconds() const [member function]
2912 cls.add_method('GetMicroSeconds',
2913 'int64_t',
2914 [],
2915 is_const=True)
2916 ## nstime.h (module 'core'): int64_t ns3::Time::GetMilliSeconds() const [member function]
2917 cls.add_method('GetMilliSeconds',
2918 'int64_t',
2919 [],
2920 is_const=True)
2921 ## nstime.h (module 'core'): int64_t ns3::Time::GetNanoSeconds() const [member function]
2922 cls.add_method('GetNanoSeconds',
2923 'int64_t',
2924 [],
2925 is_const=True)
2926 ## nstime.h (module 'core'): int64_t ns3::Time::GetPicoSeconds() const [member function]
2927 cls.add_method('GetPicoSeconds',
2928 'int64_t',
2929 [],
2930 is_const=True)
2931 ## nstime.h (module 'core'): static ns3::Time::Unit ns3::Time::GetResolution() [member function]
2932 cls.add_method('GetResolution',
2933 'ns3::Time::Unit',
2934 [],
2935 is_static=True)
2936 ## nstime.h (module 'core'): double ns3::Time::GetSeconds() const [member function]
2937 cls.add_method('GetSeconds',
2938 'double',
2939 [],
2940 is_const=True)
2941 ## nstime.h (module 'core'): int64_t ns3::Time::GetTimeStep() const [member function]
2942 cls.add_method('GetTimeStep',
2943 'int64_t',
2944 [],
2945 is_const=True)
2946 ## nstime.h (module 'core'): bool ns3::Time::IsNegative() const [member function]
2947 cls.add_method('IsNegative',
2948 'bool',
2949 [],
2950 is_const=True)
2951 ## nstime.h (module 'core'): bool ns3::Time::IsPositive() const [member function]
2952 cls.add_method('IsPositive',
2953 'bool',
2954 [],
2955 is_const=True)
2956 ## nstime.h (module 'core'): bool ns3::Time::IsStrictlyNegative() const [member function]
2957 cls.add_method('IsStrictlyNegative',
2958 'bool',
2959 [],
2960 is_const=True)
2961 ## nstime.h (module 'core'): bool ns3::Time::IsStrictlyPositive() const [member function]
2962 cls.add_method('IsStrictlyPositive',
2963 'bool',
2964 [],
2965 is_const=True)
2966 ## nstime.h (module 'core'): bool ns3::Time::IsZero() const [member function]
2967 cls.add_method('IsZero',
2968 'bool',
2969 [],
2970 is_const=True)
2971 ## nstime.h (module 'core'): static void ns3::Time::SetResolution(ns3::Time::Unit resolution) [member function]
2972 cls.add_method('SetResolution',
2973 'void',
2974 [param('ns3::Time::Unit', 'resolution')],
2975 is_static=True)
2976 ## nstime.h (module 'core'): ns3::int64x64_t ns3::Time::To(ns3::Time::Unit timeUnit) const [member function]
2977 cls.add_method('To',
2978 'ns3::int64x64_t',
2979 [param('ns3::Time::Unit', 'timeUnit')],
2980 is_const=True)
2981 ## nstime.h (module 'core'): double ns3::Time::ToDouble(ns3::Time::Unit timeUnit) const [member function]
2982 cls.add_method('ToDouble',
2983 'double',
2984 [param('ns3::Time::Unit', 'timeUnit')],
2985 is_const=True)
2986 ## nstime.h (module 'core'): int64_t ns3::Time::ToInteger(ns3::Time::Unit timeUnit) const [member function]
2987 cls.add_method('ToInteger',
2988 'int64_t',
2989 [param('ns3::Time::Unit', 'timeUnit')],
2990 is_const=True)
2991 return
2992
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08002993def register_Ns3TraceSourceAccessor_methods(root_module, cls):
2994 ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor]
2995 cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')])
2996 ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor]
2997 cls.add_constructor([])
2998 ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function]
2999 cls.add_method('Connect',
3000 'bool',
3001 [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')],
3002 is_pure_virtual=True, is_const=True, is_virtual=True)
3003 ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function]
3004 cls.add_method('ConnectWithoutContext',
3005 'bool',
3006 [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')],
3007 is_pure_virtual=True, is_const=True, is_virtual=True)
3008 ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function]
3009 cls.add_method('Disconnect',
3010 'bool',
3011 [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')],
3012 is_pure_virtual=True, is_const=True, is_virtual=True)
3013 ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function]
3014 cls.add_method('DisconnectWithoutContext',
3015 'bool',
3016 [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')],
3017 is_pure_virtual=True, is_const=True, is_virtual=True)
3018 return
3019
3020def register_Ns3Trailer_methods(root_module, cls):
3021 cls.add_output_stream_operator()
3022 ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor]
3023 cls.add_constructor([])
3024 ## trailer.h (module 'network'): ns3::Trailer::Trailer(ns3::Trailer const & arg0) [copy constructor]
3025 cls.add_constructor([param('ns3::Trailer const &', 'arg0')])
3026 ## trailer.h (module 'network'): uint32_t ns3::Trailer::Deserialize(ns3::Buffer::Iterator end) [member function]
3027 cls.add_method('Deserialize',
3028 'uint32_t',
3029 [param('ns3::Buffer::Iterator', 'end')],
3030 is_pure_virtual=True, is_virtual=True)
3031 ## trailer.h (module 'network'): uint32_t ns3::Trailer::GetSerializedSize() const [member function]
3032 cls.add_method('GetSerializedSize',
3033 'uint32_t',
3034 [],
3035 is_pure_virtual=True, is_const=True, is_virtual=True)
3036 ## trailer.h (module 'network'): static ns3::TypeId ns3::Trailer::GetTypeId() [member function]
3037 cls.add_method('GetTypeId',
3038 'ns3::TypeId',
3039 [],
3040 is_static=True)
3041 ## trailer.h (module 'network'): void ns3::Trailer::Print(std::ostream & os) const [member function]
3042 cls.add_method('Print',
3043 'void',
3044 [param('std::ostream &', 'os')],
3045 is_pure_virtual=True, is_const=True, is_virtual=True)
3046 ## trailer.h (module 'network'): void ns3::Trailer::Serialize(ns3::Buffer::Iterator start) const [member function]
3047 cls.add_method('Serialize',
3048 'void',
3049 [param('ns3::Buffer::Iterator', 'start')],
3050 is_pure_virtual=True, is_const=True, is_virtual=True)
3051 return
3052
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003053def register_Ns3Application_methods(root_module, cls):
3054 ## application.h (module 'network'): ns3::Application::Application(ns3::Application const & arg0) [copy constructor]
3055 cls.add_constructor([param('ns3::Application const &', 'arg0')])
3056 ## application.h (module 'network'): ns3::Application::Application() [constructor]
3057 cls.add_constructor([])
3058 ## application.h (module 'network'): ns3::Ptr<ns3::Node> ns3::Application::GetNode() const [member function]
3059 cls.add_method('GetNode',
3060 'ns3::Ptr< ns3::Node >',
3061 [],
3062 is_const=True)
3063 ## application.h (module 'network'): static ns3::TypeId ns3::Application::GetTypeId() [member function]
3064 cls.add_method('GetTypeId',
3065 'ns3::TypeId',
3066 [],
3067 is_static=True)
3068 ## application.h (module 'network'): void ns3::Application::SetNode(ns3::Ptr<ns3::Node> node) [member function]
3069 cls.add_method('SetNode',
3070 'void',
3071 [param('ns3::Ptr< ns3::Node >', 'node')])
3072 ## application.h (module 'network'): void ns3::Application::SetStartTime(ns3::Time start) [member function]
3073 cls.add_method('SetStartTime',
3074 'void',
3075 [param('ns3::Time', 'start')])
3076 ## application.h (module 'network'): void ns3::Application::SetStopTime(ns3::Time stop) [member function]
3077 cls.add_method('SetStopTime',
3078 'void',
3079 [param('ns3::Time', 'stop')])
3080 ## application.h (module 'network'): void ns3::Application::DoDispose() [member function]
3081 cls.add_method('DoDispose',
3082 'void',
3083 [],
3084 visibility='protected', is_virtual=True)
3085 ## application.h (module 'network'): void ns3::Application::DoStart() [member function]
3086 cls.add_method('DoStart',
3087 'void',
3088 [],
3089 visibility='protected', is_virtual=True)
3090 ## application.h (module 'network'): void ns3::Application::StartApplication() [member function]
3091 cls.add_method('StartApplication',
3092 'void',
3093 [],
Alexander Afanasyev06d3a612012-04-17 22:25:40 -07003094 visibility='private', is_virtual=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003095 ## application.h (module 'network'): void ns3::Application::StopApplication() [member function]
3096 cls.add_method('StopApplication',
3097 'void',
3098 [],
Alexander Afanasyev06d3a612012-04-17 22:25:40 -07003099 visibility='private', is_virtual=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003100 return
3101
3102def register_Ns3AttributeAccessor_methods(root_module, cls):
3103 ## attribute.h (module 'core'): ns3::AttributeAccessor::AttributeAccessor(ns3::AttributeAccessor const & arg0) [copy constructor]
3104 cls.add_constructor([param('ns3::AttributeAccessor const &', 'arg0')])
3105 ## attribute.h (module 'core'): ns3::AttributeAccessor::AttributeAccessor() [constructor]
3106 cls.add_constructor([])
3107 ## attribute.h (module 'core'): bool ns3::AttributeAccessor::Get(ns3::ObjectBase const * object, ns3::AttributeValue & attribute) const [member function]
3108 cls.add_method('Get',
3109 'bool',
3110 [param('ns3::ObjectBase const *', 'object'), param('ns3::AttributeValue &', 'attribute')],
3111 is_pure_virtual=True, is_const=True, is_virtual=True)
3112 ## attribute.h (module 'core'): bool ns3::AttributeAccessor::HasGetter() const [member function]
3113 cls.add_method('HasGetter',
3114 'bool',
3115 [],
3116 is_pure_virtual=True, is_const=True, is_virtual=True)
3117 ## attribute.h (module 'core'): bool ns3::AttributeAccessor::HasSetter() const [member function]
3118 cls.add_method('HasSetter',
3119 'bool',
3120 [],
3121 is_pure_virtual=True, is_const=True, is_virtual=True)
3122 ## attribute.h (module 'core'): bool ns3::AttributeAccessor::Set(ns3::ObjectBase * object, ns3::AttributeValue const & value) const [member function]
3123 cls.add_method('Set',
3124 'bool',
3125 [param('ns3::ObjectBase *', 'object', transfer_ownership=False), param('ns3::AttributeValue const &', 'value')],
3126 is_pure_virtual=True, is_const=True, is_virtual=True)
3127 return
3128
3129def register_Ns3AttributeChecker_methods(root_module, cls):
3130 ## attribute.h (module 'core'): ns3::AttributeChecker::AttributeChecker(ns3::AttributeChecker const & arg0) [copy constructor]
3131 cls.add_constructor([param('ns3::AttributeChecker const &', 'arg0')])
3132 ## attribute.h (module 'core'): ns3::AttributeChecker::AttributeChecker() [constructor]
3133 cls.add_constructor([])
3134 ## attribute.h (module 'core'): bool ns3::AttributeChecker::Check(ns3::AttributeValue const & value) const [member function]
3135 cls.add_method('Check',
3136 'bool',
3137 [param('ns3::AttributeValue const &', 'value')],
3138 is_pure_virtual=True, is_const=True, is_virtual=True)
3139 ## attribute.h (module 'core'): bool ns3::AttributeChecker::Copy(ns3::AttributeValue const & source, ns3::AttributeValue & destination) const [member function]
3140 cls.add_method('Copy',
3141 'bool',
3142 [param('ns3::AttributeValue const &', 'source'), param('ns3::AttributeValue &', 'destination')],
3143 is_pure_virtual=True, is_const=True, is_virtual=True)
3144 ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeChecker::Create() const [member function]
3145 cls.add_method('Create',
3146 'ns3::Ptr< ns3::AttributeValue >',
3147 [],
3148 is_pure_virtual=True, is_const=True, is_virtual=True)
3149 ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function]
3150 cls.add_method('CreateValidValue',
3151 'ns3::Ptr< ns3::AttributeValue >',
3152 [param('ns3::AttributeValue const &', 'value')],
3153 is_const=True)
3154 ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function]
3155 cls.add_method('GetUnderlyingTypeInformation',
3156 'std::string',
3157 [],
3158 is_pure_virtual=True, is_const=True, is_virtual=True)
3159 ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetValueTypeName() const [member function]
3160 cls.add_method('GetValueTypeName',
3161 'std::string',
3162 [],
3163 is_pure_virtual=True, is_const=True, is_virtual=True)
3164 ## attribute.h (module 'core'): bool ns3::AttributeChecker::HasUnderlyingTypeInformation() const [member function]
3165 cls.add_method('HasUnderlyingTypeInformation',
3166 'bool',
3167 [],
3168 is_pure_virtual=True, is_const=True, is_virtual=True)
3169 return
3170
3171def register_Ns3AttributeValue_methods(root_module, cls):
3172 ## attribute.h (module 'core'): ns3::AttributeValue::AttributeValue(ns3::AttributeValue const & arg0) [copy constructor]
3173 cls.add_constructor([param('ns3::AttributeValue const &', 'arg0')])
3174 ## attribute.h (module 'core'): ns3::AttributeValue::AttributeValue() [constructor]
3175 cls.add_constructor([])
3176 ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeValue::Copy() const [member function]
3177 cls.add_method('Copy',
3178 'ns3::Ptr< ns3::AttributeValue >',
3179 [],
3180 is_pure_virtual=True, is_const=True, is_virtual=True)
3181 ## attribute.h (module 'core'): bool ns3::AttributeValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3182 cls.add_method('DeserializeFromString',
3183 'bool',
3184 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3185 is_pure_virtual=True, is_virtual=True)
3186 ## attribute.h (module 'core'): std::string ns3::AttributeValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3187 cls.add_method('SerializeToString',
3188 'std::string',
3189 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3190 is_pure_virtual=True, is_const=True, is_virtual=True)
3191 return
3192
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08003193def register_Ns3BatchesChecker_methods(root_module, cls):
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003194 ## batches.h (module 'ndnSIM'): ns3::BatchesChecker::BatchesChecker() [constructor]
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08003195 cls.add_constructor([])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003196 ## batches.h (module 'ndnSIM'): ns3::BatchesChecker::BatchesChecker(ns3::BatchesChecker const & arg0) [copy constructor]
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08003197 cls.add_constructor([param('ns3::BatchesChecker const &', 'arg0')])
3198 return
3199
3200def register_Ns3BatchesValue_methods(root_module, cls):
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003201 ## batches.h (module 'ndnSIM'): ns3::BatchesValue::BatchesValue() [constructor]
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08003202 cls.add_constructor([])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003203 ## batches.h (module 'ndnSIM'): ns3::BatchesValue::BatchesValue(ns3::BatchesValue const & arg0) [copy constructor]
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08003204 cls.add_constructor([param('ns3::BatchesValue const &', 'arg0')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003205 ## batches.h (module 'ndnSIM'): ns3::BatchesValue::BatchesValue(ns3::Batches const & value) [constructor]
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08003206 cls.add_constructor([param('ns3::Batches const &', 'value')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003207 ## batches.h (module 'ndnSIM'): ns3::Ptr<ns3::AttributeValue> ns3::BatchesValue::Copy() const [member function]
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08003208 cls.add_method('Copy',
3209 'ns3::Ptr< ns3::AttributeValue >',
3210 [],
3211 is_const=True, is_virtual=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003212 ## batches.h (module 'ndnSIM'): bool ns3::BatchesValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08003213 cls.add_method('DeserializeFromString',
3214 'bool',
3215 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3216 is_virtual=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003217 ## batches.h (module 'ndnSIM'): ns3::Batches ns3::BatchesValue::Get() const [member function]
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08003218 cls.add_method('Get',
3219 'ns3::Batches',
3220 [],
3221 is_const=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003222 ## batches.h (module 'ndnSIM'): std::string ns3::BatchesValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08003223 cls.add_method('SerializeToString',
3224 'std::string',
3225 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3226 is_const=True, is_virtual=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003227 ## batches.h (module 'ndnSIM'): void ns3::BatchesValue::Set(ns3::Batches const & value) [member function]
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08003228 cls.add_method('Set',
3229 'void',
3230 [param('ns3::Batches const &', 'value')])
3231 return
3232
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003233def register_Ns3CallbackChecker_methods(root_module, cls):
3234 ## callback.h (module 'core'): ns3::CallbackChecker::CallbackChecker() [constructor]
3235 cls.add_constructor([])
3236 ## callback.h (module 'core'): ns3::CallbackChecker::CallbackChecker(ns3::CallbackChecker const & arg0) [copy constructor]
3237 cls.add_constructor([param('ns3::CallbackChecker const &', 'arg0')])
3238 return
3239
3240def register_Ns3CallbackImplBase_methods(root_module, cls):
3241 ## callback.h (module 'core'): ns3::CallbackImplBase::CallbackImplBase() [constructor]
3242 cls.add_constructor([])
3243 ## callback.h (module 'core'): ns3::CallbackImplBase::CallbackImplBase(ns3::CallbackImplBase const & arg0) [copy constructor]
3244 cls.add_constructor([param('ns3::CallbackImplBase const &', 'arg0')])
3245 ## callback.h (module 'core'): bool ns3::CallbackImplBase::IsEqual(ns3::Ptr<ns3::CallbackImplBase const> other) const [member function]
3246 cls.add_method('IsEqual',
3247 'bool',
3248 [param('ns3::Ptr< ns3::CallbackImplBase const >', 'other')],
3249 is_pure_virtual=True, is_const=True, is_virtual=True)
3250 return
3251
3252def register_Ns3CallbackValue_methods(root_module, cls):
3253 ## callback.h (module 'core'): ns3::CallbackValue::CallbackValue(ns3::CallbackValue const & arg0) [copy constructor]
3254 cls.add_constructor([param('ns3::CallbackValue const &', 'arg0')])
3255 ## callback.h (module 'core'): ns3::CallbackValue::CallbackValue() [constructor]
3256 cls.add_constructor([])
3257 ## callback.h (module 'core'): ns3::CallbackValue::CallbackValue(ns3::CallbackBase const & base) [constructor]
3258 cls.add_constructor([param('ns3::CallbackBase const &', 'base')])
3259 ## callback.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::CallbackValue::Copy() const [member function]
3260 cls.add_method('Copy',
3261 'ns3::Ptr< ns3::AttributeValue >',
3262 [],
3263 is_const=True, is_virtual=True)
3264 ## callback.h (module 'core'): bool ns3::CallbackValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3265 cls.add_method('DeserializeFromString',
3266 'bool',
3267 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3268 is_virtual=True)
3269 ## callback.h (module 'core'): std::string ns3::CallbackValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
3270 cls.add_method('SerializeToString',
3271 'std::string',
3272 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3273 is_const=True, is_virtual=True)
3274 ## callback.h (module 'core'): void ns3::CallbackValue::Set(ns3::CallbackBase base) [member function]
3275 cls.add_method('Set',
3276 'void',
3277 [param('ns3::CallbackBase', 'base')])
3278 return
3279
3280def register_Ns3Ccnx_methods(root_module, cls):
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003281 ## ccnx.h (module 'ndnSIM'): ns3::Ccnx::Ccnx() [constructor]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003282 cls.add_constructor([])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003283 ## ccnx.h (module 'ndnSIM'): ns3::Ccnx::Ccnx(ns3::Ccnx const & arg0) [copy constructor]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003284 cls.add_constructor([param('ns3::Ccnx const &', 'arg0')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003285 ## ccnx.h (module 'ndnSIM'): uint32_t ns3::Ccnx::AddFace(ns3::Ptr<ns3::CcnxFace> const & face) [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003286 cls.add_method('AddFace',
3287 'uint32_t',
3288 [param('ns3::Ptr< ns3::CcnxFace > const &', 'face')],
3289 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003290 ## ccnx.h (module 'ndnSIM'): ns3::Ptr<ns3::CcnxFace> ns3::Ccnx::GetFace(uint32_t face) const [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003291 cls.add_method('GetFace',
3292 'ns3::Ptr< ns3::CcnxFace >',
3293 [param('uint32_t', 'face')],
3294 is_pure_virtual=True, is_const=True, is_virtual=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003295 ## ccnx.h (module 'ndnSIM'): ns3::Ptr<ns3::CcnxFace> ns3::Ccnx::GetFaceByNetDevice(ns3::Ptr<ns3::NetDevice> netDevice) const [member function]
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003296 cls.add_method('GetFaceByNetDevice',
3297 'ns3::Ptr< ns3::CcnxFace >',
3298 [param('ns3::Ptr< ns3::NetDevice >', 'netDevice')],
3299 is_pure_virtual=True, is_const=True, is_virtual=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003300 ## ccnx.h (module 'ndnSIM'): ns3::Ptr<ns3::CcnxForwardingStrategy> ns3::Ccnx::GetForwardingStrategy() const [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003301 cls.add_method('GetForwardingStrategy',
3302 'ns3::Ptr< ns3::CcnxForwardingStrategy >',
3303 [],
3304 is_pure_virtual=True, is_const=True, is_virtual=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003305 ## ccnx.h (module 'ndnSIM'): uint32_t ns3::Ccnx::GetNFaces() const [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003306 cls.add_method('GetNFaces',
3307 'uint32_t',
3308 [],
3309 is_pure_virtual=True, is_const=True, is_virtual=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003310 ## ccnx.h (module 'ndnSIM'): ns3::Ptr<ns3::CcnxPit> ns3::Ccnx::GetPit() const [member function]
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07003311 cls.add_method('GetPit',
3312 'ns3::Ptr< ns3::CcnxPit >',
3313 [],
3314 is_pure_virtual=True, is_const=True, is_virtual=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003315 ## ccnx.h (module 'ndnSIM'): static ns3::TypeId ns3::Ccnx::GetTypeId() [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003316 cls.add_method('GetTypeId',
3317 'ns3::TypeId',
3318 [],
3319 is_static=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003320 ## ccnx.h (module 'ndnSIM'): void ns3::Ccnx::RemoveFace(ns3::Ptr<ns3::CcnxFace> face) [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003321 cls.add_method('RemoveFace',
3322 'void',
3323 [param('ns3::Ptr< ns3::CcnxFace >', 'face')],
3324 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003325 ## ccnx.h (module 'ndnSIM'): void ns3::Ccnx::SetForwardingStrategy(ns3::Ptr<ns3::CcnxForwardingStrategy> forwardingStrategy) [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003326 cls.add_method('SetForwardingStrategy',
3327 'void',
3328 [param('ns3::Ptr< ns3::CcnxForwardingStrategy >', 'forwardingStrategy')],
3329 is_pure_virtual=True, is_virtual=True)
3330 return
3331
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003332def register_Ns3CcnxApp_methods(root_module, cls):
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003333 ## ccnx-app.h (module 'ndnSIM'): ns3::CcnxApp::CcnxApp(ns3::CcnxApp const & arg0) [copy constructor]
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003334 cls.add_constructor([param('ns3::CcnxApp const &', 'arg0')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003335 ## ccnx-app.h (module 'ndnSIM'): ns3::CcnxApp::CcnxApp() [constructor]
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003336 cls.add_constructor([])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003337 ## ccnx-app.h (module 'ndnSIM'): static ns3::TypeId ns3::CcnxApp::GetTypeId() [member function]
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003338 cls.add_method('GetTypeId',
3339 'ns3::TypeId',
3340 [],
3341 is_static=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003342 ## ccnx-app.h (module 'ndnSIM'): 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 -08003343 cls.add_method('OnContentObject',
3344 'void',
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08003345 [param('ns3::Ptr< ns3::CcnxContentObjectHeader const > const &', 'contentObject'), param('ns3::Ptr< ns3::Packet >', 'payload')],
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003346 is_virtual=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003347 ## ccnx-app.h (module 'ndnSIM'): 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 -08003348 cls.add_method('OnInterest',
3349 'void',
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08003350 [param('ns3::Ptr< ns3::CcnxInterestHeader const > const &', 'interest'), param('ns3::Ptr< ns3::Packet >', 'packet')],
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003351 is_virtual=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003352 ## ccnx-app.h (module 'ndnSIM'): 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 -08003353 cls.add_method('OnNack',
3354 'void',
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08003355 [param('ns3::Ptr< ns3::CcnxInterestHeader const > const &', 'interest'), param('ns3::Ptr< ns3::Packet >', 'packet')],
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003356 is_virtual=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003357 ## ccnx-app.h (module 'ndnSIM'): 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]
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003358 cls.add_method('RegisterProtocolHandler',
3359 'void',
3360 [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')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003361 ## ccnx-app.h (module 'ndnSIM'): void ns3::CcnxApp::DoDispose() [member function]
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003362 cls.add_method('DoDispose',
3363 'void',
3364 [],
3365 visibility='protected', is_virtual=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003366 ## ccnx-app.h (module 'ndnSIM'): void ns3::CcnxApp::StartApplication() [member function]
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003367 cls.add_method('StartApplication',
3368 'void',
3369 [],
3370 visibility='protected', is_virtual=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003371 ## ccnx-app.h (module 'ndnSIM'): void ns3::CcnxApp::StopApplication() [member function]
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003372 cls.add_method('StopApplication',
3373 'void',
3374 [],
3375 visibility='protected', is_virtual=True)
3376 return
3377
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003378def register_Ns3CcnxContentObjectHeader_methods(root_module, cls):
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003379 ## ccnx-content-object-header.h (module 'ndnSIM'): ns3::CcnxContentObjectHeader::CcnxContentObjectHeader(ns3::CcnxContentObjectHeader const & arg0) [copy constructor]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003380 cls.add_constructor([param('ns3::CcnxContentObjectHeader const &', 'arg0')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003381 ## ccnx-content-object-header.h (module 'ndnSIM'): ns3::CcnxContentObjectHeader::CcnxContentObjectHeader() [constructor]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003382 cls.add_constructor([])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003383 ## ccnx-content-object-header.h (module 'ndnSIM'): uint32_t ns3::CcnxContentObjectHeader::Deserialize(ns3::Buffer::Iterator start) [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003384 cls.add_method('Deserialize',
3385 'uint32_t',
3386 [param('ns3::Buffer::Iterator', 'start')],
3387 is_virtual=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003388 ## ccnx-content-object-header.h (module 'ndnSIM'): ns3::TypeId ns3::CcnxContentObjectHeader::GetInstanceTypeId() const [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003389 cls.add_method('GetInstanceTypeId',
3390 'ns3::TypeId',
3391 [],
3392 is_const=True, is_virtual=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003393 ## ccnx-content-object-header.h (module 'ndnSIM'): ns3::CcnxNameComponents const & ns3::CcnxContentObjectHeader::GetName() const [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003394 cls.add_method('GetName',
3395 'ns3::CcnxNameComponents const &',
3396 [],
3397 is_const=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003398 ## ccnx-content-object-header.h (module 'ndnSIM'): uint32_t ns3::CcnxContentObjectHeader::GetSerializedSize() const [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003399 cls.add_method('GetSerializedSize',
3400 'uint32_t',
3401 [],
3402 is_const=True, is_virtual=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003403 ## ccnx-content-object-header.h (module 'ndnSIM'): ns3::CcnxContentObjectHeader::Signature & ns3::CcnxContentObjectHeader::GetSignature() [member function]
3404 cls.add_method('GetSignature',
3405 'ns3::CcnxContentObjectHeader::Signature &',
3406 [])
3407 ## ccnx-content-object-header.h (module 'ndnSIM'): ns3::CcnxContentObjectHeader::Signature const & ns3::CcnxContentObjectHeader::GetSignature() const [member function]
3408 cls.add_method('GetSignature',
3409 'ns3::CcnxContentObjectHeader::Signature const &',
Alexander Afanasyev9568f952012-04-05 16:09:14 -07003410 [],
3411 is_const=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003412 ## ccnx-content-object-header.h (module 'ndnSIM'): ns3::CcnxContentObjectHeader::SignedInfo & ns3::CcnxContentObjectHeader::GetSignedInfo() [member function]
3413 cls.add_method('GetSignedInfo',
3414 'ns3::CcnxContentObjectHeader::SignedInfo &',
3415 [])
3416 ## ccnx-content-object-header.h (module 'ndnSIM'): ns3::CcnxContentObjectHeader::SignedInfo const & ns3::CcnxContentObjectHeader::GetSignedInfo() const [member function]
3417 cls.add_method('GetSignedInfo',
3418 'ns3::CcnxContentObjectHeader::SignedInfo const &',
3419 [],
3420 is_const=True)
3421 ## ccnx-content-object-header.h (module 'ndnSIM'): static ns3::TypeId ns3::CcnxContentObjectHeader::GetTypeId() [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003422 cls.add_method('GetTypeId',
3423 'ns3::TypeId',
3424 [],
3425 is_static=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003426 ## ccnx-content-object-header.h (module 'ndnSIM'): void ns3::CcnxContentObjectHeader::Print(std::ostream & os) const [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003427 cls.add_method('Print',
3428 'void',
3429 [param('std::ostream &', 'os')],
3430 is_const=True, is_virtual=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003431 ## ccnx-content-object-header.h (module 'ndnSIM'): void ns3::CcnxContentObjectHeader::Serialize(ns3::Buffer::Iterator start) const [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003432 cls.add_method('Serialize',
3433 'void',
3434 [param('ns3::Buffer::Iterator', 'start')],
3435 is_const=True, is_virtual=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003436 ## ccnx-content-object-header.h (module 'ndnSIM'): void ns3::CcnxContentObjectHeader::SetName(ns3::Ptr<ns3::CcnxNameComponents> const & name) [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003437 cls.add_method('SetName',
3438 'void',
3439 [param('ns3::Ptr< ns3::CcnxNameComponents > const &', 'name')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003440 return
3441
3442def register_Ns3CcnxContentObjectHeaderSignature_methods(root_module, cls):
3443 ## ccnx-content-object-header.h (module 'ndnSIM'): ns3::CcnxContentObjectHeader::Signature::Signature(ns3::CcnxContentObjectHeader::Signature const & arg0) [copy constructor]
3444 cls.add_constructor([param('ns3::CcnxContentObjectHeader::Signature const &', 'arg0')])
3445 ## ccnx-content-object-header.h (module 'ndnSIM'): ns3::CcnxContentObjectHeader::Signature::Signature() [constructor]
3446 cls.add_constructor([])
3447 ## ccnx-content-object-header.h (module 'ndnSIM'): std::string const & ns3::CcnxContentObjectHeader::Signature::GetDigestAlgorithm() const [member function]
3448 cls.add_method('GetDigestAlgorithm',
3449 'std::string const &',
3450 [],
3451 is_const=True)
3452 ## ccnx-content-object-header.h (module 'ndnSIM'): uint32_t ns3::CcnxContentObjectHeader::Signature::GetSignatureBits() const [member function]
3453 cls.add_method('GetSignatureBits',
3454 'uint32_t',
3455 [],
3456 is_const=True)
3457 ## ccnx-content-object-header.h (module 'ndnSIM'): void ns3::CcnxContentObjectHeader::Signature::SetDigestAlgorithm(std::string const & digestAlgorithm) [member function]
3458 cls.add_method('SetDigestAlgorithm',
3459 'void',
3460 [param('std::string const &', 'digestAlgorithm')])
3461 ## ccnx-content-object-header.h (module 'ndnSIM'): void ns3::CcnxContentObjectHeader::Signature::SetSignatureBits(uint32_t signature) [member function]
3462 cls.add_method('SetSignatureBits',
3463 'void',
3464 [param('uint32_t', 'signature')])
3465 ## ccnx-content-object-header.h (module 'ndnSIM'): ns3::CcnxContentObjectHeader::Signature::DefaultDigestAlgorithm [variable]
3466 cls.add_static_attribute('DefaultDigestAlgorithm', 'std::string const', is_const=True)
3467 return
3468
3469def register_Ns3CcnxContentObjectHeaderSignedInfo_methods(root_module, cls):
3470 ## ccnx-content-object-header.h (module 'ndnSIM'): ns3::CcnxContentObjectHeader::SignedInfo::SignedInfo(ns3::CcnxContentObjectHeader::SignedInfo const & arg0) [copy constructor]
3471 cls.add_constructor([param('ns3::CcnxContentObjectHeader::SignedInfo const &', 'arg0')])
3472 ## ccnx-content-object-header.h (module 'ndnSIM'): ns3::CcnxContentObjectHeader::SignedInfo::SignedInfo() [constructor]
3473 cls.add_constructor([])
3474 ## ccnx-content-object-header.h (module 'ndnSIM'): ns3::CcnxContentObjectHeader::ContentType ns3::CcnxContentObjectHeader::SignedInfo::GetContentType() const [member function]
3475 cls.add_method('GetContentType',
3476 'ns3::CcnxContentObjectHeader::ContentType',
3477 [],
3478 is_const=True)
3479 ## ccnx-content-object-header.h (module 'ndnSIM'): ns3::Time ns3::CcnxContentObjectHeader::SignedInfo::GetFreshness() const [member function]
3480 cls.add_method('GetFreshness',
3481 'ns3::Time',
3482 [],
3483 is_const=True)
3484 ## ccnx-content-object-header.h (module 'ndnSIM'): ns3::Ptr<ns3::CcnxNameComponents const> ns3::CcnxContentObjectHeader::SignedInfo::GetKeyLocator() const [member function]
3485 cls.add_method('GetKeyLocator',
3486 'ns3::Ptr< ns3::CcnxNameComponents const >',
3487 [],
3488 is_const=True)
3489 ## ccnx-content-object-header.h (module 'ndnSIM'): uint32_t ns3::CcnxContentObjectHeader::SignedInfo::GetPublisherPublicKeyDigest() const [member function]
3490 cls.add_method('GetPublisherPublicKeyDigest',
3491 'uint32_t',
3492 [],
3493 is_const=True)
3494 ## ccnx-content-object-header.h (module 'ndnSIM'): ns3::Time ns3::CcnxContentObjectHeader::SignedInfo::GetTimestamp() const [member function]
3495 cls.add_method('GetTimestamp',
3496 'ns3::Time',
3497 [],
3498 is_const=True)
3499 ## ccnx-content-object-header.h (module 'ndnSIM'): void ns3::CcnxContentObjectHeader::SignedInfo::SetContentType(ns3::CcnxContentObjectHeader::ContentType type) [member function]
3500 cls.add_method('SetContentType',
3501 'void',
3502 [param('ns3::CcnxContentObjectHeader::ContentType', 'type')])
3503 ## ccnx-content-object-header.h (module 'ndnSIM'): void ns3::CcnxContentObjectHeader::SignedInfo::SetFreshness(ns3::Time const & freshness) [member function]
3504 cls.add_method('SetFreshness',
3505 'void',
3506 [param('ns3::Time const &', 'freshness')])
3507 ## ccnx-content-object-header.h (module 'ndnSIM'): void ns3::CcnxContentObjectHeader::SignedInfo::SetKeyLocator(ns3::Ptr<ns3::CcnxNameComponents const> keyLocator) [member function]
3508 cls.add_method('SetKeyLocator',
3509 'void',
3510 [param('ns3::Ptr< ns3::CcnxNameComponents const >', 'keyLocator')])
3511 ## ccnx-content-object-header.h (module 'ndnSIM'): void ns3::CcnxContentObjectHeader::SignedInfo::SetPublisherPublicKeyDigest(uint32_t digest) [member function]
3512 cls.add_method('SetPublisherPublicKeyDigest',
3513 'void',
3514 [param('uint32_t', 'digest')])
3515 ## ccnx-content-object-header.h (module 'ndnSIM'): void ns3::CcnxContentObjectHeader::SignedInfo::SetTimestamp(ns3::Time const & timestamp) [member function]
Alexander Afanasyev9568f952012-04-05 16:09:14 -07003516 cls.add_method('SetTimestamp',
3517 'void',
3518 [param('ns3::Time const &', 'timestamp')])
3519 return
3520
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003521def register_Ns3CcnxContentObjectTail_methods(root_module, cls):
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003522 ## ccnx-content-object-header.h (module 'ndnSIM'): ns3::CcnxContentObjectTail::CcnxContentObjectTail(ns3::CcnxContentObjectTail const & arg0) [copy constructor]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003523 cls.add_constructor([param('ns3::CcnxContentObjectTail const &', 'arg0')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003524 ## ccnx-content-object-header.h (module 'ndnSIM'): ns3::CcnxContentObjectTail::CcnxContentObjectTail() [constructor]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003525 cls.add_constructor([])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003526 ## ccnx-content-object-header.h (module 'ndnSIM'): uint32_t ns3::CcnxContentObjectTail::Deserialize(ns3::Buffer::Iterator start) [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003527 cls.add_method('Deserialize',
3528 'uint32_t',
3529 [param('ns3::Buffer::Iterator', 'start')],
3530 is_virtual=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003531 ## ccnx-content-object-header.h (module 'ndnSIM'): ns3::TypeId ns3::CcnxContentObjectTail::GetInstanceTypeId() const [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003532 cls.add_method('GetInstanceTypeId',
3533 'ns3::TypeId',
3534 [],
3535 is_const=True, is_virtual=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003536 ## ccnx-content-object-header.h (module 'ndnSIM'): uint32_t ns3::CcnxContentObjectTail::GetSerializedSize() const [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003537 cls.add_method('GetSerializedSize',
3538 'uint32_t',
3539 [],
3540 is_const=True, is_virtual=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003541 ## ccnx-content-object-header.h (module 'ndnSIM'): static ns3::TypeId ns3::CcnxContentObjectTail::GetTypeId() [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003542 cls.add_method('GetTypeId',
3543 'ns3::TypeId',
3544 [],
3545 is_static=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003546 ## ccnx-content-object-header.h (module 'ndnSIM'): void ns3::CcnxContentObjectTail::Print(std::ostream & os) const [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003547 cls.add_method('Print',
3548 'void',
3549 [param('std::ostream &', 'os')],
3550 is_const=True, is_virtual=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003551 ## ccnx-content-object-header.h (module 'ndnSIM'): void ns3::CcnxContentObjectTail::Serialize(ns3::Buffer::Iterator start) const [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003552 cls.add_method('Serialize',
3553 'void',
3554 [param('ns3::Buffer::Iterator', 'start')],
3555 is_const=True, is_virtual=True)
3556 return
3557
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003558def register_Ns3CcnxFace_methods(root_module, cls):
3559 cls.add_output_stream_operator()
3560 cls.add_binary_comparison_operator('<')
3561 cls.add_binary_comparison_operator('==')
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003562 ## ccnx-face.h (module 'ndnSIM'): ns3::CcnxFace::CcnxFace(ns3::Ptr<ns3::Node> node) [constructor]
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003563 cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003564 ## ccnx-face.h (module 'ndnSIM'): uint32_t ns3::CcnxFace::GetId() const [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003565 cls.add_method('GetId',
3566 'uint32_t',
3567 [],
3568 is_const=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003569 ## ccnx-face.h (module 'ndnSIM'): uint16_t ns3::CcnxFace::GetMetric() const [member function]
Alexander Afanasyev8e0d2812012-01-19 22:38:14 -08003570 cls.add_method('GetMetric',
3571 'uint16_t',
3572 [],
3573 is_const=True, is_virtual=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003574 ## ccnx-face.h (module 'ndnSIM'): ns3::Ptr<ns3::Node> ns3::CcnxFace::GetNode() const [member function]
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08003575 cls.add_method('GetNode',
3576 'ns3::Ptr< ns3::Node >',
3577 [],
3578 is_const=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003579 ## ccnx-face.h (module 'ndnSIM'): static ns3::TypeId ns3::CcnxFace::GetTypeId() [member function]
Alexander Afanasyev53872ce2011-12-16 13:17:18 -08003580 cls.add_method('GetTypeId',
3581 'ns3::TypeId',
3582 [],
3583 is_static=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003584 ## ccnx-face.h (module 'ndnSIM'): bool ns3::CcnxFace::IsBelowLimit() [member function]
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003585 cls.add_method('IsBelowLimit',
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003586 'bool',
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003587 [])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003588 ## ccnx-face.h (module 'ndnSIM'): bool ns3::CcnxFace::IsUp() const [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003589 cls.add_method('IsUp',
3590 'bool',
3591 [],
3592 is_const=True, is_virtual=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003593 ## ccnx-face.h (module 'ndnSIM'): void ns3::CcnxFace::LeakBucket() [member function]
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003594 cls.add_method('LeakBucket',
3595 'void',
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003596 [])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003597 ## ccnx-face.h (module 'ndnSIM'): std::ostream & ns3::CcnxFace::Print(std::ostream & os) const [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003598 cls.add_method('Print',
3599 'std::ostream &',
3600 [param('std::ostream &', 'os')],
3601 is_const=True, is_virtual=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003602 ## ccnx-face.h (module 'ndnSIM'): bool ns3::CcnxFace::Receive(ns3::Ptr<const ns3::Packet> const & p) [member function]
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003603 cls.add_method('Receive',
3604 'bool',
3605 [param('ns3::Ptr< ns3::Packet const > const &', 'p')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003606 ## ccnx-face.h (module 'ndnSIM'): 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]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003607 cls.add_method('RegisterProtocolHandler',
3608 'void',
3609 [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 -08003610 is_virtual=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003611 ## ccnx-face.h (module 'ndnSIM'): bool ns3::CcnxFace::Send(ns3::Ptr<ns3::Packet> p) [member function]
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003612 cls.add_method('Send',
3613 'bool',
3614 [param('ns3::Ptr< ns3::Packet >', 'p')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003615 ## ccnx-face.h (module 'ndnSIM'): void ns3::CcnxFace::SetBucketLeak(double leak) [member function]
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003616 cls.add_method('SetBucketLeak',
3617 'void',
3618 [param('double', 'leak')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003619 ## ccnx-face.h (module 'ndnSIM'): void ns3::CcnxFace::SetBucketMax(double bucket) [member function]
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003620 cls.add_method('SetBucketMax',
3621 'void',
3622 [param('double', 'bucket')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003623 ## ccnx-face.h (module 'ndnSIM'): void ns3::CcnxFace::SetId(uint32_t id) [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003624 cls.add_method('SetId',
3625 'void',
3626 [param('uint32_t', 'id')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003627 ## ccnx-face.h (module 'ndnSIM'): void ns3::CcnxFace::SetMetric(uint16_t metric) [member function]
Alexander Afanasyev8e0d2812012-01-19 22:38:14 -08003628 cls.add_method('SetMetric',
3629 'void',
3630 [param('uint16_t', 'metric')],
3631 is_virtual=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003632 ## ccnx-face.h (module 'ndnSIM'): void ns3::CcnxFace::SetUp(bool up=true) [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003633 cls.add_method('SetUp',
3634 'void',
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003635 [param('bool', 'up', default_value='true')],
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003636 is_virtual=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003637 ## ccnx-face.h (module 'ndnSIM'): void ns3::CcnxFace::SendImpl(ns3::Ptr<ns3::Packet> p) [member function]
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003638 cls.add_method('SendImpl',
3639 'void',
3640 [param('ns3::Ptr< ns3::Packet >', 'p')],
3641 is_pure_virtual=True, visibility='protected', is_virtual=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003642 return
3643
3644def register_Ns3CcnxFaceContainer_methods(root_module, cls):
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003645 ## ccnx-face-container.h (module 'ndnSIM'): ns3::CcnxFaceContainer::CcnxFaceContainer() [constructor]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003646 cls.add_constructor([])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003647 ## ccnx-face-container.h (module 'ndnSIM'): ns3::CcnxFaceContainer::CcnxFaceContainer(ns3::CcnxFaceContainer const & other) [copy constructor]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003648 cls.add_constructor([param('ns3::CcnxFaceContainer const &', 'other')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003649 ## ccnx-face-container.h (module 'ndnSIM'): void ns3::CcnxFaceContainer::Add(ns3::Ptr<ns3::CcnxFace> const & face) [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003650 cls.add_method('Add',
3651 'void',
3652 [param('ns3::Ptr< ns3::CcnxFace > const &', 'face')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003653 ## ccnx-face-container.h (module 'ndnSIM'): void ns3::CcnxFaceContainer::AddAll(ns3::Ptr<ns3::CcnxFaceContainer> other) [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003654 cls.add_method('AddAll',
3655 'void',
3656 [param('ns3::Ptr< ns3::CcnxFaceContainer >', 'other')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003657 ## ccnx-face-container.h (module 'ndnSIM'): void ns3::CcnxFaceContainer::AddAll(ns3::CcnxFaceContainer const & other) [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003658 cls.add_method('AddAll',
3659 'void',
3660 [param('ns3::CcnxFaceContainer const &', 'other')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003661 ## ccnx-face-container.h (module 'ndnSIM'): __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]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003662 cls.add_method('Begin',
3663 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::CcnxFace > const, std::vector< ns3::Ptr< ns3::CcnxFace > > >',
3664 [],
3665 is_const=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003666 ## ccnx-face-container.h (module 'ndnSIM'): __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]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003667 cls.add_method('End',
3668 '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::CcnxFace > const, std::vector< ns3::Ptr< ns3::CcnxFace > > >',
3669 [],
3670 is_const=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003671 ## ccnx-face-container.h (module 'ndnSIM'): 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]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003672 cls.add_method('Get',
3673 'ns3::Ptr< ns3::CcnxFace >',
3674 [param('__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::CcnxFace > const, std::vector< ns3::Ptr< ns3::CcnxFace > > >', 'i')],
3675 is_const=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003676 ## ccnx-face-container.h (module 'ndnSIM'): uint32_t ns3::CcnxFaceContainer::GetN() const [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003677 cls.add_method('GetN',
3678 'uint32_t',
3679 [],
3680 is_const=True)
3681 return
3682
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003683def register_Ns3CcnxFib_methods(root_module, cls):
3684 cls.add_output_stream_operator()
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003685 ## ccnx-fib.h (module 'ndnSIM'): ns3::CcnxFib::CcnxFib() [constructor]
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003686 cls.add_constructor([])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003687 ## ccnx-fib.h (module 'ndnSIM'): 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]
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003688 cls.add_method('Add',
3689 '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 > > >',
3690 [param('ns3::CcnxNameComponents const &', 'prefix'), param('ns3::Ptr< ns3::CcnxFace >', 'face'), param('int32_t', 'metric')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003691 ## ccnx-fib.h (module 'ndnSIM'): 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]
Alexander Afanasyev8e2f1122012-04-17 15:01:11 -07003692 cls.add_method('Add',
3693 '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 > > >',
3694 [param('ns3::Ptr< ns3::CcnxNameComponents const > const &', 'prefix'), param('ns3::Ptr< ns3::CcnxFace >', 'face'), param('int32_t', 'metric')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003695 ## ccnx-fib.h (module 'ndnSIM'): ns3::CcnxFibEntry const & ns3::CcnxFib::GetCcnxFibEntry(uint32_t index) [member function]
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003696 cls.add_method('GetCcnxFibEntry',
3697 'ns3::CcnxFibEntry const &',
3698 [param('uint32_t', 'index')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003699 ## ccnx-fib.h (module 'ndnSIM'): uint32_t ns3::CcnxFib::GetCcnxFibEntryCount() const [member function]
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003700 cls.add_method('GetCcnxFibEntryCount',
3701 'uint32_t',
3702 [],
3703 is_const=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003704 ## ccnx-fib.h (module 'ndnSIM'): static ns3::TypeId ns3::CcnxFib::GetTypeId() [member function]
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003705 cls.add_method('GetTypeId',
3706 'ns3::TypeId',
3707 [],
3708 is_static=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003709 ## ccnx-fib.h (module 'ndnSIM'): void ns3::CcnxFib::Invalidate(ns3::Ptr<ns3::CcnxNameComponents const> const & prefix) [member function]
Alexander Afanasyev8e2f1122012-04-17 15:01:11 -07003710 cls.add_method('Invalidate',
3711 'void',
3712 [param('ns3::Ptr< ns3::CcnxNameComponents const > const &', 'prefix')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003713 ## ccnx-fib.h (module 'ndnSIM'): void ns3::CcnxFib::InvalidateAll() [member function]
Alexander Afanasyev8e2f1122012-04-17 15:01:11 -07003714 cls.add_method('InvalidateAll',
3715 'void',
3716 [])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003717 ## ccnx-fib.h (module 'ndnSIM'): 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]
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003718 cls.add_method('LongestPrefixMatch',
3719 '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 > > >',
3720 [param('ns3::CcnxInterestHeader const &', 'interest')],
3721 is_const=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003722 ## ccnx-fib.h (module 'ndnSIM'): void ns3::CcnxFib::Remove(ns3::Ptr<ns3::CcnxNameComponents const> const & prefix) [member function]
Alexander Afanasyev8e2f1122012-04-17 15:01:11 -07003723 cls.add_method('Remove',
3724 'void',
3725 [param('ns3::Ptr< ns3::CcnxNameComponents const > const &', 'prefix')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003726 ## ccnx-fib.h (module 'ndnSIM'): void ns3::CcnxFib::Remove(ns3::CcnxFibEntry const & entry, ns3::Ptr<ns3::CcnxFace> face) [member function]
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003727 cls.add_method('Remove',
3728 'void',
3729 [param('ns3::CcnxFibEntry const &', 'entry'), param('ns3::Ptr< ns3::CcnxFace >', 'face')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003730 ## ccnx-fib.h (module 'ndnSIM'): void ns3::CcnxFib::RemoveFromAll(ns3::Ptr<ns3::CcnxFace> face) [member function]
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003731 cls.add_method('RemoveFromAll',
3732 'void',
3733 [param('ns3::Ptr< ns3::CcnxFace >', 'face')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003734 ## ccnx-fib.h (module 'ndnSIM'): ns3::CcnxFib::m_fib [variable]
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003735 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)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003736 ## ccnx-fib.h (module 'ndnSIM'): void ns3::CcnxFib::DoDispose() [member function]
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003737 cls.add_method('DoDispose',
3738 'void',
3739 [],
3740 visibility='protected', is_virtual=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003741 ## ccnx-fib.h (module 'ndnSIM'): void ns3::CcnxFib::NotifyNewAggregate() [member function]
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003742 cls.add_method('NotifyNewAggregate',
3743 'void',
3744 [],
3745 visibility='protected', is_virtual=True)
3746 return
3747
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003748def register_Ns3CcnxInterestHeader_methods(root_module, cls):
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003749 ## ccnx-interest-header.h (module 'ndnSIM'): ns3::CcnxInterestHeader::CcnxInterestHeader(ns3::CcnxInterestHeader const & arg0) [copy constructor]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003750 cls.add_constructor([param('ns3::CcnxInterestHeader const &', 'arg0')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003751 ## ccnx-interest-header.h (module 'ndnSIM'): ns3::CcnxInterestHeader::CcnxInterestHeader() [constructor]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003752 cls.add_constructor([])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003753 ## ccnx-interest-header.h (module 'ndnSIM'): uint32_t ns3::CcnxInterestHeader::Deserialize(ns3::Buffer::Iterator start) [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003754 cls.add_method('Deserialize',
3755 'uint32_t',
3756 [param('ns3::Buffer::Iterator', 'start')],
3757 is_virtual=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003758 ## ccnx-interest-header.h (module 'ndnSIM'): ns3::CcnxNameComponents const & ns3::CcnxInterestHeader::GetExclude() const [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003759 cls.add_method('GetExclude',
3760 'ns3::CcnxNameComponents const &',
3761 [],
3762 is_const=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003763 ## ccnx-interest-header.h (module 'ndnSIM'): ns3::TypeId ns3::CcnxInterestHeader::GetInstanceTypeId() const [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003764 cls.add_method('GetInstanceTypeId',
3765 'ns3::TypeId',
3766 [],
3767 is_const=True, is_virtual=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003768 ## ccnx-interest-header.h (module 'ndnSIM'): ns3::Time ns3::CcnxInterestHeader::GetInterestLifetime() const [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003769 cls.add_method('GetInterestLifetime',
3770 'ns3::Time',
3771 [],
3772 is_const=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003773 ## ccnx-interest-header.h (module 'ndnSIM'): int32_t ns3::CcnxInterestHeader::GetMaxSuffixComponents() const [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003774 cls.add_method('GetMaxSuffixComponents',
3775 'int32_t',
3776 [],
3777 is_const=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003778 ## ccnx-interest-header.h (module 'ndnSIM'): int32_t ns3::CcnxInterestHeader::GetMinSuffixComponents() const [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003779 cls.add_method('GetMinSuffixComponents',
3780 'int32_t',
3781 [],
3782 is_const=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003783 ## ccnx-interest-header.h (module 'ndnSIM'): uint32_t ns3::CcnxInterestHeader::GetNack() const [member function]
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003784 cls.add_method('GetNack',
3785 'uint32_t',
3786 [],
3787 is_const=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003788 ## ccnx-interest-header.h (module 'ndnSIM'): ns3::CcnxNameComponents const & ns3::CcnxInterestHeader::GetName() const [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003789 cls.add_method('GetName',
3790 'ns3::CcnxNameComponents const &',
3791 [],
3792 is_const=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003793 ## ccnx-interest-header.h (module 'ndnSIM'): uint32_t ns3::CcnxInterestHeader::GetNonce() const [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003794 cls.add_method('GetNonce',
3795 'uint32_t',
3796 [],
3797 is_const=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003798 ## ccnx-interest-header.h (module 'ndnSIM'): int8_t ns3::CcnxInterestHeader::GetScope() const [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003799 cls.add_method('GetScope',
3800 'int8_t',
3801 [],
3802 is_const=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003803 ## ccnx-interest-header.h (module 'ndnSIM'): uint32_t ns3::CcnxInterestHeader::GetSerializedSize() const [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003804 cls.add_method('GetSerializedSize',
3805 'uint32_t',
3806 [],
3807 is_const=True, is_virtual=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003808 ## ccnx-interest-header.h (module 'ndnSIM'): static ns3::TypeId ns3::CcnxInterestHeader::GetTypeId() [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003809 cls.add_method('GetTypeId',
3810 'ns3::TypeId',
3811 [],
3812 is_static=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003813 ## ccnx-interest-header.h (module 'ndnSIM'): bool ns3::CcnxInterestHeader::IsEnabledAnswerOriginKind() const [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003814 cls.add_method('IsEnabledAnswerOriginKind',
3815 'bool',
3816 [],
3817 is_const=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003818 ## ccnx-interest-header.h (module 'ndnSIM'): bool ns3::CcnxInterestHeader::IsEnabledChildSelector() const [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003819 cls.add_method('IsEnabledChildSelector',
3820 'bool',
3821 [],
3822 is_const=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003823 ## ccnx-interest-header.h (module 'ndnSIM'): bool ns3::CcnxInterestHeader::IsEnabledExclude() const [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003824 cls.add_method('IsEnabledExclude',
3825 'bool',
3826 [],
3827 is_const=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003828 ## ccnx-interest-header.h (module 'ndnSIM'): void ns3::CcnxInterestHeader::Print(std::ostream & os) const [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003829 cls.add_method('Print',
3830 'void',
3831 [param('std::ostream &', 'os')],
3832 is_const=True, is_virtual=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003833 ## ccnx-interest-header.h (module 'ndnSIM'): void ns3::CcnxInterestHeader::Serialize(ns3::Buffer::Iterator start) const [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003834 cls.add_method('Serialize',
3835 'void',
3836 [param('ns3::Buffer::Iterator', 'start')],
3837 is_const=True, is_virtual=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003838 ## ccnx-interest-header.h (module 'ndnSIM'): void ns3::CcnxInterestHeader::SetAnswerOriginKind(bool value) [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003839 cls.add_method('SetAnswerOriginKind',
3840 'void',
3841 [param('bool', 'value')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003842 ## ccnx-interest-header.h (module 'ndnSIM'): void ns3::CcnxInterestHeader::SetChildSelector(bool value) [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003843 cls.add_method('SetChildSelector',
3844 'void',
3845 [param('bool', 'value')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003846 ## ccnx-interest-header.h (module 'ndnSIM'): void ns3::CcnxInterestHeader::SetExclude(ns3::Ptr<ns3::CcnxNameComponents> const & exclude) [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003847 cls.add_method('SetExclude',
3848 'void',
3849 [param('ns3::Ptr< ns3::CcnxNameComponents > const &', 'exclude')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003850 ## ccnx-interest-header.h (module 'ndnSIM'): void ns3::CcnxInterestHeader::SetInterestLifetime(ns3::Time time) [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003851 cls.add_method('SetInterestLifetime',
3852 'void',
3853 [param('ns3::Time', 'time')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003854 ## ccnx-interest-header.h (module 'ndnSIM'): void ns3::CcnxInterestHeader::SetMaxSuffixComponents(int32_t value) [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003855 cls.add_method('SetMaxSuffixComponents',
3856 'void',
3857 [param('int32_t', 'value')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003858 ## ccnx-interest-header.h (module 'ndnSIM'): void ns3::CcnxInterestHeader::SetMinSuffixComponents(int32_t value) [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003859 cls.add_method('SetMinSuffixComponents',
3860 'void',
3861 [param('int32_t', 'value')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003862 ## ccnx-interest-header.h (module 'ndnSIM'): void ns3::CcnxInterestHeader::SetNack(uint32_t nackType) [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003863 cls.add_method('SetNack',
3864 'void',
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08003865 [param('uint32_t', 'nackType')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003866 ## ccnx-interest-header.h (module 'ndnSIM'): void ns3::CcnxInterestHeader::SetName(ns3::Ptr<ns3::CcnxNameComponents> const & name) [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003867 cls.add_method('SetName',
3868 'void',
3869 [param('ns3::Ptr< ns3::CcnxNameComponents > const &', 'name')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003870 ## ccnx-interest-header.h (module 'ndnSIM'): void ns3::CcnxInterestHeader::SetNonce(uint32_t nonce) [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003871 cls.add_method('SetNonce',
3872 'void',
3873 [param('uint32_t', 'nonce')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003874 ## ccnx-interest-header.h (module 'ndnSIM'): void ns3::CcnxInterestHeader::SetScope(int8_t scope) [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003875 cls.add_method('SetScope',
3876 'void',
3877 [param('int8_t', 'scope')])
3878 return
3879
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003880def register_Ns3CcnxNameComponents_methods(root_module, cls):
3881 cls.add_output_stream_operator()
3882 cls.add_binary_comparison_operator('<')
3883 cls.add_binary_comparison_operator('==')
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003884 ## ccnx-name-components.h (module 'ndnSIM'): ns3::CcnxNameComponents::CcnxNameComponents(ns3::CcnxNameComponents const & arg0) [copy constructor]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003885 cls.add_constructor([param('ns3::CcnxNameComponents const &', 'arg0')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003886 ## ccnx-name-components.h (module 'ndnSIM'): ns3::CcnxNameComponents::CcnxNameComponents() [constructor]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003887 cls.add_constructor([])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003888 ## ccnx-name-components.h (module 'ndnSIM'): 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 -08003889 cls.add_constructor([param('std::list< boost::reference_wrapper< std::string const > > const &', 'components')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003890 ## ccnx-name-components.h (module 'ndnSIM'): std::list<std::string, std::allocator<std::string> > const & ns3::CcnxNameComponents::GetComponents() const [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003891 cls.add_method('GetComponents',
3892 'std::list< std::string > const &',
3893 [],
3894 is_const=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003895 ## ccnx-name-components.h (module 'ndnSIM'): std::string ns3::CcnxNameComponents::GetLastComponent() const [member function]
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08003896 cls.add_method('GetLastComponent',
3897 'std::string',
3898 [],
3899 is_const=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003900 ## ccnx-name-components.h (module 'ndnSIM'): std::list<boost::reference_wrapper<const std::basic_string<char, std::char_traits<char>, std::allocator<char> > >,std::allocator<boost::reference_wrapper<const std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > ns3::CcnxNameComponents::GetSubComponents(size_t num) const [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003901 cls.add_method('GetSubComponents',
3902 'std::list< boost::reference_wrapper< std::string const > >',
3903 [param('size_t', 'num')],
3904 is_const=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003905 ## ccnx-name-components.h (module 'ndnSIM'): void ns3::CcnxNameComponents::Print(std::ostream & os) const [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003906 cls.add_method('Print',
3907 'void',
3908 [param('std::ostream &', 'os')],
3909 is_const=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003910 ## ccnx-name-components.h (module 'ndnSIM'): size_t ns3::CcnxNameComponents::size() const [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003911 cls.add_method('size',
3912 'size_t',
3913 [],
3914 is_const=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003915 return
3916
3917def register_Ns3CcnxNameComponentsChecker_methods(root_module, cls):
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003918 ## ccnx-name-components.h (module 'ndnSIM'): ns3::CcnxNameComponentsChecker::CcnxNameComponentsChecker() [constructor]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003919 cls.add_constructor([])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003920 ## ccnx-name-components.h (module 'ndnSIM'): ns3::CcnxNameComponentsChecker::CcnxNameComponentsChecker(ns3::CcnxNameComponentsChecker const & arg0) [copy constructor]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003921 cls.add_constructor([param('ns3::CcnxNameComponentsChecker const &', 'arg0')])
3922 return
3923
3924def register_Ns3CcnxNameComponentsValue_methods(root_module, cls):
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003925 ## ccnx-name-components.h (module 'ndnSIM'): ns3::CcnxNameComponentsValue::CcnxNameComponentsValue() [constructor]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003926 cls.add_constructor([])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003927 ## ccnx-name-components.h (module 'ndnSIM'): ns3::CcnxNameComponentsValue::CcnxNameComponentsValue(ns3::CcnxNameComponentsValue const & arg0) [copy constructor]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003928 cls.add_constructor([param('ns3::CcnxNameComponentsValue const &', 'arg0')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003929 ## ccnx-name-components.h (module 'ndnSIM'): ns3::CcnxNameComponentsValue::CcnxNameComponentsValue(ns3::CcnxNameComponents const & value) [constructor]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003930 cls.add_constructor([param('ns3::CcnxNameComponents const &', 'value')])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003931 ## ccnx-name-components.h (module 'ndnSIM'): ns3::Ptr<ns3::AttributeValue> ns3::CcnxNameComponentsValue::Copy() const [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003932 cls.add_method('Copy',
3933 'ns3::Ptr< ns3::AttributeValue >',
3934 [],
3935 is_const=True, is_virtual=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003936 ## ccnx-name-components.h (module 'ndnSIM'): bool ns3::CcnxNameComponentsValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003937 cls.add_method('DeserializeFromString',
3938 'bool',
3939 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3940 is_virtual=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003941 ## ccnx-name-components.h (module 'ndnSIM'): ns3::CcnxNameComponents ns3::CcnxNameComponentsValue::Get() const [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003942 cls.add_method('Get',
3943 'ns3::CcnxNameComponents',
3944 [],
3945 is_const=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003946 ## ccnx-name-components.h (module 'ndnSIM'): std::string ns3::CcnxNameComponentsValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003947 cls.add_method('SerializeToString',
3948 'std::string',
3949 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
3950 is_const=True, is_virtual=True)
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003951 ## ccnx-name-components.h (module 'ndnSIM'): void ns3::CcnxNameComponentsValue::Set(ns3::CcnxNameComponents const & value) [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003952 cls.add_method('Set',
3953 'void',
3954 [param('ns3::CcnxNameComponents const &', 'value')])
3955 return
3956
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07003957def register_Ns3CcnxNetDeviceFace_methods(root_module, cls):
3958 ## ccnx-net-device-face.h (module 'ndnSIM'): static ns3::TypeId ns3::CcnxNetDeviceFace::GetTypeId() [member function]
3959 cls.add_method('GetTypeId',
3960 'ns3::TypeId',
3961 [],
3962 is_static=True)
3963 ## ccnx-net-device-face.h (module 'ndnSIM'): ns3::CcnxNetDeviceFace::CcnxNetDeviceFace(ns3::Ptr<ns3::Node> node, ns3::Ptr<ns3::NetDevice> const & netDevice) [constructor]
3964 cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::Ptr< ns3::NetDevice > const &', 'netDevice')])
3965 ## ccnx-net-device-face.h (module 'ndnSIM'): void ns3::CcnxNetDeviceFace::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]
3966 cls.add_method('RegisterProtocolHandler',
3967 'void',
3968 [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')],
3969 is_virtual=True)
3970 ## ccnx-net-device-face.h (module 'ndnSIM'): std::ostream & ns3::CcnxNetDeviceFace::Print(std::ostream & os) const [member function]
3971 cls.add_method('Print',
3972 'std::ostream &',
3973 [param('std::ostream &', 'os')],
3974 is_const=True, is_virtual=True)
3975 ## ccnx-net-device-face.h (module 'ndnSIM'): ns3::Ptr<ns3::NetDevice> ns3::CcnxNetDeviceFace::GetNetDevice() const [member function]
3976 cls.add_method('GetNetDevice',
3977 'ns3::Ptr< ns3::NetDevice >',
3978 [],
3979 is_const=True)
3980 ## ccnx-net-device-face.h (module 'ndnSIM'): void ns3::CcnxNetDeviceFace::SendImpl(ns3::Ptr<ns3::Packet> p) [member function]
3981 cls.add_method('SendImpl',
3982 'void',
3983 [param('ns3::Ptr< ns3::Packet >', 'p')],
3984 visibility='protected', is_virtual=True)
3985 return
3986
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08003987def register_Ns3EmptyAttributeValue_methods(root_module, cls):
3988 ## attribute.h (module 'core'): ns3::EmptyAttributeValue::EmptyAttributeValue(ns3::EmptyAttributeValue const & arg0) [copy constructor]
3989 cls.add_constructor([param('ns3::EmptyAttributeValue const &', 'arg0')])
3990 ## attribute.h (module 'core'): ns3::EmptyAttributeValue::EmptyAttributeValue() [constructor]
3991 cls.add_constructor([])
3992 ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::EmptyAttributeValue::Copy() const [member function]
3993 cls.add_method('Copy',
3994 'ns3::Ptr< ns3::AttributeValue >',
3995 [],
3996 is_const=True, visibility='private', is_virtual=True)
3997 ## attribute.h (module 'core'): bool ns3::EmptyAttributeValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
3998 cls.add_method('DeserializeFromString',
3999 'bool',
4000 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4001 visibility='private', is_virtual=True)
4002 ## attribute.h (module 'core'): std::string ns3::EmptyAttributeValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4003 cls.add_method('SerializeToString',
4004 'std::string',
4005 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4006 is_const=True, visibility='private', is_virtual=True)
4007 return
4008
4009def register_Ns3EventImpl_methods(root_module, cls):
4010 ## event-impl.h (module 'core'): ns3::EventImpl::EventImpl(ns3::EventImpl const & arg0) [copy constructor]
4011 cls.add_constructor([param('ns3::EventImpl const &', 'arg0')])
4012 ## event-impl.h (module 'core'): ns3::EventImpl::EventImpl() [constructor]
4013 cls.add_constructor([])
4014 ## event-impl.h (module 'core'): void ns3::EventImpl::Cancel() [member function]
4015 cls.add_method('Cancel',
4016 'void',
4017 [])
4018 ## event-impl.h (module 'core'): void ns3::EventImpl::Invoke() [member function]
4019 cls.add_method('Invoke',
4020 'void',
4021 [])
4022 ## event-impl.h (module 'core'): bool ns3::EventImpl::IsCancelled() [member function]
4023 cls.add_method('IsCancelled',
4024 'bool',
4025 [])
4026 ## event-impl.h (module 'core'): void ns3::EventImpl::Notify() [member function]
4027 cls.add_method('Notify',
4028 'void',
4029 [],
4030 is_pure_virtual=True, visibility='protected', is_virtual=True)
4031 return
4032
4033def register_Ns3IntegerValue_methods(root_module, cls):
4034 ## integer.h (module 'core'): ns3::IntegerValue::IntegerValue() [constructor]
4035 cls.add_constructor([])
4036 ## integer.h (module 'core'): ns3::IntegerValue::IntegerValue(ns3::IntegerValue const & arg0) [copy constructor]
4037 cls.add_constructor([param('ns3::IntegerValue const &', 'arg0')])
4038 ## integer.h (module 'core'): ns3::IntegerValue::IntegerValue(int64_t const & value) [constructor]
4039 cls.add_constructor([param('int64_t const &', 'value')])
4040 ## integer.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::IntegerValue::Copy() const [member function]
4041 cls.add_method('Copy',
4042 'ns3::Ptr< ns3::AttributeValue >',
4043 [],
4044 is_const=True, is_virtual=True)
4045 ## integer.h (module 'core'): bool ns3::IntegerValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4046 cls.add_method('DeserializeFromString',
4047 'bool',
4048 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4049 is_virtual=True)
4050 ## integer.h (module 'core'): int64_t ns3::IntegerValue::Get() const [member function]
4051 cls.add_method('Get',
4052 'int64_t',
4053 [],
4054 is_const=True)
4055 ## integer.h (module 'core'): std::string ns3::IntegerValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4056 cls.add_method('SerializeToString',
4057 'std::string',
4058 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4059 is_const=True, is_virtual=True)
4060 ## integer.h (module 'core'): void ns3::IntegerValue::Set(int64_t const & value) [member function]
4061 cls.add_method('Set',
4062 'void',
4063 [param('int64_t const &', 'value')])
4064 return
4065
4066def register_Ns3Ipv4AddressChecker_methods(root_module, cls):
4067 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker::Ipv4AddressChecker() [constructor]
4068 cls.add_constructor([])
4069 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker::Ipv4AddressChecker(ns3::Ipv4AddressChecker const & arg0) [copy constructor]
4070 cls.add_constructor([param('ns3::Ipv4AddressChecker const &', 'arg0')])
4071 return
4072
4073def register_Ns3Ipv4AddressValue_methods(root_module, cls):
4074 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue::Ipv4AddressValue() [constructor]
4075 cls.add_constructor([])
4076 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue::Ipv4AddressValue(ns3::Ipv4AddressValue const & arg0) [copy constructor]
4077 cls.add_constructor([param('ns3::Ipv4AddressValue const &', 'arg0')])
4078 ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue::Ipv4AddressValue(ns3::Ipv4Address const & value) [constructor]
4079 cls.add_constructor([param('ns3::Ipv4Address const &', 'value')])
4080 ## ipv4-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv4AddressValue::Copy() const [member function]
4081 cls.add_method('Copy',
4082 'ns3::Ptr< ns3::AttributeValue >',
4083 [],
4084 is_const=True, is_virtual=True)
4085 ## ipv4-address.h (module 'network'): bool ns3::Ipv4AddressValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4086 cls.add_method('DeserializeFromString',
4087 'bool',
4088 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4089 is_virtual=True)
4090 ## ipv4-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv4AddressValue::Get() const [member function]
4091 cls.add_method('Get',
4092 'ns3::Ipv4Address',
4093 [],
4094 is_const=True)
4095 ## ipv4-address.h (module 'network'): std::string ns3::Ipv4AddressValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4096 cls.add_method('SerializeToString',
4097 'std::string',
4098 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4099 is_const=True, is_virtual=True)
4100 ## ipv4-address.h (module 'network'): void ns3::Ipv4AddressValue::Set(ns3::Ipv4Address const & value) [member function]
4101 cls.add_method('Set',
4102 'void',
4103 [param('ns3::Ipv4Address const &', 'value')])
4104 return
4105
4106def register_Ns3Ipv4MaskChecker_methods(root_module, cls):
4107 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker::Ipv4MaskChecker() [constructor]
4108 cls.add_constructor([])
4109 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker::Ipv4MaskChecker(ns3::Ipv4MaskChecker const & arg0) [copy constructor]
4110 cls.add_constructor([param('ns3::Ipv4MaskChecker const &', 'arg0')])
4111 return
4112
4113def register_Ns3Ipv4MaskValue_methods(root_module, cls):
4114 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue::Ipv4MaskValue() [constructor]
4115 cls.add_constructor([])
4116 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue::Ipv4MaskValue(ns3::Ipv4MaskValue const & arg0) [copy constructor]
4117 cls.add_constructor([param('ns3::Ipv4MaskValue const &', 'arg0')])
4118 ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue::Ipv4MaskValue(ns3::Ipv4Mask const & value) [constructor]
4119 cls.add_constructor([param('ns3::Ipv4Mask const &', 'value')])
4120 ## ipv4-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv4MaskValue::Copy() const [member function]
4121 cls.add_method('Copy',
4122 'ns3::Ptr< ns3::AttributeValue >',
4123 [],
4124 is_const=True, is_virtual=True)
4125 ## ipv4-address.h (module 'network'): bool ns3::Ipv4MaskValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4126 cls.add_method('DeserializeFromString',
4127 'bool',
4128 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4129 is_virtual=True)
4130 ## ipv4-address.h (module 'network'): ns3::Ipv4Mask ns3::Ipv4MaskValue::Get() const [member function]
4131 cls.add_method('Get',
4132 'ns3::Ipv4Mask',
4133 [],
4134 is_const=True)
4135 ## ipv4-address.h (module 'network'): std::string ns3::Ipv4MaskValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4136 cls.add_method('SerializeToString',
4137 'std::string',
4138 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4139 is_const=True, is_virtual=True)
4140 ## ipv4-address.h (module 'network'): void ns3::Ipv4MaskValue::Set(ns3::Ipv4Mask const & value) [member function]
4141 cls.add_method('Set',
4142 'void',
4143 [param('ns3::Ipv4Mask const &', 'value')])
4144 return
4145
4146def register_Ns3Ipv6AddressChecker_methods(root_module, cls):
4147 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker::Ipv6AddressChecker() [constructor]
4148 cls.add_constructor([])
4149 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker::Ipv6AddressChecker(ns3::Ipv6AddressChecker const & arg0) [copy constructor]
4150 cls.add_constructor([param('ns3::Ipv6AddressChecker const &', 'arg0')])
4151 return
4152
4153def register_Ns3Ipv6AddressValue_methods(root_module, cls):
4154 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue::Ipv6AddressValue() [constructor]
4155 cls.add_constructor([])
4156 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue::Ipv6AddressValue(ns3::Ipv6AddressValue const & arg0) [copy constructor]
4157 cls.add_constructor([param('ns3::Ipv6AddressValue const &', 'arg0')])
4158 ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue::Ipv6AddressValue(ns3::Ipv6Address const & value) [constructor]
4159 cls.add_constructor([param('ns3::Ipv6Address const &', 'value')])
4160 ## ipv6-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv6AddressValue::Copy() const [member function]
4161 cls.add_method('Copy',
4162 'ns3::Ptr< ns3::AttributeValue >',
4163 [],
4164 is_const=True, is_virtual=True)
4165 ## ipv6-address.h (module 'network'): bool ns3::Ipv6AddressValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4166 cls.add_method('DeserializeFromString',
4167 'bool',
4168 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4169 is_virtual=True)
4170 ## ipv6-address.h (module 'network'): ns3::Ipv6Address ns3::Ipv6AddressValue::Get() const [member function]
4171 cls.add_method('Get',
4172 'ns3::Ipv6Address',
4173 [],
4174 is_const=True)
4175 ## ipv6-address.h (module 'network'): std::string ns3::Ipv6AddressValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4176 cls.add_method('SerializeToString',
4177 'std::string',
4178 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4179 is_const=True, is_virtual=True)
4180 ## ipv6-address.h (module 'network'): void ns3::Ipv6AddressValue::Set(ns3::Ipv6Address const & value) [member function]
4181 cls.add_method('Set',
4182 'void',
4183 [param('ns3::Ipv6Address const &', 'value')])
4184 return
4185
4186def register_Ns3Ipv6PrefixChecker_methods(root_module, cls):
4187 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker::Ipv6PrefixChecker() [constructor]
4188 cls.add_constructor([])
4189 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker::Ipv6PrefixChecker(ns3::Ipv6PrefixChecker const & arg0) [copy constructor]
4190 cls.add_constructor([param('ns3::Ipv6PrefixChecker const &', 'arg0')])
4191 return
4192
4193def register_Ns3Ipv6PrefixValue_methods(root_module, cls):
4194 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue::Ipv6PrefixValue() [constructor]
4195 cls.add_constructor([])
4196 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue::Ipv6PrefixValue(ns3::Ipv6PrefixValue const & arg0) [copy constructor]
4197 cls.add_constructor([param('ns3::Ipv6PrefixValue const &', 'arg0')])
4198 ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue::Ipv6PrefixValue(ns3::Ipv6Prefix const & value) [constructor]
4199 cls.add_constructor([param('ns3::Ipv6Prefix const &', 'value')])
4200 ## ipv6-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv6PrefixValue::Copy() const [member function]
4201 cls.add_method('Copy',
4202 'ns3::Ptr< ns3::AttributeValue >',
4203 [],
4204 is_const=True, is_virtual=True)
4205 ## ipv6-address.h (module 'network'): bool ns3::Ipv6PrefixValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4206 cls.add_method('DeserializeFromString',
4207 'bool',
4208 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4209 is_virtual=True)
4210 ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix ns3::Ipv6PrefixValue::Get() const [member function]
4211 cls.add_method('Get',
4212 'ns3::Ipv6Prefix',
4213 [],
4214 is_const=True)
4215 ## ipv6-address.h (module 'network'): std::string ns3::Ipv6PrefixValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4216 cls.add_method('SerializeToString',
4217 'std::string',
4218 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4219 is_const=True, is_virtual=True)
4220 ## ipv6-address.h (module 'network'): void ns3::Ipv6PrefixValue::Set(ns3::Ipv6Prefix const & value) [member function]
4221 cls.add_method('Set',
4222 'void',
4223 [param('ns3::Ipv6Prefix const &', 'value')])
4224 return
4225
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004226def register_Ns3NetDevice_methods(root_module, cls):
4227 ## net-device.h (module 'network'): ns3::NetDevice::NetDevice() [constructor]
4228 cls.add_constructor([])
4229 ## net-device.h (module 'network'): ns3::NetDevice::NetDevice(ns3::NetDevice const & arg0) [copy constructor]
4230 cls.add_constructor([param('ns3::NetDevice const &', 'arg0')])
4231 ## 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]
4232 cls.add_method('AddLinkChangeCallback',
4233 'void',
4234 [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')],
4235 is_pure_virtual=True, is_virtual=True)
4236 ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetAddress() const [member function]
4237 cls.add_method('GetAddress',
4238 'ns3::Address',
4239 [],
4240 is_pure_virtual=True, is_const=True, is_virtual=True)
4241 ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetBroadcast() const [member function]
4242 cls.add_method('GetBroadcast',
4243 'ns3::Address',
4244 [],
4245 is_pure_virtual=True, is_const=True, is_virtual=True)
4246 ## net-device.h (module 'network'): ns3::Ptr<ns3::Channel> ns3::NetDevice::GetChannel() const [member function]
4247 cls.add_method('GetChannel',
4248 'ns3::Ptr< ns3::Channel >',
4249 [],
4250 is_pure_virtual=True, is_const=True, is_virtual=True)
4251 ## net-device.h (module 'network'): uint32_t ns3::NetDevice::GetIfIndex() const [member function]
4252 cls.add_method('GetIfIndex',
4253 'uint32_t',
4254 [],
4255 is_pure_virtual=True, is_const=True, is_virtual=True)
4256 ## net-device.h (module 'network'): uint16_t ns3::NetDevice::GetMtu() const [member function]
4257 cls.add_method('GetMtu',
4258 'uint16_t',
4259 [],
4260 is_pure_virtual=True, is_const=True, is_virtual=True)
4261 ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetMulticast(ns3::Ipv4Address multicastGroup) const [member function]
4262 cls.add_method('GetMulticast',
4263 'ns3::Address',
4264 [param('ns3::Ipv4Address', 'multicastGroup')],
4265 is_pure_virtual=True, is_const=True, is_virtual=True)
4266 ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetMulticast(ns3::Ipv6Address addr) const [member function]
4267 cls.add_method('GetMulticast',
4268 'ns3::Address',
4269 [param('ns3::Ipv6Address', 'addr')],
4270 is_pure_virtual=True, is_const=True, is_virtual=True)
4271 ## net-device.h (module 'network'): ns3::Ptr<ns3::Node> ns3::NetDevice::GetNode() const [member function]
4272 cls.add_method('GetNode',
4273 'ns3::Ptr< ns3::Node >',
4274 [],
4275 is_pure_virtual=True, is_const=True, is_virtual=True)
4276 ## net-device.h (module 'network'): static ns3::TypeId ns3::NetDevice::GetTypeId() [member function]
4277 cls.add_method('GetTypeId',
4278 'ns3::TypeId',
4279 [],
4280 is_static=True)
4281 ## net-device.h (module 'network'): bool ns3::NetDevice::IsBridge() const [member function]
4282 cls.add_method('IsBridge',
4283 'bool',
4284 [],
4285 is_pure_virtual=True, is_const=True, is_virtual=True)
4286 ## net-device.h (module 'network'): bool ns3::NetDevice::IsBroadcast() const [member function]
4287 cls.add_method('IsBroadcast',
4288 'bool',
4289 [],
4290 is_pure_virtual=True, is_const=True, is_virtual=True)
4291 ## net-device.h (module 'network'): bool ns3::NetDevice::IsLinkUp() const [member function]
4292 cls.add_method('IsLinkUp',
4293 'bool',
4294 [],
4295 is_pure_virtual=True, is_const=True, is_virtual=True)
4296 ## net-device.h (module 'network'): bool ns3::NetDevice::IsMulticast() const [member function]
4297 cls.add_method('IsMulticast',
4298 'bool',
4299 [],
4300 is_pure_virtual=True, is_const=True, is_virtual=True)
4301 ## net-device.h (module 'network'): bool ns3::NetDevice::IsPointToPoint() const [member function]
4302 cls.add_method('IsPointToPoint',
4303 'bool',
4304 [],
4305 is_pure_virtual=True, is_const=True, is_virtual=True)
4306 ## net-device.h (module 'network'): bool ns3::NetDevice::NeedsArp() const [member function]
4307 cls.add_method('NeedsArp',
4308 'bool',
4309 [],
4310 is_pure_virtual=True, is_const=True, is_virtual=True)
4311 ## net-device.h (module 'network'): bool ns3::NetDevice::Send(ns3::Ptr<ns3::Packet> packet, ns3::Address const & dest, uint16_t protocolNumber) [member function]
4312 cls.add_method('Send',
4313 'bool',
4314 [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')],
4315 is_pure_virtual=True, is_virtual=True)
4316 ## 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]
4317 cls.add_method('SendFrom',
4318 'bool',
4319 [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'source'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')],
4320 is_pure_virtual=True, is_virtual=True)
4321 ## net-device.h (module 'network'): void ns3::NetDevice::SetAddress(ns3::Address address) [member function]
4322 cls.add_method('SetAddress',
4323 'void',
4324 [param('ns3::Address', 'address')],
4325 is_pure_virtual=True, is_virtual=True)
4326 ## net-device.h (module 'network'): void ns3::NetDevice::SetIfIndex(uint32_t const index) [member function]
4327 cls.add_method('SetIfIndex',
4328 'void',
4329 [param('uint32_t const', 'index')],
4330 is_pure_virtual=True, is_virtual=True)
4331 ## net-device.h (module 'network'): bool ns3::NetDevice::SetMtu(uint16_t const mtu) [member function]
4332 cls.add_method('SetMtu',
4333 'bool',
4334 [param('uint16_t const', 'mtu')],
4335 is_pure_virtual=True, is_virtual=True)
4336 ## net-device.h (module 'network'): void ns3::NetDevice::SetNode(ns3::Ptr<ns3::Node> node) [member function]
4337 cls.add_method('SetNode',
4338 'void',
4339 [param('ns3::Ptr< ns3::Node >', 'node')],
4340 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08004341 ## 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 -08004342 cls.add_method('SetPromiscReceiveCallback',
4343 'void',
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08004344 [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 -08004345 is_pure_virtual=True, is_virtual=True)
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08004346 ## 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 -08004347 cls.add_method('SetReceiveCallback',
4348 'void',
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08004349 [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 -08004350 is_pure_virtual=True, is_virtual=True)
4351 ## net-device.h (module 'network'): bool ns3::NetDevice::SupportsSendFrom() const [member function]
4352 cls.add_method('SupportsSendFrom',
4353 'bool',
4354 [],
4355 is_pure_virtual=True, is_const=True, is_virtual=True)
4356 return
4357
4358def register_Ns3NixVector_methods(root_module, cls):
4359 cls.add_output_stream_operator()
4360 ## nix-vector.h (module 'network'): ns3::NixVector::NixVector() [constructor]
4361 cls.add_constructor([])
4362 ## nix-vector.h (module 'network'): ns3::NixVector::NixVector(ns3::NixVector const & o) [copy constructor]
4363 cls.add_constructor([param('ns3::NixVector const &', 'o')])
4364 ## nix-vector.h (module 'network'): void ns3::NixVector::AddNeighborIndex(uint32_t newBits, uint32_t numberOfBits) [member function]
4365 cls.add_method('AddNeighborIndex',
4366 'void',
4367 [param('uint32_t', 'newBits'), param('uint32_t', 'numberOfBits')])
4368 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::BitCount(uint32_t numberOfNeighbors) const [member function]
4369 cls.add_method('BitCount',
4370 'uint32_t',
4371 [param('uint32_t', 'numberOfNeighbors')],
4372 is_const=True)
4373 ## nix-vector.h (module 'network'): ns3::Ptr<ns3::NixVector> ns3::NixVector::Copy() const [member function]
4374 cls.add_method('Copy',
4375 'ns3::Ptr< ns3::NixVector >',
4376 [],
4377 is_const=True)
4378 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::Deserialize(uint32_t const * buffer, uint32_t size) [member function]
4379 cls.add_method('Deserialize',
4380 'uint32_t',
4381 [param('uint32_t const *', 'buffer'), param('uint32_t', 'size')])
4382 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::ExtractNeighborIndex(uint32_t numberOfBits) [member function]
4383 cls.add_method('ExtractNeighborIndex',
4384 'uint32_t',
4385 [param('uint32_t', 'numberOfBits')])
4386 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::GetRemainingBits() [member function]
4387 cls.add_method('GetRemainingBits',
4388 'uint32_t',
4389 [])
4390 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::GetSerializedSize() const [member function]
4391 cls.add_method('GetSerializedSize',
4392 'uint32_t',
4393 [],
4394 is_const=True)
4395 ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::Serialize(uint32_t * buffer, uint32_t maxSize) const [member function]
4396 cls.add_method('Serialize',
4397 'uint32_t',
4398 [param('uint32_t *', 'buffer'), param('uint32_t', 'maxSize')],
4399 is_const=True)
4400 return
4401
4402def register_Ns3Node_methods(root_module, cls):
4403 ## node.h (module 'network'): ns3::Node::Node(ns3::Node const & arg0) [copy constructor]
4404 cls.add_constructor([param('ns3::Node const &', 'arg0')])
4405 ## node.h (module 'network'): ns3::Node::Node() [constructor]
4406 cls.add_constructor([])
4407 ## node.h (module 'network'): ns3::Node::Node(uint32_t systemId) [constructor]
4408 cls.add_constructor([param('uint32_t', 'systemId')])
4409 ## node.h (module 'network'): uint32_t ns3::Node::AddApplication(ns3::Ptr<ns3::Application> application) [member function]
4410 cls.add_method('AddApplication',
4411 'uint32_t',
4412 [param('ns3::Ptr< ns3::Application >', 'application')])
4413 ## node.h (module 'network'): uint32_t ns3::Node::AddDevice(ns3::Ptr<ns3::NetDevice> device) [member function]
4414 cls.add_method('AddDevice',
4415 'uint32_t',
4416 [param('ns3::Ptr< ns3::NetDevice >', 'device')])
4417 ## node.h (module 'network'): static bool ns3::Node::ChecksumEnabled() [member function]
4418 cls.add_method('ChecksumEnabled',
4419 'bool',
4420 [],
4421 is_static=True)
4422 ## node.h (module 'network'): ns3::Ptr<ns3::Application> ns3::Node::GetApplication(uint32_t index) const [member function]
4423 cls.add_method('GetApplication',
4424 'ns3::Ptr< ns3::Application >',
4425 [param('uint32_t', 'index')],
4426 is_const=True)
4427 ## node.h (module 'network'): ns3::Ptr<ns3::NetDevice> ns3::Node::GetDevice(uint32_t index) const [member function]
4428 cls.add_method('GetDevice',
4429 'ns3::Ptr< ns3::NetDevice >',
4430 [param('uint32_t', 'index')],
4431 is_const=True)
4432 ## node.h (module 'network'): uint32_t ns3::Node::GetId() const [member function]
4433 cls.add_method('GetId',
4434 'uint32_t',
4435 [],
4436 is_const=True)
4437 ## node.h (module 'network'): uint32_t ns3::Node::GetNApplications() const [member function]
4438 cls.add_method('GetNApplications',
4439 'uint32_t',
4440 [],
4441 is_const=True)
4442 ## node.h (module 'network'): uint32_t ns3::Node::GetNDevices() const [member function]
4443 cls.add_method('GetNDevices',
4444 'uint32_t',
4445 [],
4446 is_const=True)
4447 ## node.h (module 'network'): uint32_t ns3::Node::GetSystemId() const [member function]
4448 cls.add_method('GetSystemId',
4449 'uint32_t',
4450 [],
4451 is_const=True)
4452 ## node.h (module 'network'): static ns3::TypeId ns3::Node::GetTypeId() [member function]
4453 cls.add_method('GetTypeId',
4454 'ns3::TypeId',
4455 [],
4456 is_static=True)
4457 ## 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]
4458 cls.add_method('RegisterDeviceAdditionListener',
4459 'void',
4460 [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')])
4461 ## 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]
4462 cls.add_method('RegisterProtocolHandler',
4463 'void',
4464 [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')])
4465 ## 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]
4466 cls.add_method('UnregisterDeviceAdditionListener',
4467 'void',
4468 [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')])
4469 ## 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]
4470 cls.add_method('UnregisterProtocolHandler',
4471 'void',
4472 [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')])
4473 ## node.h (module 'network'): void ns3::Node::DoDispose() [member function]
4474 cls.add_method('DoDispose',
4475 'void',
4476 [],
4477 visibility='protected', is_virtual=True)
4478 ## node.h (module 'network'): void ns3::Node::DoStart() [member function]
4479 cls.add_method('DoStart',
4480 'void',
4481 [],
4482 visibility='protected', is_virtual=True)
4483 return
4484
4485def register_Ns3ObjectFactoryChecker_methods(root_module, cls):
4486 ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker::ObjectFactoryChecker() [constructor]
4487 cls.add_constructor([])
4488 ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker::ObjectFactoryChecker(ns3::ObjectFactoryChecker const & arg0) [copy constructor]
4489 cls.add_constructor([param('ns3::ObjectFactoryChecker const &', 'arg0')])
4490 return
4491
4492def register_Ns3ObjectFactoryValue_methods(root_module, cls):
4493 ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue() [constructor]
4494 cls.add_constructor([])
4495 ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue(ns3::ObjectFactoryValue const & arg0) [copy constructor]
4496 cls.add_constructor([param('ns3::ObjectFactoryValue const &', 'arg0')])
4497 ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue(ns3::ObjectFactory const & value) [constructor]
4498 cls.add_constructor([param('ns3::ObjectFactory const &', 'value')])
4499 ## object-factory.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::ObjectFactoryValue::Copy() const [member function]
4500 cls.add_method('Copy',
4501 'ns3::Ptr< ns3::AttributeValue >',
4502 [],
4503 is_const=True, is_virtual=True)
4504 ## object-factory.h (module 'core'): bool ns3::ObjectFactoryValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4505 cls.add_method('DeserializeFromString',
4506 'bool',
4507 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4508 is_virtual=True)
4509 ## object-factory.h (module 'core'): ns3::ObjectFactory ns3::ObjectFactoryValue::Get() const [member function]
4510 cls.add_method('Get',
4511 'ns3::ObjectFactory',
4512 [],
4513 is_const=True)
4514 ## object-factory.h (module 'core'): std::string ns3::ObjectFactoryValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4515 cls.add_method('SerializeToString',
4516 'std::string',
4517 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4518 is_const=True, is_virtual=True)
4519 ## object-factory.h (module 'core'): void ns3::ObjectFactoryValue::Set(ns3::ObjectFactory const & value) [member function]
4520 cls.add_method('Set',
4521 'void',
4522 [param('ns3::ObjectFactory const &', 'value')])
4523 return
4524
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004525def register_Ns3Packet_methods(root_module, cls):
4526 cls.add_output_stream_operator()
4527 ## packet.h (module 'network'): ns3::Packet::Packet() [constructor]
4528 cls.add_constructor([])
4529 ## packet.h (module 'network'): ns3::Packet::Packet(ns3::Packet const & o) [copy constructor]
4530 cls.add_constructor([param('ns3::Packet const &', 'o')])
4531 ## packet.h (module 'network'): ns3::Packet::Packet(uint32_t size) [constructor]
4532 cls.add_constructor([param('uint32_t', 'size')])
4533 ## packet.h (module 'network'): ns3::Packet::Packet(uint8_t const * buffer, uint32_t size, bool magic) [constructor]
4534 cls.add_constructor([param('uint8_t const *', 'buffer'), param('uint32_t', 'size'), param('bool', 'magic')])
4535 ## packet.h (module 'network'): ns3::Packet::Packet(uint8_t const * buffer, uint32_t size) [constructor]
4536 cls.add_constructor([param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
Alexander Afanasyevdd3eeec2011-12-13 13:19:15 -08004537 ## packet.h (module 'network'): void ns3::Packet::AddAtEnd(ns3::Ptr<const ns3::Packet> packet) [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004538 cls.add_method('AddAtEnd',
4539 'void',
4540 [param('ns3::Ptr< ns3::Packet const >', 'packet')])
4541 ## packet.h (module 'network'): void ns3::Packet::AddByteTag(ns3::Tag const & tag) const [member function]
4542 cls.add_method('AddByteTag',
4543 'void',
4544 [param('ns3::Tag const &', 'tag')],
4545 is_const=True)
4546 ## packet.h (module 'network'): void ns3::Packet::AddHeader(ns3::Header const & header) [member function]
4547 cls.add_method('AddHeader',
4548 'void',
4549 [param('ns3::Header const &', 'header')])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004550 ## packet.h (module 'network'): void ns3::Packet::AddPacketTag(ns3::Tag const & tag) const [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004551 cls.add_method('AddPacketTag',
4552 'void',
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004553 [param('ns3::Tag const &', 'tag')],
4554 is_const=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004555 ## packet.h (module 'network'): void ns3::Packet::AddPaddingAtEnd(uint32_t size) [member function]
4556 cls.add_method('AddPaddingAtEnd',
4557 'void',
4558 [param('uint32_t', 'size')])
4559 ## packet.h (module 'network'): void ns3::Packet::AddTrailer(ns3::Trailer const & trailer) [member function]
4560 cls.add_method('AddTrailer',
4561 'void',
4562 [param('ns3::Trailer const &', 'trailer')])
4563 ## packet.h (module 'network'): ns3::PacketMetadata::ItemIterator ns3::Packet::BeginItem() const [member function]
4564 cls.add_method('BeginItem',
4565 'ns3::PacketMetadata::ItemIterator',
4566 [],
4567 is_const=True)
4568 ## packet.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Packet::Copy() const [member function]
4569 cls.add_method('Copy',
4570 'ns3::Ptr< ns3::Packet >',
4571 [],
4572 is_const=True)
4573 ## packet.h (module 'network'): uint32_t ns3::Packet::CopyData(uint8_t * buffer, uint32_t size) const [member function]
4574 cls.add_method('CopyData',
4575 'uint32_t',
4576 [param('uint8_t *', 'buffer'), param('uint32_t', 'size')],
4577 is_const=True)
4578 ## packet.h (module 'network'): void ns3::Packet::CopyData(std::ostream * os, uint32_t size) const [member function]
4579 cls.add_method('CopyData',
4580 'void',
4581 [param('std::ostream *', 'os'), param('uint32_t', 'size')],
4582 is_const=True)
4583 ## packet.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Packet::CreateFragment(uint32_t start, uint32_t length) const [member function]
4584 cls.add_method('CreateFragment',
4585 'ns3::Ptr< ns3::Packet >',
4586 [param('uint32_t', 'start'), param('uint32_t', 'length')],
4587 is_const=True)
4588 ## packet.h (module 'network'): static void ns3::Packet::EnableChecking() [member function]
4589 cls.add_method('EnableChecking',
4590 'void',
4591 [],
4592 is_static=True)
4593 ## packet.h (module 'network'): static void ns3::Packet::EnablePrinting() [member function]
4594 cls.add_method('EnablePrinting',
4595 'void',
4596 [],
4597 is_static=True)
4598 ## packet.h (module 'network'): bool ns3::Packet::FindFirstMatchingByteTag(ns3::Tag & tag) const [member function]
4599 cls.add_method('FindFirstMatchingByteTag',
4600 'bool',
4601 [param('ns3::Tag &', 'tag')],
4602 is_const=True)
4603 ## packet.h (module 'network'): ns3::ByteTagIterator ns3::Packet::GetByteTagIterator() const [member function]
4604 cls.add_method('GetByteTagIterator',
4605 'ns3::ByteTagIterator',
4606 [],
4607 is_const=True)
4608 ## packet.h (module 'network'): ns3::Ptr<ns3::NixVector> ns3::Packet::GetNixVector() const [member function]
4609 cls.add_method('GetNixVector',
4610 'ns3::Ptr< ns3::NixVector >',
4611 [],
4612 is_const=True)
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004613 ## packet.h (module 'network'): ns3::PacketTagIterator ns3::Packet::GetPacketTagIterator() const [member function]
4614 cls.add_method('GetPacketTagIterator',
4615 'ns3::PacketTagIterator',
4616 [],
4617 is_const=True)
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004618 ## packet.h (module 'network'): uint32_t ns3::Packet::GetSerializedSize() const [member function]
4619 cls.add_method('GetSerializedSize',
4620 'uint32_t',
4621 [],
4622 is_const=True)
4623 ## packet.h (module 'network'): uint32_t ns3::Packet::GetSize() const [member function]
4624 cls.add_method('GetSize',
4625 'uint32_t',
4626 [],
4627 is_const=True)
4628 ## packet.h (module 'network'): uint64_t ns3::Packet::GetUid() const [member function]
4629 cls.add_method('GetUid',
4630 'uint64_t',
4631 [],
4632 is_const=True)
4633 ## packet.h (module 'network'): uint8_t const * ns3::Packet::PeekData() const [member function]
4634 cls.add_method('PeekData',
4635 'uint8_t const *',
4636 [],
4637 deprecated=True, is_const=True)
4638 ## packet.h (module 'network'): uint32_t ns3::Packet::PeekHeader(ns3::Header & header) const [member function]
4639 cls.add_method('PeekHeader',
4640 'uint32_t',
4641 [param('ns3::Header &', 'header')],
4642 is_const=True)
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004643 ## packet.h (module 'network'): bool ns3::Packet::PeekPacketTag(ns3::Tag & tag) const [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004644 cls.add_method('PeekPacketTag',
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004645 'bool',
4646 [param('ns3::Tag &', 'tag')],
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004647 is_const=True)
4648 ## packet.h (module 'network'): uint32_t ns3::Packet::PeekTrailer(ns3::Trailer & trailer) [member function]
4649 cls.add_method('PeekTrailer',
4650 'uint32_t',
4651 [param('ns3::Trailer &', 'trailer')])
4652 ## packet.h (module 'network'): void ns3::Packet::Print(std::ostream & os) const [member function]
4653 cls.add_method('Print',
4654 'void',
4655 [param('std::ostream &', 'os')],
4656 is_const=True)
4657 ## packet.h (module 'network'): void ns3::Packet::PrintByteTags(std::ostream & os) const [member function]
4658 cls.add_method('PrintByteTags',
4659 'void',
4660 [param('std::ostream &', 'os')],
4661 is_const=True)
4662 ## packet.h (module 'network'): void ns3::Packet::PrintPacketTags(std::ostream & os) const [member function]
4663 cls.add_method('PrintPacketTags',
4664 'void',
4665 [param('std::ostream &', 'os')],
4666 is_const=True)
4667 ## packet.h (module 'network'): void ns3::Packet::RemoveAllByteTags() [member function]
4668 cls.add_method('RemoveAllByteTags',
4669 'void',
4670 [])
4671 ## packet.h (module 'network'): void ns3::Packet::RemoveAllPacketTags() [member function]
4672 cls.add_method('RemoveAllPacketTags',
4673 'void',
4674 [])
4675 ## packet.h (module 'network'): void ns3::Packet::RemoveAtEnd(uint32_t size) [member function]
4676 cls.add_method('RemoveAtEnd',
4677 'void',
4678 [param('uint32_t', 'size')])
4679 ## packet.h (module 'network'): void ns3::Packet::RemoveAtStart(uint32_t size) [member function]
4680 cls.add_method('RemoveAtStart',
4681 'void',
4682 [param('uint32_t', 'size')])
4683 ## packet.h (module 'network'): uint32_t ns3::Packet::RemoveHeader(ns3::Header & header) [member function]
4684 cls.add_method('RemoveHeader',
4685 'uint32_t',
4686 [param('ns3::Header &', 'header')])
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004687 ## packet.h (module 'network'): bool ns3::Packet::RemovePacketTag(ns3::Tag & tag) [member function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004688 cls.add_method('RemovePacketTag',
Alexander Afanasyevad5acce2012-05-31 12:43:08 -07004689 'bool',
4690 [param('ns3::Tag &', 'tag')])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004691 ## packet.h (module 'network'): uint32_t ns3::Packet::RemoveTrailer(ns3::Trailer & trailer) [member function]
4692 cls.add_method('RemoveTrailer',
4693 'uint32_t',
4694 [param('ns3::Trailer &', 'trailer')])
4695 ## packet.h (module 'network'): uint32_t ns3::Packet::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
4696 cls.add_method('Serialize',
4697 'uint32_t',
4698 [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')],
4699 is_const=True)
4700 ## packet.h (module 'network'): void ns3::Packet::SetNixVector(ns3::Ptr<ns3::NixVector> arg0) [member function]
4701 cls.add_method('SetNixVector',
4702 'void',
4703 [param('ns3::Ptr< ns3::NixVector >', 'arg0')])
4704 return
4705
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004706def register_Ns3TimeChecker_methods(root_module, cls):
4707 ## nstime.h (module 'core'): ns3::TimeChecker::TimeChecker() [constructor]
4708 cls.add_constructor([])
4709 ## nstime.h (module 'core'): ns3::TimeChecker::TimeChecker(ns3::TimeChecker const & arg0) [copy constructor]
4710 cls.add_constructor([param('ns3::TimeChecker const &', 'arg0')])
4711 return
4712
4713def register_Ns3TimeValue_methods(root_module, cls):
4714 ## nstime.h (module 'core'): ns3::TimeValue::TimeValue() [constructor]
4715 cls.add_constructor([])
4716 ## nstime.h (module 'core'): ns3::TimeValue::TimeValue(ns3::TimeValue const & arg0) [copy constructor]
4717 cls.add_constructor([param('ns3::TimeValue const &', 'arg0')])
4718 ## nstime.h (module 'core'): ns3::TimeValue::TimeValue(ns3::Time const & value) [constructor]
4719 cls.add_constructor([param('ns3::Time const &', 'value')])
4720 ## nstime.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::TimeValue::Copy() const [member function]
4721 cls.add_method('Copy',
4722 'ns3::Ptr< ns3::AttributeValue >',
4723 [],
4724 is_const=True, is_virtual=True)
4725 ## nstime.h (module 'core'): bool ns3::TimeValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4726 cls.add_method('DeserializeFromString',
4727 'bool',
4728 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4729 is_virtual=True)
4730 ## nstime.h (module 'core'): ns3::Time ns3::TimeValue::Get() const [member function]
4731 cls.add_method('Get',
4732 'ns3::Time',
4733 [],
4734 is_const=True)
4735 ## nstime.h (module 'core'): std::string ns3::TimeValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4736 cls.add_method('SerializeToString',
4737 'std::string',
4738 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4739 is_const=True, is_virtual=True)
4740 ## nstime.h (module 'core'): void ns3::TimeValue::Set(ns3::Time const & value) [member function]
4741 cls.add_method('Set',
4742 'void',
4743 [param('ns3::Time const &', 'value')])
4744 return
4745
4746def register_Ns3TypeIdChecker_methods(root_module, cls):
4747 ## type-id.h (module 'core'): ns3::TypeIdChecker::TypeIdChecker() [constructor]
4748 cls.add_constructor([])
4749 ## type-id.h (module 'core'): ns3::TypeIdChecker::TypeIdChecker(ns3::TypeIdChecker const & arg0) [copy constructor]
4750 cls.add_constructor([param('ns3::TypeIdChecker const &', 'arg0')])
4751 return
4752
4753def register_Ns3TypeIdValue_methods(root_module, cls):
4754 ## type-id.h (module 'core'): ns3::TypeIdValue::TypeIdValue() [constructor]
4755 cls.add_constructor([])
4756 ## type-id.h (module 'core'): ns3::TypeIdValue::TypeIdValue(ns3::TypeIdValue const & arg0) [copy constructor]
4757 cls.add_constructor([param('ns3::TypeIdValue const &', 'arg0')])
4758 ## type-id.h (module 'core'): ns3::TypeIdValue::TypeIdValue(ns3::TypeId const & value) [constructor]
4759 cls.add_constructor([param('ns3::TypeId const &', 'value')])
4760 ## type-id.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::TypeIdValue::Copy() const [member function]
4761 cls.add_method('Copy',
4762 'ns3::Ptr< ns3::AttributeValue >',
4763 [],
4764 is_const=True, is_virtual=True)
4765 ## type-id.h (module 'core'): bool ns3::TypeIdValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4766 cls.add_method('DeserializeFromString',
4767 'bool',
4768 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4769 is_virtual=True)
4770 ## type-id.h (module 'core'): ns3::TypeId ns3::TypeIdValue::Get() const [member function]
4771 cls.add_method('Get',
4772 'ns3::TypeId',
4773 [],
4774 is_const=True)
4775 ## type-id.h (module 'core'): std::string ns3::TypeIdValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4776 cls.add_method('SerializeToString',
4777 'std::string',
4778 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4779 is_const=True, is_virtual=True)
4780 ## type-id.h (module 'core'): void ns3::TypeIdValue::Set(ns3::TypeId const & value) [member function]
4781 cls.add_method('Set',
4782 'void',
4783 [param('ns3::TypeId const &', 'value')])
4784 return
4785
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004786def register_Ns3AddressChecker_methods(root_module, cls):
4787 ## address.h (module 'network'): ns3::AddressChecker::AddressChecker() [constructor]
4788 cls.add_constructor([])
4789 ## address.h (module 'network'): ns3::AddressChecker::AddressChecker(ns3::AddressChecker const & arg0) [copy constructor]
4790 cls.add_constructor([param('ns3::AddressChecker const &', 'arg0')])
4791 return
4792
4793def register_Ns3AddressValue_methods(root_module, cls):
4794 ## address.h (module 'network'): ns3::AddressValue::AddressValue() [constructor]
4795 cls.add_constructor([])
4796 ## address.h (module 'network'): ns3::AddressValue::AddressValue(ns3::AddressValue const & arg0) [copy constructor]
4797 cls.add_constructor([param('ns3::AddressValue const &', 'arg0')])
4798 ## address.h (module 'network'): ns3::AddressValue::AddressValue(ns3::Address const & value) [constructor]
4799 cls.add_constructor([param('ns3::Address const &', 'value')])
4800 ## address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::AddressValue::Copy() const [member function]
4801 cls.add_method('Copy',
4802 'ns3::Ptr< ns3::AttributeValue >',
4803 [],
4804 is_const=True, is_virtual=True)
4805 ## address.h (module 'network'): bool ns3::AddressValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4806 cls.add_method('DeserializeFromString',
4807 'bool',
4808 [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4809 is_virtual=True)
4810 ## address.h (module 'network'): ns3::Address ns3::AddressValue::Get() const [member function]
4811 cls.add_method('Get',
4812 'ns3::Address',
4813 [],
4814 is_const=True)
4815 ## address.h (module 'network'): std::string ns3::AddressValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4816 cls.add_method('SerializeToString',
4817 'std::string',
4818 [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
4819 is_const=True, is_virtual=True)
4820 ## address.h (module 'network'): void ns3::AddressValue::Set(ns3::Address const & value) [member function]
4821 cls.add_method('Set',
4822 'void',
4823 [param('ns3::Address const &', 'value')])
4824 return
4825
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07004826def register_Ns3CcnxAppFace_methods(root_module, cls):
4827 cls.add_output_stream_operator()
4828 ## ccnx-app-face.h (module 'ndnSIM'): ns3::CcnxAppFace::CcnxAppFace(ns3::Ptr<ns3::CcnxApp> app) [constructor]
4829 cls.add_constructor([param('ns3::Ptr< ns3::CcnxApp >', 'app')])
4830 ## ccnx-app-face.h (module 'ndnSIM'): static ns3::TypeId ns3::CcnxAppFace::GetTypeId() [member function]
4831 cls.add_method('GetTypeId',
4832 'ns3::TypeId',
4833 [],
4834 is_static=True)
4835 ## ccnx-app-face.h (module 'ndnSIM'): std::ostream & ns3::CcnxAppFace::Print(std::ostream & os) const [member function]
4836 cls.add_method('Print',
4837 'std::ostream &',
4838 [param('std::ostream &', 'os')],
4839 is_const=True, is_virtual=True)
4840 ## ccnx-app-face.h (module 'ndnSIM'): void ns3::CcnxAppFace::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]
4841 cls.add_method('RegisterProtocolHandler',
4842 'void',
4843 [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')],
4844 is_virtual=True)
4845 ## ccnx-app-face.h (module 'ndnSIM'): void ns3::CcnxAppFace::SendImpl(ns3::Ptr<ns3::Packet> p) [member function]
4846 cls.add_method('SendImpl',
4847 'void',
4848 [param('ns3::Ptr< ns3::Packet >', 'p')],
4849 visibility='protected', is_virtual=True)
4850 return
4851
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004852def register_functions(root_module):
4853 module = root_module
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07004854 ## batches.h (module 'ndnSIM'): extern ns3::Ptr<ns3::AttributeChecker const> ns3::MakeBatchesChecker() [free function]
Alexander Afanasyeve9c9d722012-01-19 16:59:30 -08004855 module.add_function('MakeBatchesChecker',
4856 'ns3::Ptr< ns3::AttributeChecker const >',
4857 [])
Alexander Afanasyev6d98ac32012-06-06 13:01:48 -07004858 ## ccnx-name-components.h (module 'ndnSIM'): extern ns3::Ptr<ns3::AttributeChecker const> ns3::MakeCcnxNameComponentsChecker() [free function]
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004859 module.add_function('MakeCcnxNameComponentsChecker',
4860 'ns3::Ptr< ns3::AttributeChecker const >',
4861 [])
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004862 register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module)
4863 register_functions_ns3_internal(module.get_submodule('internal'), root_module)
4864 return
4865
Alexander Afanasyevaa032ea2011-12-13 12:38:32 -08004866def register_functions_ns3_FatalImpl(module, root_module):
4867 return
4868
4869def register_functions_ns3_internal(module, root_module):
4870 return
4871
4872def main():
4873 out = FileCodeSink(sys.stdout)
4874 root_module = module_init()
4875 register_types(root_module)
4876 register_methods(root_module)
4877 register_functions(root_module)
4878 root_module.generate(out)
4879
4880if __name__ == '__main__':
4881 main()
4882