2008-07-21 15:30:15 +01:00
from pybindgen import Module , FileCodeSink , param , retval , cppclass
2008-07-08 10:43:58 -07:00
def register_types ( module ) :
root_module = module . get_root ( )
## ethernet-header.h: ns3::ethernet_header_t [enumeration]
module . add_enum ( ' ethernet_header_t ' , [ ' LENGTH ' , ' VLAN ' , ' QINQ ' ] )
## address.h: ns3::Address [class]
module . add_class ( ' Address ' )
## address.h: ns3::Address::MaxSize_e [enumeration]
module . add_enum ( ' MaxSize_e ' , [ ' MAX_SIZE ' ] , outer_class = root_module [ ' ns3::Address ' ] )
2008-11-08 15:00:28 +00:00
## inet6-socket-address.h: ns3::Inet6SocketAddress [class]
module . add_class ( ' Inet6SocketAddress ' )
## inet6-socket-address.h: ns3::Inet6SocketAddress [class]
root_module [ ' ns3::Inet6SocketAddress ' ] . implicitly_converts_to ( root_module [ ' ns3::Address ' ] )
2008-10-06 17:39:35 +01:00
## inet-socket-address.h: ns3::InetSocketAddress [class]
module . add_class ( ' InetSocketAddress ' )
## inet-socket-address.h: ns3::InetSocketAddress [class]
root_module [ ' ns3::InetSocketAddress ' ] . implicitly_converts_to ( root_module [ ' ns3::Address ' ] )
## ipv4-address.h: ns3::Ipv4Address [class]
module . add_class ( ' Ipv4Address ' )
## ipv4-address.h: ns3::Ipv4Address [class]
root_module [ ' ns3::Ipv4Address ' ] . implicitly_converts_to ( root_module [ ' ns3::Address ' ] )
## ipv4-address-generator.h: ns3::Ipv4AddressGenerator [class]
module . add_class ( ' Ipv4AddressGenerator ' )
## ipv4-address.h: ns3::Ipv4Mask [class]
module . add_class ( ' Ipv4Mask ' )
## ipv4-route.h: ns3::Ipv4MulticastRoute [class]
module . add_class ( ' Ipv4MulticastRoute ' )
## ipv4-route.h: ns3::Ipv4Route [class]
module . add_class ( ' Ipv4Route ' )
2008-11-08 15:00:28 +00:00
## ipv6-address.h: ns3::Ipv6Address [class]
module . add_class ( ' Ipv6Address ' )
## ipv6-address.h: ns3::Ipv6Address [class]
root_module [ ' ns3::Ipv6Address ' ] . implicitly_converts_to ( root_module [ ' ns3::Address ' ] )
## ipv6-address.h: ns3::Ipv6Prefix [class]
module . add_class ( ' Ipv6Prefix ' )
2008-07-08 10:43:58 -07:00
## mac48-address.h: ns3::Mac48Address [class]
module . add_class ( ' Mac48Address ' )
## mac48-address.h: ns3::Mac48Address [class]
root_module [ ' ns3::Mac48Address ' ] . implicitly_converts_to ( root_module [ ' ns3::Address ' ] )
## mac64-address.h: ns3::Mac64Address [class]
module . add_class ( ' Mac64Address ' )
## mac64-address.h: ns3::Mac64Address [class]
root_module [ ' ns3::Mac64Address ' ] . implicitly_converts_to ( root_module [ ' ns3::Address ' ] )
2008-10-06 17:39:35 +01:00
## node-list.h: ns3::NodeList [class]
module . add_class ( ' NodeList ' )
2008-07-08 10:43:58 -07:00
## packet-socket-address.h: ns3::PacketSocketAddress [class]
module . add_class ( ' PacketSocketAddress ' )
## packet-socket-address.h: ns3::PacketSocketAddress [class]
root_module [ ' ns3::PacketSocketAddress ' ] . implicitly_converts_to ( root_module [ ' ns3::Address ' ] )
2008-10-06 17:39:35 +01:00
## ipv4-address.h: ns3::Ipv4AddressChecker [class]
module . add_class ( ' Ipv4AddressChecker ' , parent = root_module [ ' ns3::AttributeChecker ' ] )
2008-07-08 10:43:58 -07:00
## ipv4-address.h: ns3::Ipv4AddressValue [class]
2008-07-14 11:42:49 +01:00
module . add_class ( ' Ipv4AddressValue ' , parent = root_module [ ' ns3::AttributeValue ' ] )
2008-10-06 17:39:35 +01:00
## ipv4-header.h: ns3::Ipv4Header [class]
module . add_class ( ' Ipv4Header ' , parent = root_module [ ' ns3::Header ' ] )
## ipv4-address.h: ns3::Ipv4MaskChecker [class]
module . add_class ( ' Ipv4MaskChecker ' , parent = root_module [ ' ns3::AttributeChecker ' ] )
2008-07-08 10:43:58 -07:00
## ipv4-address.h: ns3::Ipv4MaskValue [class]
2008-07-14 11:42:49 +01:00
module . add_class ( ' Ipv4MaskValue ' , parent = root_module [ ' ns3::AttributeValue ' ] )
2008-11-08 15:00:28 +00:00
## ipv6-address.h: ns3::Ipv6AddressChecker [class]
module . add_class ( ' Ipv6AddressChecker ' , parent = root_module [ ' ns3::AttributeChecker ' ] )
## ipv6-address.h: ns3::Ipv6AddressValue [class]
module . add_class ( ' Ipv6AddressValue ' , parent = root_module [ ' ns3::AttributeValue ' ] )
## ipv6-header.h: ns3::Ipv6Header [class]
module . add_class ( ' Ipv6Header ' , parent = root_module [ ' ns3::Header ' ] )
## ipv6-header.h: ns3::Ipv6Header::NextHeader_e [enumeration]
module . add_enum ( ' NextHeader_e ' , [ ' IPV6_EXT_HOP_BY_HOP ' , ' IPV6_IPV4 ' , ' IPV6_TCP ' , ' IPV6_UDP ' , ' IPV6_IPV6 ' , ' IPV6_EXT_ROUTING ' , ' IPV6_EXT_FRAGMENTATION ' , ' IPV6_EXT_CONFIDENTIALITY ' , ' IPV6_EXT_AUTHENTIFICATION ' , ' IPV6_ICMPV6 ' , ' IPV6_EXT_END ' , ' IPV6_EXT_DESTINATION ' , ' IPV6_SCTP ' , ' IPV6_EXT_MOBILITY ' , ' IPV6_UDP_LITE ' ] , outer_class = root_module [ ' ns3::Ipv6Header ' ] )
## ipv6-address.h: ns3::Ipv6PrefixChecker [class]
module . add_class ( ' Ipv6PrefixChecker ' , parent = root_module [ ' ns3::AttributeChecker ' ] )
## ipv6-address.h: ns3::Ipv6PrefixValue [class]
module . add_class ( ' Ipv6PrefixValue ' , parent = root_module [ ' ns3::AttributeValue ' ] )
2008-10-06 17:39:35 +01:00
## llc-snap-header.h: ns3::LlcSnapHeader [class]
module . add_class ( ' LlcSnapHeader ' , parent = root_module [ ' ns3::Header ' ] )
## mac48-address.h: ns3::Mac48AddressChecker [class]
module . add_class ( ' Mac48AddressChecker ' , parent = root_module [ ' ns3::AttributeChecker ' ] )
## mac48-address.h: ns3::Mac48AddressValue [class]
module . add_class ( ' Mac48AddressValue ' , parent = root_module [ ' ns3::AttributeValue ' ] )
2008-07-08 10:43:58 -07:00
## queue.h: ns3::Queue [class]
2008-07-14 11:42:49 +01:00
module . add_class ( ' Queue ' , parent = root_module [ ' ns3::Object ' ] )
2008-07-08 10:43:58 -07:00
## socket.h: ns3::Socket [class]
2008-07-14 11:42:49 +01:00
module . add_class ( ' Socket ' , parent = root_module [ ' ns3::Object ' ] )
2008-07-08 10:43:58 -07:00
## socket.h: ns3::Socket::SocketErrno [enumeration]
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 ' ] )
2008-10-06 17:39:35 +01:00
## socket.h: ns3::SocketAddressTag [class]
module . add_class ( ' SocketAddressTag ' , parent = root_module [ ' ns3::Tag ' ] )
## socket-factory.h: ns3::SocketFactory [class]
module . add_class ( ' SocketFactory ' , parent = root_module [ ' ns3::Object ' ] )
## socket.h: ns3::SocketIpTtlTag [class]
module . add_class ( ' SocketIpTtlTag ' , parent = root_module [ ' ns3::Tag ' ] )
2008-10-29 11:18:39 -07:00
## socket.h: ns3::SocketSetDontFragmentTag [class]
module . add_class ( ' SocketSetDontFragmentTag ' , parent = root_module [ ' ns3::Tag ' ] )
2008-10-06 17:39:35 +01:00
## tcp-socket.h: ns3::TcpSocket [class]
module . add_class ( ' TcpSocket ' , parent = root_module [ ' ns3::Socket ' ] )
## tcp-socket-factory.h: ns3::TcpSocketFactory [class]
module . add_class ( ' TcpSocketFactory ' , parent = root_module [ ' ns3::SocketFactory ' ] )
2008-07-08 10:43:58 -07:00
## udp-socket.h: ns3::UdpSocket [class]
2008-07-14 11:42:49 +01:00
module . add_class ( ' UdpSocket ' , parent = root_module [ ' ns3::Socket ' ] )
2008-10-06 17:39:35 +01:00
## udp-socket-factory.h: ns3::UdpSocketFactory [class]
module . add_class ( ' UdpSocketFactory ' , parent = root_module [ ' ns3::SocketFactory ' ] )
## address.h: ns3::AddressChecker [class]
module . add_class ( ' AddressChecker ' , parent = root_module [ ' ns3::AttributeChecker ' ] )
2008-07-08 10:43:58 -07:00
## address.h: ns3::AddressValue [class]
2008-07-14 11:42:49 +01:00
module . add_class ( ' AddressValue ' , parent = root_module [ ' ns3::AttributeValue ' ] )
2008-10-06 17:39:35 +01:00
## application.h: ns3::Application [class]
module . add_class ( ' Application ' , parent = root_module [ ' ns3::Object ' ] )
2008-07-14 11:42:49 +01:00
## channel.h: ns3::Channel [class]
module . add_class ( ' Channel ' , parent = root_module [ ' ns3::Object ' ] )
2008-10-06 17:39:35 +01:00
## drop-tail-queue.h: ns3::DropTailQueue [class]
module . add_class ( ' DropTailQueue ' , parent = root_module [ ' ns3::Queue ' ] )
2009-02-21 23:19:18 +00:00
## drop-tail-queue.h: ns3::DropTailQueue::Mode [enumeration]
module . add_enum ( ' Mode ' , [ ' ILLEGAL ' , ' PACKETS ' , ' BYTES ' ] , outer_class = root_module [ ' ns3::DropTailQueue ' ] )
2008-07-08 10:43:58 -07:00
## ethernet-header.h: ns3::EthernetHeader [class]
2008-07-14 11:42:49 +01:00
module . add_class ( ' EthernetHeader ' , parent = root_module [ ' ns3::Header ' ] )
2008-07-08 10:43:58 -07:00
## ethernet-trailer.h: ns3::EthernetTrailer [class]
2008-07-14 11:42:49 +01:00
module . add_class ( ' EthernetTrailer ' , parent = root_module [ ' ns3::Trailer ' ] )
2008-10-06 17:39:35 +01:00
## ipv4.h: ns3::Ipv4 [class]
module . add_class ( ' Ipv4 ' , parent = root_module [ ' ns3::Object ' ] )
2008-10-29 11:18:39 -07:00
## ipv4-raw-socket-factory.h: ns3::Ipv4RawSocketFactory [class]
module . add_class ( ' Ipv4RawSocketFactory ' , parent = root_module [ ' ns3::SocketFactory ' ] )
2008-10-06 17:39:35 +01:00
## ipv4.h: ns3::Ipv4RoutingProtocol [class]
module . add_class ( ' Ipv4RoutingProtocol ' , parent = root_module [ ' ns3::Object ' ] )
## net-device.h: ns3::NetDevice [class]
module . add_class ( ' NetDevice ' , parent = root_module [ ' ns3::Object ' ] )
## net-device.h: ns3::NetDevice::PacketType [enumeration]
2008-11-05 14:49:21 -08:00
module . add_enum ( ' PacketType ' , [ ' PACKET_HOST ' , ' NS3_PACKET_HOST ' , ' PACKET_BROADCAST ' , ' NS3_PACKET_BROADCAST ' , ' PACKET_MULTICAST ' , ' NS3_PACKET_MULTICAST ' , ' PACKET_OTHERHOST ' , ' NS3_PACKET_OTHERHOST ' ] , outer_class = root_module [ ' ns3::NetDevice ' ] )
2008-10-06 17:39:35 +01:00
## node.h: ns3::Node [class]
module . add_class ( ' Node ' , parent = root_module [ ' ns3::Object ' ] )
## packet-socket-factory.h: ns3::PacketSocketFactory [class]
module . add_class ( ' PacketSocketFactory ' , parent = root_module [ ' ns3::SocketFactory ' ] )
2008-07-23 11:48:17 +01:00
## simple-channel.h: ns3::SimpleChannel [class]
module . add_class ( ' SimpleChannel ' , parent = root_module [ ' ns3::Channel ' ] )
2008-07-08 10:43:58 -07:00
## simple-net-device.h: ns3::SimpleNetDevice [class]
2008-07-14 11:42:49 +01:00
module . add_class ( ' SimpleNetDevice ' , parent = root_module [ ' ns3::NetDevice ' ] )
2009-03-20 16:49:49 +01:00
module . add_container ( ' ns3::olsr::MprSet ' , ' ns3::Ipv4Address ' , container_type = ' set ' )
module . add_container ( ' std::vector< ns3::Ipv4Address > ' , ' ns3::Ipv4Address ' , container_type = ' vector ' )
2008-07-08 10:43:58 -07:00
2008-11-08 15:00:28 +00:00
## Register a nested module for the namespace Config
2008-07-08 10:43:58 -07:00
2008-11-08 15:00:28 +00:00
nested_module = module . add_cpp_namespace ( ' Config ' )
register_types_ns3_Config ( nested_module )
2008-07-08 10:43:58 -07:00
## Register a nested module for the namespace TimeStepPrecision
nested_module = module . add_cpp_namespace ( ' TimeStepPrecision ' )
register_types_ns3_TimeStepPrecision ( nested_module )
2008-11-08 15:00:28 +00:00
## Register a nested module for the namespace internal
2008-07-08 10:43:58 -07:00
2008-11-08 15:00:28 +00:00
nested_module = module . add_cpp_namespace ( ' internal ' )
register_types_ns3_internal ( nested_module )
2008-07-08 10:43:58 -07:00
## Register a nested module for the namespace olsr
nested_module = module . add_cpp_namespace ( ' olsr ' )
register_types_ns3_olsr ( nested_module )
2008-11-08 15:00:28 +00:00
def register_types_ns3_Config ( module ) :
2008-07-08 10:43:58 -07:00
root_module = module . get_root ( )
def register_types_ns3_TimeStepPrecision ( module ) :
root_module = module . get_root ( )
2008-11-08 15:00:28 +00:00
def register_types_ns3_internal ( module ) :
2008-07-08 10:43:58 -07:00
root_module = module . get_root ( )
def register_types_ns3_olsr ( module ) :
root_module = module . get_root ( )
def register_methods ( root_module ) :
register_Ns3Address_methods ( root_module , root_module [ ' ns3::Address ' ] )
2008-11-08 15:00:28 +00:00
register_Ns3Inet6SocketAddress_methods ( root_module , root_module [ ' ns3::Inet6SocketAddress ' ] )
2008-10-06 17:39:35 +01:00
register_Ns3InetSocketAddress_methods ( root_module , root_module [ ' ns3::InetSocketAddress ' ] )
register_Ns3Ipv4Address_methods ( root_module , root_module [ ' ns3::Ipv4Address ' ] )
2008-07-08 10:43:58 -07:00
register_Ns3Ipv4AddressGenerator_methods ( root_module , root_module [ ' ns3::Ipv4AddressGenerator ' ] )
2008-10-06 17:39:35 +01:00
register_Ns3Ipv4Mask_methods ( root_module , root_module [ ' ns3::Ipv4Mask ' ] )
2008-07-08 10:43:58 -07:00
register_Ns3Ipv4MulticastRoute_methods ( root_module , root_module [ ' ns3::Ipv4MulticastRoute ' ] )
2008-10-06 17:39:35 +01:00
register_Ns3Ipv4Route_methods ( root_module , root_module [ ' ns3::Ipv4Route ' ] )
2008-11-08 15:00:28 +00:00
register_Ns3Ipv6Address_methods ( root_module , root_module [ ' ns3::Ipv6Address ' ] )
register_Ns3Ipv6Prefix_methods ( root_module , root_module [ ' ns3::Ipv6Prefix ' ] )
2008-10-06 17:39:35 +01:00
register_Ns3Mac48Address_methods ( root_module , root_module [ ' ns3::Mac48Address ' ] )
register_Ns3Mac64Address_methods ( root_module , root_module [ ' ns3::Mac64Address ' ] )
register_Ns3NodeList_methods ( root_module , root_module [ ' ns3::NodeList ' ] )
2008-07-08 10:43:58 -07:00
register_Ns3PacketSocketAddress_methods ( root_module , root_module [ ' ns3::PacketSocketAddress ' ] )
2008-10-06 17:39:35 +01:00
register_Ns3Ipv4AddressChecker_methods ( root_module , root_module [ ' ns3::Ipv4AddressChecker ' ] )
2008-07-08 10:43:58 -07:00
register_Ns3Ipv4AddressValue_methods ( root_module , root_module [ ' ns3::Ipv4AddressValue ' ] )
2008-10-06 17:39:35 +01:00
register_Ns3Ipv4Header_methods ( root_module , root_module [ ' ns3::Ipv4Header ' ] )
register_Ns3Ipv4MaskChecker_methods ( root_module , root_module [ ' ns3::Ipv4MaskChecker ' ] )
2008-07-08 10:43:58 -07:00
register_Ns3Ipv4MaskValue_methods ( root_module , root_module [ ' ns3::Ipv4MaskValue ' ] )
2008-11-08 15:00:28 +00:00
register_Ns3Ipv6AddressChecker_methods ( root_module , root_module [ ' ns3::Ipv6AddressChecker ' ] )
register_Ns3Ipv6AddressValue_methods ( root_module , root_module [ ' ns3::Ipv6AddressValue ' ] )
register_Ns3Ipv6Header_methods ( root_module , root_module [ ' ns3::Ipv6Header ' ] )
register_Ns3Ipv6PrefixChecker_methods ( root_module , root_module [ ' ns3::Ipv6PrefixChecker ' ] )
register_Ns3Ipv6PrefixValue_methods ( root_module , root_module [ ' ns3::Ipv6PrefixValue ' ] )
2008-10-06 17:39:35 +01:00
register_Ns3LlcSnapHeader_methods ( root_module , root_module [ ' ns3::LlcSnapHeader ' ] )
register_Ns3Mac48AddressChecker_methods ( root_module , root_module [ ' ns3::Mac48AddressChecker ' ] )
register_Ns3Mac48AddressValue_methods ( root_module , root_module [ ' ns3::Mac48AddressValue ' ] )
2008-07-08 10:43:58 -07:00
register_Ns3Queue_methods ( root_module , root_module [ ' ns3::Queue ' ] )
register_Ns3Socket_methods ( root_module , root_module [ ' ns3::Socket ' ] )
2008-10-06 17:39:35 +01:00
register_Ns3SocketAddressTag_methods ( root_module , root_module [ ' ns3::SocketAddressTag ' ] )
register_Ns3SocketFactory_methods ( root_module , root_module [ ' ns3::SocketFactory ' ] )
register_Ns3SocketIpTtlTag_methods ( root_module , root_module [ ' ns3::SocketIpTtlTag ' ] )
2008-10-29 11:18:39 -07:00
register_Ns3SocketSetDontFragmentTag_methods ( root_module , root_module [ ' ns3::SocketSetDontFragmentTag ' ] )
2008-10-06 17:39:35 +01:00
register_Ns3TcpSocket_methods ( root_module , root_module [ ' ns3::TcpSocket ' ] )
register_Ns3TcpSocketFactory_methods ( root_module , root_module [ ' ns3::TcpSocketFactory ' ] )
2008-07-08 10:43:58 -07:00
register_Ns3UdpSocket_methods ( root_module , root_module [ ' ns3::UdpSocket ' ] )
2008-10-06 17:39:35 +01:00
register_Ns3UdpSocketFactory_methods ( root_module , root_module [ ' ns3::UdpSocketFactory ' ] )
register_Ns3AddressChecker_methods ( root_module , root_module [ ' ns3::AddressChecker ' ] )
2008-07-08 10:43:58 -07:00
register_Ns3AddressValue_methods ( root_module , root_module [ ' ns3::AddressValue ' ] )
2008-10-06 17:39:35 +01:00
register_Ns3Application_methods ( root_module , root_module [ ' ns3::Application ' ] )
2008-07-14 11:42:49 +01:00
register_Ns3Channel_methods ( root_module , root_module [ ' ns3::Channel ' ] )
2008-10-06 17:39:35 +01:00
register_Ns3DropTailQueue_methods ( root_module , root_module [ ' ns3::DropTailQueue ' ] )
2008-07-08 10:43:58 -07:00
register_Ns3EthernetHeader_methods ( root_module , root_module [ ' ns3::EthernetHeader ' ] )
register_Ns3EthernetTrailer_methods ( root_module , root_module [ ' ns3::EthernetTrailer ' ] )
2008-10-06 17:39:35 +01:00
register_Ns3Ipv4_methods ( root_module , root_module [ ' ns3::Ipv4 ' ] )
2008-10-29 11:18:39 -07:00
register_Ns3Ipv4RawSocketFactory_methods ( root_module , root_module [ ' ns3::Ipv4RawSocketFactory ' ] )
2008-10-06 17:39:35 +01:00
register_Ns3Ipv4RoutingProtocol_methods ( root_module , root_module [ ' ns3::Ipv4RoutingProtocol ' ] )
register_Ns3NetDevice_methods ( root_module , root_module [ ' ns3::NetDevice ' ] )
register_Ns3Node_methods ( root_module , root_module [ ' ns3::Node ' ] )
register_Ns3PacketSocketFactory_methods ( root_module , root_module [ ' ns3::PacketSocketFactory ' ] )
2008-07-23 11:48:17 +01:00
register_Ns3SimpleChannel_methods ( root_module , root_module [ ' ns3::SimpleChannel ' ] )
2008-07-08 10:43:58 -07:00
register_Ns3SimpleNetDevice_methods ( root_module , root_module [ ' ns3::SimpleNetDevice ' ] )
return
def register_Ns3Address_methods ( root_module , cls ) :
2008-10-06 17:39:35 +01:00
cls . add_binary_comparison_operator ( ' != ' )
cls . add_binary_comparison_operator ( ' < ' )
cls . add_output_stream_operator ( )
cls . add_binary_comparison_operator ( ' == ' )
2008-07-08 10:43:58 -07:00
## address.h: ns3::Address::Address() [constructor]
2008-07-21 15:30:15 +01:00
cls . add_constructor ( [ ] )
2008-07-08 10:43:58 -07:00
## address.h: ns3::Address::Address(uint8_t type, uint8_t const * buffer, uint8_t len) [constructor]
2008-09-02 11:12:42 +01:00
cls . add_constructor ( [ param ( ' uint8_t ' , ' type ' ) , param ( ' uint8_t const * ' , ' buffer ' ) , param ( ' uint8_t ' , ' len ' ) ] )
2008-07-08 10:43:58 -07:00
## address.h: ns3::Address::Address(ns3::Address const & address) [copy constructor]
2008-09-02 11:12:42 +01:00
cls . add_constructor ( [ param ( ' ns3::Address const & ' , ' address ' ) ] )
2008-07-08 10:43:58 -07:00
## address.h: bool ns3::Address::CheckCompatible(uint8_t type, uint8_t len) const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' CheckCompatible ' ,
' bool ' ,
[ param ( ' uint8_t ' , ' type ' ) , param ( ' uint8_t ' , ' len ' ) ] ,
is_const = True )
2008-07-08 10:43:58 -07:00
## address.h: uint32_t ns3::Address::CopyAllFrom(uint8_t const * buffer, uint8_t len) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' CopyAllFrom ' ,
' uint32_t ' ,
2008-09-02 11:12:42 +01:00
[ param ( ' uint8_t const * ' , ' buffer ' ) , param ( ' uint8_t ' , ' len ' ) ] )
2008-07-08 10:43:58 -07:00
## address.h: uint32_t ns3::Address::CopyAllTo(uint8_t * buffer, uint8_t len) const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' CopyAllTo ' ,
' uint32_t ' ,
[ param ( ' uint8_t * ' , ' buffer ' ) , param ( ' uint8_t ' , ' len ' ) ] ,
is_const = True )
2008-07-08 10:43:58 -07:00
## address.h: uint32_t ns3::Address::CopyFrom(uint8_t const * buffer, uint8_t len) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' CopyFrom ' ,
' uint32_t ' ,
2008-09-02 11:12:42 +01:00
[ param ( ' uint8_t const * ' , ' buffer ' ) , param ( ' uint8_t ' , ' len ' ) ] )
2008-07-08 10:43:58 -07:00
## address.h: uint32_t ns3::Address::CopyTo(uint8_t * buffer) const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' CopyTo ' ,
' uint32_t ' ,
[ param ( ' uint8_t * ' , ' buffer ' ) ] ,
is_const = True )
2008-07-08 10:43:58 -07:00
## address.h: void ns3::Address::Deserialize(ns3::TagBuffer buffer) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Deserialize ' ,
' void ' ,
[ param ( ' ns3::TagBuffer ' , ' buffer ' ) ] )
2008-07-08 10:43:58 -07:00
## address.h: uint8_t ns3::Address::GetLength() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetLength ' ,
' uint8_t ' ,
[ ] ,
is_const = True )
2008-07-08 10:43:58 -07:00
## address.h: uint32_t ns3::Address::GetSerializedSize() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetSerializedSize ' ,
' uint32_t ' ,
[ ] ,
is_const = True )
2008-07-08 10:43:58 -07:00
## address.h: bool ns3::Address::IsInvalid() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' IsInvalid ' ,
' bool ' ,
[ ] ,
is_const = True )
2008-07-08 10:43:58 -07:00
## address.h: bool ns3::Address::IsMatchingType(uint8_t type) const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' IsMatchingType ' ,
' bool ' ,
[ param ( ' uint8_t ' , ' type ' ) ] ,
is_const = True )
2008-07-08 10:43:58 -07:00
## address.h: static uint8_t ns3::Address::Register() [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Register ' ,
' uint8_t ' ,
[ ] ,
is_static = True )
2008-07-08 10:43:58 -07:00
## address.h: void ns3::Address::Serialize(ns3::TagBuffer buffer) const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Serialize ' ,
' void ' ,
[ param ( ' ns3::TagBuffer ' , ' buffer ' ) ] ,
is_const = True )
2008-07-08 10:43:58 -07:00
return
2008-11-08 15:00:28 +00:00
def register_Ns3Inet6SocketAddress_methods ( root_module , cls ) :
2009-02-25 11:00:50 +01:00
## inet6-socket-address.h: ns3::Inet6SocketAddress::Inet6SocketAddress(ns3::Inet6SocketAddress const & arg0) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::Inet6SocketAddress const & ' , ' arg0 ' ) ] )
2008-11-08 15:00:28 +00:00
## inet6-socket-address.h: ns3::Inet6SocketAddress::Inet6SocketAddress(ns3::Ipv6Address ipv6, uint16_t port) [constructor]
cls . add_constructor ( [ param ( ' ns3::Ipv6Address ' , ' ipv6 ' ) , param ( ' uint16_t ' , ' port ' ) ] )
## inet6-socket-address.h: ns3::Inet6SocketAddress::Inet6SocketAddress(ns3::Ipv6Address ipv6) [constructor]
cls . add_constructor ( [ param ( ' ns3::Ipv6Address ' , ' ipv6 ' ) ] )
## inet6-socket-address.h: ns3::Inet6SocketAddress::Inet6SocketAddress(uint16_t port) [constructor]
cls . add_constructor ( [ param ( ' uint16_t ' , ' port ' ) ] )
## inet6-socket-address.h: ns3::Inet6SocketAddress::Inet6SocketAddress(char const * ipv6, uint16_t port) [constructor]
cls . add_constructor ( [ param ( ' char const * ' , ' ipv6 ' ) , param ( ' uint16_t ' , ' port ' ) ] )
## inet6-socket-address.h: ns3::Inet6SocketAddress::Inet6SocketAddress(char const * ipv6) [constructor]
cls . add_constructor ( [ param ( ' char const * ' , ' ipv6 ' ) ] )
## inet6-socket-address.h: uint16_t ns3::Inet6SocketAddress::GetPort() const [member function]
cls . add_method ( ' GetPort ' ,
' uint16_t ' ,
[ ] ,
is_const = True )
## inet6-socket-address.h: void ns3::Inet6SocketAddress::SetPort(uint16_t port) [member function]
cls . add_method ( ' SetPort ' ,
' void ' ,
[ param ( ' uint16_t ' , ' port ' ) ] )
## inet6-socket-address.h: ns3::Ipv6Address ns3::Inet6SocketAddress::GetIpv6() const [member function]
cls . add_method ( ' GetIpv6 ' ,
' ns3::Ipv6Address ' ,
[ ] ,
is_const = True )
## inet6-socket-address.h: void ns3::Inet6SocketAddress::SetIpv6(ns3::Ipv6Address ipv6) [member function]
cls . add_method ( ' SetIpv6 ' ,
' void ' ,
[ param ( ' ns3::Ipv6Address ' , ' ipv6 ' ) ] )
## inet6-socket-address.h: static bool ns3::Inet6SocketAddress::IsMatchingType(ns3::Address const & addr) [member function]
cls . add_method ( ' IsMatchingType ' ,
' bool ' ,
[ param ( ' ns3::Address const & ' , ' addr ' ) ] ,
is_static = True )
## inet6-socket-address.h: static ns3::Inet6SocketAddress ns3::Inet6SocketAddress::ConvertFrom(ns3::Address const & addr) [member function]
cls . add_method ( ' ConvertFrom ' ,
' ns3::Inet6SocketAddress ' ,
[ param ( ' ns3::Address const & ' , ' addr ' ) ] ,
is_static = True )
return
2008-10-06 17:39:35 +01:00
def register_Ns3InetSocketAddress_methods ( root_module , cls ) :
2009-02-25 11:00:50 +01:00
## inet-socket-address.h: ns3::InetSocketAddress::InetSocketAddress(ns3::InetSocketAddress const & arg0) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::InetSocketAddress const & ' , ' arg0 ' ) ] )
2008-10-06 17:39:35 +01:00
## inet-socket-address.h: ns3::InetSocketAddress::InetSocketAddress(ns3::Ipv4Address ipv4, uint16_t port) [constructor]
cls . add_constructor ( [ param ( ' ns3::Ipv4Address ' , ' ipv4 ' ) , param ( ' uint16_t ' , ' port ' ) ] )
## inet-socket-address.h: ns3::InetSocketAddress::InetSocketAddress(ns3::Ipv4Address ipv4) [constructor]
cls . add_constructor ( [ param ( ' ns3::Ipv4Address ' , ' ipv4 ' ) ] )
## inet-socket-address.h: ns3::InetSocketAddress::InetSocketAddress(uint16_t port) [constructor]
cls . add_constructor ( [ param ( ' uint16_t ' , ' port ' ) ] )
## inet-socket-address.h: ns3::InetSocketAddress::InetSocketAddress(char const * ipv4, uint16_t port) [constructor]
cls . add_constructor ( [ param ( ' char const * ' , ' ipv4 ' ) , param ( ' uint16_t ' , ' port ' ) ] )
## inet-socket-address.h: ns3::InetSocketAddress::InetSocketAddress(char const * ipv4) [constructor]
cls . add_constructor ( [ param ( ' char const * ' , ' ipv4 ' ) ] )
## inet-socket-address.h: uint16_t ns3::InetSocketAddress::GetPort() const [member function]
cls . add_method ( ' GetPort ' ,
' uint16_t ' ,
[ ] ,
is_const = True )
## inet-socket-address.h: ns3::Ipv4Address ns3::InetSocketAddress::GetIpv4() const [member function]
cls . add_method ( ' GetIpv4 ' ,
' ns3::Ipv4Address ' ,
[ ] ,
is_const = True )
## inet-socket-address.h: void ns3::InetSocketAddress::SetPort(uint16_t port) [member function]
cls . add_method ( ' SetPort ' ,
' void ' ,
[ param ( ' uint16_t ' , ' port ' ) ] )
## inet-socket-address.h: void ns3::InetSocketAddress::SetIpv4(ns3::Ipv4Address address) [member function]
cls . add_method ( ' SetIpv4 ' ,
' void ' ,
[ param ( ' ns3::Ipv4Address ' , ' address ' ) ] )
## inet-socket-address.h: static bool ns3::InetSocketAddress::IsMatchingType(ns3::Address const & address) [member function]
cls . add_method ( ' IsMatchingType ' ,
' bool ' ,
[ param ( ' ns3::Address const & ' , ' address ' ) ] ,
is_static = True )
## inet-socket-address.h: static ns3::InetSocketAddress ns3::InetSocketAddress::ConvertFrom(ns3::Address const & address) [member function]
cls . add_method ( ' ConvertFrom ' ,
' ns3::InetSocketAddress ' ,
[ param ( ' ns3::Address const & ' , ' address ' ) ] ,
is_static = True )
2008-07-08 10:43:58 -07:00
return
2008-10-06 17:39:35 +01:00
def register_Ns3Ipv4Address_methods ( root_module , cls ) :
cls . add_binary_comparison_operator ( ' != ' )
cls . add_binary_comparison_operator ( ' < ' )
cls . add_output_stream_operator ( )
cls . add_binary_comparison_operator ( ' == ' )
## ipv4-address.h: ns3::Ipv4Address::Ipv4Address(ns3::Ipv4Address const & arg0) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::Ipv4Address const & ' , ' arg0 ' ) ] )
## ipv4-address.h: ns3::Ipv4Address::Ipv4Address() [constructor]
2008-07-21 15:30:15 +01:00
cls . add_constructor ( [ ] )
2008-10-06 17:39:35 +01:00
## ipv4-address.h: ns3::Ipv4Address::Ipv4Address(uint32_t address) [constructor]
cls . add_constructor ( [ param ( ' uint32_t ' , ' address ' ) ] )
## ipv4-address.h: ns3::Ipv4Address::Ipv4Address(char const * address) [constructor]
cls . add_constructor ( [ param ( ' char const * ' , ' address ' ) ] )
## ipv4-address.h: ns3::Ipv4Address ns3::Ipv4Address::CombineMask(ns3::Ipv4Mask const & mask) const [member function]
cls . add_method ( ' CombineMask ' ,
' ns3::Ipv4Address ' ,
[ param ( ' ns3::Ipv4Mask const & ' , ' mask ' ) ] ,
is_const = True )
## ipv4-address.h: static ns3::Ipv4Address ns3::Ipv4Address::ConvertFrom(ns3::Address const & address) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' ConvertFrom ' ,
2008-10-06 17:39:35 +01:00
' ns3::Ipv4Address ' ,
2008-09-02 11:12:42 +01:00
[ param ( ' ns3::Address const & ' , ' address ' ) ] ,
2008-07-21 15:30:15 +01:00
is_static = True )
2008-10-06 17:39:35 +01:00
## ipv4-address.h: static ns3::Ipv4Address ns3::Ipv4Address::Deserialize(uint8_t const * buf) [member function]
cls . add_method ( ' Deserialize ' ,
' ns3::Ipv4Address ' ,
[ param ( ' uint8_t const * ' , ' buf ' ) ] ,
is_static = True )
## ipv4-address.h: uint32_t ns3::Ipv4Address::Get() const [member function]
cls . add_method ( ' Get ' ,
' uint32_t ' ,
[ ] ,
2008-07-21 15:30:15 +01:00
is_const = True )
2008-10-06 17:39:35 +01:00
## ipv4-address.h: static ns3::Ipv4Address ns3::Ipv4Address::GetAny() [member function]
cls . add_method ( ' GetAny ' ,
' ns3::Ipv4Address ' ,
[ ] ,
is_static = True )
## ipv4-address.h: static ns3::Ipv4Address ns3::Ipv4Address::GetBroadcast() [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetBroadcast ' ,
2008-10-06 17:39:35 +01:00
' ns3::Ipv4Address ' ,
2008-07-21 15:30:15 +01:00
[ ] ,
is_static = True )
2008-10-06 17:39:35 +01:00
## ipv4-address.h: static ns3::Ipv4Address ns3::Ipv4Address::GetLoopback() [member function]
cls . add_method ( ' GetLoopback ' ,
' ns3::Ipv4Address ' ,
[ ] ,
2008-08-29 14:56:24 +01:00
is_static = True )
2008-10-06 17:39:35 +01:00
## ipv4-address.h: ns3::Ipv4Address ns3::Ipv4Address::GetSubnetDirectedBroadcast(ns3::Ipv4Mask const & mask) const [member function]
cls . add_method ( ' GetSubnetDirectedBroadcast ' ,
' ns3::Ipv4Address ' ,
[ param ( ' ns3::Ipv4Mask const & ' , ' mask ' ) ] ,
is_const = True )
## ipv4-address.h: static ns3::Ipv4Address ns3::Ipv4Address::GetZero() [member function]
cls . add_method ( ' GetZero ' ,
' ns3::Ipv4Address ' ,
2008-08-29 14:56:24 +01:00
[ ] ,
is_static = True )
2008-10-06 17:39:35 +01:00
## ipv4-address.h: bool ns3::Ipv4Address::IsBroadcast() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' IsBroadcast ' ,
' bool ' ,
[ ] ,
is_const = True )
2008-10-06 17:39:35 +01:00
## ipv4-address.h: bool ns3::Ipv4Address::IsEqual(ns3::Ipv4Address const & other) const [member function]
cls . add_method ( ' IsEqual ' ,
2008-08-29 14:56:24 +01:00
' bool ' ,
2008-10-06 17:39:35 +01:00
[ param ( ' ns3::Ipv4Address const & ' , ' other ' ) ] ,
2008-08-29 14:56:24 +01:00
is_const = True )
2008-10-06 17:39:35 +01:00
## ipv4-address.h: static bool ns3::Ipv4Address::IsMatchingType(ns3::Address const & address) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' IsMatchingType ' ,
' bool ' ,
2008-09-02 11:12:42 +01:00
[ param ( ' ns3::Address const & ' , ' address ' ) ] ,
2008-07-21 15:30:15 +01:00
is_static = True )
2008-10-06 17:39:35 +01:00
## ipv4-address.h: bool ns3::Ipv4Address::IsMulticast() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' IsMulticast ' ,
' bool ' ,
[ ] ,
is_const = True )
2008-10-06 17:39:35 +01:00
## ipv4-address.h: bool ns3::Ipv4Address::IsSubnetDirectedBroadcast(ns3::Ipv4Mask const & mask) const [member function]
cls . add_method ( ' IsSubnetDirectedBroadcast ' ,
' bool ' ,
[ param ( ' ns3::Ipv4Mask const & ' , ' mask ' ) ] ,
is_const = True )
## ipv4-address.h: void ns3::Ipv4Address::Print(std::ostream & os) const [member function]
cls . add_method ( ' Print ' ,
2008-07-21 15:30:15 +01:00
' void ' ,
2008-10-06 17:39:35 +01:00
[ param ( ' std::ostream & ' , ' os ' ) ] ,
is_const = True )
## ipv4-address.h: void ns3::Ipv4Address::Serialize(uint8_t * buf) const [member function]
cls . add_method ( ' Serialize ' ,
2008-07-21 15:30:15 +01:00
' void ' ,
2008-10-06 17:39:35 +01:00
[ param ( ' uint8_t * ' , ' buf ' ) ] ,
2008-07-21 15:30:15 +01:00
is_const = True )
2008-10-06 17:39:35 +01:00
## ipv4-address.h: void ns3::Ipv4Address::Set(uint32_t address) [member function]
cls . add_method ( ' Set ' ,
' void ' ,
[ param ( ' uint32_t ' , ' address ' ) ] )
## ipv4-address.h: void ns3::Ipv4Address::Set(char const * address) [member function]
cls . add_method ( ' Set ' ,
' void ' ,
[ param ( ' char const * ' , ' address ' ) ] )
2008-07-08 10:43:58 -07:00
return
def register_Ns3Ipv4AddressGenerator_methods ( root_module , cls ) :
2009-02-25 11:00:50 +01:00
## ipv4-address-generator.h: ns3::Ipv4AddressGenerator::Ipv4AddressGenerator(ns3::Ipv4AddressGenerator const & arg0) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::Ipv4AddressGenerator const & ' , ' arg0 ' ) ] )
## ipv4-address-generator.h: ns3::Ipv4AddressGenerator::Ipv4AddressGenerator() [constructor]
cls . add_constructor ( [ ] )
2008-07-08 10:43:58 -07:00
## 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]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Init ' ,
' void ' ,
2008-09-02 11:12:42 +01:00
[ param ( ' ns3::Ipv4Address const ' , ' net ' ) , param ( ' ns3::Ipv4Mask const ' , ' mask ' ) , param ( ' ns3::Ipv4Address const ' , ' addr ' , default_value = ' " 0.0.0.1 " ' ) ] ,
2008-07-21 15:30:15 +01:00
is_static = True )
2008-07-08 10:43:58 -07:00
## ipv4-address-generator.h: static ns3::Ipv4Address ns3::Ipv4AddressGenerator::NextNetwork(ns3::Ipv4Mask const mask) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' NextNetwork ' ,
' ns3::Ipv4Address ' ,
2008-09-02 11:12:42 +01:00
[ param ( ' ns3::Ipv4Mask const ' , ' mask ' ) ] ,
2008-07-21 15:30:15 +01:00
is_static = True )
2008-07-08 10:43:58 -07:00
## ipv4-address-generator.h: static ns3::Ipv4Address ns3::Ipv4AddressGenerator::GetNetwork(ns3::Ipv4Mask const mask) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetNetwork ' ,
' ns3::Ipv4Address ' ,
2008-09-02 11:12:42 +01:00
[ param ( ' ns3::Ipv4Mask const ' , ' mask ' ) ] ,
2008-07-21 15:30:15 +01:00
is_static = True )
2008-07-08 10:43:58 -07:00
## ipv4-address-generator.h: static void ns3::Ipv4AddressGenerator::InitAddress(ns3::Ipv4Address const addr, ns3::Ipv4Mask const mask) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' InitAddress ' ,
' void ' ,
2008-09-02 11:12:42 +01:00
[ param ( ' ns3::Ipv4Address const ' , ' addr ' ) , param ( ' ns3::Ipv4Mask const ' , ' mask ' ) ] ,
2008-07-21 15:30:15 +01:00
is_static = True )
2008-07-08 10:43:58 -07:00
## ipv4-address-generator.h: static ns3::Ipv4Address ns3::Ipv4AddressGenerator::NextAddress(ns3::Ipv4Mask const mask) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' NextAddress ' ,
' ns3::Ipv4Address ' ,
2008-09-02 11:12:42 +01:00
[ param ( ' ns3::Ipv4Mask const ' , ' mask ' ) ] ,
2008-07-21 15:30:15 +01:00
is_static = True )
2008-07-08 10:43:58 -07:00
## ipv4-address-generator.h: static ns3::Ipv4Address ns3::Ipv4AddressGenerator::GetAddress(ns3::Ipv4Mask const mask) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetAddress ' ,
' ns3::Ipv4Address ' ,
2008-09-02 11:12:42 +01:00
[ param ( ' ns3::Ipv4Mask const ' , ' mask ' ) ] ,
2008-07-21 15:30:15 +01:00
is_static = True )
2008-07-08 10:43:58 -07:00
## ipv4-address-generator.h: static void ns3::Ipv4AddressGenerator::Reset() [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Reset ' ,
' void ' ,
[ ] ,
is_static = True )
2008-07-08 10:43:58 -07:00
## ipv4-address-generator.h: static bool ns3::Ipv4AddressGenerator::AddAllocated(ns3::Ipv4Address const addr) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' AddAllocated ' ,
' bool ' ,
2008-09-02 11:12:42 +01:00
[ param ( ' ns3::Ipv4Address const ' , ' addr ' ) ] ,
2008-07-21 15:30:15 +01:00
is_static = True )
2008-07-08 10:43:58 -07:00
## ipv4-address-generator.h: static void ns3::Ipv4AddressGenerator::TestMode() [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' TestMode ' ,
' void ' ,
[ ] ,
is_static = True )
2008-07-08 10:43:58 -07:00
return
2008-10-06 17:39:35 +01:00
def register_Ns3Ipv4Mask_methods ( root_module , cls ) :
cls . add_binary_comparison_operator ( ' != ' )
cls . add_output_stream_operator ( )
cls . add_binary_comparison_operator ( ' == ' )
## ipv4-address.h: ns3::Ipv4Mask::Ipv4Mask(ns3::Ipv4Mask const & arg0) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::Ipv4Mask const & ' , ' arg0 ' ) ] )
## ipv4-address.h: ns3::Ipv4Mask::Ipv4Mask() [constructor]
2008-07-21 15:30:15 +01:00
cls . add_constructor ( [ ] )
2008-10-06 17:39:35 +01:00
## ipv4-address.h: ns3::Ipv4Mask::Ipv4Mask(uint32_t mask) [constructor]
cls . add_constructor ( [ param ( ' uint32_t ' , ' mask ' ) ] )
## ipv4-address.h: ns3::Ipv4Mask::Ipv4Mask(char const * mask) [constructor]
cls . add_constructor ( [ param ( ' char const * ' , ' mask ' ) ] )
## ipv4-address.h: uint32_t ns3::Ipv4Mask::Get() const [member function]
cls . add_method ( ' Get ' ,
' uint32_t ' ,
2008-07-21 15:30:15 +01:00
[ ] ,
is_const = True )
2008-10-06 17:39:35 +01:00
## ipv4-address.h: uint32_t ns3::Ipv4Mask::GetInverse() const [member function]
cls . add_method ( ' GetInverse ' ,
' uint32_t ' ,
2008-07-21 15:30:15 +01:00
[ ] ,
is_const = True )
2008-10-06 17:39:35 +01:00
## ipv4-address.h: static ns3::Ipv4Mask ns3::Ipv4Mask::GetLoopback() [member function]
cls . add_method ( ' GetLoopback ' ,
2008-07-21 15:30:15 +01:00
' ns3::Ipv4Mask ' ,
[ ] ,
2008-10-06 17:39:35 +01:00
is_static = True )
2008-12-02 12:15:18 -08:00
## ipv4-address.h: static ns3::Ipv4Mask ns3::Ipv4Mask::GetOnes() [member function]
cls . add_method ( ' GetOnes ' ,
' ns3::Ipv4Mask ' ,
[ ] ,
is_static = True )
2008-10-06 17:39:35 +01:00
## ipv4-address.h: static ns3::Ipv4Mask ns3::Ipv4Mask::GetZero() [member function]
cls . add_method ( ' GetZero ' ,
' ns3::Ipv4Mask ' ,
2008-07-21 15:30:15 +01:00
[ ] ,
2008-10-06 17:39:35 +01:00
is_static = True )
## ipv4-address.h: bool ns3::Ipv4Mask::IsEqual(ns3::Ipv4Mask other) const [member function]
cls . add_method ( ' IsEqual ' ,
2008-07-21 15:30:15 +01:00
' bool ' ,
2008-10-06 17:39:35 +01:00
[ param ( ' ns3::Ipv4Mask ' , ' other ' ) ] ,
2008-07-21 15:30:15 +01:00
is_const = True )
2008-10-06 17:39:35 +01:00
## ipv4-address.h: bool ns3::Ipv4Mask::IsMatch(ns3::Ipv4Address a, ns3::Ipv4Address b) const [member function]
cls . add_method ( ' IsMatch ' ,
2008-07-21 15:30:15 +01:00
' bool ' ,
2008-10-06 17:39:35 +01:00
[ param ( ' ns3::Ipv4Address ' , ' a ' ) , param ( ' ns3::Ipv4Address ' , ' b ' ) ] ,
2008-07-21 15:30:15 +01:00
is_const = True )
2008-10-06 17:39:35 +01:00
## ipv4-address.h: void ns3::Ipv4Mask::Print(std::ostream & os) const [member function]
cls . add_method ( ' Print ' ,
' void ' ,
[ param ( ' std::ostream & ' , ' os ' ) ] ,
2008-07-21 15:30:15 +01:00
is_const = True )
2008-10-06 17:39:35 +01:00
## ipv4-address.h: void ns3::Ipv4Mask::Set(uint32_t mask) [member function]
cls . add_method ( ' Set ' ,
' void ' ,
[ param ( ' uint32_t ' , ' mask ' ) ] )
2008-07-08 10:43:58 -07:00
return
def register_Ns3Ipv4MulticastRoute_methods ( root_module , cls ) :
2008-10-06 17:39:35 +01:00
cls . add_output_stream_operator ( )
2008-07-08 10:43:58 -07:00
## ipv4-route.h: ns3::Ipv4MulticastRoute::Ipv4MulticastRoute() [constructor]
2008-07-21 15:30:15 +01:00
cls . add_constructor ( [ ] )
2008-07-08 10:43:58 -07:00
## ipv4-route.h: ns3::Ipv4MulticastRoute::Ipv4MulticastRoute(ns3::Ipv4MulticastRoute const & route) [copy constructor]
2008-09-02 11:12:42 +01:00
cls . add_constructor ( [ param ( ' ns3::Ipv4MulticastRoute const & ' , ' route ' ) ] )
2008-07-08 10:43:58 -07:00
## ipv4-route.h: ns3::Ipv4MulticastRoute::Ipv4MulticastRoute(ns3::Ipv4MulticastRoute const * route) [constructor]
2008-09-02 11:12:42 +01:00
cls . add_constructor ( [ param ( ' ns3::Ipv4MulticastRoute const * ' , ' route ' ) ] )
2008-07-08 10:43:58 -07:00
## ipv4-route.h: static ns3::Ipv4MulticastRoute ns3::Ipv4MulticastRoute::CreateMulticastRoute(ns3::Ipv4Address origin, ns3::Ipv4Address group, uint32_t inputInterface, std::vector<unsigned int, std::allocator<unsigned int> > outputInterfaces) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' CreateMulticastRoute ' ,
' ns3::Ipv4MulticastRoute ' ,
2008-08-29 14:56:24 +01:00
[ param ( ' ns3::Ipv4Address ' , ' origin ' ) , param ( ' ns3::Ipv4Address ' , ' group ' ) , param ( ' uint32_t ' , ' inputInterface ' ) , param ( ' std::vector< unsigned int > ' , ' outputInterfaces ' ) ] ,
2008-07-21 15:30:15 +01:00
is_static = True )
2008-07-08 10:43:58 -07:00
## ipv4-route.h: ns3::Ipv4Address ns3::Ipv4MulticastRoute::GetGroup() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetGroup ' ,
' ns3::Ipv4Address ' ,
[ ] ,
is_const = True )
2008-07-08 10:43:58 -07:00
## ipv4-route.h: uint32_t ns3::Ipv4MulticastRoute::GetInputInterface() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetInputInterface ' ,
' uint32_t ' ,
[ ] ,
is_const = True )
2008-07-08 10:43:58 -07:00
## ipv4-route.h: uint32_t ns3::Ipv4MulticastRoute::GetNOutputInterfaces() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetNOutputInterfaces ' ,
' uint32_t ' ,
[ ] ,
is_const = True )
2008-07-08 10:43:58 -07:00
## ipv4-route.h: ns3::Ipv4Address ns3::Ipv4MulticastRoute::GetOrigin() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetOrigin ' ,
' ns3::Ipv4Address ' ,
[ ] ,
is_const = True )
2008-07-08 10:43:58 -07:00
## ipv4-route.h: uint32_t ns3::Ipv4MulticastRoute::GetOutputInterface(uint32_t n) const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetOutputInterface ' ,
' uint32_t ' ,
[ param ( ' uint32_t ' , ' n ' ) ] ,
is_const = True )
2008-07-08 10:43:58 -07:00
## ipv4-route.h: std::vector<unsigned int, std::allocator<unsigned int> > ns3::Ipv4MulticastRoute::GetOutputInterfaces() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetOutputInterfaces ' ,
2008-08-29 14:56:24 +01:00
' std::vector< unsigned int > ' ,
2008-07-21 15:30:15 +01:00
[ ] ,
is_const = True )
2008-10-06 17:39:35 +01:00
return
def register_Ns3Ipv4Route_methods ( root_module , cls ) :
2008-07-08 10:43:58 -07:00
cls . add_output_stream_operator ( )
2008-10-06 17:39:35 +01:00
## ipv4-route.h: ns3::Ipv4Route::Ipv4Route() [constructor]
cls . add_constructor ( [ ] )
## ipv4-route.h: ns3::Ipv4Route::Ipv4Route(ns3::Ipv4Route const & route) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::Ipv4Route const & ' , ' route ' ) ] )
## ipv4-route.h: ns3::Ipv4Route::Ipv4Route(ns3::Ipv4Route const * route) [constructor]
cls . add_constructor ( [ param ( ' ns3::Ipv4Route const * ' , ' route ' ) ] )
## ipv4-route.h: static ns3::Ipv4Route ns3::Ipv4Route::CreateDefaultRoute(ns3::Ipv4Address nextHop, uint32_t interface) [member function]
cls . add_method ( ' CreateDefaultRoute ' ,
' ns3::Ipv4Route ' ,
[ param ( ' ns3::Ipv4Address ' , ' nextHop ' ) , param ( ' uint32_t ' , ' interface ' ) ] ,
is_static = True )
## ipv4-route.h: static ns3::Ipv4Route ns3::Ipv4Route::CreateHostRouteTo(ns3::Ipv4Address dest, ns3::Ipv4Address nextHop, uint32_t interface) [member function]
cls . add_method ( ' CreateHostRouteTo ' ,
' ns3::Ipv4Route ' ,
[ param ( ' ns3::Ipv4Address ' , ' dest ' ) , param ( ' ns3::Ipv4Address ' , ' nextHop ' ) , param ( ' uint32_t ' , ' interface ' ) ] ,
is_static = True )
## ipv4-route.h: static ns3::Ipv4Route ns3::Ipv4Route::CreateHostRouteTo(ns3::Ipv4Address dest, uint32_t interface) [member function]
cls . add_method ( ' CreateHostRouteTo ' ,
' ns3::Ipv4Route ' ,
[ param ( ' ns3::Ipv4Address ' , ' dest ' ) , param ( ' uint32_t ' , ' interface ' ) ] ,
is_static = True )
## ipv4-route.h: static ns3::Ipv4Route ns3::Ipv4Route::CreateNetworkRouteTo(ns3::Ipv4Address network, ns3::Ipv4Mask networkMask, ns3::Ipv4Address nextHop, uint32_t interface) [member function]
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 )
## ipv4-route.h: static ns3::Ipv4Route ns3::Ipv4Route::CreateNetworkRouteTo(ns3::Ipv4Address network, ns3::Ipv4Mask networkMask, uint32_t interface) [member function]
cls . add_method ( ' CreateNetworkRouteTo ' ,
' ns3::Ipv4Route ' ,
[ param ( ' ns3::Ipv4Address ' , ' network ' ) , param ( ' ns3::Ipv4Mask ' , ' networkMask ' ) , param ( ' uint32_t ' , ' interface ' ) ] ,
is_static = True )
## ipv4-route.h: ns3::Ipv4Address ns3::Ipv4Route::GetDest() const [member function]
cls . add_method ( ' GetDest ' ,
' ns3::Ipv4Address ' ,
[ ] ,
is_const = True )
## ipv4-route.h: ns3::Ipv4Address ns3::Ipv4Route::GetDestNetwork() const [member function]
cls . add_method ( ' GetDestNetwork ' ,
' ns3::Ipv4Address ' ,
[ ] ,
is_const = True )
## ipv4-route.h: ns3::Ipv4Mask ns3::Ipv4Route::GetDestNetworkMask() const [member function]
cls . add_method ( ' GetDestNetworkMask ' ,
' ns3::Ipv4Mask ' ,
[ ] ,
is_const = True )
## ipv4-route.h: ns3::Ipv4Address ns3::Ipv4Route::GetGateway() const [member function]
cls . add_method ( ' GetGateway ' ,
' ns3::Ipv4Address ' ,
[ ] ,
is_const = True )
## ipv4-route.h: uint32_t ns3::Ipv4Route::GetInterface() const [member function]
cls . add_method ( ' GetInterface ' ,
' uint32_t ' ,
[ ] ,
is_const = True )
## ipv4-route.h: bool ns3::Ipv4Route::IsDefault() const [member function]
cls . add_method ( ' IsDefault ' ,
' bool ' ,
[ ] ,
is_const = True )
## ipv4-route.h: bool ns3::Ipv4Route::IsGateway() const [member function]
cls . add_method ( ' IsGateway ' ,
' bool ' ,
[ ] ,
is_const = True )
## ipv4-route.h: bool ns3::Ipv4Route::IsHost() const [member function]
cls . add_method ( ' IsHost ' ,
' bool ' ,
[ ] ,
is_const = True )
## ipv4-route.h: bool ns3::Ipv4Route::IsNetwork() const [member function]
cls . add_method ( ' IsNetwork ' ,
' bool ' ,
[ ] ,
is_const = True )
2008-07-08 10:43:58 -07:00
return
2008-11-08 15:00:28 +00:00
def register_Ns3Ipv6Address_methods ( root_module , cls ) :
cls . add_binary_comparison_operator ( ' != ' )
cls . add_binary_comparison_operator ( ' < ' )
cls . add_output_stream_operator ( )
cls . add_binary_comparison_operator ( ' == ' )
## ipv6-address.h: ns3::Ipv6Address::Ipv6Address() [constructor]
cls . add_constructor ( [ ] )
## ipv6-address.h: ns3::Ipv6Address::Ipv6Address(char const * address) [constructor]
cls . add_constructor ( [ param ( ' char const * ' , ' address ' ) ] )
## ipv6-address.h: ns3::Ipv6Address::Ipv6Address(uint8_t * address) [constructor]
cls . add_constructor ( [ param ( ' uint8_t * ' , ' address ' ) ] )
## ipv6-address.h: ns3::Ipv6Address::Ipv6Address(ns3::Ipv6Address const & addr) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::Ipv6Address const & ' , ' addr ' ) ] )
## ipv6-address.h: ns3::Ipv6Address::Ipv6Address(ns3::Ipv6Address const * addr) [constructor]
cls . add_constructor ( [ param ( ' ns3::Ipv6Address const * ' , ' addr ' ) ] )
## ipv6-address.h: ns3::Ipv6Address ns3::Ipv6Address::CombinePrefix(ns3::Ipv6Prefix const & prefix) [member function]
cls . add_method ( ' CombinePrefix ' ,
' ns3::Ipv6Address ' ,
[ param ( ' ns3::Ipv6Prefix const & ' , ' prefix ' ) ] )
## ipv6-address.h: static ns3::Ipv6Address ns3::Ipv6Address::ConvertFrom(ns3::Address const & address) [member function]
cls . add_method ( ' ConvertFrom ' ,
' ns3::Ipv6Address ' ,
[ param ( ' ns3::Address const & ' , ' address ' ) ] ,
is_static = True )
## ipv6-address.h: static ns3::Ipv6Address ns3::Ipv6Address::Deserialize(uint8_t const * buf) [member function]
cls . add_method ( ' Deserialize ' ,
' ns3::Ipv6Address ' ,
[ param ( ' uint8_t const * ' , ' buf ' ) ] ,
is_static = True )
## ipv6-address.h: static ns3::Ipv6Address ns3::Ipv6Address::GetAllHostsMulticast() [member function]
cls . add_method ( ' GetAllHostsMulticast ' ,
' ns3::Ipv6Address ' ,
[ ] ,
is_static = True )
## ipv6-address.h: static ns3::Ipv6Address ns3::Ipv6Address::GetAllNodesMulticast() [member function]
cls . add_method ( ' GetAllNodesMulticast ' ,
' ns3::Ipv6Address ' ,
[ ] ,
is_static = True )
## ipv6-address.h: static ns3::Ipv6Address ns3::Ipv6Address::GetAllRoutersMulticast() [member function]
cls . add_method ( ' GetAllRoutersMulticast ' ,
' ns3::Ipv6Address ' ,
[ ] ,
is_static = True )
## ipv6-address.h: static ns3::Ipv6Address ns3::Ipv6Address::GetAny() [member function]
cls . add_method ( ' GetAny ' ,
' ns3::Ipv6Address ' ,
[ ] ,
is_static = True )
## ipv6-address.h: void ns3::Ipv6Address::GetBytes(uint8_t * buf) const [member function]
cls . add_method ( ' GetBytes ' ,
' void ' ,
[ param ( ' uint8_t * ' , ' buf ' ) ] ,
is_const = True )
## ipv6-address.h: static ns3::Ipv6Address ns3::Ipv6Address::GetLoopback() [member function]
cls . add_method ( ' GetLoopback ' ,
' ns3::Ipv6Address ' ,
[ ] ,
is_static = True )
## ipv6-address.h: static ns3::Ipv6Address ns3::Ipv6Address::GetZero() [member function]
cls . add_method ( ' GetZero ' ,
' ns3::Ipv6Address ' ,
[ ] ,
is_static = True )
## ipv6-address.h: bool ns3::Ipv6Address::IsAllHostsMulticast() const [member function]
cls . add_method ( ' IsAllHostsMulticast ' ,
' bool ' ,
[ ] ,
is_const = True )
## ipv6-address.h: bool ns3::Ipv6Address::IsAllNodesMulticast() const [member function]
cls . add_method ( ' IsAllNodesMulticast ' ,
' bool ' ,
[ ] ,
is_const = True )
## ipv6-address.h: bool ns3::Ipv6Address::IsAllRoutersMulticast() const [member function]
cls . add_method ( ' IsAllRoutersMulticast ' ,
' bool ' ,
[ ] ,
is_const = True )
## ipv6-address.h: bool ns3::Ipv6Address::IsAny() const [member function]
cls . add_method ( ' IsAny ' ,
' bool ' ,
[ ] ,
is_const = True )
## ipv6-address.h: bool ns3::Ipv6Address::IsEqual(ns3::Ipv6Address const & other) const [member function]
cls . add_method ( ' IsEqual ' ,
' bool ' ,
[ param ( ' ns3::Ipv6Address const & ' , ' other ' ) ] ,
is_const = True )
## ipv6-address.h: bool ns3::Ipv6Address::IsLinkLocal() const [member function]
cls . add_method ( ' IsLinkLocal ' ,
' bool ' ,
[ ] ,
is_const = True )
## ipv6-address.h: bool ns3::Ipv6Address::IsLocalhost() const [member function]
cls . add_method ( ' IsLocalhost ' ,
' bool ' ,
[ ] ,
is_const = True )
## ipv6-address.h: static bool ns3::Ipv6Address::IsMatchingType(ns3::Address const & address) [member function]
cls . add_method ( ' IsMatchingType ' ,
' bool ' ,
[ param ( ' ns3::Address const & ' , ' address ' ) ] ,
is_static = True )
## ipv6-address.h: bool ns3::Ipv6Address::IsMulticast() const [member function]
cls . add_method ( ' IsMulticast ' ,
' bool ' ,
[ ] ,
is_const = True )
## ipv6-address.h: bool ns3::Ipv6Address::IsSolicitedMulticast() const [member function]
cls . add_method ( ' IsSolicitedMulticast ' ,
' bool ' ,
[ ] ,
is_const = True )
## ipv6-address.h: static ns3::Ipv6Address ns3::Ipv6Address::MakeAutoconfiguredAddress(ns3::Mac48Address addr, ns3::Ipv6Address prefix) [member function]
cls . add_method ( ' MakeAutoconfiguredAddress ' ,
' ns3::Ipv6Address ' ,
[ param ( ' ns3::Mac48Address ' , ' addr ' ) , param ( ' ns3::Ipv6Address ' , ' prefix ' ) ] ,
is_static = True )
## ipv6-address.h: static ns3::Ipv6Address ns3::Ipv6Address::MakeAutoconfiguredLinkLocalAddress(ns3::Mac48Address mac) [member function]
cls . add_method ( ' MakeAutoconfiguredLinkLocalAddress ' ,
' ns3::Ipv6Address ' ,
[ param ( ' ns3::Mac48Address ' , ' mac ' ) ] ,
is_static = True )
## ipv6-address.h: static ns3::Ipv6Address ns3::Ipv6Address::MakeSolicitedAddress(ns3::Ipv6Address addr) [member function]
cls . add_method ( ' MakeSolicitedAddress ' ,
' ns3::Ipv6Address ' ,
[ param ( ' ns3::Ipv6Address ' , ' addr ' ) ] ,
is_static = True )
## ipv6-address.h: void ns3::Ipv6Address::Print(std::ostream & os) const [member function]
cls . add_method ( ' Print ' ,
' void ' ,
[ param ( ' std::ostream & ' , ' os ' ) ] ,
is_const = True )
## ipv6-address.h: void ns3::Ipv6Address::Serialize(uint8_t * buf) const [member function]
cls . add_method ( ' Serialize ' ,
' void ' ,
[ param ( ' uint8_t * ' , ' buf ' ) ] ,
is_const = True )
## ipv6-address.h: void ns3::Ipv6Address::Set(char const * address) [member function]
cls . add_method ( ' Set ' ,
' void ' ,
[ param ( ' char const * ' , ' address ' ) ] )
## ipv6-address.h: void ns3::Ipv6Address::Set(uint8_t * address) [member function]
cls . add_method ( ' Set ' ,
' void ' ,
[ param ( ' uint8_t * ' , ' address ' ) ] )
return
def register_Ns3Ipv6Prefix_methods ( root_module , cls ) :
cls . add_binary_comparison_operator ( ' != ' )
cls . add_output_stream_operator ( )
cls . add_binary_comparison_operator ( ' == ' )
## ipv6-address.h: ns3::Ipv6Prefix::Ipv6Prefix() [constructor]
cls . add_constructor ( [ ] )
## ipv6-address.h: ns3::Ipv6Prefix::Ipv6Prefix(uint8_t * prefix) [constructor]
cls . add_constructor ( [ param ( ' uint8_t * ' , ' prefix ' ) ] )
## ipv6-address.h: ns3::Ipv6Prefix::Ipv6Prefix(char const * prefix) [constructor]
cls . add_constructor ( [ param ( ' char const * ' , ' prefix ' ) ] )
## ipv6-address.h: ns3::Ipv6Prefix::Ipv6Prefix(uint8_t prefix) [constructor]
cls . add_constructor ( [ param ( ' uint8_t ' , ' prefix ' ) ] )
## ipv6-address.h: ns3::Ipv6Prefix::Ipv6Prefix(ns3::Ipv6Prefix const & prefix) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::Ipv6Prefix const & ' , ' prefix ' ) ] )
## ipv6-address.h: ns3::Ipv6Prefix::Ipv6Prefix(ns3::Ipv6Prefix const * prefix) [constructor]
cls . add_constructor ( [ param ( ' ns3::Ipv6Prefix const * ' , ' prefix ' ) ] )
## ipv6-address.h: void ns3::Ipv6Prefix::GetBytes(uint8_t * buf) const [member function]
cls . add_method ( ' GetBytes ' ,
' void ' ,
[ param ( ' uint8_t * ' , ' buf ' ) ] ,
is_const = True )
## ipv6-address.h: static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetLoopback() [member function]
cls . add_method ( ' GetLoopback ' ,
' ns3::Ipv6Prefix ' ,
[ ] ,
is_static = True )
## ipv6-address.h: static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetZero() [member function]
cls . add_method ( ' GetZero ' ,
' ns3::Ipv6Prefix ' ,
[ ] ,
is_static = True )
## ipv6-address.h: bool ns3::Ipv6Prefix::IsEqual(ns3::Ipv6Prefix const & other) const [member function]
cls . add_method ( ' IsEqual ' ,
' bool ' ,
[ param ( ' ns3::Ipv6Prefix const & ' , ' other ' ) ] ,
is_const = True )
## ipv6-address.h: bool ns3::Ipv6Prefix::IsMatch(ns3::Ipv6Address a, ns3::Ipv6Address b) const [member function]
cls . add_method ( ' IsMatch ' ,
' bool ' ,
[ param ( ' ns3::Ipv6Address ' , ' a ' ) , param ( ' ns3::Ipv6Address ' , ' b ' ) ] ,
is_const = True )
## ipv6-address.h: void ns3::Ipv6Prefix::Print(std::ostream & os) const [member function]
cls . add_method ( ' Print ' ,
' void ' ,
[ param ( ' std::ostream & ' , ' os ' ) ] ,
is_const = True )
return
2008-10-06 17:39:35 +01:00
def register_Ns3Mac48Address_methods ( root_module , cls ) :
cls . add_binary_comparison_operator ( ' != ' )
cls . add_binary_comparison_operator ( ' < ' )
cls . add_output_stream_operator ( )
cls . add_binary_comparison_operator ( ' == ' )
## mac48-address.h: ns3::Mac48Address::Mac48Address(ns3::Mac48Address const & arg0) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::Mac48Address const & ' , ' arg0 ' ) ] )
## mac48-address.h: ns3::Mac48Address::Mac48Address() [constructor]
cls . add_constructor ( [ ] )
## mac48-address.h: ns3::Mac48Address::Mac48Address(char const * str) [constructor]
cls . add_constructor ( [ param ( ' char const * ' , ' str ' ) ] )
## mac48-address.h: static ns3::Mac48Address ns3::Mac48Address::Allocate() [member function]
cls . add_method ( ' Allocate ' ,
' ns3::Mac48Address ' ,
[ ] ,
is_static = True )
## mac48-address.h: static ns3::Mac48Address ns3::Mac48Address::ConvertFrom(ns3::Address const & address) [member function]
cls . add_method ( ' ConvertFrom ' ,
' ns3::Mac48Address ' ,
[ param ( ' ns3::Address const & ' , ' address ' ) ] ,
is_static = True )
## mac48-address.h: void ns3::Mac48Address::CopyFrom(uint8_t const * buffer) [member function]
cls . add_method ( ' CopyFrom ' ,
' void ' ,
[ param ( ' uint8_t const * ' , ' buffer ' ) ] )
## mac48-address.h: void ns3::Mac48Address::CopyTo(uint8_t * buffer) const [member function]
cls . add_method ( ' CopyTo ' ,
' void ' ,
[ param ( ' uint8_t * ' , ' buffer ' ) ] ,
is_const = True )
## mac48-address.h: static ns3::Mac48Address ns3::Mac48Address::GetBroadcast() [member function]
cls . add_method ( ' GetBroadcast ' ,
' ns3::Mac48Address ' ,
[ ] ,
is_static = True )
## mac48-address.h: static ns3::Mac48Address ns3::Mac48Address::GetMulticast(ns3::Ipv4Address address) [member function]
cls . add_method ( ' GetMulticast ' ,
' ns3::Mac48Address ' ,
[ param ( ' ns3::Ipv4Address ' , ' address ' ) ] ,
is_static = True )
2008-11-08 15:00:28 +00:00
## mac48-address.h: static ns3::Mac48Address ns3::Mac48Address::GetMulticast(ns3::Ipv6Address address) [member function]
cls . add_method ( ' GetMulticast ' ,
' ns3::Mac48Address ' ,
[ param ( ' ns3::Ipv6Address ' , ' address ' ) ] ,
is_static = True )
## mac48-address.h: static ns3::Mac48Address ns3::Mac48Address::GetMulticast6Prefix() [member function]
cls . add_method ( ' GetMulticast6Prefix ' ,
' ns3::Mac48Address ' ,
[ ] ,
is_static = True )
2008-10-06 17:39:35 +01:00
## mac48-address.h: static ns3::Mac48Address ns3::Mac48Address::GetMulticastPrefix() [member function]
cls . add_method ( ' GetMulticastPrefix ' ,
' ns3::Mac48Address ' ,
[ ] ,
is_static = True )
## mac48-address.h: bool ns3::Mac48Address::IsBroadcast() const [member function]
cls . add_method ( ' IsBroadcast ' ,
' bool ' ,
[ ] ,
is_const = True )
## mac48-address.h: bool ns3::Mac48Address::IsGroup() const [member function]
cls . add_method ( ' IsGroup ' ,
' bool ' ,
[ ] ,
is_const = True )
## mac48-address.h: static bool ns3::Mac48Address::IsMatchingType(ns3::Address const & address) [member function]
cls . add_method ( ' IsMatchingType ' ,
' bool ' ,
[ param ( ' ns3::Address const & ' , ' address ' ) ] ,
is_static = True )
## mac48-address.h: bool ns3::Mac48Address::IsMulticast() const [member function]
cls . add_method ( ' IsMulticast ' ,
' bool ' ,
[ ] ,
is_const = True )
return
def register_Ns3Mac64Address_methods ( root_module , cls ) :
cls . add_binary_comparison_operator ( ' != ' )
cls . add_output_stream_operator ( )
cls . add_binary_comparison_operator ( ' == ' )
## mac64-address.h: ns3::Mac64Address::Mac64Address(ns3::Mac64Address const & arg0) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::Mac64Address const & ' , ' arg0 ' ) ] )
## mac64-address.h: ns3::Mac64Address::Mac64Address() [constructor]
cls . add_constructor ( [ ] )
## mac64-address.h: ns3::Mac64Address::Mac64Address(char const * str) [constructor]
cls . add_constructor ( [ param ( ' char const * ' , ' str ' ) ] )
## mac64-address.h: static ns3::Mac64Address ns3::Mac64Address::Allocate() [member function]
cls . add_method ( ' Allocate ' ,
' ns3::Mac64Address ' ,
[ ] ,
is_static = True )
## mac64-address.h: static ns3::Mac64Address ns3::Mac64Address::ConvertFrom(ns3::Address const & address) [member function]
cls . add_method ( ' ConvertFrom ' ,
' ns3::Mac64Address ' ,
[ param ( ' ns3::Address const & ' , ' address ' ) ] ,
is_static = True )
## mac64-address.h: void ns3::Mac64Address::CopyFrom(uint8_t const * buffer) [member function]
cls . add_method ( ' CopyFrom ' ,
' void ' ,
[ param ( ' uint8_t const * ' , ' buffer ' ) ] )
## mac64-address.h: void ns3::Mac64Address::CopyTo(uint8_t * buffer) const [member function]
cls . add_method ( ' CopyTo ' ,
' void ' ,
[ param ( ' uint8_t * ' , ' buffer ' ) ] ,
is_const = True )
## mac64-address.h: static bool ns3::Mac64Address::IsMatchingType(ns3::Address const & address) [member function]
cls . add_method ( ' IsMatchingType ' ,
' bool ' ,
[ param ( ' ns3::Address const & ' , ' address ' ) ] ,
is_static = True )
return
def register_Ns3NodeList_methods ( root_module , cls ) :
2009-02-25 11:00:50 +01:00
## node-list.h: ns3::NodeList::NodeList(ns3::NodeList const & arg0) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::NodeList const & ' , ' arg0 ' ) ] )
## node-list.h: ns3::NodeList::NodeList() [constructor]
cls . add_constructor ( [ ] )
2008-10-06 17:39:35 +01:00
## node-list.h: static uint32_t ns3::NodeList::Add(ns3::Ptr<ns3::Node> node) [member function]
cls . add_method ( ' Add ' ,
' uint32_t ' ,
[ param ( ' ns3::Ptr< ns3::Node > ' , ' node ' ) ] ,
is_static = True )
## node-list.h: static __gnu_cxx::__normal_iterator<const ns3::Ptr<ns3::Node>*,std::vector<ns3::Ptr<ns3::Node>, std::allocator<ns3::Ptr<ns3::Node> > > > ns3::NodeList::Begin() [member function]
cls . add_method ( ' Begin ' ,
' __gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > > ' ,
[ ] ,
is_static = True )
## node-list.h: static __gnu_cxx::__normal_iterator<const ns3::Ptr<ns3::Node>*,std::vector<ns3::Ptr<ns3::Node>, std::allocator<ns3::Ptr<ns3::Node> > > > ns3::NodeList::End() [member function]
cls . add_method ( ' End ' ,
' __gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > > ' ,
[ ] ,
is_static = True )
## node-list.h: static ns3::Ptr<ns3::Node> ns3::NodeList::GetNode(uint32_t n) [member function]
cls . add_method ( ' GetNode ' ,
' ns3::Ptr< ns3::Node > ' ,
[ param ( ' uint32_t ' , ' n ' ) ] ,
is_static = True )
## node-list.h: static uint32_t ns3::NodeList::GetNNodes() [member function]
cls . add_method ( ' GetNNodes ' ,
' uint32_t ' ,
[ ] ,
is_static = True )
2008-07-08 10:43:58 -07:00
return
def register_Ns3PacketSocketAddress_methods ( root_module , cls ) :
2009-02-25 11:00:50 +01:00
## packet-socket-address.h: ns3::PacketSocketAddress::PacketSocketAddress(ns3::PacketSocketAddress const & arg0) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::PacketSocketAddress const & ' , ' arg0 ' ) ] )
2008-07-08 10:43:58 -07:00
## packet-socket-address.h: ns3::PacketSocketAddress::PacketSocketAddress() [constructor]
2008-07-21 15:30:15 +01:00
cls . add_constructor ( [ ] )
2008-07-08 10:43:58 -07:00
## packet-socket-address.h: void ns3::PacketSocketAddress::SetProtocol(uint16_t protocol) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' SetProtocol ' ,
' void ' ,
[ param ( ' uint16_t ' , ' protocol ' ) ] )
2008-07-08 10:43:58 -07:00
## packet-socket-address.h: void ns3::PacketSocketAddress::SetAllDevices() [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' SetAllDevices ' ,
' void ' ,
[ ] )
2008-07-08 10:43:58 -07:00
## packet-socket-address.h: void ns3::PacketSocketAddress::SetSingleDevice(uint32_t device) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' SetSingleDevice ' ,
' void ' ,
[ param ( ' uint32_t ' , ' device ' ) ] )
2008-07-08 10:43:58 -07:00
## packet-socket-address.h: void ns3::PacketSocketAddress::SetPhysicalAddress(ns3::Address const address) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' SetPhysicalAddress ' ,
' void ' ,
2008-09-02 11:12:42 +01:00
[ param ( ' ns3::Address const ' , ' address ' ) ] )
2008-07-08 10:43:58 -07:00
## packet-socket-address.h: uint16_t ns3::PacketSocketAddress::GetProtocol() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetProtocol ' ,
' uint16_t ' ,
[ ] ,
is_const = True )
2008-07-08 10:43:58 -07:00
## packet-socket-address.h: uint32_t ns3::PacketSocketAddress::GetSingleDevice() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetSingleDevice ' ,
' uint32_t ' ,
[ ] ,
is_const = True )
2008-07-08 10:43:58 -07:00
## packet-socket-address.h: bool ns3::PacketSocketAddress::IsSingleDevice() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' IsSingleDevice ' ,
' bool ' ,
[ ] ,
is_const = True )
2008-07-08 10:43:58 -07:00
## packet-socket-address.h: ns3::Address ns3::PacketSocketAddress::GetPhysicalAddress() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetPhysicalAddress ' ,
' ns3::Address ' ,
[ ] ,
is_const = True )
2008-07-08 10:43:58 -07:00
## packet-socket-address.h: static ns3::PacketSocketAddress ns3::PacketSocketAddress::ConvertFrom(ns3::Address const & address) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' ConvertFrom ' ,
' ns3::PacketSocketAddress ' ,
2008-09-02 11:12:42 +01:00
[ param ( ' ns3::Address const & ' , ' address ' ) ] ,
2008-07-21 15:30:15 +01:00
is_static = True )
2008-07-08 10:43:58 -07:00
## packet-socket-address.h: static bool ns3::PacketSocketAddress::IsMatchingType(ns3::Address const & address) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' IsMatchingType ' ,
' bool ' ,
2008-09-02 11:12:42 +01:00
[ param ( ' ns3::Address const & ' , ' address ' ) ] ,
2008-07-21 15:30:15 +01:00
is_static = True )
2008-07-08 10:43:58 -07:00
return
2008-10-06 17:39:35 +01:00
def register_Ns3Ipv4AddressChecker_methods ( root_module , cls ) :
2009-02-25 11:00:50 +01:00
## ipv4-address.h: ns3::Ipv4AddressChecker::Ipv4AddressChecker(ns3::Ipv4AddressChecker const & arg0) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::Ipv4AddressChecker const & ' , ' arg0 ' ) ] )
## ipv4-address.h: ns3::Ipv4AddressChecker::Ipv4AddressChecker() [constructor]
2008-10-06 17:39:35 +01:00
cls . add_constructor ( [ ] )
return
def register_Ns3Ipv4AddressValue_methods ( root_module , cls ) :
2009-02-25 11:00:50 +01:00
## ipv4-address.h: ns3::Ipv4AddressValue::Ipv4AddressValue(ns3::Ipv4AddressValue const & arg0) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::Ipv4AddressValue const & ' , ' arg0 ' ) ] )
2008-07-08 10:43:58 -07:00
## ipv4-address.h: ns3::Ipv4AddressValue::Ipv4AddressValue() [constructor]
2008-07-21 15:30:15 +01:00
cls . add_constructor ( [ ] )
2008-07-08 10:43:58 -07:00
## ipv4-address.h: ns3::Ipv4AddressValue::Ipv4AddressValue(ns3::Ipv4Address const & value) [constructor]
2008-09-02 11:12:42 +01:00
cls . add_constructor ( [ param ( ' ns3::Ipv4Address const & ' , ' value ' ) ] )
2008-07-08 10:43:58 -07:00
## ipv4-address.h: void ns3::Ipv4AddressValue::Set(ns3::Ipv4Address const & value) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Set ' ,
' void ' ,
2008-09-02 11:12:42 +01:00
[ param ( ' ns3::Ipv4Address const & ' , ' value ' ) ] )
2008-07-08 10:43:58 -07:00
## ipv4-address.h: ns3::Ipv4Address ns3::Ipv4AddressValue::Get() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Get ' ,
' ns3::Ipv4Address ' ,
[ ] ,
is_const = True )
2008-07-08 10:43:58 -07:00
## ipv4-address.h: ns3::Ptr<ns3::AttributeValue> ns3::Ipv4AddressValue::Copy() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Copy ' ,
' ns3::Ptr< ns3::AttributeValue > ' ,
[ ] ,
is_const = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## ipv4-address.h: std::string ns3::Ipv4AddressValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' SerializeToString ' ,
' std::string ' ,
[ param ( ' ns3::Ptr< ns3::AttributeChecker const > ' , ' checker ' ) ] ,
is_const = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## ipv4-address.h: bool ns3::Ipv4AddressValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' DeserializeFromString ' ,
' bool ' ,
[ param ( ' std::string ' , ' value ' ) , param ( ' ns3::Ptr< ns3::AttributeChecker const > ' , ' checker ' ) ] ,
is_virtual = True )
2008-07-08 10:43:58 -07:00
return
2008-10-06 17:39:35 +01:00
def register_Ns3Ipv4Header_methods ( root_module , cls ) :
2009-02-25 11:00:50 +01:00
## ipv4-header.h: ns3::Ipv4Header::Ipv4Header(ns3::Ipv4Header const & arg0) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::Ipv4Header const & ' , ' arg0 ' ) ] )
2008-10-06 17:39:35 +01:00
## ipv4-header.h: ns3::Ipv4Header::Ipv4Header() [constructor]
2008-08-29 14:56:24 +01:00
cls . add_constructor ( [ ] )
2008-10-06 17:39:35 +01:00
## ipv4-header.h: void ns3::Ipv4Header::EnableChecksum() [member function]
cls . add_method ( ' EnableChecksum ' ,
' void ' ,
[ ] )
## ipv4-header.h: void ns3::Ipv4Header::SetPayloadSize(uint16_t size) [member function]
cls . add_method ( ' SetPayloadSize ' ,
' void ' ,
[ param ( ' uint16_t ' , ' size ' ) ] )
## ipv4-header.h: void ns3::Ipv4Header::SetIdentification(uint16_t identification) [member function]
cls . add_method ( ' SetIdentification ' ,
' void ' ,
[ param ( ' uint16_t ' , ' identification ' ) ] )
## ipv4-header.h: void ns3::Ipv4Header::SetTos(uint8_t tos) [member function]
cls . add_method ( ' SetTos ' ,
' void ' ,
[ param ( ' uint8_t ' , ' tos ' ) ] )
## ipv4-header.h: void ns3::Ipv4Header::SetMoreFragments() [member function]
cls . add_method ( ' SetMoreFragments ' ,
' void ' ,
[ ] )
## ipv4-header.h: void ns3::Ipv4Header::SetLastFragment() [member function]
cls . add_method ( ' SetLastFragment ' ,
' void ' ,
[ ] )
## ipv4-header.h: void ns3::Ipv4Header::SetDontFragment() [member function]
cls . add_method ( ' SetDontFragment ' ,
' void ' ,
[ ] )
## ipv4-header.h: void ns3::Ipv4Header::SetMayFragment() [member function]
cls . add_method ( ' SetMayFragment ' ,
' void ' ,
[ ] )
## ipv4-header.h: void ns3::Ipv4Header::SetFragmentOffset(uint16_t offset) [member function]
cls . add_method ( ' SetFragmentOffset ' ,
' void ' ,
[ param ( ' uint16_t ' , ' offset ' ) ] )
## ipv4-header.h: void ns3::Ipv4Header::SetTtl(uint8_t ttl) [member function]
cls . add_method ( ' SetTtl ' ,
' void ' ,
[ param ( ' uint8_t ' , ' ttl ' ) ] )
## ipv4-header.h: void ns3::Ipv4Header::SetProtocol(uint8_t num) [member function]
cls . add_method ( ' SetProtocol ' ,
' void ' ,
[ param ( ' uint8_t ' , ' num ' ) ] )
## ipv4-header.h: void ns3::Ipv4Header::SetSource(ns3::Ipv4Address source) [member function]
cls . add_method ( ' SetSource ' ,
' void ' ,
[ param ( ' ns3::Ipv4Address ' , ' source ' ) ] )
## ipv4-header.h: void ns3::Ipv4Header::SetDestination(ns3::Ipv4Address destination) [member function]
cls . add_method ( ' SetDestination ' ,
' void ' ,
[ param ( ' ns3::Ipv4Address ' , ' destination ' ) ] )
## ipv4-header.h: uint16_t ns3::Ipv4Header::GetPayloadSize() const [member function]
cls . add_method ( ' GetPayloadSize ' ,
' uint16_t ' ,
[ ] ,
is_const = True )
## ipv4-header.h: uint16_t ns3::Ipv4Header::GetIdentification() const [member function]
cls . add_method ( ' GetIdentification ' ,
' uint16_t ' ,
[ ] ,
is_const = True )
## ipv4-header.h: uint8_t ns3::Ipv4Header::GetTos() const [member function]
cls . add_method ( ' GetTos ' ,
' uint8_t ' ,
[ ] ,
is_const = True )
## ipv4-header.h: bool ns3::Ipv4Header::IsLastFragment() const [member function]
cls . add_method ( ' IsLastFragment ' ,
2008-07-21 15:30:15 +01:00
' bool ' ,
2008-10-06 17:39:35 +01:00
[ ] ,
is_const = True )
## ipv4-header.h: bool ns3::Ipv4Header::IsDontFragment() const [member function]
cls . add_method ( ' IsDontFragment ' ,
2008-07-21 15:30:15 +01:00
' bool ' ,
[ ] ,
is_const = True )
2008-10-06 17:39:35 +01:00
## ipv4-header.h: uint16_t ns3::Ipv4Header::GetFragmentOffset() const [member function]
cls . add_method ( ' GetFragmentOffset ' ,
' uint16_t ' ,
[ ] ,
is_const = True )
## ipv4-header.h: uint8_t ns3::Ipv4Header::GetTtl() const [member function]
cls . add_method ( ' GetTtl ' ,
' uint8_t ' ,
[ ] ,
is_const = True )
## ipv4-header.h: uint8_t ns3::Ipv4Header::GetProtocol() const [member function]
cls . add_method ( ' GetProtocol ' ,
' uint8_t ' ,
[ ] ,
is_const = True )
## ipv4-header.h: ns3::Ipv4Address ns3::Ipv4Header::GetSource() const [member function]
cls . add_method ( ' GetSource ' ,
' ns3::Ipv4Address ' ,
[ ] ,
is_const = True )
## ipv4-header.h: ns3::Ipv4Address ns3::Ipv4Header::GetDestination() const [member function]
cls . add_method ( ' GetDestination ' ,
' ns3::Ipv4Address ' ,
[ ] ,
is_const = True )
## ipv4-header.h: bool ns3::Ipv4Header::IsChecksumOk() const [member function]
cls . add_method ( ' IsChecksumOk ' ,
' bool ' ,
[ ] ,
is_const = True )
## ipv4-header.h: static ns3::TypeId ns3::Ipv4Header::GetTypeId() [member function]
cls . add_method ( ' GetTypeId ' ,
' ns3::TypeId ' ,
[ ] ,
is_static = True )
## ipv4-header.h: ns3::TypeId ns3::Ipv4Header::GetInstanceTypeId() const [member function]
cls . add_method ( ' GetInstanceTypeId ' ,
' ns3::TypeId ' ,
2008-07-21 15:30:15 +01:00
[ ] ,
is_const = True , is_virtual = True )
2008-10-06 17:39:35 +01:00
## ipv4-header.h: void ns3::Ipv4Header::Print(std::ostream & os) const [member function]
cls . add_method ( ' Print ' ,
' void ' ,
[ param ( ' std::ostream & ' , ' os ' ) ] ,
2008-07-21 15:30:15 +01:00
is_const = True , is_virtual = True )
2008-10-06 17:39:35 +01:00
## ipv4-header.h: uint32_t ns3::Ipv4Header::GetSerializedSize() const [member function]
cls . add_method ( ' GetSerializedSize ' ,
' uint32_t ' ,
[ ] ,
is_const = True , is_virtual = True )
## ipv4-header.h: void ns3::Ipv4Header::Serialize(ns3::Buffer::Iterator start) const [member function]
cls . add_method ( ' Serialize ' ,
' void ' ,
[ param ( ' ns3::Buffer::Iterator ' , ' start ' ) ] ,
is_const = True , is_virtual = True )
## ipv4-header.h: uint32_t ns3::Ipv4Header::Deserialize(ns3::Buffer::Iterator start) [member function]
cls . add_method ( ' Deserialize ' ,
' uint32_t ' ,
[ param ( ' ns3::Buffer::Iterator ' , ' start ' ) ] ,
2008-07-21 15:30:15 +01:00
is_virtual = True )
2008-07-08 10:43:58 -07:00
return
2008-10-06 17:39:35 +01:00
def register_Ns3Ipv4MaskChecker_methods ( root_module , cls ) :
2009-02-25 11:00:50 +01:00
## ipv4-address.h: ns3::Ipv4MaskChecker::Ipv4MaskChecker(ns3::Ipv4MaskChecker const & arg0) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::Ipv4MaskChecker const & ' , ' arg0 ' ) ] )
## ipv4-address.h: ns3::Ipv4MaskChecker::Ipv4MaskChecker() [constructor]
2008-10-06 17:39:35 +01:00
cls . add_constructor ( [ ] )
return
2008-07-08 10:43:58 -07:00
def register_Ns3Ipv4MaskValue_methods ( root_module , cls ) :
2009-02-25 11:00:50 +01:00
## ipv4-address.h: ns3::Ipv4MaskValue::Ipv4MaskValue(ns3::Ipv4MaskValue const & arg0) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::Ipv4MaskValue const & ' , ' arg0 ' ) ] )
2008-07-08 10:43:58 -07:00
## ipv4-address.h: ns3::Ipv4MaskValue::Ipv4MaskValue() [constructor]
2008-07-21 15:30:15 +01:00
cls . add_constructor ( [ ] )
2008-07-08 10:43:58 -07:00
## ipv4-address.h: ns3::Ipv4MaskValue::Ipv4MaskValue(ns3::Ipv4Mask const & value) [constructor]
2008-09-02 11:12:42 +01:00
cls . add_constructor ( [ param ( ' ns3::Ipv4Mask const & ' , ' value ' ) ] )
2008-07-08 10:43:58 -07:00
## ipv4-address.h: void ns3::Ipv4MaskValue::Set(ns3::Ipv4Mask const & value) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Set ' ,
' void ' ,
2008-09-02 11:12:42 +01:00
[ param ( ' ns3::Ipv4Mask const & ' , ' value ' ) ] )
2008-07-08 10:43:58 -07:00
## ipv4-address.h: ns3::Ipv4Mask ns3::Ipv4MaskValue::Get() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Get ' ,
' ns3::Ipv4Mask ' ,
[ ] ,
is_const = True )
2008-07-08 10:43:58 -07:00
## ipv4-address.h: ns3::Ptr<ns3::AttributeValue> ns3::Ipv4MaskValue::Copy() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Copy ' ,
' ns3::Ptr< ns3::AttributeValue > ' ,
[ ] ,
is_const = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## ipv4-address.h: std::string ns3::Ipv4MaskValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' SerializeToString ' ,
' std::string ' ,
[ param ( ' ns3::Ptr< ns3::AttributeChecker const > ' , ' checker ' ) ] ,
is_const = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## ipv4-address.h: bool ns3::Ipv4MaskValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' DeserializeFromString ' ,
' bool ' ,
[ param ( ' std::string ' , ' value ' ) , param ( ' ns3::Ptr< ns3::AttributeChecker const > ' , ' checker ' ) ] ,
is_virtual = True )
2008-07-08 10:43:58 -07:00
return
2008-11-08 15:00:28 +00:00
def register_Ns3Ipv6AddressChecker_methods ( root_module , cls ) :
2009-02-25 11:00:50 +01:00
## ipv6-address.h: ns3::Ipv6AddressChecker::Ipv6AddressChecker(ns3::Ipv6AddressChecker const & arg0) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::Ipv6AddressChecker const & ' , ' arg0 ' ) ] )
## ipv6-address.h: ns3::Ipv6AddressChecker::Ipv6AddressChecker() [constructor]
2008-11-08 15:00:28 +00:00
cls . add_constructor ( [ ] )
return
def register_Ns3Ipv6AddressValue_methods ( root_module , cls ) :
2009-02-25 11:00:50 +01:00
## ipv6-address.h: ns3::Ipv6AddressValue::Ipv6AddressValue(ns3::Ipv6AddressValue const & arg0) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::Ipv6AddressValue const & ' , ' arg0 ' ) ] )
2008-11-08 15:00:28 +00:00
## ipv6-address.h: ns3::Ipv6AddressValue::Ipv6AddressValue() [constructor]
cls . add_constructor ( [ ] )
## ipv6-address.h: ns3::Ipv6AddressValue::Ipv6AddressValue(ns3::Ipv6Address const & value) [constructor]
cls . add_constructor ( [ param ( ' ns3::Ipv6Address const & ' , ' value ' ) ] )
## ipv6-address.h: void ns3::Ipv6AddressValue::Set(ns3::Ipv6Address const & value) [member function]
cls . add_method ( ' Set ' ,
' void ' ,
[ param ( ' ns3::Ipv6Address const & ' , ' value ' ) ] )
## ipv6-address.h: ns3::Ipv6Address ns3::Ipv6AddressValue::Get() const [member function]
cls . add_method ( ' Get ' ,
' ns3::Ipv6Address ' ,
[ ] ,
is_const = True )
## ipv6-address.h: ns3::Ptr<ns3::AttributeValue> ns3::Ipv6AddressValue::Copy() const [member function]
cls . add_method ( ' Copy ' ,
' ns3::Ptr< ns3::AttributeValue > ' ,
[ ] ,
is_const = True , is_virtual = True )
## ipv6-address.h: std::string ns3::Ipv6AddressValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
cls . add_method ( ' SerializeToString ' ,
' std::string ' ,
[ param ( ' ns3::Ptr< ns3::AttributeChecker const > ' , ' checker ' ) ] ,
is_const = True , is_virtual = True )
## ipv6-address.h: bool ns3::Ipv6AddressValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
cls . add_method ( ' DeserializeFromString ' ,
' bool ' ,
[ param ( ' std::string ' , ' value ' ) , param ( ' ns3::Ptr< ns3::AttributeChecker const > ' , ' checker ' ) ] ,
is_virtual = True )
return
def register_Ns3Ipv6Header_methods ( root_module , cls ) :
2009-02-25 11:00:50 +01:00
## ipv6-header.h: ns3::Ipv6Header::Ipv6Header(ns3::Ipv6Header const & arg0) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::Ipv6Header const & ' , ' arg0 ' ) ] )
2008-11-08 15:00:28 +00:00
## ipv6-header.h: static ns3::TypeId ns3::Ipv6Header::GetTypeId() [member function]
cls . add_method ( ' GetTypeId ' ,
' ns3::TypeId ' ,
[ ] ,
is_static = True )
## ipv6-header.h: ns3::TypeId ns3::Ipv6Header::GetInstanceTypeId() const [member function]
cls . add_method ( ' GetInstanceTypeId ' ,
' ns3::TypeId ' ,
[ ] ,
is_const = True , is_virtual = True )
## ipv6-header.h: ns3::Ipv6Header::Ipv6Header() [constructor]
cls . add_constructor ( [ ] )
## ipv6-header.h: void ns3::Ipv6Header::SetTrafficClass(uint8_t traffic) [member function]
cls . add_method ( ' SetTrafficClass ' ,
' void ' ,
[ param ( ' uint8_t ' , ' traffic ' ) ] )
## ipv6-header.h: uint8_t ns3::Ipv6Header::GetTrafficClass() const [member function]
cls . add_method ( ' GetTrafficClass ' ,
' uint8_t ' ,
[ ] ,
is_const = True )
## ipv6-header.h: void ns3::Ipv6Header::SetFlowLabel(uint32_t flow) [member function]
cls . add_method ( ' SetFlowLabel ' ,
' void ' ,
[ param ( ' uint32_t ' , ' flow ' ) ] )
## ipv6-header.h: uint32_t ns3::Ipv6Header::GetFlowLabel() const [member function]
cls . add_method ( ' GetFlowLabel ' ,
' uint32_t ' ,
[ ] ,
is_const = True )
## ipv6-header.h: void ns3::Ipv6Header::SetPayloadLength(uint16_t len) [member function]
cls . add_method ( ' SetPayloadLength ' ,
' void ' ,
[ param ( ' uint16_t ' , ' len ' ) ] )
## ipv6-header.h: uint16_t ns3::Ipv6Header::GetPayloadLength() const [member function]
cls . add_method ( ' GetPayloadLength ' ,
' uint16_t ' ,
[ ] ,
is_const = True )
## ipv6-header.h: void ns3::Ipv6Header::SetNextHeader(uint8_t next) [member function]
cls . add_method ( ' SetNextHeader ' ,
' void ' ,
[ param ( ' uint8_t ' , ' next ' ) ] )
## ipv6-header.h: uint8_t ns3::Ipv6Header::GetNextHeader() const [member function]
cls . add_method ( ' GetNextHeader ' ,
' uint8_t ' ,
[ ] ,
is_const = True )
## ipv6-header.h: void ns3::Ipv6Header::SetHopLimit(uint8_t limit) [member function]
cls . add_method ( ' SetHopLimit ' ,
' void ' ,
[ param ( ' uint8_t ' , ' limit ' ) ] )
## ipv6-header.h: uint8_t ns3::Ipv6Header::GetHopLimit() const [member function]
cls . add_method ( ' GetHopLimit ' ,
' uint8_t ' ,
[ ] ,
is_const = True )
## ipv6-header.h: void ns3::Ipv6Header::SetSourceAddress(ns3::Ipv6Address src) [member function]
cls . add_method ( ' SetSourceAddress ' ,
' void ' ,
[ param ( ' ns3::Ipv6Address ' , ' src ' ) ] )
## ipv6-header.h: ns3::Ipv6Address ns3::Ipv6Header::GetSourceAddress() const [member function]
cls . add_method ( ' GetSourceAddress ' ,
' ns3::Ipv6Address ' ,
[ ] ,
is_const = True )
## ipv6-header.h: void ns3::Ipv6Header::SetDestinationAddress(ns3::Ipv6Address dst) [member function]
cls . add_method ( ' SetDestinationAddress ' ,
' void ' ,
[ param ( ' ns3::Ipv6Address ' , ' dst ' ) ] )
## ipv6-header.h: ns3::Ipv6Address ns3::Ipv6Header::GetDestinationAddress() const [member function]
cls . add_method ( ' GetDestinationAddress ' ,
' ns3::Ipv6Address ' ,
[ ] ,
is_const = True )
## ipv6-header.h: void ns3::Ipv6Header::Print(std::ostream & os) const [member function]
cls . add_method ( ' Print ' ,
' void ' ,
[ param ( ' std::ostream & ' , ' os ' ) ] ,
is_const = True , is_virtual = True )
## ipv6-header.h: uint32_t ns3::Ipv6Header::GetSerializedSize() const [member function]
cls . add_method ( ' GetSerializedSize ' ,
' uint32_t ' ,
[ ] ,
is_const = True , is_virtual = True )
## ipv6-header.h: void ns3::Ipv6Header::Serialize(ns3::Buffer::Iterator start) const [member function]
cls . add_method ( ' Serialize ' ,
' void ' ,
[ param ( ' ns3::Buffer::Iterator ' , ' start ' ) ] ,
is_const = True , is_virtual = True )
## ipv6-header.h: uint32_t ns3::Ipv6Header::Deserialize(ns3::Buffer::Iterator start) [member function]
cls . add_method ( ' Deserialize ' ,
' uint32_t ' ,
[ param ( ' ns3::Buffer::Iterator ' , ' start ' ) ] ,
is_virtual = True )
return
def register_Ns3Ipv6PrefixChecker_methods ( root_module , cls ) :
2009-02-25 11:00:50 +01:00
## ipv6-address.h: ns3::Ipv6PrefixChecker::Ipv6PrefixChecker(ns3::Ipv6PrefixChecker const & arg0) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::Ipv6PrefixChecker const & ' , ' arg0 ' ) ] )
## ipv6-address.h: ns3::Ipv6PrefixChecker::Ipv6PrefixChecker() [constructor]
2008-11-08 15:00:28 +00:00
cls . add_constructor ( [ ] )
return
def register_Ns3Ipv6PrefixValue_methods ( root_module , cls ) :
2009-02-25 11:00:50 +01:00
## ipv6-address.h: ns3::Ipv6PrefixValue::Ipv6PrefixValue(ns3::Ipv6PrefixValue const & arg0) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::Ipv6PrefixValue const & ' , ' arg0 ' ) ] )
2008-11-08 15:00:28 +00:00
## ipv6-address.h: ns3::Ipv6PrefixValue::Ipv6PrefixValue() [constructor]
cls . add_constructor ( [ ] )
## ipv6-address.h: ns3::Ipv6PrefixValue::Ipv6PrefixValue(ns3::Ipv6Prefix const & value) [constructor]
cls . add_constructor ( [ param ( ' ns3::Ipv6Prefix const & ' , ' value ' ) ] )
## ipv6-address.h: void ns3::Ipv6PrefixValue::Set(ns3::Ipv6Prefix const & value) [member function]
cls . add_method ( ' Set ' ,
' void ' ,
[ param ( ' ns3::Ipv6Prefix const & ' , ' value ' ) ] )
## ipv6-address.h: ns3::Ipv6Prefix ns3::Ipv6PrefixValue::Get() const [member function]
cls . add_method ( ' Get ' ,
' ns3::Ipv6Prefix ' ,
[ ] ,
is_const = True )
## ipv6-address.h: ns3::Ptr<ns3::AttributeValue> ns3::Ipv6PrefixValue::Copy() const [member function]
cls . add_method ( ' Copy ' ,
' ns3::Ptr< ns3::AttributeValue > ' ,
[ ] ,
is_const = True , is_virtual = True )
## ipv6-address.h: std::string ns3::Ipv6PrefixValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
cls . add_method ( ' SerializeToString ' ,
' std::string ' ,
[ param ( ' ns3::Ptr< ns3::AttributeChecker const > ' , ' checker ' ) ] ,
is_const = True , is_virtual = True )
## ipv6-address.h: bool ns3::Ipv6PrefixValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
cls . add_method ( ' DeserializeFromString ' ,
' bool ' ,
[ param ( ' std::string ' , ' value ' ) , param ( ' ns3::Ptr< ns3::AttributeChecker const > ' , ' checker ' ) ] ,
is_virtual = True )
return
2008-10-06 17:39:35 +01:00
def register_Ns3LlcSnapHeader_methods ( root_module , cls ) :
2009-02-25 11:00:50 +01:00
## llc-snap-header.h: ns3::LlcSnapHeader::LlcSnapHeader(ns3::LlcSnapHeader const & arg0) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::LlcSnapHeader const & ' , ' arg0 ' ) ] )
2008-10-06 17:39:35 +01:00
## llc-snap-header.h: ns3::LlcSnapHeader::LlcSnapHeader() [constructor]
2008-07-21 15:30:15 +01:00
cls . add_constructor ( [ ] )
2008-10-06 17:39:35 +01:00
## llc-snap-header.h: void ns3::LlcSnapHeader::SetType(uint16_t type) [member function]
cls . add_method ( ' SetType ' ,
2008-07-21 15:30:15 +01:00
' void ' ,
2008-10-06 17:39:35 +01:00
[ param ( ' uint16_t ' , ' type ' ) ] )
## llc-snap-header.h: uint16_t ns3::LlcSnapHeader::GetType() [member function]
cls . add_method ( ' GetType ' ,
' uint16_t ' ,
[ ] )
## llc-snap-header.h: static ns3::TypeId ns3::LlcSnapHeader::GetTypeId() [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetTypeId ' ,
' ns3::TypeId ' ,
[ ] ,
is_static = True )
2008-10-06 17:39:35 +01:00
## llc-snap-header.h: ns3::TypeId ns3::LlcSnapHeader::GetInstanceTypeId() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetInstanceTypeId ' ,
' ns3::TypeId ' ,
[ ] ,
is_const = True , is_virtual = True )
2008-10-06 17:39:35 +01:00
## llc-snap-header.h: void ns3::LlcSnapHeader::Print(std::ostream & os) const [member function]
cls . add_method ( ' Print ' ,
' void ' ,
[ param ( ' std::ostream & ' , ' os ' ) ] ,
is_const = True , is_virtual = True )
## llc-snap-header.h: uint32_t ns3::LlcSnapHeader::GetSerializedSize() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetSerializedSize ' ,
' uint32_t ' ,
[ ] ,
is_const = True , is_virtual = True )
2008-10-06 17:39:35 +01:00
## llc-snap-header.h: void ns3::LlcSnapHeader::Serialize(ns3::Buffer::Iterator start) const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Serialize ' ,
' void ' ,
2008-10-06 17:39:35 +01:00
[ param ( ' ns3::Buffer::Iterator ' , ' start ' ) ] ,
2008-07-21 15:30:15 +01:00
is_const = True , is_virtual = True )
2008-10-06 17:39:35 +01:00
## llc-snap-header.h: uint32_t ns3::LlcSnapHeader::Deserialize(ns3::Buffer::Iterator start) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Deserialize ' ,
2008-10-06 17:39:35 +01:00
' uint32_t ' ,
[ param ( ' ns3::Buffer::Iterator ' , ' start ' ) ] ,
2008-07-21 15:30:15 +01:00
is_virtual = True )
2008-07-08 10:43:58 -07:00
return
2008-10-06 17:39:35 +01:00
def register_Ns3Mac48AddressChecker_methods ( root_module , cls ) :
2009-02-25 11:00:50 +01:00
## mac48-address.h: ns3::Mac48AddressChecker::Mac48AddressChecker(ns3::Mac48AddressChecker const & arg0) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::Mac48AddressChecker const & ' , ' arg0 ' ) ] )
## mac48-address.h: ns3::Mac48AddressChecker::Mac48AddressChecker() [constructor]
2008-07-21 15:30:15 +01:00
cls . add_constructor ( [ ] )
2008-07-08 10:43:58 -07:00
return
2008-10-06 17:39:35 +01:00
def register_Ns3Mac48AddressValue_methods ( root_module , cls ) :
2009-02-25 11:00:50 +01:00
## mac48-address.h: ns3::Mac48AddressValue::Mac48AddressValue(ns3::Mac48AddressValue const & arg0) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::Mac48AddressValue const & ' , ' arg0 ' ) ] )
2008-10-06 17:39:35 +01:00
## mac48-address.h: ns3::Mac48AddressValue::Mac48AddressValue() [constructor]
2008-07-21 15:30:15 +01:00
cls . add_constructor ( [ ] )
2008-10-06 17:39:35 +01:00
## mac48-address.h: ns3::Mac48AddressValue::Mac48AddressValue(ns3::Mac48Address const & value) [constructor]
cls . add_constructor ( [ param ( ' ns3::Mac48Address const & ' , ' value ' ) ] )
## mac48-address.h: void ns3::Mac48AddressValue::Set(ns3::Mac48Address const & value) [member function]
cls . add_method ( ' Set ' ,
2008-07-21 15:30:15 +01:00
' void ' ,
2008-10-06 17:39:35 +01:00
[ param ( ' ns3::Mac48Address const & ' , ' value ' ) ] )
## mac48-address.h: ns3::Mac48Address ns3::Mac48AddressValue::Get() const [member function]
cls . add_method ( ' Get ' ,
' ns3::Mac48Address ' ,
2008-07-21 15:30:15 +01:00
[ ] ,
is_const = True )
2008-10-06 17:39:35 +01:00
## mac48-address.h: ns3::Ptr<ns3::AttributeValue> ns3::Mac48AddressValue::Copy() const [member function]
cls . add_method ( ' Copy ' ,
' ns3::Ptr< ns3::AttributeValue > ' ,
2008-07-21 15:30:15 +01:00
[ ] ,
2008-10-06 17:39:35 +01:00
is_const = True , is_virtual = True )
## mac48-address.h: std::string ns3::Mac48AddressValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
cls . add_method ( ' SerializeToString ' ,
' std::string ' ,
[ param ( ' ns3::Ptr< ns3::AttributeChecker const > ' , ' checker ' ) ] ,
is_const = True , is_virtual = True )
## mac48-address.h: bool ns3::Mac48AddressValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
cls . add_method ( ' DeserializeFromString ' ,
' bool ' ,
[ param ( ' std::string ' , ' value ' ) , param ( ' ns3::Ptr< ns3::AttributeChecker const > ' , ' checker ' ) ] ,
is_virtual = True )
2008-07-08 10:43:58 -07:00
return
def register_Ns3Queue_methods ( root_module , cls ) :
2009-02-25 11:00:50 +01:00
## queue.h: ns3::Queue::Queue(ns3::Queue const & arg0) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::Queue const & ' , ' arg0 ' ) ] )
2008-07-08 10:43:58 -07:00
## queue.h: static ns3::TypeId ns3::Queue::GetTypeId() [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetTypeId ' ,
' ns3::TypeId ' ,
[ ] ,
is_static = True )
2008-07-08 10:43:58 -07:00
## queue.h: ns3::Queue::Queue() [constructor]
2008-07-21 15:30:15 +01:00
cls . add_constructor ( [ ] )
2008-07-08 10:43:58 -07:00
## queue.h: bool ns3::Queue::IsEmpty() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' IsEmpty ' ,
' bool ' ,
[ ] ,
is_const = True )
2008-07-08 10:43:58 -07:00
## queue.h: bool ns3::Queue::Enqueue(ns3::Ptr<ns3::Packet> p) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Enqueue ' ,
' bool ' ,
[ param ( ' ns3::Ptr< ns3::Packet > ' , ' p ' ) ] )
2008-07-08 10:43:58 -07:00
## queue.h: ns3::Ptr<ns3::Packet> ns3::Queue::Dequeue() [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Dequeue ' ,
' ns3::Ptr< ns3::Packet > ' ,
[ ] )
2008-08-11 10:40:31 -07:00
## queue.h: ns3::Ptr<const ns3::Packet> ns3::Queue::Peek() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Peek ' ,
2008-10-06 17:39:35 +01:00
' ns3::Ptr< ns3::Packet const > ' ,
2008-07-21 15:30:15 +01:00
[ ] ,
is_const = True )
2008-07-08 10:43:58 -07:00
## queue.h: void ns3::Queue::DequeueAll() [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' DequeueAll ' ,
' void ' ,
[ ] )
2008-07-08 10:43:58 -07:00
## queue.h: uint32_t ns3::Queue::GetNPackets() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetNPackets ' ,
' uint32_t ' ,
[ ] ,
is_const = True )
2008-07-08 10:43:58 -07:00
## queue.h: uint32_t ns3::Queue::GetNBytes() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetNBytes ' ,
' uint32_t ' ,
[ ] ,
is_const = True )
2008-07-08 10:43:58 -07:00
## queue.h: uint32_t ns3::Queue::GetTotalReceivedBytes() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetTotalReceivedBytes ' ,
' uint32_t ' ,
[ ] ,
is_const = True )
2008-07-08 10:43:58 -07:00
## queue.h: uint32_t ns3::Queue::GetTotalReceivedPackets() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetTotalReceivedPackets ' ,
' uint32_t ' ,
[ ] ,
is_const = True )
2008-07-08 10:43:58 -07:00
## queue.h: uint32_t ns3::Queue::GetTotalDroppedBytes() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetTotalDroppedBytes ' ,
' uint32_t ' ,
[ ] ,
is_const = True )
2008-07-08 10:43:58 -07:00
## queue.h: uint32_t ns3::Queue::GetTotalDroppedPackets() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetTotalDroppedPackets ' ,
' uint32_t ' ,
[ ] ,
is_const = True )
2008-07-08 10:43:58 -07:00
## queue.h: void ns3::Queue::ResetStatistics() [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' ResetStatistics ' ,
' void ' ,
[ ] )
2008-07-08 10:43:58 -07:00
## queue.h: void ns3::Queue::Drop(ns3::Ptr<ns3::Packet> packet) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Drop ' ,
' void ' ,
[ param ( ' ns3::Ptr< ns3::Packet > ' , ' packet ' ) ] ,
visibility = ' protected ' )
2008-07-08 10:43:58 -07:00
## queue.h: bool ns3::Queue::DoEnqueue(ns3::Ptr<ns3::Packet> p) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' DoEnqueue ' ,
' bool ' ,
[ param ( ' ns3::Ptr< ns3::Packet > ' , ' p ' ) ] ,
is_pure_virtual = True , visibility = ' private ' , is_virtual = True )
2008-07-08 10:43:58 -07:00
## queue.h: ns3::Ptr<ns3::Packet> ns3::Queue::DoDequeue() [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' DoDequeue ' ,
' ns3::Ptr< ns3::Packet > ' ,
[ ] ,
is_pure_virtual = True , visibility = ' private ' , is_virtual = True )
2008-08-11 10:40:31 -07:00
## queue.h: ns3::Ptr<const ns3::Packet> ns3::Queue::DoPeek() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' DoPeek ' ,
2008-10-06 17:39:35 +01:00
' ns3::Ptr< ns3::Packet const > ' ,
2008-07-21 15:30:15 +01:00
[ ] ,
is_pure_virtual = True , is_const = True , visibility = ' private ' , is_virtual = True )
2008-07-08 10:43:58 -07:00
return
def register_Ns3Socket_methods ( root_module , cls ) :
2009-02-25 11:00:50 +01:00
## socket.h: ns3::Socket::Socket(ns3::Socket const & arg0) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::Socket const & ' , ' arg0 ' ) ] )
2008-07-08 10:43:58 -07:00
## socket.h: ns3::Socket::Socket() [constructor]
2008-07-21 15:30:15 +01:00
cls . add_constructor ( [ ] )
2008-07-08 10:43:58 -07:00
## socket.h: static ns3::Ptr<ns3::Socket> ns3::Socket::CreateSocket(ns3::Ptr<ns3::Node> node, ns3::TypeId tid) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' CreateSocket ' ,
' ns3::Ptr< ns3::Socket > ' ,
[ param ( ' ns3::Ptr< ns3::Node > ' , ' node ' ) , param ( ' ns3::TypeId ' , ' tid ' ) ] ,
is_static = True )
2008-07-08 10:43:58 -07:00
## socket.h: ns3::Socket::SocketErrno ns3::Socket::GetErrno() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetErrno ' ,
' ns3::Socket::SocketErrno ' ,
[ ] ,
is_pure_virtual = True , is_const = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## socket.h: ns3::Ptr<ns3::Node> ns3::Socket::GetNode() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetNode ' ,
' ns3::Ptr< ns3::Node > ' ,
[ ] ,
is_pure_virtual = True , is_const = True , is_virtual = True )
2009-01-09 13:18:29 +01:00
## socket.h: void ns3::Socket::SetConnectCallback(ns3::Callback<void, ns3::Ptr<ns3::Socket>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> connectionSucceeded, ns3::Callback<void, ns3::Ptr<ns3::Socket>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> connectionFailed) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' SetConnectCallback ' ,
' void ' ,
2009-01-09 13:18:29 +01:00
[ param ( ' ns3::Callback< void, ns3::Ptr< ns3::Socket >, ns3::empty, ns3::empty, ns3::empty, 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, ns3::empty, ns3::empty, ns3::empty > ' , ' connectionFailed ' ) ] )
## socket.h: void ns3::Socket::SetAcceptCallback(ns3::Callback<bool, ns3::Ptr<ns3::Socket>, ns3::Address const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> connectionRequest, ns3::Callback<void, ns3::Ptr<ns3::Socket>, ns3::Address const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> newConnectionCreated) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' SetAcceptCallback ' ,
' void ' ,
2009-01-09 13:18:29 +01:00
[ param ( ' ns3::Callback< bool, ns3::Ptr< ns3::Socket >, ns3::Address const &, ns3::empty, ns3::empty, ns3::empty, 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, ns3::empty, ns3::empty, ns3::empty > ' , ' newConnectionCreated ' ) ] )
## socket.h: void ns3::Socket::SetDataSentCallback(ns3::Callback<void, ns3::Ptr<ns3::Socket>, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> dataSent) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' SetDataSentCallback ' ,
2008-10-23 11:50:45 -07:00
' void ' ,
2009-01-09 13:18:29 +01:00
[ param ( ' ns3::Callback< void, ns3::Ptr< ns3::Socket >, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty > ' , ' dataSent ' ) ] )
## socket.h: void ns3::Socket::SetSendCallback(ns3::Callback<void, ns3::Ptr<ns3::Socket>, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> sendCb) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' SetSendCallback ' ,
' void ' ,
2009-01-09 13:18:29 +01:00
[ param ( ' ns3::Callback< void, ns3::Ptr< ns3::Socket >, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty > ' , ' sendCb ' ) ] )
## socket.h: void ns3::Socket::SetRecvCallback(ns3::Callback<void, ns3::Ptr<ns3::Socket>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> arg0) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' SetRecvCallback ' ,
' void ' ,
2009-01-09 13:18:29 +01:00
[ param ( ' ns3::Callback< void, ns3::Ptr< ns3::Socket >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty > ' , ' arg0 ' ) ] )
2008-07-08 10:43:58 -07:00
## socket.h: int ns3::Socket::Bind(ns3::Address const & address) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Bind ' ,
' int ' ,
2008-09-02 11:12:42 +01:00
[ param ( ' ns3::Address const & ' , ' address ' ) ] ,
2008-07-21 15:30:15 +01:00
is_pure_virtual = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## socket.h: int ns3::Socket::Bind() [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Bind ' ,
' int ' ,
[ ] ,
is_pure_virtual = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## socket.h: int ns3::Socket::Close() [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Close ' ,
' int ' ,
[ ] ,
is_pure_virtual = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## socket.h: int ns3::Socket::ShutdownSend() [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' ShutdownSend ' ,
' int ' ,
[ ] ,
is_pure_virtual = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## socket.h: int ns3::Socket::ShutdownRecv() [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' ShutdownRecv ' ,
' int ' ,
[ ] ,
is_pure_virtual = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## socket.h: int ns3::Socket::Connect(ns3::Address const & address) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Connect ' ,
' int ' ,
2008-09-02 11:12:42 +01:00
[ param ( ' ns3::Address const & ' , ' address ' ) ] ,
2008-07-21 15:30:15 +01:00
is_pure_virtual = True , is_virtual = True )
2008-10-23 10:57:26 -07:00
## socket.h: int ns3::Socket::Listen() [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Listen ' ,
' int ' ,
2008-10-23 10:57:26 -07:00
[ ] ,
2008-07-21 15:30:15 +01:00
is_pure_virtual = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## socket.h: uint32_t ns3::Socket::GetTxAvailable() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetTxAvailable ' ,
' uint32_t ' ,
[ ] ,
is_pure_virtual = True , is_const = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## socket.h: int ns3::Socket::Send(ns3::Ptr<ns3::Packet> p, uint32_t flags) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Send ' ,
' int ' ,
[ param ( ' ns3::Ptr< ns3::Packet > ' , ' p ' ) , param ( ' uint32_t ' , ' flags ' ) ] ,
is_pure_virtual = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## socket.h: int ns3::Socket::SendTo(ns3::Ptr<ns3::Packet> p, uint32_t flags, ns3::Address const & toAddress) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' SendTo ' ,
' int ' ,
2008-09-02 11:12:42 +01:00
[ param ( ' ns3::Ptr< ns3::Packet > ' , ' p ' ) , param ( ' uint32_t ' , ' flags ' ) , param ( ' ns3::Address const & ' , ' toAddress ' ) ] ,
2008-07-21 15:30:15 +01:00
is_pure_virtual = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## socket.h: uint32_t ns3::Socket::GetRxAvailable() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetRxAvailable ' ,
' uint32_t ' ,
[ ] ,
is_pure_virtual = True , is_const = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## socket.h: ns3::Ptr<ns3::Packet> ns3::Socket::Recv(uint32_t maxSize, uint32_t flags) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Recv ' ,
' ns3::Ptr< ns3::Packet > ' ,
[ param ( ' uint32_t ' , ' maxSize ' ) , param ( ' uint32_t ' , ' flags ' ) ] ,
is_pure_virtual = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## socket.h: ns3::Ptr<ns3::Packet> ns3::Socket::RecvFrom(uint32_t maxSize, uint32_t flags, ns3::Address & fromAddress) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' RecvFrom ' ,
' ns3::Ptr< ns3::Packet > ' ,
2008-09-02 11:12:42 +01:00
[ param ( ' uint32_t ' , ' maxSize ' ) , param ( ' uint32_t ' , ' flags ' ) , param ( ' ns3::Address & ' , ' fromAddress ' ) ] ,
2008-07-21 15:30:15 +01:00
is_pure_virtual = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## socket.h: int ns3::Socket::Send(ns3::Ptr<ns3::Packet> p) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Send ' ,
' int ' ,
[ param ( ' ns3::Ptr< ns3::Packet > ' , ' p ' ) ] )
2008-07-08 10:43:58 -07:00
## socket.h: int ns3::Socket::Send(uint8_t const * buf, uint32_t size, uint32_t flags) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Send ' ,
' int ' ,
2008-09-02 11:12:42 +01:00
[ param ( ' uint8_t const * ' , ' buf ' ) , param ( ' uint32_t ' , ' size ' ) , param ( ' uint32_t ' , ' flags ' ) ] )
2008-07-08 10:43:58 -07:00
## socket.h: int ns3::Socket::SendTo(uint8_t const * buf, uint32_t size, uint32_t flags, ns3::Address const & address) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' SendTo ' ,
' int ' ,
2008-09-02 11:12:42 +01:00
[ param ( ' uint8_t const * ' , ' buf ' ) , param ( ' uint32_t ' , ' size ' ) , param ( ' uint32_t ' , ' flags ' ) , param ( ' ns3::Address const & ' , ' address ' ) ] )
2008-07-08 10:43:58 -07:00
## socket.h: ns3::Ptr<ns3::Packet> ns3::Socket::Recv() [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Recv ' ,
' ns3::Ptr< ns3::Packet > ' ,
[ ] )
2008-07-08 10:43:58 -07:00
## socket.h: int ns3::Socket::Recv(uint8_t * buf, uint32_t size, uint32_t flags) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Recv ' ,
' int ' ,
[ param ( ' uint8_t * ' , ' buf ' ) , param ( ' uint32_t ' , ' size ' ) , param ( ' uint32_t ' , ' flags ' ) ] )
2008-07-08 10:43:58 -07:00
## socket.h: ns3::Ptr<ns3::Packet> ns3::Socket::RecvFrom(ns3::Address & fromAddress) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' RecvFrom ' ,
' ns3::Ptr< ns3::Packet > ' ,
2008-09-02 11:12:42 +01:00
[ param ( ' ns3::Address & ' , ' fromAddress ' ) ] )
2008-07-08 10:43:58 -07:00
## socket.h: int ns3::Socket::RecvFrom(uint8_t * buf, uint32_t size, uint32_t flags, ns3::Address & fromAddress) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' RecvFrom ' ,
' int ' ,
2008-09-02 11:12:42 +01:00
[ param ( ' uint8_t * ' , ' buf ' ) , param ( ' uint32_t ' , ' size ' ) , param ( ' uint32_t ' , ' flags ' ) , param ( ' ns3::Address & ' , ' fromAddress ' ) ] )
2008-10-23 16:08:13 -07:00
## socket.h: int ns3::Socket::GetSockName(ns3::Address & address) const [member function]
cls . add_method ( ' GetSockName ' ,
' int ' ,
[ param ( ' ns3::Address & ' , ' address ' ) ] ,
is_pure_virtual = True , is_const = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## socket.h: void ns3::Socket::NotifyConnectionSucceeded() [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' NotifyConnectionSucceeded ' ,
' void ' ,
[ ] ,
visibility = ' protected ' )
2008-07-08 10:43:58 -07:00
## socket.h: void ns3::Socket::NotifyConnectionFailed() [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' NotifyConnectionFailed ' ,
' void ' ,
[ ] ,
visibility = ' protected ' )
2008-07-08 10:43:58 -07:00
## socket.h: bool ns3::Socket::NotifyConnectionRequest(ns3::Address const & from) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' NotifyConnectionRequest ' ,
' bool ' ,
2008-09-02 11:12:42 +01:00
[ param ( ' ns3::Address const & ' , ' from ' ) ] ,
2008-07-21 15:30:15 +01:00
visibility = ' protected ' )
2008-07-08 10:43:58 -07:00
## socket.h: void ns3::Socket::NotifyNewConnectionCreated(ns3::Ptr<ns3::Socket> socket, ns3::Address const & from) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' NotifyNewConnectionCreated ' ,
' void ' ,
2008-09-02 11:12:42 +01:00
[ param ( ' ns3::Ptr< ns3::Socket > ' , ' socket ' ) , param ( ' ns3::Address const & ' , ' from ' ) ] ,
2008-07-21 15:30:15 +01:00
visibility = ' protected ' )
2008-07-08 10:43:58 -07:00
## socket.h: void ns3::Socket::NotifyDataSent(uint32_t size) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' NotifyDataSent ' ,
' void ' ,
[ param ( ' uint32_t ' , ' size ' ) ] ,
visibility = ' protected ' )
2008-07-08 10:43:58 -07:00
## socket.h: void ns3::Socket::NotifySend(uint32_t spaceAvailable) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' NotifySend ' ,
' void ' ,
[ param ( ' uint32_t ' , ' spaceAvailable ' ) ] ,
visibility = ' protected ' )
2008-07-08 10:43:58 -07:00
## socket.h: void ns3::Socket::NotifyDataRecv() [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' NotifyDataRecv ' ,
' void ' ,
[ ] ,
visibility = ' protected ' )
2008-07-08 10:43:58 -07:00
return
2008-10-06 17:39:35 +01:00
def register_Ns3SocketAddressTag_methods ( root_module , cls ) :
2009-02-25 11:00:50 +01:00
## socket.h: ns3::SocketAddressTag::SocketAddressTag(ns3::SocketAddressTag const & arg0) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::SocketAddressTag const & ' , ' arg0 ' ) ] )
2008-10-06 17:39:35 +01:00
## socket.h: ns3::SocketAddressTag::SocketAddressTag() [constructor]
2008-07-21 15:30:15 +01:00
cls . add_constructor ( [ ] )
2008-10-06 17:39:35 +01:00
## socket.h: void ns3::SocketAddressTag::SetAddress(ns3::Address addr) [member function]
cls . add_method ( ' SetAddress ' ,
2008-07-21 15:30:15 +01:00
' void ' ,
2008-10-06 17:39:35 +01:00
[ param ( ' ns3::Address ' , ' addr ' ) ] )
## socket.h: ns3::Address ns3::SocketAddressTag::GetAddress() const [member function]
cls . add_method ( ' GetAddress ' ,
' ns3::Address ' ,
[ ] ,
is_const = True )
## socket.h: static ns3::TypeId ns3::SocketAddressTag::GetTypeId() [member function]
cls . add_method ( ' GetTypeId ' ,
' ns3::TypeId ' ,
[ ] ,
is_static = True )
## socket.h: ns3::TypeId ns3::SocketAddressTag::GetInstanceTypeId() const [member function]
cls . add_method ( ' GetInstanceTypeId ' ,
' ns3::TypeId ' ,
[ ] ,
is_const = True , is_virtual = True )
## socket.h: uint32_t ns3::SocketAddressTag::GetSerializedSize() const [member function]
cls . add_method ( ' GetSerializedSize ' ,
' uint32_t ' ,
[ ] ,
is_const = True , is_virtual = True )
## socket.h: void ns3::SocketAddressTag::Serialize(ns3::TagBuffer i) const [member function]
cls . add_method ( ' Serialize ' ,
2008-07-21 15:30:15 +01:00
' void ' ,
2008-10-06 17:39:35 +01:00
[ param ( ' ns3::TagBuffer ' , ' i ' ) ] ,
is_const = True , is_virtual = True )
## socket.h: void ns3::SocketAddressTag::Deserialize(ns3::TagBuffer i) [member function]
cls . add_method ( ' Deserialize ' ,
2008-07-21 15:30:15 +01:00
' void ' ,
2008-10-06 17:39:35 +01:00
[ param ( ' ns3::TagBuffer ' , ' i ' ) ] ,
is_virtual = True )
## socket.h: void ns3::SocketAddressTag::Print(std::ostream & os) const [member function]
cls . add_method ( ' Print ' ,
2008-07-21 15:30:15 +01:00
' void ' ,
2008-10-06 17:39:35 +01:00
[ param ( ' std::ostream & ' , ' os ' ) ] ,
is_const = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
return
2008-10-06 17:39:35 +01:00
def register_Ns3SocketFactory_methods ( root_module , cls ) :
2009-02-25 11:00:50 +01:00
## socket-factory.h: ns3::SocketFactory::SocketFactory(ns3::SocketFactory const & arg0) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::SocketFactory const & ' , ' arg0 ' ) ] )
2008-10-06 17:39:35 +01:00
## socket-factory.h: static ns3::TypeId ns3::SocketFactory::GetTypeId() [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetTypeId ' ,
' ns3::TypeId ' ,
[ ] ,
is_static = True )
2008-10-06 17:39:35 +01:00
## socket-factory.h: ns3::SocketFactory::SocketFactory() [constructor]
2008-07-21 15:30:15 +01:00
cls . add_constructor ( [ ] )
2008-10-06 17:39:35 +01:00
## socket-factory.h: ns3::Ptr<ns3::Socket> ns3::SocketFactory::CreateSocket() [member function]
cls . add_method ( ' CreateSocket ' ,
' ns3::Ptr< ns3::Socket > ' ,
[ ] ,
is_pure_virtual = True , is_virtual = True )
return
def register_Ns3SocketIpTtlTag_methods ( root_module , cls ) :
2009-02-25 11:00:50 +01:00
## socket.h: ns3::SocketIpTtlTag::SocketIpTtlTag(ns3::SocketIpTtlTag const & arg0) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::SocketIpTtlTag const & ' , ' arg0 ' ) ] )
2008-10-06 17:39:35 +01:00
## socket.h: ns3::SocketIpTtlTag::SocketIpTtlTag() [constructor]
cls . add_constructor ( [ ] )
## socket.h: void ns3::SocketIpTtlTag::SetTtl(uint8_t ttl) [member function]
cls . add_method ( ' SetTtl ' ,
2008-07-21 15:30:15 +01:00
' void ' ,
2008-10-06 17:39:35 +01:00
[ param ( ' uint8_t ' , ' ttl ' ) ] )
## socket.h: uint8_t ns3::SocketIpTtlTag::GetTtl() const [member function]
cls . add_method ( ' GetTtl ' ,
' uint8_t ' ,
[ ] ,
is_const = True )
## socket.h: static ns3::TypeId ns3::SocketIpTtlTag::GetTypeId() [member function]
cls . add_method ( ' GetTypeId ' ,
' ns3::TypeId ' ,
[ ] ,
is_static = True )
## socket.h: ns3::TypeId ns3::SocketIpTtlTag::GetInstanceTypeId() const [member function]
cls . add_method ( ' GetInstanceTypeId ' ,
' ns3::TypeId ' ,
[ ] ,
is_const = True , is_virtual = True )
## socket.h: uint32_t ns3::SocketIpTtlTag::GetSerializedSize() const [member function]
cls . add_method ( ' GetSerializedSize ' ,
2008-07-21 15:30:15 +01:00
' uint32_t ' ,
[ ] ,
2008-10-06 17:39:35 +01:00
is_const = True , is_virtual = True )
## socket.h: void ns3::SocketIpTtlTag::Serialize(ns3::TagBuffer i) const [member function]
cls . add_method ( ' Serialize ' ,
' void ' ,
[ param ( ' ns3::TagBuffer ' , ' i ' ) ] ,
is_const = True , is_virtual = True )
## socket.h: void ns3::SocketIpTtlTag::Deserialize(ns3::TagBuffer i) [member function]
cls . add_method ( ' Deserialize ' ,
' void ' ,
[ param ( ' ns3::TagBuffer ' , ' i ' ) ] ,
is_virtual = True )
## socket.h: void ns3::SocketIpTtlTag::Print(std::ostream & os) const [member function]
cls . add_method ( ' Print ' ,
' void ' ,
[ param ( ' std::ostream & ' , ' os ' ) ] ,
is_const = True , is_virtual = True )
2008-07-16 16:06:50 +01:00
return
2008-10-29 11:18:39 -07:00
def register_Ns3SocketSetDontFragmentTag_methods ( root_module , cls ) :
2009-02-25 11:00:50 +01:00
## socket.h: ns3::SocketSetDontFragmentTag::SocketSetDontFragmentTag(ns3::SocketSetDontFragmentTag const & arg0) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::SocketSetDontFragmentTag const & ' , ' arg0 ' ) ] )
2008-10-29 11:18:39 -07:00
## socket.h: ns3::SocketSetDontFragmentTag::SocketSetDontFragmentTag() [constructor]
cls . add_constructor ( [ ] )
## socket.h: void ns3::SocketSetDontFragmentTag::Enable() [member function]
cls . add_method ( ' Enable ' ,
' void ' ,
[ ] )
## socket.h: void ns3::SocketSetDontFragmentTag::Disable() [member function]
cls . add_method ( ' Disable ' ,
' void ' ,
[ ] )
## socket.h: bool ns3::SocketSetDontFragmentTag::IsEnabled() const [member function]
cls . add_method ( ' IsEnabled ' ,
' bool ' ,
[ ] ,
is_const = True )
## socket.h: static ns3::TypeId ns3::SocketSetDontFragmentTag::GetTypeId() [member function]
cls . add_method ( ' GetTypeId ' ,
' ns3::TypeId ' ,
[ ] ,
is_static = True )
## socket.h: ns3::TypeId ns3::SocketSetDontFragmentTag::GetInstanceTypeId() const [member function]
cls . add_method ( ' GetInstanceTypeId ' ,
' ns3::TypeId ' ,
[ ] ,
is_const = True , is_virtual = True )
## socket.h: uint32_t ns3::SocketSetDontFragmentTag::GetSerializedSize() const [member function]
cls . add_method ( ' GetSerializedSize ' ,
' uint32_t ' ,
[ ] ,
is_const = True , is_virtual = True )
## socket.h: void ns3::SocketSetDontFragmentTag::Serialize(ns3::TagBuffer i) const [member function]
cls . add_method ( ' Serialize ' ,
' void ' ,
[ param ( ' ns3::TagBuffer ' , ' i ' ) ] ,
is_const = True , is_virtual = True )
## socket.h: void ns3::SocketSetDontFragmentTag::Deserialize(ns3::TagBuffer i) [member function]
cls . add_method ( ' Deserialize ' ,
' void ' ,
[ param ( ' ns3::TagBuffer ' , ' i ' ) ] ,
is_virtual = True )
## socket.h: void ns3::SocketSetDontFragmentTag::Print(std::ostream & os) const [member function]
cls . add_method ( ' Print ' ,
' void ' ,
[ param ( ' std::ostream & ' , ' os ' ) ] ,
is_const = True , is_virtual = True )
return
2008-07-08 10:43:58 -07:00
def register_Ns3TcpSocket_methods ( root_module , cls ) :
2009-02-25 11:00:50 +01:00
## tcp-socket.h: ns3::TcpSocket::TcpSocket(ns3::TcpSocket const & arg0) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::TcpSocket const & ' , ' arg0 ' ) ] )
2008-07-08 10:43:58 -07:00
## tcp-socket.h: static ns3::TypeId ns3::TcpSocket::GetTypeId() [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetTypeId ' ,
' ns3::TypeId ' ,
[ ] ,
is_static = True )
2008-07-08 10:43:58 -07:00
## tcp-socket.h: ns3::TcpSocket::TcpSocket() [constructor]
2008-07-21 15:30:15 +01:00
cls . add_constructor ( [ ] )
2008-07-08 10:43:58 -07:00
## tcp-socket.h: void ns3::TcpSocket::SetSndBufSize(uint32_t size) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' SetSndBufSize ' ,
' void ' ,
[ param ( ' uint32_t ' , ' size ' ) ] ,
is_pure_virtual = True , visibility = ' private ' , is_virtual = True )
2008-07-08 10:43:58 -07:00
## tcp-socket.h: uint32_t ns3::TcpSocket::GetSndBufSize() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetSndBufSize ' ,
' uint32_t ' ,
[ ] ,
is_pure_virtual = True , is_const = True , visibility = ' private ' , is_virtual = True )
2008-07-08 10:43:58 -07:00
## tcp-socket.h: void ns3::TcpSocket::SetRcvBufSize(uint32_t size) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' SetRcvBufSize ' ,
' void ' ,
[ param ( ' uint32_t ' , ' size ' ) ] ,
is_pure_virtual = True , visibility = ' private ' , is_virtual = True )
2008-07-08 10:43:58 -07:00
## tcp-socket.h: uint32_t ns3::TcpSocket::GetRcvBufSize() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetRcvBufSize ' ,
' uint32_t ' ,
[ ] ,
is_pure_virtual = True , is_const = True , visibility = ' private ' , is_virtual = True )
2008-07-08 10:43:58 -07:00
## tcp-socket.h: void ns3::TcpSocket::SetSegSize(uint32_t size) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' SetSegSize ' ,
' void ' ,
[ param ( ' uint32_t ' , ' size ' ) ] ,
is_pure_virtual = True , visibility = ' private ' , is_virtual = True )
2008-07-08 10:43:58 -07:00
## tcp-socket.h: uint32_t ns3::TcpSocket::GetSegSize() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetSegSize ' ,
' uint32_t ' ,
[ ] ,
is_pure_virtual = True , is_const = True , visibility = ' private ' , is_virtual = True )
2008-07-08 10:43:58 -07:00
## tcp-socket.h: void ns3::TcpSocket::SetSSThresh(uint32_t threshold) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' SetSSThresh ' ,
' void ' ,
[ param ( ' uint32_t ' , ' threshold ' ) ] ,
is_pure_virtual = True , visibility = ' private ' , is_virtual = True )
2008-07-08 10:43:58 -07:00
## tcp-socket.h: uint32_t ns3::TcpSocket::GetSSThresh() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetSSThresh ' ,
' uint32_t ' ,
[ ] ,
is_pure_virtual = True , is_const = True , visibility = ' private ' , is_virtual = True )
2008-07-08 10:43:58 -07:00
## tcp-socket.h: void ns3::TcpSocket::SetInitialCwnd(uint32_t count) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' SetInitialCwnd ' ,
' void ' ,
[ param ( ' uint32_t ' , ' count ' ) ] ,
is_pure_virtual = True , visibility = ' private ' , is_virtual = True )
2008-07-08 10:43:58 -07:00
## tcp-socket.h: uint32_t ns3::TcpSocket::GetInitialCwnd() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetInitialCwnd ' ,
' uint32_t ' ,
[ ] ,
is_pure_virtual = True , is_const = True , visibility = ' private ' , is_virtual = True )
2008-07-08 10:43:58 -07:00
## tcp-socket.h: void ns3::TcpSocket::SetConnTimeout(ns3::Time timeout) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' SetConnTimeout ' ,
' void ' ,
[ param ( ' ns3::Time ' , ' timeout ' ) ] ,
is_pure_virtual = True , visibility = ' private ' , is_virtual = True )
2008-07-08 10:43:58 -07:00
## tcp-socket.h: ns3::Time ns3::TcpSocket::GetConnTimeout() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetConnTimeout ' ,
' ns3::Time ' ,
[ ] ,
is_pure_virtual = True , is_const = True , visibility = ' private ' , is_virtual = True )
2008-07-08 10:43:58 -07:00
## tcp-socket.h: void ns3::TcpSocket::SetConnCount(uint32_t count) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' SetConnCount ' ,
' void ' ,
[ param ( ' uint32_t ' , ' count ' ) ] ,
is_pure_virtual = True , visibility = ' private ' , is_virtual = True )
2008-07-08 10:43:58 -07:00
## tcp-socket.h: uint32_t ns3::TcpSocket::GetConnCount() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetConnCount ' ,
' uint32_t ' ,
[ ] ,
is_pure_virtual = True , is_const = True , visibility = ' private ' , is_virtual = True )
2008-07-08 10:43:58 -07:00
## tcp-socket.h: void ns3::TcpSocket::SetDelAckTimeout(ns3::Time timeout) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' SetDelAckTimeout ' ,
' void ' ,
[ param ( ' ns3::Time ' , ' timeout ' ) ] ,
is_pure_virtual = True , visibility = ' private ' , is_virtual = True )
2008-07-08 10:43:58 -07:00
## tcp-socket.h: ns3::Time ns3::TcpSocket::GetDelAckTimeout() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetDelAckTimeout ' ,
' ns3::Time ' ,
[ ] ,
2008-10-06 17:39:35 +01:00
is_pure_virtual = True , is_const = True , visibility = ' private ' , is_virtual = True )
## tcp-socket.h: void ns3::TcpSocket::SetDelAckMaxCount(uint32_t count) [member function]
cls . add_method ( ' SetDelAckMaxCount ' ,
' void ' ,
[ param ( ' uint32_t ' , ' count ' ) ] ,
is_pure_virtual = True , visibility = ' private ' , is_virtual = True )
## tcp-socket.h: uint32_t ns3::TcpSocket::GetDelAckMaxCount() const [member function]
cls . add_method ( ' GetDelAckMaxCount ' ,
' uint32_t ' ,
[ ] ,
is_pure_virtual = True , is_const = True , visibility = ' private ' , is_virtual = True )
return
def register_Ns3TcpSocketFactory_methods ( root_module , cls ) :
2009-02-25 11:00:50 +01:00
## tcp-socket-factory.h: ns3::TcpSocketFactory::TcpSocketFactory(ns3::TcpSocketFactory const & arg0) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::TcpSocketFactory const & ' , ' arg0 ' ) ] )
## tcp-socket-factory.h: ns3::TcpSocketFactory::TcpSocketFactory() [constructor]
cls . add_constructor ( [ ] )
2008-10-06 17:39:35 +01:00
## tcp-socket-factory.h: static ns3::TypeId ns3::TcpSocketFactory::GetTypeId() [member function]
cls . add_method ( ' GetTypeId ' ,
' ns3::TypeId ' ,
[ ] ,
is_static = True )
return
def register_Ns3UdpSocket_methods ( root_module , cls ) :
2009-02-25 11:00:50 +01:00
## udp-socket.h: ns3::UdpSocket::UdpSocket(ns3::UdpSocket const & arg0) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::UdpSocket const & ' , ' arg0 ' ) ] )
2008-10-06 17:39:35 +01:00
## udp-socket.h: static ns3::TypeId ns3::UdpSocket::GetTypeId() [member function]
cls . add_method ( ' GetTypeId ' ,
' ns3::TypeId ' ,
[ ] ,
is_static = True )
## udp-socket.h: ns3::UdpSocket::UdpSocket() [constructor]
cls . add_constructor ( [ ] )
## udp-socket.h: void ns3::UdpSocket::SetRcvBufSize(uint32_t size) [member function]
cls . add_method ( ' SetRcvBufSize ' ,
' void ' ,
[ param ( ' uint32_t ' , ' size ' ) ] ,
is_pure_virtual = True , visibility = ' private ' , is_virtual = True )
## udp-socket.h: uint32_t ns3::UdpSocket::GetRcvBufSize() const [member function]
cls . add_method ( ' GetRcvBufSize ' ,
' uint32_t ' ,
[ ] ,
is_pure_virtual = True , is_const = True , visibility = ' private ' , is_virtual = True )
## udp-socket.h: void ns3::UdpSocket::SetIpTtl(uint32_t ipTtl) [member function]
cls . add_method ( ' SetIpTtl ' ,
' void ' ,
[ param ( ' uint32_t ' , ' ipTtl ' ) ] ,
is_pure_virtual = True , visibility = ' private ' , is_virtual = True )
## udp-socket.h: uint32_t ns3::UdpSocket::GetIpTtl() const [member function]
cls . add_method ( ' GetIpTtl ' ,
' uint32_t ' ,
[ ] ,
is_pure_virtual = True , is_const = True , visibility = ' private ' , is_virtual = True )
## udp-socket.h: void ns3::UdpSocket::SetIpMulticastTtl(uint32_t ipTtl) [member function]
cls . add_method ( ' SetIpMulticastTtl ' ,
' void ' ,
[ param ( ' uint32_t ' , ' ipTtl ' ) ] ,
is_pure_virtual = True , visibility = ' private ' , is_virtual = True )
## udp-socket.h: uint32_t ns3::UdpSocket::GetIpMulticastTtl() const [member function]
cls . add_method ( ' GetIpMulticastTtl ' ,
' uint32_t ' ,
[ ] ,
is_pure_virtual = True , is_const = True , visibility = ' private ' , is_virtual = True )
2008-10-29 11:18:39 -07:00
## udp-socket.h: void ns3::UdpSocket::SetMtuDiscover(bool discover) [member function]
cls . add_method ( ' SetMtuDiscover ' ,
' void ' ,
[ param ( ' bool ' , ' discover ' ) ] ,
is_pure_virtual = True , visibility = ' private ' , is_virtual = True )
## udp-socket.h: bool ns3::UdpSocket::GetMtuDiscover() const [member function]
cls . add_method ( ' GetMtuDiscover ' ,
' bool ' ,
[ ] ,
is_pure_virtual = True , is_const = True , visibility = ' private ' , is_virtual = True )
2008-10-06 17:39:35 +01:00
return
def register_Ns3UdpSocketFactory_methods ( root_module , cls ) :
2009-02-25 11:00:50 +01:00
## udp-socket-factory.h: ns3::UdpSocketFactory::UdpSocketFactory(ns3::UdpSocketFactory const & arg0) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::UdpSocketFactory const & ' , ' arg0 ' ) ] )
## udp-socket-factory.h: ns3::UdpSocketFactory::UdpSocketFactory() [constructor]
cls . add_constructor ( [ ] )
2008-10-06 17:39:35 +01:00
## udp-socket-factory.h: static ns3::TypeId ns3::UdpSocketFactory::GetTypeId() [member function]
cls . add_method ( ' GetTypeId ' ,
' ns3::TypeId ' ,
[ ] ,
is_static = True )
return
def register_Ns3AddressChecker_methods ( root_module , cls ) :
2009-02-25 11:00:50 +01:00
## address.h: ns3::AddressChecker::AddressChecker(ns3::AddressChecker const & arg0) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::AddressChecker const & ' , ' arg0 ' ) ] )
## address.h: ns3::AddressChecker::AddressChecker() [constructor]
2008-10-06 17:39:35 +01:00
cls . add_constructor ( [ ] )
return
def register_Ns3AddressValue_methods ( root_module , cls ) :
2009-02-25 11:00:50 +01:00
## address.h: ns3::AddressValue::AddressValue(ns3::AddressValue const & arg0) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::AddressValue const & ' , ' arg0 ' ) ] )
2008-10-06 17:39:35 +01:00
## address.h: ns3::AddressValue::AddressValue() [constructor]
cls . add_constructor ( [ ] )
## address.h: ns3::AddressValue::AddressValue(ns3::Address const & value) [constructor]
cls . add_constructor ( [ param ( ' ns3::Address const & ' , ' value ' ) ] )
## address.h: void ns3::AddressValue::Set(ns3::Address const & value) [member function]
cls . add_method ( ' Set ' ,
' void ' ,
[ param ( ' ns3::Address const & ' , ' value ' ) ] )
## address.h: ns3::Address ns3::AddressValue::Get() const [member function]
cls . add_method ( ' Get ' ,
' ns3::Address ' ,
[ ] ,
is_const = True )
## address.h: ns3::Ptr<ns3::AttributeValue> ns3::AddressValue::Copy() const [member function]
cls . add_method ( ' Copy ' ,
' ns3::Ptr< ns3::AttributeValue > ' ,
[ ] ,
is_const = True , is_virtual = True )
## address.h: std::string ns3::AddressValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
cls . add_method ( ' SerializeToString ' ,
' std::string ' ,
[ param ( ' ns3::Ptr< ns3::AttributeChecker const > ' , ' checker ' ) ] ,
is_const = True , is_virtual = True )
## address.h: bool ns3::AddressValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
cls . add_method ( ' DeserializeFromString ' ,
' bool ' ,
[ param ( ' std::string ' , ' value ' ) , param ( ' ns3::Ptr< ns3::AttributeChecker const > ' , ' checker ' ) ] ,
is_virtual = True )
return
def register_Ns3Application_methods ( root_module , cls ) :
2009-02-25 11:00:50 +01:00
## application.h: ns3::Application::Application(ns3::Application const & arg0) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::Application const & ' , ' arg0 ' ) ] )
2008-10-06 17:39:35 +01:00
## application.h: static ns3::TypeId ns3::Application::GetTypeId() [member function]
cls . add_method ( ' GetTypeId ' ,
' ns3::TypeId ' ,
[ ] ,
is_static = True )
## application.h: ns3::Application::Application() [constructor]
cls . add_constructor ( [ ] )
## application.h: void ns3::Application::Start(ns3::Time const & startTime) [member function]
cls . add_method ( ' Start ' ,
' void ' ,
[ param ( ' ns3::Time const & ' , ' startTime ' ) ] )
## application.h: void ns3::Application::Start(ns3::RandomVariable const & startVariable) [member function]
cls . add_method ( ' Start ' ,
' void ' ,
[ param ( ' ns3::RandomVariable const & ' , ' startVariable ' ) ] )
## application.h: void ns3::Application::Stop(ns3::Time const & stopTime) [member function]
cls . add_method ( ' Stop ' ,
' void ' ,
[ param ( ' ns3::Time const & ' , ' stopTime ' ) ] )
## application.h: void ns3::Application::Stop(ns3::RandomVariable const & stopVariable) [member function]
cls . add_method ( ' Stop ' ,
' void ' ,
[ param ( ' ns3::RandomVariable const & ' , ' stopVariable ' ) ] )
## application.h: ns3::Ptr<ns3::Node> ns3::Application::GetNode() const [member function]
cls . add_method ( ' GetNode ' ,
' ns3::Ptr< ns3::Node > ' ,
[ ] ,
is_const = True )
## application.h: void ns3::Application::SetNode(ns3::Ptr<ns3::Node> node) [member function]
cls . add_method ( ' SetNode ' ,
' void ' ,
[ param ( ' ns3::Ptr< ns3::Node > ' , ' node ' ) ] )
## application.h: void ns3::Application::DoDispose() [member function]
cls . add_method ( ' DoDispose ' ,
' void ' ,
[ ] ,
visibility = ' protected ' , is_virtual = True )
## application.h: void ns3::Application::StartApplication() [member function]
cls . add_method ( ' StartApplication ' ,
' void ' ,
[ ] ,
visibility = ' private ' , is_virtual = True )
## application.h: void ns3::Application::StopApplication() [member function]
cls . add_method ( ' StopApplication ' ,
' void ' ,
[ ] ,
visibility = ' private ' , is_virtual = True )
return
def register_Ns3Channel_methods ( root_module , cls ) :
2009-02-25 11:00:50 +01:00
## channel.h: ns3::Channel::Channel(ns3::Channel const & arg0) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::Channel const & ' , ' arg0 ' ) ] )
2008-10-06 17:39:35 +01:00
## channel.h: static ns3::TypeId ns3::Channel::GetTypeId() [member function]
cls . add_method ( ' GetTypeId ' ,
' ns3::TypeId ' ,
[ ] ,
is_static = True )
## channel.h: ns3::Channel::Channel() [constructor]
cls . add_constructor ( [ ] )
## channel.h: uint32_t ns3::Channel::GetNDevices() const [member function]
cls . add_method ( ' GetNDevices ' ,
2008-07-21 15:30:15 +01:00
' uint32_t ' ,
[ ] ,
2008-10-06 17:39:35 +01:00
is_pure_virtual = True , is_const = True , is_virtual = True )
## channel.h: ns3::Ptr<ns3::NetDevice> ns3::Channel::GetDevice(uint32_t i) const [member function]
cls . add_method ( ' GetDevice ' ,
' ns3::Ptr< ns3::NetDevice > ' ,
[ param ( ' uint32_t ' , ' i ' ) ] ,
is_pure_virtual = True , is_const = True , is_virtual = True )
return
def register_Ns3DropTailQueue_methods ( root_module , cls ) :
2009-02-25 11:00:50 +01:00
## drop-tail-queue.h: ns3::DropTailQueue::DropTailQueue(ns3::DropTailQueue const & arg0) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::DropTailQueue const & ' , ' arg0 ' ) ] )
2008-10-06 17:39:35 +01:00
## drop-tail-queue.h: static ns3::TypeId ns3::DropTailQueue::GetTypeId() [member function]
cls . add_method ( ' GetTypeId ' ,
' ns3::TypeId ' ,
[ ] ,
is_static = True )
## drop-tail-queue.h: ns3::DropTailQueue::DropTailQueue() [constructor]
cls . add_constructor ( [ ] )
2009-02-21 23:19:18 +00:00
## drop-tail-queue.h: void ns3::DropTailQueue::SetMode(ns3::DropTailQueue::Mode mode) [member function]
cls . add_method ( ' SetMode ' ,
' void ' ,
[ param ( ' ns3::DropTailQueue::Mode ' , ' mode ' ) ] )
## drop-tail-queue.h: ns3::DropTailQueue::Mode ns3::DropTailQueue::GetMode() [member function]
cls . add_method ( ' GetMode ' ,
' ns3::DropTailQueue::Mode ' ,
[ ] )
2008-10-06 17:39:35 +01:00
## drop-tail-queue.h: bool ns3::DropTailQueue::DoEnqueue(ns3::Ptr<ns3::Packet> p) [member function]
cls . add_method ( ' DoEnqueue ' ,
' bool ' ,
[ param ( ' ns3::Ptr< ns3::Packet > ' , ' p ' ) ] ,
visibility = ' private ' , is_virtual = True )
## drop-tail-queue.h: ns3::Ptr<ns3::Packet> ns3::DropTailQueue::DoDequeue() [member function]
cls . add_method ( ' DoDequeue ' ,
' ns3::Ptr< ns3::Packet > ' ,
[ ] ,
visibility = ' private ' , is_virtual = True )
## drop-tail-queue.h: ns3::Ptr<const ns3::Packet> ns3::DropTailQueue::DoPeek() const [member function]
cls . add_method ( ' DoPeek ' ,
' ns3::Ptr< ns3::Packet const > ' ,
[ ] ,
is_const = True , visibility = ' private ' , is_virtual = True )
2008-07-08 10:43:58 -07:00
return
def register_Ns3EthernetHeader_methods ( root_module , cls ) :
2009-02-25 11:00:50 +01:00
## ethernet-header.h: ns3::EthernetHeader::EthernetHeader(ns3::EthernetHeader const & arg0) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::EthernetHeader const & ' , ' arg0 ' ) ] )
2008-07-08 10:43:58 -07:00
## ethernet-header.h: ns3::EthernetHeader::EthernetHeader(bool hasPreamble) [constructor]
2008-07-21 15:30:15 +01:00
cls . add_constructor ( [ param ( ' bool ' , ' hasPreamble ' ) ] )
2008-07-08 10:43:58 -07:00
## ethernet-header.h: ns3::EthernetHeader::EthernetHeader() [constructor]
2008-07-21 15:30:15 +01:00
cls . add_constructor ( [ ] )
2008-07-08 10:43:58 -07:00
## ethernet-header.h: void ns3::EthernetHeader::SetLengthType(uint16_t size) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' SetLengthType ' ,
' void ' ,
[ param ( ' uint16_t ' , ' size ' ) ] )
2008-07-08 10:43:58 -07:00
## ethernet-header.h: void ns3::EthernetHeader::SetSource(ns3::Mac48Address source) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' SetSource ' ,
' void ' ,
[ param ( ' ns3::Mac48Address ' , ' source ' ) ] )
2008-07-08 10:43:58 -07:00
## ethernet-header.h: void ns3::EthernetHeader::SetDestination(ns3::Mac48Address destination) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' SetDestination ' ,
' void ' ,
[ param ( ' ns3::Mac48Address ' , ' destination ' ) ] )
2008-07-08 10:43:58 -07:00
## ethernet-header.h: void ns3::EthernetHeader::SetPreambleSfd(uint64_t preambleSfd) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' SetPreambleSfd ' ,
' void ' ,
[ param ( ' uint64_t ' , ' preambleSfd ' ) ] )
2008-07-08 10:43:58 -07:00
## ethernet-header.h: uint16_t ns3::EthernetHeader::GetLengthType() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetLengthType ' ,
' uint16_t ' ,
[ ] ,
is_const = True )
2008-07-08 10:43:58 -07:00
## ethernet-header.h: ns3::ethernet_header_t ns3::EthernetHeader::GetPacketType() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetPacketType ' ,
' ns3::ethernet_header_t ' ,
[ ] ,
is_const = True )
2008-07-08 10:43:58 -07:00
## ethernet-header.h: ns3::Mac48Address ns3::EthernetHeader::GetSource() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetSource ' ,
' ns3::Mac48Address ' ,
[ ] ,
is_const = True )
2008-07-08 10:43:58 -07:00
## ethernet-header.h: ns3::Mac48Address ns3::EthernetHeader::GetDestination() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetDestination ' ,
' ns3::Mac48Address ' ,
[ ] ,
is_const = True )
2008-07-08 10:43:58 -07:00
## ethernet-header.h: uint64_t ns3::EthernetHeader::GetPreambleSfd() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetPreambleSfd ' ,
' uint64_t ' ,
[ ] ,
is_const = True )
2008-07-08 10:43:58 -07:00
## ethernet-header.h: uint32_t ns3::EthernetHeader::GetHeaderSize() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetHeaderSize ' ,
' uint32_t ' ,
[ ] ,
is_const = True )
2008-07-08 10:43:58 -07:00
## ethernet-header.h: static ns3::TypeId ns3::EthernetHeader::GetTypeId() [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetTypeId ' ,
' ns3::TypeId ' ,
[ ] ,
is_static = True )
2008-07-08 10:43:58 -07:00
## ethernet-header.h: ns3::TypeId ns3::EthernetHeader::GetInstanceTypeId() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetInstanceTypeId ' ,
' ns3::TypeId ' ,
[ ] ,
is_const = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## ethernet-header.h: void ns3::EthernetHeader::Print(std::ostream & os) const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Print ' ,
' void ' ,
2008-09-02 11:12:42 +01:00
[ param ( ' std::ostream & ' , ' os ' ) ] ,
2008-07-21 15:30:15 +01:00
is_const = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## ethernet-header.h: uint32_t ns3::EthernetHeader::GetSerializedSize() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetSerializedSize ' ,
' uint32_t ' ,
[ ] ,
is_const = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## ethernet-header.h: void ns3::EthernetHeader::Serialize(ns3::Buffer::Iterator start) const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Serialize ' ,
' void ' ,
[ param ( ' ns3::Buffer::Iterator ' , ' start ' ) ] ,
is_const = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## ethernet-header.h: uint32_t ns3::EthernetHeader::Deserialize(ns3::Buffer::Iterator start) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Deserialize ' ,
' uint32_t ' ,
[ param ( ' ns3::Buffer::Iterator ' , ' start ' ) ] ,
is_virtual = True )
2008-07-08 10:43:58 -07:00
return
2008-10-06 17:39:35 +01:00
def register_Ns3EthernetTrailer_methods ( root_module , cls ) :
2009-02-25 11:00:50 +01:00
## ethernet-trailer.h: ns3::EthernetTrailer::EthernetTrailer(ns3::EthernetTrailer const & arg0) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::EthernetTrailer const & ' , ' arg0 ' ) ] )
2008-10-06 17:39:35 +01:00
## ethernet-trailer.h: ns3::EthernetTrailer::EthernetTrailer() [constructor]
2008-07-21 15:30:15 +01:00
cls . add_constructor ( [ ] )
2008-10-06 17:39:35 +01:00
## ethernet-trailer.h: static void ns3::EthernetTrailer::EnableFcs(bool enable) [member function]
cls . add_method ( ' EnableFcs ' ,
2008-07-21 15:30:15 +01:00
' void ' ,
2008-10-06 17:39:35 +01:00
[ param ( ' bool ' , ' enable ' ) ] ,
is_static = True )
## ethernet-trailer.h: void ns3::EthernetTrailer::CalcFcs(ns3::Ptr<ns3::Packet> p) [member function]
cls . add_method ( ' CalcFcs ' ,
' void ' ,
[ param ( ' ns3::Ptr< ns3::Packet > ' , ' p ' ) ] )
## ethernet-trailer.h: void ns3::EthernetTrailer::SetFcs(uint32_t fcs) [member function]
cls . add_method ( ' SetFcs ' ,
' void ' ,
[ param ( ' uint32_t ' , ' fcs ' ) ] )
## ethernet-trailer.h: uint32_t ns3::EthernetTrailer::GetFcs() [member function]
cls . add_method ( ' GetFcs ' ,
' uint32_t ' ,
[ ] )
## ethernet-trailer.h: bool ns3::EthernetTrailer::CheckFcs(ns3::Ptr<ns3::Packet> p) const [member function]
cls . add_method ( ' CheckFcs ' ,
' bool ' ,
[ param ( ' ns3::Ptr< ns3::Packet > ' , ' p ' ) ] ,
is_const = True )
## ethernet-trailer.h: uint32_t ns3::EthernetTrailer::GetTrailerSize() const [member function]
cls . add_method ( ' GetTrailerSize ' ,
' uint32_t ' ,
2008-07-21 15:30:15 +01:00
[ ] ,
is_const = True )
2008-10-06 17:39:35 +01:00
## ethernet-trailer.h: static ns3::TypeId ns3::EthernetTrailer::GetTypeId() [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetTypeId ' ,
' ns3::TypeId ' ,
[ ] ,
is_static = True )
2008-10-06 17:39:35 +01:00
## ethernet-trailer.h: ns3::TypeId ns3::EthernetTrailer::GetInstanceTypeId() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetInstanceTypeId ' ,
' ns3::TypeId ' ,
[ ] ,
is_const = True , is_virtual = True )
2008-10-06 17:39:35 +01:00
## ethernet-trailer.h: void ns3::EthernetTrailer::Print(std::ostream & os) const [member function]
cls . add_method ( ' Print ' ,
' void ' ,
[ param ( ' std::ostream & ' , ' os ' ) ] ,
is_const = True , is_virtual = True )
## ethernet-trailer.h: uint32_t ns3::EthernetTrailer::GetSerializedSize() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetSerializedSize ' ,
' uint32_t ' ,
[ ] ,
is_const = True , is_virtual = True )
2008-10-06 17:39:35 +01:00
## ethernet-trailer.h: void ns3::EthernetTrailer::Serialize(ns3::Buffer::Iterator end) const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Serialize ' ,
' void ' ,
2008-10-06 17:39:35 +01:00
[ param ( ' ns3::Buffer::Iterator ' , ' end ' ) ] ,
2008-07-21 15:30:15 +01:00
is_const = True , is_virtual = True )
2008-10-06 17:39:35 +01:00
## ethernet-trailer.h: uint32_t ns3::EthernetTrailer::Deserialize(ns3::Buffer::Iterator end) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Deserialize ' ,
2008-10-06 17:39:35 +01:00
' uint32_t ' ,
[ param ( ' ns3::Buffer::Iterator ' , ' end ' ) ] ,
2008-07-21 15:30:15 +01:00
is_virtual = True )
2008-07-08 10:43:58 -07:00
return
def register_Ns3Ipv4_methods ( root_module , cls ) :
2009-02-25 11:00:50 +01:00
## ipv4.h: ns3::Ipv4::Ipv4(ns3::Ipv4 const & arg0) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::Ipv4 const & ' , ' arg0 ' ) ] )
2008-07-08 10:43:58 -07:00
## ipv4.h: static ns3::TypeId ns3::Ipv4::GetTypeId() [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetTypeId ' ,
' ns3::TypeId ' ,
[ ] ,
is_static = True )
2008-07-08 10:43:58 -07:00
## ipv4.h: ns3::Ipv4::Ipv4() [constructor]
2008-07-21 15:30:15 +01:00
cls . add_constructor ( [ ] )
2008-07-08 10:43:58 -07:00
## ipv4.h: void ns3::Ipv4::AddRoutingProtocol(ns3::Ptr<ns3::Ipv4RoutingProtocol> routingProtocol, int16_t priority) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' AddRoutingProtocol ' ,
' void ' ,
[ param ( ' ns3::Ptr< ns3::Ipv4RoutingProtocol > ' , ' routingProtocol ' ) , param ( ' int16_t ' , ' priority ' ) ] ,
is_pure_virtual = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## ipv4.h: void ns3::Ipv4::AddHostRouteTo(ns3::Ipv4Address dest, ns3::Ipv4Address nextHop, uint32_t interface) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' AddHostRouteTo ' ,
' void ' ,
[ param ( ' ns3::Ipv4Address ' , ' dest ' ) , param ( ' ns3::Ipv4Address ' , ' nextHop ' ) , param ( ' uint32_t ' , ' interface ' ) ] ,
is_pure_virtual = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## ipv4.h: void ns3::Ipv4::AddHostRouteTo(ns3::Ipv4Address dest, uint32_t interface) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' AddHostRouteTo ' ,
' void ' ,
[ param ( ' ns3::Ipv4Address ' , ' dest ' ) , param ( ' uint32_t ' , ' interface ' ) ] ,
is_pure_virtual = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## ipv4.h: void ns3::Ipv4::AddNetworkRouteTo(ns3::Ipv4Address network, ns3::Ipv4Mask networkMask, ns3::Ipv4Address nextHop, uint32_t interface) [member function]
2008-07-21 15:30:15 +01:00
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 )
2008-07-08 10:43:58 -07:00
## ipv4.h: void ns3::Ipv4::AddNetworkRouteTo(ns3::Ipv4Address network, ns3::Ipv4Mask networkMask, uint32_t interface) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' AddNetworkRouteTo ' ,
' void ' ,
[ param ( ' ns3::Ipv4Address ' , ' network ' ) , param ( ' ns3::Ipv4Mask ' , ' networkMask ' ) , param ( ' uint32_t ' , ' interface ' ) ] ,
is_pure_virtual = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## ipv4.h: void ns3::Ipv4::SetDefaultRoute(ns3::Ipv4Address nextHop, uint32_t interface) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' SetDefaultRoute ' ,
' void ' ,
[ param ( ' ns3::Ipv4Address ' , ' nextHop ' ) , param ( ' uint32_t ' , ' interface ' ) ] ,
is_pure_virtual = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## ipv4.h: uint32_t ns3::Ipv4::GetNRoutes() [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetNRoutes ' ,
' uint32_t ' ,
[ ] ,
is_pure_virtual = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## ipv4.h: ns3::Ipv4Route ns3::Ipv4::GetRoute(uint32_t i) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetRoute ' ,
' ns3::Ipv4Route ' ,
[ param ( ' uint32_t ' , ' i ' ) ] ,
is_pure_virtual = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## ipv4.h: void ns3::Ipv4::RemoveRoute(uint32_t i) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' RemoveRoute ' ,
' void ' ,
[ param ( ' uint32_t ' , ' i ' ) ] ,
is_pure_virtual = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## ipv4.h: void ns3::Ipv4::AddMulticastRoute(ns3::Ipv4Address origin, ns3::Ipv4Address group, uint32_t inputInterface, std::vector<unsigned int, std::allocator<unsigned int> > outputInterfaces) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' AddMulticastRoute ' ,
' void ' ,
2008-08-29 14:56:24 +01:00
[ param ( ' ns3::Ipv4Address ' , ' origin ' ) , param ( ' ns3::Ipv4Address ' , ' group ' ) , param ( ' uint32_t ' , ' inputInterface ' ) , param ( ' std::vector< unsigned int > ' , ' outputInterfaces ' ) ] ,
2008-07-21 15:30:15 +01:00
is_pure_virtual = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## ipv4.h: void ns3::Ipv4::RemoveMulticastRoute(ns3::Ipv4Address origin, ns3::Ipv4Address group, uint32_t inputInterface) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' RemoveMulticastRoute ' ,
' void ' ,
[ param ( ' ns3::Ipv4Address ' , ' origin ' ) , param ( ' ns3::Ipv4Address ' , ' group ' ) , param ( ' uint32_t ' , ' inputInterface ' ) ] ,
is_pure_virtual = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## ipv4.h: void ns3::Ipv4::SetDefaultMulticastRoute(uint32_t outputInterface) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' SetDefaultMulticastRoute ' ,
' void ' ,
[ param ( ' uint32_t ' , ' outputInterface ' ) ] ,
is_pure_virtual = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## ipv4.h: uint32_t ns3::Ipv4::GetNMulticastRoutes() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetNMulticastRoutes ' ,
' uint32_t ' ,
[ ] ,
is_pure_virtual = True , is_const = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## ipv4.h: ns3::Ipv4MulticastRoute ns3::Ipv4::GetMulticastRoute(uint32_t i) const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetMulticastRoute ' ,
' ns3::Ipv4MulticastRoute ' ,
[ param ( ' uint32_t ' , ' i ' ) ] ,
is_pure_virtual = True , is_const = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## ipv4.h: void ns3::Ipv4::RemoveMulticastRoute(uint32_t i) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' RemoveMulticastRoute ' ,
' void ' ,
[ param ( ' uint32_t ' , ' i ' ) ] ,
is_pure_virtual = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## ipv4.h: uint32_t ns3::Ipv4::AddInterface(ns3::Ptr<ns3::NetDevice> device) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' AddInterface ' ,
' uint32_t ' ,
[ param ( ' ns3::Ptr< ns3::NetDevice > ' , ' device ' ) ] ,
is_pure_virtual = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## ipv4.h: uint32_t ns3::Ipv4::GetNInterfaces() [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetNInterfaces ' ,
' uint32_t ' ,
[ ] ,
is_pure_virtual = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## ipv4.h: uint32_t ns3::Ipv4::FindInterfaceForAddr(ns3::Ipv4Address addr) const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' FindInterfaceForAddr ' ,
' uint32_t ' ,
[ param ( ' ns3::Ipv4Address ' , ' addr ' ) ] ,
is_pure_virtual = True , is_const = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## ipv4.h: uint32_t ns3::Ipv4::FindInterfaceForAddr(ns3::Ipv4Address addr, ns3::Ipv4Mask mask) const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' FindInterfaceForAddr ' ,
' uint32_t ' ,
[ param ( ' ns3::Ipv4Address ' , ' addr ' ) , param ( ' ns3::Ipv4Mask ' , ' mask ' ) ] ,
is_pure_virtual = True , is_const = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## ipv4.h: int32_t ns3::Ipv4::FindInterfaceForDevice(ns3::Ptr<ns3::NetDevice> nd) const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' FindInterfaceForDevice ' ,
' int32_t ' ,
[ param ( ' ns3::Ptr< ns3::NetDevice > ' , ' nd ' ) ] ,
is_pure_virtual = True , is_const = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## ipv4.h: ns3::Ptr<ns3::NetDevice> ns3::Ipv4::GetNetDevice(uint32_t i) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetNetDevice ' ,
' ns3::Ptr< ns3::NetDevice > ' ,
[ param ( ' uint32_t ' , ' i ' ) ] ,
is_pure_virtual = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## ipv4.h: void ns3::Ipv4::JoinMulticastGroup(ns3::Ipv4Address origin, ns3::Ipv4Address group) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' JoinMulticastGroup ' ,
' void ' ,
[ param ( ' ns3::Ipv4Address ' , ' origin ' ) , param ( ' ns3::Ipv4Address ' , ' group ' ) ] ,
is_pure_virtual = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## ipv4.h: void ns3::Ipv4::LeaveMulticastGroup(ns3::Ipv4Address origin, ns3::Ipv4Address group) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' LeaveMulticastGroup ' ,
' void ' ,
[ param ( ' ns3::Ipv4Address ' , ' origin ' ) , param ( ' ns3::Ipv4Address ' , ' group ' ) ] ,
is_pure_virtual = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## ipv4.h: void ns3::Ipv4::SetAddress(uint32_t i, ns3::Ipv4Address address) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' SetAddress ' ,
' void ' ,
[ param ( ' uint32_t ' , ' i ' ) , param ( ' ns3::Ipv4Address ' , ' address ' ) ] ,
is_pure_virtual = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## ipv4.h: void ns3::Ipv4::SetNetworkMask(uint32_t i, ns3::Ipv4Mask mask) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' SetNetworkMask ' ,
' void ' ,
[ param ( ' uint32_t ' , ' i ' ) , param ( ' ns3::Ipv4Mask ' , ' mask ' ) ] ,
is_pure_virtual = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## ipv4.h: ns3::Ipv4Mask ns3::Ipv4::GetNetworkMask(uint32_t i) const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetNetworkMask ' ,
' ns3::Ipv4Mask ' ,
[ param ( ' uint32_t ' , ' i ' ) ] ,
is_pure_virtual = True , is_const = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## ipv4.h: void ns3::Ipv4::SetMetric(uint32_t i, uint16_t metric) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' SetMetric ' ,
' void ' ,
[ param ( ' uint32_t ' , ' i ' ) , param ( ' uint16_t ' , ' metric ' ) ] ,
is_pure_virtual = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## ipv4.h: uint16_t ns3::Ipv4::GetMetric(uint32_t i) const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetMetric ' ,
' uint16_t ' ,
[ param ( ' uint32_t ' , ' i ' ) ] ,
is_pure_virtual = True , is_const = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## ipv4.h: ns3::Ipv4Address ns3::Ipv4::GetAddress(uint32_t i) const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetAddress ' ,
' ns3::Ipv4Address ' ,
[ param ( ' uint32_t ' , ' i ' ) ] ,
is_pure_virtual = True , is_const = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## ipv4.h: ns3::Ipv4Address ns3::Ipv4::GetSourceAddress(ns3::Ipv4Address destination) const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetSourceAddress ' ,
' ns3::Ipv4Address ' ,
[ param ( ' ns3::Ipv4Address ' , ' destination ' ) ] ,
is_pure_virtual = True , is_const = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## ipv4.h: bool ns3::Ipv4::GetIfIndexForDestination(ns3::Ipv4Address dest, uint32_t & ifIndex) const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetIfIndexForDestination ' ,
' bool ' ,
2008-09-02 11:12:42 +01:00
[ param ( ' ns3::Ipv4Address ' , ' dest ' ) , param ( ' uint32_t & ' , ' ifIndex ' ) ] ,
2008-07-21 15:30:15 +01:00
is_pure_virtual = True , is_const = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## ipv4.h: uint16_t ns3::Ipv4::GetMtu(uint32_t i) const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetMtu ' ,
' uint16_t ' ,
[ param ( ' uint32_t ' , ' i ' ) ] ,
is_pure_virtual = True , is_const = True , is_virtual = True )
2008-10-06 17:39:35 +01:00
## ipv4.h: bool ns3::Ipv4::IsUp(uint32_t i) const [member function]
cls . add_method ( ' IsUp ' ,
' bool ' ,
[ param ( ' uint32_t ' , ' i ' ) ] ,
is_pure_virtual = True , is_const = True , is_virtual = True )
## ipv4.h: void ns3::Ipv4::SetUp(uint32_t i) [member function]
cls . add_method ( ' SetUp ' ,
' void ' ,
[ param ( ' uint32_t ' , ' i ' ) ] ,
is_pure_virtual = True , is_virtual = True )
## ipv4.h: void ns3::Ipv4::SetDown(uint32_t i) [member function]
cls . add_method ( ' SetDown ' ,
' void ' ,
[ param ( ' uint32_t ' , ' i ' ) ] ,
is_pure_virtual = True , is_virtual = True )
## ipv4.h: uint32_t ns3::Ipv4::GetIfIndexByAddress(ns3::Ipv4Address addr, ns3::Ipv4Mask mask=ns3::Ipv4Mask(((const char*)"255.255.255.255"))) [member function]
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 )
return
2008-10-29 11:18:39 -07:00
def register_Ns3Ipv4RawSocketFactory_methods ( root_module , cls ) :
2009-02-25 11:00:50 +01:00
## ipv4-raw-socket-factory.h: ns3::Ipv4RawSocketFactory::Ipv4RawSocketFactory(ns3::Ipv4RawSocketFactory const & arg0) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::Ipv4RawSocketFactory const & ' , ' arg0 ' ) ] )
## ipv4-raw-socket-factory.h: ns3::Ipv4RawSocketFactory::Ipv4RawSocketFactory() [constructor]
cls . add_constructor ( [ ] )
2008-10-29 11:18:39 -07:00
## ipv4-raw-socket-factory.h: static ns3::TypeId ns3::Ipv4RawSocketFactory::GetTypeId() [member function]
cls . add_method ( ' GetTypeId ' ,
' ns3::TypeId ' ,
[ ] ,
is_static = True )
return
2008-10-06 17:39:35 +01:00
def register_Ns3Ipv4RoutingProtocol_methods ( root_module , cls ) :
## ipv4.h: ns3::Ipv4RoutingProtocol::IF_INDEX_ANY [variable]
cls . add_static_attribute ( ' IF_INDEX_ANY ' , ' uint32_t const ' , is_const = True )
## ipv4.h: ns3::Ipv4RoutingProtocol::Ipv4RoutingProtocol(ns3::Ipv4RoutingProtocol const & arg0) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::Ipv4RoutingProtocol const & ' , ' arg0 ' ) ] )
## ipv4.h: ns3::Ipv4RoutingProtocol::Ipv4RoutingProtocol() [constructor]
cls . add_constructor ( [ ] )
2009-01-09 13:18:29 +01:00
## ipv4.h: bool ns3::Ipv4RoutingProtocol::RequestRoute(uint32_t ifIndex, ns3::Ipv4Header const & ipHeader, ns3::Ptr<ns3::Packet> packet, ns3::Callback<void,bool,const ns3::Ipv4Route&,ns3::Ptr<ns3::Packet>,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> routeReply) [member function]
2008-10-06 17:39:35 +01:00
cls . add_method ( ' RequestRoute ' ,
' bool ' ,
2009-01-09 13:18:29 +01:00
[ param ( ' uint32_t ' , ' ifIndex ' ) , param ( ' ns3::Ipv4Header const & ' , ' ipHeader ' ) , param ( ' ns3::Ptr< ns3::Packet > ' , ' packet ' ) , param ( ' ns3::Callback< void, bool, ns3::Ipv4Route const &, ns3::Ptr< ns3::Packet >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty > ' , ' routeReply ' ) ] ,
2008-10-06 17:39:35 +01:00
is_pure_virtual = True , is_virtual = True )
## ipv4.h: bool ns3::Ipv4RoutingProtocol::RequestIfIndex(ns3::Ipv4Address destination, uint32_t & ifIndex) [member function]
cls . add_method ( ' RequestIfIndex ' ,
' bool ' ,
[ param ( ' ns3::Ipv4Address ' , ' destination ' ) , param ( ' uint32_t & ' , ' ifIndex ' ) ] ,
is_pure_virtual = True , is_virtual = True )
return
def register_Ns3NetDevice_methods ( root_module , cls ) :
2009-02-25 11:00:50 +01:00
## net-device.h: ns3::NetDevice::NetDevice(ns3::NetDevice const & arg0) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::NetDevice const & ' , ' arg0 ' ) ] )
## net-device.h: ns3::NetDevice::NetDevice() [constructor]
cls . add_constructor ( [ ] )
2008-10-06 17:39:35 +01:00
## net-device.h: static ns3::TypeId ns3::NetDevice::GetTypeId() [member function]
cls . add_method ( ' GetTypeId ' ,
' ns3::TypeId ' ,
[ ] ,
is_static = True )
## net-device.h: void ns3::NetDevice::SetIfIndex(uint32_t const index) [member function]
cls . add_method ( ' SetIfIndex ' ,
' void ' ,
[ param ( ' uint32_t const ' , ' index ' ) ] ,
is_pure_virtual = True , is_virtual = True )
## net-device.h: uint32_t ns3::NetDevice::GetIfIndex() const [member function]
cls . add_method ( ' GetIfIndex ' ,
' uint32_t ' ,
[ ] ,
is_pure_virtual = True , is_const = True , is_virtual = True )
## net-device.h: ns3::Ptr<ns3::Channel> ns3::NetDevice::GetChannel() const [member function]
cls . add_method ( ' GetChannel ' ,
' ns3::Ptr< ns3::Channel > ' ,
[ ] ,
is_pure_virtual = True , is_const = True , is_virtual = True )
## net-device.h: ns3::Address ns3::NetDevice::GetAddress() const [member function]
cls . add_method ( ' GetAddress ' ,
' ns3::Address ' ,
[ ] ,
is_pure_virtual = True , is_const = True , is_virtual = True )
## net-device.h: bool ns3::NetDevice::SetMtu(uint16_t const mtu) [member function]
cls . add_method ( ' SetMtu ' ,
' bool ' ,
[ param ( ' uint16_t const ' , ' mtu ' ) ] ,
is_pure_virtual = True , is_virtual = True )
## net-device.h: uint16_t ns3::NetDevice::GetMtu() const [member function]
cls . add_method ( ' GetMtu ' ,
' uint16_t ' ,
[ ] ,
is_pure_virtual = True , is_const = True , is_virtual = True )
## net-device.h: bool ns3::NetDevice::IsLinkUp() const [member function]
cls . add_method ( ' IsLinkUp ' ,
' bool ' ,
[ ] ,
is_pure_virtual = True , is_const = True , is_virtual = True )
2009-01-09 13:18:29 +01:00
## net-device.h: void ns3::NetDevice::SetLinkChangeCallback(ns3::Callback<void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> callback) [member function]
2008-10-06 17:39:35 +01:00
cls . add_method ( ' SetLinkChangeCallback ' ,
' void ' ,
2009-01-09 13:18:29 +01:00
[ param ( ' ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty > ' , ' callback ' ) ] ,
2008-10-06 17:39:35 +01:00
is_pure_virtual = True , is_virtual = True )
## net-device.h: bool ns3::NetDevice::IsBroadcast() const [member function]
cls . add_method ( ' IsBroadcast ' ,
' bool ' ,
[ ] ,
is_pure_virtual = True , is_const = True , is_virtual = True )
## net-device.h: ns3::Address ns3::NetDevice::GetBroadcast() const [member function]
cls . add_method ( ' GetBroadcast ' ,
' ns3::Address ' ,
[ ] ,
is_pure_virtual = True , is_const = True , is_virtual = True )
## net-device.h: bool ns3::NetDevice::IsMulticast() const [member function]
cls . add_method ( ' IsMulticast ' ,
' bool ' ,
[ ] ,
is_pure_virtual = True , is_const = True , is_virtual = True )
2008-11-05 14:49:21 -08:00
## net-device.h: ns3::Address ns3::NetDevice::GetMulticast(ns3::Ipv4Address multicastGroup) const [member function]
2008-10-06 17:39:35 +01:00
cls . add_method ( ' GetMulticast ' ,
' ns3::Address ' ,
[ param ( ' ns3::Ipv4Address ' , ' multicastGroup ' ) ] ,
is_pure_virtual = True , is_const = True , is_virtual = True )
2008-11-08 15:00:28 +00:00
## net-device.h: ns3::Address ns3::NetDevice::GetMulticast(ns3::Ipv6Address addr) const [member function]
cls . add_method ( ' GetMulticast ' ,
' ns3::Address ' ,
[ param ( ' ns3::Ipv6Address ' , ' addr ' ) ] ,
is_pure_virtual = True , is_const = True , is_virtual = True )
2008-11-28 14:45:48 +00:00
## net-device.h: bool ns3::NetDevice::IsBridge() const [member function]
cls . add_method ( ' IsBridge ' ,
' bool ' ,
[ ] ,
is_pure_virtual = True , is_const = True , is_virtual = True )
2008-10-06 17:39:35 +01:00
## net-device.h: bool ns3::NetDevice::IsPointToPoint() const [member function]
cls . add_method ( ' IsPointToPoint ' ,
' bool ' ,
[ ] ,
is_pure_virtual = True , is_const = True , is_virtual = True )
## net-device.h: bool ns3::NetDevice::Send(ns3::Ptr<ns3::Packet> packet, ns3::Address const & dest, uint16_t protocolNumber) [member function]
cls . add_method ( ' Send ' ,
' bool ' ,
[ param ( ' ns3::Ptr< ns3::Packet > ' , ' packet ' ) , param ( ' ns3::Address const & ' , ' dest ' ) , param ( ' uint16_t ' , ' protocolNumber ' ) ] ,
is_pure_virtual = True , is_virtual = True )
## net-device.h: bool ns3::NetDevice::SendFrom(ns3::Ptr<ns3::Packet> packet, ns3::Address const & source, ns3::Address const & dest, uint16_t protocolNumber) [member function]
cls . add_method ( ' SendFrom ' ,
' bool ' ,
[ param ( ' ns3::Ptr< ns3::Packet > ' , ' packet ' ) , param ( ' ns3::Address const & ' , ' source ' ) , param ( ' ns3::Address const & ' , ' dest ' ) , param ( ' uint16_t ' , ' protocolNumber ' ) ] ,
is_pure_virtual = True , is_virtual = True )
## net-device.h: ns3::Ptr<ns3::Node> ns3::NetDevice::GetNode() const [member function]
cls . add_method ( ' GetNode ' ,
' ns3::Ptr< ns3::Node > ' ,
[ ] ,
is_pure_virtual = True , is_const = True , is_virtual = True )
## net-device.h: void ns3::NetDevice::SetNode(ns3::Ptr<ns3::Node> node) [member function]
cls . add_method ( ' SetNode ' ,
' void ' ,
[ param ( ' ns3::Ptr< ns3::Node > ' , ' node ' ) ] ,
is_pure_virtual = True , is_virtual = True )
## net-device.h: bool ns3::NetDevice::NeedsArp() const [member function]
cls . add_method ( ' NeedsArp ' ,
2008-07-21 15:30:15 +01:00
' bool ' ,
2008-10-06 17:39:35 +01:00
[ ] ,
2008-07-21 15:30:15 +01:00
is_pure_virtual = True , is_const = True , is_virtual = True )
2009-01-09 13:18:29 +01:00
## net-device.h: void ns3::NetDevice::SetReceiveCallback(ns3::Callback<bool, ns3::Ptr<ns3::NetDevice>, ns3::Ptr<ns3::Packet const>, unsigned short, ns3::Address const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
2008-10-06 17:39:35 +01:00
cls . add_method ( ' SetReceiveCallback ' ,
2008-07-21 15:30:15 +01:00
' void ' ,
2009-01-09 13:18:29 +01:00
[ param ( ' ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty > ' , ' cb ' ) ] ,
2008-07-21 15:30:15 +01:00
is_pure_virtual = True , is_virtual = True )
2009-01-09 13:18:29 +01:00
## net-device.h: void ns3::NetDevice::SetPromiscReceiveCallback(ns3::Callback<bool, ns3::Ptr<ns3::NetDevice>, ns3::Ptr<ns3::Packet const>, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
2008-10-06 17:39:35 +01:00
cls . add_method ( ' SetPromiscReceiveCallback ' ,
2008-07-21 15:30:15 +01:00
' void ' ,
2009-01-09 13:18:29 +01:00
[ param ( ' ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::Address const &, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty > ' , ' cb ' ) ] ,
2008-07-21 15:30:15 +01:00
is_pure_virtual = True , is_virtual = True )
2008-10-06 17:39:35 +01:00
## net-device.h: bool ns3::NetDevice::SupportsSendFrom() const [member function]
cls . add_method ( ' SupportsSendFrom ' ,
' bool ' ,
[ ] ,
is_pure_virtual = True , is_const = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
return
2008-10-06 17:39:35 +01:00
def register_Ns3Node_methods ( root_module , cls ) :
2009-02-25 11:00:50 +01:00
## node.h: ns3::Node::Node(ns3::Node const & arg0) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::Node const & ' , ' arg0 ' ) ] )
2008-10-06 17:39:35 +01:00
## node.h: static ns3::TypeId ns3::Node::GetTypeId() [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetTypeId ' ,
' ns3::TypeId ' ,
[ ] ,
is_static = True )
2008-10-06 17:39:35 +01:00
## node.h: ns3::Node::Node() [constructor]
2008-07-21 15:30:15 +01:00
cls . add_constructor ( [ ] )
2008-10-06 17:39:35 +01:00
## node.h: ns3::Node::Node(uint32_t systemId) [constructor]
cls . add_constructor ( [ param ( ' uint32_t ' , ' systemId ' ) ] )
## node.h: uint32_t ns3::Node::GetId() const [member function]
cls . add_method ( ' GetId ' ,
' uint32_t ' ,
2008-07-21 15:30:15 +01:00
[ ] ,
2008-10-06 17:39:35 +01:00
is_const = True )
## node.h: uint32_t ns3::Node::GetSystemId() const [member function]
cls . add_method ( ' GetSystemId ' ,
2008-07-21 15:30:15 +01:00
' uint32_t ' ,
2008-10-06 17:39:35 +01:00
[ ] ,
2008-07-21 15:30:15 +01:00
is_const = True )
2008-10-06 17:39:35 +01:00
## node.h: uint32_t ns3::Node::AddDevice(ns3::Ptr<ns3::NetDevice> device) [member function]
cls . add_method ( ' AddDevice ' ,
' uint32_t ' ,
[ param ( ' ns3::Ptr< ns3::NetDevice > ' , ' device ' ) ] )
## node.h: ns3::Ptr<ns3::NetDevice> ns3::Node::GetDevice(uint32_t index) const [member function]
cls . add_method ( ' GetDevice ' ,
' ns3::Ptr< ns3::NetDevice > ' ,
[ param ( ' uint32_t ' , ' index ' ) ] ,
is_const = True )
## node.h: uint32_t ns3::Node::GetNDevices() const [member function]
cls . add_method ( ' GetNDevices ' ,
2008-07-21 15:30:15 +01:00
' uint32_t ' ,
[ ] ,
is_const = True )
2008-10-06 17:39:35 +01:00
## node.h: uint32_t ns3::Node::AddApplication(ns3::Ptr<ns3::Application> application) [member function]
cls . add_method ( ' AddApplication ' ,
' uint32_t ' ,
[ param ( ' ns3::Ptr< ns3::Application > ' , ' application ' ) ] )
## node.h: ns3::Ptr<ns3::Application> ns3::Node::GetApplication(uint32_t index) const [member function]
cls . add_method ( ' GetApplication ' ,
' ns3::Ptr< ns3::Application > ' ,
[ param ( ' uint32_t ' , ' index ' ) ] ,
is_const = True )
## node.h: uint32_t ns3::Node::GetNApplications() const [member function]
cls . add_method ( ' GetNApplications ' ,
' uint32_t ' ,
[ ] ,
is_const = True )
2009-01-09 13:18:29 +01:00
## node.h: void ns3::Node::RegisterProtocolHandler(ns3::Callback<void, ns3::Ptr<ns3::NetDevice>, ns3::Ptr<ns3::Packet const>, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> handler, uint16_t protocolType, ns3::Ptr<ns3::NetDevice> device, bool promiscuous=false) [member function]
2008-10-06 17:39:35 +01:00
cls . add_method ( ' RegisterProtocolHandler ' ,
' void ' ,
2009-01-09 13:18:29 +01:00
[ param ( ' ns3::Callback< void, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::Address const &, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty > ' , ' handler ' ) , param ( ' uint16_t ' , ' protocolType ' ) , param ( ' ns3::Ptr< ns3::NetDevice > ' , ' device ' ) , param ( ' bool ' , ' promiscuous ' , default_value = ' false ' ) ] )
## node.h: void ns3::Node::UnregisterProtocolHandler(ns3::Callback<void, ns3::Ptr<ns3::NetDevice>, ns3::Ptr<ns3::Packet const>, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> handler) [member function]
2008-10-06 17:39:35 +01:00
cls . add_method ( ' UnregisterProtocolHandler ' ,
' void ' ,
2009-01-09 13:18:29 +01:00
[ param ( ' ns3::Callback< void, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::Address const &, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty > ' , ' handler ' ) ] )
2008-10-06 17:39:35 +01:00
## node.h: void ns3::Node::DoDispose() [member function]
cls . add_method ( ' DoDispose ' ,
' void ' ,
[ ] ,
visibility = ' protected ' , is_virtual = True )
## node.h: void ns3::Node::NotifyDeviceAdded(ns3::Ptr<ns3::NetDevice> device) [member function]
cls . add_method ( ' NotifyDeviceAdded ' ,
' void ' ,
[ param ( ' ns3::Ptr< ns3::NetDevice > ' , ' device ' ) ] ,
visibility = ' private ' , is_virtual = True )
return
def register_Ns3PacketSocketFactory_methods ( root_module , cls ) :
2009-02-25 11:00:50 +01:00
## packet-socket-factory.h: ns3::PacketSocketFactory::PacketSocketFactory(ns3::PacketSocketFactory const & arg0) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::PacketSocketFactory const & ' , ' arg0 ' ) ] )
2008-10-06 17:39:35 +01:00
## packet-socket-factory.h: static ns3::TypeId ns3::PacketSocketFactory::GetTypeId() [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetTypeId ' ,
' ns3::TypeId ' ,
[ ] ,
is_static = True )
2008-10-06 17:39:35 +01:00
## packet-socket-factory.h: ns3::PacketSocketFactory::PacketSocketFactory() [constructor]
cls . add_constructor ( [ ] )
## packet-socket-factory.h: ns3::Ptr<ns3::Socket> ns3::PacketSocketFactory::CreateSocket() [member function]
cls . add_method ( ' CreateSocket ' ,
' ns3::Ptr< ns3::Socket > ' ,
2008-07-21 15:30:15 +01:00
[ ] ,
is_virtual = True )
2008-07-08 10:43:58 -07:00
return
2008-07-23 11:48:17 +01:00
def register_Ns3SimpleChannel_methods ( root_module , cls ) :
2009-02-25 11:00:50 +01:00
## simple-channel.h: ns3::SimpleChannel::SimpleChannel(ns3::SimpleChannel const & arg0) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::SimpleChannel const & ' , ' arg0 ' ) ] )
2008-07-23 11:48:17 +01:00
## simple-channel.h: static ns3::TypeId ns3::SimpleChannel::GetTypeId() [member function]
cls . add_method ( ' GetTypeId ' ,
' ns3::TypeId ' ,
[ ] ,
is_static = True )
## simple-channel.h: ns3::SimpleChannel::SimpleChannel() [constructor]
cls . add_constructor ( [ ] )
## simple-channel.h: void ns3::SimpleChannel::Send(ns3::Ptr<ns3::Packet> p, uint16_t protocol, ns3::Mac48Address to, ns3::Mac48Address from, ns3::Ptr<ns3::SimpleNetDevice> sender) [member function]
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 ' ) ] )
## simple-channel.h: void ns3::SimpleChannel::Add(ns3::Ptr<ns3::SimpleNetDevice> device) [member function]
cls . add_method ( ' Add ' ,
' void ' ,
[ param ( ' ns3::Ptr< ns3::SimpleNetDevice > ' , ' device ' ) ] )
## simple-channel.h: uint32_t ns3::SimpleChannel::GetNDevices() const [member function]
cls . add_method ( ' GetNDevices ' ,
' uint32_t ' ,
[ ] ,
is_const = True , is_virtual = True )
## simple-channel.h: ns3::Ptr<ns3::NetDevice> ns3::SimpleChannel::GetDevice(uint32_t i) const [member function]
cls . add_method ( ' GetDevice ' ,
' ns3::Ptr< ns3::NetDevice > ' ,
[ param ( ' uint32_t ' , ' i ' ) ] ,
is_const = True , is_virtual = True )
return
2008-07-08 10:43:58 -07:00
def register_Ns3SimpleNetDevice_methods ( root_module , cls ) :
2009-02-25 11:00:50 +01:00
## simple-net-device.h: ns3::SimpleNetDevice::SimpleNetDevice(ns3::SimpleNetDevice const & arg0) [copy constructor]
cls . add_constructor ( [ param ( ' ns3::SimpleNetDevice const & ' , ' arg0 ' ) ] )
2008-07-08 10:43:58 -07:00
## simple-net-device.h: static ns3::TypeId ns3::SimpleNetDevice::GetTypeId() [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetTypeId ' ,
' ns3::TypeId ' ,
[ ] ,
is_static = True )
2008-07-08 10:43:58 -07:00
## simple-net-device.h: ns3::SimpleNetDevice::SimpleNetDevice() [constructor]
2008-07-21 15:30:15 +01:00
cls . add_constructor ( [ ] )
2008-07-08 10:43:58 -07:00
## simple-net-device.h: void ns3::SimpleNetDevice::Receive(ns3::Ptr<ns3::Packet> packet, uint16_t protocol, ns3::Mac48Address to, ns3::Mac48Address from) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Receive ' ,
' void ' ,
[ param ( ' ns3::Ptr< ns3::Packet > ' , ' packet ' ) , param ( ' uint16_t ' , ' protocol ' ) , param ( ' ns3::Mac48Address ' , ' to ' ) , param ( ' ns3::Mac48Address ' , ' from ' ) ] )
2008-07-08 10:43:58 -07:00
## simple-net-device.h: void ns3::SimpleNetDevice::SetChannel(ns3::Ptr<ns3::SimpleChannel> channel) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' SetChannel ' ,
' void ' ,
[ param ( ' ns3::Ptr< ns3::SimpleChannel > ' , ' channel ' ) ] )
2008-07-08 10:43:58 -07:00
## simple-net-device.h: void ns3::SimpleNetDevice::SetAddress(ns3::Mac48Address address) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' SetAddress ' ,
' void ' ,
[ param ( ' ns3::Mac48Address ' , ' address ' ) ] )
2008-07-08 10:43:58 -07:00
## simple-net-device.h: void ns3::SimpleNetDevice::SetIfIndex(uint32_t const index) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' SetIfIndex ' ,
' void ' ,
2008-09-02 11:12:42 +01:00
[ param ( ' uint32_t const ' , ' index ' ) ] ,
2008-07-21 15:30:15 +01:00
is_virtual = True )
2008-07-08 10:43:58 -07:00
## simple-net-device.h: uint32_t ns3::SimpleNetDevice::GetIfIndex() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetIfIndex ' ,
' uint32_t ' ,
[ ] ,
is_const = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## simple-net-device.h: ns3::Ptr<ns3::Channel> ns3::SimpleNetDevice::GetChannel() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetChannel ' ,
' ns3::Ptr< ns3::Channel > ' ,
[ ] ,
is_const = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## simple-net-device.h: ns3::Address ns3::SimpleNetDevice::GetAddress() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetAddress ' ,
' ns3::Address ' ,
[ ] ,
is_const = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## simple-net-device.h: bool ns3::SimpleNetDevice::SetMtu(uint16_t const mtu) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' SetMtu ' ,
' bool ' ,
2008-09-02 11:12:42 +01:00
[ param ( ' uint16_t const ' , ' mtu ' ) ] ,
2008-07-21 15:30:15 +01:00
is_virtual = True )
2008-07-08 10:43:58 -07:00
## simple-net-device.h: uint16_t ns3::SimpleNetDevice::GetMtu() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetMtu ' ,
' uint16_t ' ,
[ ] ,
is_const = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## simple-net-device.h: bool ns3::SimpleNetDevice::IsLinkUp() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' IsLinkUp ' ,
' bool ' ,
[ ] ,
is_const = True , is_virtual = True )
2009-01-09 13:18:29 +01:00
## simple-net-device.h: void ns3::SimpleNetDevice::SetLinkChangeCallback(ns3::Callback<void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> callback) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' SetLinkChangeCallback ' ,
' void ' ,
2009-01-09 13:18:29 +01:00
[ param ( ' ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty > ' , ' callback ' ) ] ,
2008-07-21 15:30:15 +01:00
is_virtual = True )
2008-07-08 10:43:58 -07:00
## simple-net-device.h: bool ns3::SimpleNetDevice::IsBroadcast() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' IsBroadcast ' ,
' bool ' ,
[ ] ,
is_const = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## simple-net-device.h: ns3::Address ns3::SimpleNetDevice::GetBroadcast() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetBroadcast ' ,
' ns3::Address ' ,
[ ] ,
is_const = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## simple-net-device.h: bool ns3::SimpleNetDevice::IsMulticast() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' IsMulticast ' ,
' bool ' ,
[ ] ,
is_const = True , is_virtual = True )
2008-11-05 14:49:21 -08:00
## simple-net-device.h: ns3::Address ns3::SimpleNetDevice::GetMulticast(ns3::Ipv4Address multicastGroup) const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetMulticast ' ,
' ns3::Address ' ,
[ param ( ' ns3::Ipv4Address ' , ' multicastGroup ' ) ] ,
is_const = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## simple-net-device.h: bool ns3::SimpleNetDevice::IsPointToPoint() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' IsPointToPoint ' ,
' bool ' ,
[ ] ,
is_const = True , is_virtual = True )
2008-11-28 14:45:48 +00:00
## simple-net-device.h: bool ns3::SimpleNetDevice::IsBridge() const [member function]
cls . add_method ( ' IsBridge ' ,
' bool ' ,
[ ] ,
is_const = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## simple-net-device.h: bool ns3::SimpleNetDevice::Send(ns3::Ptr<ns3::Packet> packet, ns3::Address const & dest, uint16_t protocolNumber) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' Send ' ,
' bool ' ,
2008-09-02 11:12:42 +01:00
[ param ( ' ns3::Ptr< ns3::Packet > ' , ' packet ' ) , param ( ' ns3::Address const & ' , ' dest ' ) , param ( ' uint16_t ' , ' protocolNumber ' ) ] ,
2008-07-21 15:30:15 +01:00
is_virtual = True )
2008-07-14 11:42:49 +01:00
## simple-net-device.h: bool ns3::SimpleNetDevice::SendFrom(ns3::Ptr<ns3::Packet> packet, ns3::Address const & source, ns3::Address const & dest, uint16_t protocolNumber) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' SendFrom ' ,
' bool ' ,
2008-09-02 11:12:42 +01:00
[ param ( ' ns3::Ptr< ns3::Packet > ' , ' packet ' ) , param ( ' ns3::Address const & ' , ' source ' ) , param ( ' ns3::Address const & ' , ' dest ' ) , param ( ' uint16_t ' , ' protocolNumber ' ) ] ,
2008-07-21 15:30:15 +01:00
is_virtual = True )
2008-07-08 10:43:58 -07:00
## simple-net-device.h: ns3::Ptr<ns3::Node> ns3::SimpleNetDevice::GetNode() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' GetNode ' ,
' ns3::Ptr< ns3::Node > ' ,
[ ] ,
is_const = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## simple-net-device.h: void ns3::SimpleNetDevice::SetNode(ns3::Ptr<ns3::Node> node) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' SetNode ' ,
' void ' ,
[ param ( ' ns3::Ptr< ns3::Node > ' , ' node ' ) ] ,
is_virtual = True )
2008-07-08 10:43:58 -07:00
## simple-net-device.h: bool ns3::SimpleNetDevice::NeedsArp() const [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' NeedsArp ' ,
' bool ' ,
[ ] ,
is_const = True , is_virtual = True )
2009-01-09 13:18:29 +01:00
## simple-net-device.h: void ns3::SimpleNetDevice::SetReceiveCallback(ns3::Callback<bool, ns3::Ptr<ns3::NetDevice>, ns3::Ptr<ns3::Packet const>, unsigned short, ns3::Address const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' SetReceiveCallback ' ,
' void ' ,
2009-01-09 13:18:29 +01:00
[ param ( ' ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty > ' , ' cb ' ) ] ,
2008-07-21 15:30:15 +01:00
is_virtual = True )
2008-11-08 15:00:28 +00:00
## simple-net-device.h: ns3::Address ns3::SimpleNetDevice::GetMulticast(ns3::Ipv6Address addr) const [member function]
cls . add_method ( ' GetMulticast ' ,
' ns3::Address ' ,
[ param ( ' ns3::Ipv6Address ' , ' addr ' ) ] ,
is_const = True , is_virtual = True )
2009-01-09 13:18:29 +01:00
## simple-net-device.h: void ns3::SimpleNetDevice::SetPromiscReceiveCallback(ns3::Callback<bool, ns3::Ptr<ns3::NetDevice>, ns3::Ptr<ns3::Packet const>, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
2008-07-24 11:41:15 +01:00
cls . add_method ( ' SetPromiscReceiveCallback ' ,
' void ' ,
2009-01-09 13:18:29 +01:00
[ param ( ' ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::Address const &, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty > ' , ' cb ' ) ] ,
2008-07-24 11:41:15 +01:00
is_virtual = True )
2008-09-02 11:28:03 -07:00
## simple-net-device.h: bool ns3::SimpleNetDevice::SupportsSendFrom() const [member function]
cls . add_method ( ' SupportsSendFrom ' ,
2008-07-24 11:41:15 +01:00
' bool ' ,
[ ] ,
is_const = True , is_virtual = True )
2008-07-08 10:43:58 -07:00
## simple-net-device.h: void ns3::SimpleNetDevice::DoDispose() [member function]
2008-07-21 15:30:15 +01:00
cls . add_method ( ' DoDispose ' ,
' void ' ,
[ ] ,
visibility = ' protected ' , is_virtual = True )
2008-07-08 10:43:58 -07:00
return
def register_functions ( root_module ) :
module = root_module
2008-11-08 15:00:28 +00:00
## address.h: extern ns3::Ptr<ns3::AttributeChecker const> ns3::MakeAddressChecker() [free function]
module . add_function ( ' MakeAddressChecker ' ,
2008-11-05 14:49:21 -08:00
' ns3::Ptr< ns3::AttributeChecker const > ' ,
[ ] )
2008-07-08 10:43:58 -07:00
## ipv4-address.h: extern ns3::Ptr<ns3::AttributeChecker const> ns3::MakeIpv4AddressChecker() [free function]
2008-07-21 15:30:15 +01:00
module . add_function ( ' MakeIpv4AddressChecker ' ,
' ns3::Ptr< ns3::AttributeChecker const > ' ,
[ ] )
2008-07-08 10:43:58 -07:00
## ipv4-address.h: extern ns3::Ptr<ns3::AttributeChecker const> ns3::MakeIpv4MaskChecker() [free function]
2008-07-21 15:30:15 +01:00
module . add_function ( ' MakeIpv4MaskChecker ' ,
' ns3::Ptr< ns3::AttributeChecker const > ' ,
[ ] )
2008-11-08 15:00:28 +00:00
## ipv6-address.h: extern ns3::Ptr<ns3::AttributeChecker const> ns3::MakeIpv6AddressChecker() [free function]
module . add_function ( ' MakeIpv6AddressChecker ' ,
' ns3::Ptr< ns3::AttributeChecker const > ' ,
[ ] )
## ipv6-address.h: extern ns3::Ptr<ns3::AttributeChecker const> ns3::MakeIpv6PrefixChecker() [free function]
module . add_function ( ' MakeIpv6PrefixChecker ' ,
' ns3::Ptr< ns3::AttributeChecker const > ' ,
[ ] )
## mac48-address.h: extern ns3::Ptr<ns3::AttributeChecker const> ns3::MakeMac48AddressChecker() [free function]
module . add_function ( ' MakeMac48AddressChecker ' ,
' ns3::Ptr< ns3::AttributeChecker const > ' ,
[ ] )
2008-11-05 14:49:21 -08:00
## address-utils.h: extern void ns3::ReadFrom(ns3::Buffer::Iterator & i, ns3::Address & ad, uint32_t len) [free function]
module . add_function ( ' ReadFrom ' ,
' void ' ,
[ param ( ' ns3::Buffer::Iterator & ' , ' i ' ) , param ( ' ns3::Address & ' , ' ad ' ) , param ( ' uint32_t ' , ' len ' ) ] )
## address-utils.h: extern void ns3::ReadFrom(ns3::Buffer::Iterator & i, ns3::Ipv4Address & ad) [free function]
module . add_function ( ' ReadFrom ' ,
' void ' ,
[ param ( ' ns3::Buffer::Iterator & ' , ' i ' ) , param ( ' ns3::Ipv4Address & ' , ' ad ' ) ] )
2008-11-08 15:00:28 +00:00
## address-utils.h: extern void ns3::ReadFrom(ns3::Buffer::Iterator & i, ns3::Ipv6Address & ad) [free function]
module . add_function ( ' ReadFrom ' ,
' void ' ,
[ param ( ' ns3::Buffer::Iterator & ' , ' i ' ) , param ( ' ns3::Ipv6Address & ' , ' ad ' ) ] )
## address-utils.h: extern void ns3::ReadFrom(ns3::Buffer::Iterator & i, ns3::Mac48Address & ad) [free function]
module . add_function ( ' ReadFrom ' ,
' void ' ,
[ param ( ' ns3::Buffer::Iterator & ' , ' i ' ) , param ( ' ns3::Mac48Address & ' , ' ad ' ) ] )
## address-utils.h: extern void ns3::WriteTo(ns3::Buffer::Iterator & i, ns3::Address const & ad) [free function]
module . add_function ( ' WriteTo ' ,
' void ' ,
[ param ( ' ns3::Buffer::Iterator & ' , ' i ' ) , param ( ' ns3::Address const & ' , ' ad ' ) ] )
## address-utils.h: extern void ns3::WriteTo(ns3::Buffer::Iterator & i, ns3::Ipv4Address ad) [free function]
module . add_function ( ' WriteTo ' ,
' void ' ,
[ param ( ' ns3::Buffer::Iterator & ' , ' i ' ) , param ( ' ns3::Ipv4Address ' , ' ad ' ) ] )
## address-utils.h: extern void ns3::WriteTo(ns3::Buffer::Iterator & i, ns3::Ipv6Address ad) [free function]
module . add_function ( ' WriteTo ' ,
' void ' ,
[ param ( ' ns3::Buffer::Iterator & ' , ' i ' ) , param ( ' ns3::Ipv6Address ' , ' ad ' ) ] )
## address-utils.h: extern void ns3::WriteTo(ns3::Buffer::Iterator & i, ns3::Mac48Address ad) [free function]
module . add_function ( ' WriteTo ' ,
' void ' ,
[ param ( ' ns3::Buffer::Iterator & ' , ' i ' ) , param ( ' ns3::Mac48Address ' , ' ad ' ) ] )
2008-07-08 10:43:58 -07:00
register_functions_ns3_Config ( module . get_submodule ( ' Config ' ) , root_module )
2008-11-08 15:00:28 +00:00
register_functions_ns3_TimeStepPrecision ( module . get_submodule ( ' TimeStepPrecision ' ) , root_module )
register_functions_ns3_internal ( module . get_submodule ( ' internal ' ) , root_module )
2008-07-08 10:43:58 -07:00
register_functions_ns3_olsr ( module . get_submodule ( ' olsr ' ) , root_module )
return
2008-11-08 15:00:28 +00:00
def register_functions_ns3_Config ( module , root_module ) :
2008-07-08 10:43:58 -07:00
return
def register_functions_ns3_TimeStepPrecision ( module , root_module ) :
return
2008-11-08 15:00:28 +00:00
def register_functions_ns3_internal ( module , root_module ) :
2008-07-08 10:43:58 -07:00
return
def register_functions_ns3_olsr ( module , root_module ) :
return