gjc@3408: from pybindgen import Module, FileCodeSink, write_preamble, param, retval gjc@3408: gjc@3408: def register_types(module): gjc@3408: root_module = module.get_root() gjc@3408: gjc@3408: ## ethernet-header.h: ns3::ethernet_header_t [enumeration] gjc@3408: module.add_enum('ethernet_header_t', ['LENGTH', 'VLAN', 'QINQ']) gjc@3408: ## node-list.h: ns3::NodeList [class] gjc@3408: module.add_class('NodeList') gjc@3408: ## address.h: ns3::Address [class] gjc@3408: module.add_class('Address') gjc@3408: ## address.h: ns3::Address::MaxSize_e [enumeration] gjc@3408: module.add_enum('MaxSize_e', ['MAX_SIZE'], outer_class=root_module['ns3::Address']) gjc@3408: ## ipv4-address.h: ns3::Ipv4AddressChecker [class] gjc@3408: module.add_class('Ipv4AddressChecker', parent=root_module['ns3::AttributeChecker']) gjc@3408: ## mac48-address.h: ns3::Mac48Address [class] gjc@3408: module.add_class('Mac48Address') gjc@3408: ## mac48-address.h: ns3::Mac48Address [class] gjc@3408: root_module['ns3::Mac48Address'].implicitly_converts_to(root_module['ns3::Address']) gjc@3408: ## mac64-address.h: ns3::Mac64Address [class] gjc@3408: module.add_class('Mac64Address') gjc@3408: ## mac64-address.h: ns3::Mac64Address [class] gjc@3408: root_module['ns3::Mac64Address'].implicitly_converts_to(root_module['ns3::Address']) gjc@3408: ## ipv4-address-generator.h: ns3::Ipv4AddressGenerator [class] gjc@3408: module.add_class('Ipv4AddressGenerator') gjc@3408: ## mac48-address.h: ns3::Mac48AddressChecker [class] gjc@3408: module.add_class('Mac48AddressChecker', parent=root_module['ns3::AttributeChecker']) gjc@3408: ## ipv4-address.h: ns3::Ipv4MaskChecker [class] gjc@3408: module.add_class('Ipv4MaskChecker', parent=root_module['ns3::AttributeChecker']) gjc@3408: ## ipv4-route.h: ns3::Ipv4Route [class] gjc@3408: module.add_class('Ipv4Route') gjc@3408: ## ipv4-route.h: ns3::Ipv4MulticastRoute [class] gjc@3408: module.add_class('Ipv4MulticastRoute') gjc@3408: ## address.h: ns3::AddressChecker [class] gjc@3408: module.add_class('AddressChecker', parent=root_module['ns3::AttributeChecker']) gjc@3408: ## packet-socket-address.h: ns3::PacketSocketAddress [class] gjc@3408: module.add_class('PacketSocketAddress') gjc@3408: ## packet-socket-address.h: ns3::PacketSocketAddress [class] gjc@3408: root_module['ns3::PacketSocketAddress'].implicitly_converts_to(root_module['ns3::Address']) gjc@3408: ## ipv4-address.h: ns3::Ipv4Mask [class] gjc@3408: module.add_class('Ipv4Mask') gjc@3408: ## ipv4-address.h: ns3::Ipv4AddressValue [class] gjc@3457: module.add_class('Ipv4AddressValue', parent=root_module['ns3::AttributeValue']) gjc@3408: ## ipv4.h: ns3::Ipv4RoutingProtocol [class] gjc@3457: module.add_class('Ipv4RoutingProtocol', parent=root_module['ns3::Object']) gjc@3408: ## mac48-address.h: ns3::Mac48AddressValue [class] gjc@3457: module.add_class('Mac48AddressValue', parent=root_module['ns3::AttributeValue']) gjc@3408: ## ipv4-address.h: ns3::Ipv4MaskValue [class] gjc@3457: module.add_class('Ipv4MaskValue', parent=root_module['ns3::AttributeValue']) gjc@3408: ## socket.h: ns3::SocketAddressTag [class] gjc@3457: module.add_class('SocketAddressTag', parent=root_module['ns3::Tag']) gjc@3408: ## inet-socket-address.h: ns3::InetSocketAddress [class] gjc@3408: module.add_class('InetSocketAddress') gjc@3408: ## inet-socket-address.h: ns3::InetSocketAddress [class] gjc@3408: root_module['ns3::InetSocketAddress'].implicitly_converts_to(root_module['ns3::Address']) gjc@3408: ## ipv4-address.h: ns3::Ipv4Address [class] gjc@3408: module.add_class('Ipv4Address') gjc@3408: ## ipv4-address.h: ns3::Ipv4Address [class] gjc@3408: root_module['ns3::Ipv4Address'].implicitly_converts_to(root_module['ns3::Address']) gjc@3408: ## application.h: ns3::Application [class] gjc@3457: module.add_class('Application', parent=root_module['ns3::Object']) gjc@3408: ## queue.h: ns3::Queue [class] gjc@3457: module.add_class('Queue', parent=root_module['ns3::Object']) gjc@3408: ## socket.h: ns3::Socket [class] gjc@3457: module.add_class('Socket', parent=root_module['ns3::Object']) gjc@3408: ## socket.h: ns3::Socket::SocketErrno [enumeration] gjc@3408: module.add_enum('SocketErrno', ['ERROR_NOTERROR', 'ERROR_ISCONN', 'ERROR_NOTCONN', 'ERROR_MSGSIZE', 'ERROR_AGAIN', 'ERROR_SHUTDOWN', 'ERROR_OPNOTSUPP', 'ERROR_AFNOSUPPORT', 'ERROR_INVAL', 'ERROR_BADF', 'ERROR_NOROUTETOHOST', 'SOCKET_ERRNO_LAST'], outer_class=root_module['ns3::Socket']) gjc@3408: ## ipv4-header.h: ns3::Ipv4Header [class] gjc@3457: module.add_class('Ipv4Header', parent=root_module['ns3::Header']) gjc@3408: ## udp-socket.h: ns3::UdpSocket [class] gjc@3457: module.add_class('UdpSocket', parent=root_module['ns3::Socket']) gjc@3408: ## net-device.h: ns3::NetDevice [class] gjc@3457: module.add_class('NetDevice', parent=root_module['ns3::Object']) gjc@3457: ## net-device.h: ns3::NetDevice::PacketType [enumeration] gjc@3457: module.add_enum('PacketType', ['PACKET_HOST', 'PACKET_BROADCAST', 'PACKET_MULTICAST', 'PACKET_OTHERHOST'], outer_class=root_module['ns3::NetDevice']) gjc@3408: ## address.h: ns3::AddressValue [class] gjc@3457: module.add_class('AddressValue', parent=root_module['ns3::AttributeValue']) gjc@3408: ## node.h: ns3::Node [class] gjc@3457: module.add_class('Node', parent=root_module['ns3::Object']) gjc@3408: ## tcp-socket.h: ns3::TcpSocket [class] gjc@3457: module.add_class('TcpSocket', parent=root_module['ns3::Socket']) gjc@3457: ## channel.h: ns3::Channel [class] gjc@3457: module.add_class('Channel', parent=root_module['ns3::Object']) gjc@3408: ## ethernet-header.h: ns3::EthernetHeader [class] gjc@3457: module.add_class('EthernetHeader', parent=root_module['ns3::Header']) gjc@3408: ## socket.h: ns3::SocketIpTtlTag [class] gjc@3457: module.add_class('SocketIpTtlTag', parent=root_module['ns3::Tag']) gjc@3408: ## ipv4.h: ns3::Ipv4 [class] gjc@3457: module.add_class('Ipv4', parent=root_module['ns3::Object']) gjc@3408: ## socket-factory.h: ns3::SocketFactory [class] gjc@3457: module.add_class('SocketFactory', parent=root_module['ns3::Object']) gjc@3408: ## drop-tail-queue.h: ns3::DropTailQueue [class] gjc@3457: module.add_class('DropTailQueue', parent=root_module['ns3::Queue']) gjc@3408: ## ethernet-trailer.h: ns3::EthernetTrailer [class] gjc@3457: module.add_class('EthernetTrailer', parent=root_module['ns3::Trailer']) gjc@3408: ## llc-snap-header.h: ns3::LlcSnapHeader [class] gjc@3457: module.add_class('LlcSnapHeader', parent=root_module['ns3::Header']) gjc@3408: ## udp-socket-factory.h: ns3::UdpSocketFactory [class] gjc@3416: module.add_class('UdpSocketFactory', parent=root_module['ns3::SocketFactory']) gjc@3408: ## simple-net-device.h: ns3::SimpleNetDevice [class] gjc@3457: module.add_class('SimpleNetDevice', parent=root_module['ns3::NetDevice']) gjc@3457: ## simple-channel.h: ns3::SimpleChannel [class] gjc@3457: module.add_class('SimpleChannel', parent=root_module['ns3::Channel']) gjc@3408: ## tcp-socket-factory.h: ns3::TcpSocketFactory [class] gjc@3416: module.add_class('TcpSocketFactory', parent=root_module['ns3::SocketFactory']) gjc@3408: ## packet-socket-factory.h: ns3::PacketSocketFactory [class] gjc@3457: module.add_class('PacketSocketFactory', parent=root_module['ns3::SocketFactory']) gjc@3408: gjc@3408: ## Register a nested module for the namespace internal gjc@3408: gjc@3408: nested_module = module.add_cpp_namespace('internal') gjc@3408: register_types_ns3_internal(nested_module) gjc@3408: gjc@3408: gjc@3408: ## Register a nested module for the namespace TimeStepPrecision gjc@3408: gjc@3408: nested_module = module.add_cpp_namespace('TimeStepPrecision') gjc@3408: register_types_ns3_TimeStepPrecision(nested_module) gjc@3408: gjc@3408: gjc@3408: ## Register a nested module for the namespace Config gjc@3408: gjc@3408: nested_module = module.add_cpp_namespace('Config') gjc@3408: register_types_ns3_Config(nested_module) gjc@3408: gjc@3408: gjc@3408: ## Register a nested module for the namespace olsr gjc@3408: gjc@3408: nested_module = module.add_cpp_namespace('olsr') gjc@3408: register_types_ns3_olsr(nested_module) gjc@3408: gjc@3408: gjc@3408: def register_types_ns3_internal(module): gjc@3408: root_module = module.get_root() gjc@3408: gjc@3408: gjc@3408: def register_types_ns3_TimeStepPrecision(module): gjc@3408: root_module = module.get_root() gjc@3408: gjc@3408: gjc@3408: def register_types_ns3_Config(module): gjc@3408: root_module = module.get_root() gjc@3408: gjc@3408: gjc@3408: def register_types_ns3_olsr(module): gjc@3408: root_module = module.get_root() gjc@3408: gjc@3408: gjc@3408: def register_methods(root_module): gjc@3408: register_Ns3NodeList_methods(root_module, root_module['ns3::NodeList']) gjc@3408: register_Ns3Address_methods(root_module, root_module['ns3::Address']) gjc@3408: register_Ns3Ipv4AddressChecker_methods(root_module, root_module['ns3::Ipv4AddressChecker']) gjc@3408: register_Ns3Mac48Address_methods(root_module, root_module['ns3::Mac48Address']) gjc@3408: register_Ns3Mac64Address_methods(root_module, root_module['ns3::Mac64Address']) gjc@3408: register_Ns3Ipv4AddressGenerator_methods(root_module, root_module['ns3::Ipv4AddressGenerator']) gjc@3408: register_Ns3Mac48AddressChecker_methods(root_module, root_module['ns3::Mac48AddressChecker']) gjc@3408: register_Ns3Ipv4MaskChecker_methods(root_module, root_module['ns3::Ipv4MaskChecker']) gjc@3408: register_Ns3Ipv4Route_methods(root_module, root_module['ns3::Ipv4Route']) gjc@3408: register_Ns3Ipv4MulticastRoute_methods(root_module, root_module['ns3::Ipv4MulticastRoute']) gjc@3408: register_Ns3AddressChecker_methods(root_module, root_module['ns3::AddressChecker']) gjc@3408: register_Ns3PacketSocketAddress_methods(root_module, root_module['ns3::PacketSocketAddress']) gjc@3408: register_Ns3Ipv4Mask_methods(root_module, root_module['ns3::Ipv4Mask']) gjc@3408: register_Ns3Ipv4AddressValue_methods(root_module, root_module['ns3::Ipv4AddressValue']) gjc@3408: register_Ns3Ipv4RoutingProtocol_methods(root_module, root_module['ns3::Ipv4RoutingProtocol']) gjc@3408: register_Ns3Mac48AddressValue_methods(root_module, root_module['ns3::Mac48AddressValue']) gjc@3408: register_Ns3Ipv4MaskValue_methods(root_module, root_module['ns3::Ipv4MaskValue']) gjc@3408: register_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag']) gjc@3408: register_Ns3InetSocketAddress_methods(root_module, root_module['ns3::InetSocketAddress']) gjc@3408: register_Ns3Ipv4Address_methods(root_module, root_module['ns3::Ipv4Address']) gjc@3408: register_Ns3Application_methods(root_module, root_module['ns3::Application']) gjc@3408: register_Ns3Queue_methods(root_module, root_module['ns3::Queue']) gjc@3408: register_Ns3Socket_methods(root_module, root_module['ns3::Socket']) gjc@3408: register_Ns3Ipv4Header_methods(root_module, root_module['ns3::Ipv4Header']) gjc@3408: register_Ns3UdpSocket_methods(root_module, root_module['ns3::UdpSocket']) gjc@3408: register_Ns3NetDevice_methods(root_module, root_module['ns3::NetDevice']) gjc@3408: register_Ns3AddressValue_methods(root_module, root_module['ns3::AddressValue']) gjc@3408: register_Ns3Node_methods(root_module, root_module['ns3::Node']) gjc@3408: register_Ns3TcpSocket_methods(root_module, root_module['ns3::TcpSocket']) gjc@3457: register_Ns3Channel_methods(root_module, root_module['ns3::Channel']) gjc@3408: register_Ns3EthernetHeader_methods(root_module, root_module['ns3::EthernetHeader']) gjc@3408: register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag']) gjc@3408: register_Ns3Ipv4_methods(root_module, root_module['ns3::Ipv4']) gjc@3408: register_Ns3SocketFactory_methods(root_module, root_module['ns3::SocketFactory']) gjc@3408: register_Ns3DropTailQueue_methods(root_module, root_module['ns3::DropTailQueue']) gjc@3408: register_Ns3EthernetTrailer_methods(root_module, root_module['ns3::EthernetTrailer']) gjc@3408: register_Ns3LlcSnapHeader_methods(root_module, root_module['ns3::LlcSnapHeader']) gjc@3408: register_Ns3UdpSocketFactory_methods(root_module, root_module['ns3::UdpSocketFactory']) gjc@3408: register_Ns3SimpleNetDevice_methods(root_module, root_module['ns3::SimpleNetDevice']) gjc@3457: register_Ns3SimpleChannel_methods(root_module, root_module['ns3::SimpleChannel']) gjc@3408: register_Ns3TcpSocketFactory_methods(root_module, root_module['ns3::TcpSocketFactory']) gjc@3408: register_Ns3PacketSocketFactory_methods(root_module, root_module['ns3::PacketSocketFactory']) gjc@3408: return gjc@3408: gjc@3408: def register_Ns3NodeList_methods(root_module, cls): gjc@3408: ## node-list.h: static uint32_t ns3::NodeList::Add(ns3::Ptr node) [member function] gjc@3408: cls.add_method('Add', 'uint32_t', [param('ns3::Ptr< ns3::Node >', 'node')], is_static=True) gjc@3408: ## node-list.h: static __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::NodeList::Begin() [member function] gjc@3408: cls.add_method('Begin', '__gnu_cxx::__normal_iterator< const ns3::Ptr< ns3::Node >, std::vector< ns3::Ptr< ns3::Node >, std::allocator< ns3::Ptr< ns3::Node > > > >', [], is_static=True) gjc@3408: ## node-list.h: static __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::NodeList::End() [member function] gjc@3408: cls.add_method('End', '__gnu_cxx::__normal_iterator< const ns3::Ptr< ns3::Node >, std::vector< ns3::Ptr< ns3::Node >, std::allocator< ns3::Ptr< ns3::Node > > > >', [], is_static=True) gjc@3408: ## node-list.h: static ns3::Ptr ns3::NodeList::GetNode(uint32_t n) [member function] gjc@3408: cls.add_method('GetNode', 'ns3::Ptr< ns3::Node >', [param('uint32_t', 'n')], is_static=True) gjc@3408: ## node-list.h: static uint32_t ns3::NodeList::GetNNodes() [member function] gjc@3408: cls.add_method('GetNNodes', 'uint32_t', [], is_static=True) gjc@3408: cls.add_constructor([]) gjc@3408: return gjc@3408: gjc@3408: def register_Ns3Address_methods(root_module, cls): gjc@3408: ## address.h: ns3::Address::Address() [constructor] gjc@3408: cls.add_constructor([], visibility='public') gjc@3408: ## address.h: ns3::Address::Address(uint8_t type, uint8_t const * buffer, uint8_t len) [constructor] gjc@3408: cls.add_constructor([param('uint8_t', 'type'), param('uint8_t *', 'buffer', transfer_ownership=False, is_const=True), param('uint8_t', 'len')], visibility='public') gjc@3408: ## address.h: ns3::Address::Address(ns3::Address const & address) [copy constructor] gjc@3408: cls.add_constructor([param('ns3::Address&', 'address', is_const=True)], visibility='public') gjc@3408: ## address.h: bool ns3::Address::CheckCompatible(uint8_t type, uint8_t len) const [member function] gjc@3408: cls.add_method('CheckCompatible', 'bool', [param('uint8_t', 'type'), param('uint8_t', 'len')], is_const=True) gjc@3408: ## address.h: uint32_t ns3::Address::CopyAllFrom(uint8_t const * buffer, uint8_t len) [member function] gjc@3408: cls.add_method('CopyAllFrom', 'uint32_t', [param('uint8_t *', 'buffer', transfer_ownership=False, is_const=True), param('uint8_t', 'len')]) gjc@3408: ## address.h: uint32_t ns3::Address::CopyAllTo(uint8_t * buffer, uint8_t len) const [member function] gjc@3408: cls.add_method('CopyAllTo', 'uint32_t', [param('uint8_t *', 'buffer'), param('uint8_t', 'len')], is_const=True) gjc@3408: ## address.h: uint32_t ns3::Address::CopyFrom(uint8_t const * buffer, uint8_t len) [member function] gjc@3408: cls.add_method('CopyFrom', 'uint32_t', [param('uint8_t *', 'buffer', transfer_ownership=False, is_const=True), param('uint8_t', 'len')]) gjc@3408: ## address.h: uint32_t ns3::Address::CopyTo(uint8_t * buffer) const [member function] gjc@3408: cls.add_method('CopyTo', 'uint32_t', [param('uint8_t *', 'buffer')], is_const=True) gjc@3408: ## address.h: void ns3::Address::Deserialize(ns3::TagBuffer buffer) [member function] gjc@3408: cls.add_method('Deserialize', 'void', [param('ns3::TagBuffer', 'buffer')]) gjc@3408: ## address.h: uint8_t ns3::Address::GetLength() const [member function] gjc@3408: cls.add_method('GetLength', 'uint8_t', [], is_const=True) gjc@3408: ## address.h: uint32_t ns3::Address::GetSerializedSize() const [member function] gjc@3408: cls.add_method('GetSerializedSize', 'uint32_t', [], is_const=True) gjc@3408: ## address.h: bool ns3::Address::IsInvalid() const [member function] gjc@3408: cls.add_method('IsInvalid', 'bool', [], is_const=True) gjc@3408: ## address.h: bool ns3::Address::IsMatchingType(uint8_t type) const [member function] gjc@3408: cls.add_method('IsMatchingType', 'bool', [param('uint8_t', 'type')], is_const=True) gjc@3408: ## address.h: static uint8_t ns3::Address::Register() [member function] gjc@3408: cls.add_method('Register', 'uint8_t', [], is_static=True) gjc@3408: ## address.h: void ns3::Address::Serialize(ns3::TagBuffer buffer) const [member function] gjc@3408: cls.add_method('Serialize', 'void', [param('ns3::TagBuffer', 'buffer')], is_const=True) gjc@3408: cls.add_output_stream_operator() gjc@3408: return gjc@3408: gjc@3408: def register_Ns3Ipv4AddressChecker_methods(root_module, cls): gjc@3408: cls.add_constructor([]) gjc@3408: return gjc@3408: gjc@3408: def register_Ns3Mac48Address_methods(root_module, cls): gjc@3408: ## mac48-address.h: ns3::Mac48Address::Mac48Address(ns3::Mac48Address const & arg0) [copy constructor] gjc@3408: cls.add_constructor([param('ns3::Mac48Address&', 'arg0', is_const=True)], visibility='public') gjc@3408: ## mac48-address.h: ns3::Mac48Address::Mac48Address() [constructor] gjc@3408: cls.add_constructor([], visibility='public') gjc@3408: ## mac48-address.h: ns3::Mac48Address::Mac48Address(char const * str) [constructor] gjc@3408: cls.add_constructor([param('char *', 'str', transfer_ownership=False, is_const=True)], visibility='public') gjc@3408: ## mac48-address.h: static ns3::Mac48Address ns3::Mac48Address::Allocate() [member function] gjc@3408: cls.add_method('Allocate', 'ns3::Mac48Address', [], is_static=True) gjc@3408: ## mac48-address.h: static ns3::Mac48Address ns3::Mac48Address::ConvertFrom(ns3::Address const & address) [member function] gjc@3408: cls.add_method('ConvertFrom', 'ns3::Mac48Address', [param('ns3::Address&', 'address', is_const=True)], is_static=True) gjc@3408: ## mac48-address.h: void ns3::Mac48Address::CopyFrom(uint8_t const * buffer) [member function] gjc@3408: cls.add_method('CopyFrom', 'void', [param('uint8_t *', 'buffer', transfer_ownership=False, is_const=True)]) gjc@3408: ## mac48-address.h: void ns3::Mac48Address::CopyTo(uint8_t * buffer) const [member function] gjc@3408: cls.add_method('CopyTo', 'void', [param('uint8_t *', 'buffer')], is_const=True) gjc@3408: ## mac48-address.h: static ns3::Mac48Address ns3::Mac48Address::GetBroadcast() [member function] gjc@3408: cls.add_method('GetBroadcast', 'ns3::Mac48Address', [], is_static=True) gjc@3408: ## mac48-address.h: bool ns3::Mac48Address::IsBroadcast() const [member function] gjc@3408: cls.add_method('IsBroadcast', 'bool', [], is_const=True) gjc@3408: ## mac48-address.h: static bool ns3::Mac48Address::IsMatchingType(ns3::Address const & address) [member function] gjc@3408: cls.add_method('IsMatchingType', 'bool', [param('ns3::Address&', 'address', is_const=True)], is_static=True) gjc@3408: ## mac48-address.h: bool ns3::Mac48Address::IsMulticast() const [member function] gjc@3408: cls.add_method('IsMulticast', 'bool', [], is_const=True) gjc@3408: cls.add_output_stream_operator() gjc@3408: return gjc@3408: gjc@3408: def register_Ns3Mac64Address_methods(root_module, cls): gjc@3408: ## mac64-address.h: ns3::Mac64Address::Mac64Address(ns3::Mac64Address const & arg0) [copy constructor] gjc@3408: cls.add_constructor([param('ns3::Mac64Address&', 'arg0', is_const=True)], visibility='public') gjc@3408: ## mac64-address.h: ns3::Mac64Address::Mac64Address() [constructor] gjc@3408: cls.add_constructor([], visibility='public') gjc@3408: ## mac64-address.h: ns3::Mac64Address::Mac64Address(char const * str) [constructor] gjc@3408: cls.add_constructor([param('char *', 'str', transfer_ownership=False, is_const=True)], visibility='public') gjc@3408: ## mac64-address.h: static ns3::Mac64Address ns3::Mac64Address::Allocate() [member function] gjc@3408: cls.add_method('Allocate', 'ns3::Mac64Address', [], is_static=True) gjc@3408: ## mac64-address.h: static ns3::Mac64Address ns3::Mac64Address::ConvertFrom(ns3::Address const & address) [member function] gjc@3408: cls.add_method('ConvertFrom', 'ns3::Mac64Address', [param('ns3::Address&', 'address', is_const=True)], is_static=True) gjc@3408: ## mac64-address.h: void ns3::Mac64Address::CopyFrom(uint8_t const * buffer) [member function] gjc@3408: cls.add_method('CopyFrom', 'void', [param('uint8_t *', 'buffer', transfer_ownership=False, is_const=True)]) gjc@3408: ## mac64-address.h: void ns3::Mac64Address::CopyTo(uint8_t * buffer) const [member function] gjc@3408: cls.add_method('CopyTo', 'void', [param('uint8_t *', 'buffer')], is_const=True) gjc@3408: ## mac64-address.h: static bool ns3::Mac64Address::IsMatchingType(ns3::Address const & address) [member function] gjc@3408: cls.add_method('IsMatchingType', 'bool', [param('ns3::Address&', 'address', is_const=True)], is_static=True) gjc@3408: cls.add_output_stream_operator() gjc@3408: return gjc@3408: gjc@3408: def register_Ns3Ipv4AddressGenerator_methods(root_module, cls): gjc@3408: ## ipv4-address-generator.h: static void ns3::Ipv4AddressGenerator::Init(ns3::Ipv4Address const net, ns3::Ipv4Mask const mask, ns3::Ipv4Address const addr="0.0.0.1") [member function] gjc@3408: cls.add_method('Init', 'void', [param('ns3::Ipv4Address', 'net', is_const=True), param('ns3::Ipv4Mask', 'mask', is_const=True), param('ns3::Ipv4Address', 'addr', default_value='"0.0.0.1"', is_const=True)], is_static=True) gjc@3408: ## ipv4-address-generator.h: static ns3::Ipv4Address ns3::Ipv4AddressGenerator::NextNetwork(ns3::Ipv4Mask const mask) [member function] gjc@3408: cls.add_method('NextNetwork', 'ns3::Ipv4Address', [param('ns3::Ipv4Mask', 'mask', is_const=True)], is_static=True) gjc@3408: ## ipv4-address-generator.h: static ns3::Ipv4Address ns3::Ipv4AddressGenerator::GetNetwork(ns3::Ipv4Mask const mask) [member function] gjc@3408: cls.add_method('GetNetwork', 'ns3::Ipv4Address', [param('ns3::Ipv4Mask', 'mask', is_const=True)], is_static=True) gjc@3408: ## ipv4-address-generator.h: static void ns3::Ipv4AddressGenerator::InitAddress(ns3::Ipv4Address const addr, ns3::Ipv4Mask const mask) [member function] gjc@3408: cls.add_method('InitAddress', 'void', [param('ns3::Ipv4Address', 'addr', is_const=True), param('ns3::Ipv4Mask', 'mask', is_const=True)], is_static=True) gjc@3408: ## ipv4-address-generator.h: static ns3::Ipv4Address ns3::Ipv4AddressGenerator::NextAddress(ns3::Ipv4Mask const mask) [member function] gjc@3408: cls.add_method('NextAddress', 'ns3::Ipv4Address', [param('ns3::Ipv4Mask', 'mask', is_const=True)], is_static=True) gjc@3408: ## ipv4-address-generator.h: static ns3::Ipv4Address ns3::Ipv4AddressGenerator::GetAddress(ns3::Ipv4Mask const mask) [member function] gjc@3408: cls.add_method('GetAddress', 'ns3::Ipv4Address', [param('ns3::Ipv4Mask', 'mask', is_const=True)], is_static=True) gjc@3408: ## ipv4-address-generator.h: static void ns3::Ipv4AddressGenerator::Reset() [member function] gjc@3408: cls.add_method('Reset', 'void', [], is_static=True) gjc@3408: ## ipv4-address-generator.h: static bool ns3::Ipv4AddressGenerator::AddAllocated(ns3::Ipv4Address const addr) [member function] gjc@3408: cls.add_method('AddAllocated', 'bool', [param('ns3::Ipv4Address', 'addr', is_const=True)], is_static=True) gjc@3408: ## ipv4-address-generator.h: static void ns3::Ipv4AddressGenerator::TestMode() [member function] gjc@3408: cls.add_method('TestMode', 'void', [], is_static=True) gjc@3408: cls.add_constructor([]) gjc@3408: return gjc@3408: gjc@3408: def register_Ns3Mac48AddressChecker_methods(root_module, cls): gjc@3408: cls.add_constructor([]) gjc@3408: return gjc@3408: gjc@3408: def register_Ns3Ipv4MaskChecker_methods(root_module, cls): gjc@3408: cls.add_constructor([]) gjc@3408: return gjc@3408: gjc@3408: def register_Ns3Ipv4Route_methods(root_module, cls): gjc@3408: ## ipv4-route.h: ns3::Ipv4Route::Ipv4Route() [constructor] gjc@3408: cls.add_constructor([], visibility='public') gjc@3408: ## ipv4-route.h: ns3::Ipv4Route::Ipv4Route(ns3::Ipv4Route const & route) [copy constructor] gjc@3408: cls.add_constructor([param('ns3::Ipv4Route&', 'route', is_const=True)], visibility='public') gjc@3408: ## ipv4-route.h: ns3::Ipv4Route::Ipv4Route(ns3::Ipv4Route const * route) [constructor] gjc@3408: cls.add_constructor([param('ns3::Ipv4Route *', 'route', transfer_ownership=False, is_const=True)], visibility='public') gjc@3408: ## ipv4-route.h: static ns3::Ipv4Route ns3::Ipv4Route::CreateDefaultRoute(ns3::Ipv4Address nextHop, uint32_t interface) [member function] gjc@3408: cls.add_method('CreateDefaultRoute', 'ns3::Ipv4Route', [param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')], is_static=True) gjc@3408: ## ipv4-route.h: static ns3::Ipv4Route ns3::Ipv4Route::CreateHostRouteTo(ns3::Ipv4Address dest, ns3::Ipv4Address nextHop, uint32_t interface) [member function] gjc@3408: cls.add_method('CreateHostRouteTo', 'ns3::Ipv4Route', [param('ns3::Ipv4Address', 'dest'), param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')], is_static=True) gjc@3408: ## ipv4-route.h: static ns3::Ipv4Route ns3::Ipv4Route::CreateHostRouteTo(ns3::Ipv4Address dest, uint32_t interface) [member function] gjc@3408: cls.add_method('CreateHostRouteTo', 'ns3::Ipv4Route', [param('ns3::Ipv4Address', 'dest'), param('uint32_t', 'interface')], is_static=True) gjc@3408: ## ipv4-route.h: static ns3::Ipv4Route ns3::Ipv4Route::CreateNetworkRouteTo(ns3::Ipv4Address network, ns3::Ipv4Mask networkMask, ns3::Ipv4Address nextHop, uint32_t interface) [member function] gjc@3408: cls.add_method('CreateNetworkRouteTo', 'ns3::Ipv4Route', [param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'networkMask'), param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')], is_static=True) gjc@3408: ## ipv4-route.h: static ns3::Ipv4Route ns3::Ipv4Route::CreateNetworkRouteTo(ns3::Ipv4Address network, ns3::Ipv4Mask networkMask, uint32_t interface) [member function] gjc@3408: cls.add_method('CreateNetworkRouteTo', 'ns3::Ipv4Route', [param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'networkMask'), param('uint32_t', 'interface')], is_static=True) gjc@3408: ## ipv4-route.h: ns3::Ipv4Address ns3::Ipv4Route::GetDest() const [member function] gjc@3408: cls.add_method('GetDest', 'ns3::Ipv4Address', [], is_const=True) gjc@3408: ## ipv4-route.h: ns3::Ipv4Address ns3::Ipv4Route::GetDestNetwork() const [member function] gjc@3408: cls.add_method('GetDestNetwork', 'ns3::Ipv4Address', [], is_const=True) gjc@3408: ## ipv4-route.h: ns3::Ipv4Mask ns3::Ipv4Route::GetDestNetworkMask() const [member function] gjc@3408: cls.add_method('GetDestNetworkMask', 'ns3::Ipv4Mask', [], is_const=True) gjc@3408: ## ipv4-route.h: ns3::Ipv4Address ns3::Ipv4Route::GetGateway() const [member function] gjc@3408: cls.add_method('GetGateway', 'ns3::Ipv4Address', [], is_const=True) gjc@3408: ## ipv4-route.h: uint32_t ns3::Ipv4Route::GetInterface() const [member function] gjc@3408: cls.add_method('GetInterface', 'uint32_t', [], is_const=True) gjc@3408: ## ipv4-route.h: bool ns3::Ipv4Route::IsDefault() const [member function] gjc@3408: cls.add_method('IsDefault', 'bool', [], is_const=True) gjc@3408: ## ipv4-route.h: bool ns3::Ipv4Route::IsGateway() const [member function] gjc@3408: cls.add_method('IsGateway', 'bool', [], is_const=True) gjc@3408: ## ipv4-route.h: bool ns3::Ipv4Route::IsHost() const [member function] gjc@3408: cls.add_method('IsHost', 'bool', [], is_const=True) gjc@3408: ## ipv4-route.h: bool ns3::Ipv4Route::IsNetwork() const [member function] gjc@3408: cls.add_method('IsNetwork', 'bool', [], is_const=True) gjc@3408: cls.add_output_stream_operator() gjc@3408: return gjc@3408: gjc@3408: def register_Ns3Ipv4MulticastRoute_methods(root_module, cls): gjc@3408: ## ipv4-route.h: ns3::Ipv4MulticastRoute::Ipv4MulticastRoute() [constructor] gjc@3408: cls.add_constructor([], visibility='public') gjc@3408: ## ipv4-route.h: ns3::Ipv4MulticastRoute::Ipv4MulticastRoute(ns3::Ipv4MulticastRoute const & route) [copy constructor] gjc@3408: cls.add_constructor([param('ns3::Ipv4MulticastRoute&', 'route', is_const=True)], visibility='public') gjc@3408: ## ipv4-route.h: ns3::Ipv4MulticastRoute::Ipv4MulticastRoute(ns3::Ipv4MulticastRoute const * route) [constructor] gjc@3408: cls.add_constructor([param('ns3::Ipv4MulticastRoute *', 'route', transfer_ownership=False, is_const=True)], visibility='public') gjc@3408: ## ipv4-route.h: static ns3::Ipv4MulticastRoute ns3::Ipv4MulticastRoute::CreateMulticastRoute(ns3::Ipv4Address origin, ns3::Ipv4Address group, uint32_t inputInterface, std::vector > outputInterfaces) [member function] gjc@3408: cls.add_method('CreateMulticastRoute', 'ns3::Ipv4MulticastRoute', [param('ns3::Ipv4Address', 'origin'), param('ns3::Ipv4Address', 'group'), param('uint32_t', 'inputInterface'), param('std::vector< unsigned int, std::allocator< unsigned int > >', 'outputInterfaces')], is_static=True) gjc@3408: ## ipv4-route.h: ns3::Ipv4Address ns3::Ipv4MulticastRoute::GetGroup() const [member function] gjc@3408: cls.add_method('GetGroup', 'ns3::Ipv4Address', [], is_const=True) gjc@3408: ## ipv4-route.h: uint32_t ns3::Ipv4MulticastRoute::GetInputInterface() const [member function] gjc@3408: cls.add_method('GetInputInterface', 'uint32_t', [], is_const=True) gjc@3408: ## ipv4-route.h: uint32_t ns3::Ipv4MulticastRoute::GetNOutputInterfaces() const [member function] gjc@3408: cls.add_method('GetNOutputInterfaces', 'uint32_t', [], is_const=True) gjc@3408: ## ipv4-route.h: ns3::Ipv4Address ns3::Ipv4MulticastRoute::GetOrigin() const [member function] gjc@3408: cls.add_method('GetOrigin', 'ns3::Ipv4Address', [], is_const=True) gjc@3408: ## ipv4-route.h: uint32_t ns3::Ipv4MulticastRoute::GetOutputInterface(uint32_t n) const [member function] gjc@3408: cls.add_method('GetOutputInterface', 'uint32_t', [param('uint32_t', 'n')], is_const=True) gjc@3408: ## ipv4-route.h: std::vector > ns3::Ipv4MulticastRoute::GetOutputInterfaces() const [member function] gjc@3408: cls.add_method('GetOutputInterfaces', 'std::vector< unsigned int, std::allocator< unsigned int > >', [], is_const=True) gjc@3408: cls.add_output_stream_operator() gjc@3408: return gjc@3408: gjc@3408: def register_Ns3AddressChecker_methods(root_module, cls): gjc@3408: cls.add_constructor([]) gjc@3408: return gjc@3408: gjc@3408: def register_Ns3PacketSocketAddress_methods(root_module, cls): gjc@3408: ## packet-socket-address.h: ns3::PacketSocketAddress::PacketSocketAddress() [constructor] gjc@3408: cls.add_constructor([], visibility='public') gjc@3408: ## packet-socket-address.h: void ns3::PacketSocketAddress::SetProtocol(uint16_t protocol) [member function] gjc@3408: cls.add_method('SetProtocol', 'void', [param('uint16_t', 'protocol')]) gjc@3408: ## packet-socket-address.h: void ns3::PacketSocketAddress::SetAllDevices() [member function] gjc@3408: cls.add_method('SetAllDevices', 'void', []) gjc@3408: ## packet-socket-address.h: void ns3::PacketSocketAddress::SetSingleDevice(uint32_t device) [member function] gjc@3408: cls.add_method('SetSingleDevice', 'void', [param('uint32_t', 'device')]) gjc@3408: ## packet-socket-address.h: void ns3::PacketSocketAddress::SetPhysicalAddress(ns3::Address const address) [member function] gjc@3408: cls.add_method('SetPhysicalAddress', 'void', [param('ns3::Address', 'address', is_const=True)]) gjc@3408: ## packet-socket-address.h: uint16_t ns3::PacketSocketAddress::GetProtocol() const [member function] gjc@3408: cls.add_method('GetProtocol', 'uint16_t', [], is_const=True) gjc@3408: ## packet-socket-address.h: uint32_t ns3::PacketSocketAddress::GetSingleDevice() const [member function] gjc@3408: cls.add_method('GetSingleDevice', 'uint32_t', [], is_const=True) gjc@3408: ## packet-socket-address.h: bool ns3::PacketSocketAddress::IsSingleDevice() const [member function] gjc@3408: cls.add_method('IsSingleDevice', 'bool', [], is_const=True) gjc@3408: ## packet-socket-address.h: ns3::Address ns3::PacketSocketAddress::GetPhysicalAddress() const [member function] gjc@3408: cls.add_method('GetPhysicalAddress', 'ns3::Address', [], is_const=True) gjc@3408: ## packet-socket-address.h: static ns3::PacketSocketAddress ns3::PacketSocketAddress::ConvertFrom(ns3::Address const & address) [member function] gjc@3408: cls.add_method('ConvertFrom', 'ns3::PacketSocketAddress', [param('ns3::Address&', 'address', is_const=True)], is_static=True) gjc@3408: ## packet-socket-address.h: static bool ns3::PacketSocketAddress::IsMatchingType(ns3::Address const & address) [member function] gjc@3408: cls.add_method('IsMatchingType', 'bool', [param('ns3::Address&', 'address', is_const=True)], is_static=True) gjc@3408: return gjc@3408: gjc@3408: def register_Ns3Ipv4Mask_methods(root_module, cls): gjc@3408: ## ipv4-address.h: ns3::Ipv4Mask::Ipv4Mask(ns3::Ipv4Mask const & arg0) [copy constructor] gjc@3408: cls.add_constructor([param('ns3::Ipv4Mask&', 'arg0', is_const=True)], visibility='public') gjc@3408: ## ipv4-address.h: ns3::Ipv4Mask::Ipv4Mask() [constructor] gjc@3408: cls.add_constructor([], visibility='public') gjc@3408: ## ipv4-address.h: ns3::Ipv4Mask::Ipv4Mask(uint32_t mask) [constructor] gjc@3408: cls.add_constructor([param('uint32_t', 'mask')], visibility='public') gjc@3408: ## ipv4-address.h: ns3::Ipv4Mask::Ipv4Mask(char const * mask) [constructor] gjc@3408: cls.add_constructor([param('char *', 'mask', transfer_ownership=False, is_const=True)], visibility='public') gjc@3408: ## ipv4-address.h: uint32_t ns3::Ipv4Mask::Get() const [member function] gjc@3408: cls.add_method('Get', 'uint32_t', [], is_const=True) gjc@3408: ## ipv4-address.h: uint32_t ns3::Ipv4Mask::GetInverse() const [member function] gjc@3408: cls.add_method('GetInverse', 'uint32_t', [], is_const=True) gjc@3408: ## ipv4-address.h: static ns3::Ipv4Mask ns3::Ipv4Mask::GetLoopback() [member function] gjc@3408: cls.add_method('GetLoopback', 'ns3::Ipv4Mask', [], is_static=True) gjc@3408: ## ipv4-address.h: static ns3::Ipv4Mask ns3::Ipv4Mask::GetZero() [member function] gjc@3408: cls.add_method('GetZero', 'ns3::Ipv4Mask', [], is_static=True) gjc@3408: ## ipv4-address.h: bool ns3::Ipv4Mask::IsEqual(ns3::Ipv4Mask other) const [member function] gjc@3408: cls.add_method('IsEqual', 'bool', [param('ns3::Ipv4Mask', 'other')], is_const=True) gjc@3408: ## ipv4-address.h: bool ns3::Ipv4Mask::IsMatch(ns3::Ipv4Address a, ns3::Ipv4Address b) const [member function] gjc@3408: cls.add_method('IsMatch', 'bool', [param('ns3::Ipv4Address', 'a'), param('ns3::Ipv4Address', 'b')], is_const=True) gjc@3408: ## ipv4-address.h: void ns3::Ipv4Mask::Print(std::ostream & os) const [member function] gjc@3408: cls.add_method('Print', 'void', [param('std::ostream&', 'os')], is_const=True) gjc@3408: ## ipv4-address.h: void ns3::Ipv4Mask::Set(uint32_t mask) [member function] gjc@3408: cls.add_method('Set', 'void', [param('uint32_t', 'mask')]) gjc@3408: cls.add_output_stream_operator() gjc@3408: return gjc@3408: gjc@3408: def register_Ns3Ipv4AddressValue_methods(root_module, cls): gjc@3408: ## ipv4-address.h: ns3::Ipv4AddressValue::Ipv4AddressValue() [constructor] gjc@3408: cls.add_constructor([], visibility='public') gjc@3408: ## ipv4-address.h: ns3::Ipv4AddressValue::Ipv4AddressValue(ns3::Ipv4Address const & value) [constructor] gjc@3408: cls.add_constructor([param('ns3::Ipv4Address&', 'value', is_const=True)], visibility='public') gjc@3408: ## ipv4-address.h: void ns3::Ipv4AddressValue::Set(ns3::Ipv4Address const & value) [member function] gjc@3408: cls.add_method('Set', 'void', [param('ns3::Ipv4Address&', 'value', is_const=True)]) gjc@3408: ## ipv4-address.h: ns3::Ipv4Address ns3::Ipv4AddressValue::Get() const [member function] gjc@3408: cls.add_method('Get', 'ns3::Ipv4Address', [], is_const=True) gjc@3408: ## ipv4-address.h: ns3::Ptr ns3::Ipv4AddressValue::Copy() const [member function] gjc@3408: cls.add_method('Copy', 'ns3::Ptr< ns3::AttributeValue >', [], is_const=True, is_virtual=True) gjc@3408: ## ipv4-address.h: std::string ns3::Ipv4AddressValue::SerializeToString(ns3::Ptr checker) const [member function] gjc@3408: cls.add_method('SerializeToString', 'std::string', [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], is_const=True, is_virtual=True) gjc@3408: ## ipv4-address.h: bool ns3::Ipv4AddressValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function] gjc@3408: cls.add_method('DeserializeFromString', 'bool', [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], is_virtual=True) gjc@3408: return gjc@3408: gjc@3408: def register_Ns3Ipv4RoutingProtocol_methods(root_module, cls): gjc@3408: ## ipv4.h: ns3::Ipv4RoutingProtocol::IF_INDEX_ANY [variable] gjc@3408: cls.add_static_attribute('IF_INDEX_ANY', retval('uint32_t', is_const=True), is_const=True) gjc@3408: ## ipv4.h: bool ns3::Ipv4RoutingProtocol::RequestRoute(uint32_t ifIndex, ns3::Ipv4Header const & ipHeader, ns3::Ptr packet, ns3::Callback,const ns3::Ipv4Header&,ns3::empty,ns3::empty> routeReply) [member function] gjc@3408: cls.add_method('RequestRoute', 'bool', [param('uint32_t', 'ifIndex'), param('ns3::Ipv4Header&', 'ipHeader', is_const=True), param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Callback< void, bool, const ns3::Ipv4Route&, ns3::Ptr< ns3::Packet >, const ns3::Ipv4Header&, ns3::empty, ns3::empty >', 'routeReply')], is_pure_virtual=True, is_virtual=True) gjc@3408: ## ipv4.h: bool ns3::Ipv4RoutingProtocol::RequestIfIndex(ns3::Ipv4Address destination, uint32_t & ifIndex) [member function] gjc@3408: cls.add_method('RequestIfIndex', 'bool', [param('ns3::Ipv4Address', 'destination'), param('uint32_t&', 'ifIndex')], is_pure_virtual=True, is_virtual=True) gjc@3408: cls.add_constructor([]) gjc@3408: return gjc@3408: gjc@3408: def register_Ns3Mac48AddressValue_methods(root_module, cls): gjc@3408: ## mac48-address.h: ns3::Mac48AddressValue::Mac48AddressValue() [constructor] gjc@3408: cls.add_constructor([], visibility='public') gjc@3408: ## mac48-address.h: ns3::Mac48AddressValue::Mac48AddressValue(ns3::Mac48Address const & value) [constructor] gjc@3408: cls.add_constructor([param('ns3::Mac48Address&', 'value', is_const=True)], visibility='public') gjc@3408: ## mac48-address.h: void ns3::Mac48AddressValue::Set(ns3::Mac48Address const & value) [member function] gjc@3408: cls.add_method('Set', 'void', [param('ns3::Mac48Address&', 'value', is_const=True)]) gjc@3408: ## mac48-address.h: ns3::Mac48Address ns3::Mac48AddressValue::Get() const [member function] gjc@3408: cls.add_method('Get', 'ns3::Mac48Address', [], is_const=True) gjc@3408: ## mac48-address.h: ns3::Ptr ns3::Mac48AddressValue::Copy() const [member function] gjc@3408: cls.add_method('Copy', 'ns3::Ptr< ns3::AttributeValue >', [], is_const=True, is_virtual=True) gjc@3408: ## mac48-address.h: std::string ns3::Mac48AddressValue::SerializeToString(ns3::Ptr checker) const [member function] gjc@3408: cls.add_method('SerializeToString', 'std::string', [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], is_const=True, is_virtual=True) gjc@3408: ## mac48-address.h: bool ns3::Mac48AddressValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function] gjc@3408: cls.add_method('DeserializeFromString', 'bool', [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], is_virtual=True) gjc@3408: return gjc@3408: gjc@3408: def register_Ns3Ipv4MaskValue_methods(root_module, cls): gjc@3408: ## ipv4-address.h: ns3::Ipv4MaskValue::Ipv4MaskValue() [constructor] gjc@3408: cls.add_constructor([], visibility='public') gjc@3408: ## ipv4-address.h: ns3::Ipv4MaskValue::Ipv4MaskValue(ns3::Ipv4Mask const & value) [constructor] gjc@3408: cls.add_constructor([param('ns3::Ipv4Mask&', 'value', is_const=True)], visibility='public') gjc@3408: ## ipv4-address.h: void ns3::Ipv4MaskValue::Set(ns3::Ipv4Mask const & value) [member function] gjc@3408: cls.add_method('Set', 'void', [param('ns3::Ipv4Mask&', 'value', is_const=True)]) gjc@3408: ## ipv4-address.h: ns3::Ipv4Mask ns3::Ipv4MaskValue::Get() const [member function] gjc@3408: cls.add_method('Get', 'ns3::Ipv4Mask', [], is_const=True) gjc@3408: ## ipv4-address.h: ns3::Ptr ns3::Ipv4MaskValue::Copy() const [member function] gjc@3408: cls.add_method('Copy', 'ns3::Ptr< ns3::AttributeValue >', [], is_const=True, is_virtual=True) gjc@3408: ## ipv4-address.h: std::string ns3::Ipv4MaskValue::SerializeToString(ns3::Ptr checker) const [member function] gjc@3408: cls.add_method('SerializeToString', 'std::string', [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], is_const=True, is_virtual=True) gjc@3408: ## ipv4-address.h: bool ns3::Ipv4MaskValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function] gjc@3408: cls.add_method('DeserializeFromString', 'bool', [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], is_virtual=True) gjc@3408: return gjc@3408: gjc@3408: def register_Ns3SocketAddressTag_methods(root_module, cls): gjc@3408: ## socket.h: ns3::SocketAddressTag::SocketAddressTag() [constructor] gjc@3408: cls.add_constructor([], visibility='public') gjc@3408: ## socket.h: void ns3::SocketAddressTag::SetAddress(ns3::Address addr) [member function] gjc@3408: cls.add_method('SetAddress', 'void', [param('ns3::Address', 'addr')]) gjc@3408: ## socket.h: ns3::Address ns3::SocketAddressTag::GetAddress() const [member function] gjc@3408: cls.add_method('GetAddress', 'ns3::Address', [], is_const=True) gjc@3408: ## socket.h: static ns3::TypeId ns3::SocketAddressTag::GetTypeId() [member function] gjc@3408: cls.add_method('GetTypeId', 'ns3::TypeId', [], is_static=True) gjc@3408: ## socket.h: ns3::TypeId ns3::SocketAddressTag::GetInstanceTypeId() const [member function] gjc@3408: cls.add_method('GetInstanceTypeId', 'ns3::TypeId', [], is_const=True, is_virtual=True) gjc@3408: ## socket.h: uint32_t ns3::SocketAddressTag::GetSerializedSize() const [member function] gjc@3408: cls.add_method('GetSerializedSize', 'uint32_t', [], is_const=True, is_virtual=True) gjc@3408: ## socket.h: void ns3::SocketAddressTag::Serialize(ns3::TagBuffer i) const [member function] gjc@3408: cls.add_method('Serialize', 'void', [param('ns3::TagBuffer', 'i')], is_const=True, is_virtual=True) gjc@3408: ## socket.h: void ns3::SocketAddressTag::Deserialize(ns3::TagBuffer i) [member function] gjc@3408: cls.add_method('Deserialize', 'void', [param('ns3::TagBuffer', 'i')], is_virtual=True) gjc@3408: ## socket.h: void ns3::SocketAddressTag::Print(std::ostream & os) const [member function] gjc@3408: cls.add_method('Print', 'void', [param('std::ostream&', 'os')], is_const=True, is_virtual=True) gjc@3408: return gjc@3408: gjc@3408: def register_Ns3InetSocketAddress_methods(root_module, cls): gjc@3408: ## inet-socket-address.h: ns3::InetSocketAddress::InetSocketAddress(ns3::Ipv4Address ipv4, uint16_t port) [constructor] gjc@3408: cls.add_constructor([param('ns3::Ipv4Address', 'ipv4'), param('uint16_t', 'port')], visibility='public') gjc@3408: ## inet-socket-address.h: ns3::InetSocketAddress::InetSocketAddress(ns3::Ipv4Address ipv4) [constructor] gjc@3408: cls.add_constructor([param('ns3::Ipv4Address', 'ipv4')], visibility='public') gjc@3408: ## inet-socket-address.h: ns3::InetSocketAddress::InetSocketAddress(uint16_t port) [constructor] gjc@3408: cls.add_constructor([param('uint16_t', 'port')], visibility='public') gjc@3408: ## inet-socket-address.h: ns3::InetSocketAddress::InetSocketAddress(char const * ipv4, uint16_t port) [constructor] gjc@3408: cls.add_constructor([param('char *', 'ipv4', transfer_ownership=False, is_const=True), param('uint16_t', 'port')], visibility='public') gjc@3408: ## inet-socket-address.h: ns3::InetSocketAddress::InetSocketAddress(char const * ipv4) [constructor] gjc@3408: cls.add_constructor([param('char *', 'ipv4', transfer_ownership=False, is_const=True)], visibility='public') gjc@3408: ## inet-socket-address.h: uint16_t ns3::InetSocketAddress::GetPort() const [member function] gjc@3408: cls.add_method('GetPort', 'uint16_t', [], is_const=True) gjc@3408: ## inet-socket-address.h: ns3::Ipv4Address ns3::InetSocketAddress::GetIpv4() const [member function] gjc@3408: cls.add_method('GetIpv4', 'ns3::Ipv4Address', [], is_const=True) gjc@3408: ## inet-socket-address.h: void ns3::InetSocketAddress::SetPort(uint16_t port) [member function] gjc@3408: cls.add_method('SetPort', 'void', [param('uint16_t', 'port')]) gjc@3408: ## inet-socket-address.h: void ns3::InetSocketAddress::SetIpv4(ns3::Ipv4Address address) [member function] gjc@3408: cls.add_method('SetIpv4', 'void', [param('ns3::Ipv4Address', 'address')]) gjc@3408: ## inet-socket-address.h: static bool ns3::InetSocketAddress::IsMatchingType(ns3::Address const & address) [member function] gjc@3408: cls.add_method('IsMatchingType', 'bool', [param('ns3::Address&', 'address', is_const=True)], is_static=True) gjc@3408: ## inet-socket-address.h: static ns3::InetSocketAddress ns3::InetSocketAddress::ConvertFrom(ns3::Address const & address) [member function] gjc@3408: cls.add_method('ConvertFrom', 'ns3::InetSocketAddress', [param('ns3::Address&', 'address', is_const=True)], is_static=True) gjc@3408: return gjc@3408: gjc@3408: def register_Ns3Ipv4Address_methods(root_module, cls): gjc@3408: ## ipv4-address.h: ns3::Ipv4Address::Ipv4Address(ns3::Ipv4Address const & arg0) [copy constructor] gjc@3408: cls.add_constructor([param('ns3::Ipv4Address&', 'arg0', is_const=True)], visibility='public') gjc@3408: ## ipv4-address.h: ns3::Ipv4Address::Ipv4Address() [constructor] gjc@3408: cls.add_constructor([], visibility='public') gjc@3408: ## ipv4-address.h: ns3::Ipv4Address::Ipv4Address(uint32_t address) [constructor] gjc@3408: cls.add_constructor([param('uint32_t', 'address')], visibility='public') gjc@3408: ## ipv4-address.h: ns3::Ipv4Address::Ipv4Address(char const * address) [constructor] gjc@3408: cls.add_constructor([param('char *', 'address', transfer_ownership=False, is_const=True)], visibility='public') gjc@3408: ## ipv4-address.h: ns3::Ipv4Address ns3::Ipv4Address::CombineMask(ns3::Ipv4Mask const & mask) const [member function] gjc@3408: cls.add_method('CombineMask', 'ns3::Ipv4Address', [param('ns3::Ipv4Mask&', 'mask', is_const=True)], is_const=True) gjc@3408: ## ipv4-address.h: static ns3::Ipv4Address ns3::Ipv4Address::ConvertFrom(ns3::Address const & address) [member function] gjc@3408: cls.add_method('ConvertFrom', 'ns3::Ipv4Address', [param('ns3::Address&', 'address', is_const=True)], is_static=True) gjc@3408: ## ipv4-address.h: static ns3::Ipv4Address ns3::Ipv4Address::Deserialize(uint8_t const * buf) [member function] gjc@3408: cls.add_method('Deserialize', 'ns3::Ipv4Address', [param('uint8_t *', 'buf', transfer_ownership=False, is_const=True)], is_static=True) gjc@3408: ## ipv4-address.h: uint32_t ns3::Ipv4Address::Get() const [member function] gjc@3408: cls.add_method('Get', 'uint32_t', [], is_const=True) gjc@3408: ## ipv4-address.h: static ns3::Ipv4Address ns3::Ipv4Address::GetAny() [member function] gjc@3408: cls.add_method('GetAny', 'ns3::Ipv4Address', [], is_static=True) gjc@3408: ## ipv4-address.h: static ns3::Ipv4Address ns3::Ipv4Address::GetBroadcast() [member function] gjc@3408: cls.add_method('GetBroadcast', 'ns3::Ipv4Address', [], is_static=True) gjc@3408: ## ipv4-address.h: static ns3::Ipv4Address ns3::Ipv4Address::GetLoopback() [member function] gjc@3408: cls.add_method('GetLoopback', 'ns3::Ipv4Address', [], is_static=True) gjc@3408: ## ipv4-address.h: ns3::Ipv4Address ns3::Ipv4Address::GetSubnetDirectedBroadcast(ns3::Ipv4Mask const & mask) const [member function] gjc@3408: cls.add_method('GetSubnetDirectedBroadcast', 'ns3::Ipv4Address', [param('ns3::Ipv4Mask&', 'mask', is_const=True)], is_const=True) gjc@3408: ## ipv4-address.h: static ns3::Ipv4Address ns3::Ipv4Address::GetZero() [member function] gjc@3408: cls.add_method('GetZero', 'ns3::Ipv4Address', [], is_static=True) gjc@3408: ## ipv4-address.h: bool ns3::Ipv4Address::IsBroadcast() const [member function] gjc@3408: cls.add_method('IsBroadcast', 'bool', [], is_const=True) gjc@3408: ## ipv4-address.h: bool ns3::Ipv4Address::IsEqual(ns3::Ipv4Address const & other) const [member function] gjc@3408: cls.add_method('IsEqual', 'bool', [param('ns3::Ipv4Address&', 'other', is_const=True)], is_const=True) gjc@3408: ## ipv4-address.h: static bool ns3::Ipv4Address::IsMatchingType(ns3::Address const & address) [member function] gjc@3408: cls.add_method('IsMatchingType', 'bool', [param('ns3::Address&', 'address', is_const=True)], is_static=True) gjc@3408: ## ipv4-address.h: bool ns3::Ipv4Address::IsMulticast() const [member function] gjc@3408: cls.add_method('IsMulticast', 'bool', [], is_const=True) gjc@3408: ## ipv4-address.h: bool ns3::Ipv4Address::IsSubnetDirectedBroadcast(ns3::Ipv4Mask const & mask) const [member function] gjc@3408: cls.add_method('IsSubnetDirectedBroadcast', 'bool', [param('ns3::Ipv4Mask&', 'mask', is_const=True)], is_const=True) gjc@3408: ## ipv4-address.h: void ns3::Ipv4Address::Print(std::ostream & os) const [member function] gjc@3408: cls.add_method('Print', 'void', [param('std::ostream&', 'os')], is_const=True) gjc@3408: ## ipv4-address.h: void ns3::Ipv4Address::Serialize(uint8_t * buf) const [member function] gjc@3408: cls.add_method('Serialize', 'void', [param('uint8_t *', 'buf')], is_const=True) gjc@3408: ## ipv4-address.h: void ns3::Ipv4Address::Set(uint32_t address) [member function] gjc@3408: cls.add_method('Set', 'void', [param('uint32_t', 'address')]) gjc@3408: ## ipv4-address.h: void ns3::Ipv4Address::Set(char const * address) [member function] gjc@3408: cls.add_method('Set', 'void', [param('char *', 'address', transfer_ownership=False, is_const=True)]) gjc@3408: cls.add_output_stream_operator() gjc@3408: return gjc@3408: gjc@3408: def register_Ns3Application_methods(root_module, cls): gjc@3408: ## application.h: static ns3::TypeId ns3::Application::GetTypeId() [member function] gjc@3408: cls.add_method('GetTypeId', 'ns3::TypeId', [], is_static=True) gjc@3408: ## application.h: ns3::Application::Application() [constructor] gjc@3408: cls.add_constructor([], visibility='public') gjc@3408: ## application.h: void ns3::Application::Start(ns3::Time const & startTime) [member function] gjc@3408: cls.add_method('Start', 'void', [param('ns3::Time&', 'startTime', is_const=True)]) gjc@3408: ## application.h: void ns3::Application::Start(ns3::RandomVariable const & startVariable) [member function] gjc@3408: cls.add_method('Start', 'void', [param('ns3::RandomVariable&', 'startVariable', is_const=True)]) gjc@3408: ## application.h: void ns3::Application::Stop(ns3::Time const & stopTime) [member function] gjc@3408: cls.add_method('Stop', 'void', [param('ns3::Time&', 'stopTime', is_const=True)]) gjc@3408: ## application.h: void ns3::Application::Stop(ns3::RandomVariable const & stopVariable) [member function] gjc@3408: cls.add_method('Stop', 'void', [param('ns3::RandomVariable&', 'stopVariable', is_const=True)]) gjc@3408: ## application.h: ns3::Ptr ns3::Application::GetNode() const [member function] gjc@3408: cls.add_method('GetNode', 'ns3::Ptr< ns3::Node >', [], is_const=True) gjc@3408: ## application.h: void ns3::Application::SetNode(ns3::Ptr node) [member function] gjc@3408: cls.add_method('SetNode', 'void', [param('ns3::Ptr< ns3::Node >', 'node')]) gjc@3408: ## application.h: void ns3::Application::DoDispose() [member function] gjc@3408: cls.add_method('DoDispose', 'void', [], visibility='protected', is_virtual=True) gjc@3408: ## application.h: void ns3::Application::StartApplication() [member function] gjc@3408: cls.add_method('StartApplication', 'void', [], visibility='private', is_virtual=True) gjc@3408: ## application.h: void ns3::Application::StopApplication() [member function] gjc@3408: cls.add_method('StopApplication', 'void', [], visibility='private', is_virtual=True) gjc@3408: return gjc@3408: gjc@3408: def register_Ns3Queue_methods(root_module, cls): gjc@3408: ## queue.h: static ns3::TypeId ns3::Queue::GetTypeId() [member function] gjc@3408: cls.add_method('GetTypeId', 'ns3::TypeId', [], is_static=True) gjc@3408: ## queue.h: ns3::Queue::Queue() [constructor] gjc@3408: cls.add_constructor([], visibility='public') gjc@3408: ## queue.h: bool ns3::Queue::IsEmpty() const [member function] gjc@3408: cls.add_method('IsEmpty', 'bool', [], is_const=True) gjc@3408: ## queue.h: bool ns3::Queue::Enqueue(ns3::Ptr p) [member function] gjc@3408: cls.add_method('Enqueue', 'bool', [param('ns3::Ptr< ns3::Packet >', 'p')]) gjc@3408: ## queue.h: ns3::Ptr ns3::Queue::Dequeue() [member function] gjc@3408: cls.add_method('Dequeue', 'ns3::Ptr< ns3::Packet >', []) gjc@3408: ## queue.h: ns3::Ptr ns3::Queue::Peek() const [member function] gjc@3408: cls.add_method('Peek', 'ns3::Ptr< ns3::Packet >', [], is_const=True) gjc@3408: ## queue.h: void ns3::Queue::DequeueAll() [member function] gjc@3408: cls.add_method('DequeueAll', 'void', []) gjc@3408: ## queue.h: uint32_t ns3::Queue::GetNPackets() const [member function] gjc@3408: cls.add_method('GetNPackets', 'uint32_t', [], is_const=True) gjc@3408: ## queue.h: uint32_t ns3::Queue::GetNBytes() const [member function] gjc@3408: cls.add_method('GetNBytes', 'uint32_t', [], is_const=True) gjc@3408: ## queue.h: uint32_t ns3::Queue::GetTotalReceivedBytes() const [member function] gjc@3408: cls.add_method('GetTotalReceivedBytes', 'uint32_t', [], is_const=True) gjc@3408: ## queue.h: uint32_t ns3::Queue::GetTotalReceivedPackets() const [member function] gjc@3408: cls.add_method('GetTotalReceivedPackets', 'uint32_t', [], is_const=True) gjc@3408: ## queue.h: uint32_t ns3::Queue::GetTotalDroppedBytes() const [member function] gjc@3408: cls.add_method('GetTotalDroppedBytes', 'uint32_t', [], is_const=True) gjc@3408: ## queue.h: uint32_t ns3::Queue::GetTotalDroppedPackets() const [member function] gjc@3408: cls.add_method('GetTotalDroppedPackets', 'uint32_t', [], is_const=True) gjc@3408: ## queue.h: void ns3::Queue::ResetStatistics() [member function] gjc@3408: cls.add_method('ResetStatistics', 'void', []) gjc@3408: ## queue.h: void ns3::Queue::Drop(ns3::Ptr packet) [member function] gjc@3408: cls.add_method('Drop', 'void', [param('ns3::Ptr< ns3::Packet >', 'packet')], visibility='protected') gjc@3408: ## queue.h: bool ns3::Queue::DoEnqueue(ns3::Ptr p) [member function] gjc@3408: cls.add_method('DoEnqueue', 'bool', [param('ns3::Ptr< ns3::Packet >', 'p')], is_pure_virtual=True, visibility='private', is_virtual=True) gjc@3408: ## queue.h: ns3::Ptr ns3::Queue::DoDequeue() [member function] gjc@3408: cls.add_method('DoDequeue', 'ns3::Ptr< ns3::Packet >', [], is_pure_virtual=True, visibility='private', is_virtual=True) gjc@3408: ## queue.h: ns3::Ptr ns3::Queue::DoPeek() const [member function] gjc@3408: cls.add_method('DoPeek', 'ns3::Ptr< ns3::Packet >', [], is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) gjc@3408: return gjc@3408: gjc@3408: def register_Ns3Socket_methods(root_module, cls): gjc@3408: ## socket.h: ns3::Socket::Socket() [constructor] gjc@3408: cls.add_constructor([], visibility='public') gjc@3408: ## socket.h: static ns3::Ptr ns3::Socket::CreateSocket(ns3::Ptr node, ns3::TypeId tid) [member function] gjc@3408: cls.add_method('CreateSocket', 'ns3::Ptr< ns3::Socket >', [param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::TypeId', 'tid')], is_static=True) gjc@3408: ## socket.h: ns3::Socket::SocketErrno ns3::Socket::GetErrno() const [member function] gjc@3408: cls.add_method('GetErrno', 'ns3::Socket::SocketErrno', [], is_pure_virtual=True, is_const=True, is_virtual=True) gjc@3408: ## socket.h: ns3::Ptr ns3::Socket::GetNode() const [member function] gjc@3408: cls.add_method('GetNode', 'ns3::Ptr< ns3::Node >', [], is_pure_virtual=True, is_const=True, is_virtual=True) gjc@3408: ## socket.h: void ns3::Socket::SetConnectCallback(ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> connectionSucceeded, ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> connectionFailed) [member function] gjc@3408: cls.add_method('SetConnectCallback', 'void', [param('ns3::Callback< void, ns3::Ptr< ns3::Socket >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'connectionSucceeded'), param('ns3::Callback< void, ns3::Ptr< ns3::Socket >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'connectionFailed')]) gjc@3408: ## socket.h: void ns3::Socket::SetAcceptCallback(ns3::Callback, ns3::Address const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty> connectionRequest, ns3::Callback, ns3::Address const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty> newConnectionCreated) [member function] gjc@3408: cls.add_method('SetAcceptCallback', 'void', [param('ns3::Callback< bool, ns3::Ptr< ns3::Socket >, ns3::Address const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'connectionRequest'), param('ns3::Callback< void, ns3::Ptr< ns3::Socket >, ns3::Address const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'newConnectionCreated')]) gjc@3408: ## socket.h: bool ns3::Socket::SetDataSentCallback(ns3::Callback, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty> dataSent) [member function] gjc@3408: cls.add_method('SetDataSentCallback', 'bool', [param('ns3::Callback< void, ns3::Ptr< ns3::Socket >, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'dataSent')], is_virtual=True) gjc@3408: ## socket.h: void ns3::Socket::SetSendCallback(ns3::Callback, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty> sendCb) [member function] gjc@3408: cls.add_method('SetSendCallback', 'void', [param('ns3::Callback< void, ns3::Ptr< ns3::Socket >, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'sendCb')]) gjc@3408: ## socket.h: void ns3::Socket::SetRecvCallback(ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> arg0) [member function] gjc@3408: cls.add_method('SetRecvCallback', 'void', [param('ns3::Callback< void, ns3::Ptr< ns3::Socket >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'arg0')]) gjc@3408: ## socket.h: int ns3::Socket::Bind(ns3::Address const & address) [member function] gjc@3408: cls.add_method('Bind', 'int', [param('ns3::Address&', 'address', is_const=True)], is_pure_virtual=True, is_virtual=True) gjc@3408: ## socket.h: int ns3::Socket::Bind() [member function] gjc@3408: cls.add_method('Bind', 'int', [], is_pure_virtual=True, is_virtual=True) gjc@3408: ## socket.h: int ns3::Socket::Close() [member function] gjc@3408: cls.add_method('Close', 'int', [], is_pure_virtual=True, is_virtual=True) gjc@3408: ## socket.h: int ns3::Socket::ShutdownSend() [member function] gjc@3408: cls.add_method('ShutdownSend', 'int', [], is_pure_virtual=True, is_virtual=True) gjc@3408: ## socket.h: int ns3::Socket::ShutdownRecv() [member function] gjc@3408: cls.add_method('ShutdownRecv', 'int', [], is_pure_virtual=True, is_virtual=True) gjc@3408: ## socket.h: int ns3::Socket::Connect(ns3::Address const & address) [member function] gjc@3408: cls.add_method('Connect', 'int', [param('ns3::Address&', 'address', is_const=True)], is_pure_virtual=True, is_virtual=True) gjc@3408: ## socket.h: int ns3::Socket::Listen(uint32_t queueLimit) [member function] gjc@3408: cls.add_method('Listen', 'int', [param('uint32_t', 'queueLimit')], is_pure_virtual=True, is_virtual=True) gjc@3408: ## socket.h: uint32_t ns3::Socket::GetTxAvailable() const [member function] gjc@3408: cls.add_method('GetTxAvailable', 'uint32_t', [], is_pure_virtual=True, is_const=True, is_virtual=True) gjc@3408: ## socket.h: int ns3::Socket::Send(ns3::Ptr p, uint32_t flags) [member function] gjc@3408: cls.add_method('Send', 'int', [param('ns3::Ptr< ns3::Packet >', 'p'), param('uint32_t', 'flags')], is_pure_virtual=True, is_virtual=True) gjc@3408: ## socket.h: int ns3::Socket::SendTo(ns3::Ptr p, uint32_t flags, ns3::Address const & toAddress) [member function] gjc@3408: cls.add_method('SendTo', 'int', [param('ns3::Ptr< ns3::Packet >', 'p'), param('uint32_t', 'flags'), param('ns3::Address&', 'toAddress', is_const=True)], is_pure_virtual=True, is_virtual=True) gjc@3408: ## socket.h: uint32_t ns3::Socket::GetRxAvailable() const [member function] gjc@3408: cls.add_method('GetRxAvailable', 'uint32_t', [], is_pure_virtual=True, is_const=True, is_virtual=True) gjc@3408: ## socket.h: ns3::Ptr ns3::Socket::Recv(uint32_t maxSize, uint32_t flags) [member function] gjc@3408: cls.add_method('Recv', 'ns3::Ptr< ns3::Packet >', [param('uint32_t', 'maxSize'), param('uint32_t', 'flags')], is_pure_virtual=True, is_virtual=True) gjc@3408: ## socket.h: ns3::Ptr ns3::Socket::RecvFrom(uint32_t maxSize, uint32_t flags, ns3::Address & fromAddress) [member function] gjc@3408: cls.add_method('RecvFrom', 'ns3::Ptr< ns3::Packet >', [param('uint32_t', 'maxSize'), param('uint32_t', 'flags'), param('ns3::Address&', 'fromAddress')], is_pure_virtual=True, is_virtual=True) gjc@3408: ## socket.h: int ns3::Socket::Send(ns3::Ptr p) [member function] gjc@3408: cls.add_method('Send', 'int', [param('ns3::Ptr< ns3::Packet >', 'p')]) gjc@3408: ## socket.h: int ns3::Socket::Send(uint8_t const * buf, uint32_t size, uint32_t flags) [member function] gjc@3408: cls.add_method('Send', 'int', [param('uint8_t *', 'buf', transfer_ownership=False, is_const=True), param('uint32_t', 'size'), param('uint32_t', 'flags')]) gjc@3408: ## socket.h: int ns3::Socket::SendTo(uint8_t const * buf, uint32_t size, uint32_t flags, ns3::Address const & address) [member function] gjc@3408: cls.add_method('SendTo', 'int', [param('uint8_t *', 'buf', transfer_ownership=False, is_const=True), param('uint32_t', 'size'), param('uint32_t', 'flags'), param('ns3::Address&', 'address', is_const=True)]) gjc@3408: ## socket.h: ns3::Ptr ns3::Socket::Recv() [member function] gjc@3408: cls.add_method('Recv', 'ns3::Ptr< ns3::Packet >', []) gjc@3408: ## socket.h: int ns3::Socket::Recv(uint8_t * buf, uint32_t size, uint32_t flags) [member function] gjc@3408: cls.add_method('Recv', 'int', [param('uint8_t *', 'buf'), param('uint32_t', 'size'), param('uint32_t', 'flags')]) gjc@3408: ## socket.h: ns3::Ptr ns3::Socket::RecvFrom(ns3::Address & fromAddress) [member function] gjc@3408: cls.add_method('RecvFrom', 'ns3::Ptr< ns3::Packet >', [param('ns3::Address&', 'fromAddress')]) gjc@3408: ## socket.h: int ns3::Socket::RecvFrom(uint8_t * buf, uint32_t size, uint32_t flags, ns3::Address & fromAddress) [member function] gjc@3408: cls.add_method('RecvFrom', 'int', [param('uint8_t *', 'buf'), param('uint32_t', 'size'), param('uint32_t', 'flags'), param('ns3::Address&', 'fromAddress')]) gjc@3408: ## socket.h: void ns3::Socket::NotifyConnectionSucceeded() [member function] gjc@3408: cls.add_method('NotifyConnectionSucceeded', 'void', [], visibility='protected') gjc@3408: ## socket.h: void ns3::Socket::NotifyConnectionFailed() [member function] gjc@3408: cls.add_method('NotifyConnectionFailed', 'void', [], visibility='protected') gjc@3408: ## socket.h: bool ns3::Socket::NotifyConnectionRequest(ns3::Address const & from) [member function] gjc@3408: cls.add_method('NotifyConnectionRequest', 'bool', [param('ns3::Address&', 'from', is_const=True)], visibility='protected') gjc@3408: ## socket.h: void ns3::Socket::NotifyNewConnectionCreated(ns3::Ptr socket, ns3::Address const & from) [member function] gjc@3408: cls.add_method('NotifyNewConnectionCreated', 'void', [param('ns3::Ptr< ns3::Socket >', 'socket'), param('ns3::Address&', 'from', is_const=True)], visibility='protected') gjc@3408: ## socket.h: void ns3::Socket::NotifyDataSent(uint32_t size) [member function] gjc@3408: cls.add_method('NotifyDataSent', 'void', [param('uint32_t', 'size')], visibility='protected') gjc@3408: ## socket.h: void ns3::Socket::NotifySend(uint32_t spaceAvailable) [member function] gjc@3408: cls.add_method('NotifySend', 'void', [param('uint32_t', 'spaceAvailable')], visibility='protected') gjc@3408: ## socket.h: void ns3::Socket::NotifyDataRecv() [member function] gjc@3408: cls.add_method('NotifyDataRecv', 'void', [], visibility='protected') gjc@3408: return gjc@3408: gjc@3408: def register_Ns3Ipv4Header_methods(root_module, cls): gjc@3408: ## ipv4-header.h: ns3::Ipv4Header::Ipv4Header() [constructor] gjc@3408: cls.add_constructor([], visibility='public') gjc@3408: ## ipv4-header.h: void ns3::Ipv4Header::EnableChecksum() [member function] gjc@3408: cls.add_method('EnableChecksum', 'void', []) gjc@3408: ## ipv4-header.h: void ns3::Ipv4Header::SetPayloadSize(uint16_t size) [member function] gjc@3408: cls.add_method('SetPayloadSize', 'void', [param('uint16_t', 'size')]) gjc@3408: ## ipv4-header.h: void ns3::Ipv4Header::SetIdentification(uint16_t identification) [member function] gjc@3408: cls.add_method('SetIdentification', 'void', [param('uint16_t', 'identification')]) gjc@3408: ## ipv4-header.h: void ns3::Ipv4Header::SetTos(uint8_t tos) [member function] gjc@3408: cls.add_method('SetTos', 'void', [param('uint8_t', 'tos')]) gjc@3408: ## ipv4-header.h: void ns3::Ipv4Header::SetMoreFragments() [member function] gjc@3408: cls.add_method('SetMoreFragments', 'void', []) gjc@3408: ## ipv4-header.h: void ns3::Ipv4Header::SetLastFragment() [member function] gjc@3408: cls.add_method('SetLastFragment', 'void', []) gjc@3408: ## ipv4-header.h: void ns3::Ipv4Header::SetDontFragment() [member function] gjc@3408: cls.add_method('SetDontFragment', 'void', []) gjc@3408: ## ipv4-header.h: void ns3::Ipv4Header::SetMayFragment() [member function] gjc@3408: cls.add_method('SetMayFragment', 'void', []) gjc@3408: ## ipv4-header.h: void ns3::Ipv4Header::SetFragmentOffset(uint16_t offset) [member function] gjc@3408: cls.add_method('SetFragmentOffset', 'void', [param('uint16_t', 'offset')]) gjc@3408: ## ipv4-header.h: void ns3::Ipv4Header::SetTtl(uint8_t ttl) [member function] gjc@3408: cls.add_method('SetTtl', 'void', [param('uint8_t', 'ttl')]) gjc@3408: ## ipv4-header.h: void ns3::Ipv4Header::SetProtocol(uint8_t num) [member function] gjc@3408: cls.add_method('SetProtocol', 'void', [param('uint8_t', 'num')]) gjc@3408: ## ipv4-header.h: void ns3::Ipv4Header::SetSource(ns3::Ipv4Address source) [member function] gjc@3408: cls.add_method('SetSource', 'void', [param('ns3::Ipv4Address', 'source')]) gjc@3408: ## ipv4-header.h: void ns3::Ipv4Header::SetDestination(ns3::Ipv4Address destination) [member function] gjc@3408: cls.add_method('SetDestination', 'void', [param('ns3::Ipv4Address', 'destination')]) gjc@3408: ## ipv4-header.h: uint16_t ns3::Ipv4Header::GetPayloadSize() const [member function] gjc@3408: cls.add_method('GetPayloadSize', 'uint16_t', [], is_const=True) gjc@3408: ## ipv4-header.h: uint16_t ns3::Ipv4Header::GetIdentification() const [member function] gjc@3408: cls.add_method('GetIdentification', 'uint16_t', [], is_const=True) gjc@3408: ## ipv4-header.h: uint8_t ns3::Ipv4Header::GetTos() const [member function] gjc@3408: cls.add_method('GetTos', 'uint8_t', [], is_const=True) gjc@3408: ## ipv4-header.h: bool ns3::Ipv4Header::IsLastFragment() const [member function] gjc@3408: cls.add_method('IsLastFragment', 'bool', [], is_const=True) gjc@3408: ## ipv4-header.h: bool ns3::Ipv4Header::IsDontFragment() const [member function] gjc@3408: cls.add_method('IsDontFragment', 'bool', [], is_const=True) gjc@3408: ## ipv4-header.h: uint16_t ns3::Ipv4Header::GetFragmentOffset() const [member function] gjc@3408: cls.add_method('GetFragmentOffset', 'uint16_t', [], is_const=True) gjc@3408: ## ipv4-header.h: uint8_t ns3::Ipv4Header::GetTtl() const [member function] gjc@3408: cls.add_method('GetTtl', 'uint8_t', [], is_const=True) gjc@3408: ## ipv4-header.h: uint8_t ns3::Ipv4Header::GetProtocol() const [member function] gjc@3408: cls.add_method('GetProtocol', 'uint8_t', [], is_const=True) gjc@3408: ## ipv4-header.h: ns3::Ipv4Address ns3::Ipv4Header::GetSource() const [member function] gjc@3408: cls.add_method('GetSource', 'ns3::Ipv4Address', [], is_const=True) gjc@3408: ## ipv4-header.h: ns3::Ipv4Address ns3::Ipv4Header::GetDestination() const [member function] gjc@3408: cls.add_method('GetDestination', 'ns3::Ipv4Address', [], is_const=True) gjc@3408: ## ipv4-header.h: bool ns3::Ipv4Header::IsChecksumOk() const [member function] gjc@3408: cls.add_method('IsChecksumOk', 'bool', [], is_const=True) gjc@3408: ## ipv4-header.h: static ns3::TypeId ns3::Ipv4Header::GetTypeId() [member function] gjc@3408: cls.add_method('GetTypeId', 'ns3::TypeId', [], is_static=True) gjc@3408: ## ipv4-header.h: ns3::TypeId ns3::Ipv4Header::GetInstanceTypeId() const [member function] gjc@3408: cls.add_method('GetInstanceTypeId', 'ns3::TypeId', [], is_const=True, is_virtual=True) gjc@3408: ## ipv4-header.h: void ns3::Ipv4Header::Print(std::ostream & os) const [member function] gjc@3408: cls.add_method('Print', 'void', [param('std::ostream&', 'os')], is_const=True, is_virtual=True) gjc@3408: ## ipv4-header.h: uint32_t ns3::Ipv4Header::GetSerializedSize() const [member function] gjc@3408: cls.add_method('GetSerializedSize', 'uint32_t', [], is_const=True, is_virtual=True) gjc@3408: ## ipv4-header.h: void ns3::Ipv4Header::Serialize(ns3::Buffer::Iterator start) const [member function] gjc@3408: cls.add_method('Serialize', 'void', [param('ns3::Buffer::Iterator', 'start')], is_const=True, is_virtual=True) gjc@3408: ## ipv4-header.h: uint32_t ns3::Ipv4Header::Deserialize(ns3::Buffer::Iterator start) [member function] gjc@3408: cls.add_method('Deserialize', 'uint32_t', [param('ns3::Buffer::Iterator', 'start')], is_virtual=True) gjc@3408: return gjc@3408: gjc@3408: def register_Ns3UdpSocket_methods(root_module, cls): gjc@3408: ## udp-socket.h: static ns3::TypeId ns3::UdpSocket::GetTypeId() [member function] gjc@3408: cls.add_method('GetTypeId', 'ns3::TypeId', [], is_static=True) gjc@3408: ## udp-socket.h: ns3::UdpSocket::UdpSocket() [constructor] gjc@3408: cls.add_constructor([], visibility='public') gjc@3408: ## udp-socket.h: void ns3::UdpSocket::SetRcvBufSize(uint32_t size) [member function] gjc@3408: cls.add_method('SetRcvBufSize', 'void', [param('uint32_t', 'size')], is_pure_virtual=True, visibility='private', is_virtual=True) gjc@3408: ## udp-socket.h: uint32_t ns3::UdpSocket::GetRcvBufSize() const [member function] gjc@3408: cls.add_method('GetRcvBufSize', 'uint32_t', [], is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) gjc@3408: ## udp-socket.h: void ns3::UdpSocket::SetIpTtl(uint32_t ipTtl) [member function] gjc@3408: cls.add_method('SetIpTtl', 'void', [param('uint32_t', 'ipTtl')], is_pure_virtual=True, visibility='private', is_virtual=True) gjc@3408: ## udp-socket.h: uint32_t ns3::UdpSocket::GetIpTtl() const [member function] gjc@3408: cls.add_method('GetIpTtl', 'uint32_t', [], is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) gjc@3408: ## udp-socket.h: void ns3::UdpSocket::SetIpMulticastTtl(uint32_t ipTtl) [member function] gjc@3408: cls.add_method('SetIpMulticastTtl', 'void', [param('uint32_t', 'ipTtl')], is_pure_virtual=True, visibility='private', is_virtual=True) gjc@3408: ## udp-socket.h: uint32_t ns3::UdpSocket::GetIpMulticastTtl() const [member function] gjc@3408: cls.add_method('GetIpMulticastTtl', 'uint32_t', [], is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) gjc@3408: return gjc@3408: gjc@3408: def register_Ns3NetDevice_methods(root_module, cls): gjc@3408: ## net-device.h: static ns3::TypeId ns3::NetDevice::GetTypeId() [member function] gjc@3408: cls.add_method('GetTypeId', 'ns3::TypeId', [], is_static=True) gjc@3408: ## net-device.h: void ns3::NetDevice::SetName(std::string const name) [member function] gjc@3408: cls.add_method('SetName', 'void', [param('std::string', 'name', is_const=True)], is_pure_virtual=True, is_virtual=True) gjc@3408: ## net-device.h: std::string ns3::NetDevice::GetName() const [member function] gjc@3408: cls.add_method('GetName', 'std::string', [], is_pure_virtual=True, is_const=True, is_virtual=True) gjc@3408: ## net-device.h: void ns3::NetDevice::SetIfIndex(uint32_t const index) [member function] gjc@3408: cls.add_method('SetIfIndex', 'void', [param('uint32_t', 'index', is_const=True)], is_pure_virtual=True, is_virtual=True) gjc@3408: ## net-device.h: uint32_t ns3::NetDevice::GetIfIndex() const [member function] gjc@3408: cls.add_method('GetIfIndex', 'uint32_t', [], is_pure_virtual=True, is_const=True, is_virtual=True) gjc@3408: ## net-device.h: ns3::Ptr ns3::NetDevice::GetChannel() const [member function] gjc@3408: cls.add_method('GetChannel', 'ns3::Ptr< ns3::Channel >', [], is_pure_virtual=True, is_const=True, is_virtual=True) gjc@3408: ## net-device.h: ns3::Address ns3::NetDevice::GetAddress() const [member function] gjc@3408: cls.add_method('GetAddress', 'ns3::Address', [], is_pure_virtual=True, is_const=True, is_virtual=True) gjc@3408: ## net-device.h: bool ns3::NetDevice::SetMtu(uint16_t const mtu) [member function] gjc@3408: cls.add_method('SetMtu', 'bool', [param('uint16_t', 'mtu', is_const=True)], is_pure_virtual=True, is_virtual=True) gjc@3408: ## net-device.h: uint16_t ns3::NetDevice::GetMtu() const [member function] gjc@3408: cls.add_method('GetMtu', 'uint16_t', [], is_pure_virtual=True, is_const=True, is_virtual=True) gjc@3408: ## net-device.h: bool ns3::NetDevice::IsLinkUp() const [member function] gjc@3408: cls.add_method('IsLinkUp', 'bool', [], is_pure_virtual=True, is_const=True, is_virtual=True) gjc@3408: ## net-device.h: void ns3::NetDevice::SetLinkChangeCallback(ns3::Callback callback) [member function] gjc@3408: cls.add_method('SetLinkChangeCallback', 'void', [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')], is_pure_virtual=True, is_virtual=True) gjc@3408: ## net-device.h: bool ns3::NetDevice::IsBroadcast() const [member function] gjc@3408: cls.add_method('IsBroadcast', 'bool', [], is_pure_virtual=True, is_const=True, is_virtual=True) gjc@3408: ## net-device.h: ns3::Address ns3::NetDevice::GetBroadcast() const [member function] gjc@3408: cls.add_method('GetBroadcast', 'ns3::Address', [], is_pure_virtual=True, is_const=True, is_virtual=True) gjc@3408: ## net-device.h: bool ns3::NetDevice::IsMulticast() const [member function] gjc@3408: cls.add_method('IsMulticast', 'bool', [], is_pure_virtual=True, is_const=True, is_virtual=True) gjc@3408: ## net-device.h: ns3::Address ns3::NetDevice::GetMulticast() const [member function] gjc@3408: cls.add_method('GetMulticast', 'ns3::Address', [], is_pure_virtual=True, is_const=True, is_virtual=True) gjc@3408: ## net-device.h: ns3::Address ns3::NetDevice::MakeMulticastAddress(ns3::Ipv4Address multicastGroup) const [member function] gjc@3408: cls.add_method('MakeMulticastAddress', 'ns3::Address', [param('ns3::Ipv4Address', 'multicastGroup')], is_pure_virtual=True, is_const=True, is_virtual=True) gjc@3408: ## net-device.h: bool ns3::NetDevice::IsPointToPoint() const [member function] gjc@3408: cls.add_method('IsPointToPoint', 'bool', [], is_pure_virtual=True, is_const=True, is_virtual=True) gjc@3408: ## net-device.h: bool ns3::NetDevice::Send(ns3::Ptr packet, ns3::Address const & dest, uint16_t protocolNumber) [member function] gjc@3408: cls.add_method('Send', 'bool', [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address&', 'dest', is_const=True), param('uint16_t', 'protocolNumber')], is_pure_virtual=True, is_virtual=True) gjc@3457: ## net-device.h: bool ns3::NetDevice::SendFrom(ns3::Ptr packet, ns3::Address const & source, ns3::Address const & dest, uint16_t protocolNumber) [member function] gjc@3457: cls.add_method('SendFrom', 'bool', [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address&', 'source', is_const=True), param('ns3::Address&', 'dest', is_const=True), param('uint16_t', 'protocolNumber')], is_pure_virtual=True, is_virtual=True) gjc@3408: ## net-device.h: ns3::Ptr ns3::NetDevice::GetNode() const [member function] gjc@3408: cls.add_method('GetNode', 'ns3::Ptr< ns3::Node >', [], is_pure_virtual=True, is_const=True, is_virtual=True) gjc@3408: ## net-device.h: void ns3::NetDevice::SetNode(ns3::Ptr node) [member function] gjc@3408: cls.add_method('SetNode', 'void', [param('ns3::Ptr< ns3::Node >', 'node')], is_pure_virtual=True, is_virtual=True) gjc@3408: ## net-device.h: bool ns3::NetDevice::NeedsArp() const [member function] gjc@3408: cls.add_method('NeedsArp', 'bool', [], is_pure_virtual=True, is_const=True, is_virtual=True) gjc@3457: ## net-device.h: void ns3::NetDevice::SetReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType> cb) [member function] gjc@3457: cls.add_method('SetReceiveCallback', 'void', [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet >, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType >', 'cb')], is_pure_virtual=True, is_virtual=True) gjc@3408: cls.add_constructor([]) gjc@3408: return gjc@3408: gjc@3408: def register_Ns3AddressValue_methods(root_module, cls): gjc@3408: ## address.h: ns3::AddressValue::AddressValue() [constructor] gjc@3408: cls.add_constructor([], visibility='public') gjc@3408: ## address.h: ns3::AddressValue::AddressValue(ns3::Address const & value) [constructor] gjc@3408: cls.add_constructor([param('ns3::Address&', 'value', is_const=True)], visibility='public') gjc@3408: ## address.h: void ns3::AddressValue::Set(ns3::Address const & value) [member function] gjc@3408: cls.add_method('Set', 'void', [param('ns3::Address&', 'value', is_const=True)]) gjc@3408: ## address.h: ns3::Address ns3::AddressValue::Get() const [member function] gjc@3408: cls.add_method('Get', 'ns3::Address', [], is_const=True) gjc@3408: ## address.h: ns3::Ptr ns3::AddressValue::Copy() const [member function] gjc@3408: cls.add_method('Copy', 'ns3::Ptr< ns3::AttributeValue >', [], is_const=True, is_virtual=True) gjc@3408: ## address.h: std::string ns3::AddressValue::SerializeToString(ns3::Ptr checker) const [member function] gjc@3408: cls.add_method('SerializeToString', 'std::string', [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], is_const=True, is_virtual=True) gjc@3408: ## address.h: bool ns3::AddressValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function] gjc@3408: cls.add_method('DeserializeFromString', 'bool', [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], is_virtual=True) gjc@3408: return gjc@3408: gjc@3408: def register_Ns3Node_methods(root_module, cls): gjc@3408: ## node.h: static ns3::TypeId ns3::Node::GetTypeId() [member function] gjc@3408: cls.add_method('GetTypeId', 'ns3::TypeId', [], is_static=True) gjc@3408: ## node.h: ns3::Node::Node() [constructor] gjc@3408: cls.add_constructor([], visibility='public') gjc@3408: ## node.h: ns3::Node::Node(uint32_t systemId) [constructor] gjc@3408: cls.add_constructor([param('uint32_t', 'systemId')], visibility='public') gjc@3408: ## node.h: uint32_t ns3::Node::GetId() const [member function] gjc@3408: cls.add_method('GetId', 'uint32_t', [], is_const=True) gjc@3408: ## node.h: uint32_t ns3::Node::GetSystemId() const [member function] gjc@3408: cls.add_method('GetSystemId', 'uint32_t', [], is_const=True) gjc@3408: ## node.h: uint32_t ns3::Node::AddDevice(ns3::Ptr device) [member function] gjc@3408: cls.add_method('AddDevice', 'uint32_t', [param('ns3::Ptr< ns3::NetDevice >', 'device')]) gjc@3408: ## node.h: ns3::Ptr ns3::Node::GetDevice(uint32_t index) const [member function] gjc@3408: cls.add_method('GetDevice', 'ns3::Ptr< ns3::NetDevice >', [param('uint32_t', 'index')], is_const=True) gjc@3408: ## node.h: uint32_t ns3::Node::GetNDevices() const [member function] gjc@3408: cls.add_method('GetNDevices', 'uint32_t', [], is_const=True) gjc@3408: ## node.h: uint32_t ns3::Node::AddApplication(ns3::Ptr application) [member function] gjc@3408: cls.add_method('AddApplication', 'uint32_t', [param('ns3::Ptr< ns3::Application >', 'application')]) gjc@3408: ## node.h: ns3::Ptr ns3::Node::GetApplication(uint32_t index) const [member function] gjc@3408: cls.add_method('GetApplication', 'ns3::Ptr< ns3::Application >', [param('uint32_t', 'index')], is_const=True) gjc@3408: ## node.h: ns3::Ptr ns3::Node::GetFirstApplication(ns3::TypeId tid) [member function] gjc@3408: cls.add_method('GetFirstApplication', 'ns3::Ptr< ns3::Application >', [param('ns3::TypeId', 'tid')]) gjc@3408: ## node.h: uint32_t ns3::Node::GetNApplications() const [member function] gjc@3408: cls.add_method('GetNApplications', 'uint32_t', [], is_const=True) gjc@3457: ## node.h: void ns3::Node::RegisterProtocolHandler(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType> handler, uint16_t protocolType, ns3::Ptr device) [member function] gjc@3457: cls.add_method('RegisterProtocolHandler', 'void', [param('ns3::Callback< void, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet >, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType >', 'handler'), param('uint16_t', 'protocolType'), param('ns3::Ptr< ns3::NetDevice >', 'device')]) gjc@3457: ## node.h: void ns3::Node::UnregisterProtocolHandler(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType> handler) [member function] gjc@3457: cls.add_method('UnregisterProtocolHandler', 'void', [param('ns3::Callback< void, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet >, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType >', 'handler')]) gjc@3457: ## node.h: void ns3::Node::RegisterPromiscuousProtocolHandler(ns3::Callback,ns3::Ptr,short unsigned int,const ns3::Address&,const ns3::Address&,bool> handler, uint16_t protocolType, ns3::Ptr device) [member function] gjc@3457: cls.add_method('RegisterPromiscuousProtocolHandler', 'void', [param('ns3::Callback< void, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet >, short unsigned int, const ns3::Address&, const ns3::Address&, bool >', 'handler'), param('uint16_t', 'protocolType'), param('ns3::Ptr< ns3::NetDevice >', 'device')]) gjc@3457: ## node.h: void ns3::Node::UnregisterPromiscuousProtocolHandler(ns3::Callback,ns3::Ptr,short unsigned int,const ns3::Address&,const ns3::Address&,bool> handler) [member function] gjc@3457: cls.add_method('UnregisterPromiscuousProtocolHandler', 'void', [param('ns3::Callback< void, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet >, short unsigned int, const ns3::Address&, const ns3::Address&, bool >', 'handler')]) gjc@3408: ## node.h: void ns3::Node::DoDispose() [member function] gjc@3408: cls.add_method('DoDispose', 'void', [], visibility='protected', is_virtual=True) gjc@3408: ## node.h: void ns3::Node::NotifyDeviceAdded(ns3::Ptr device) [member function] gjc@3408: cls.add_method('NotifyDeviceAdded', 'void', [param('ns3::Ptr< ns3::NetDevice >', 'device')], visibility='private', is_virtual=True) gjc@3408: return gjc@3408: gjc@3408: def register_Ns3TcpSocket_methods(root_module, cls): gjc@3408: ## tcp-socket.h: static ns3::TypeId ns3::TcpSocket::GetTypeId() [member function] gjc@3408: cls.add_method('GetTypeId', 'ns3::TypeId', [], is_static=True) gjc@3408: ## tcp-socket.h: ns3::TcpSocket::TcpSocket() [constructor] gjc@3408: cls.add_constructor([], visibility='public') gjc@3408: ## tcp-socket.h: void ns3::TcpSocket::SetSndBufSize(uint32_t size) [member function] gjc@3408: cls.add_method('SetSndBufSize', 'void', [param('uint32_t', 'size')], is_pure_virtual=True, visibility='private', is_virtual=True) gjc@3408: ## tcp-socket.h: uint32_t ns3::TcpSocket::GetSndBufSize() const [member function] gjc@3408: cls.add_method('GetSndBufSize', 'uint32_t', [], is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) gjc@3408: ## tcp-socket.h: void ns3::TcpSocket::SetRcvBufSize(uint32_t size) [member function] gjc@3408: cls.add_method('SetRcvBufSize', 'void', [param('uint32_t', 'size')], is_pure_virtual=True, visibility='private', is_virtual=True) gjc@3408: ## tcp-socket.h: uint32_t ns3::TcpSocket::GetRcvBufSize() const [member function] gjc@3408: cls.add_method('GetRcvBufSize', 'uint32_t', [], is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) gjc@3408: ## tcp-socket.h: void ns3::TcpSocket::SetSegSize(uint32_t size) [member function] gjc@3408: cls.add_method('SetSegSize', 'void', [param('uint32_t', 'size')], is_pure_virtual=True, visibility='private', is_virtual=True) gjc@3408: ## tcp-socket.h: uint32_t ns3::TcpSocket::GetSegSize() const [member function] gjc@3408: cls.add_method('GetSegSize', 'uint32_t', [], is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) gjc@3408: ## tcp-socket.h: void ns3::TcpSocket::SetAdvWin(uint32_t window) [member function] gjc@3408: cls.add_method('SetAdvWin', 'void', [param('uint32_t', 'window')], is_pure_virtual=True, visibility='private', is_virtual=True) gjc@3408: ## tcp-socket.h: uint32_t ns3::TcpSocket::GetAdvWin() const [member function] gjc@3408: cls.add_method('GetAdvWin', 'uint32_t', [], is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) gjc@3408: ## tcp-socket.h: void ns3::TcpSocket::SetSSThresh(uint32_t threshold) [member function] gjc@3408: cls.add_method('SetSSThresh', 'void', [param('uint32_t', 'threshold')], is_pure_virtual=True, visibility='private', is_virtual=True) gjc@3408: ## tcp-socket.h: uint32_t ns3::TcpSocket::GetSSThresh() const [member function] gjc@3408: cls.add_method('GetSSThresh', 'uint32_t', [], is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) gjc@3408: ## tcp-socket.h: void ns3::TcpSocket::SetInitialCwnd(uint32_t count) [member function] gjc@3408: cls.add_method('SetInitialCwnd', 'void', [param('uint32_t', 'count')], is_pure_virtual=True, visibility='private', is_virtual=True) gjc@3408: ## tcp-socket.h: uint32_t ns3::TcpSocket::GetInitialCwnd() const [member function] gjc@3408: cls.add_method('GetInitialCwnd', 'uint32_t', [], is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) gjc@3408: ## tcp-socket.h: void ns3::TcpSocket::SetConnTimeout(ns3::Time timeout) [member function] gjc@3408: cls.add_method('SetConnTimeout', 'void', [param('ns3::Time', 'timeout')], is_pure_virtual=True, visibility='private', is_virtual=True) gjc@3408: ## tcp-socket.h: ns3::Time ns3::TcpSocket::GetConnTimeout() const [member function] gjc@3408: cls.add_method('GetConnTimeout', 'ns3::Time', [], is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) gjc@3408: ## tcp-socket.h: void ns3::TcpSocket::SetConnCount(uint32_t count) [member function] gjc@3408: cls.add_method('SetConnCount', 'void', [param('uint32_t', 'count')], is_pure_virtual=True, visibility='private', is_virtual=True) gjc@3408: ## tcp-socket.h: uint32_t ns3::TcpSocket::GetConnCount() const [member function] gjc@3408: cls.add_method('GetConnCount', 'uint32_t', [], is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) gjc@3408: ## tcp-socket.h: void ns3::TcpSocket::SetDelAckTimeout(ns3::Time timeout) [member function] gjc@3408: cls.add_method('SetDelAckTimeout', 'void', [param('ns3::Time', 'timeout')], is_pure_virtual=True, visibility='private', is_virtual=True) gjc@3408: ## tcp-socket.h: ns3::Time ns3::TcpSocket::GetDelAckTimeout() const [member function] gjc@3408: cls.add_method('GetDelAckTimeout', 'ns3::Time', [], is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) gjc@3408: ## tcp-socket.h: void ns3::TcpSocket::SetDelAckMaxCount(uint32_t count) [member function] gjc@3408: cls.add_method('SetDelAckMaxCount', 'void', [param('uint32_t', 'count')], is_pure_virtual=True, visibility='private', is_virtual=True) gjc@3408: ## tcp-socket.h: uint32_t ns3::TcpSocket::GetDelAckMaxCount() const [member function] gjc@3408: cls.add_method('GetDelAckMaxCount', 'uint32_t', [], is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) gjc@3408: return gjc@3408: gjc@3457: def register_Ns3Channel_methods(root_module, cls): gjc@3457: ## channel.h: static ns3::TypeId ns3::Channel::GetTypeId() [member function] gjc@3457: cls.add_method('GetTypeId', 'ns3::TypeId', [], is_static=True) gjc@3457: ## channel.h: ns3::Channel::Channel() [constructor] gjc@3457: cls.add_constructor([], visibility='public') gjc@3457: ## channel.h: ns3::Channel::Channel(std::string name) [constructor] gjc@3457: cls.add_constructor([param('std::string', 'name')], visibility='public') gjc@3457: ## channel.h: void ns3::Channel::SetName(std::string arg0) [member function] gjc@3457: cls.add_method('SetName', 'void', [param('std::string', 'arg0')]) gjc@3457: ## channel.h: std::string ns3::Channel::GetName() [member function] gjc@3457: cls.add_method('GetName', 'std::string', []) gjc@3457: ## channel.h: uint32_t ns3::Channel::GetNDevices() const [member function] gjc@3457: cls.add_method('GetNDevices', 'uint32_t', [], is_pure_virtual=True, is_const=True, is_virtual=True) gjc@3457: ## channel.h: ns3::Ptr ns3::Channel::GetDevice(uint32_t i) const [member function] gjc@3457: cls.add_method('GetDevice', 'ns3::Ptr< ns3::NetDevice >', [param('uint32_t', 'i')], is_pure_virtual=True, is_const=True, is_virtual=True) gjc@3457: return gjc@3457: gjc@3408: def register_Ns3EthernetHeader_methods(root_module, cls): gjc@3408: ## ethernet-header.h: ns3::EthernetHeader::EthernetHeader(bool hasPreamble) [constructor] gjc@3408: cls.add_constructor([param('bool', 'hasPreamble')], visibility='public') gjc@3408: ## ethernet-header.h: ns3::EthernetHeader::EthernetHeader() [constructor] gjc@3408: cls.add_constructor([], visibility='public') gjc@3408: ## ethernet-header.h: void ns3::EthernetHeader::SetLengthType(uint16_t size) [member function] gjc@3408: cls.add_method('SetLengthType', 'void', [param('uint16_t', 'size')]) gjc@3408: ## ethernet-header.h: void ns3::EthernetHeader::SetSource(ns3::Mac48Address source) [member function] gjc@3408: cls.add_method('SetSource', 'void', [param('ns3::Mac48Address', 'source')]) gjc@3408: ## ethernet-header.h: void ns3::EthernetHeader::SetDestination(ns3::Mac48Address destination) [member function] gjc@3408: cls.add_method('SetDestination', 'void', [param('ns3::Mac48Address', 'destination')]) gjc@3408: ## ethernet-header.h: void ns3::EthernetHeader::SetPreambleSfd(uint64_t preambleSfd) [member function] gjc@3408: cls.add_method('SetPreambleSfd', 'void', [param('uint64_t', 'preambleSfd')]) gjc@3408: ## ethernet-header.h: uint16_t ns3::EthernetHeader::GetLengthType() const [member function] gjc@3408: cls.add_method('GetLengthType', 'uint16_t', [], is_const=True) gjc@3408: ## ethernet-header.h: ns3::ethernet_header_t ns3::EthernetHeader::GetPacketType() const [member function] gjc@3408: cls.add_method('GetPacketType', 'ns3::ethernet_header_t', [], is_const=True) gjc@3408: ## ethernet-header.h: ns3::Mac48Address ns3::EthernetHeader::GetSource() const [member function] gjc@3408: cls.add_method('GetSource', 'ns3::Mac48Address', [], is_const=True) gjc@3408: ## ethernet-header.h: ns3::Mac48Address ns3::EthernetHeader::GetDestination() const [member function] gjc@3408: cls.add_method('GetDestination', 'ns3::Mac48Address', [], is_const=True) gjc@3408: ## ethernet-header.h: uint64_t ns3::EthernetHeader::GetPreambleSfd() const [member function] gjc@3408: cls.add_method('GetPreambleSfd', 'uint64_t', [], is_const=True) gjc@3408: ## ethernet-header.h: uint32_t ns3::EthernetHeader::GetHeaderSize() const [member function] gjc@3408: cls.add_method('GetHeaderSize', 'uint32_t', [], is_const=True) gjc@3408: ## ethernet-header.h: static ns3::TypeId ns3::EthernetHeader::GetTypeId() [member function] gjc@3408: cls.add_method('GetTypeId', 'ns3::TypeId', [], is_static=True) gjc@3408: ## ethernet-header.h: ns3::TypeId ns3::EthernetHeader::GetInstanceTypeId() const [member function] gjc@3408: cls.add_method('GetInstanceTypeId', 'ns3::TypeId', [], is_const=True, is_virtual=True) gjc@3408: ## ethernet-header.h: void ns3::EthernetHeader::Print(std::ostream & os) const [member function] gjc@3408: cls.add_method('Print', 'void', [param('std::ostream&', 'os')], is_const=True, is_virtual=True) gjc@3408: ## ethernet-header.h: uint32_t ns3::EthernetHeader::GetSerializedSize() const [member function] gjc@3408: cls.add_method('GetSerializedSize', 'uint32_t', [], is_const=True, is_virtual=True) gjc@3408: ## ethernet-header.h: void ns3::EthernetHeader::Serialize(ns3::Buffer::Iterator start) const [member function] gjc@3408: cls.add_method('Serialize', 'void', [param('ns3::Buffer::Iterator', 'start')], is_const=True, is_virtual=True) gjc@3408: ## ethernet-header.h: uint32_t ns3::EthernetHeader::Deserialize(ns3::Buffer::Iterator start) [member function] gjc@3408: cls.add_method('Deserialize', 'uint32_t', [param('ns3::Buffer::Iterator', 'start')], is_virtual=True) gjc@3408: return gjc@3408: gjc@3408: def register_Ns3SocketIpTtlTag_methods(root_module, cls): gjc@3408: ## socket.h: ns3::SocketIpTtlTag::SocketIpTtlTag() [constructor] gjc@3408: cls.add_constructor([], visibility='public') gjc@3408: ## socket.h: void ns3::SocketIpTtlTag::SetTtl(uint8_t ttl) [member function] gjc@3408: cls.add_method('SetTtl', 'void', [param('uint8_t', 'ttl')]) gjc@3408: ## socket.h: uint8_t ns3::SocketIpTtlTag::GetTtl() const [member function] gjc@3408: cls.add_method('GetTtl', 'uint8_t', [], is_const=True) gjc@3408: ## socket.h: static ns3::TypeId ns3::SocketIpTtlTag::GetTypeId() [member function] gjc@3408: cls.add_method('GetTypeId', 'ns3::TypeId', [], is_static=True) gjc@3408: ## socket.h: ns3::TypeId ns3::SocketIpTtlTag::GetInstanceTypeId() const [member function] gjc@3408: cls.add_method('GetInstanceTypeId', 'ns3::TypeId', [], is_const=True, is_virtual=True) gjc@3408: ## socket.h: uint32_t ns3::SocketIpTtlTag::GetSerializedSize() const [member function] gjc@3408: cls.add_method('GetSerializedSize', 'uint32_t', [], is_const=True, is_virtual=True) gjc@3408: ## socket.h: void ns3::SocketIpTtlTag::Serialize(ns3::TagBuffer i) const [member function] gjc@3408: cls.add_method('Serialize', 'void', [param('ns3::TagBuffer', 'i')], is_const=True, is_virtual=True) gjc@3408: ## socket.h: void ns3::SocketIpTtlTag::Deserialize(ns3::TagBuffer i) [member function] gjc@3408: cls.add_method('Deserialize', 'void', [param('ns3::TagBuffer', 'i')], is_virtual=True) gjc@3408: ## socket.h: void ns3::SocketIpTtlTag::Print(std::ostream & os) const [member function] gjc@3408: cls.add_method('Print', 'void', [param('std::ostream&', 'os')], is_const=True, is_virtual=True) gjc@3408: return gjc@3408: gjc@3408: def register_Ns3Ipv4_methods(root_module, cls): gjc@3408: ## ipv4.h: static ns3::TypeId ns3::Ipv4::GetTypeId() [member function] gjc@3408: cls.add_method('GetTypeId', 'ns3::TypeId', [], is_static=True) gjc@3408: ## ipv4.h: ns3::Ipv4::Ipv4() [constructor] gjc@3408: cls.add_constructor([], visibility='public') gjc@3408: ## ipv4.h: void ns3::Ipv4::AddRoutingProtocol(ns3::Ptr routingProtocol, int16_t priority) [member function] gjc@3408: cls.add_method('AddRoutingProtocol', 'void', [param('ns3::Ptr< ns3::Ipv4RoutingProtocol >', 'routingProtocol'), param('int16_t', 'priority')], is_pure_virtual=True, is_virtual=True) gjc@3408: ## ipv4.h: void ns3::Ipv4::AddHostRouteTo(ns3::Ipv4Address dest, ns3::Ipv4Address nextHop, uint32_t interface) [member function] gjc@3408: cls.add_method('AddHostRouteTo', 'void', [param('ns3::Ipv4Address', 'dest'), param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')], is_pure_virtual=True, is_virtual=True) gjc@3408: ## ipv4.h: void ns3::Ipv4::AddHostRouteTo(ns3::Ipv4Address dest, uint32_t interface) [member function] gjc@3408: cls.add_method('AddHostRouteTo', 'void', [param('ns3::Ipv4Address', 'dest'), param('uint32_t', 'interface')], is_pure_virtual=True, is_virtual=True) gjc@3408: ## ipv4.h: void ns3::Ipv4::AddNetworkRouteTo(ns3::Ipv4Address network, ns3::Ipv4Mask networkMask, ns3::Ipv4Address nextHop, uint32_t interface) [member function] gjc@3408: cls.add_method('AddNetworkRouteTo', 'void', [param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'networkMask'), param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')], is_pure_virtual=True, is_virtual=True) gjc@3408: ## ipv4.h: void ns3::Ipv4::AddNetworkRouteTo(ns3::Ipv4Address network, ns3::Ipv4Mask networkMask, uint32_t interface) [member function] gjc@3408: cls.add_method('AddNetworkRouteTo', 'void', [param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'networkMask'), param('uint32_t', 'interface')], is_pure_virtual=True, is_virtual=True) gjc@3408: ## ipv4.h: void ns3::Ipv4::SetDefaultRoute(ns3::Ipv4Address nextHop, uint32_t interface) [member function] gjc@3408: cls.add_method('SetDefaultRoute', 'void', [param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')], is_pure_virtual=True, is_virtual=True) gjc@3408: ## ipv4.h: uint32_t ns3::Ipv4::GetNRoutes() [member function] gjc@3408: cls.add_method('GetNRoutes', 'uint32_t', [], is_pure_virtual=True, is_virtual=True) gjc@3408: ## ipv4.h: ns3::Ipv4Route ns3::Ipv4::GetRoute(uint32_t i) [member function] gjc@3408: cls.add_method('GetRoute', 'ns3::Ipv4Route', [param('uint32_t', 'i')], is_pure_virtual=True, is_virtual=True) gjc@3408: ## ipv4.h: void ns3::Ipv4::RemoveRoute(uint32_t i) [member function] gjc@3408: cls.add_method('RemoveRoute', 'void', [param('uint32_t', 'i')], is_pure_virtual=True, is_virtual=True) gjc@3408: ## ipv4.h: void ns3::Ipv4::AddMulticastRoute(ns3::Ipv4Address origin, ns3::Ipv4Address group, uint32_t inputInterface, std::vector > outputInterfaces) [member function] gjc@3408: cls.add_method('AddMulticastRoute', 'void', [param('ns3::Ipv4Address', 'origin'), param('ns3::Ipv4Address', 'group'), param('uint32_t', 'inputInterface'), param('std::vector< unsigned int, std::allocator< unsigned int > >', 'outputInterfaces')], is_pure_virtual=True, is_virtual=True) gjc@3408: ## ipv4.h: void ns3::Ipv4::RemoveMulticastRoute(ns3::Ipv4Address origin, ns3::Ipv4Address group, uint32_t inputInterface) [member function] gjc@3408: cls.add_method('RemoveMulticastRoute', 'void', [param('ns3::Ipv4Address', 'origin'), param('ns3::Ipv4Address', 'group'), param('uint32_t', 'inputInterface')], is_pure_virtual=True, is_virtual=True) gjc@3408: ## ipv4.h: void ns3::Ipv4::SetDefaultMulticastRoute(uint32_t outputInterface) [member function] gjc@3408: cls.add_method('SetDefaultMulticastRoute', 'void', [param('uint32_t', 'outputInterface')], is_pure_virtual=True, is_virtual=True) gjc@3408: ## ipv4.h: uint32_t ns3::Ipv4::GetNMulticastRoutes() const [member function] gjc@3408: cls.add_method('GetNMulticastRoutes', 'uint32_t', [], is_pure_virtual=True, is_const=True, is_virtual=True) gjc@3408: ## ipv4.h: ns3::Ipv4MulticastRoute ns3::Ipv4::GetMulticastRoute(uint32_t i) const [member function] gjc@3408: cls.add_method('GetMulticastRoute', 'ns3::Ipv4MulticastRoute', [param('uint32_t', 'i')], is_pure_virtual=True, is_const=True, is_virtual=True) gjc@3408: ## ipv4.h: void ns3::Ipv4::RemoveMulticastRoute(uint32_t i) [member function] gjc@3408: cls.add_method('RemoveMulticastRoute', 'void', [param('uint32_t', 'i')], is_pure_virtual=True, is_virtual=True) gjc@3408: ## ipv4.h: uint32_t ns3::Ipv4::AddInterface(ns3::Ptr device) [member function] gjc@3408: cls.add_method('AddInterface', 'uint32_t', [param('ns3::Ptr< ns3::NetDevice >', 'device')], is_pure_virtual=True, is_virtual=True) gjc@3408: ## ipv4.h: uint32_t ns3::Ipv4::GetNInterfaces() [member function] gjc@3408: cls.add_method('GetNInterfaces', 'uint32_t', [], is_pure_virtual=True, is_virtual=True) gjc@3408: ## ipv4.h: uint32_t ns3::Ipv4::FindInterfaceForAddr(ns3::Ipv4Address addr) const [member function] gjc@3408: cls.add_method('FindInterfaceForAddr', 'uint32_t', [param('ns3::Ipv4Address', 'addr')], is_pure_virtual=True, is_const=True, is_virtual=True) gjc@3408: ## ipv4.h: uint32_t ns3::Ipv4::FindInterfaceForAddr(ns3::Ipv4Address addr, ns3::Ipv4Mask mask) const [member function] gjc@3408: cls.add_method('FindInterfaceForAddr', 'uint32_t', [param('ns3::Ipv4Address', 'addr'), param('ns3::Ipv4Mask', 'mask')], is_pure_virtual=True, is_const=True, is_virtual=True) gjc@3408: ## ipv4.h: int32_t ns3::Ipv4::FindInterfaceForDevice(ns3::Ptr nd) const [member function] gjc@3408: cls.add_method('FindInterfaceForDevice', 'int32_t', [param('ns3::Ptr< ns3::NetDevice >', 'nd')], is_pure_virtual=True, is_const=True, is_virtual=True) gjc@3408: ## ipv4.h: ns3::Ptr ns3::Ipv4::GetNetDevice(uint32_t i) [member function] gjc@3408: cls.add_method('GetNetDevice', 'ns3::Ptr< ns3::NetDevice >', [param('uint32_t', 'i')], is_pure_virtual=True, is_virtual=True) gjc@3408: ## ipv4.h: void ns3::Ipv4::JoinMulticastGroup(ns3::Ipv4Address origin, ns3::Ipv4Address group) [member function] gjc@3408: cls.add_method('JoinMulticastGroup', 'void', [param('ns3::Ipv4Address', 'origin'), param('ns3::Ipv4Address', 'group')], is_pure_virtual=True, is_virtual=True) gjc@3408: ## ipv4.h: void ns3::Ipv4::LeaveMulticastGroup(ns3::Ipv4Address origin, ns3::Ipv4Address group) [member function] gjc@3408: cls.add_method('LeaveMulticastGroup', 'void', [param('ns3::Ipv4Address', 'origin'), param('ns3::Ipv4Address', 'group')], is_pure_virtual=True, is_virtual=True) gjc@3408: ## ipv4.h: void ns3::Ipv4::SetAddress(uint32_t i, ns3::Ipv4Address address) [member function] gjc@3408: cls.add_method('SetAddress', 'void', [param('uint32_t', 'i'), param('ns3::Ipv4Address', 'address')], is_pure_virtual=True, is_virtual=True) gjc@3408: ## ipv4.h: void ns3::Ipv4::SetNetworkMask(uint32_t i, ns3::Ipv4Mask mask) [member function] gjc@3408: cls.add_method('SetNetworkMask', 'void', [param('uint32_t', 'i'), param('ns3::Ipv4Mask', 'mask')], is_pure_virtual=True, is_virtual=True) gjc@3408: ## ipv4.h: ns3::Ipv4Mask ns3::Ipv4::GetNetworkMask(uint32_t i) const [member function] gjc@3408: cls.add_method('GetNetworkMask', 'ns3::Ipv4Mask', [param('uint32_t', 'i')], is_pure_virtual=True, is_const=True, is_virtual=True) gjc@3408: ## ipv4.h: void ns3::Ipv4::SetMetric(uint32_t i, uint16_t metric) [member function] gjc@3408: cls.add_method('SetMetric', 'void', [param('uint32_t', 'i'), param('uint16_t', 'metric')], is_pure_virtual=True, is_virtual=True) gjc@3408: ## ipv4.h: uint16_t ns3::Ipv4::GetMetric(uint32_t i) const [member function] gjc@3408: cls.add_method('GetMetric', 'uint16_t', [param('uint32_t', 'i')], is_pure_virtual=True, is_const=True, is_virtual=True) gjc@3408: ## ipv4.h: ns3::Ipv4Address ns3::Ipv4::GetAddress(uint32_t i) const [member function] gjc@3408: cls.add_method('GetAddress', 'ns3::Ipv4Address', [param('uint32_t', 'i')], is_pure_virtual=True, is_const=True, is_virtual=True) gjc@3408: ## ipv4.h: ns3::Ipv4Address ns3::Ipv4::GetSourceAddress(ns3::Ipv4Address destination) const [member function] gjc@3408: cls.add_method('GetSourceAddress', 'ns3::Ipv4Address', [param('ns3::Ipv4Address', 'destination')], is_pure_virtual=True, is_const=True, is_virtual=True) gjc@3408: ## ipv4.h: bool ns3::Ipv4::GetIfIndexForDestination(ns3::Ipv4Address dest, uint32_t & ifIndex) const [member function] gjc@3408: cls.add_method('GetIfIndexForDestination', 'bool', [param('ns3::Ipv4Address', 'dest'), param('uint32_t&', 'ifIndex')], is_pure_virtual=True, is_const=True, is_virtual=True) gjc@3408: ## ipv4.h: uint16_t ns3::Ipv4::GetMtu(uint32_t i) const [member function] gjc@3408: cls.add_method('GetMtu', 'uint16_t', [param('uint32_t', 'i')], is_pure_virtual=True, is_const=True, is_virtual=True) gjc@3408: ## ipv4.h: bool ns3::Ipv4::IsUp(uint32_t i) const [member function] gjc@3408: cls.add_method('IsUp', 'bool', [param('uint32_t', 'i')], is_pure_virtual=True, is_const=True, is_virtual=True) gjc@3408: ## ipv4.h: void ns3::Ipv4::SetUp(uint32_t i) [member function] gjc@3408: cls.add_method('SetUp', 'void', [param('uint32_t', 'i')], is_pure_virtual=True, is_virtual=True) gjc@3408: ## ipv4.h: void ns3::Ipv4::SetDown(uint32_t i) [member function] gjc@3408: cls.add_method('SetDown', 'void', [param('uint32_t', 'i')], is_pure_virtual=True, is_virtual=True) gjc@3408: ## ipv4.h: uint32_t ns3::Ipv4::GetIfIndexByAddress(ns3::Ipv4Address addr, ns3::Ipv4Mask mask=ns3::Ipv4Mask(((const char*)"255.255.255.255"))) [member function] gjc@3408: cls.add_method('GetIfIndexByAddress', 'uint32_t', [param('ns3::Ipv4Address', 'addr'), param('ns3::Ipv4Mask', 'mask', default_value='ns3::Ipv4Mask(((const char*)"255.255.255.255"))')], is_virtual=True) gjc@3408: return gjc@3408: gjc@3408: def register_Ns3SocketFactory_methods(root_module, cls): gjc@3408: ## socket-factory.h: static ns3::TypeId ns3::SocketFactory::GetTypeId() [member function] gjc@3408: cls.add_method('GetTypeId', 'ns3::TypeId', [], is_static=True) gjc@3408: ## socket-factory.h: ns3::SocketFactory::SocketFactory() [constructor] gjc@3408: cls.add_constructor([], visibility='public') gjc@3408: ## socket-factory.h: ns3::Ptr ns3::SocketFactory::CreateSocket() [member function] gjc@3408: cls.add_method('CreateSocket', 'ns3::Ptr< ns3::Socket >', [], is_pure_virtual=True, is_virtual=True) gjc@3408: return gjc@3408: gjc@3408: def register_Ns3DropTailQueue_methods(root_module, cls): gjc@3408: ## drop-tail-queue.h: static ns3::TypeId ns3::DropTailQueue::GetTypeId() [member function] gjc@3408: cls.add_method('GetTypeId', 'ns3::TypeId', [], is_static=True) gjc@3408: ## drop-tail-queue.h: ns3::DropTailQueue::DropTailQueue() [constructor] gjc@3408: cls.add_constructor([], visibility='public') gjc@3408: ## drop-tail-queue.h: bool ns3::DropTailQueue::DoEnqueue(ns3::Ptr p) [member function] gjc@3408: cls.add_method('DoEnqueue', 'bool', [param('ns3::Ptr< ns3::Packet >', 'p')], visibility='private', is_virtual=True) gjc@3408: ## drop-tail-queue.h: ns3::Ptr ns3::DropTailQueue::DoDequeue() [member function] gjc@3408: cls.add_method('DoDequeue', 'ns3::Ptr< ns3::Packet >', [], visibility='private', is_virtual=True) gjc@3408: ## drop-tail-queue.h: ns3::Ptr ns3::DropTailQueue::DoPeek() const [member function] gjc@3408: cls.add_method('DoPeek', 'ns3::Ptr< ns3::Packet >', [], is_const=True, visibility='private', is_virtual=True) gjc@3408: return gjc@3408: gjc@3408: def register_Ns3EthernetTrailer_methods(root_module, cls): gjc@3408: ## ethernet-trailer.h: ns3::EthernetTrailer::EthernetTrailer() [constructor] gjc@3408: cls.add_constructor([], visibility='public') gjc@3408: ## ethernet-trailer.h: static void ns3::EthernetTrailer::EnableFcs(bool enable) [member function] gjc@3408: cls.add_method('EnableFcs', 'void', [param('bool', 'enable')], is_static=True) gjc@3408: ## ethernet-trailer.h: void ns3::EthernetTrailer::CalcFcs(ns3::Ptr p) [member function] gjc@3408: cls.add_method('CalcFcs', 'void', [param('ns3::Ptr< ns3::Packet >', 'p')]) gjc@3408: ## ethernet-trailer.h: void ns3::EthernetTrailer::SetFcs(uint32_t fcs) [member function] gjc@3408: cls.add_method('SetFcs', 'void', [param('uint32_t', 'fcs')]) gjc@3408: ## ethernet-trailer.h: uint32_t ns3::EthernetTrailer::GetFcs() [member function] gjc@3408: cls.add_method('GetFcs', 'uint32_t', []) gjc@3408: ## ethernet-trailer.h: bool ns3::EthernetTrailer::CheckFcs(ns3::Ptr p) const [member function] gjc@3408: cls.add_method('CheckFcs', 'bool', [param('ns3::Ptr< ns3::Packet >', 'p')], is_const=True) gjc@3408: ## ethernet-trailer.h: uint32_t ns3::EthernetTrailer::GetTrailerSize() const [member function] gjc@3408: cls.add_method('GetTrailerSize', 'uint32_t', [], is_const=True) gjc@3408: ## ethernet-trailer.h: static ns3::TypeId ns3::EthernetTrailer::GetTypeId() [member function] gjc@3408: cls.add_method('GetTypeId', 'ns3::TypeId', [], is_static=True) gjc@3408: ## ethernet-trailer.h: ns3::TypeId ns3::EthernetTrailer::GetInstanceTypeId() const [member function] gjc@3408: cls.add_method('GetInstanceTypeId', 'ns3::TypeId', [], is_const=True, is_virtual=True) gjc@3408: ## ethernet-trailer.h: void ns3::EthernetTrailer::Print(std::ostream & os) const [member function] gjc@3408: cls.add_method('Print', 'void', [param('std::ostream&', 'os')], is_const=True, is_virtual=True) gjc@3408: ## ethernet-trailer.h: uint32_t ns3::EthernetTrailer::GetSerializedSize() const [member function] gjc@3408: cls.add_method('GetSerializedSize', 'uint32_t', [], is_const=True, is_virtual=True) gjc@3408: ## ethernet-trailer.h: void ns3::EthernetTrailer::Serialize(ns3::Buffer::Iterator end) const [member function] gjc@3408: cls.add_method('Serialize', 'void', [param('ns3::Buffer::Iterator', 'end')], is_const=True, is_virtual=True) gjc@3408: ## ethernet-trailer.h: uint32_t ns3::EthernetTrailer::Deserialize(ns3::Buffer::Iterator end) [member function] gjc@3408: cls.add_method('Deserialize', 'uint32_t', [param('ns3::Buffer::Iterator', 'end')], is_virtual=True) gjc@3408: return gjc@3408: gjc@3408: def register_Ns3LlcSnapHeader_methods(root_module, cls): gjc@3408: ## llc-snap-header.h: ns3::LlcSnapHeader::LlcSnapHeader() [constructor] gjc@3408: cls.add_constructor([], visibility='public') gjc@3408: ## llc-snap-header.h: void ns3::LlcSnapHeader::SetType(uint16_t type) [member function] gjc@3408: cls.add_method('SetType', 'void', [param('uint16_t', 'type')]) gjc@3408: ## llc-snap-header.h: uint16_t ns3::LlcSnapHeader::GetType() [member function] gjc@3408: cls.add_method('GetType', 'uint16_t', []) gjc@3408: ## llc-snap-header.h: static ns3::TypeId ns3::LlcSnapHeader::GetTypeId() [member function] gjc@3408: cls.add_method('GetTypeId', 'ns3::TypeId', [], is_static=True) gjc@3408: ## llc-snap-header.h: ns3::TypeId ns3::LlcSnapHeader::GetInstanceTypeId() const [member function] gjc@3408: cls.add_method('GetInstanceTypeId', 'ns3::TypeId', [], is_const=True, is_virtual=True) gjc@3408: ## llc-snap-header.h: void ns3::LlcSnapHeader::Print(std::ostream & os) const [member function] gjc@3408: cls.add_method('Print', 'void', [param('std::ostream&', 'os')], is_const=True, is_virtual=True) gjc@3408: ## llc-snap-header.h: uint32_t ns3::LlcSnapHeader::GetSerializedSize() const [member function] gjc@3408: cls.add_method('GetSerializedSize', 'uint32_t', [], is_const=True, is_virtual=True) gjc@3408: ## llc-snap-header.h: void ns3::LlcSnapHeader::Serialize(ns3::Buffer::Iterator start) const [member function] gjc@3408: cls.add_method('Serialize', 'void', [param('ns3::Buffer::Iterator', 'start')], is_const=True, is_virtual=True) gjc@3408: ## llc-snap-header.h: uint32_t ns3::LlcSnapHeader::Deserialize(ns3::Buffer::Iterator start) [member function] gjc@3408: cls.add_method('Deserialize', 'uint32_t', [param('ns3::Buffer::Iterator', 'start')], is_virtual=True) gjc@3408: return gjc@3408: gjc@3408: def register_Ns3UdpSocketFactory_methods(root_module, cls): gjc@3408: ## udp-socket-factory.h: static ns3::TypeId ns3::UdpSocketFactory::GetTypeId() [member function] gjc@3408: cls.add_method('GetTypeId', 'ns3::TypeId', [], is_static=True) gjc@3408: cls.add_constructor([]) gjc@3408: return gjc@3408: gjc@3408: def register_Ns3SimpleNetDevice_methods(root_module, cls): gjc@3408: ## simple-net-device.h: static ns3::TypeId ns3::SimpleNetDevice::GetTypeId() [member function] gjc@3408: cls.add_method('GetTypeId', 'ns3::TypeId', [], is_static=True) gjc@3408: ## simple-net-device.h: ns3::SimpleNetDevice::SimpleNetDevice() [constructor] gjc@3408: cls.add_constructor([], visibility='public') gjc@3408: ## simple-net-device.h: void ns3::SimpleNetDevice::Receive(ns3::Ptr packet, uint16_t protocol, ns3::Mac48Address to, ns3::Mac48Address from) [member function] gjc@3408: cls.add_method('Receive', 'void', [param('ns3::Ptr< ns3::Packet >', 'packet'), param('uint16_t', 'protocol'), param('ns3::Mac48Address', 'to'), param('ns3::Mac48Address', 'from')]) gjc@3408: ## simple-net-device.h: void ns3::SimpleNetDevice::SetChannel(ns3::Ptr channel) [member function] gjc@3408: cls.add_method('SetChannel', 'void', [param('ns3::Ptr< ns3::SimpleChannel >', 'channel')]) gjc@3408: ## simple-net-device.h: void ns3::SimpleNetDevice::SetAddress(ns3::Mac48Address address) [member function] gjc@3408: cls.add_method('SetAddress', 'void', [param('ns3::Mac48Address', 'address')]) gjc@3408: ## simple-net-device.h: void ns3::SimpleNetDevice::SetName(std::string const name) [member function] gjc@3408: cls.add_method('SetName', 'void', [param('std::string', 'name', is_const=True)], is_virtual=True) gjc@3408: ## simple-net-device.h: std::string ns3::SimpleNetDevice::GetName() const [member function] gjc@3408: cls.add_method('GetName', 'std::string', [], is_const=True, is_virtual=True) gjc@3408: ## simple-net-device.h: void ns3::SimpleNetDevice::SetIfIndex(uint32_t const index) [member function] gjc@3408: cls.add_method('SetIfIndex', 'void', [param('uint32_t', 'index', is_const=True)], is_virtual=True) gjc@3408: ## simple-net-device.h: uint32_t ns3::SimpleNetDevice::GetIfIndex() const [member function] gjc@3408: cls.add_method('GetIfIndex', 'uint32_t', [], is_const=True, is_virtual=True) gjc@3408: ## simple-net-device.h: ns3::Ptr ns3::SimpleNetDevice::GetChannel() const [member function] gjc@3408: cls.add_method('GetChannel', 'ns3::Ptr< ns3::Channel >', [], is_const=True, is_virtual=True) gjc@3408: ## simple-net-device.h: ns3::Address ns3::SimpleNetDevice::GetAddress() const [member function] gjc@3408: cls.add_method('GetAddress', 'ns3::Address', [], is_const=True, is_virtual=True) gjc@3408: ## simple-net-device.h: bool ns3::SimpleNetDevice::SetMtu(uint16_t const mtu) [member function] gjc@3408: cls.add_method('SetMtu', 'bool', [param('uint16_t', 'mtu', is_const=True)], is_virtual=True) gjc@3408: ## simple-net-device.h: uint16_t ns3::SimpleNetDevice::GetMtu() const [member function] gjc@3408: cls.add_method('GetMtu', 'uint16_t', [], is_const=True, is_virtual=True) gjc@3408: ## simple-net-device.h: bool ns3::SimpleNetDevice::IsLinkUp() const [member function] gjc@3408: cls.add_method('IsLinkUp', 'bool', [], is_const=True, is_virtual=True) gjc@3408: ## simple-net-device.h: void ns3::SimpleNetDevice::SetLinkChangeCallback(ns3::Callback callback) [member function] gjc@3408: cls.add_method('SetLinkChangeCallback', 'void', [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')], is_virtual=True) gjc@3408: ## simple-net-device.h: bool ns3::SimpleNetDevice::IsBroadcast() const [member function] gjc@3408: cls.add_method('IsBroadcast', 'bool', [], is_const=True, is_virtual=True) gjc@3408: ## simple-net-device.h: ns3::Address ns3::SimpleNetDevice::GetBroadcast() const [member function] gjc@3408: cls.add_method('GetBroadcast', 'ns3::Address', [], is_const=True, is_virtual=True) gjc@3408: ## simple-net-device.h: bool ns3::SimpleNetDevice::IsMulticast() const [member function] gjc@3408: cls.add_method('IsMulticast', 'bool', [], is_const=True, is_virtual=True) gjc@3408: ## simple-net-device.h: ns3::Address ns3::SimpleNetDevice::GetMulticast() const [member function] gjc@3408: cls.add_method('GetMulticast', 'ns3::Address', [], is_const=True, is_virtual=True) gjc@3408: ## simple-net-device.h: ns3::Address ns3::SimpleNetDevice::MakeMulticastAddress(ns3::Ipv4Address multicastGroup) const [member function] gjc@3408: cls.add_method('MakeMulticastAddress', 'ns3::Address', [param('ns3::Ipv4Address', 'multicastGroup')], is_const=True, is_virtual=True) gjc@3408: ## simple-net-device.h: bool ns3::SimpleNetDevice::IsPointToPoint() const [member function] gjc@3408: cls.add_method('IsPointToPoint', 'bool', [], is_const=True, is_virtual=True) gjc@3408: ## simple-net-device.h: bool ns3::SimpleNetDevice::Send(ns3::Ptr packet, ns3::Address const & dest, uint16_t protocolNumber) [member function] gjc@3408: cls.add_method('Send', 'bool', [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address&', 'dest', is_const=True), param('uint16_t', 'protocolNumber')], is_virtual=True) gjc@3457: ## simple-net-device.h: bool ns3::SimpleNetDevice::SendFrom(ns3::Ptr packet, ns3::Address const & source, ns3::Address const & dest, uint16_t protocolNumber) [member function] gjc@3457: cls.add_method('SendFrom', 'bool', [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address&', 'source', is_const=True), param('ns3::Address&', 'dest', is_const=True), param('uint16_t', 'protocolNumber')], is_virtual=True) gjc@3408: ## simple-net-device.h: ns3::Ptr ns3::SimpleNetDevice::GetNode() const [member function] gjc@3408: cls.add_method('GetNode', 'ns3::Ptr< ns3::Node >', [], is_const=True, is_virtual=True) gjc@3408: ## simple-net-device.h: void ns3::SimpleNetDevice::SetNode(ns3::Ptr node) [member function] gjc@3408: cls.add_method('SetNode', 'void', [param('ns3::Ptr< ns3::Node >', 'node')], is_virtual=True) gjc@3408: ## simple-net-device.h: bool ns3::SimpleNetDevice::NeedsArp() const [member function] gjc@3408: cls.add_method('NeedsArp', 'bool', [], is_const=True, is_virtual=True) gjc@3457: ## simple-net-device.h: void ns3::SimpleNetDevice::SetReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType> cb) [member function] gjc@3457: cls.add_method('SetReceiveCallback', 'void', [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet >, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType >', 'cb')], is_virtual=True) gjc@3408: ## simple-net-device.h: void ns3::SimpleNetDevice::DoDispose() [member function] gjc@3408: cls.add_method('DoDispose', 'void', [], visibility='protected', is_virtual=True) gjc@3408: return gjc@3408: gjc@3457: def register_Ns3SimpleChannel_methods(root_module, cls): gjc@3457: ## simple-channel.h: static ns3::TypeId ns3::SimpleChannel::GetTypeId() [member function] gjc@3457: cls.add_method('GetTypeId', 'ns3::TypeId', [], is_static=True) gjc@3457: ## simple-channel.h: ns3::SimpleChannel::SimpleChannel() [constructor] gjc@3457: cls.add_constructor([], visibility='public') gjc@3457: ## simple-channel.h: void ns3::SimpleChannel::Send(ns3::Ptr p, uint16_t protocol, ns3::Mac48Address to, ns3::Mac48Address from, ns3::Ptr sender) [member function] gjc@3457: cls.add_method('Send', 'void', [param('ns3::Ptr< ns3::Packet >', 'p'), param('uint16_t', 'protocol'), param('ns3::Mac48Address', 'to'), param('ns3::Mac48Address', 'from'), param('ns3::Ptr< ns3::SimpleNetDevice >', 'sender')]) gjc@3457: ## simple-channel.h: void ns3::SimpleChannel::Add(ns3::Ptr device) [member function] gjc@3457: cls.add_method('Add', 'void', [param('ns3::Ptr< ns3::SimpleNetDevice >', 'device')]) gjc@3457: ## simple-channel.h: uint32_t ns3::SimpleChannel::GetNDevices() const [member function] gjc@3457: cls.add_method('GetNDevices', 'uint32_t', [], is_const=True, is_virtual=True) gjc@3457: ## simple-channel.h: ns3::Ptr ns3::SimpleChannel::GetDevice(uint32_t i) const [member function] gjc@3457: cls.add_method('GetDevice', 'ns3::Ptr< ns3::NetDevice >', [param('uint32_t', 'i')], is_const=True, is_virtual=True) gjc@3457: return gjc@3457: gjc@3408: def register_Ns3TcpSocketFactory_methods(root_module, cls): gjc@3408: ## tcp-socket-factory.h: static ns3::TypeId ns3::TcpSocketFactory::GetTypeId() [member function] gjc@3408: cls.add_method('GetTypeId', 'ns3::TypeId', [], is_static=True) gjc@3408: cls.add_constructor([]) gjc@3408: return gjc@3408: gjc@3408: def register_Ns3PacketSocketFactory_methods(root_module, cls): gjc@3408: ## packet-socket-factory.h: static ns3::TypeId ns3::PacketSocketFactory::GetTypeId() [member function] gjc@3408: cls.add_method('GetTypeId', 'ns3::TypeId', [], is_static=True) gjc@3408: ## packet-socket-factory.h: ns3::PacketSocketFactory::PacketSocketFactory() [constructor] gjc@3408: cls.add_constructor([], visibility='public') gjc@3408: ## packet-socket-factory.h: ns3::Ptr ns3::PacketSocketFactory::CreateSocket() [member function] gjc@3408: cls.add_method('CreateSocket', 'ns3::Ptr< ns3::Socket >', [], is_virtual=True) gjc@3408: return gjc@3408: gjc@3408: def register_functions(root_module): gjc@3408: module = root_module gjc@3408: ## mac48-address.h: extern ns3::Ptr ns3::MakeMac48AddressChecker() [free function] gjc@3408: module.add_function('MakeMac48AddressChecker', 'ns3::Ptr< ns3::AttributeChecker const >', []) gjc@3408: ## ipv4-address.h: extern ns3::Ptr ns3::MakeIpv4AddressChecker() [free function] gjc@3408: module.add_function('MakeIpv4AddressChecker', 'ns3::Ptr< ns3::AttributeChecker const >', []) gjc@3408: ## address-utils.h: extern void ns3::WriteTo(ns3::Buffer::Iterator & i, ns3::Mac48Address ad) [free function] gjc@3408: module.add_function('WriteTo', 'void', [param('ns3::Buffer::Iterator&', 'i'), param('ns3::Mac48Address', 'ad')]) gjc@3408: ## address-utils.h: extern void ns3::WriteTo(ns3::Buffer::Iterator & i, ns3::Address const & ad) [free function] gjc@3408: module.add_function('WriteTo', 'void', [param('ns3::Buffer::Iterator&', 'i'), param('ns3::Address&', 'ad', is_const=True)]) gjc@3408: ## address-utils.h: extern void ns3::WriteTo(ns3::Buffer::Iterator & i, ns3::Ipv4Address ad) [free function] gjc@3408: module.add_function('WriteTo', 'void', [param('ns3::Buffer::Iterator&', 'i'), param('ns3::Ipv4Address', 'ad')]) gjc@3408: ## address.h: extern ns3::Ptr ns3::MakeAddressChecker() [free function] gjc@3408: module.add_function('MakeAddressChecker', 'ns3::Ptr< ns3::AttributeChecker const >', []) gjc@3408: ## ipv4-address.h: extern ns3::Ptr ns3::MakeIpv4MaskChecker() [free function] gjc@3408: module.add_function('MakeIpv4MaskChecker', 'ns3::Ptr< ns3::AttributeChecker const >', []) gjc@3408: ## address-utils.h: extern void ns3::ReadFrom(ns3::Buffer::Iterator & i, ns3::Mac48Address & ad) [free function] gjc@3408: module.add_function('ReadFrom', 'void', [param('ns3::Buffer::Iterator&', 'i'), param('ns3::Mac48Address&', 'ad')]) gjc@3408: ## address-utils.h: extern void ns3::ReadFrom(ns3::Buffer::Iterator & i, ns3::Address & ad, uint32_t len) [free function] gjc@3408: module.add_function('ReadFrom', 'void', [param('ns3::Buffer::Iterator&', 'i'), param('ns3::Address&', 'ad'), param('uint32_t', 'len')]) gjc@3408: ## address-utils.h: extern void ns3::ReadFrom(ns3::Buffer::Iterator & i, ns3::Ipv4Address & ad) [free function] gjc@3408: module.add_function('ReadFrom', 'void', [param('ns3::Buffer::Iterator&', 'i'), param('ns3::Ipv4Address&', 'ad')]) gjc@3408: register_functions_ns3_internal(module.get_submodule('internal'), root_module) gjc@3408: register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module) gjc@3408: register_functions_ns3_Config(module.get_submodule('Config'), root_module) gjc@3408: register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) gjc@3408: return gjc@3408: gjc@3408: def register_functions_ns3_internal(module, root_module): gjc@3408: return gjc@3408: gjc@3408: def register_functions_ns3_TimeStepPrecision(module, root_module): gjc@3408: return gjc@3408: gjc@3408: def register_functions_ns3_Config(module, root_module): gjc@3408: return gjc@3408: gjc@3408: def register_functions_ns3_olsr(module, root_module): gjc@3408: return gjc@3408: