1.1 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_bridge.py Thu Oct 01 14:08:52 2009 +0200
1.2 +++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_bridge.py Thu Oct 01 14:22:40 2009 +0100
1.3 @@ -0,0 +1,319 @@
1.4 +from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers
1.5 +
1.6 +def register_types(module):
1.7 + root_module = module.get_root()
1.8 +
1.9 + ## bridge-channel.h: ns3::BridgeChannel [class]
1.10 + module.add_class('BridgeChannel', parent=root_module['ns3::Channel'])
1.11 + ## bridge-net-device.h: ns3::BridgeNetDevice [class]
1.12 + module.add_class('BridgeNetDevice', parent=root_module['ns3::NetDevice'])
1.13 +
1.14 + ## Register a nested module for the namespace Config
1.15 +
1.16 + nested_module = module.add_cpp_namespace('Config')
1.17 + register_types_ns3_Config(nested_module)
1.18 +
1.19 +
1.20 + ## Register a nested module for the namespace TimeStepPrecision
1.21 +
1.22 + nested_module = module.add_cpp_namespace('TimeStepPrecision')
1.23 + register_types_ns3_TimeStepPrecision(nested_module)
1.24 +
1.25 +
1.26 + ## Register a nested module for the namespace addressUtils
1.27 +
1.28 + nested_module = module.add_cpp_namespace('addressUtils')
1.29 + register_types_ns3_addressUtils(nested_module)
1.30 +
1.31 +
1.32 + ## Register a nested module for the namespace dot11s
1.33 +
1.34 + nested_module = module.add_cpp_namespace('dot11s')
1.35 + register_types_ns3_dot11s(nested_module)
1.36 +
1.37 +
1.38 + ## Register a nested module for the namespace flame
1.39 +
1.40 + nested_module = module.add_cpp_namespace('flame')
1.41 + register_types_ns3_flame(nested_module)
1.42 +
1.43 +
1.44 + ## Register a nested module for the namespace internal
1.45 +
1.46 + nested_module = module.add_cpp_namespace('internal')
1.47 + register_types_ns3_internal(nested_module)
1.48 +
1.49 +
1.50 + ## Register a nested module for the namespace olsr
1.51 +
1.52 + nested_module = module.add_cpp_namespace('olsr')
1.53 + register_types_ns3_olsr(nested_module)
1.54 +
1.55 +
1.56 +def register_types_ns3_Config(module):
1.57 + root_module = module.get_root()
1.58 +
1.59 +
1.60 +def register_types_ns3_TimeStepPrecision(module):
1.61 + root_module = module.get_root()
1.62 +
1.63 +
1.64 +def register_types_ns3_addressUtils(module):
1.65 + root_module = module.get_root()
1.66 +
1.67 +
1.68 +def register_types_ns3_dot11s(module):
1.69 + root_module = module.get_root()
1.70 +
1.71 +
1.72 +def register_types_ns3_flame(module):
1.73 + root_module = module.get_root()
1.74 +
1.75 +
1.76 +def register_types_ns3_internal(module):
1.77 + root_module = module.get_root()
1.78 +
1.79 +
1.80 +def register_types_ns3_olsr(module):
1.81 + root_module = module.get_root()
1.82 +
1.83 +
1.84 +def register_methods(root_module):
1.85 + register_Ns3BridgeChannel_methods(root_module, root_module['ns3::BridgeChannel'])
1.86 + register_Ns3BridgeNetDevice_methods(root_module, root_module['ns3::BridgeNetDevice'])
1.87 + return
1.88 +
1.89 +def register_Ns3BridgeChannel_methods(root_module, cls):
1.90 + ## bridge-channel.h: ns3::BridgeChannel::BridgeChannel(ns3::BridgeChannel const & arg0) [copy constructor]
1.91 + cls.add_constructor([param('ns3::BridgeChannel const &', 'arg0')])
1.92 + ## bridge-channel.h: ns3::BridgeChannel::BridgeChannel() [constructor]
1.93 + cls.add_constructor([])
1.94 + ## bridge-channel.h: void ns3::BridgeChannel::AddChannel(ns3::Ptr<ns3::Channel> bridgedChannel) [member function]
1.95 + cls.add_method('AddChannel',
1.96 + 'void',
1.97 + [param('ns3::Ptr< ns3::Channel >', 'bridgedChannel')])
1.98 + ## bridge-channel.h: ns3::Ptr<ns3::NetDevice> ns3::BridgeChannel::GetDevice(uint32_t i) const [member function]
1.99 + cls.add_method('GetDevice',
1.100 + 'ns3::Ptr< ns3::NetDevice >',
1.101 + [param('uint32_t', 'i')],
1.102 + is_const=True, is_virtual=True)
1.103 + ## bridge-channel.h: uint32_t ns3::BridgeChannel::GetNDevices() const [member function]
1.104 + cls.add_method('GetNDevices',
1.105 + 'uint32_t',
1.106 + [],
1.107 + is_const=True, is_virtual=True)
1.108 + ## bridge-channel.h: static ns3::TypeId ns3::BridgeChannel::GetTypeId() [member function]
1.109 + cls.add_method('GetTypeId',
1.110 + 'ns3::TypeId',
1.111 + [],
1.112 + is_static=True)
1.113 + return
1.114 +
1.115 +def register_Ns3BridgeNetDevice_methods(root_module, cls):
1.116 + ## bridge-net-device.h: ns3::BridgeNetDevice::BridgeNetDevice(ns3::BridgeNetDevice const & arg0) [copy constructor]
1.117 + cls.add_constructor([param('ns3::BridgeNetDevice const &', 'arg0')])
1.118 + ## bridge-net-device.h: ns3::BridgeNetDevice::BridgeNetDevice() [constructor]
1.119 + cls.add_constructor([])
1.120 + ## bridge-net-device.h: void ns3::BridgeNetDevice::AddBridgePort(ns3::Ptr<ns3::NetDevice> bridgePort) [member function]
1.121 + cls.add_method('AddBridgePort',
1.122 + 'void',
1.123 + [param('ns3::Ptr< ns3::NetDevice >', 'bridgePort')])
1.124 + ## bridge-net-device.h: void ns3::BridgeNetDevice::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]
1.125 + cls.add_method('AddLinkChangeCallback',
1.126 + 'void',
1.127 + [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')],
1.128 + is_virtual=True)
1.129 + ## bridge-net-device.h: ns3::Address ns3::BridgeNetDevice::GetAddress() const [member function]
1.130 + cls.add_method('GetAddress',
1.131 + 'ns3::Address',
1.132 + [],
1.133 + is_const=True, is_virtual=True)
1.134 + ## bridge-net-device.h: ns3::Ptr<ns3::NetDevice> ns3::BridgeNetDevice::GetBridgePort(uint32_t n) const [member function]
1.135 + cls.add_method('GetBridgePort',
1.136 + 'ns3::Ptr< ns3::NetDevice >',
1.137 + [param('uint32_t', 'n')],
1.138 + is_const=True)
1.139 + ## bridge-net-device.h: ns3::Address ns3::BridgeNetDevice::GetBroadcast() const [member function]
1.140 + cls.add_method('GetBroadcast',
1.141 + 'ns3::Address',
1.142 + [],
1.143 + is_const=True, is_virtual=True)
1.144 + ## bridge-net-device.h: ns3::Ptr<ns3::Channel> ns3::BridgeNetDevice::GetChannel() const [member function]
1.145 + cls.add_method('GetChannel',
1.146 + 'ns3::Ptr< ns3::Channel >',
1.147 + [],
1.148 + is_const=True, is_virtual=True)
1.149 + ## bridge-net-device.h: uint32_t ns3::BridgeNetDevice::GetIfIndex() const [member function]
1.150 + cls.add_method('GetIfIndex',
1.151 + 'uint32_t',
1.152 + [],
1.153 + is_const=True, is_virtual=True)
1.154 + ## bridge-net-device.h: uint16_t ns3::BridgeNetDevice::GetMtu() const [member function]
1.155 + cls.add_method('GetMtu',
1.156 + 'uint16_t',
1.157 + [],
1.158 + is_const=True, is_virtual=True)
1.159 + ## bridge-net-device.h: ns3::Address ns3::BridgeNetDevice::GetMulticast(ns3::Ipv4Address multicastGroup) const [member function]
1.160 + cls.add_method('GetMulticast',
1.161 + 'ns3::Address',
1.162 + [param('ns3::Ipv4Address', 'multicastGroup')],
1.163 + is_const=True, is_virtual=True)
1.164 + ## bridge-net-device.h: ns3::Address ns3::BridgeNetDevice::GetMulticast(ns3::Ipv6Address addr) const [member function]
1.165 + cls.add_method('GetMulticast',
1.166 + 'ns3::Address',
1.167 + [param('ns3::Ipv6Address', 'addr')],
1.168 + is_const=True, is_virtual=True)
1.169 + ## bridge-net-device.h: uint32_t ns3::BridgeNetDevice::GetNBridgePorts() const [member function]
1.170 + cls.add_method('GetNBridgePorts',
1.171 + 'uint32_t',
1.172 + [],
1.173 + is_const=True)
1.174 + ## bridge-net-device.h: ns3::Ptr<ns3::Node> ns3::BridgeNetDevice::GetNode() const [member function]
1.175 + cls.add_method('GetNode',
1.176 + 'ns3::Ptr< ns3::Node >',
1.177 + [],
1.178 + is_const=True, is_virtual=True)
1.179 + ## bridge-net-device.h: static ns3::TypeId ns3::BridgeNetDevice::GetTypeId() [member function]
1.180 + cls.add_method('GetTypeId',
1.181 + 'ns3::TypeId',
1.182 + [],
1.183 + is_static=True)
1.184 + ## bridge-net-device.h: bool ns3::BridgeNetDevice::IsBridge() const [member function]
1.185 + cls.add_method('IsBridge',
1.186 + 'bool',
1.187 + [],
1.188 + is_const=True, is_virtual=True)
1.189 + ## bridge-net-device.h: bool ns3::BridgeNetDevice::IsBroadcast() const [member function]
1.190 + cls.add_method('IsBroadcast',
1.191 + 'bool',
1.192 + [],
1.193 + is_const=True, is_virtual=True)
1.194 + ## bridge-net-device.h: bool ns3::BridgeNetDevice::IsLinkUp() const [member function]
1.195 + cls.add_method('IsLinkUp',
1.196 + 'bool',
1.197 + [],
1.198 + is_const=True, is_virtual=True)
1.199 + ## bridge-net-device.h: bool ns3::BridgeNetDevice::IsMulticast() const [member function]
1.200 + cls.add_method('IsMulticast',
1.201 + 'bool',
1.202 + [],
1.203 + is_const=True, is_virtual=True)
1.204 + ## bridge-net-device.h: bool ns3::BridgeNetDevice::IsPointToPoint() const [member function]
1.205 + cls.add_method('IsPointToPoint',
1.206 + 'bool',
1.207 + [],
1.208 + is_const=True, is_virtual=True)
1.209 + ## bridge-net-device.h: bool ns3::BridgeNetDevice::NeedsArp() const [member function]
1.210 + cls.add_method('NeedsArp',
1.211 + 'bool',
1.212 + [],
1.213 + is_const=True, is_virtual=True)
1.214 + ## bridge-net-device.h: bool ns3::BridgeNetDevice::Send(ns3::Ptr<ns3::Packet> packet, ns3::Address const & dest, uint16_t protocolNumber) [member function]
1.215 + cls.add_method('Send',
1.216 + 'bool',
1.217 + [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')],
1.218 + is_virtual=True)
1.219 + ## bridge-net-device.h: bool ns3::BridgeNetDevice::SendFrom(ns3::Ptr<ns3::Packet> packet, ns3::Address const & source, ns3::Address const & dest, uint16_t protocolNumber) [member function]
1.220 + cls.add_method('SendFrom',
1.221 + 'bool',
1.222 + [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'source'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')],
1.223 + is_virtual=True)
1.224 + ## bridge-net-device.h: void ns3::BridgeNetDevice::SetAddress(ns3::Address address) [member function]
1.225 + cls.add_method('SetAddress',
1.226 + 'void',
1.227 + [param('ns3::Address', 'address')],
1.228 + is_virtual=True)
1.229 + ## bridge-net-device.h: void ns3::BridgeNetDevice::SetIfIndex(uint32_t const index) [member function]
1.230 + cls.add_method('SetIfIndex',
1.231 + 'void',
1.232 + [param('uint32_t const', 'index')],
1.233 + is_virtual=True)
1.234 + ## bridge-net-device.h: bool ns3::BridgeNetDevice::SetMtu(uint16_t const mtu) [member function]
1.235 + cls.add_method('SetMtu',
1.236 + 'bool',
1.237 + [param('uint16_t const', 'mtu')],
1.238 + is_virtual=True)
1.239 + ## bridge-net-device.h: void ns3::BridgeNetDevice::SetNode(ns3::Ptr<ns3::Node> node) [member function]
1.240 + cls.add_method('SetNode',
1.241 + 'void',
1.242 + [param('ns3::Ptr< ns3::Node >', 'node')],
1.243 + is_virtual=True)
1.244 + ## bridge-net-device.h: void ns3::BridgeNetDevice::SetPromiscReceiveCallback(ns3::Callback<bool, 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> cb) [member function]
1.245 + cls.add_method('SetPromiscReceiveCallback',
1.246 + 'void',
1.247 + [param('ns3::Callback< bool, 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 >', 'cb')],
1.248 + is_virtual=True)
1.249 + ## bridge-net-device.h: void ns3::BridgeNetDevice::SetReceiveCallback(ns3::Callback<bool, ns3::Ptr<ns3::NetDevice>, ns3::Ptr<ns3::Packet const>, unsigned short, ns3::Address const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
1.250 + cls.add_method('SetReceiveCallback',
1.251 + 'void',
1.252 + [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')],
1.253 + is_virtual=True)
1.254 + ## bridge-net-device.h: bool ns3::BridgeNetDevice::SupportsSendFrom() const [member function]
1.255 + cls.add_method('SupportsSendFrom',
1.256 + 'bool',
1.257 + [],
1.258 + is_const=True, is_virtual=True)
1.259 + ## bridge-net-device.h: void ns3::BridgeNetDevice::DoDispose() [member function]
1.260 + cls.add_method('DoDispose',
1.261 + 'void',
1.262 + [],
1.263 + visibility='protected', is_virtual=True)
1.264 + ## bridge-net-device.h: void ns3::BridgeNetDevice::ForwardBroadcast(ns3::Ptr<ns3::NetDevice> incomingPort, ns3::Ptr<ns3::Packet const> packet, uint16_t protocol, ns3::Mac48Address src, ns3::Mac48Address dst) [member function]
1.265 + cls.add_method('ForwardBroadcast',
1.266 + 'void',
1.267 + [param('ns3::Ptr< ns3::NetDevice >', 'incomingPort'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('uint16_t', 'protocol'), param('ns3::Mac48Address', 'src'), param('ns3::Mac48Address', 'dst')],
1.268 + visibility='protected')
1.269 + ## bridge-net-device.h: void ns3::BridgeNetDevice::ForwardUnicast(ns3::Ptr<ns3::NetDevice> incomingPort, ns3::Ptr<ns3::Packet const> packet, uint16_t protocol, ns3::Mac48Address src, ns3::Mac48Address dst) [member function]
1.270 + cls.add_method('ForwardUnicast',
1.271 + 'void',
1.272 + [param('ns3::Ptr< ns3::NetDevice >', 'incomingPort'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('uint16_t', 'protocol'), param('ns3::Mac48Address', 'src'), param('ns3::Mac48Address', 'dst')],
1.273 + visibility='protected')
1.274 + ## bridge-net-device.h: ns3::Ptr<ns3::NetDevice> ns3::BridgeNetDevice::GetLearnedState(ns3::Mac48Address source) [member function]
1.275 + cls.add_method('GetLearnedState',
1.276 + 'ns3::Ptr< ns3::NetDevice >',
1.277 + [param('ns3::Mac48Address', 'source')],
1.278 + visibility='protected')
1.279 + ## bridge-net-device.h: void ns3::BridgeNetDevice::Learn(ns3::Mac48Address source, ns3::Ptr<ns3::NetDevice> port) [member function]
1.280 + cls.add_method('Learn',
1.281 + 'void',
1.282 + [param('ns3::Mac48Address', 'source'), param('ns3::Ptr< ns3::NetDevice >', 'port')],
1.283 + visibility='protected')
1.284 + ## bridge-net-device.h: void ns3::BridgeNetDevice::ReceiveFromDevice(ns3::Ptr<ns3::NetDevice> device, ns3::Ptr<ns3::Packet const> packet, uint16_t protocol, ns3::Address const & source, ns3::Address const & destination, ns3::NetDevice::PacketType packetType) [member function]
1.285 + cls.add_method('ReceiveFromDevice',
1.286 + 'void',
1.287 + [param('ns3::Ptr< ns3::NetDevice >', 'device'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('uint16_t', 'protocol'), param('ns3::Address const &', 'source'), param('ns3::Address const &', 'destination'), param('ns3::NetDevice::PacketType', 'packetType')],
1.288 + visibility='protected')
1.289 + return
1.290 +
1.291 +def register_functions(root_module):
1.292 + module = root_module
1.293 + register_functions_ns3_Config(module.get_submodule('Config'), root_module)
1.294 + register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
1.295 + register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
1.296 + register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
1.297 + register_functions_ns3_flame(module.get_submodule('flame'), root_module)
1.298 + register_functions_ns3_internal(module.get_submodule('internal'), root_module)
1.299 + register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
1.300 + return
1.301 +
1.302 +def register_functions_ns3_Config(module, root_module):
1.303 + return
1.304 +
1.305 +def register_functions_ns3_TimeStepPrecision(module, root_module):
1.306 + return
1.307 +
1.308 +def register_functions_ns3_addressUtils(module, root_module):
1.309 + return
1.310 +
1.311 +def register_functions_ns3_dot11s(module, root_module):
1.312 + return
1.313 +
1.314 +def register_functions_ns3_flame(module, root_module):
1.315 + return
1.316 +
1.317 +def register_functions_ns3_internal(module, root_module):
1.318 + return
1.319 +
1.320 +def register_functions_ns3_olsr(module, root_module):
1.321 + return
1.322 +
2.1 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_common.py Thu Oct 01 14:08:52 2009 +0200
2.2 +++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_common.py Thu Oct 01 14:22:40 2009 +0100
2.3 @@ -0,0 +1,1471 @@
2.4 +from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers
2.5 +
2.6 +def register_types(module):
2.7 + root_module = module.get_root()
2.8 +
2.9 + ## error-model.h: ns3::ErrorUnit [enumeration]
2.10 + module.add_enum('ErrorUnit', ['EU_BIT', 'EU_BYTE', 'EU_PKT'])
2.11 + ## buffer.h: ns3::Buffer [class]
2.12 + module.add_class('Buffer')
2.13 + ## buffer.h: ns3::Buffer::Iterator [class]
2.14 + module.add_class('Iterator', outer_class=root_module['ns3::Buffer'])
2.15 + ## packet.h: ns3::ByteTagIterator [class]
2.16 + module.add_class('ByteTagIterator')
2.17 + ## packet.h: ns3::ByteTagIterator::Item [class]
2.18 + module.add_class('Item', outer_class=root_module['ns3::ByteTagIterator'])
2.19 + ## byte-tag-list.h: ns3::ByteTagList [class]
2.20 + module.add_class('ByteTagList')
2.21 + ## byte-tag-list.h: ns3::ByteTagList::Iterator [class]
2.22 + module.add_class('Iterator', outer_class=root_module['ns3::ByteTagList'])
2.23 + ## byte-tag-list.h: ns3::ByteTagList::Iterator::Item [struct]
2.24 + module.add_class('Item', outer_class=root_module['ns3::ByteTagList::Iterator'])
2.25 + ## data-rate.h: ns3::DataRate [class]
2.26 + module.add_class('DataRate')
2.27 + ## packet.h: ns3::Packet [class]
2.28 + module.add_class('Packet', memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
2.29 + ## packet-metadata.h: ns3::PacketMetadata [class]
2.30 + module.add_class('PacketMetadata')
2.31 + ## packet-metadata.h: ns3::PacketMetadata::Item [struct]
2.32 + module.add_class('Item', outer_class=root_module['ns3::PacketMetadata'])
2.33 + ## packet-metadata.h: ns3::PacketMetadata::Item [enumeration]
2.34 + module.add_enum('', ['PAYLOAD', 'HEADER', 'TRAILER'], outer_class=root_module['ns3::PacketMetadata::Item'])
2.35 + ## packet-metadata.h: ns3::PacketMetadata::ItemIterator [class]
2.36 + module.add_class('ItemIterator', outer_class=root_module['ns3::PacketMetadata'])
2.37 + ## packet.h: ns3::PacketTagIterator [class]
2.38 + module.add_class('PacketTagIterator')
2.39 + ## packet.h: ns3::PacketTagIterator::Item [class]
2.40 + module.add_class('Item', outer_class=root_module['ns3::PacketTagIterator'])
2.41 + ## packet-tag-list.h: ns3::PacketTagList [class]
2.42 + module.add_class('PacketTagList')
2.43 + ## packet-tag-list.h: ns3::PacketTagList::TagData [struct]
2.44 + module.add_class('TagData', outer_class=root_module['ns3::PacketTagList'])
2.45 + ## pcap-file.h: ns3::PcapFile [class]
2.46 + module.add_class('PcapFile')
2.47 + ## tag.h: ns3::Tag [class]
2.48 + module.add_class('Tag', parent=root_module['ns3::ObjectBase'])
2.49 + ## tag-buffer.h: ns3::TagBuffer [class]
2.50 + module.add_class('TagBuffer')
2.51 + ## ascii-writer.h: ns3::AsciiWriter [class]
2.52 + module.add_class('AsciiWriter', parent=root_module['ns3::RefCountBase'])
2.53 + ## ascii-writer.h: ns3::AsciiWriter::Type [enumeration]
2.54 + module.add_enum('Type', ['ENQUEUE', 'DEQUEUE', 'DROP', 'TX', 'RX'], outer_class=root_module['ns3::AsciiWriter'])
2.55 + ## chunk.h: ns3::Chunk [class]
2.56 + module.add_class('Chunk', parent=root_module['ns3::ObjectBase'])
2.57 + ## data-rate.h: ns3::DataRateChecker [class]
2.58 + module.add_class('DataRateChecker', parent=root_module['ns3::AttributeChecker'])
2.59 + ## data-rate.h: ns3::DataRateValue [class]
2.60 + module.add_class('DataRateValue', parent=root_module['ns3::AttributeValue'])
2.61 + ## header.h: ns3::Header [class]
2.62 + module.add_class('Header', parent=root_module['ns3::Chunk'])
2.63 + ## pcap-writer.h: ns3::PcapWriter [class]
2.64 + module.add_class('PcapWriter', parent=root_module['ns3::Object'])
2.65 + ## trailer.h: ns3::Trailer [class]
2.66 + module.add_class('Trailer', parent=root_module['ns3::Chunk'])
2.67 + ## error-model.h: ns3::ErrorModel [class]
2.68 + module.add_class('ErrorModel', parent=root_module['ns3::Object'])
2.69 + ## error-model.h: ns3::ListErrorModel [class]
2.70 + module.add_class('ListErrorModel', parent=root_module['ns3::ErrorModel'])
2.71 + ## nix-vector.h: ns3::NixVector [class]
2.72 + module.add_class('NixVector', parent=root_module['ns3::Object'])
2.73 + ## error-model.h: ns3::RateErrorModel [class]
2.74 + module.add_class('RateErrorModel', parent=root_module['ns3::ErrorModel'])
2.75 +
2.76 + ## Register a nested module for the namespace Config
2.77 +
2.78 + nested_module = module.add_cpp_namespace('Config')
2.79 + register_types_ns3_Config(nested_module)
2.80 +
2.81 +
2.82 + ## Register a nested module for the namespace TimeStepPrecision
2.83 +
2.84 + nested_module = module.add_cpp_namespace('TimeStepPrecision')
2.85 + register_types_ns3_TimeStepPrecision(nested_module)
2.86 +
2.87 +
2.88 + ## Register a nested module for the namespace addressUtils
2.89 +
2.90 + nested_module = module.add_cpp_namespace('addressUtils')
2.91 + register_types_ns3_addressUtils(nested_module)
2.92 +
2.93 +
2.94 + ## Register a nested module for the namespace dot11s
2.95 +
2.96 + nested_module = module.add_cpp_namespace('dot11s')
2.97 + register_types_ns3_dot11s(nested_module)
2.98 +
2.99 +
2.100 + ## Register a nested module for the namespace flame
2.101 +
2.102 + nested_module = module.add_cpp_namespace('flame')
2.103 + register_types_ns3_flame(nested_module)
2.104 +
2.105 +
2.106 + ## Register a nested module for the namespace internal
2.107 +
2.108 + nested_module = module.add_cpp_namespace('internal')
2.109 + register_types_ns3_internal(nested_module)
2.110 +
2.111 +
2.112 + ## Register a nested module for the namespace olsr
2.113 +
2.114 + nested_module = module.add_cpp_namespace('olsr')
2.115 + register_types_ns3_olsr(nested_module)
2.116 +
2.117 +
2.118 +def register_types_ns3_Config(module):
2.119 + root_module = module.get_root()
2.120 +
2.121 +
2.122 +def register_types_ns3_TimeStepPrecision(module):
2.123 + root_module = module.get_root()
2.124 +
2.125 +
2.126 +def register_types_ns3_addressUtils(module):
2.127 + root_module = module.get_root()
2.128 +
2.129 +
2.130 +def register_types_ns3_dot11s(module):
2.131 + root_module = module.get_root()
2.132 +
2.133 +
2.134 +def register_types_ns3_flame(module):
2.135 + root_module = module.get_root()
2.136 +
2.137 +
2.138 +def register_types_ns3_internal(module):
2.139 + root_module = module.get_root()
2.140 +
2.141 +
2.142 +def register_types_ns3_olsr(module):
2.143 + root_module = module.get_root()
2.144 +
2.145 +
2.146 +def register_methods(root_module):
2.147 + register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer'])
2.148 + register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator'])
2.149 + register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator'])
2.150 + register_Ns3ByteTagIteratorItem_methods(root_module, root_module['ns3::ByteTagIterator::Item'])
2.151 + register_Ns3ByteTagList_methods(root_module, root_module['ns3::ByteTagList'])
2.152 + register_Ns3ByteTagListIterator_methods(root_module, root_module['ns3::ByteTagList::Iterator'])
2.153 + register_Ns3ByteTagListIteratorItem_methods(root_module, root_module['ns3::ByteTagList::Iterator::Item'])
2.154 + register_Ns3DataRate_methods(root_module, root_module['ns3::DataRate'])
2.155 + register_Ns3Packet_methods(root_module, root_module['ns3::Packet'])
2.156 + register_Ns3PacketMetadata_methods(root_module, root_module['ns3::PacketMetadata'])
2.157 + register_Ns3PacketMetadataItem_methods(root_module, root_module['ns3::PacketMetadata::Item'])
2.158 + register_Ns3PacketMetadataItemIterator_methods(root_module, root_module['ns3::PacketMetadata::ItemIterator'])
2.159 + register_Ns3PacketTagIterator_methods(root_module, root_module['ns3::PacketTagIterator'])
2.160 + register_Ns3PacketTagIteratorItem_methods(root_module, root_module['ns3::PacketTagIterator::Item'])
2.161 + register_Ns3PacketTagList_methods(root_module, root_module['ns3::PacketTagList'])
2.162 + register_Ns3PacketTagListTagData_methods(root_module, root_module['ns3::PacketTagList::TagData'])
2.163 + register_Ns3PcapFile_methods(root_module, root_module['ns3::PcapFile'])
2.164 + register_Ns3Tag_methods(root_module, root_module['ns3::Tag'])
2.165 + register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer'])
2.166 + register_Ns3AsciiWriter_methods(root_module, root_module['ns3::AsciiWriter'])
2.167 + register_Ns3Chunk_methods(root_module, root_module['ns3::Chunk'])
2.168 + register_Ns3DataRateChecker_methods(root_module, root_module['ns3::DataRateChecker'])
2.169 + register_Ns3DataRateValue_methods(root_module, root_module['ns3::DataRateValue'])
2.170 + register_Ns3Header_methods(root_module, root_module['ns3::Header'])
2.171 + register_Ns3PcapWriter_methods(root_module, root_module['ns3::PcapWriter'])
2.172 + register_Ns3Trailer_methods(root_module, root_module['ns3::Trailer'])
2.173 + register_Ns3ErrorModel_methods(root_module, root_module['ns3::ErrorModel'])
2.174 + register_Ns3ListErrorModel_methods(root_module, root_module['ns3::ListErrorModel'])
2.175 + register_Ns3NixVector_methods(root_module, root_module['ns3::NixVector'])
2.176 + register_Ns3RateErrorModel_methods(root_module, root_module['ns3::RateErrorModel'])
2.177 + return
2.178 +
2.179 +def register_Ns3Buffer_methods(root_module, cls):
2.180 + ## buffer.h: ns3::Buffer::Buffer(ns3::Buffer const & o) [copy constructor]
2.181 + cls.add_constructor([param('ns3::Buffer const &', 'o')])
2.182 + ## buffer.h: ns3::Buffer::Buffer() [constructor]
2.183 + cls.add_constructor([])
2.184 + ## buffer.h: ns3::Buffer::Buffer(uint32_t dataSize) [constructor]
2.185 + cls.add_constructor([param('uint32_t', 'dataSize')])
2.186 + ## buffer.h: bool ns3::Buffer::AddAtEnd(uint32_t end) [member function]
2.187 + cls.add_method('AddAtEnd',
2.188 + 'bool',
2.189 + [param('uint32_t', 'end')])
2.190 + ## buffer.h: void ns3::Buffer::AddAtEnd(ns3::Buffer const & o) [member function]
2.191 + cls.add_method('AddAtEnd',
2.192 + 'void',
2.193 + [param('ns3::Buffer const &', 'o')])
2.194 + ## buffer.h: bool ns3::Buffer::AddAtStart(uint32_t start) [member function]
2.195 + cls.add_method('AddAtStart',
2.196 + 'bool',
2.197 + [param('uint32_t', 'start')])
2.198 + ## buffer.h: ns3::Buffer::Iterator ns3::Buffer::Begin() const [member function]
2.199 + cls.add_method('Begin',
2.200 + 'ns3::Buffer::Iterator',
2.201 + [],
2.202 + is_const=True)
2.203 + ## buffer.h: void ns3::Buffer::CopyData(std::ostream * os, uint32_t size) const [member function]
2.204 + cls.add_method('CopyData',
2.205 + 'void',
2.206 + [param('std::ostream *', 'os'), param('uint32_t', 'size')],
2.207 + is_const=True)
2.208 + ## buffer.h: ns3::Buffer ns3::Buffer::CreateFragment(uint32_t start, uint32_t length) const [member function]
2.209 + cls.add_method('CreateFragment',
2.210 + 'ns3::Buffer',
2.211 + [param('uint32_t', 'start'), param('uint32_t', 'length')],
2.212 + is_const=True)
2.213 + ## buffer.h: ns3::Buffer ns3::Buffer::CreateFullCopy() const [member function]
2.214 + cls.add_method('CreateFullCopy',
2.215 + 'ns3::Buffer',
2.216 + [],
2.217 + is_const=True)
2.218 + ## buffer.h: ns3::Buffer::Iterator ns3::Buffer::End() const [member function]
2.219 + cls.add_method('End',
2.220 + 'ns3::Buffer::Iterator',
2.221 + [],
2.222 + is_const=True)
2.223 + ## buffer.h: int32_t ns3::Buffer::GetCurrentEndOffset() const [member function]
2.224 + cls.add_method('GetCurrentEndOffset',
2.225 + 'int32_t',
2.226 + [],
2.227 + is_const=True)
2.228 + ## buffer.h: int32_t ns3::Buffer::GetCurrentStartOffset() const [member function]
2.229 + cls.add_method('GetCurrentStartOffset',
2.230 + 'int32_t',
2.231 + [],
2.232 + is_const=True)
2.233 + ## buffer.h: uint32_t ns3::Buffer::GetSize() const [member function]
2.234 + cls.add_method('GetSize',
2.235 + 'uint32_t',
2.236 + [],
2.237 + is_const=True)
2.238 + ## buffer.h: uint8_t const * ns3::Buffer::PeekData() const [member function]
2.239 + cls.add_method('PeekData',
2.240 + 'uint8_t const *',
2.241 + [],
2.242 + is_const=True)
2.243 + ## buffer.h: void ns3::Buffer::RemoveAtEnd(uint32_t end) [member function]
2.244 + cls.add_method('RemoveAtEnd',
2.245 + 'void',
2.246 + [param('uint32_t', 'end')])
2.247 + ## buffer.h: void ns3::Buffer::RemoveAtStart(uint32_t start) [member function]
2.248 + cls.add_method('RemoveAtStart',
2.249 + 'void',
2.250 + [param('uint32_t', 'start')])
2.251 + return
2.252 +
2.253 +def register_Ns3BufferIterator_methods(root_module, cls):
2.254 + ## buffer.h: ns3::Buffer::Iterator::Iterator(ns3::Buffer::Iterator const & arg0) [copy constructor]
2.255 + cls.add_constructor([param('ns3::Buffer::Iterator const &', 'arg0')])
2.256 + ## buffer.h: ns3::Buffer::Iterator::Iterator() [constructor]
2.257 + cls.add_constructor([])
2.258 + ## buffer.h: uint16_t ns3::Buffer::Iterator::CalculateIpChecksum(uint16_t size) [member function]
2.259 + cls.add_method('CalculateIpChecksum',
2.260 + 'uint16_t',
2.261 + [param('uint16_t', 'size')])
2.262 + ## buffer.h: uint16_t ns3::Buffer::Iterator::CalculateIpChecksum(uint16_t size, uint32_t initialChecksum) [member function]
2.263 + cls.add_method('CalculateIpChecksum',
2.264 + 'uint16_t',
2.265 + [param('uint16_t', 'size'), param('uint32_t', 'initialChecksum')])
2.266 + ## buffer.h: uint32_t ns3::Buffer::Iterator::GetDistanceFrom(ns3::Buffer::Iterator const & o) const [member function]
2.267 + cls.add_method('GetDistanceFrom',
2.268 + 'uint32_t',
2.269 + [param('ns3::Buffer::Iterator const &', 'o')],
2.270 + is_const=True)
2.271 + ## buffer.h: uint32_t ns3::Buffer::Iterator::GetSize() const [member function]
2.272 + cls.add_method('GetSize',
2.273 + 'uint32_t',
2.274 + [],
2.275 + is_const=True)
2.276 + ## buffer.h: bool ns3::Buffer::Iterator::IsEnd() const [member function]
2.277 + cls.add_method('IsEnd',
2.278 + 'bool',
2.279 + [],
2.280 + is_const=True)
2.281 + ## buffer.h: bool ns3::Buffer::Iterator::IsStart() const [member function]
2.282 + cls.add_method('IsStart',
2.283 + 'bool',
2.284 + [],
2.285 + is_const=True)
2.286 + ## buffer.h: void ns3::Buffer::Iterator::Next() [member function]
2.287 + cls.add_method('Next',
2.288 + 'void',
2.289 + [])
2.290 + ## buffer.h: void ns3::Buffer::Iterator::Next(uint32_t delta) [member function]
2.291 + cls.add_method('Next',
2.292 + 'void',
2.293 + [param('uint32_t', 'delta')])
2.294 + ## buffer.h: void ns3::Buffer::Iterator::Prev() [member function]
2.295 + cls.add_method('Prev',
2.296 + 'void',
2.297 + [])
2.298 + ## buffer.h: void ns3::Buffer::Iterator::Prev(uint32_t delta) [member function]
2.299 + cls.add_method('Prev',
2.300 + 'void',
2.301 + [param('uint32_t', 'delta')])
2.302 + ## buffer.h: void ns3::Buffer::Iterator::Read(uint8_t * buffer, uint32_t size) [member function]
2.303 + cls.add_method('Read',
2.304 + 'void',
2.305 + [param('uint8_t *', 'buffer'), param('uint32_t', 'size')])
2.306 + ## buffer.h: uint16_t ns3::Buffer::Iterator::ReadLsbtohU16() [member function]
2.307 + cls.add_method('ReadLsbtohU16',
2.308 + 'uint16_t',
2.309 + [])
2.310 + ## buffer.h: uint32_t ns3::Buffer::Iterator::ReadLsbtohU32() [member function]
2.311 + cls.add_method('ReadLsbtohU32',
2.312 + 'uint32_t',
2.313 + [])
2.314 + ## buffer.h: uint64_t ns3::Buffer::Iterator::ReadLsbtohU64() [member function]
2.315 + cls.add_method('ReadLsbtohU64',
2.316 + 'uint64_t',
2.317 + [])
2.318 + ## buffer.h: uint16_t ns3::Buffer::Iterator::ReadNtohU16() [member function]
2.319 + cls.add_method('ReadNtohU16',
2.320 + 'uint16_t',
2.321 + [])
2.322 + ## buffer.h: uint32_t ns3::Buffer::Iterator::ReadNtohU32() [member function]
2.323 + cls.add_method('ReadNtohU32',
2.324 + 'uint32_t',
2.325 + [])
2.326 + ## buffer.h: uint64_t ns3::Buffer::Iterator::ReadNtohU64() [member function]
2.327 + cls.add_method('ReadNtohU64',
2.328 + 'uint64_t',
2.329 + [])
2.330 + ## buffer.h: uint16_t ns3::Buffer::Iterator::ReadU16() [member function]
2.331 + cls.add_method('ReadU16',
2.332 + 'uint16_t',
2.333 + [])
2.334 + ## buffer.h: uint32_t ns3::Buffer::Iterator::ReadU32() [member function]
2.335 + cls.add_method('ReadU32',
2.336 + 'uint32_t',
2.337 + [])
2.338 + ## buffer.h: uint64_t ns3::Buffer::Iterator::ReadU64() [member function]
2.339 + cls.add_method('ReadU64',
2.340 + 'uint64_t',
2.341 + [])
2.342 + ## buffer.h: uint8_t ns3::Buffer::Iterator::ReadU8() [member function]
2.343 + cls.add_method('ReadU8',
2.344 + 'uint8_t',
2.345 + [])
2.346 + ## buffer.h: void ns3::Buffer::Iterator::Write(uint8_t const * buffer, uint32_t size) [member function]
2.347 + cls.add_method('Write',
2.348 + 'void',
2.349 + [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
2.350 + ## buffer.h: void ns3::Buffer::Iterator::Write(ns3::Buffer::Iterator start, ns3::Buffer::Iterator end) [member function]
2.351 + cls.add_method('Write',
2.352 + 'void',
2.353 + [param('ns3::Buffer::Iterator', 'start'), param('ns3::Buffer::Iterator', 'end')])
2.354 + ## buffer.h: void ns3::Buffer::Iterator::WriteHtolsbU16(uint16_t data) [member function]
2.355 + cls.add_method('WriteHtolsbU16',
2.356 + 'void',
2.357 + [param('uint16_t', 'data')])
2.358 + ## buffer.h: void ns3::Buffer::Iterator::WriteHtolsbU32(uint32_t data) [member function]
2.359 + cls.add_method('WriteHtolsbU32',
2.360 + 'void',
2.361 + [param('uint32_t', 'data')])
2.362 + ## buffer.h: void ns3::Buffer::Iterator::WriteHtolsbU64(uint64_t data) [member function]
2.363 + cls.add_method('WriteHtolsbU64',
2.364 + 'void',
2.365 + [param('uint64_t', 'data')])
2.366 + ## buffer.h: void ns3::Buffer::Iterator::WriteHtonU16(uint16_t data) [member function]
2.367 + cls.add_method('WriteHtonU16',
2.368 + 'void',
2.369 + [param('uint16_t', 'data')])
2.370 + ## buffer.h: void ns3::Buffer::Iterator::WriteHtonU32(uint32_t data) [member function]
2.371 + cls.add_method('WriteHtonU32',
2.372 + 'void',
2.373 + [param('uint32_t', 'data')])
2.374 + ## buffer.h: void ns3::Buffer::Iterator::WriteHtonU64(uint64_t data) [member function]
2.375 + cls.add_method('WriteHtonU64',
2.376 + 'void',
2.377 + [param('uint64_t', 'data')])
2.378 + ## buffer.h: void ns3::Buffer::Iterator::WriteU16(uint16_t data) [member function]
2.379 + cls.add_method('WriteU16',
2.380 + 'void',
2.381 + [param('uint16_t', 'data')])
2.382 + ## buffer.h: void ns3::Buffer::Iterator::WriteU32(uint32_t data) [member function]
2.383 + cls.add_method('WriteU32',
2.384 + 'void',
2.385 + [param('uint32_t', 'data')])
2.386 + ## buffer.h: void ns3::Buffer::Iterator::WriteU64(uint64_t data) [member function]
2.387 + cls.add_method('WriteU64',
2.388 + 'void',
2.389 + [param('uint64_t', 'data')])
2.390 + ## buffer.h: void ns3::Buffer::Iterator::WriteU8(uint8_t data) [member function]
2.391 + cls.add_method('WriteU8',
2.392 + 'void',
2.393 + [param('uint8_t', 'data')])
2.394 + ## buffer.h: void ns3::Buffer::Iterator::WriteU8(uint8_t data, uint32_t len) [member function]
2.395 + cls.add_method('WriteU8',
2.396 + 'void',
2.397 + [param('uint8_t', 'data'), param('uint32_t', 'len')])
2.398 + return
2.399 +
2.400 +def register_Ns3ByteTagIterator_methods(root_module, cls):
2.401 + ## packet.h: ns3::ByteTagIterator::ByteTagIterator(ns3::ByteTagIterator const & arg0) [copy constructor]
2.402 + cls.add_constructor([param('ns3::ByteTagIterator const &', 'arg0')])
2.403 + ## packet.h: bool ns3::ByteTagIterator::HasNext() const [member function]
2.404 + cls.add_method('HasNext',
2.405 + 'bool',
2.406 + [],
2.407 + is_const=True)
2.408 + ## packet.h: ns3::ByteTagIterator::Item ns3::ByteTagIterator::Next() [member function]
2.409 + cls.add_method('Next',
2.410 + 'ns3::ByteTagIterator::Item',
2.411 + [])
2.412 + return
2.413 +
2.414 +def register_Ns3ByteTagIteratorItem_methods(root_module, cls):
2.415 + ## packet.h: ns3::ByteTagIterator::Item::Item(ns3::ByteTagIterator::Item const & arg0) [copy constructor]
2.416 + cls.add_constructor([param('ns3::ByteTagIterator::Item const &', 'arg0')])
2.417 + ## packet.h: uint32_t ns3::ByteTagIterator::Item::GetEnd() const [member function]
2.418 + cls.add_method('GetEnd',
2.419 + 'uint32_t',
2.420 + [],
2.421 + is_const=True)
2.422 + ## packet.h: uint32_t ns3::ByteTagIterator::Item::GetStart() const [member function]
2.423 + cls.add_method('GetStart',
2.424 + 'uint32_t',
2.425 + [],
2.426 + is_const=True)
2.427 + ## packet.h: void ns3::ByteTagIterator::Item::GetTag(ns3::Tag & tag) const [member function]
2.428 + cls.add_method('GetTag',
2.429 + 'void',
2.430 + [param('ns3::Tag &', 'tag')],
2.431 + is_const=True)
2.432 + ## packet.h: ns3::TypeId ns3::ByteTagIterator::Item::GetTypeId() const [member function]
2.433 + cls.add_method('GetTypeId',
2.434 + 'ns3::TypeId',
2.435 + [],
2.436 + is_const=True)
2.437 + return
2.438 +
2.439 +def register_Ns3ByteTagList_methods(root_module, cls):
2.440 + ## byte-tag-list.h: ns3::ByteTagList::ByteTagList() [constructor]
2.441 + cls.add_constructor([])
2.442 + ## byte-tag-list.h: ns3::ByteTagList::ByteTagList(ns3::ByteTagList const & o) [copy constructor]
2.443 + cls.add_constructor([param('ns3::ByteTagList const &', 'o')])
2.444 + ## byte-tag-list.h: ns3::TagBuffer ns3::ByteTagList::Add(ns3::TypeId tid, uint32_t bufferSize, int32_t start, int32_t end) [member function]
2.445 + cls.add_method('Add',
2.446 + 'ns3::TagBuffer',
2.447 + [param('ns3::TypeId', 'tid'), param('uint32_t', 'bufferSize'), param('int32_t', 'start'), param('int32_t', 'end')])
2.448 + ## byte-tag-list.h: void ns3::ByteTagList::Add(ns3::ByteTagList const & o) [member function]
2.449 + cls.add_method('Add',
2.450 + 'void',
2.451 + [param('ns3::ByteTagList const &', 'o')])
2.452 + ## byte-tag-list.h: void ns3::ByteTagList::AddAtEnd(int32_t adjustment, int32_t appendOffset) [member function]
2.453 + cls.add_method('AddAtEnd',
2.454 + 'void',
2.455 + [param('int32_t', 'adjustment'), param('int32_t', 'appendOffset')])
2.456 + ## byte-tag-list.h: void ns3::ByteTagList::AddAtStart(int32_t adjustment, int32_t prependOffset) [member function]
2.457 + cls.add_method('AddAtStart',
2.458 + 'void',
2.459 + [param('int32_t', 'adjustment'), param('int32_t', 'prependOffset')])
2.460 + ## byte-tag-list.h: ns3::ByteTagList::Iterator ns3::ByteTagList::Begin(int32_t offsetStart, int32_t offsetEnd) const [member function]
2.461 + cls.add_method('Begin',
2.462 + 'ns3::ByteTagList::Iterator',
2.463 + [param('int32_t', 'offsetStart'), param('int32_t', 'offsetEnd')],
2.464 + is_const=True)
2.465 + ## byte-tag-list.h: void ns3::ByteTagList::RemoveAll() [member function]
2.466 + cls.add_method('RemoveAll',
2.467 + 'void',
2.468 + [])
2.469 + return
2.470 +
2.471 +def register_Ns3ByteTagListIterator_methods(root_module, cls):
2.472 + ## byte-tag-list.h: ns3::ByteTagList::Iterator::Iterator(ns3::ByteTagList::Iterator const & arg0) [copy constructor]
2.473 + cls.add_constructor([param('ns3::ByteTagList::Iterator const &', 'arg0')])
2.474 + ## byte-tag-list.h: uint32_t ns3::ByteTagList::Iterator::GetOffsetStart() const [member function]
2.475 + cls.add_method('GetOffsetStart',
2.476 + 'uint32_t',
2.477 + [],
2.478 + is_const=True)
2.479 + ## byte-tag-list.h: bool ns3::ByteTagList::Iterator::HasNext() const [member function]
2.480 + cls.add_method('HasNext',
2.481 + 'bool',
2.482 + [],
2.483 + is_const=True)
2.484 + ## byte-tag-list.h: ns3::ByteTagList::Iterator::Item ns3::ByteTagList::Iterator::Next() [member function]
2.485 + cls.add_method('Next',
2.486 + 'ns3::ByteTagList::Iterator::Item',
2.487 + [])
2.488 + return
2.489 +
2.490 +def register_Ns3ByteTagListIteratorItem_methods(root_module, cls):
2.491 + ## byte-tag-list.h: ns3::ByteTagList::Iterator::Item::Item(ns3::ByteTagList::Iterator::Item const & arg0) [copy constructor]
2.492 + cls.add_constructor([param('ns3::ByteTagList::Iterator::Item const &', 'arg0')])
2.493 + ## byte-tag-list.h: ns3::ByteTagList::Iterator::Item::Item(ns3::TagBuffer buf) [constructor]
2.494 + cls.add_constructor([param('ns3::TagBuffer', 'buf')])
2.495 + ## byte-tag-list.h: ns3::ByteTagList::Iterator::Item::buf [variable]
2.496 + cls.add_instance_attribute('buf', 'ns3::TagBuffer', is_const=False)
2.497 + ## byte-tag-list.h: ns3::ByteTagList::Iterator::Item::end [variable]
2.498 + cls.add_instance_attribute('end', 'int32_t', is_const=False)
2.499 + ## byte-tag-list.h: ns3::ByteTagList::Iterator::Item::size [variable]
2.500 + cls.add_instance_attribute('size', 'uint32_t', is_const=False)
2.501 + ## byte-tag-list.h: ns3::ByteTagList::Iterator::Item::start [variable]
2.502 + cls.add_instance_attribute('start', 'int32_t', is_const=False)
2.503 + ## byte-tag-list.h: ns3::ByteTagList::Iterator::Item::tid [variable]
2.504 + cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
2.505 + return
2.506 +
2.507 +def register_Ns3DataRate_methods(root_module, cls):
2.508 + cls.add_output_stream_operator()
2.509 + cls.add_binary_comparison_operator('!=')
2.510 + cls.add_binary_comparison_operator('<')
2.511 + cls.add_binary_comparison_operator('<=')
2.512 + cls.add_binary_comparison_operator('==')
2.513 + cls.add_binary_comparison_operator('>')
2.514 + cls.add_binary_comparison_operator('>=')
2.515 + ## data-rate.h: ns3::DataRate::DataRate(ns3::DataRate const & arg0) [copy constructor]
2.516 + cls.add_constructor([param('ns3::DataRate const &', 'arg0')])
2.517 + ## data-rate.h: ns3::DataRate::DataRate() [constructor]
2.518 + cls.add_constructor([])
2.519 + ## data-rate.h: ns3::DataRate::DataRate(uint64_t bps) [constructor]
2.520 + cls.add_constructor([param('uint64_t', 'bps')])
2.521 + ## data-rate.h: ns3::DataRate::DataRate(std::string rate) [constructor]
2.522 + cls.add_constructor([param('std::string', 'rate')])
2.523 + ## data-rate.h: double ns3::DataRate::CalculateTxTime(uint32_t bytes) const [member function]
2.524 + cls.add_method('CalculateTxTime',
2.525 + 'double',
2.526 + [param('uint32_t', 'bytes')],
2.527 + is_const=True)
2.528 + ## data-rate.h: uint64_t ns3::DataRate::GetBitRate() const [member function]
2.529 + cls.add_method('GetBitRate',
2.530 + 'uint64_t',
2.531 + [],
2.532 + is_const=True)
2.533 + return
2.534 +
2.535 +def register_Ns3Packet_methods(root_module, cls):
2.536 + cls.add_output_stream_operator()
2.537 + ## packet.h: ns3::Packet::Packet() [constructor]
2.538 + cls.add_constructor([])
2.539 + ## packet.h: ns3::Packet::Packet(ns3::Packet const & o) [copy constructor]
2.540 + cls.add_constructor([param('ns3::Packet const &', 'o')])
2.541 + ## packet.h: ns3::Packet::Packet(uint32_t size) [constructor]
2.542 + cls.add_constructor([param('uint32_t', 'size')])
2.543 + ## packet.h: ns3::Packet::Packet(uint8_t const * buffer, uint32_t size) [constructor]
2.544 + cls.add_constructor([param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
2.545 + ## packet.h: void ns3::Packet::AddAtEnd(ns3::Ptr<ns3::Packet const> packet) [member function]
2.546 + cls.add_method('AddAtEnd',
2.547 + 'void',
2.548 + [param('ns3::Ptr< ns3::Packet const >', 'packet')])
2.549 + ## packet.h: void ns3::Packet::AddByteTag(ns3::Tag const & tag) const [member function]
2.550 + cls.add_method('AddByteTag',
2.551 + 'void',
2.552 + [param('ns3::Tag const &', 'tag')],
2.553 + is_const=True)
2.554 + ## packet.h: void ns3::Packet::AddHeader(ns3::Header const & header) [member function]
2.555 + cls.add_method('AddHeader',
2.556 + 'void',
2.557 + [param('ns3::Header const &', 'header')])
2.558 + ## packet.h: void ns3::Packet::AddPacketTag(ns3::Tag const & tag) const [member function]
2.559 + cls.add_method('AddPacketTag',
2.560 + 'void',
2.561 + [param('ns3::Tag const &', 'tag')],
2.562 + is_const=True)
2.563 + ## packet.h: void ns3::Packet::AddPaddingAtEnd(uint32_t size) [member function]
2.564 + cls.add_method('AddPaddingAtEnd',
2.565 + 'void',
2.566 + [param('uint32_t', 'size')])
2.567 + ## packet.h: void ns3::Packet::AddTrailer(ns3::Trailer const & trailer) [member function]
2.568 + cls.add_method('AddTrailer',
2.569 + 'void',
2.570 + [param('ns3::Trailer const &', 'trailer')])
2.571 + ## packet.h: ns3::PacketMetadata::ItemIterator ns3::Packet::BeginItem() const [member function]
2.572 + cls.add_method('BeginItem',
2.573 + 'ns3::PacketMetadata::ItemIterator',
2.574 + [],
2.575 + is_const=True)
2.576 + ## packet.h: ns3::Ptr<ns3::Packet> ns3::Packet::Copy() const [member function]
2.577 + cls.add_method('Copy',
2.578 + 'ns3::Ptr< ns3::Packet >',
2.579 + [],
2.580 + is_const=True)
2.581 + ## packet.h: uint32_t ns3::Packet::CopyData(uint8_t * buffer, uint32_t size) const [member function]
2.582 + cls.add_method('CopyData',
2.583 + 'uint32_t',
2.584 + [param('uint8_t *', 'buffer'), param('uint32_t', 'size')],
2.585 + is_const=True)
2.586 + ## packet.h: void ns3::Packet::CopyData(std::ostream * os, uint32_t size) const [member function]
2.587 + cls.add_method('CopyData',
2.588 + 'void',
2.589 + [param('std::ostream *', 'os'), param('uint32_t', 'size')],
2.590 + is_const=True)
2.591 + ## packet.h: ns3::Ptr<ns3::Packet> ns3::Packet::CreateFragment(uint32_t start, uint32_t length) const [member function]
2.592 + cls.add_method('CreateFragment',
2.593 + 'ns3::Ptr< ns3::Packet >',
2.594 + [param('uint32_t', 'start'), param('uint32_t', 'length')],
2.595 + is_const=True)
2.596 + ## packet.h: void ns3::Packet::Deserialize(ns3::Buffer buffer) [member function]
2.597 + cls.add_method('Deserialize',
2.598 + 'void',
2.599 + [param('ns3::Buffer', 'buffer')])
2.600 + ## packet.h: static void ns3::Packet::EnableChecking() [member function]
2.601 + cls.add_method('EnableChecking',
2.602 + 'void',
2.603 + [],
2.604 + is_static=True)
2.605 + ## packet.h: static void ns3::Packet::EnablePrinting() [member function]
2.606 + cls.add_method('EnablePrinting',
2.607 + 'void',
2.608 + [],
2.609 + is_static=True)
2.610 + ## packet.h: bool ns3::Packet::FindFirstMatchingByteTag(ns3::Tag & tag) const [member function]
2.611 + cls.add_method('FindFirstMatchingByteTag',
2.612 + 'bool',
2.613 + [param('ns3::Tag &', 'tag')],
2.614 + is_const=True)
2.615 + ## packet.h: ns3::ByteTagIterator ns3::Packet::GetByteTagIterator() const [member function]
2.616 + cls.add_method('GetByteTagIterator',
2.617 + 'ns3::ByteTagIterator',
2.618 + [],
2.619 + is_const=True)
2.620 + ## packet.h: ns3::Ptr<ns3::NixVector> ns3::Packet::GetNixVector() const [member function]
2.621 + cls.add_method('GetNixVector',
2.622 + 'ns3::Ptr< ns3::NixVector >',
2.623 + [],
2.624 + is_const=True)
2.625 + ## packet.h: ns3::PacketTagIterator ns3::Packet::GetPacketTagIterator() const [member function]
2.626 + cls.add_method('GetPacketTagIterator',
2.627 + 'ns3::PacketTagIterator',
2.628 + [],
2.629 + is_const=True)
2.630 + ## packet.h: uint32_t ns3::Packet::GetSize() const [member function]
2.631 + cls.add_method('GetSize',
2.632 + 'uint32_t',
2.633 + [],
2.634 + is_const=True)
2.635 + ## packet.h: uint32_t ns3::Packet::GetUid() const [member function]
2.636 + cls.add_method('GetUid',
2.637 + 'uint32_t',
2.638 + [],
2.639 + is_const=True)
2.640 + ## packet.h: uint8_t const * ns3::Packet::PeekData() const [member function]
2.641 + cls.add_method('PeekData',
2.642 + 'uint8_t const *',
2.643 + [],
2.644 + is_const=True)
2.645 + ## packet.h: uint32_t ns3::Packet::PeekHeader(ns3::Header & header) const [member function]
2.646 + cls.add_method('PeekHeader',
2.647 + 'uint32_t',
2.648 + [param('ns3::Header &', 'header')],
2.649 + is_const=True)
2.650 + ## packet.h: bool ns3::Packet::PeekPacketTag(ns3::Tag & tag) const [member function]
2.651 + cls.add_method('PeekPacketTag',
2.652 + 'bool',
2.653 + [param('ns3::Tag &', 'tag')],
2.654 + is_const=True)
2.655 + ## packet.h: uint32_t ns3::Packet::PeekTrailer(ns3::Trailer & trailer) [member function]
2.656 + cls.add_method('PeekTrailer',
2.657 + 'uint32_t',
2.658 + [param('ns3::Trailer &', 'trailer')])
2.659 + ## packet.h: void ns3::Packet::Print(std::ostream & os) const [member function]
2.660 + cls.add_method('Print',
2.661 + 'void',
2.662 + [param('std::ostream &', 'os')],
2.663 + is_const=True)
2.664 + ## packet.h: void ns3::Packet::PrintByteTags(std::ostream & os) const [member function]
2.665 + cls.add_method('PrintByteTags',
2.666 + 'void',
2.667 + [param('std::ostream &', 'os')],
2.668 + is_const=True)
2.669 + ## packet.h: void ns3::Packet::PrintPacketTags(std::ostream & os) const [member function]
2.670 + cls.add_method('PrintPacketTags',
2.671 + 'void',
2.672 + [param('std::ostream &', 'os')],
2.673 + is_const=True)
2.674 + ## packet.h: void ns3::Packet::RemoveAllByteTags() [member function]
2.675 + cls.add_method('RemoveAllByteTags',
2.676 + 'void',
2.677 + [])
2.678 + ## packet.h: void ns3::Packet::RemoveAllPacketTags() [member function]
2.679 + cls.add_method('RemoveAllPacketTags',
2.680 + 'void',
2.681 + [])
2.682 + ## packet.h: void ns3::Packet::RemoveAtEnd(uint32_t size) [member function]
2.683 + cls.add_method('RemoveAtEnd',
2.684 + 'void',
2.685 + [param('uint32_t', 'size')])
2.686 + ## packet.h: void ns3::Packet::RemoveAtStart(uint32_t size) [member function]
2.687 + cls.add_method('RemoveAtStart',
2.688 + 'void',
2.689 + [param('uint32_t', 'size')])
2.690 + ## packet.h: uint32_t ns3::Packet::RemoveHeader(ns3::Header & header) [member function]
2.691 + cls.add_method('RemoveHeader',
2.692 + 'uint32_t',
2.693 + [param('ns3::Header &', 'header')])
2.694 + ## packet.h: bool ns3::Packet::RemovePacketTag(ns3::Tag & tag) [member function]
2.695 + cls.add_method('RemovePacketTag',
2.696 + 'bool',
2.697 + [param('ns3::Tag &', 'tag')])
2.698 + ## packet.h: uint32_t ns3::Packet::RemoveTrailer(ns3::Trailer & trailer) [member function]
2.699 + cls.add_method('RemoveTrailer',
2.700 + 'uint32_t',
2.701 + [param('ns3::Trailer &', 'trailer')])
2.702 + ## packet.h: ns3::Buffer ns3::Packet::Serialize() const [member function]
2.703 + cls.add_method('Serialize',
2.704 + 'ns3::Buffer',
2.705 + [],
2.706 + is_const=True)
2.707 + ## packet.h: void ns3::Packet::SetNixVector(ns3::Ptr<ns3::NixVector> arg0) [member function]
2.708 + cls.add_method('SetNixVector',
2.709 + 'void',
2.710 + [param('ns3::Ptr< ns3::NixVector >', 'arg0')])
2.711 + return
2.712 +
2.713 +def register_Ns3PacketMetadata_methods(root_module, cls):
2.714 + ## packet-metadata.h: ns3::PacketMetadata::PacketMetadata(uint32_t uid, uint32_t size) [constructor]
2.715 + cls.add_constructor([param('uint32_t', 'uid'), param('uint32_t', 'size')])
2.716 + ## packet-metadata.h: ns3::PacketMetadata::PacketMetadata(ns3::PacketMetadata const & o) [copy constructor]
2.717 + cls.add_constructor([param('ns3::PacketMetadata const &', 'o')])
2.718 + ## packet-metadata.h: void ns3::PacketMetadata::AddAtEnd(ns3::PacketMetadata const & o) [member function]
2.719 + cls.add_method('AddAtEnd',
2.720 + 'void',
2.721 + [param('ns3::PacketMetadata const &', 'o')])
2.722 + ## packet-metadata.h: void ns3::PacketMetadata::AddHeader(ns3::Header const & header, uint32_t size) [member function]
2.723 + cls.add_method('AddHeader',
2.724 + 'void',
2.725 + [param('ns3::Header const &', 'header'), param('uint32_t', 'size')])
2.726 + ## packet-metadata.h: void ns3::PacketMetadata::AddPaddingAtEnd(uint32_t end) [member function]
2.727 + cls.add_method('AddPaddingAtEnd',
2.728 + 'void',
2.729 + [param('uint32_t', 'end')])
2.730 + ## packet-metadata.h: void ns3::PacketMetadata::AddTrailer(ns3::Trailer const & trailer, uint32_t size) [member function]
2.731 + cls.add_method('AddTrailer',
2.732 + 'void',
2.733 + [param('ns3::Trailer const &', 'trailer'), param('uint32_t', 'size')])
2.734 + ## packet-metadata.h: ns3::PacketMetadata::ItemIterator ns3::PacketMetadata::BeginItem(ns3::Buffer buffer) const [member function]
2.735 + cls.add_method('BeginItem',
2.736 + 'ns3::PacketMetadata::ItemIterator',
2.737 + [param('ns3::Buffer', 'buffer')],
2.738 + is_const=True)
2.739 + ## packet-metadata.h: ns3::PacketMetadata ns3::PacketMetadata::CreateFragment(uint32_t start, uint32_t end) const [member function]
2.740 + cls.add_method('CreateFragment',
2.741 + 'ns3::PacketMetadata',
2.742 + [param('uint32_t', 'start'), param('uint32_t', 'end')],
2.743 + is_const=True)
2.744 + ## packet-metadata.h: uint32_t ns3::PacketMetadata::Deserialize(ns3::Buffer::Iterator i) [member function]
2.745 + cls.add_method('Deserialize',
2.746 + 'uint32_t',
2.747 + [param('ns3::Buffer::Iterator', 'i')])
2.748 + ## packet-metadata.h: static void ns3::PacketMetadata::Enable() [member function]
2.749 + cls.add_method('Enable',
2.750 + 'void',
2.751 + [],
2.752 + is_static=True)
2.753 + ## packet-metadata.h: static void ns3::PacketMetadata::EnableChecking() [member function]
2.754 + cls.add_method('EnableChecking',
2.755 + 'void',
2.756 + [],
2.757 + is_static=True)
2.758 + ## packet-metadata.h: uint32_t ns3::PacketMetadata::GetSerializedSize() const [member function]
2.759 + cls.add_method('GetSerializedSize',
2.760 + 'uint32_t',
2.761 + [],
2.762 + is_const=True)
2.763 + ## packet-metadata.h: uint32_t ns3::PacketMetadata::GetUid() const [member function]
2.764 + cls.add_method('GetUid',
2.765 + 'uint32_t',
2.766 + [],
2.767 + is_const=True)
2.768 + ## packet-metadata.h: void ns3::PacketMetadata::RemoveAtEnd(uint32_t end) [member function]
2.769 + cls.add_method('RemoveAtEnd',
2.770 + 'void',
2.771 + [param('uint32_t', 'end')])
2.772 + ## packet-metadata.h: void ns3::PacketMetadata::RemoveAtStart(uint32_t start) [member function]
2.773 + cls.add_method('RemoveAtStart',
2.774 + 'void',
2.775 + [param('uint32_t', 'start')])
2.776 + ## packet-metadata.h: void ns3::PacketMetadata::RemoveHeader(ns3::Header const & header, uint32_t size) [member function]
2.777 + cls.add_method('RemoveHeader',
2.778 + 'void',
2.779 + [param('ns3::Header const &', 'header'), param('uint32_t', 'size')])
2.780 + ## packet-metadata.h: void ns3::PacketMetadata::RemoveTrailer(ns3::Trailer const & trailer, uint32_t size) [member function]
2.781 + cls.add_method('RemoveTrailer',
2.782 + 'void',
2.783 + [param('ns3::Trailer const &', 'trailer'), param('uint32_t', 'size')])
2.784 + ## packet-metadata.h: void ns3::PacketMetadata::Serialize(ns3::Buffer::Iterator i, uint32_t size) const [member function]
2.785 + cls.add_method('Serialize',
2.786 + 'void',
2.787 + [param('ns3::Buffer::Iterator', 'i'), param('uint32_t', 'size')],
2.788 + is_const=True)
2.789 + return
2.790 +
2.791 +def register_Ns3PacketMetadataItem_methods(root_module, cls):
2.792 + ## packet-metadata.h: ns3::PacketMetadata::Item::Item() [constructor]
2.793 + cls.add_constructor([])
2.794 + ## packet-metadata.h: ns3::PacketMetadata::Item::Item(ns3::PacketMetadata::Item const & arg0) [copy constructor]
2.795 + cls.add_constructor([param('ns3::PacketMetadata::Item const &', 'arg0')])
2.796 + ## packet-metadata.h: ns3::PacketMetadata::Item::current [variable]
2.797 + cls.add_instance_attribute('current', 'ns3::Buffer::Iterator', is_const=False)
2.798 + ## packet-metadata.h: ns3::PacketMetadata::Item::currentSize [variable]
2.799 + cls.add_instance_attribute('currentSize', 'uint32_t', is_const=False)
2.800 + ## packet-metadata.h: ns3::PacketMetadata::Item::currentTrimedFromEnd [variable]
2.801 + cls.add_instance_attribute('currentTrimedFromEnd', 'uint32_t', is_const=False)
2.802 + ## packet-metadata.h: ns3::PacketMetadata::Item::currentTrimedFromStart [variable]
2.803 + cls.add_instance_attribute('currentTrimedFromStart', 'uint32_t', is_const=False)
2.804 + ## packet-metadata.h: ns3::PacketMetadata::Item::isFragment [variable]
2.805 + cls.add_instance_attribute('isFragment', 'bool', is_const=False)
2.806 + ## packet-metadata.h: ns3::PacketMetadata::Item::tid [variable]
2.807 + cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
2.808 + return
2.809 +
2.810 +def register_Ns3PacketMetadataItemIterator_methods(root_module, cls):
2.811 + ## packet-metadata.h: ns3::PacketMetadata::ItemIterator::ItemIterator(ns3::PacketMetadata::ItemIterator const & arg0) [copy constructor]
2.812 + cls.add_constructor([param('ns3::PacketMetadata::ItemIterator const &', 'arg0')])
2.813 + ## packet-metadata.h: ns3::PacketMetadata::ItemIterator::ItemIterator(ns3::PacketMetadata const * metadata, ns3::Buffer buffer) [constructor]
2.814 + cls.add_constructor([param('ns3::PacketMetadata const *', 'metadata'), param('ns3::Buffer', 'buffer')])
2.815 + ## packet-metadata.h: bool ns3::PacketMetadata::ItemIterator::HasNext() const [member function]
2.816 + cls.add_method('HasNext',
2.817 + 'bool',
2.818 + [],
2.819 + is_const=True)
2.820 + ## packet-metadata.h: ns3::PacketMetadata::Item ns3::PacketMetadata::ItemIterator::Next() [member function]
2.821 + cls.add_method('Next',
2.822 + 'ns3::PacketMetadata::Item',
2.823 + [])
2.824 + return
2.825 +
2.826 +def register_Ns3PacketTagIterator_methods(root_module, cls):
2.827 + ## packet.h: ns3::PacketTagIterator::PacketTagIterator(ns3::PacketTagIterator const & arg0) [copy constructor]
2.828 + cls.add_constructor([param('ns3::PacketTagIterator const &', 'arg0')])
2.829 + ## packet.h: bool ns3::PacketTagIterator::HasNext() const [member function]
2.830 + cls.add_method('HasNext',
2.831 + 'bool',
2.832 + [],
2.833 + is_const=True)
2.834 + ## packet.h: ns3::PacketTagIterator::Item ns3::PacketTagIterator::Next() [member function]
2.835 + cls.add_method('Next',
2.836 + 'ns3::PacketTagIterator::Item',
2.837 + [])
2.838 + return
2.839 +
2.840 +def register_Ns3PacketTagIteratorItem_methods(root_module, cls):
2.841 + ## packet.h: ns3::PacketTagIterator::Item::Item(ns3::PacketTagIterator::Item const & arg0) [copy constructor]
2.842 + cls.add_constructor([param('ns3::PacketTagIterator::Item const &', 'arg0')])
2.843 + ## packet.h: void ns3::PacketTagIterator::Item::GetTag(ns3::Tag & tag) const [member function]
2.844 + cls.add_method('GetTag',
2.845 + 'void',
2.846 + [param('ns3::Tag &', 'tag')],
2.847 + is_const=True)
2.848 + ## packet.h: ns3::TypeId ns3::PacketTagIterator::Item::GetTypeId() const [member function]
2.849 + cls.add_method('GetTypeId',
2.850 + 'ns3::TypeId',
2.851 + [],
2.852 + is_const=True)
2.853 + return
2.854 +
2.855 +def register_Ns3PacketTagList_methods(root_module, cls):
2.856 + ## packet-tag-list.h: ns3::PacketTagList::PacketTagList() [constructor]
2.857 + cls.add_constructor([])
2.858 + ## packet-tag-list.h: ns3::PacketTagList::PacketTagList(ns3::PacketTagList const & o) [copy constructor]
2.859 + cls.add_constructor([param('ns3::PacketTagList const &', 'o')])
2.860 + ## packet-tag-list.h: void ns3::PacketTagList::Add(ns3::Tag const & tag) const [member function]
2.861 + cls.add_method('Add',
2.862 + 'void',
2.863 + [param('ns3::Tag const &', 'tag')],
2.864 + is_const=True)
2.865 + ## packet-tag-list.h: ns3::PacketTagList::TagData const * ns3::PacketTagList::Head() const [member function]
2.866 + cls.add_method('Head',
2.867 + 'ns3::PacketTagList::TagData const *',
2.868 + [],
2.869 + is_const=True)
2.870 + ## packet-tag-list.h: bool ns3::PacketTagList::Peek(ns3::Tag & tag) const [member function]
2.871 + cls.add_method('Peek',
2.872 + 'bool',
2.873 + [param('ns3::Tag &', 'tag')],
2.874 + is_const=True)
2.875 + ## packet-tag-list.h: bool ns3::PacketTagList::Remove(ns3::Tag & tag) [member function]
2.876 + cls.add_method('Remove',
2.877 + 'bool',
2.878 + [param('ns3::Tag &', 'tag')])
2.879 + ## packet-tag-list.h: void ns3::PacketTagList::RemoveAll() [member function]
2.880 + cls.add_method('RemoveAll',
2.881 + 'void',
2.882 + [])
2.883 + return
2.884 +
2.885 +def register_Ns3PacketTagListTagData_methods(root_module, cls):
2.886 + ## packet-tag-list.h: ns3::PacketTagList::TagData::TagData() [constructor]
2.887 + cls.add_constructor([])
2.888 + ## packet-tag-list.h: ns3::PacketTagList::TagData::TagData(ns3::PacketTagList::TagData const & arg0) [copy constructor]
2.889 + cls.add_constructor([param('ns3::PacketTagList::TagData const &', 'arg0')])
2.890 + ## packet-tag-list.h: ns3::PacketTagList::TagData::count [variable]
2.891 + cls.add_instance_attribute('count', 'uint32_t', is_const=False)
2.892 + ## packet-tag-list.h: ns3::PacketTagList::TagData::data [variable]
2.893 + cls.add_instance_attribute('data', 'uint8_t [ 20 ]', is_const=False)
2.894 + ## packet-tag-list.h: ns3::PacketTagList::TagData::next [variable]
2.895 + cls.add_instance_attribute('next', 'ns3::PacketTagList::TagData *', is_const=False)
2.896 + ## packet-tag-list.h: ns3::PacketTagList::TagData::tid [variable]
2.897 + cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
2.898 + return
2.899 +
2.900 +def register_Ns3PcapFile_methods(root_module, cls):
2.901 + ## pcap-file.h: ns3::PcapFile::PcapFile(ns3::PcapFile const & arg0) [copy constructor]
2.902 + cls.add_constructor([param('ns3::PcapFile const &', 'arg0')])
2.903 + ## pcap-file.h: ns3::PcapFile::PcapFile() [constructor]
2.904 + cls.add_constructor([])
2.905 + ## pcap-file.h: void ns3::PcapFile::Close() [member function]
2.906 + cls.add_method('Close',
2.907 + 'void',
2.908 + [])
2.909 + ## pcap-file.h: uint32_t ns3::PcapFile::GetDataLinkType() [member function]
2.910 + cls.add_method('GetDataLinkType',
2.911 + 'uint32_t',
2.912 + [])
2.913 + ## pcap-file.h: uint32_t ns3::PcapFile::GetMagic() [member function]
2.914 + cls.add_method('GetMagic',
2.915 + 'uint32_t',
2.916 + [])
2.917 + ## pcap-file.h: uint32_t ns3::PcapFile::GetSigFigs() [member function]
2.918 + cls.add_method('GetSigFigs',
2.919 + 'uint32_t',
2.920 + [])
2.921 + ## pcap-file.h: uint32_t ns3::PcapFile::GetSnapLen() [member function]
2.922 + cls.add_method('GetSnapLen',
2.923 + 'uint32_t',
2.924 + [])
2.925 + ## pcap-file.h: bool ns3::PcapFile::GetSwapMode() [member function]
2.926 + cls.add_method('GetSwapMode',
2.927 + 'bool',
2.928 + [])
2.929 + ## pcap-file.h: int32_t ns3::PcapFile::GetTimeZoneOffset() [member function]
2.930 + cls.add_method('GetTimeZoneOffset',
2.931 + 'int32_t',
2.932 + [])
2.933 + ## pcap-file.h: uint16_t ns3::PcapFile::GetVersionMajor() [member function]
2.934 + cls.add_method('GetVersionMajor',
2.935 + 'uint16_t',
2.936 + [])
2.937 + ## pcap-file.h: uint16_t ns3::PcapFile::GetVersionMinor() [member function]
2.938 + cls.add_method('GetVersionMinor',
2.939 + 'uint16_t',
2.940 + [])
2.941 + ## pcap-file.h: bool ns3::PcapFile::Init(uint32_t dataLinkType, uint32_t snapLen=ns3::PcapFile::SNAPLEN_DEFAULT, int32_t timeZoneCorrection=ns3::PcapFile::ZONE_DEFAULT, bool swapMode=false) [member function]
2.942 + cls.add_method('Init',
2.943 + 'bool',
2.944 + [param('uint32_t', 'dataLinkType'), param('uint32_t', 'snapLen', default_value='ns3::PcapFile::SNAPLEN_DEFAULT'), param('int32_t', 'timeZoneCorrection', default_value='ns3::PcapFile::ZONE_DEFAULT'), param('bool', 'swapMode', default_value='false')])
2.945 + ## pcap-file.h: bool ns3::PcapFile::Open(std::string const & filename, std::string const & mode) [member function]
2.946 + cls.add_method('Open',
2.947 + 'bool',
2.948 + [param('std::string const &', 'filename'), param('std::string const &', 'mode')])
2.949 + ## pcap-file.h: bool ns3::PcapFile::Read(uint8_t * const data, uint32_t maxBytes, uint32_t & tsSec, uint32_t & tsUsec, uint32_t & inclLen, uint32_t & origLen, uint32_t & readLen) [member function]
2.950 + cls.add_method('Read',
2.951 + 'bool',
2.952 + [param('uint8_t * const', 'data'), param('uint32_t', 'maxBytes'), param('uint32_t &', 'tsSec'), param('uint32_t &', 'tsUsec'), param('uint32_t &', 'inclLen'), param('uint32_t &', 'origLen'), param('uint32_t &', 'readLen')])
2.953 + ## pcap-file.h: bool ns3::PcapFile::Write(uint32_t tsSec, uint32_t tsUsec, uint8_t const * const data, uint32_t totalLen) [member function]
2.954 + cls.add_method('Write',
2.955 + 'bool',
2.956 + [param('uint32_t', 'tsSec'), param('uint32_t', 'tsUsec'), param('uint8_t const * const', 'data'), param('uint32_t', 'totalLen')])
2.957 + ## pcap-file.h: ns3::PcapFile::SNAPLEN_DEFAULT [variable]
2.958 + cls.add_static_attribute('SNAPLEN_DEFAULT', 'uint32_t const', is_const=True)
2.959 + ## pcap-file.h: ns3::PcapFile::ZONE_DEFAULT [variable]
2.960 + cls.add_static_attribute('ZONE_DEFAULT', 'int32_t const', is_const=True)
2.961 + return
2.962 +
2.963 +def register_Ns3Tag_methods(root_module, cls):
2.964 + ## tag.h: ns3::Tag::Tag() [constructor]
2.965 + cls.add_constructor([])
2.966 + ## tag.h: ns3::Tag::Tag(ns3::Tag const & arg0) [copy constructor]
2.967 + cls.add_constructor([param('ns3::Tag const &', 'arg0')])
2.968 + ## tag.h: void ns3::Tag::Deserialize(ns3::TagBuffer i) [member function]
2.969 + cls.add_method('Deserialize',
2.970 + 'void',
2.971 + [param('ns3::TagBuffer', 'i')],
2.972 + is_pure_virtual=True, is_virtual=True)
2.973 + ## tag.h: uint32_t ns3::Tag::GetSerializedSize() const [member function]
2.974 + cls.add_method('GetSerializedSize',
2.975 + 'uint32_t',
2.976 + [],
2.977 + is_pure_virtual=True, is_const=True, is_virtual=True)
2.978 + ## tag.h: static ns3::TypeId ns3::Tag::GetTypeId() [member function]
2.979 + cls.add_method('GetTypeId',
2.980 + 'ns3::TypeId',
2.981 + [],
2.982 + is_static=True)
2.983 + ## tag.h: void ns3::Tag::Print(std::ostream & os) const [member function]
2.984 + cls.add_method('Print',
2.985 + 'void',
2.986 + [param('std::ostream &', 'os')],
2.987 + is_pure_virtual=True, is_const=True, is_virtual=True)
2.988 + ## tag.h: void ns3::Tag::Serialize(ns3::TagBuffer i) const [member function]
2.989 + cls.add_method('Serialize',
2.990 + 'void',
2.991 + [param('ns3::TagBuffer', 'i')],
2.992 + is_pure_virtual=True, is_const=True, is_virtual=True)
2.993 + return
2.994 +
2.995 +def register_Ns3TagBuffer_methods(root_module, cls):
2.996 + ## tag-buffer.h: ns3::TagBuffer::TagBuffer(ns3::TagBuffer const & arg0) [copy constructor]
2.997 + cls.add_constructor([param('ns3::TagBuffer const &', 'arg0')])
2.998 + ## tag-buffer.h: ns3::TagBuffer::TagBuffer(uint8_t * start, uint8_t * end) [constructor]
2.999 + cls.add_constructor([param('uint8_t *', 'start'), param('uint8_t *', 'end')])
2.1000 + ## tag-buffer.h: void ns3::TagBuffer::CopyFrom(ns3::TagBuffer o) [member function]
2.1001 + cls.add_method('CopyFrom',
2.1002 + 'void',
2.1003 + [param('ns3::TagBuffer', 'o')])
2.1004 + ## tag-buffer.h: void ns3::TagBuffer::Read(uint8_t * buffer, uint32_t size) [member function]
2.1005 + cls.add_method('Read',
2.1006 + 'void',
2.1007 + [param('uint8_t *', 'buffer'), param('uint32_t', 'size')])
2.1008 + ## tag-buffer.h: double ns3::TagBuffer::ReadDouble() [member function]
2.1009 + cls.add_method('ReadDouble',
2.1010 + 'double',
2.1011 + [])
2.1012 + ## tag-buffer.h: uint16_t ns3::TagBuffer::ReadU16() [member function]
2.1013 + cls.add_method('ReadU16',
2.1014 + 'uint16_t',
2.1015 + [])
2.1016 + ## tag-buffer.h: uint32_t ns3::TagBuffer::ReadU32() [member function]
2.1017 + cls.add_method('ReadU32',
2.1018 + 'uint32_t',
2.1019 + [])
2.1020 + ## tag-buffer.h: uint64_t ns3::TagBuffer::ReadU64() [member function]
2.1021 + cls.add_method('ReadU64',
2.1022 + 'uint64_t',
2.1023 + [])
2.1024 + ## tag-buffer.h: uint8_t ns3::TagBuffer::ReadU8() [member function]
2.1025 + cls.add_method('ReadU8',
2.1026 + 'uint8_t',
2.1027 + [])
2.1028 + ## tag-buffer.h: void ns3::TagBuffer::TrimAtEnd(uint32_t trim) [member function]
2.1029 + cls.add_method('TrimAtEnd',
2.1030 + 'void',
2.1031 + [param('uint32_t', 'trim')])
2.1032 + ## tag-buffer.h: void ns3::TagBuffer::Write(uint8_t const * buffer, uint32_t size) [member function]
2.1033 + cls.add_method('Write',
2.1034 + 'void',
2.1035 + [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
2.1036 + ## tag-buffer.h: void ns3::TagBuffer::WriteDouble(double v) [member function]
2.1037 + cls.add_method('WriteDouble',
2.1038 + 'void',
2.1039 + [param('double', 'v')])
2.1040 + ## tag-buffer.h: void ns3::TagBuffer::WriteU16(uint16_t data) [member function]
2.1041 + cls.add_method('WriteU16',
2.1042 + 'void',
2.1043 + [param('uint16_t', 'data')])
2.1044 + ## tag-buffer.h: void ns3::TagBuffer::WriteU32(uint32_t data) [member function]
2.1045 + cls.add_method('WriteU32',
2.1046 + 'void',
2.1047 + [param('uint32_t', 'data')])
2.1048 + ## tag-buffer.h: void ns3::TagBuffer::WriteU64(uint64_t v) [member function]
2.1049 + cls.add_method('WriteU64',
2.1050 + 'void',
2.1051 + [param('uint64_t', 'v')])
2.1052 + ## tag-buffer.h: void ns3::TagBuffer::WriteU8(uint8_t v) [member function]
2.1053 + cls.add_method('WriteU8',
2.1054 + 'void',
2.1055 + [param('uint8_t', 'v')])
2.1056 + return
2.1057 +
2.1058 +def register_Ns3AsciiWriter_methods(root_module, cls):
2.1059 + ## ascii-writer.h: ns3::AsciiWriter::AsciiWriter(ns3::AsciiWriter const & arg0) [copy constructor]
2.1060 + cls.add_constructor([param('ns3::AsciiWriter const &', 'arg0')])
2.1061 + ## ascii-writer.h: static ns3::Ptr<ns3::AsciiWriter> ns3::AsciiWriter::Get(std::ostream & os) [member function]
2.1062 + cls.add_method('Get',
2.1063 + 'ns3::Ptr< ns3::AsciiWriter >',
2.1064 + [param('std::ostream &', 'os')],
2.1065 + is_static=True)
2.1066 + ## ascii-writer.h: void ns3::AsciiWriter::WritePacket(ns3::AsciiWriter::Type type, std::string message, ns3::Ptr<ns3::Packet const> p) [member function]
2.1067 + cls.add_method('WritePacket',
2.1068 + 'void',
2.1069 + [param('ns3::AsciiWriter::Type', 'type'), param('std::string', 'message'), param('ns3::Ptr< ns3::Packet const >', 'p')])
2.1070 + return
2.1071 +
2.1072 +def register_Ns3Chunk_methods(root_module, cls):
2.1073 + ## chunk.h: ns3::Chunk::Chunk() [constructor]
2.1074 + cls.add_constructor([])
2.1075 + ## chunk.h: ns3::Chunk::Chunk(ns3::Chunk const & arg0) [copy constructor]
2.1076 + cls.add_constructor([param('ns3::Chunk const &', 'arg0')])
2.1077 + ## chunk.h: uint32_t ns3::Chunk::Deserialize(ns3::Buffer::Iterator start) [member function]
2.1078 + cls.add_method('Deserialize',
2.1079 + 'uint32_t',
2.1080 + [param('ns3::Buffer::Iterator', 'start')],
2.1081 + is_pure_virtual=True, is_virtual=True)
2.1082 + ## chunk.h: static ns3::TypeId ns3::Chunk::GetTypeId() [member function]
2.1083 + cls.add_method('GetTypeId',
2.1084 + 'ns3::TypeId',
2.1085 + [],
2.1086 + is_static=True)
2.1087 + ## chunk.h: void ns3::Chunk::Print(std::ostream & os) const [member function]
2.1088 + cls.add_method('Print',
2.1089 + 'void',
2.1090 + [param('std::ostream &', 'os')],
2.1091 + is_pure_virtual=True, is_const=True, is_virtual=True)
2.1092 + return
2.1093 +
2.1094 +def register_Ns3DataRateChecker_methods(root_module, cls):
2.1095 + ## data-rate.h: ns3::DataRateChecker::DataRateChecker() [constructor]
2.1096 + cls.add_constructor([])
2.1097 + ## data-rate.h: ns3::DataRateChecker::DataRateChecker(ns3::DataRateChecker const & arg0) [copy constructor]
2.1098 + cls.add_constructor([param('ns3::DataRateChecker const &', 'arg0')])
2.1099 + return
2.1100 +
2.1101 +def register_Ns3DataRateValue_methods(root_module, cls):
2.1102 + ## data-rate.h: ns3::DataRateValue::DataRateValue() [constructor]
2.1103 + cls.add_constructor([])
2.1104 + ## data-rate.h: ns3::DataRateValue::DataRateValue(ns3::DataRateValue const & arg0) [copy constructor]
2.1105 + cls.add_constructor([param('ns3::DataRateValue const &', 'arg0')])
2.1106 + ## data-rate.h: ns3::DataRateValue::DataRateValue(ns3::DataRate const & value) [constructor]
2.1107 + cls.add_constructor([param('ns3::DataRate const &', 'value')])
2.1108 + ## data-rate.h: ns3::Ptr<ns3::AttributeValue> ns3::DataRateValue::Copy() const [member function]
2.1109 + cls.add_method('Copy',
2.1110 + 'ns3::Ptr< ns3::AttributeValue >',
2.1111 + [],
2.1112 + is_const=True, is_virtual=True)
2.1113 + ## data-rate.h: bool ns3::DataRateValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
2.1114 + cls.add_method('DeserializeFromString',
2.1115 + 'bool',
2.1116 + [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
2.1117 + is_virtual=True)
2.1118 + ## data-rate.h: ns3::DataRate ns3::DataRateValue::Get() const [member function]
2.1119 + cls.add_method('Get',
2.1120 + 'ns3::DataRate',
2.1121 + [],
2.1122 + is_const=True)
2.1123 + ## data-rate.h: std::string ns3::DataRateValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
2.1124 + cls.add_method('SerializeToString',
2.1125 + 'std::string',
2.1126 + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')],
2.1127 + is_const=True, is_virtual=True)
2.1128 + ## data-rate.h: void ns3::DataRateValue::Set(ns3::DataRate const & value) [member function]
2.1129 + cls.add_method('Set',
2.1130 + 'void',
2.1131 + [param('ns3::DataRate const &', 'value')])
2.1132 + return
2.1133 +
2.1134 +def register_Ns3Header_methods(root_module, cls):
2.1135 + cls.add_output_stream_operator()
2.1136 + ## header.h: ns3::Header::Header() [constructor]
2.1137 + cls.add_constructor([])
2.1138 + ## header.h: ns3::Header::Header(ns3::Header const & arg0) [copy constructor]
2.1139 + cls.add_constructor([param('ns3::Header const &', 'arg0')])
2.1140 + ## header.h: uint32_t ns3::Header::Deserialize(ns3::Buffer::Iterator start) [member function]
2.1141 + cls.add_method('Deserialize',
2.1142 + 'uint32_t',
2.1143 + [param('ns3::Buffer::Iterator', 'start')],
2.1144 + is_pure_virtual=True, is_virtual=True)
2.1145 + ## header.h: uint32_t ns3::Header::GetSerializedSize() const [member function]
2.1146 + cls.add_method('GetSerializedSize',
2.1147 + 'uint32_t',
2.1148 + [],
2.1149 + is_pure_virtual=True, is_const=True, is_virtual=True)
2.1150 + ## header.h: static ns3::TypeId ns3::Header::GetTypeId() [member function]
2.1151 + cls.add_method('GetTypeId',
2.1152 + 'ns3::TypeId',
2.1153 + [],
2.1154 + is_static=True)
2.1155 + ## header.h: void ns3::Header::Print(std::ostream & os) const [member function]
2.1156 + cls.add_method('Print',
2.1157 + 'void',
2.1158 + [param('std::ostream &', 'os')],
2.1159 + is_pure_virtual=True, is_const=True, is_virtual=True)
2.1160 + ## header.h: void ns3::Header::Serialize(ns3::Buffer::Iterator start) const [member function]
2.1161 + cls.add_method('Serialize',
2.1162 + 'void',
2.1163 + [param('ns3::Buffer::Iterator', 'start')],
2.1164 + is_pure_virtual=True, is_const=True, is_virtual=True)
2.1165 + return
2.1166 +
2.1167 +def register_Ns3PcapWriter_methods(root_module, cls):
2.1168 + ## pcap-writer.h: ns3::PcapWriter::PcapWriter(ns3::PcapWriter const & arg0) [copy constructor]
2.1169 + cls.add_constructor([param('ns3::PcapWriter const &', 'arg0')])
2.1170 + ## pcap-writer.h: ns3::PcapWriter::PcapWriter() [constructor]
2.1171 + cls.add_constructor([])
2.1172 + ## pcap-writer.h: static ns3::TypeId ns3::PcapWriter::GetTypeId() [member function]
2.1173 + cls.add_method('GetTypeId',
2.1174 + 'ns3::TypeId',
2.1175 + [],
2.1176 + is_static=True)
2.1177 + ## pcap-writer.h: void ns3::PcapWriter::Open(std::string const & name) [member function]
2.1178 + cls.add_method('Open',
2.1179 + 'void',
2.1180 + [param('std::string const &', 'name')])
2.1181 + ## pcap-writer.h: void ns3::PcapWriter::SetCaptureSize(uint32_t size) [member function]
2.1182 + cls.add_method('SetCaptureSize',
2.1183 + 'void',
2.1184 + [param('uint32_t', 'size')])
2.1185 + ## pcap-writer.h: void ns3::PcapWriter::WriteEthernetHeader() [member function]
2.1186 + cls.add_method('WriteEthernetHeader',
2.1187 + 'void',
2.1188 + [])
2.1189 + ## pcap-writer.h: void ns3::PcapWriter::WriteIpHeader() [member function]
2.1190 + cls.add_method('WriteIpHeader',
2.1191 + 'void',
2.1192 + [])
2.1193 + ## pcap-writer.h: void ns3::PcapWriter::WritePacket(ns3::Ptr<ns3::Packet const> packet) [member function]
2.1194 + cls.add_method('WritePacket',
2.1195 + 'void',
2.1196 + [param('ns3::Ptr< ns3::Packet const >', 'packet')])
2.1197 + ## pcap-writer.h: void ns3::PcapWriter::WritePppHeader() [member function]
2.1198 + cls.add_method('WritePppHeader',
2.1199 + 'void',
2.1200 + [])
2.1201 + ## pcap-writer.h: void ns3::PcapWriter::WriteWifiHeader() [member function]
2.1202 + cls.add_method('WriteWifiHeader',
2.1203 + 'void',
2.1204 + [])
2.1205 + ## pcap-writer.h: void ns3::PcapWriter::WriteWifiMonitorPacket(ns3::Ptr<ns3::Packet const> packet, uint16_t channelFreqMhz, uint16_t channelNumber, uint32_t rate, bool isShortPreamble, bool isTx, double signalDbm, double noiseDbm) [member function]
2.1206 + cls.add_method('WriteWifiMonitorPacket',
2.1207 + 'void',
2.1208 + [param('ns3::Ptr< ns3::Packet const >', 'packet'), param('uint16_t', 'channelFreqMhz'), param('uint16_t', 'channelNumber'), param('uint32_t', 'rate'), param('bool', 'isShortPreamble'), param('bool', 'isTx'), param('double', 'signalDbm'), param('double', 'noiseDbm')])
2.1209 + ## pcap-writer.h: void ns3::PcapWriter::WriteWifiPrismHeader() [member function]
2.1210 + cls.add_method('WriteWifiPrismHeader',
2.1211 + 'void',
2.1212 + [])
2.1213 + ## pcap-writer.h: void ns3::PcapWriter::WriteWifiRadiotapHeader() [member function]
2.1214 + cls.add_method('WriteWifiRadiotapHeader',
2.1215 + 'void',
2.1216 + [])
2.1217 + return
2.1218 +
2.1219 +def register_Ns3Trailer_methods(root_module, cls):
2.1220 + cls.add_output_stream_operator()
2.1221 + ## trailer.h: ns3::Trailer::Trailer() [constructor]
2.1222 + cls.add_constructor([])
2.1223 + ## trailer.h: ns3::Trailer::Trailer(ns3::Trailer const & arg0) [copy constructor]
2.1224 + cls.add_constructor([param('ns3::Trailer const &', 'arg0')])
2.1225 + ## trailer.h: uint32_t ns3::Trailer::Deserialize(ns3::Buffer::Iterator end) [member function]
2.1226 + cls.add_method('Deserialize',
2.1227 + 'uint32_t',
2.1228 + [param('ns3::Buffer::Iterator', 'end')],
2.1229 + is_pure_virtual=True, is_virtual=True)
2.1230 + ## trailer.h: uint32_t ns3::Trailer::GetSerializedSize() const [member function]
2.1231 + cls.add_method('GetSerializedSize',
2.1232 + 'uint32_t',
2.1233 + [],
2.1234 + is_pure_virtual=True, is_const=True, is_virtual=True)
2.1235 + ## trailer.h: static ns3::TypeId ns3::Trailer::GetTypeId() [member function]
2.1236 + cls.add_method('GetTypeId',
2.1237 + 'ns3::TypeId',
2.1238 + [],
2.1239 + is_static=True)
2.1240 + ## trailer.h: void ns3::Trailer::Print(std::ostream & os) const [member function]
2.1241 + cls.add_method('Print',
2.1242 + 'void',
2.1243 + [param('std::ostream &', 'os')],
2.1244 + is_pure_virtual=True, is_const=True, is_virtual=True)
2.1245 + ## trailer.h: void ns3::Trailer::Serialize(ns3::Buffer::Iterator start) const [member function]
2.1246 + cls.add_method('Serialize',
2.1247 + 'void',
2.1248 + [param('ns3::Buffer::Iterator', 'start')],
2.1249 + is_pure_virtual=True, is_const=True, is_virtual=True)
2.1250 + return
2.1251 +
2.1252 +def register_Ns3ErrorModel_methods(root_module, cls):
2.1253 + ## error-model.h: ns3::ErrorModel::ErrorModel(ns3::ErrorModel const & arg0) [copy constructor]
2.1254 + cls.add_constructor([param('ns3::ErrorModel const &', 'arg0')])
2.1255 + ## error-model.h: ns3::ErrorModel::ErrorModel() [constructor]
2.1256 + cls.add_constructor([])
2.1257 + ## error-model.h: void ns3::ErrorModel::Disable() [member function]
2.1258 + cls.add_method('Disable',
2.1259 + 'void',
2.1260 + [])
2.1261 + ## error-model.h: void ns3::ErrorModel::Enable() [member function]
2.1262 + cls.add_method('Enable',
2.1263 + 'void',
2.1264 + [])
2.1265 + ## error-model.h: static ns3::TypeId ns3::ErrorModel::GetTypeId() [member function]
2.1266 + cls.add_method('GetTypeId',
2.1267 + 'ns3::TypeId',
2.1268 + [],
2.1269 + is_static=True)
2.1270 + ## error-model.h: bool ns3::ErrorModel::IsCorrupt(ns3::Ptr<ns3::Packet> pkt) [member function]
2.1271 + cls.add_method('IsCorrupt',
2.1272 + 'bool',
2.1273 + [param('ns3::Ptr< ns3::Packet >', 'pkt')])
2.1274 + ## error-model.h: bool ns3::ErrorModel::IsEnabled() const [member function]
2.1275 + cls.add_method('IsEnabled',
2.1276 + 'bool',
2.1277 + [],
2.1278 + is_const=True)
2.1279 + ## error-model.h: void ns3::ErrorModel::Reset() [member function]
2.1280 + cls.add_method('Reset',
2.1281 + 'void',
2.1282 + [])
2.1283 + ## error-model.h: bool ns3::ErrorModel::DoCorrupt(ns3::Ptr<ns3::Packet> arg0) [member function]
2.1284 + cls.add_method('DoCorrupt',
2.1285 + 'bool',
2.1286 + [param('ns3::Ptr< ns3::Packet >', 'arg0')],
2.1287 + is_pure_virtual=True, visibility='private', is_virtual=True)
2.1288 + ## error-model.h: void ns3::ErrorModel::DoReset() [member function]
2.1289 + cls.add_method('DoReset',
2.1290 + 'void',
2.1291 + [],
2.1292 + is_pure_virtual=True, visibility='private', is_virtual=True)
2.1293 + return
2.1294 +
2.1295 +def register_Ns3ListErrorModel_methods(root_module, cls):
2.1296 + ## error-model.h: ns3::ListErrorModel::ListErrorModel(ns3::ListErrorModel const & arg0) [copy constructor]
2.1297 + cls.add_constructor([param('ns3::ListErrorModel const &', 'arg0')])
2.1298 + ## error-model.h: ns3::ListErrorModel::ListErrorModel() [constructor]
2.1299 + cls.add_constructor([])
2.1300 + ## error-model.h: std::list<unsigned int, std::allocator<unsigned int> > ns3::ListErrorModel::GetList() const [member function]
2.1301 + cls.add_method('GetList',
2.1302 + 'std::list< unsigned int >',
2.1303 + [],
2.1304 + is_const=True)
2.1305 + ## error-model.h: static ns3::TypeId ns3::ListErrorModel::GetTypeId() [member function]
2.1306 + cls.add_method('GetTypeId',
2.1307 + 'ns3::TypeId',
2.1308 + [],
2.1309 + is_static=True)
2.1310 + ## error-model.h: void ns3::ListErrorModel::SetList(std::list<unsigned int, std::allocator<unsigned int> > const & packetlist) [member function]
2.1311 + cls.add_method('SetList',
2.1312 + 'void',
2.1313 + [param('std::list< unsigned int > const &', 'packetlist')])
2.1314 + ## error-model.h: bool ns3::ListErrorModel::DoCorrupt(ns3::Ptr<ns3::Packet> p) [member function]
2.1315 + cls.add_method('DoCorrupt',
2.1316 + 'bool',
2.1317 + [param('ns3::Ptr< ns3::Packet >', 'p')],
2.1318 + visibility='private', is_virtual=True)
2.1319 + ## error-model.h: void ns3::ListErrorModel::DoReset() [member function]
2.1320 + cls.add_method('DoReset',
2.1321 + 'void',
2.1322 + [],
2.1323 + visibility='private', is_virtual=True)
2.1324 + return
2.1325 +
2.1326 +def register_Ns3NixVector_methods(root_module, cls):
2.1327 + cls.add_output_stream_operator()
2.1328 + ## nix-vector.h: ns3::NixVector::NixVector() [constructor]
2.1329 + cls.add_constructor([])
2.1330 + ## nix-vector.h: ns3::NixVector::NixVector(ns3::NixVector const & o) [copy constructor]
2.1331 + cls.add_constructor([param('ns3::NixVector const &', 'o')])
2.1332 + ## nix-vector.h: void ns3::NixVector::AddNeighborIndex(uint32_t newBits, uint32_t numberOfBits) [member function]
2.1333 + cls.add_method('AddNeighborIndex',
2.1334 + 'void',
2.1335 + [param('uint32_t', 'newBits'), param('uint32_t', 'numberOfBits')])
2.1336 + ## nix-vector.h: uint32_t ns3::NixVector::BitCount(uint32_t numberOfNeighbors) const [member function]
2.1337 + cls.add_method('BitCount',
2.1338 + 'uint32_t',
2.1339 + [param('uint32_t', 'numberOfNeighbors')],
2.1340 + is_const=True)
2.1341 + ## nix-vector.h: ns3::Ptr<ns3::NixVector> ns3::NixVector::Copy() const [member function]
2.1342 + cls.add_method('Copy',
2.1343 + 'ns3::Ptr< ns3::NixVector >',
2.1344 + [],
2.1345 + is_const=True)
2.1346 + ## nix-vector.h: uint32_t ns3::NixVector::Deserialize(ns3::Buffer::Iterator i) [member function]
2.1347 + cls.add_method('Deserialize',
2.1348 + 'uint32_t',
2.1349 + [param('ns3::Buffer::Iterator', 'i')])
2.1350 + ## nix-vector.h: void ns3::NixVector::DumpNixVector(std::ostream & os) const [member function]
2.1351 + cls.add_method('DumpNixVector',
2.1352 + 'void',
2.1353 + [param('std::ostream &', 'os')],
2.1354 + is_const=True)
2.1355 + ## nix-vector.h: uint32_t ns3::NixVector::ExtractNeighborIndex(uint32_t numberOfBits) [member function]
2.1356 + cls.add_method('ExtractNeighborIndex',
2.1357 + 'uint32_t',
2.1358 + [param('uint32_t', 'numberOfBits')])
2.1359 + ## nix-vector.h: uint32_t ns3::NixVector::GetRemainingBits() [member function]
2.1360 + cls.add_method('GetRemainingBits',
2.1361 + 'uint32_t',
2.1362 + [])
2.1363 + ## nix-vector.h: uint32_t ns3::NixVector::GetSerializedSize() const [member function]
2.1364 + cls.add_method('GetSerializedSize',
2.1365 + 'uint32_t',
2.1366 + [],
2.1367 + is_const=True)
2.1368 + ## nix-vector.h: static ns3::TypeId ns3::NixVector::GetTypeId() [member function]
2.1369 + cls.add_method('GetTypeId',
2.1370 + 'ns3::TypeId',
2.1371 + [],
2.1372 + is_static=True)
2.1373 + ## nix-vector.h: void ns3::NixVector::Serialize(ns3::Buffer::Iterator i, uint32_t size) const [member function]
2.1374 + cls.add_method('Serialize',
2.1375 + 'void',
2.1376 + [param('ns3::Buffer::Iterator', 'i'), param('uint32_t', 'size')],
2.1377 + is_const=True)
2.1378 + return
2.1379 +
2.1380 +def register_Ns3RateErrorModel_methods(root_module, cls):
2.1381 + ## error-model.h: ns3::RateErrorModel::RateErrorModel(ns3::RateErrorModel const & arg0) [copy constructor]
2.1382 + cls.add_constructor([param('ns3::RateErrorModel const &', 'arg0')])
2.1383 + ## error-model.h: ns3::RateErrorModel::RateErrorModel() [constructor]
2.1384 + cls.add_constructor([])
2.1385 + ## error-model.h: double ns3::RateErrorModel::GetRate() const [member function]
2.1386 + cls.add_method('GetRate',
2.1387 + 'double',
2.1388 + [],
2.1389 + is_const=True)
2.1390 + ## error-model.h: static ns3::TypeId ns3::RateErrorModel::GetTypeId() [member function]
2.1391 + cls.add_method('GetTypeId',
2.1392 + 'ns3::TypeId',
2.1393 + [],
2.1394 + is_static=True)
2.1395 + ## error-model.h: ns3::ErrorUnit ns3::RateErrorModel::GetUnit() const [member function]
2.1396 + cls.add_method('GetUnit',
2.1397 + 'ns3::ErrorUnit',
2.1398 + [],
2.1399 + is_const=True)
2.1400 + ## error-model.h: void ns3::RateErrorModel::SetRandomVariable(ns3::RandomVariable const & ranvar) [member function]
2.1401 + cls.add_method('SetRandomVariable',
2.1402 + 'void',
2.1403 + [param('ns3::RandomVariable const &', 'ranvar')])
2.1404 + ## error-model.h: void ns3::RateErrorModel::SetRate(double rate) [member function]
2.1405 + cls.add_method('SetRate',
2.1406 + 'void',
2.1407 + [param('double', 'rate')])
2.1408 + ## error-model.h: void ns3::RateErrorModel::SetUnit(ns3::ErrorUnit error_unit) [member function]
2.1409 + cls.add_method('SetUnit',
2.1410 + 'void',
2.1411 + [param('ns3::ErrorUnit', 'error_unit')])
2.1412 + ## error-model.h: bool ns3::RateErrorModel::DoCorrupt(ns3::Ptr<ns3::Packet> p) [member function]
2.1413 + cls.add_method('DoCorrupt',
2.1414 + 'bool',
2.1415 + [param('ns3::Ptr< ns3::Packet >', 'p')],
2.1416 + visibility='private', is_virtual=True)
2.1417 + ## error-model.h: bool ns3::RateErrorModel::DoCorruptBit(ns3::Ptr<ns3::Packet> p) [member function]
2.1418 + cls.add_method('DoCorruptBit',
2.1419 + 'bool',
2.1420 + [param('ns3::Ptr< ns3::Packet >', 'p')],
2.1421 + visibility='private', is_virtual=True)
2.1422 + ## error-model.h: bool ns3::RateErrorModel::DoCorruptByte(ns3::Ptr<ns3::Packet> p) [member function]
2.1423 + cls.add_method('DoCorruptByte',
2.1424 + 'bool',
2.1425 + [param('ns3::Ptr< ns3::Packet >', 'p')],
2.1426 + visibility='private', is_virtual=True)
2.1427 + ## error-model.h: bool ns3::RateErrorModel::DoCorruptPkt(ns3::Ptr<ns3::Packet> p) [member function]
2.1428 + cls.add_method('DoCorruptPkt',
2.1429 + 'bool',
2.1430 + [param('ns3::Ptr< ns3::Packet >', 'p')],
2.1431 + visibility='private', is_virtual=True)
2.1432 + ## error-model.h: void ns3::RateErrorModel::DoReset() [member function]
2.1433 + cls.add_method('DoReset',
2.1434 + 'void',
2.1435 + [],
2.1436 + visibility='private', is_virtual=True)
2.1437 + return
2.1438 +
2.1439 +def register_functions(root_module):
2.1440 + module = root_module
2.1441 + ## data-rate.h: extern ns3::Ptr<ns3::AttributeChecker const> ns3::MakeDataRateChecker() [free function]
2.1442 + module.add_function('MakeDataRateChecker',
2.1443 + 'ns3::Ptr< ns3::AttributeChecker const >',
2.1444 + [])
2.1445 + register_functions_ns3_Config(module.get_submodule('Config'), root_module)
2.1446 + register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
2.1447 + register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
2.1448 + register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
2.1449 + register_functions_ns3_flame(module.get_submodule('flame'), root_module)
2.1450 + register_functions_ns3_internal(module.get_submodule('internal'), root_module)
2.1451 + register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
2.1452 + return
2.1453 +
2.1454 +def register_functions_ns3_Config(module, root_module):
2.1455 + return
2.1456 +
2.1457 +def register_functions_ns3_TimeStepPrecision(module, root_module):
2.1458 + return
2.1459 +
2.1460 +def register_functions_ns3_addressUtils(module, root_module):
2.1461 + return
2.1462 +
2.1463 +def register_functions_ns3_dot11s(module, root_module):
2.1464 + return
2.1465 +
2.1466 +def register_functions_ns3_flame(module, root_module):
2.1467 + return
2.1468 +
2.1469 +def register_functions_ns3_internal(module, root_module):
2.1470 + return
2.1471 +
2.1472 +def register_functions_ns3_olsr(module, root_module):
2.1473 + return
2.1474 +
3.1 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_contrib.py Thu Oct 01 14:08:52 2009 +0200
3.2 +++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_contrib.py Thu Oct 01 14:22:40 2009 +0100
3.3 @@ -0,0 +1,530 @@
3.4 +from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers
3.5 +
3.6 +def register_types(module):
3.7 + root_module = module.get_root()
3.8 +
3.9 + ## delay-jitter-estimation.h: ns3::DelayJitterEstimation [class]
3.10 + module.add_class('DelayJitterEstimation')
3.11 + ## event-garbage-collector.h: ns3::EventGarbageCollector [class]
3.12 + module.add_class('EventGarbageCollector')
3.13 + ## file-config.h: ns3::FileConfig [class]
3.14 + module.add_class('FileConfig', allow_subclassing=True)
3.15 + ## gnuplot.h: ns3::Gnuplot [class]
3.16 + module.add_class('Gnuplot')
3.17 + ## gnuplot.h: ns3::GnuplotCollection [class]
3.18 + module.add_class('GnuplotCollection')
3.19 + ## gnuplot.h: ns3::GnuplotDataset [class]
3.20 + module.add_class('GnuplotDataset')
3.21 + ## gtk-config-store.h: ns3::GtkConfigStore [class]
3.22 + module.add_class('GtkConfigStore')
3.23 + ## file-config.h: ns3::NoneFileConfig [class]
3.24 + module.add_class('NoneFileConfig', parent=root_module['ns3::FileConfig'])
3.25 + ## config-store.h: ns3::ConfigStore [class]
3.26 + module.add_class('ConfigStore', parent=root_module['ns3::ObjectBase'])
3.27 + ## config-store.h: ns3::ConfigStore::Mode [enumeration]
3.28 + module.add_enum('Mode', ['LOAD', 'SAVE', 'NONE'], outer_class=root_module['ns3::ConfigStore'])
3.29 + ## config-store.h: ns3::ConfigStore::FileFormat [enumeration]
3.30 + module.add_enum('FileFormat', ['XML', 'RAW_TEXT'], outer_class=root_module['ns3::ConfigStore'])
3.31 + ## flow-id-tag.h: ns3::FlowIdTag [class]
3.32 + module.add_class('FlowIdTag', parent=root_module['ns3::Tag'])
3.33 + ## gnuplot.h: ns3::Gnuplot2dDataset [class]
3.34 + module.add_class('Gnuplot2dDataset', parent=root_module['ns3::GnuplotDataset'])
3.35 + ## gnuplot.h: ns3::Gnuplot2dDataset::Style [enumeration]
3.36 + module.add_enum('Style', ['LINES', 'POINTS', 'LINES_POINTS', 'DOTS', 'IMPULSES', 'STEPS', 'FSTEPS', 'HISTEPS'], outer_class=root_module['ns3::Gnuplot2dDataset'])
3.37 + ## gnuplot.h: ns3::Gnuplot2dDataset::ErrorBars [enumeration]
3.38 + module.add_enum('ErrorBars', ['NONE', 'X', 'Y', 'XY'], outer_class=root_module['ns3::Gnuplot2dDataset'])
3.39 + ## gnuplot.h: ns3::Gnuplot2dFunction [class]
3.40 + module.add_class('Gnuplot2dFunction', parent=root_module['ns3::GnuplotDataset'])
3.41 + ## gnuplot.h: ns3::Gnuplot3dDataset [class]
3.42 + module.add_class('Gnuplot3dDataset', parent=root_module['ns3::GnuplotDataset'])
3.43 + ## gnuplot.h: ns3::Gnuplot3dFunction [class]
3.44 + module.add_class('Gnuplot3dFunction', parent=root_module['ns3::GnuplotDataset'])
3.45 +
3.46 + ## Register a nested module for the namespace Config
3.47 +
3.48 + nested_module = module.add_cpp_namespace('Config')
3.49 + register_types_ns3_Config(nested_module)
3.50 +
3.51 +
3.52 + ## Register a nested module for the namespace TimeStepPrecision
3.53 +
3.54 + nested_module = module.add_cpp_namespace('TimeStepPrecision')
3.55 + register_types_ns3_TimeStepPrecision(nested_module)
3.56 +
3.57 +
3.58 + ## Register a nested module for the namespace addressUtils
3.59 +
3.60 + nested_module = module.add_cpp_namespace('addressUtils')
3.61 + register_types_ns3_addressUtils(nested_module)
3.62 +
3.63 +
3.64 + ## Register a nested module for the namespace dot11s
3.65 +
3.66 + nested_module = module.add_cpp_namespace('dot11s')
3.67 + register_types_ns3_dot11s(nested_module)
3.68 +
3.69 +
3.70 + ## Register a nested module for the namespace flame
3.71 +
3.72 + nested_module = module.add_cpp_namespace('flame')
3.73 + register_types_ns3_flame(nested_module)
3.74 +
3.75 +
3.76 + ## Register a nested module for the namespace internal
3.77 +
3.78 + nested_module = module.add_cpp_namespace('internal')
3.79 + register_types_ns3_internal(nested_module)
3.80 +
3.81 +
3.82 + ## Register a nested module for the namespace olsr
3.83 +
3.84 + nested_module = module.add_cpp_namespace('olsr')
3.85 + register_types_ns3_olsr(nested_module)
3.86 +
3.87 +
3.88 +def register_types_ns3_Config(module):
3.89 + root_module = module.get_root()
3.90 +
3.91 +
3.92 +def register_types_ns3_TimeStepPrecision(module):
3.93 + root_module = module.get_root()
3.94 +
3.95 +
3.96 +def register_types_ns3_addressUtils(module):
3.97 + root_module = module.get_root()
3.98 +
3.99 +
3.100 +def register_types_ns3_dot11s(module):
3.101 + root_module = module.get_root()
3.102 +
3.103 +
3.104 +def register_types_ns3_flame(module):
3.105 + root_module = module.get_root()
3.106 +
3.107 +
3.108 +def register_types_ns3_internal(module):
3.109 + root_module = module.get_root()
3.110 +
3.111 +
3.112 +def register_types_ns3_olsr(module):
3.113 + root_module = module.get_root()
3.114 +
3.115 +
3.116 +def register_methods(root_module):
3.117 + register_Ns3DelayJitterEstimation_methods(root_module, root_module['ns3::DelayJitterEstimation'])
3.118 + register_Ns3EventGarbageCollector_methods(root_module, root_module['ns3::EventGarbageCollector'])
3.119 + register_Ns3FileConfig_methods(root_module, root_module['ns3::FileConfig'])
3.120 + register_Ns3Gnuplot_methods(root_module, root_module['ns3::Gnuplot'])
3.121 + register_Ns3GnuplotCollection_methods(root_module, root_module['ns3::GnuplotCollection'])
3.122 + register_Ns3GnuplotDataset_methods(root_module, root_module['ns3::GnuplotDataset'])
3.123 + register_Ns3GtkConfigStore_methods(root_module, root_module['ns3::GtkConfigStore'])
3.124 + register_Ns3NoneFileConfig_methods(root_module, root_module['ns3::NoneFileConfig'])
3.125 + register_Ns3ConfigStore_methods(root_module, root_module['ns3::ConfigStore'])
3.126 + register_Ns3FlowIdTag_methods(root_module, root_module['ns3::FlowIdTag'])
3.127 + register_Ns3Gnuplot2dDataset_methods(root_module, root_module['ns3::Gnuplot2dDataset'])
3.128 + register_Ns3Gnuplot2dFunction_methods(root_module, root_module['ns3::Gnuplot2dFunction'])
3.129 + register_Ns3Gnuplot3dDataset_methods(root_module, root_module['ns3::Gnuplot3dDataset'])
3.130 + register_Ns3Gnuplot3dFunction_methods(root_module, root_module['ns3::Gnuplot3dFunction'])
3.131 + return
3.132 +
3.133 +def register_Ns3DelayJitterEstimation_methods(root_module, cls):
3.134 + ## delay-jitter-estimation.h: ns3::DelayJitterEstimation::DelayJitterEstimation(ns3::DelayJitterEstimation const & arg0) [copy constructor]
3.135 + cls.add_constructor([param('ns3::DelayJitterEstimation const &', 'arg0')])
3.136 + ## delay-jitter-estimation.h: ns3::DelayJitterEstimation::DelayJitterEstimation() [constructor]
3.137 + cls.add_constructor([])
3.138 + ## delay-jitter-estimation.h: ns3::Time ns3::DelayJitterEstimation::GetLastDelay() const [member function]
3.139 + cls.add_method('GetLastDelay',
3.140 + 'ns3::Time',
3.141 + [],
3.142 + is_const=True)
3.143 + ## delay-jitter-estimation.h: ns3::Time ns3::DelayJitterEstimation::GetLastJitter() const [member function]
3.144 + cls.add_method('GetLastJitter',
3.145 + 'ns3::Time',
3.146 + [],
3.147 + is_const=True)
3.148 + ## delay-jitter-estimation.h: static void ns3::DelayJitterEstimation::PrepareTx(ns3::Ptr<ns3::Packet const> packet) [member function]
3.149 + cls.add_method('PrepareTx',
3.150 + 'void',
3.151 + [param('ns3::Ptr< ns3::Packet const >', 'packet')],
3.152 + is_static=True)
3.153 + ## delay-jitter-estimation.h: void ns3::DelayJitterEstimation::RecordRx(ns3::Ptr<ns3::Packet const> packet) [member function]
3.154 + cls.add_method('RecordRx',
3.155 + 'void',
3.156 + [param('ns3::Ptr< ns3::Packet const >', 'packet')])
3.157 + return
3.158 +
3.159 +def register_Ns3EventGarbageCollector_methods(root_module, cls):
3.160 + ## event-garbage-collector.h: ns3::EventGarbageCollector::EventGarbageCollector(ns3::EventGarbageCollector const & arg0) [copy constructor]
3.161 + cls.add_constructor([param('ns3::EventGarbageCollector const &', 'arg0')])
3.162 + ## event-garbage-collector.h: ns3::EventGarbageCollector::EventGarbageCollector() [constructor]
3.163 + cls.add_constructor([])
3.164 + ## event-garbage-collector.h: void ns3::EventGarbageCollector::Track(ns3::EventId event) [member function]
3.165 + cls.add_method('Track',
3.166 + 'void',
3.167 + [param('ns3::EventId', 'event')])
3.168 + return
3.169 +
3.170 +def register_Ns3FileConfig_methods(root_module, cls):
3.171 + ## file-config.h: ns3::FileConfig::FileConfig() [constructor]
3.172 + cls.add_constructor([])
3.173 + ## file-config.h: ns3::FileConfig::FileConfig(ns3::FileConfig const & arg0) [copy constructor]
3.174 + cls.add_constructor([param('ns3::FileConfig const &', 'arg0')])
3.175 + ## file-config.h: void ns3::FileConfig::Attributes() [member function]
3.176 + cls.add_method('Attributes',
3.177 + 'void',
3.178 + [],
3.179 + is_pure_virtual=True, is_virtual=True)
3.180 + ## file-config.h: void ns3::FileConfig::Default() [member function]
3.181 + cls.add_method('Default',
3.182 + 'void',
3.183 + [],
3.184 + is_pure_virtual=True, is_virtual=True)
3.185 + ## file-config.h: void ns3::FileConfig::Global() [member function]
3.186 + cls.add_method('Global',
3.187 + 'void',
3.188 + [],
3.189 + is_pure_virtual=True, is_virtual=True)
3.190 + ## file-config.h: void ns3::FileConfig::SetFilename(std::string filename) [member function]
3.191 + cls.add_method('SetFilename',
3.192 + 'void',
3.193 + [param('std::string', 'filename')],
3.194 + is_pure_virtual=True, is_virtual=True)
3.195 + return
3.196 +
3.197 +def register_Ns3Gnuplot_methods(root_module, cls):
3.198 + ## gnuplot.h: ns3::Gnuplot::Gnuplot(ns3::Gnuplot const & arg0) [copy constructor]
3.199 + cls.add_constructor([param('ns3::Gnuplot const &', 'arg0')])
3.200 + ## gnuplot.h: ns3::Gnuplot::Gnuplot(std::string const & outputFilename="", std::string const & title="") [constructor]
3.201 + cls.add_constructor([param('std::string const &', 'outputFilename', default_value='""'), param('std::string const &', 'title', default_value='""')])
3.202 + ## gnuplot.h: void ns3::Gnuplot::AddDataset(ns3::GnuplotDataset const & dataset) [member function]
3.203 + cls.add_method('AddDataset',
3.204 + 'void',
3.205 + [param('ns3::GnuplotDataset const &', 'dataset')])
3.206 + ## gnuplot.h: void ns3::Gnuplot::AppendExtra(std::string const & extra) [member function]
3.207 + cls.add_method('AppendExtra',
3.208 + 'void',
3.209 + [param('std::string const &', 'extra')])
3.210 + ## gnuplot.h: static std::string ns3::Gnuplot::DetectTerminal(std::string const & filename) [member function]
3.211 + cls.add_method('DetectTerminal',
3.212 + 'std::string',
3.213 + [param('std::string const &', 'filename')],
3.214 + is_static=True)
3.215 + ## gnuplot.h: void ns3::Gnuplot::GenerateOutput(std::ostream & os) const [member function]
3.216 + cls.add_method('GenerateOutput',
3.217 + 'void',
3.218 + [param('std::ostream &', 'os')],
3.219 + is_const=True)
3.220 + ## gnuplot.h: void ns3::Gnuplot::SetExtra(std::string const & extra) [member function]
3.221 + cls.add_method('SetExtra',
3.222 + 'void',
3.223 + [param('std::string const &', 'extra')])
3.224 + ## gnuplot.h: void ns3::Gnuplot::SetLegend(std::string const & xLegend, std::string const & yLegend) [member function]
3.225 + cls.add_method('SetLegend',
3.226 + 'void',
3.227 + [param('std::string const &', 'xLegend'), param('std::string const &', 'yLegend')])
3.228 + ## gnuplot.h: void ns3::Gnuplot::SetTerminal(std::string const & terminal) [member function]
3.229 + cls.add_method('SetTerminal',
3.230 + 'void',
3.231 + [param('std::string const &', 'terminal')])
3.232 + ## gnuplot.h: void ns3::Gnuplot::SetTitle(std::string const & title) [member function]
3.233 + cls.add_method('SetTitle',
3.234 + 'void',
3.235 + [param('std::string const &', 'title')])
3.236 + return
3.237 +
3.238 +def register_Ns3GnuplotCollection_methods(root_module, cls):
3.239 + ## gnuplot.h: ns3::GnuplotCollection::GnuplotCollection(ns3::GnuplotCollection const & arg0) [copy constructor]
3.240 + cls.add_constructor([param('ns3::GnuplotCollection const &', 'arg0')])
3.241 + ## gnuplot.h: ns3::GnuplotCollection::GnuplotCollection(std::string const & outputFilename) [constructor]
3.242 + cls.add_constructor([param('std::string const &', 'outputFilename')])
3.243 + ## gnuplot.h: void ns3::GnuplotCollection::AddPlot(ns3::Gnuplot const & plot) [member function]
3.244 + cls.add_method('AddPlot',
3.245 + 'void',
3.246 + [param('ns3::Gnuplot const &', 'plot')])
3.247 + ## gnuplot.h: void ns3::GnuplotCollection::GenerateOutput(std::ostream & os) const [member function]
3.248 + cls.add_method('GenerateOutput',
3.249 + 'void',
3.250 + [param('std::ostream &', 'os')],
3.251 + is_const=True)
3.252 + ## gnuplot.h: ns3::Gnuplot & ns3::GnuplotCollection::GetPlot(unsigned int id) [member function]
3.253 + cls.add_method('GetPlot',
3.254 + 'ns3::Gnuplot &',
3.255 + [param('unsigned int', 'id')])
3.256 + ## gnuplot.h: void ns3::GnuplotCollection::SetTerminal(std::string const & terminal) [member function]
3.257 + cls.add_method('SetTerminal',
3.258 + 'void',
3.259 + [param('std::string const &', 'terminal')])
3.260 + return
3.261 +
3.262 +def register_Ns3GnuplotDataset_methods(root_module, cls):
3.263 + ## gnuplot.h: ns3::GnuplotDataset::GnuplotDataset(ns3::GnuplotDataset const & original) [copy constructor]
3.264 + cls.add_constructor([param('ns3::GnuplotDataset const &', 'original')])
3.265 + ## gnuplot.h: static void ns3::GnuplotDataset::SetDefaultExtra(std::string const & extra) [member function]
3.266 + cls.add_method('SetDefaultExtra',
3.267 + 'void',
3.268 + [param('std::string const &', 'extra')],
3.269 + is_static=True)
3.270 + ## gnuplot.h: void ns3::GnuplotDataset::SetExtra(std::string const & extra) [member function]
3.271 + cls.add_method('SetExtra',
3.272 + 'void',
3.273 + [param('std::string const &', 'extra')])
3.274 + ## gnuplot.h: void ns3::GnuplotDataset::SetTitle(std::string const & title) [member function]
3.275 + cls.add_method('SetTitle',
3.276 + 'void',
3.277 + [param('std::string const &', 'title')])
3.278 + ## gnuplot.h: ns3::GnuplotDataset::GnuplotDataset(ns3::GnuplotDataset::Data * data) [constructor]
3.279 + cls.add_constructor([param('ns3::GnuplotDataset::Data *', 'data')],
3.280 + visibility='protected')
3.281 + return
3.282 +
3.283 +def register_Ns3GtkConfigStore_methods(root_module, cls):
3.284 + ## gtk-config-store.h: ns3::GtkConfigStore::GtkConfigStore(ns3::GtkConfigStore const & arg0) [copy constructor]
3.285 + cls.add_constructor([param('ns3::GtkConfigStore const &', 'arg0')])
3.286 + ## gtk-config-store.h: ns3::GtkConfigStore::GtkConfigStore() [constructor]
3.287 + cls.add_constructor([])
3.288 + ## gtk-config-store.h: void ns3::GtkConfigStore::ConfigureAttributes() [member function]
3.289 + cls.add_method('ConfigureAttributes',
3.290 + 'void',
3.291 + [])
3.292 + ## gtk-config-store.h: void ns3::GtkConfigStore::ConfigureDefaults() [member function]
3.293 + cls.add_method('ConfigureDefaults',
3.294 + 'void',
3.295 + [])
3.296 + return
3.297 +
3.298 +def register_Ns3NoneFileConfig_methods(root_module, cls):
3.299 + ## file-config.h: ns3::NoneFileConfig::NoneFileConfig(ns3::NoneFileConfig const & arg0) [copy constructor]
3.300 + cls.add_constructor([param('ns3::NoneFileConfig const &', 'arg0')])
3.301 + ## file-config.h: ns3::NoneFileConfig::NoneFileConfig() [constructor]
3.302 + cls.add_constructor([])
3.303 + ## file-config.h: void ns3::NoneFileConfig::Attributes() [member function]
3.304 + cls.add_method('Attributes',
3.305 + 'void',
3.306 + [],
3.307 + is_virtual=True)
3.308 + ## file-config.h: void ns3::NoneFileConfig::Default() [member function]
3.309 + cls.add_method('Default',
3.310 + 'void',
3.311 + [],
3.312 + is_virtual=True)
3.313 + ## file-config.h: void ns3::NoneFileConfig::Global() [member function]
3.314 + cls.add_method('Global',
3.315 + 'void',
3.316 + [],
3.317 + is_virtual=True)
3.318 + ## file-config.h: void ns3::NoneFileConfig::SetFilename(std::string filename) [member function]
3.319 + cls.add_method('SetFilename',
3.320 + 'void',
3.321 + [param('std::string', 'filename')],
3.322 + is_virtual=True)
3.323 + return
3.324 +
3.325 +def register_Ns3ConfigStore_methods(root_module, cls):
3.326 + ## config-store.h: ns3::ConfigStore::ConfigStore(ns3::ConfigStore const & arg0) [copy constructor]
3.327 + cls.add_constructor([param('ns3::ConfigStore const &', 'arg0')])
3.328 + ## config-store.h: ns3::ConfigStore::ConfigStore() [constructor]
3.329 + cls.add_constructor([])
3.330 + ## config-store.h: void ns3::ConfigStore::ConfigureAttributes() [member function]
3.331 + cls.add_method('ConfigureAttributes',
3.332 + 'void',
3.333 + [])
3.334 + ## config-store.h: void ns3::ConfigStore::ConfigureDefaults() [member function]
3.335 + cls.add_method('ConfigureDefaults',
3.336 + 'void',
3.337 + [])
3.338 + ## config-store.h: ns3::TypeId ns3::ConfigStore::GetInstanceTypeId() const [member function]
3.339 + cls.add_method('GetInstanceTypeId',
3.340 + 'ns3::TypeId',
3.341 + [],
3.342 + is_const=True, is_virtual=True)
3.343 + ## config-store.h: static ns3::TypeId ns3::ConfigStore::GetTypeId() [member function]
3.344 + cls.add_method('GetTypeId',
3.345 + 'ns3::TypeId',
3.346 + [],
3.347 + is_static=True)
3.348 + ## config-store.h: void ns3::ConfigStore::SetFileFormat(ns3::ConfigStore::FileFormat format) [member function]
3.349 + cls.add_method('SetFileFormat',
3.350 + 'void',
3.351 + [param('ns3::ConfigStore::FileFormat', 'format')])
3.352 + ## config-store.h: void ns3::ConfigStore::SetFilename(std::string filename) [member function]
3.353 + cls.add_method('SetFilename',
3.354 + 'void',
3.355 + [param('std::string', 'filename')])
3.356 + ## config-store.h: void ns3::ConfigStore::SetMode(ns3::ConfigStore::Mode mode) [member function]
3.357 + cls.add_method('SetMode',
3.358 + 'void',
3.359 + [param('ns3::ConfigStore::Mode', 'mode')])
3.360 + return
3.361 +
3.362 +def register_Ns3FlowIdTag_methods(root_module, cls):
3.363 + ## flow-id-tag.h: ns3::FlowIdTag::FlowIdTag(ns3::FlowIdTag const & arg0) [copy constructor]
3.364 + cls.add_constructor([param('ns3::FlowIdTag const &', 'arg0')])
3.365 + ## flow-id-tag.h: ns3::FlowIdTag::FlowIdTag() [constructor]
3.366 + cls.add_constructor([])
3.367 + ## flow-id-tag.h: ns3::FlowIdTag::FlowIdTag(uint32_t flowId) [constructor]
3.368 + cls.add_constructor([param('uint32_t', 'flowId')])
3.369 + ## flow-id-tag.h: static uint32_t ns3::FlowIdTag::AllocateFlowId() [member function]
3.370 + cls.add_method('AllocateFlowId',
3.371 + 'uint32_t',
3.372 + [],
3.373 + is_static=True)
3.374 + ## flow-id-tag.h: void ns3::FlowIdTag::Deserialize(ns3::TagBuffer buf) [member function]
3.375 + cls.add_method('Deserialize',
3.376 + 'void',
3.377 + [param('ns3::TagBuffer', 'buf')],
3.378 + is_virtual=True)
3.379 + ## flow-id-tag.h: uint32_t ns3::FlowIdTag::GetFlowId() const [member function]
3.380 + cls.add_method('GetFlowId',
3.381 + 'uint32_t',
3.382 + [],
3.383 + is_const=True)
3.384 + ## flow-id-tag.h: ns3::TypeId ns3::FlowIdTag::GetInstanceTypeId() const [member function]
3.385 + cls.add_method('GetInstanceTypeId',
3.386 + 'ns3::TypeId',
3.387 + [],
3.388 + is_const=True, is_virtual=True)
3.389 + ## flow-id-tag.h: uint32_t ns3::FlowIdTag::GetSerializedSize() const [member function]
3.390 + cls.add_method('GetSerializedSize',
3.391 + 'uint32_t',
3.392 + [],
3.393 + is_const=True, is_virtual=True)
3.394 + ## flow-id-tag.h: static ns3::TypeId ns3::FlowIdTag::GetTypeId() [member function]
3.395 + cls.add_method('GetTypeId',
3.396 + 'ns3::TypeId',
3.397 + [],
3.398 + is_static=True)
3.399 + ## flow-id-tag.h: void ns3::FlowIdTag::Print(std::ostream & os) const [member function]
3.400 + cls.add_method('Print',
3.401 + 'void',
3.402 + [param('std::ostream &', 'os')],
3.403 + is_const=True, is_virtual=True)
3.404 + ## flow-id-tag.h: void ns3::FlowIdTag::Serialize(ns3::TagBuffer buf) const [member function]
3.405 + cls.add_method('Serialize',
3.406 + 'void',
3.407 + [param('ns3::TagBuffer', 'buf')],
3.408 + is_const=True, is_virtual=True)
3.409 + ## flow-id-tag.h: void ns3::FlowIdTag::SetFlowId(uint32_t flowId) [member function]
3.410 + cls.add_method('SetFlowId',
3.411 + 'void',
3.412 + [param('uint32_t', 'flowId')])
3.413 + return
3.414 +
3.415 +def register_Ns3Gnuplot2dDataset_methods(root_module, cls):
3.416 + ## gnuplot.h: ns3::Gnuplot2dDataset::Gnuplot2dDataset(ns3::Gnuplot2dDataset const & arg0) [copy constructor]
3.417 + cls.add_constructor([param('ns3::Gnuplot2dDataset const &', 'arg0')])
3.418 + ## gnuplot.h: ns3::Gnuplot2dDataset::Gnuplot2dDataset(std::string const & title="Untitled") [constructor]
3.419 + cls.add_constructor([param('std::string const &', 'title', default_value='"Untitled"')])
3.420 + ## gnuplot.h: void ns3::Gnuplot2dDataset::Add(double x, double y) [member function]
3.421 + cls.add_method('Add',
3.422 + 'void',
3.423 + [param('double', 'x'), param('double', 'y')])
3.424 + ## gnuplot.h: void ns3::Gnuplot2dDataset::Add(double x, double y, double errorDelta) [member function]
3.425 + cls.add_method('Add',
3.426 + 'void',
3.427 + [param('double', 'x'), param('double', 'y'), param('double', 'errorDelta')])
3.428 + ## gnuplot.h: void ns3::Gnuplot2dDataset::Add(double x, double y, double minY, double maxY) [member function]
3.429 + cls.add_method('Add',
3.430 + 'void',
3.431 + [param('double', 'x'), param('double', 'y'), param('double', 'minY'), param('double', 'maxY')])
3.432 + ## gnuplot.h: void ns3::Gnuplot2dDataset::AddEmptyLine() [member function]
3.433 + cls.add_method('AddEmptyLine',
3.434 + 'void',
3.435 + [])
3.436 + ## gnuplot.h: static void ns3::Gnuplot2dDataset::SetDefaultErrorBars(ns3::Gnuplot2dDataset::ErrorBars errorBars) [member function]
3.437 + cls.add_method('SetDefaultErrorBars',
3.438 + 'void',
3.439 + [param('ns3::Gnuplot2dDataset::ErrorBars', 'errorBars')],
3.440 + is_static=True)
3.441 + ## gnuplot.h: static void ns3::Gnuplot2dDataset::SetDefaultStyle(ns3::Gnuplot2dDataset::Style style) [member function]
3.442 + cls.add_method('SetDefaultStyle',
3.443 + 'void',
3.444 + [param('ns3::Gnuplot2dDataset::Style', 'style')],
3.445 + is_static=True)
3.446 + ## gnuplot.h: void ns3::Gnuplot2dDataset::SetErrorBars(ns3::Gnuplot2dDataset::ErrorBars errorBars) [member function]
3.447 + cls.add_method('SetErrorBars',
3.448 + 'void',
3.449 + [param('ns3::Gnuplot2dDataset::ErrorBars', 'errorBars')])
3.450 + ## gnuplot.h: void ns3::Gnuplot2dDataset::SetStyle(ns3::Gnuplot2dDataset::Style style) [member function]
3.451 + cls.add_method('SetStyle',
3.452 + 'void',
3.453 + [param('ns3::Gnuplot2dDataset::Style', 'style')])
3.454 + return
3.455 +
3.456 +def register_Ns3Gnuplot2dFunction_methods(root_module, cls):
3.457 + ## gnuplot.h: ns3::Gnuplot2dFunction::Gnuplot2dFunction(ns3::Gnuplot2dFunction const & arg0) [copy constructor]
3.458 + cls.add_constructor([param('ns3::Gnuplot2dFunction const &', 'arg0')])
3.459 + ## gnuplot.h: ns3::Gnuplot2dFunction::Gnuplot2dFunction(std::string const & title="Untitled", std::string const & function="") [constructor]
3.460 + cls.add_constructor([param('std::string const &', 'title', default_value='"Untitled"'), param('std::string const &', 'function', default_value='""')])
3.461 + ## gnuplot.h: void ns3::Gnuplot2dFunction::SetFunction(std::string const & function) [member function]
3.462 + cls.add_method('SetFunction',
3.463 + 'void',
3.464 + [param('std::string const &', 'function')])
3.465 + return
3.466 +
3.467 +def register_Ns3Gnuplot3dDataset_methods(root_module, cls):
3.468 + ## gnuplot.h: ns3::Gnuplot3dDataset::Gnuplot3dDataset(ns3::Gnuplot3dDataset const & arg0) [copy constructor]
3.469 + cls.add_constructor([param('ns3::Gnuplot3dDataset const &', 'arg0')])
3.470 + ## gnuplot.h: ns3::Gnuplot3dDataset::Gnuplot3dDataset(std::string const & title="Untitled") [constructor]
3.471 + cls.add_constructor([param('std::string const &', 'title', default_value='"Untitled"')])
3.472 + ## gnuplot.h: void ns3::Gnuplot3dDataset::Add(double x, double y, double z) [member function]
3.473 + cls.add_method('Add',
3.474 + 'void',
3.475 + [param('double', 'x'), param('double', 'y'), param('double', 'z')])
3.476 + ## gnuplot.h: void ns3::Gnuplot3dDataset::AddEmptyLine() [member function]
3.477 + cls.add_method('AddEmptyLine',
3.478 + 'void',
3.479 + [])
3.480 + ## gnuplot.h: static void ns3::Gnuplot3dDataset::SetDefaultStyle(std::string const & style) [member function]
3.481 + cls.add_method('SetDefaultStyle',
3.482 + 'void',
3.483 + [param('std::string const &', 'style')],
3.484 + is_static=True)
3.485 + ## gnuplot.h: void ns3::Gnuplot3dDataset::SetStyle(std::string const & style) [member function]
3.486 + cls.add_method('SetStyle',
3.487 + 'void',
3.488 + [param('std::string const &', 'style')])
3.489 + return
3.490 +
3.491 +def register_Ns3Gnuplot3dFunction_methods(root_module, cls):
3.492 + ## gnuplot.h: ns3::Gnuplot3dFunction::Gnuplot3dFunction(ns3::Gnuplot3dFunction const & arg0) [copy constructor]
3.493 + cls.add_constructor([param('ns3::Gnuplot3dFunction const &', 'arg0')])
3.494 + ## gnuplot.h: ns3::Gnuplot3dFunction::Gnuplot3dFunction(std::string const & title="Untitled", std::string const & function="") [constructor]
3.495 + cls.add_constructor([param('std::string const &', 'title', default_value='"Untitled"'), param('std::string const &', 'function', default_value='""')])
3.496 + ## gnuplot.h: void ns3::Gnuplot3dFunction::SetFunction(std::string const & function) [member function]
3.497 + cls.add_method('SetFunction',
3.498 + 'void',
3.499 + [param('std::string const &', 'function')])
3.500 + return
3.501 +
3.502 +def register_functions(root_module):
3.503 + module = root_module
3.504 + register_functions_ns3_Config(module.get_submodule('Config'), root_module)
3.505 + register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
3.506 + register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module)
3.507 + register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module)
3.508 + register_functions_ns3_flame(module.get_submodule('flame'), root_module)
3.509 + register_functions_ns3_internal(module.get_submodule('internal'), root_module)
3.510 + register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
3.511 + return
3.512 +
3.513 +def register_functions_ns3_Config(module, root_module):
3.514 + return
3.515 +
3.516 +def register_functions_ns3_TimeStepPrecision(module, root_module):
3.517 + return
3.518 +
3.519 +def register_functions_ns3_addressUtils(module, root_module):
3.520 + return
3.521 +
3.522 +def register_functions_ns3_dot11s(module, root_module):
3.523 + return
3.524 +
3.525 +def register_functions_ns3_flame(module, root_module):
3.526 + return
3.527 +
3.528 +def register_functions_ns3_internal(module, root_module):
3.529 + return
3.530 +
3.531 +def register_functions_ns3_olsr(module, root_module):
3.532 + return
3.533 +
4.1 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_core.py Thu Oct 01 14:08:52 2009 +0200
4.2 +++ b/bindings/python/apidefs/gcc-ILP32/ns3_module_core.py Thu Oct 01 14:22:40 2009 +0100
4.3 @@ -0,0 +1,2820 @@
4.4 +from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers
4.5 +
4.6 +def register_types(module):
4.7 + root_module = module.get_root()
4.8 +
4.9 + ## log.h: ns3::LogLevel [enumeration]
4.10 + module.add_enum('LogLevel', ['LOG_NONE', 'LOG_ERROR', 'LOG_LEVEL_ERROR', 'LOG_WARN', 'LOG_LEVEL_WARN', 'LOG_DEBUG', 'LOG_LEVEL_DEBUG', 'LOG_INFO', 'LOG_LEVEL_INFO', 'LOG_FUNCTION', 'LOG_LEVEL_FUNCTION', 'LOG_LOGIC', 'LOG_LEVEL_LOGIC', 'LOG_ALL', 'LOG_LEVEL_ALL', 'LOG_PREFIX_FUNC', 'LOG_PREFIX_TIME'])
4.11 + ## attribute-list.h: ns3::AttributeList [class]
4.12 + module.add_class('AttributeList')
4.13 + ## callback.h: ns3::CallbackBase [class]
4.14 + module.add_class('CallbackBase')
4.15 + ## callback.h: ns3::CallbackImplBase [class]
4.16 + module.add_class('CallbackImplBase', allow_subclassing=True, memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
4.17 + ## command-line.h: ns3::CommandLine [class]
4.18 + module.add_class('CommandLine', allow_subclassing=True)
4.19 + ## system-mutex.h: ns3::CriticalSection [class]
4.20 + module.add_class('CriticalSection')
4.21 + ## global-value.h: ns3::GlobalValue [class]
4.22 + module.add_class('GlobalValue')
4.23 + ## int-to-type.h: ns3::IntToType<0> [struct]
4.24 + module.add_class('IntToType', template_parameters=['0'])
4.25 + ## int-to-type.h: ns3::IntToType<0>::v_e [enumeration]
4.26 + module.add_enum('v_e', ['value'], outer_class=root_module['ns3::IntToType< 0 >'])
4.27 + ## int-to-type.h: ns3::IntToType<1> [struct]
4.28 + module.add_class('IntToType', template_parameters=['1'])
4.29 + ## int-to-type.h: ns3::IntToType<1>::v_e [enumeration]
4.30 + module.add_enum('v_e', ['value'], outer_class=root_module['ns3::IntToType< 1 >'])
4.31 + ## int-to-type.h: ns3::IntToType<2> [struct]
4.32 + module.add_class('IntToType', template_parameters=['2'])
4.33 + ## int-to-type.h: ns3::IntToType<2>::v_e [enumeration]
4.34 + module.add_enum('v_e', ['value'], outer_class=root_module['ns3::IntToType< 2 >'])
4.35 + ## int-to-type.h: ns3::IntToType<3> [struct]
4.36 + module.add_class('IntToType', template_parameters=['3'])
4.37 + ## int-to-type.h: ns3::IntToType<3>::v_e [enumeration]
4.38 + module.add_enum('v_e', ['value'], outer_class=root_module['ns3::IntToType< 3 >'])
4.39 + ## int-to-type.h: ns3::IntToType<4> [struct]
4.40 + module.add_class('IntToType', template_parameters=['4'])
4.41 + ## int-to-type.h: ns3::IntToType<4>::v_e [enumeration]
4.42 + module.add_enum('v_e', ['value'], outer_class=root_module['ns3::IntToType< 4 >'])
4.43 + ## int-to-type.h: ns3::IntToType<5> [struct]
4.44 + module.add_class('IntToType', template_parameters=['5'])
4.45 + ## int-to-type.h: ns3::IntToType<5>::v_e [enumeration]
4.46 + module.add_enum('v_e', ['value'], outer_class=root_module['ns3::IntToType< 5 >'])
4.47 + ## int-to-type.h: ns3::IntToType<6> [struct]
4.48 + module.add_class('IntToType', template_parameters=['6'])
4.49 + ## int-to-type.h: ns3::IntToType<6>::v_e [enumeration]
4.50 + module.add_enum('v_e', ['value'], outer_class=root_module['ns3::IntToType< 6 >'])
4.51 + ## names.h: ns3::Names [class]
4.52 + module.add_class('Names')
4.53 + ## object-base.h: ns3::ObjectBase [class]
4.54 + module.add_class('ObjectBase', allow_subclassing=True)
4.55 + ## object-factory.h: ns3::ObjectFactory [class]
4.56 + module.add_class('ObjectFactory')
4.57 + ## random-variable.h: ns3::RandomVariable [class]
4.58 + module.add_class('RandomVariable')
4.59 + ## ref-count-base.h: ns3::RefCountBase [class]
4.60 + module.add_class('RefCountBase', automatic_type_narrowing=True, memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
4.61 + ## rng-stream.h: ns3::RngStream [class]
4.62 + module.add_class('RngStream')
4.63 + ## random-variable.h: ns3::SeedManager [class]
4.64 + module.add_class('SeedManager')
4.65 + ## random-variable.h: ns3::SequentialVariable [class]
4.66 + module.add_class('SequentialVariable', parent=root_module['ns3::RandomVariable'])
4.67 + ## system-condition.h: ns3::SystemCondition [class]
4.68 + module.add_class('SystemCondition')
4.69 + ## system-mutex.h: ns3::SystemMutex [class]
4.70 + module.add_class('SystemMutex')
4.71 + ## system-thread.h: ns3::SystemThread [class]
4.72 + module.add_class('SystemThread')
4.73 + ## system-wall-clock-ms.h: ns3::SystemWallClockMs [class]
4.74 + module.add_class('SystemWallClockMs')
4.75 + ## test.h: ns3::TestCase [class]
4.76 + module.add_class('TestCase', allow_subclassing=True)
4.77 + ## test.h: ns3::TestRunner [class]
4.78 + module.add_class('TestRunner')
4.79 + ## test.h: ns3::TestSuite [class]
4.80 + module.add_class('TestSuite', allow_subclassing=True)
4.81 + ## test.h: ns3::TestSuite::TestType [enumeration]
4.82 + module.add_enum('TestType', ['BVT', 'UNIT', 'SYSTEM', 'EXAMPLE', 'PERFORMANCE'], outer_class=root_module['ns3::TestSuite'])
4.83 + ## trace-source-accessor.h: ns3::TraceSourceAccessor [class]
4.84 + module.add_class('TraceSourceAccessor', allow_subclassing=True)
4.85 + ## random-variable.h: ns3::TriangularVariable [class]
4.86 + module.add_class('TriangularVariable', parent=root_module['ns3::RandomVariable'])
4.87 + ## type-id.h: ns3::TypeId [class]
4.88 + module.add_class('TypeId')
4.89 + ## type-id.h: ns3::TypeId::AttributeFlag [enumeration]
4.90 + module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'])
4.91 + ## type-id.h: ns3::TypeId::AttributeInfo [struct]
4.92 + module.add_class('AttributeInfo', outer_class=root_module['ns3::TypeId'])
4.93 + ## random-variable.h: ns3::UniformVariable [class]
4.94 + module.add_class('UniformVariable', parent=root_module['ns3::RandomVariable'])
4.95 + ## attribute-list.h: ns3::UnsafeAttributeList [class]
4.96 + module.add_class('UnsafeAttributeList')
4.97 + ## vector.h: ns3::Vector2D [class]
4.98 + module.add_class('Vector2D')
4.99 + ## vector.h: ns3::Vector3D [class]
4.100 + module.add_class('Vector3D')
4.101 + ## random-variable.h: ns3::WeibullVariable [class]
4.102 + module.add_class('WeibullVariable', parent=root_module['ns3::RandomVariable'])
4.103 + ## random-variable.h: ns3::ZipfVariable [class]
4.104 + module.add_class('ZipfVariable', parent=root_module['ns3::RandomVariable'])
4.105 + ## empty.h: ns3::empty [class]
4.106 + module.add_class('empty')
4.107 + ## attribute.h: ns3::AttributeAccessor [class]
4.108 + module.add_class('AttributeAccessor', parent=root_module['ns3::RefCountBase'])
4.109 + ## attribute.h: ns3::AttributeChecker [class]
4.110 + module.add_class('AttributeChecker', allow_subclassing=False, automatic_type_narrowing=True, parent=root_module['ns3::RefCountBase'])
4.111 + ## attribute.h: ns3::AttributeValue [class]
4.112 + module.add_class('AttributeValue', allow_subclassing=False, automatic_type_narrowing=True, parent=root_module['ns3::RefCountBase'])
4.113 + ## boolean.h: ns3::BooleanChecker [class]
4.114 + module.add_class('BooleanChecker', parent=root_module['ns3::AttributeChecker'])
4.115 + ## boolean.h: ns3::BooleanValue [class]
4.116 + module.add_class('BooleanValue', parent=root_module['ns3::AttributeValue'])
4.117 + ## callback.h: ns3::CallbackChecker [class]
4.118 + module.add_class('CallbackChecker', parent=root_module['ns3::AttributeChecker'])
4.119 + ## callback.h: ns3::CallbackValue [class]
4.120 + module.add_class('CallbackValue', parent=root_module['ns3::AttributeValue'])
4.121 + ## random-variable.h: ns3::ConstantVariable [class]
4.122 + module.add_class('ConstantVariable', parent=root_module['ns3::RandomVariable'])
4.123 + ## random-variable.h: ns3::DeterministicVariable [class]
4.124 + module.add_class('DeterministicVariable', parent=root_module['ns3::RandomVariable'])
4.125 + ## double.h: ns3::DoubleValue [class]
4.126 + module.add_class('DoubleValue', parent=root_module['ns3::AttributeValue'])
4.127 + ## random-variable.h: ns3::EmpiricalVariable [class]
4.128 + module.add_class('EmpiricalVariable', parent=root_module['ns3::RandomVariable'])
4.129 + ## attribute.h: ns3::EmptyAttributeValue [class]
4.130 + module.add_class('EmptyAttributeValue', parent=root_module['ns3::AttributeValue'])
4.131 + ## enum.h: ns3::EnumChecker [class]
4.132 + module.add_class('EnumChecker', parent=root_module['ns3::AttributeChecker'])
4.133 + ## enum.h: ns3::EnumValue [class]
4.134 + module.add_class('EnumValue', parent=root_module['ns3::AttributeValue'])
4.135 + ## random-variable.h: ns3::ErlangVariable [class]
4.136 + module.add_class('ErlangVariable', parent=root_module['ns3::RandomVariable'])
4.137 + ## random-variable.h: ns3::ExponentialVariable [class]
4.138 + module.add_class('ExponentialVariable', parent=root_module['ns3::RandomVariable'])
4.139 + ## random-variable.h: ns3::GammaVariable [class]
4.140 + module.add_class('GammaVariable', parent=root_module['ns3::RandomVariable'])
4.141 + ## random-variable.h: ns3::IntEmpiricalVariable [class]
4.142 + module.add_class('IntEmpiricalVariable', parent=root_module['ns3::EmpiricalVariable'])
4.143 + ## integer.h: ns3::IntegerValue [class]
4.144 + module.add_class('IntegerValue', parent=root_module['ns3::AttributeValue'])
4.145 + ## random-variable.h: ns3::LogNormalVariable [class]
4.146 + module.add_class('LogNormalVariable', parent=root_module['ns3::RandomVariable'])
4.147 + ## random-variable.h: ns3::NormalVariable [class]
4.148 + module.add_class('NormalVariable', parent=root_module['ns3::RandomVariable'])
4.149 + ## object.h: ns3::Object [class]
4.150 + module.add_class('Object', automatic_type_narrowing=True, parent=root_module['ns3::ObjectBase'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
4.151 + ## object.h: ns3::Object::AggregateIterator [class]
4.152 + module.add_class('AggregateIterator', outer_class=root_module['ns3::Object'])
4.153 + ## object-factory.h: ns3::ObjectFactoryChecker [class]
4.154 + module.add_class('ObjectFactoryChecker', parent=root_module['ns3::AttributeChecker'])
4.155 + ## object-factory.h: ns3::ObjectFactoryValue [class]
4.156 + module.add_class('ObjectFactoryValue', parent=root_module['ns3::AttributeValue'])
4.157 + ## object-vector.h: ns3::ObjectVectorAccessor [class]
4.158 + module.add_class('ObjectVectorAccessor', parent=root_module['ns3::AttributeAccessor'])
4.159 + ## object-vector.h: ns3::ObjectVectorChecker [class]
4.160 + module.add_class('ObjectVectorChecker', parent=root_module['ns3::AttributeChecker'])
4.161 + ## object-vector.h: ns3::ObjectVectorValue [class]
4.162 + module.add_class('ObjectVectorValue', parent=root_module['ns3::AttributeValue'])
4.163 + ## random-variable.h: ns3::ParetoVariable [class]
4.164 + module.add_class('ParetoVariable', parent=root_module['ns3::RandomVariable'])
4.165 + ## pointer.h: ns3::PointerChecker [class]
4.166 + module.add_class('PointerChecker', parent=root_module['ns3::AttributeChecker'])
4.167 + ## pointer.h: ns3::PointerValue [class]
4.168 + module.add_class('PointerValue', parent=root_module['ns3::AttributeValue'])
4.169 + ## random-variable.h: ns3::RandomVariableChecker [class]
4.170 + module.add_class('RandomVariableChecker', parent=root_module['ns3::AttributeChecker'])
4.171 + ## random-variable.h: ns3::RandomVariableValue [class]
4.172 + module.add_class('RandomVariableValue', parent=root_module['ns3::AttributeValue'])
4.173 + ## string.h: ns3::StringChecker [class]
4.174 + module.add_class('StringChecker', parent=root_module['ns3::AttributeChecker'])
4.175 + ## string.h: ns3::StringValue [class]
4.176 + module.add_class('StringValue', parent=root_module['ns3::AttributeValue'])
4.177 + ## type-id.h: ns3::TypeIdChecker [class]
4.178 + module.add_class('TypeIdChecker', parent=root_module['ns3::AttributeChecker'])
4.179 + ## type-id.h: ns3::TypeIdValue [class]
4.180 + module.add_class('TypeIdValue', parent=root_module['ns3::AttributeValue'])
4.181 + ## uinteger.h: ns3::UintegerValue [class]
4.182 + module.add_class('UintegerValue', parent=root_module['ns3::AttributeValue'])
4.183 + ## vector.h: ns3::Vector2DChecker [class]
4.184 + module.add_class('Vector2DChecker', parent=root_module['ns3::AttributeChecker'])
4.185 + ## vector.h: ns3::Vector2DValue [class]
4.186 + module.add_class('Vector2DValue', parent=root_module['ns3::AttributeValue'])
4.187 + ## vector.h: ns3::Vector3DChecker [class]
4.188 + module.add_class('Vector3DChecker', parent=root_module['ns3::AttributeChecker'])
4.189 + ## vector.h: ns3::Vector3DValue [class]
4.190 + module.add_class('Vector3DValue', parent=root_module['ns3::AttributeValue'])
4.191 + ## traced-value.h: ns3::TracedValue<unsigned int> [class]
4.192 + module.add_class('TracedValue', template_parameters=['unsigned int'])
4.193 + ## traced-value.h: ns3::TracedValue<unsigned int> [class]
4.194 + root_module['ns3::TracedValue< unsigned int >'].implicitly_converts_to(root_module['ns3::IntegerValue'])
4.195 + ## traced-value.h: ns3::TracedValue<unsigned int> [class]
4.196 + root_module['ns3::TracedValue< unsigned int >'].implicitly_converts_to(root_module['ns3::UintegerValue'])
4.197 + ## traced-value.h: ns3::TracedValue<unsigned int> [class]
4.198 + root_module['ns3::TracedValue< unsigned int >'].implicitly_converts_to(root_module['ns3::BooleanValue'])
4.199 + ## traced-value.h: ns3::TracedValue<unsigned int> [class]
4.200 + root_module['ns3::TracedValue< unsigned int >'].implicitly_converts_to(root_module['ns3::EnumValue'])
4.201 + module.add_container('std::list< ns3::Ptr< ns3::RadvdPrefix > >', 'ns3::Ptr< ns3::RadvdPrefix >', container_type='list')
4.202 + module.add_container('std::list< ns3::Ptr< ns3::Packet > >', 'ns3::Ptr< ns3::Packet >', container_type='list')
4.203 + module.add_container('std::vector< ns3::Ptr< ns3::FlowProbe > >', 'ns3::Ptr< ns3::FlowProbe >', container_type='vector')
4.204 + module.add_container('std::vector< ns3::Ptr< ns3::NetDevice > >', 'ns3::Ptr< ns3::NetDevice >', container_type='vector')
4.205 + typehandlers.add_type_alias('ns3::Vector3D', 'ns3::Vector')
4.206 + typehandlers.add_type_alias('ns3::Vector3D*', 'ns3::Vector*')
4.207 + typehandlers.add_type_alias('ns3::Vector3D&', 'ns3::Vector&')
4.208 + module.add_typedef(root_module['ns3::Vector3D'], 'Vector')
4.209 + typehandlers.add_type_alias('ns3::Vector3DValue', 'ns3::VectorValue')
4.210 + typehandlers.add_type_alias('ns3::Vector3DValue*', 'ns3::VectorValue*')
4.211 + typehandlers.add_type_alias('ns3::Vector3DValue&', 'ns3::VectorValue&')
4.212 + module.add_typedef(root_module['ns3::Vector3DValue'], 'VectorValue')
4.213 + typehandlers.add_type_alias('ns3::Vector3DChecker', 'ns3::VectorChecker')
4.214 + typehandlers.add_type_alias('ns3::Vector3DChecker*', 'ns3::VectorChecker*')
4.215 + typehandlers.add_type_alias('ns3::Vector3DChecker&', 'ns3::VectorChecker&')
4.216 + module.add_typedef(root_module['ns3::Vector3DChecker'], 'VectorChecker')
4.217 +
4.218 + ## Register a nested module for the namespace Config
4.219 +
4.220 + nested_module = module.add_cpp_namespace('Config')
4.221 + register_types_ns3_Config(nested_module)
4.222 +
4.223 +
4.224 + ## Register a nested module for the namespace TimeStepPrecision
4.225 +
4.226 + nested_module = module.add_cpp_namespace('TimeStepPrecision')
4.227 + register_types_ns3_TimeStepPrecision(nested_module)
4.228 +
4.229 +
4.230 + ## Register a nested module for the namespace addressUtils
4.231 +
4.232 + nested_module = module.add_cpp_namespace('addressUtils')
4.233 + register_types_ns3_addressUtils(nested_module)
4.234 +
4.235 +
4.236 + ## Register a nested module for the namespace dot11s
4.237 +
4.238 + nested_module = module.add_cpp_namespace('dot11s')
4.239 + register_types_ns3_dot11s(nested_module)
4.240 +
4.241 +
4.242 + ## Register a nested module for the namespace flame
4.243 +
4.244 + nested_module = module.add_cpp_namespace('flame')
4.245 + register_types_ns3_flame(nested_module)
4.246 +
4.247 +
4.248 + ## Register a nested module for the namespace internal
4.249 +
4.250 + nested_module = module.add_cpp_namespace('internal')
4.251 + register_types_ns3_internal(nested_module)
4.252 +
4.253 +
4.254 + ## Register a nested module for the namespace olsr
4.255 +
4.256 + nested_module = module.add_cpp_namespace('olsr')
4.257 + register_types_ns3_olsr(nested_module)
4.258 +
4.259 +
4.260 +def register_types_ns3_Config(module):
4.261 + root_module = module.get_root()
4.262 +
4.263 + ## config.h: ns3::Config::MatchContainer [class]
4.264 + module.add_class('MatchContainer')
4.265 + module.add_container('std::vector< ns3::Ptr< ns3::Object > >', 'ns3::Ptr< ns3::Object >', container_type='vector')
4.266 +
4.267 +def register_types_ns3_TimeStepPrecision(module):
4.268 + root_module = module.get_root()
4.269 +
4.270 +
4.271 +def register_types_ns3_addressUtils(module):
4.272 + root_module = module.get_root()
4.273 +
4.274 +
4.275 +def register_types_ns3_dot11s(module):
4.276 + root_module = module.get_root()
4.277 +
4.278 + module.add_container('std::vector< ns3::Ptr< ns3::dot11s::IeBeaconTimingUnit > >', 'ns3::Ptr< ns3::dot11s::IeBeaconTimingUnit >', container_type='vector')
4.279 +
4.280 +def register_types_ns3_flame(module):
4.281 + root_module = module.get_root()
4.282 +
4.283 +
4.284 +def register_types_ns3_internal(module):
4.285 + root_module = module.get_root()
4.286 +
4.287 +
4.288 +def register_types_ns3_olsr(module):
4.289 + root_module = module.get_root()
4.290 +
4.291 +
4.292 +def register_methods(root_module):
4.293 + register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList'])
4.294 + register_Ns3CallbackBase_methods(root_module, root_module['ns3::CallbackBase'])
4.295 + register_Ns3CallbackImplBase_methods(root_module, root_module['ns3::CallbackImplBase'])
4.296 + register_Ns3CommandLine_methods(root_module, root_module['ns3::CommandLine'])
4.297 + register_Ns3CriticalSection_methods(root_module, root_module['ns3::CriticalSection'])
4.298 + register_Ns3GlobalValue_methods(root_module, root_module['ns3::GlobalValue'])
4.299 + register_Ns3IntToType__0_methods(root_module, root_module['ns3::IntToType< 0 >'])
4.300 + register_Ns3IntToType__1_methods(root_module, root_module['ns3::IntToType< 1 >'])
4.301 + register_Ns3IntToType__2_methods(root_module, root_module['ns3::IntToType< 2 >'])
4.302 + register_Ns3IntToType__3_methods(root_module, root_module['ns3::IntToType< 3 >'])
4.303 + register_Ns3IntToType__4_methods(root_module, root_module['ns3::IntToType< 4 >'])
4.304 + register_Ns3IntToType__5_methods(root_module, root_module['ns3::IntToType< 5 >'])
4.305 + register_Ns3IntToType__6_methods(root_module, root_module['ns3::IntToType< 6 >'])
4.306 + register_Ns3Names_methods(root_module, root_module['ns3::Names'])
4.307 + register_Ns3ObjectBase_methods(root_module, root_module['ns3::ObjectBase'])
4.308 + register_Ns3ObjectFactory_methods(root_module, root_module['ns3::ObjectFactory'])
4.309 + register_Ns3RandomVariable_methods(root_module, root_module['ns3::RandomVariable'])
4.310 + register_Ns3RefCountBase_methods(root_module, root_module['ns3::RefCountBase'])
4.311 + register_Ns3RngStream_methods(root_module, root_module['ns3::RngStream'])
4.312 + register_Ns3SeedManager_methods(root_module, root_module['ns3::SeedManager'])
4.313 + register_Ns3SequentialVariable_methods(root_module, root_module['ns3::SequentialVariable'])
4.314 + register_Ns3SystemCondition_methods(root_module, root_module['ns3::SystemCondition'])
4.315 + register_Ns3SystemMutex_methods(root_module, root_module['ns3::SystemMutex'])
4.316 + register_Ns3SystemThread_methods(root_module, root_module['ns3::SystemThread'])
4.317 + register_Ns3SystemWallClockMs_methods(root_module, root_module['ns3::SystemWallClockMs'])
4.318 + register_Ns3TestCase_methods(root_module, root_module['ns3::TestCase'])
4.319 + register_Ns3TestRunner_methods(root_module, root_module['ns3::TestRunner'])
4.320 + register_Ns3TestSuite_methods(root_module, root_module['ns3::TestSuite'])
4.321 + register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor'])
4.322 + register_Ns3TriangularVariable_methods(root_module, root_module['ns3::TriangularVariable'])
4.323 + register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId'])
4.324 + register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo'])
4.325 + register_Ns3UniformVariable_methods(root_module, root_module['ns3::UniformVariable'])
4.326 + register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList'])
4.327 + register_Ns3Vector2D_methods(root_module, root_module['ns3::Vector2D'])
4.328 + register_Ns3Vector3D_methods(root_module, root_module['ns3::Vector3D'])
4.329 + register_Ns3WeibullVariable_methods(root_module, root_module['ns3::WeibullVariable'])
4.330 + register_Ns3ZipfVariable_methods(root_module, root_module['ns3::ZipfVariable'])
4.331 + register_Ns3Empty_methods(root_module, root_module['ns3::empty'])
4.332 + register_Ns3AttributeAccessor_methods(root_module, root_module['ns3::AttributeAccessor'])
4.333 + register_Ns3AttributeChecker_methods(root_module, root_module['ns3::AttributeChecker'])
4.334 + register_Ns3AttributeValue_methods(root_module, root_module['ns3::AttributeValue'])
4.335 + register_Ns3BooleanChecker_methods(root_module, root_module['ns3::BooleanChecker'])
4.336 + register_Ns3BooleanValue_methods(root_module, root_module['ns3::BooleanValue'])
4.337 + register_Ns3CallbackChecker_methods(root_module, root_module['ns3::CallbackChecker'])
4.338 + register_Ns3CallbackValue_methods(root_module, root_module['ns3::CallbackValue'])
4.339 + register_Ns3ConstantVariable_methods(root_module, root_module['ns3::ConstantVariable'])
4.340 + register_Ns3DeterministicVariable_methods(root_module, root_module['ns3::DeterministicVariable'])
4.341 + register_Ns3DoubleValue_methods(root_module, root_module['ns3::DoubleValue'])
4.342 + register_Ns3EmpiricalVariable_methods(root_module, root_module['ns3::EmpiricalVariable'])
4.343 + register_Ns3EmptyAttributeValue_methods(root_module, root_module['ns3::EmptyAttributeValue'])
4.344 + register_Ns3EnumChecker_methods(root_module, root_module['ns3::EnumChecker'])
4.345 + register_Ns3EnumValue_methods(root_module, root_module['ns3::EnumValue'])
4.346 + register_Ns3ErlangVariable_methods(root_module, root_module['ns3::ErlangVariable'])
4.347 + register_Ns3ExponentialVariable_methods(root_module, root_module['ns3::ExponentialVariable'])
4.348 + register_Ns3GammaVariable_methods(root_module, root_module['ns3::GammaVariable'])
4.349 + register_Ns3IntEmpiricalVariable_methods(root_module, root_module['ns3::IntEmpiricalVariable'])
4.350 + register_Ns3IntegerValue_methods(root_module, root_module['ns3::IntegerValue'])
4.351 + register_Ns3LogNormalVariable_methods(root_module, root_module['ns3::LogNormalVariable'])
4.352 + register_Ns3NormalVariable_methods(root_module, root_module['ns3::NormalVariable'])
4.353 + register_Ns3Object_methods(root_module, root_module['ns3::Object'])
4.354 + register_Ns3ObjectAggregateIterator_methods(root_module, root_module['ns3::Object::AggregateIterator'])
4.355 + register_Ns3ObjectFactoryChecker_methods(root_module, root_module['ns3::ObjectFactoryChecker'])
4.356 + register_Ns3ObjectFactoryValue_methods(root_module, root_module['ns3::ObjectFactoryValue'])
4.357 + register_Ns3ObjectVectorAccessor_methods(root_module, root_module['ns3::ObjectVectorAccessor'])
4.358 + register_Ns3ObjectVectorChecker_methods(root_module, root_module['ns3::ObjectVectorChecker'])
4.359 + register_Ns3ObjectVectorValue_methods(root_module, root_module['ns3::ObjectVectorValue'])
4.360 + register_Ns3ParetoVariable_methods(root_module, root_module['ns3::ParetoVariable'])
4.361 + register_Ns3PointerChecker_methods(root_module, root_module['ns3::PointerChecker'])
4.362 + register_Ns3PointerValue_methods(root_module, root_module['ns3::PointerValue'])
4.363 + register_Ns3RandomVariableChecker_methods(root_module, root_module['ns3::RandomVariableChecker'])
4.364 + register_Ns3RandomVariableValue_methods(root_module, root_module['ns3::RandomVariableValue'])
4.365 + register_Ns3StringChecker_methods(root_module, root_module['ns3::StringChecker'])
4.366 + register_Ns3StringValue_methods(root_module, root_module['ns3::StringValue'])
4.367 + register_Ns3TypeIdChecker_methods(root_module, root_module['ns3::TypeIdChecker'])
4.368 + register_Ns3TypeIdValue_methods(root_module, root_module['ns3::TypeIdValue'])
4.369 + register_Ns3UintegerValue_methods(root_module, root_module['ns3::UintegerValue'])
4.370 + register_Ns3Vector2DChecker_methods(root_module, root_module['ns3::Vector2DChecker'])
4.371 + register_Ns3Vector2DValue_methods(root_module, root_module['ns3::Vector2DValue'])
4.372 + register_Ns3Vector3DChecker_methods(root_module, root_module['ns3::Vector3DChecker'])
4.373 + register_Ns3Vector3DValue_methods(root_module, root_module['ns3::Vector3DValue'])
4.374 + register_Ns3TracedValue__Unsigned_int_methods(root_module, root_module['ns3::TracedValue< unsigned int >'])
4.375 + register_Ns3ConfigMatchContainer_methods(root_module, root_module['ns3::Config::MatchContainer'])
4.376 + return
4.377 +
4.378 +def register_Ns3AttributeList_methods(root_module, cls):
4.379 + ## attribute-list.h: ns3::AttributeList::AttributeList() [constructor]
4.380 + cls.add_constructor([])
4.381 + ## attribute-list.h: ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor]
4.382 + cls.add_constructor([param('ns3::AttributeList const &', 'o')])
4.383 + ## attribute-list.h: bool ns3::AttributeList::DeserializeFromString(std::string value) [member function]
4.384 + cls.add_method('DeserializeFromString',
4.385 + 'bool',
4.386 + [param('std::string', 'value')])
4.387 + ## attribute-list.h: static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function]
4.388 + cls.add_method('GetGlobal',
4.389 + 'ns3::AttributeList *',
4.390 + [],
4.391 + is_static=True)
4.392 + ## attribute-list.h: void ns3::AttributeList::Reset() [member function]
4.393 + cls.add_method('Reset',
4.394 + 'void',
4.395 + [])
4.396 + ## attribute-list.h: std::string ns3::AttributeList::SerializeToString() const [member function]
4.397 + cls.add_method('SerializeToString',
4.398 + 'std::string',
4.399 + [],
4.400 + is_const=True)
4.401 + ## attribute-list.h: void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function]
4.402 + cls.add_method('Set',
4.403 + 'void',
4.404 + [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
4.405 + ## attribute-list.h: bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function]
4.406 + cls.add_method('SetFailSafe',
4.407 + 'bool',
4.408 + [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
4.409 + ## attribute-list.h: void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function]
4.410 + cls.add_method('SetWithTid',
4.411 + 'void',
4.412 + [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
4.413 + return
4.414 +
4.415 +def register_Ns3CallbackBase_methods(root_module, cls):
4.416 + ## callback.h: ns3::CallbackBase::CallbackBase(ns3::CallbackBase const & arg0) [copy constructor]
4.417 + cls.add_constructor([param('ns3::CallbackBase const &', 'arg0')])
4.418 + ## callback.h: ns3::CallbackBase::CallbackBase() [constructor]
4.419 + cls.add_constructor([])
4.420 + ## callback.h: ns3::Ptr<ns3::CallbackImplBase> ns3::CallbackBase::GetImpl() const [member function]
4.421 + cls.add_method('GetImpl',
4.422 + 'ns3::Ptr< ns3::CallbackImplBase >',
4.423 + [],
4.424 + is_const=True)
4.425 + ## callback.h: ns3::CallbackBase::CallbackBase(ns3::Ptr<ns3::CallbackImplBase> impl) [constructor]
4.426 + cls.add_constructor([param('ns3::Ptr< ns3::CallbackImplBase >', 'impl')],
4.427 + visibility='protected')
4.428 + ## callback.h: static std::string ns3::CallbackBase::Demangle(std::string const & mangled) [member function]
4.429 + cls.add_method('Demangle',
4.430 + 'std::string',
4.431 + [param('std::string const &', 'mangled')],
4.432 + is_static=True, visibility='protected')
4.433 + return
4.434 +
4.435 +def register_Ns3CallbackImplBase_methods(root_module, cls):
4.436 + ## callback.h: ns3::CallbackImplBase::CallbackImplBase(ns3::CallbackImplBase const & arg0) [copy constructor]
4.437 + cls.add_constructor([param('ns3::CallbackImplBase const &', 'arg0')])
4.438 + ## callback.h: ns3::CallbackImplBase::CallbackImplBase() [constructor]
4.439 + cls.add_constructor([])
4.440 + ## callback.h: bool ns3::CallbackImplBase::IsEqual(ns3::Ptr<ns3::CallbackImplBase const> other) const [member function]
4.441 + cls.add_method('IsEqual',
4.442 + 'bool',
4.443 + [param('ns3::Ptr< ns3::CallbackImplBase const >', 'other')],
4.444 + is_pure_virtual=True, is_const=True, is_virtual=True)
4.445 + return
4.446 +
4.447 +def register_Ns3CommandLine_methods(root_module, cls):
4.448 + ## command-line.h: ns3::CommandLine::CommandLine() [constructor]
4.449 + cls.add_constructor([])
4.450 + ## command-line.h: ns3::CommandLine::CommandLine(ns3::CommandLine const & arg0) [copy constructor]
4.451 + cls.add_constructor([param('ns3::CommandLine const &', 'arg0')])
4.452 + ## command-line.h: void ns3::CommandLine::AddValue(std::string const & name, std::string const & help, ns3::Callback<bool, std::string, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> callback) [member function]
4.453 + cls.add_method('AddValue',
4.454 + 'void',
4.455 + [param('std::string const &', 'name'), param('std::string const &', 'help'), param('ns3::Callback< bool, std::string, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')])
4.456 + return
4.457 +
4.458 +def register_Ns3CriticalSection_methods(root_module, cls):
4.459 + ## system-mutex.h: ns3::CriticalSection::CriticalSection(ns3::CriticalSection const & arg0) [copy constructor]
4.460 + cls.add_constructor([param('ns3::CriticalSection const &', 'arg0')])
4.461 + ## system-mutex.h: ns3::CriticalSection::CriticalSection(ns3::SystemMutex & mutex) [constructor]
4.462 + cls.add_constructor([param('ns3::SystemMutex &', 'mutex')])
4.463 + return
4.464 +
4.465 +def register_Ns3GlobalValue_methods(root_module, cls):
4.466 + ## global-value.h: ns3::GlobalValue::GlobalValue(ns3::GlobalValue const & arg0) [copy constructor]
4.467 + cls.add_constructor([param('ns3::GlobalValue const &', 'arg0')])
4.468 + ## global-value.h: ns3::GlobalValue::GlobalValue(std::string name, std::string help, ns3::AttributeValue const & initialValue, ns3::Ptr<ns3::AttributeChecker const> checker) [constructor]
4.469 + cls.add_constructor([param('std::string', 'name'), param('std::string', 'help'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')])
4.470 + ## global-value.h: static __gnu_cxx::__normal_iterator<ns3::GlobalValue* const*,std::vector<ns3::GlobalValue*, std::allocator<ns3::GlobalValue*> > > ns3::GlobalValue::Begin() [member function]
4.471 + cls.add_method('Begin',
4.472 + '__gnu_cxx::__normal_iterator< ns3::GlobalValue * const *, std::vector< ns3::GlobalValue * > >',
4.473 + [],
4.474 + is_static=True)
4.475 + ## global-value.h: static void ns3::GlobalValue::Bind(std::string name, ns3::AttributeValue const & value) [member function]
4.476 + cls.add_method('Bind',
4.477 + 'void',
4.478 + [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')],
4.479 + is_static=True)
4.480 + ## global-value.h: static bool ns3::GlobalValue::BindFailSafe(std::string name, ns3::AttributeValue const & value) [member function]
4.481 + cls.add_method('BindFailSafe',
4.482 + 'bool',
4.483 + [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')],
4.484 + is_static=True)
4.485 + ## global-value.h: static __gnu_cxx::__normal_iterator<ns3::GlobalValue* const*,std::vector<ns3::GlobalValue*, std::allocator<ns3::GlobalValue*> > > ns3::GlobalValue::End() [member function]
4.486 + cls.add_method('End',
4.487 + '__gnu_cxx::__normal_iterator< ns3::GlobalValue * const *, std::vector< ns3::GlobalValue * > >',
4.488 + [],
4.489 + is_static=True)
4.490 + ## global-value.h: ns3::Ptr<ns3::AttributeChecker const> ns3::GlobalValue::GetChecker() const [member function]
4.491 + cls.add_method('GetChecker',
4.492 + 'ns3::Ptr< ns3::AttributeChecker const >',
4.493 + [],
4.494 + is_const=True)
4.495 + ## global-value.h: std::string ns3::GlobalValue::GetHelp() const [member function]
4.496 + cls.add_method('GetHelp',
4.497 + 'std::string',
4.498 + [],
4.499 + is_const=True)
4.500 + ## global-value.h: std::string ns3::GlobalValue::GetName() const [member function]
4.501 + cls.add_method('GetName',
4.502 + 'std::string',
4.503 + [],
4.504 + is_const=True)
4.505 + ## global-value.h: void ns3::GlobalValue::GetValue(ns3::AttributeValue & value) const [member function]
4.506 + cls.add_method('GetValue',
4.507 + 'void',
4.508 + [param('ns3::AttributeValue &', 'value')],
4.509 + is_const=True)
4.510 + ## global-value.h: static void ns3::GlobalValue::GetValueByName(std::string name, ns3::AttributeValue & value) [member function]
4.511 + cls.add_method('GetValueByName',
4.512 + 'void',
4.513 + [param('std::string', 'name'), param('ns3::AttributeValue &', 'value')],
4.514 + is_static=True)
4.515 + ## global-value.h: static bool ns3::GlobalValue::GetValueByNameFailSafe(std::string name, ns3::AttributeValue & value) [member function]
4.516 + cls.add_method('GetValueByNameFailSafe',
4.517 + 'bool',
4.518 + [param('std::string', 'name'), param('ns3::AttributeValue &', 'value')],
4.519 + is_static=True)
4.520 + ## global-value.h: bool ns3::GlobalValue::SetValue(ns3::AttributeValue const & value) [member function]
4.521 + cls.add_method('SetValue',
4.522 + 'bool',
4.523 + [param('ns3::AttributeValue const &', 'value')])
4.524 + return
4.525 +
4.526 +def register_Ns3IntToType__0_methods(root_module, cls):
4.527 + ## int-to-type.h: ns3::IntToType<0>::IntToType() [constructor]
4.528 + cls.add_constructor([])
4.529 + ## int-to-type.h: ns3::IntToType<0>::IntToType(ns3::IntToType<0> const & arg0) [copy constructor]
4.530 + cls.add_constructor([param('ns3::IntToType< 0 > const &', 'arg0')])
4.531 + return
4.532 +
4.533 +def register_Ns3IntToType__1_methods(root_module, cls):
4.534 + ## int-to-type.h: ns3::IntToType<1>::IntToType() [constructor]
4.535 + cls.add_constructor([])
4.536 + ## int-to-type.h: ns3::IntToType<1>::IntToType(ns3::IntToType<1> const & arg0) [copy constructor]
4.537 + cls.add_constructor([param('ns3::IntToType< 1 > const &', 'arg0')])
4.538 + return
4.539 +
4.540 +def register_Ns3IntToType__2_methods(root_module, cls):
4.541 + ## int-to-type.h: ns3::IntToType<2>::IntToType() [constructor]
4.542 + cls.add_constructor([])
4.543 + ## int-to-type.h: ns3::IntToType<2>::IntToType(ns3::IntToType<2> const & arg0) [copy constructor]
4.544 + cls.add_constructor([param('ns3::IntToType< 2 > const &', 'arg0')])
4.545 + return
4.546 +
4.547 +def register_Ns3IntToType__3_methods(root_module, cls):
4.548 + ## int-to-type.h: ns3::IntToType<3>::IntToType() [constructor]
4.549 + cls.add_constructor([])
4.550 + ## int-to-type.h: ns3::IntToType<3>::IntToType(ns3::IntToType<3> const & arg0) [copy constructor]
4.551 + cls.add_constructor([param('ns3::IntToType< 3 > const &', 'arg0')])
4.552 + return
4.553 +
4.554 +def register_Ns3IntToType__4_methods(root_module, cls):
4.555 + ## int-to-type.h: ns3::IntToType<4>::IntToType() [constructor]
4.556 + cls.add_constructor([])
4.557 + ## int-to-type.h: ns3::IntToType<4>::IntToType(ns3::IntToType<4> const & arg0) [copy constructor]
4.558 + cls.add_constructor([param('ns3::IntToType< 4 > const &', 'arg0')])
4.559 + return
4.560 +
4.561 +def register_Ns3IntToType__5_methods(root_module, cls):
4.562 + ## int-to-type.h: ns3::IntToType<5>::IntToType() [constructor]
4.563 + cls.add_constructor([])
4.564 + ## int-to-type.h: ns3::IntToType<5>::IntToType(ns3::IntToType<5> const & arg0) [copy constructor]
4.565 + cls.add_constructor([param('ns3::IntToType< 5 > const &', 'arg0')])
4.566 + return
4.567 +
4.568 +def register_Ns3IntToType__6_methods(root_module, cls):
4.569 + ## int-to-type.h: ns3::IntToType<6>::IntToType() [constructor]
4.570 + cls.add_constructor([])
4.571 + ## int-to-type.h: ns3::IntToType<6>::IntToType(ns3::IntToType<6> const & arg0) [copy constructor]
4.572 + cls.add_constructor([param('ns3::IntToType< 6 > const &', 'arg0')])
4.573 + return
4.574 +
4.575 +def register_Ns3Names_methods(root_module, cls):
4.576 + ## names.h: ns3::Names::Names() [constructor]
4.577 + cls.add_constructor([])
4.578 + ## names.h: ns3::Names::Names(ns3::Names const & arg0) [copy constructor]
4.579 + cls.add_constructor([param('ns3::Names const &', 'arg0')])
4.580 + ## names.h: static void ns3::Names::Add(std::string name, ns3::Ptr<ns3::Object> object) [member function]
4.581 + cls.add_method('Add',
4.582 + 'void',
4.583 + [param('std::string', 'name'), param('ns3::Ptr< ns3::Object >', 'object')],
4.584 + is_static=True)
4.585 + ## names.h: static void ns3::Names::Add(std::string path, std::string name, ns3::Ptr<ns3::Object> object) [member function]
4.586 + cls.add_method('Add',
4.587 + 'void',
4.588 + [param('std::string', 'path'), param('std::string', 'name'), param('ns3::Ptr< ns3::Object >', 'object')],
4.589 + is_static=True)
4.590 + ## names.h: static void ns3::Names::Add(ns3::Ptr<ns3::Object> context, std::string name, ns3::Ptr<ns3::Object> object) [member function]
4.591 + cls.add_method('Add',
4.592 + 'void',
4.593 + [param('ns3::Ptr< ns3::Object >', 'context'), param('std::string', 'name'), param('ns3::Ptr< ns3::Object >', 'object')],
4.594 + is_static=True)
4.595 + ## names.h: static void ns3::Names::Clear() [member function]
4.596 + cls.add_method('Clear',
4.597 + 'void',
4.598 + [],
4.599 + is_static=True)
4.600 + ## names.h: static std::string ns3::Names::FindName(ns3::Ptr<ns3::Object> object) [member function]
4.601 + cls.add_method('FindName',
4.602 + 'std::string',
4.603 + [param('ns3::Ptr< ns3::Object >', 'object')],
4.604 + is_static=True)
4.605 + ## names.h: static std::string ns3::Names::FindPath(ns3::Ptr<ns3::Object> object) [member function]
4.606 + cls.add_method('FindPath',
4.607 + 'std::string',
4.608 + [param('ns3::Ptr< ns3::Object >', 'object')],
4.609 + is_static=True)
4.610 + ## names.h: static void ns3::Names::Rename(std::string oldpath, std::string newname) [member function]
4.611 + cls.add_method('Rename',
4.612 + 'void',
4.613 + [param('std::string', 'oldpath'), param('std::string', 'newname')],
4.614 + is_static=True)
4.615 + ## names.h: static void ns3::Names::Rename(std::string path, std::string oldname, std::string newname) [member function]
4.616 + cls.add_method('Rename',
4.617 + 'void',
4.618 + [param('std::string', 'path'), param('std::string', 'oldname'), param('std::string', 'newname')],
4.619 + is_static=True)
4.620 + ## names.h: static void ns3::Names::Rename(ns3::Ptr<ns3::Object> context, std::string oldname, std::string newname) [member function]
4.621 + cls.add_method('Rename',
4.622 + 'void',
4.623 + [param('ns3::Ptr< ns3::Object >', 'context'), param('std::string', 'oldname'), param('std::string', 'newname')],
4.624 + is_static=True)
4.625 + return
4.626 +
4.627 +def register_Ns3ObjectBase_methods(root_module, cls):
4.628 + ## object-base.h: ns3::ObjectBase::ObjectBase() [constructor]
4.629 + cls.add_constructor([])
4.630 + ## object-base.h: ns3::ObjectBase::ObjectBase(ns3::ObjectBase const & arg0) [copy constructor]
4.631 + cls.add_constructor([param('ns3::ObjectBase const &', 'arg0')])
4.632 + ## object-base.h: void ns3::ObjectBase::GetAttribute(std::string name, ns3::AttributeValue & value) const [member function]
4.633 + cls.add_method('GetAttribute',
4.634 + 'void',
4.635 + [param('std::string', 'name'), param('ns3::AttributeValue &', 'value')],
4.636 + is_const=True)
4.637 + ## object-base.h: bool ns3::ObjectBase::GetAttributeFailSafe(std::string name, ns3::AttributeValue & attribute) const [member function]
4.638 + cls.add_method('GetAttributeFailSafe',
4.639 + 'bool',
4.640 + [param('std::string', 'name'), param('ns3::AttributeValue &', 'attribute')],
4.641 + is_const=True)
4.642 + ## object-base.h: ns3::TypeId ns3::ObjectBase::GetInstanceTypeId() const [member function]
4.643 + cls.add_method('GetInstanceTypeId',
4.644 + 'ns3::TypeId',
4.645 + [],
4.646 + is_pure_virtual=True, is_const=True, is_virtual=True)
4.647 + ## object-base.h: static ns3::TypeId ns3::ObjectBase::GetTypeId() [member function]
4.648 + cls.add_method('GetTypeId',
4.649 + 'ns3::TypeId',
4.650 + [],
4.651 + is_static=True)
4.652 + ## object-base.h: void ns3::ObjectBase::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function]
4.653 + cls.add_method('SetAttribute',
4.654 + 'void',
4.655 + [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
4.656 + ## object-base.h: bool ns3::ObjectBase::SetAttributeFailSafe(std::string name, ns3::AttributeValue const & value) [member function]
4.657 + cls.add_method('SetAttributeFailSafe',
4.658 + 'bool',
4.659 + [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
4.660 + ## object-base.h: bool ns3::ObjectBase::TraceConnect(std::string name, std::string context, ns3::CallbackBase const & cb) [member function]
4.661 + cls.add_method('TraceConnect',
4.662 + 'bool',
4.663 + [param('std::string', 'name'), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')])
4.664 + ## object-base.h: bool ns3::ObjectBase::TraceConnectWithoutContext(std::string name, ns3::CallbackBase const & cb) [member function]
4.665 + cls.add_method('TraceConnectWithoutContext',
4.666 + 'bool',
4.667 + [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')])
4.668 + ## object-base.h: bool ns3::ObjectBase::TraceDisconnect(std::string name, std::string context, ns3::CallbackBase const & cb) [member function]
4.669 + cls.add_method('TraceDisconnect',
4.670 + 'bool',
4.671 + [param('std::string', 'name'), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')])
4.672 + ## object-base.h: bool ns3::ObjectBase::TraceDisconnectWithoutContext(std::string name, ns3::CallbackBase const & cb) [member function]
4.673 + cls.add_method('TraceDisconnectWithoutContext',
4.674 + 'bool',
4.675 + [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')])
4.676 + ## object-base.h: void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function]
4.677 + cls.add_method('ConstructSelf',
4.678 + 'void',
4.679 + [param('ns3::AttributeList const &', 'attributes')],
4.680 + visibility='protected')
4.681 + ## object-base.h: void ns3::ObjectBase::NotifyConstructionCompleted() [member function]
4.682 + cls.add_method('NotifyConstructionCompleted',
4.683 + 'void',
4.684 + [],
4.685 + visibility='protected', is_virtual=True)
4.686 + return
4.687 +
4.688 +def register_Ns3ObjectFactory_methods(root_module, cls):
4.689 + cls.add_output_stream_operator()
4.690 + ## object-factory.h: ns3::ObjectFactory::ObjectFactory(ns3::ObjectFactory const & arg0) [copy constructor]
4.691 + cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')])
4.692 + ## object-factory.h: ns3::ObjectFactory::ObjectFactory() [constructor]
4.693 + cls.add_constructor([])
4.694 + ## object-factory.h: ns3::Ptr<ns3::Object> ns3::ObjectFactory::Create() const [member function]
4.695 + cls.add_method('Create',
4.696 + 'ns3::Ptr< ns3::Object >',
4.697 + [],
4.698 + is_const=True)
4.699 + ## object-factory.h: ns3::TypeId ns3::ObjectFactory::GetTypeId() const [member function]
4.700 + cls.add_method('GetTypeId',
4.701 + 'ns3::TypeId',
4.702 + [],
4.703 + is_const=True)
4.704 + ## object-factory.h: void ns3::ObjectFactory::Set(std::string name, ns3::AttributeValue const & value) [member function]
4.705 + cls.add_method('Set',
4.706 + 'void',
4.707 + [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
4.708 + ## object-factory.h: void ns3::ObjectFactory::Set(ns3::AttributeList const & list) [member function]
4.709 + cls.add_method('Set',
4.710 + 'void',
4.711 + [param('ns3::AttributeList const &', 'list')])
4.712 + ## object-factory.h: void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function]
4.713 + cls.add_method('SetTypeId',
4.714 + 'void',
4.715 + [param('ns3::TypeId', 'tid')])
4.716 + ## object-factory.h: void ns3::ObjectFactory::SetTypeId(char const * tid) [member function]
4.717 + cls.add_method('SetTypeId',
4.718 + 'void',
4.719 + [param('char const *', 'tid')])
4.720 + ## object-factory.h: void ns3::ObjectFactory::SetTypeId(std::string tid) [member function]
4.721 + cls.add_method('SetTypeId',
4.722 + 'void',
4.723 + [param('std::string', 'tid')])
4.724 + return
4.725 +
4.726 +def register_Ns3RandomVariable_methods(root_module, cls):
4.727 + cls.add_output_stream_operator()
4.728 + ## random-variable.h: ns3::RandomVariable::RandomVariable() [constructor]
4.729 + cls.add_constructor([])
4.730 + ## random-variable.h: ns3::RandomVariable::RandomVariable(ns3::RandomVariable const & o) [copy constructor]
4.731 + cls.add_constructor([param('ns3::RandomVariable const &', 'o')])
4.732 + ## random-variable.h: uint32_t ns3::RandomVariable::GetInteger() const [member function]
4.733 + cls.add_method('GetInteger',
4.734 + 'uint32_t',
4.735 + [],
4.736 + is_const=True)
4.737 + ## random-variable.h: double ns3::RandomVariable::GetValue() const [member function]
4.738 + cls.add_method('GetValue',
4.739 + 'double',
4.740 + [],
4.741 + is_const=True)
4.742 + return
4.743 +
4.744 +def register_Ns3RefCountBase_methods(root_module, cls):
4.745 + ## ref-count-base.h: ns3::RefCountBase::RefCountBase() [constructor]
4.746 + cls.add_constructor([])
4.747 + ## ref-count-base.h: ns3::RefCountBase::RefCountBase(ns3::RefCountBase const & o) [copy constructor]
4.748 + cls.add_constructor([param('ns3::RefCountBase const &', 'o')])
4.749 + return
4.750 +
4.751 +def register_Ns3RngStream_methods(root_module, cls):
4.752 + ## rng-stream.h: ns3::RngStream::RngStream() [constructor]
4.753 + cls.add_constructor([])
4.754 + ## rng-stream.h: ns3::RngStream::RngStream(ns3::RngStream const & arg0) [copy constructor]
4.755 + cls.add_constructor([param('ns3::RngStream const &', 'arg0')])
4.756 + ## rng-stream.h: void ns3::RngStream::AdvanceState(int32_t e, int32_t c) [member function]
4.757 + cls.add_method('AdvanceState',
4.758 + 'void',
4.759 + [param('int32_t', 'e'), param('int32_t', 'c')])
4.760 + ## rng-stream.h: static bool ns3::RngStream::CheckSeed(uint32_t const * seed) [member function]
4.761 + cls.add_method('CheckSeed',
4.762 + 'bool',
4.763 + [param('uint32_t const *', 'seed')],
4.764 + is_static=True)
4.765 + ## rng-stream.h: static bool ns3::RngStream::CheckSeed(uint32_t seed) [member function]
4.766 + cls.add_method('CheckSeed',
4.767 + 'bool',
4.768 + [param('uint32_t', 'seed')],
4.769 + is_static=True)
4.770 + ## rng-stream.h: static uint32_t ns3::RngStream::GetPackageRun() [member function]
4.771 + cls.add_method('GetPackageRun',
4.772 + 'uint32_t',
4.773 + [],
4.774 + is_static=True)
4.775 + ## rng-stream.h: static void ns3::RngStream::GetPackageSeed(uint32_t * seed) [member function]
4.776 + cls.add_method('GetPackageSeed',
4.777 + 'void',
4.778 + [param('uint32_t *', 'seed')],
4.779 + is_static=True)
4.780 + ## rng-stream.h: void ns3::RngStream::GetState(uint32_t * seed) const [member function]
4.781 + cls.add_method('GetState',
4.782 + 'void',
4.783 + [param('uint32_t *', 'seed')],
4.784 + is_const=True)
4.785 + ## rng-stream.h: void ns3::RngStream::IncreasedPrecis(bool incp) [member function]
4.786 + cls.add_method('IncreasedPrecis',
4.787 + 'void',
4.788 + [param('bool', 'incp')])
4.789 + ## rng-stream.h: void ns3::RngStream::InitializeStream() [member function]
4.790 + cls.add_method('InitializeStream',
4.791 + 'void',
4.792 + [])
4.793 + ## rng-stream.h: int32_t ns3::RngStream::RandInt(int32_t i, int32_t j) [member function]
4.794 + cls.add_method('RandInt',
4.795 + 'int32_t',
4.796 + [param('int32_t', 'i'), param('int32_t', 'j')])
4.797 + ## rng-stream.h: double ns3::RngStream::RandU01() [member function]
4.798 + cls.add_method('RandU01',
4.799 + 'double',
4.800 + [])
4.801 + ## rng-stream.h: void ns3::RngStream::ResetNextSubstream() [member function]
4.802 + cls.add_method('ResetNextSubstream',
4.803 + 'void',
4.804 + [])
4.805 + ## rng-stream.h: void ns3::RngStream::ResetNthSubstream(uint32_t N) [member function]
4.806 + cls.add_method('ResetNthSubstream',
4.807 + 'void',
4.808 + [param('uint32_t', 'N')])
4.809 + ## rng-stream.h: void ns3::RngStream::ResetStartStream() [member function]
4.810 + cls.add_method('ResetStartStream',
4.811 + 'void',
4.812 + [])
4.813 + ## rng-stream.h: void ns3::RngStream::ResetStartSubstream() [member function]
4.814 + cls.add_method('ResetStartSubstream',
4.815 + 'void',
4.816 + [])
4.817 + ## rng-stream.h: void ns3::RngStream::SetAntithetic(bool a) [member function]
4.818 + cls.add_method('SetAntithetic',
4.819 + 'void',
4.820 + [param('bool', 'a')])
4.821 + ## rng-stream.h: static void ns3::RngStream::SetPackageRun(uint32_t run) [member function]
4.822 + cls.add_method('SetPackageRun',
4.823 + 'void',
4.824 + [param('uint32_t', 'run')],
4.825 + is_static=True)
4.826 + ## rng-stream.h: static bool ns3::RngStream::SetPackageSeed(uint32_t seed) [member function]
4.827 + cls.add_method('SetPackageSeed',
4.828 + 'bool',
4.829 + [param('uint32_t', 'seed')],
4.830 + is_static=True)
4.831 + ## rng-stream.h: static bool ns3::RngStream::SetPackageSeed(uint32_t const * seed) [member function]
4.832 + cls.add_method('SetPackageSeed',
4.833 + 'bool',
4.834 + [param('uint32_t const *', 'seed')],
4.835 + is_static=True)
4.836 + ## rng-stream.h: bool ns3::RngStream::SetSeeds(uint32_t const * seed) [member function]
4.837 + cls.add_method('SetSeeds',
4.838 + 'bool',
4.839 + [param('uint32_t const *', 'seed')])
4.840 + return
4.841 +
4.842 +def register_Ns3SeedManager_methods(root_module, cls):
4.843 + ## random-variable.h: ns3::SeedManager::SeedManager() [constructor]
4.844 + cls.add_constructor([])
4.845 + ## random-variable.h: ns3::SeedManager::SeedManager(ns3::SeedManager const & arg0) [copy constructor]
4.846 + cls.add_constructor([param('ns3::SeedManager const &', 'arg0')])
4.847 + ## random-variable.h: static bool ns3::SeedManager::CheckSeed(uint32_t seed) [member function]
4.848 + cls.add_method('CheckSeed',
4.849 + 'bool',
4.850 + [param('uint32_t', 'seed')],
4.851 + is_static=True)
4.852 + ## random-variable.h: static uint32_t ns3::SeedManager::GetRun() [member function]
4.853 + cls.add_method('GetRun',
4.854 + 'uint32_t',
4.855 + [],
4.856 + is_static=True)
4.857 + ## random-variable.h: static uint32_t ns3::SeedManager::GetSeed() [member function]
4.858 + cls.add_method('GetSeed',
4.859 + 'uint32_t',
4.860 + [],
4.861 + is_static=True)
4.862 + ## random-variable.h: static void ns3::SeedManager::SetRun(uint32_t run) [member function]
4.863 + cls.add_method('SetRun',
4.864 + 'void',
4.865 + [param('uint32_t', 'run')],
4.866 + is_static=True)
4.867 + ## random-variable.h: static void ns3::SeedManager::SetSeed(uint32_t seed) [member function]
4.868 + cls.add_method('SetSeed',
4.869 + 'void',
4.870 + [param('uint32_t', 'seed')],
4.871 + is_static=True)
4.872 + return
4.873 +
4.874 +def register_Ns3SequentialVariable_methods(root_module, cls):
4.875 + ## random-variable.h: ns3::SequentialVariable::SequentialVariable(ns3::SequentialVariable const & arg0) [copy constructor]
4.876 + cls.add_constructor([param('ns3::SequentialVariable const &', 'arg0')])
4.877 + ## random-variable.h: ns3::SequentialVariable::SequentialVariable(double f, double l, double i=1, uint32_t c=1) [constructor]
4.878 + cls.add_constructor([param('double', 'f'), param('double', 'l'), param('double', 'i', default_value='1'), param('uint32_t', 'c', default_value='1')])
4.879 + ## random-variable.h: ns3::SequentialVariable::SequentialVariable(double f, double l, ns3::RandomVariable const & i, uint32_t c=1) [constructor]
4.880 + cls.add_constructor([param('double', 'f'), param('double', 'l'), param('ns3::RandomVariable const &', 'i'), param('uint32_t', 'c', default_value='1')])
4.881 + return
4.882 +
4.883 +def register_Ns3SystemCondition_methods(root_module, cls):
4.884 + ## system-condition.h: ns3::SystemCondition::SystemCondition(ns3::SystemCondition const & arg0) [copy constructor]
4.885 + cls.add_constructor([param('ns3::SystemCondition const &', 'arg0')])
4.886 + ## system-condition.h: ns3::SystemCondition::SystemCondition() [constructor]
4.887 + cls.add_constructor([])
4.888 + ## system-condition.h: void ns3::SystemCondition::Broadcast() [member function]
4.889 + cls.add_method('Broadcast',
4.890 + 'void',
4.891 + [])
4.892 + ## system-condition.h: bool ns3::SystemCondition::GetCondition() [member function]
4.893 + cls.add_method('GetCondition',
4.894 + 'bool',
4.895 + [])
4.896 + ## system-condition.h: void ns3::SystemCondition::SetCondition(bool condition) [member function]
4.897 + cls.add_method('SetCondition',
4.898 + 'void',
4.899 + [param('bool', 'condition')])
4.900 + ## system-condition.h: void ns3::SystemCondition::Signal() [member function]
4.901 + cls.add_method('Signal',
4.902 + 'void',
4.903 + [])
4.904 + ## system-condition.h: bool ns3::SystemCondition::TimedWait(uint64_t ns) [member function]
4.905 + cls.add_method('TimedWait',
4.906 + 'bool',
4.907 + [param('uint64_t', 'ns')])
4.908 + ## system-condition.h: void ns3::SystemCondition::Wait() [member function]
4.909 + cls.add_method('Wait',
4.910 + 'void',
4.911 + [])
4.912 + return
4.913 +
4.914 +def register_Ns3SystemMutex_methods(root_module, cls):
4.915 + ## system-mutex.h: ns3::SystemMutex::SystemMutex(ns3::SystemMutex const & arg0) [copy constructor]
4.916 + cls.add_constructor([param('ns3::SystemMutex const &', 'arg0')])
4.917 + ## system-mutex.h: ns3::SystemMutex::SystemMutex() [constructor]
4.918 + cls.add_constructor([])
4.919 + ## system-mutex.h: void ns3::SystemMutex::Lock() [member function]
4.920 + cls.add_method('Lock',
4.921 + 'void',
4.922 + [])
4.923 + ## system-mutex.h: void ns3::SystemMutex::Unlock() [member function]
4.924 + cls.add_method('Unlock',
4.925 + 'void',
4.926 + [])
4.927 + return
4.928 +
4.929 +def register_Ns3SystemThread_methods(root_module, cls):
4.930 + ## system-thread.h: ns3::SystemThread::SystemThread(ns3::SystemThread const & arg0) [copy constructor]
4.931 + cls.add_constructor([param('ns3::SystemThread const &', 'arg0')])
4.932 + ## system-thread.h: ns3::SystemThread::SystemThread(ns3::Callback<void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> callback) [constructor]
4.933 + cls.add_constructor([param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')])
4.934 + ## system-thread.h: bool ns3::SystemThread::Break() [member function]
4.935 + cls.add_method('Break',
4.936 + 'bool',
4.937 + [])
4.938 + ## system-thread.h: void ns3::SystemThread::Join() [member function]
4.939 + cls.add_method('Join',
4.940 + 'void',
4.941 + [])
4.942 + ## system-thread.h: void ns3::SystemThread::Ref() const [member function]
4.943 + cls.add_method('Ref',
4.944 + 'void',
4.945 + [],
4.946 + is_const=True)
4.947 + ## system-thread.h: void ns3::SystemThread::Shutdown() [member function]
4.948 + cls.add_method('Shutdown',
4.949 + 'void',
4.950 + [])
4.951 + ## system-thread.h: void ns3::SystemThread::Start() [member function]
4.952 + cls.add_method('Start',
4.953 + 'void',
4.954 + [])
4.955 + ## system-thread.h: void ns3::SystemThread::Unref() const [member function]
4.956 + cls.add_method('Unref',
4.957 + 'void',
4.958 + [],
4.959 + is_const=True)
4.960 + return
4.961 +
4.962 +def register_Ns3SystemWallClockMs_methods(root_module, cls):
4.963 + ## system-wall-clock-ms.h: ns3::SystemWallClockMs::SystemWallClockMs(ns3::SystemWallClockMs const & arg0) [copy constructor]
4.964 + cls.add_constructor([param('ns3::SystemWallClockMs const &', 'arg0')])
4.965 + ## system-wall-clock-ms.h: ns3::SystemWallClockMs::SystemWallClockMs() [constructor]
4.966 + cls.add_constructor([])
4.967 + ## system-wall-clock-ms.h: long long unsigned int ns3::SystemWallClockMs::End() [member function]
4.968 + cls.add_method('End',
4.969 + 'long long unsigned int',
4.970 + [])
4.971 + ## system-wall-clock-ms.h: void ns3::SystemWallClockMs::Start() [member function]
4.972 + cls.add_method('Start',
4.973 + 'void',
4.974 + [])
4.975 + return
4.976 +
4.977 +def register_Ns3TestCase_methods(root_module, cls):
4.978 + ## test.h: ns3::TestCase::TestCase(std::string name) [constructor]
4.979 + cls.add_constructor([param('std::string', 'name')])
4.980 + ## test.h: bool ns3::TestCase::Run() [member function]
4.981 + cls.add_method('Run',
4.982 + 'bool',
4.983 + [])
4.984 + ## test.h: void ns3::TestCase::SetVerbose(bool verbose) [member function]
4.985 + cls.add_method('SetVerbose',
4.986 + 'void',
4.987 + [param('bool', 'verbose')])
4.988 + ## test.h: void ns3::TestCase::SetContinueOnFailure(bool continueOnFailure) [member function]
4.989 + cls.add_method('SetContinueOnFailure',
4.990 + 'void',
4.991 + [param('bool', 'continueOnFailure')])
4.992 + ## test.h: void ns3::TestCase::SetName(std::string name) [member function]
4.993 + cls.add_method('SetName',
4.994 + 'void',
4.995 + [param('std::string', 'name')])
4.996 + ## test.h: std::string ns3::TestCase::GetName() [member function]
4.997 + cls.add_method('GetName',
4.998 + 'std::string',
4.999 + [])
4.1000 + ## test.h: void ns3::TestCase::SetBaseDir(std::string dir) [member function]
4.1001 + cls.add_method('SetBaseDir',
4.1002 + 'void',
4.1003 + [param('std::string', 'dir')])
4.1004 + ## test.h: std::string ns3::TestCase::GetBaseDir() [member function]
4.1005 + cls.add_method('GetBaseDir',
4.1006 + 'std::string',
4.1007 + [])
4.1008 + ## test.h: std::string ns3::TestCase::GetSourceDir(std::string file) [member function]
4.1009 + cls.add_method('GetSourceDir',
4.1010 + 'std::string',