bindings/python/ns3_module_node.py
author Tom Henderson <tomh@tomh.org>
Fri, 17 Apr 2009 15:46:01 -0700
changeset 4382 e63da65e8fb9
parent 4361 5e4790eea56f
child 4407 ef566eeff84f
permissions -rw-r--r--
rescan bindings
gjc@3468
     1
from pybindgen import Module, FileCodeSink, param, retval, cppclass
gjc@3408
     2
gjc@3408
     3
def register_types(module):
gjc@3408
     4
    root_module = module.get_root()
gjc@3408
     5
    
gjc@3408
     6
    ## ethernet-header.h: ns3::ethernet_header_t [enumeration]
gjc@3408
     7
    module.add_enum('ethernet_header_t', ['LENGTH', 'VLAN', 'QINQ'])
gjc@3408
     8
    ## address.h: ns3::Address [class]
gjc@3408
     9
    module.add_class('Address')
gjc@3408
    10
    ## address.h: ns3::Address::MaxSize_e [enumeration]
gjc@3408
    11
    module.add_enum('MaxSize_e', ['MAX_SIZE'], outer_class=root_module['ns3::Address'])
gjc@3855
    12
    ## inet6-socket-address.h: ns3::Inet6SocketAddress [class]
gjc@3855
    13
    module.add_class('Inet6SocketAddress')
gjc@3855
    14
    ## inet6-socket-address.h: ns3::Inet6SocketAddress [class]
gjc@3855
    15
    root_module['ns3::Inet6SocketAddress'].implicitly_converts_to(root_module['ns3::Address'])
gjc@3731
    16
    ## inet-socket-address.h: ns3::InetSocketAddress [class]
gjc@3731
    17
    module.add_class('InetSocketAddress')
gjc@3731
    18
    ## inet-socket-address.h: ns3::InetSocketAddress [class]
gjc@3731
    19
    root_module['ns3::InetSocketAddress'].implicitly_converts_to(root_module['ns3::Address'])
gjc@3731
    20
    ## ipv4-address.h: ns3::Ipv4Address [class]
gjc@3731
    21
    module.add_class('Ipv4Address')
gjc@3731
    22
    ## ipv4-address.h: ns3::Ipv4Address [class]
gjc@3731
    23
    root_module['ns3::Ipv4Address'].implicitly_converts_to(root_module['ns3::Address'])
gjc@3731
    24
    ## ipv4-address-generator.h: ns3::Ipv4AddressGenerator [class]
gjc@3731
    25
    module.add_class('Ipv4AddressGenerator')
tomh@4382
    26
    ## ipv4-interface-address.h: ns3::Ipv4InterfaceAddress [class]
tomh@4382
    27
    module.add_class('Ipv4InterfaceAddress')
tomh@4382
    28
    ## ipv4-interface-address.h: ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e [enumeration]
tomh@4382
    29
    module.add_enum('InterfaceAddressScope_e', ['HOST', 'LINK', 'GLOBAL'], outer_class=root_module['ns3::Ipv4InterfaceAddress'])
gjc@3731
    30
    ## ipv4-address.h: ns3::Ipv4Mask [class]
gjc@3731
    31
    module.add_class('Ipv4Mask')
gjc@3731
    32
    ## ipv4-route.h: ns3::Ipv4MulticastRoute [class]
gjc@3731
    33
    module.add_class('Ipv4MulticastRoute')
gjc@3731
    34
    ## ipv4-route.h: ns3::Ipv4Route [class]
gjc@3731
    35
    module.add_class('Ipv4Route')
gjc@3855
    36
    ## ipv6-address.h: ns3::Ipv6Address [class]
gjc@3855
    37
    module.add_class('Ipv6Address')
gjc@3855
    38
    ## ipv6-address.h: ns3::Ipv6Address [class]
gjc@3855
    39
    root_module['ns3::Ipv6Address'].implicitly_converts_to(root_module['ns3::Address'])
gjc@3855
    40
    ## ipv6-address.h: ns3::Ipv6Prefix [class]
gjc@3855
    41
    module.add_class('Ipv6Prefix')
gjc@3408
    42
    ## mac48-address.h: ns3::Mac48Address [class]
gjc@3408
    43
    module.add_class('Mac48Address')
gjc@3408
    44
    ## mac48-address.h: ns3::Mac48Address [class]
gjc@3408
    45
    root_module['ns3::Mac48Address'].implicitly_converts_to(root_module['ns3::Address'])
gjc@3408
    46
    ## mac64-address.h: ns3::Mac64Address [class]
gjc@3408
    47
    module.add_class('Mac64Address')
gjc@3408
    48
    ## mac64-address.h: ns3::Mac64Address [class]
gjc@3408
    49
    root_module['ns3::Mac64Address'].implicitly_converts_to(root_module['ns3::Address'])
gjc@3731
    50
    ## node-list.h: ns3::NodeList [class]
gjc@3731
    51
    module.add_class('NodeList')
gjc@3408
    52
    ## packet-socket-address.h: ns3::PacketSocketAddress [class]
gjc@3408
    53
    module.add_class('PacketSocketAddress')
gjc@3408
    54
    ## packet-socket-address.h: ns3::PacketSocketAddress [class]
gjc@3408
    55
    root_module['ns3::PacketSocketAddress'].implicitly_converts_to(root_module['ns3::Address'])
gjc@3731
    56
    ## ipv4-address.h: ns3::Ipv4AddressChecker [class]
gjc@3731
    57
    module.add_class('Ipv4AddressChecker', parent=root_module['ns3::AttributeChecker'])
gjc@3408
    58
    ## ipv4-address.h: ns3::Ipv4AddressValue [class]
gjc@3457
    59
    module.add_class('Ipv4AddressValue', parent=root_module['ns3::AttributeValue'])
gjc@3731
    60
    ## ipv4-header.h: ns3::Ipv4Header [class]
gjc@3731
    61
    module.add_class('Ipv4Header', parent=root_module['ns3::Header'])
gjc@3731
    62
    ## ipv4-address.h: ns3::Ipv4MaskChecker [class]
gjc@3731
    63
    module.add_class('Ipv4MaskChecker', parent=root_module['ns3::AttributeChecker'])
gjc@3731
    64
    ## ipv4-address.h: ns3::Ipv4MaskValue [class]
gjc@3731
    65
    module.add_class('Ipv4MaskValue', parent=root_module['ns3::AttributeValue'])
gjc@3855
    66
    ## ipv6-address.h: ns3::Ipv6AddressChecker [class]
gjc@3855
    67
    module.add_class('Ipv6AddressChecker', parent=root_module['ns3::AttributeChecker'])
gjc@3855
    68
    ## ipv6-address.h: ns3::Ipv6AddressValue [class]
gjc@3855
    69
    module.add_class('Ipv6AddressValue', parent=root_module['ns3::AttributeValue'])
gjc@3855
    70
    ## ipv6-header.h: ns3::Ipv6Header [class]
gjc@3855
    71
    module.add_class('Ipv6Header', parent=root_module['ns3::Header'])
gjc@3855
    72
    ## ipv6-header.h: ns3::Ipv6Header::NextHeader_e [enumeration]
gjc@3855
    73
    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'])
gjc@3855
    74
    ## ipv6-address.h: ns3::Ipv6PrefixChecker [class]
gjc@3855
    75
    module.add_class('Ipv6PrefixChecker', parent=root_module['ns3::AttributeChecker'])
gjc@3855
    76
    ## ipv6-address.h: ns3::Ipv6PrefixValue [class]
gjc@3855
    77
    module.add_class('Ipv6PrefixValue', parent=root_module['ns3::AttributeValue'])
gjc@3731
    78
    ## llc-snap-header.h: ns3::LlcSnapHeader [class]
gjc@3731
    79
    module.add_class('LlcSnapHeader', parent=root_module['ns3::Header'])
gjc@3731
    80
    ## mac48-address.h: ns3::Mac48AddressChecker [class]
gjc@3731
    81
    module.add_class('Mac48AddressChecker', parent=root_module['ns3::AttributeChecker'])
gjc@3408
    82
    ## mac48-address.h: ns3::Mac48AddressValue [class]
gjc@3457
    83
    module.add_class('Mac48AddressValue', parent=root_module['ns3::AttributeValue'])
gjc@3408
    84
    ## queue.h: ns3::Queue [class]
gjc@3457
    85
    module.add_class('Queue', parent=root_module['ns3::Object'])
gjc@3408
    86
    ## socket.h: ns3::Socket [class]
gjc@3457
    87
    module.add_class('Socket', parent=root_module['ns3::Object'])
gjc@3408
    88
    ## socket.h: ns3::Socket::SocketErrno [enumeration]
gjc@3408
    89
    module.add_enum('SocketErrno', ['ERROR_NOTERROR', 'ERROR_ISCONN', 'ERROR_NOTCONN', 'ERROR_MSGSIZE', 'ERROR_AGAIN', 'ERROR_SHUTDOWN', 'ERROR_OPNOTSUPP', 'ERROR_AFNOSUPPORT', 'ERROR_INVAL', 'ERROR_BADF', 'ERROR_NOROUTETOHOST', 'SOCKET_ERRNO_LAST'], outer_class=root_module['ns3::Socket'])
gjc@3731
    90
    ## socket.h: ns3::SocketAddressTag [class]
gjc@3731
    91
    module.add_class('SocketAddressTag', parent=root_module['ns3::Tag'])
gjc@3731
    92
    ## socket-factory.h: ns3::SocketFactory [class]
gjc@3731
    93
    module.add_class('SocketFactory', parent=root_module['ns3::Object'])
gjc@3731
    94
    ## socket.h: ns3::SocketIpTtlTag [class]
gjc@3731
    95
    module.add_class('SocketIpTtlTag', parent=root_module['ns3::Tag'])
craigdo@3820
    96
    ## socket.h: ns3::SocketSetDontFragmentTag [class]
craigdo@3820
    97
    module.add_class('SocketSetDontFragmentTag', parent=root_module['ns3::Tag'])
gjc@3731
    98
    ## tcp-socket.h: ns3::TcpSocket [class]
gjc@3731
    99
    module.add_class('TcpSocket', parent=root_module['ns3::Socket'])
gjc@3731
   100
    ## tcp-socket-factory.h: ns3::TcpSocketFactory [class]
gjc@3731
   101
    module.add_class('TcpSocketFactory', parent=root_module['ns3::SocketFactory'])
gjc@3408
   102
    ## udp-socket.h: ns3::UdpSocket [class]
gjc@3457
   103
    module.add_class('UdpSocket', parent=root_module['ns3::Socket'])
gjc@3731
   104
    ## udp-socket-factory.h: ns3::UdpSocketFactory [class]
gjc@3731
   105
    module.add_class('UdpSocketFactory', parent=root_module['ns3::SocketFactory'])
gjc@3731
   106
    ## address.h: ns3::AddressChecker [class]
gjc@3731
   107
    module.add_class('AddressChecker', parent=root_module['ns3::AttributeChecker'])
gjc@3731
   108
    ## address.h: ns3::AddressValue [class]
gjc@3731
   109
    module.add_class('AddressValue', parent=root_module['ns3::AttributeValue'])
gjc@3731
   110
    ## application.h: ns3::Application [class]
gjc@3731
   111
    module.add_class('Application', parent=root_module['ns3::Object'])
gjc@3731
   112
    ## channel.h: ns3::Channel [class]
gjc@3731
   113
    module.add_class('Channel', parent=root_module['ns3::Object'])
gjc@3731
   114
    ## drop-tail-queue.h: ns3::DropTailQueue [class]
gjc@3731
   115
    module.add_class('DropTailQueue', parent=root_module['ns3::Queue'])
gjc@4204
   116
    ## drop-tail-queue.h: ns3::DropTailQueue::Mode [enumeration]
gjc@4204
   117
    module.add_enum('Mode', ['ILLEGAL', 'PACKETS', 'BYTES'], outer_class=root_module['ns3::DropTailQueue'])
gjc@3731
   118
    ## ethernet-header.h: ns3::EthernetHeader [class]
gjc@3731
   119
    module.add_class('EthernetHeader', parent=root_module['ns3::Header'])
gjc@3731
   120
    ## ethernet-trailer.h: ns3::EthernetTrailer [class]
gjc@3731
   121
    module.add_class('EthernetTrailer', parent=root_module['ns3::Trailer'])
gjc@3731
   122
    ## ipv4.h: ns3::Ipv4 [class]
gjc@3731
   123
    module.add_class('Ipv4', parent=root_module['ns3::Object'])
craigdo@3820
   124
    ## ipv4-raw-socket-factory.h: ns3::Ipv4RawSocketFactory [class]
craigdo@3820
   125
    module.add_class('Ipv4RawSocketFactory', parent=root_module['ns3::SocketFactory'])
gjc@3731
   126
    ## ipv4.h: ns3::Ipv4RoutingProtocol [class]
gjc@3731
   127
    module.add_class('Ipv4RoutingProtocol', parent=root_module['ns3::Object'])
gjc@3408
   128
    ## net-device.h: ns3::NetDevice [class]
gjc@3457
   129
    module.add_class('NetDevice', parent=root_module['ns3::Object'])
gjc@3457
   130
    ## net-device.h: ns3::NetDevice::PacketType [enumeration]
vincent@3842
   131
    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'])
gjc@3457
   132
    ## node.h: ns3::Node [class]
gjc@3457
   133
    module.add_class('Node', parent=root_module['ns3::Object'])
gjc@3731
   134
    ## packet-socket-factory.h: ns3::PacketSocketFactory [class]
gjc@3731
   135
    module.add_class('PacketSocketFactory', parent=root_module['ns3::SocketFactory'])
gjc@3474
   136
    ## simple-channel.h: ns3::SimpleChannel [class]
gjc@3474
   137
    module.add_class('SimpleChannel', parent=root_module['ns3::Channel'])
gjc@3408
   138
    ## simple-net-device.h: ns3::SimpleNetDevice [class]
gjc@3457
   139
    module.add_class('SimpleNetDevice', parent=root_module['ns3::NetDevice'])
mathieu@4358
   140
    module.add_container('ns3::olsr::MprSet', 'ns3::Ipv4Address', container_type='set')
mathieu@4358
   141
    module.add_container('std::vector< ns3::Ipv4Address >', 'ns3::Ipv4Address', container_type='vector')
gjc@3408
   142
    
gjc@3855
   143
    ## Register a nested module for the namespace Config
gjc@3408
   144
    
gjc@3855
   145
    nested_module = module.add_cpp_namespace('Config')
gjc@3855
   146
    register_types_ns3_Config(nested_module)
gjc@3408
   147
    
gjc@3408
   148
    
gjc@3408
   149
    ## Register a nested module for the namespace TimeStepPrecision
gjc@3408
   150
    
gjc@3408
   151
    nested_module = module.add_cpp_namespace('TimeStepPrecision')
gjc@3408
   152
    register_types_ns3_TimeStepPrecision(nested_module)
gjc@3408
   153
    
gjc@3408
   154
    
gjc@3855
   155
    ## Register a nested module for the namespace internal
gjc@3408
   156
    
gjc@3855
   157
    nested_module = module.add_cpp_namespace('internal')
gjc@3855
   158
    register_types_ns3_internal(nested_module)
gjc@3408
   159
    
gjc@3408
   160
    
gjc@3408
   161
    ## Register a nested module for the namespace olsr
gjc@3408
   162
    
gjc@3408
   163
    nested_module = module.add_cpp_namespace('olsr')
gjc@3408
   164
    register_types_ns3_olsr(nested_module)
gjc@3408
   165
    
gjc@3408
   166
gjc@3855
   167
def register_types_ns3_Config(module):
gjc@3408
   168
    root_module = module.get_root()
gjc@3408
   169
    
gjc@3408
   170
gjc@3408
   171
def register_types_ns3_TimeStepPrecision(module):
gjc@3408
   172
    root_module = module.get_root()
gjc@3408
   173
    
gjc@3408
   174
gjc@3855
   175
def register_types_ns3_internal(module):
gjc@3408
   176
    root_module = module.get_root()
gjc@3408
   177
    
gjc@3408
   178
gjc@3408
   179
def register_types_ns3_olsr(module):
gjc@3408
   180
    root_module = module.get_root()
gjc@3408
   181
    
gjc@3408
   182
gjc@3408
   183
def register_methods(root_module):
gjc@3731
   184
    register_Ns3Address_methods(root_module, root_module['ns3::Address'])
gjc@3855
   185
    register_Ns3Inet6SocketAddress_methods(root_module, root_module['ns3::Inet6SocketAddress'])
gjc@3731
   186
    register_Ns3InetSocketAddress_methods(root_module, root_module['ns3::InetSocketAddress'])
gjc@3731
   187
    register_Ns3Ipv4Address_methods(root_module, root_module['ns3::Ipv4Address'])
gjc@3731
   188
    register_Ns3Ipv4AddressGenerator_methods(root_module, root_module['ns3::Ipv4AddressGenerator'])
tomh@4382
   189
    register_Ns3Ipv4InterfaceAddress_methods(root_module, root_module['ns3::Ipv4InterfaceAddress'])
gjc@3567
   190
    register_Ns3Ipv4Mask_methods(root_module, root_module['ns3::Ipv4Mask'])
gjc@3731
   191
    register_Ns3Ipv4MulticastRoute_methods(root_module, root_module['ns3::Ipv4MulticastRoute'])
gjc@3731
   192
    register_Ns3Ipv4Route_methods(root_module, root_module['ns3::Ipv4Route'])
gjc@3855
   193
    register_Ns3Ipv6Address_methods(root_module, root_module['ns3::Ipv6Address'])
gjc@3855
   194
    register_Ns3Ipv6Prefix_methods(root_module, root_module['ns3::Ipv6Prefix'])
gjc@3408
   195
    register_Ns3Mac48Address_methods(root_module, root_module['ns3::Mac48Address'])
gjc@3408
   196
    register_Ns3Mac64Address_methods(root_module, root_module['ns3::Mac64Address'])
gjc@3731
   197
    register_Ns3NodeList_methods(root_module, root_module['ns3::NodeList'])
gjc@3731
   198
    register_Ns3PacketSocketAddress_methods(root_module, root_module['ns3::PacketSocketAddress'])
gjc@3731
   199
    register_Ns3Ipv4AddressChecker_methods(root_module, root_module['ns3::Ipv4AddressChecker'])
gjc@3731
   200
    register_Ns3Ipv4AddressValue_methods(root_module, root_module['ns3::Ipv4AddressValue'])
gjc@3731
   201
    register_Ns3Ipv4Header_methods(root_module, root_module['ns3::Ipv4Header'])
gjc@3731
   202
    register_Ns3Ipv4MaskChecker_methods(root_module, root_module['ns3::Ipv4MaskChecker'])
gjc@3731
   203
    register_Ns3Ipv4MaskValue_methods(root_module, root_module['ns3::Ipv4MaskValue'])
gjc@3855
   204
    register_Ns3Ipv6AddressChecker_methods(root_module, root_module['ns3::Ipv6AddressChecker'])
gjc@3855
   205
    register_Ns3Ipv6AddressValue_methods(root_module, root_module['ns3::Ipv6AddressValue'])
gjc@3855
   206
    register_Ns3Ipv6Header_methods(root_module, root_module['ns3::Ipv6Header'])
gjc@3855
   207
    register_Ns3Ipv6PrefixChecker_methods(root_module, root_module['ns3::Ipv6PrefixChecker'])
gjc@3855
   208
    register_Ns3Ipv6PrefixValue_methods(root_module, root_module['ns3::Ipv6PrefixValue'])
gjc@3731
   209
    register_Ns3LlcSnapHeader_methods(root_module, root_module['ns3::LlcSnapHeader'])
gjc@3408
   210
    register_Ns3Mac48AddressChecker_methods(root_module, root_module['ns3::Mac48AddressChecker'])
gjc@3408
   211
    register_Ns3Mac48AddressValue_methods(root_module, root_module['ns3::Mac48AddressValue'])
gjc@3408
   212
    register_Ns3Queue_methods(root_module, root_module['ns3::Queue'])
gjc@3408
   213
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
gjc@3731
   214
    register_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag'])
gjc@3731
   215
    register_Ns3SocketFactory_methods(root_module, root_module['ns3::SocketFactory'])
gjc@3731
   216
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
craigdo@3820
   217
    register_Ns3SocketSetDontFragmentTag_methods(root_module, root_module['ns3::SocketSetDontFragmentTag'])
gjc@3731
   218
    register_Ns3TcpSocket_methods(root_module, root_module['ns3::TcpSocket'])
gjc@3731
   219
    register_Ns3TcpSocketFactory_methods(root_module, root_module['ns3::TcpSocketFactory'])
gjc@3408
   220
    register_Ns3UdpSocket_methods(root_module, root_module['ns3::UdpSocket'])
gjc@3731
   221
    register_Ns3UdpSocketFactory_methods(root_module, root_module['ns3::UdpSocketFactory'])
gjc@3731
   222
    register_Ns3AddressChecker_methods(root_module, root_module['ns3::AddressChecker'])
gjc@3731
   223
    register_Ns3AddressValue_methods(root_module, root_module['ns3::AddressValue'])
gjc@3731
   224
    register_Ns3Application_methods(root_module, root_module['ns3::Application'])
gjc@3731
   225
    register_Ns3Channel_methods(root_module, root_module['ns3::Channel'])
gjc@3731
   226
    register_Ns3DropTailQueue_methods(root_module, root_module['ns3::DropTailQueue'])
gjc@3731
   227
    register_Ns3EthernetHeader_methods(root_module, root_module['ns3::EthernetHeader'])
gjc@3731
   228
    register_Ns3EthernetTrailer_methods(root_module, root_module['ns3::EthernetTrailer'])
gjc@3731
   229
    register_Ns3Ipv4_methods(root_module, root_module['ns3::Ipv4'])
craigdo@3820
   230
    register_Ns3Ipv4RawSocketFactory_methods(root_module, root_module['ns3::Ipv4RawSocketFactory'])
gjc@3731
   231
    register_Ns3Ipv4RoutingProtocol_methods(root_module, root_module['ns3::Ipv4RoutingProtocol'])
gjc@3408
   232
    register_Ns3NetDevice_methods(root_module, root_module['ns3::NetDevice'])
gjc@3408
   233
    register_Ns3Node_methods(root_module, root_module['ns3::Node'])
gjc@3731
   234
    register_Ns3PacketSocketFactory_methods(root_module, root_module['ns3::PacketSocketFactory'])
gjc@3474
   235
    register_Ns3SimpleChannel_methods(root_module, root_module['ns3::SimpleChannel'])
gjc@3408
   236
    register_Ns3SimpleNetDevice_methods(root_module, root_module['ns3::SimpleNetDevice'])
gjc@3408
   237
    return
gjc@3408
   238
gjc@3408
   239
def register_Ns3Address_methods(root_module, cls):
gjc@3731
   240
    cls.add_binary_comparison_operator('!=')
gjc@3731
   241
    cls.add_binary_comparison_operator('<')
gjc@3731
   242
    cls.add_output_stream_operator()
gjc@3731
   243
    cls.add_binary_comparison_operator('==')
gjc@3408
   244
    ## address.h: ns3::Address::Address() [constructor]
gjc@3468
   245
    cls.add_constructor([])
gjc@3408
   246
    ## address.h: ns3::Address::Address(uint8_t type, uint8_t const * buffer, uint8_t len) [constructor]
gjc@3574
   247
    cls.add_constructor([param('uint8_t', 'type'), param('uint8_t const *', 'buffer'), param('uint8_t', 'len')])
gjc@3408
   248
    ## address.h: ns3::Address::Address(ns3::Address const & address) [copy constructor]
gjc@3574
   249
    cls.add_constructor([param('ns3::Address const &', 'address')])
gjc@3408
   250
    ## address.h: bool ns3::Address::CheckCompatible(uint8_t type, uint8_t len) const [member function]
gjc@3468
   251
    cls.add_method('CheckCompatible', 
gjc@3468
   252
                   'bool', 
gjc@3468
   253
                   [param('uint8_t', 'type'), param('uint8_t', 'len')], 
gjc@3468
   254
                   is_const=True)
gjc@3408
   255
    ## address.h: uint32_t ns3::Address::CopyAllFrom(uint8_t const * buffer, uint8_t len) [member function]
gjc@3468
   256
    cls.add_method('CopyAllFrom', 
gjc@3468
   257
                   'uint32_t', 
gjc@3574
   258
                   [param('uint8_t const *', 'buffer'), param('uint8_t', 'len')])
gjc@3408
   259
    ## address.h: uint32_t ns3::Address::CopyAllTo(uint8_t * buffer, uint8_t len) const [member function]
gjc@3468
   260
    cls.add_method('CopyAllTo', 
gjc@3468
   261
                   'uint32_t', 
gjc@3468
   262
                   [param('uint8_t *', 'buffer'), param('uint8_t', 'len')], 
gjc@3468
   263
                   is_const=True)
gjc@3408
   264
    ## address.h: uint32_t ns3::Address::CopyFrom(uint8_t const * buffer, uint8_t len) [member function]
gjc@3468
   265
    cls.add_method('CopyFrom', 
gjc@3468
   266
                   'uint32_t', 
gjc@3574
   267
                   [param('uint8_t const *', 'buffer'), param('uint8_t', 'len')])
gjc@3408
   268
    ## address.h: uint32_t ns3::Address::CopyTo(uint8_t * buffer) const [member function]
gjc@3468
   269
    cls.add_method('CopyTo', 
gjc@3468
   270
                   'uint32_t', 
gjc@3468
   271
                   [param('uint8_t *', 'buffer')], 
gjc@3468
   272
                   is_const=True)
gjc@3408
   273
    ## address.h: void ns3::Address::Deserialize(ns3::TagBuffer buffer) [member function]
gjc@3468
   274
    cls.add_method('Deserialize', 
gjc@3468
   275
                   'void', 
gjc@3468
   276
                   [param('ns3::TagBuffer', 'buffer')])
gjc@3408
   277
    ## address.h: uint8_t ns3::Address::GetLength() const [member function]
gjc@3468
   278
    cls.add_method('GetLength', 
gjc@3468
   279
                   'uint8_t', 
gjc@3468
   280
                   [], 
gjc@3468
   281
                   is_const=True)
gjc@3408
   282
    ## address.h: uint32_t ns3::Address::GetSerializedSize() const [member function]
gjc@3468
   283
    cls.add_method('GetSerializedSize', 
gjc@3468
   284
                   'uint32_t', 
gjc@3468
   285
                   [], 
gjc@3468
   286
                   is_const=True)
gjc@3408
   287
    ## address.h: bool ns3::Address::IsInvalid() const [member function]
gjc@3468
   288
    cls.add_method('IsInvalid', 
gjc@3468
   289
                   'bool', 
gjc@3468
   290
                   [], 
gjc@3468
   291
                   is_const=True)
gjc@3408
   292
    ## address.h: bool ns3::Address::IsMatchingType(uint8_t type) const [member function]
gjc@3468
   293
    cls.add_method('IsMatchingType', 
gjc@3468
   294
                   'bool', 
gjc@3468
   295
                   [param('uint8_t', 'type')], 
gjc@3468
   296
                   is_const=True)
gjc@3408
   297
    ## address.h: static uint8_t ns3::Address::Register() [member function]
gjc@3468
   298
    cls.add_method('Register', 
gjc@3468
   299
                   'uint8_t', 
gjc@3468
   300
                   [], 
gjc@3468
   301
                   is_static=True)
gjc@3408
   302
    ## address.h: void ns3::Address::Serialize(ns3::TagBuffer buffer) const [member function]
gjc@3468
   303
    cls.add_method('Serialize', 
gjc@3468
   304
                   'void', 
gjc@3468
   305
                   [param('ns3::TagBuffer', 'buffer')], 
gjc@3468
   306
                   is_const=True)
gjc@3408
   307
    return
gjc@3408
   308
gjc@3855
   309
def register_Ns3Inet6SocketAddress_methods(root_module, cls):
mathieu@4241
   310
    ## inet6-socket-address.h: ns3::Inet6SocketAddress::Inet6SocketAddress(ns3::Inet6SocketAddress const & arg0) [copy constructor]
mathieu@4241
   311
    cls.add_constructor([param('ns3::Inet6SocketAddress const &', 'arg0')])
gjc@3855
   312
    ## inet6-socket-address.h: ns3::Inet6SocketAddress::Inet6SocketAddress(ns3::Ipv6Address ipv6, uint16_t port) [constructor]
gjc@3855
   313
    cls.add_constructor([param('ns3::Ipv6Address', 'ipv6'), param('uint16_t', 'port')])
gjc@3855
   314
    ## inet6-socket-address.h: ns3::Inet6SocketAddress::Inet6SocketAddress(ns3::Ipv6Address ipv6) [constructor]
gjc@3855
   315
    cls.add_constructor([param('ns3::Ipv6Address', 'ipv6')])
gjc@3855
   316
    ## inet6-socket-address.h: ns3::Inet6SocketAddress::Inet6SocketAddress(uint16_t port) [constructor]
gjc@3855
   317
    cls.add_constructor([param('uint16_t', 'port')])
gjc@3855
   318
    ## inet6-socket-address.h: ns3::Inet6SocketAddress::Inet6SocketAddress(char const * ipv6, uint16_t port) [constructor]
gjc@3855
   319
    cls.add_constructor([param('char const *', 'ipv6'), param('uint16_t', 'port')])
gjc@3855
   320
    ## inet6-socket-address.h: ns3::Inet6SocketAddress::Inet6SocketAddress(char const * ipv6) [constructor]
gjc@3855
   321
    cls.add_constructor([param('char const *', 'ipv6')])
gjc@3855
   322
    ## inet6-socket-address.h: uint16_t ns3::Inet6SocketAddress::GetPort() const [member function]
gjc@3855
   323
    cls.add_method('GetPort', 
gjc@3855
   324
                   'uint16_t', 
gjc@3855
   325
                   [], 
gjc@3855
   326
                   is_const=True)
gjc@3855
   327
    ## inet6-socket-address.h: void ns3::Inet6SocketAddress::SetPort(uint16_t port) [member function]
gjc@3855
   328
    cls.add_method('SetPort', 
gjc@3855
   329
                   'void', 
gjc@3855
   330
                   [param('uint16_t', 'port')])
gjc@3855
   331
    ## inet6-socket-address.h: ns3::Ipv6Address ns3::Inet6SocketAddress::GetIpv6() const [member function]
gjc@3855
   332
    cls.add_method('GetIpv6', 
gjc@3855
   333
                   'ns3::Ipv6Address', 
gjc@3855
   334
                   [], 
gjc@3855
   335
                   is_const=True)
gjc@3855
   336
    ## inet6-socket-address.h: void ns3::Inet6SocketAddress::SetIpv6(ns3::Ipv6Address ipv6) [member function]
gjc@3855
   337
    cls.add_method('SetIpv6', 
gjc@3855
   338
                   'void', 
gjc@3855
   339
                   [param('ns3::Ipv6Address', 'ipv6')])
gjc@3855
   340
    ## inet6-socket-address.h: static bool ns3::Inet6SocketAddress::IsMatchingType(ns3::Address const & addr) [member function]
gjc@3855
   341
    cls.add_method('IsMatchingType', 
gjc@3855
   342
                   'bool', 
gjc@3855
   343
                   [param('ns3::Address const &', 'addr')], 
gjc@3855
   344
                   is_static=True)
gjc@3855
   345
    ## inet6-socket-address.h: static ns3::Inet6SocketAddress ns3::Inet6SocketAddress::ConvertFrom(ns3::Address const & addr) [member function]
gjc@3855
   346
    cls.add_method('ConvertFrom', 
gjc@3855
   347
                   'ns3::Inet6SocketAddress', 
gjc@3855
   348
                   [param('ns3::Address const &', 'addr')], 
gjc@3855
   349
                   is_static=True)
gjc@3855
   350
    return
gjc@3855
   351
gjc@3408
   352
def register_Ns3InetSocketAddress_methods(root_module, cls):
mathieu@4241
   353
    ## inet-socket-address.h: ns3::InetSocketAddress::InetSocketAddress(ns3::InetSocketAddress const & arg0) [copy constructor]
mathieu@4241
   354
    cls.add_constructor([param('ns3::InetSocketAddress const &', 'arg0')])
gjc@3408
   355
    ## inet-socket-address.h: ns3::InetSocketAddress::InetSocketAddress(ns3::Ipv4Address ipv4, uint16_t port) [constructor]
gjc@3468
   356
    cls.add_constructor([param('ns3::Ipv4Address', 'ipv4'), param('uint16_t', 'port')])
gjc@3408
   357
    ## inet-socket-address.h: ns3::InetSocketAddress::InetSocketAddress(ns3::Ipv4Address ipv4) [constructor]
gjc@3468
   358
    cls.add_constructor([param('ns3::Ipv4Address', 'ipv4')])
gjc@3408
   359
    ## inet-socket-address.h: ns3::InetSocketAddress::InetSocketAddress(uint16_t port) [constructor]
gjc@3468
   360
    cls.add_constructor([param('uint16_t', 'port')])
gjc@3408
   361
    ## inet-socket-address.h: ns3::InetSocketAddress::InetSocketAddress(char const * ipv4, uint16_t port) [constructor]
gjc@3574
   362
    cls.add_constructor([param('char const *', 'ipv4'), param('uint16_t', 'port')])
gjc@3408
   363
    ## inet-socket-address.h: ns3::InetSocketAddress::InetSocketAddress(char const * ipv4) [constructor]
gjc@3574
   364
    cls.add_constructor([param('char const *', 'ipv4')])
gjc@3408
   365
    ## inet-socket-address.h: uint16_t ns3::InetSocketAddress::GetPort() const [member function]
gjc@3468
   366
    cls.add_method('GetPort', 
gjc@3468
   367
                   'uint16_t', 
gjc@3468
   368
                   [], 
gjc@3468
   369
                   is_const=True)
gjc@3408
   370
    ## inet-socket-address.h: ns3::Ipv4Address ns3::InetSocketAddress::GetIpv4() const [member function]
gjc@3468
   371
    cls.add_method('GetIpv4', 
gjc@3468
   372
                   'ns3::Ipv4Address', 
gjc@3468
   373
                   [], 
gjc@3468
   374
                   is_const=True)
gjc@3408
   375
    ## inet-socket-address.h: void ns3::InetSocketAddress::SetPort(uint16_t port) [member function]
gjc@3468
   376
    cls.add_method('SetPort', 
gjc@3468
   377
                   'void', 
gjc@3468
   378
                   [param('uint16_t', 'port')])
gjc@3408
   379
    ## inet-socket-address.h: void ns3::InetSocketAddress::SetIpv4(ns3::Ipv4Address address) [member function]
gjc@3468
   380
    cls.add_method('SetIpv4', 
gjc@3468
   381
                   'void', 
gjc@3468
   382
                   [param('ns3::Ipv4Address', 'address')])
gjc@3408
   383
    ## inet-socket-address.h: static bool ns3::InetSocketAddress::IsMatchingType(ns3::Address const & address) [member function]
gjc@3468
   384
    cls.add_method('IsMatchingType', 
gjc@3468
   385
                   'bool', 
gjc@3574
   386
                   [param('ns3::Address const &', 'address')], 
gjc@3468
   387
                   is_static=True)
gjc@3408
   388
    ## inet-socket-address.h: static ns3::InetSocketAddress ns3::InetSocketAddress::ConvertFrom(ns3::Address const & address) [member function]
gjc@3468
   389
    cls.add_method('ConvertFrom', 
gjc@3468
   390
                   'ns3::InetSocketAddress', 
gjc@3574
   391
                   [param('ns3::Address const &', 'address')], 
gjc@3468
   392
                   is_static=True)
gjc@3408
   393
    return
gjc@3408
   394
gjc@3408
   395
def register_Ns3Ipv4Address_methods(root_module, cls):
gjc@3731
   396
    cls.add_binary_comparison_operator('!=')
gjc@3731
   397
    cls.add_binary_comparison_operator('<')
gjc@3731
   398
    cls.add_output_stream_operator()
gjc@3731
   399
    cls.add_binary_comparison_operator('==')
gjc@3408
   400
    ## ipv4-address.h: ns3::Ipv4Address::Ipv4Address(ns3::Ipv4Address const & arg0) [copy constructor]
gjc@3574
   401
    cls.add_constructor([param('ns3::Ipv4Address const &', 'arg0')])
gjc@3408
   402
    ## ipv4-address.h: ns3::Ipv4Address::Ipv4Address() [constructor]
gjc@3468
   403
    cls.add_constructor([])
gjc@3408
   404
    ## ipv4-address.h: ns3::Ipv4Address::Ipv4Address(uint32_t address) [constructor]
gjc@3468
   405
    cls.add_constructor([param('uint32_t', 'address')])
gjc@3408
   406
    ## ipv4-address.h: ns3::Ipv4Address::Ipv4Address(char const * address) [constructor]
gjc@3574
   407
    cls.add_constructor([param('char const *', 'address')])
gjc@3408
   408
    ## ipv4-address.h: ns3::Ipv4Address ns3::Ipv4Address::CombineMask(ns3::Ipv4Mask const & mask) const [member function]
gjc@3468
   409
    cls.add_method('CombineMask', 
gjc@3468
   410
                   'ns3::Ipv4Address', 
gjc@3574
   411
                   [param('ns3::Ipv4Mask const &', 'mask')], 
gjc@3468
   412
                   is_const=True)
gjc@3408
   413
    ## ipv4-address.h: static ns3::Ipv4Address ns3::Ipv4Address::ConvertFrom(ns3::Address const & address) [member function]
gjc@3468
   414
    cls.add_method('ConvertFrom', 
gjc@3468
   415
                   'ns3::Ipv4Address', 
gjc@3574
   416
                   [param('ns3::Address const &', 'address')], 
gjc@3468
   417
                   is_static=True)
gjc@3408
   418
    ## ipv4-address.h: static ns3::Ipv4Address ns3::Ipv4Address::Deserialize(uint8_t const * buf) [member function]
gjc@3468
   419
    cls.add_method('Deserialize', 
gjc@3468
   420
                   'ns3::Ipv4Address', 
gjc@3574
   421
                   [param('uint8_t const *', 'buf')], 
gjc@3468
   422
                   is_static=True)
gjc@3408
   423
    ## ipv4-address.h: uint32_t ns3::Ipv4Address::Get() const [member function]
gjc@3468
   424
    cls.add_method('Get', 
gjc@3468
   425
                   'uint32_t', 
gjc@3468
   426
                   [], 
gjc@3468
   427
                   is_const=True)
gjc@3408
   428
    ## ipv4-address.h: static ns3::Ipv4Address ns3::Ipv4Address::GetAny() [member function]
gjc@3468
   429
    cls.add_method('GetAny', 
gjc@3468
   430
                   'ns3::Ipv4Address', 
gjc@3468
   431
                   [], 
gjc@3468
   432
                   is_static=True)
gjc@3408
   433
    ## ipv4-address.h: static ns3::Ipv4Address ns3::Ipv4Address::GetBroadcast() [member function]
gjc@3468
   434
    cls.add_method('GetBroadcast', 
gjc@3468
   435
                   'ns3::Ipv4Address', 
gjc@3468
   436
                   [], 
gjc@3468
   437
                   is_static=True)
gjc@3408
   438
    ## ipv4-address.h: static ns3::Ipv4Address ns3::Ipv4Address::GetLoopback() [member function]
gjc@3468
   439
    cls.add_method('GetLoopback', 
gjc@3468
   440
                   'ns3::Ipv4Address', 
gjc@3468
   441
                   [], 
gjc@3468
   442
                   is_static=True)
gjc@3408
   443
    ## ipv4-address.h: ns3::Ipv4Address ns3::Ipv4Address::GetSubnetDirectedBroadcast(ns3::Ipv4Mask const & mask) const [member function]
gjc@3468
   444
    cls.add_method('GetSubnetDirectedBroadcast', 
gjc@3468
   445
                   'ns3::Ipv4Address', 
gjc@3574
   446
                   [param('ns3::Ipv4Mask const &', 'mask')], 
gjc@3468
   447
                   is_const=True)
gjc@3408
   448
    ## ipv4-address.h: static ns3::Ipv4Address ns3::Ipv4Address::GetZero() [member function]
gjc@3468
   449
    cls.add_method('GetZero', 
gjc@3468
   450
                   'ns3::Ipv4Address', 
gjc@3468
   451
                   [], 
gjc@3468
   452
                   is_static=True)
gjc@3408
   453
    ## ipv4-address.h: bool ns3::Ipv4Address::IsBroadcast() const [member function]
gjc@3468
   454
    cls.add_method('IsBroadcast', 
gjc@3468
   455
                   'bool', 
gjc@3468
   456
                   [], 
gjc@3468
   457
                   is_const=True)
gjc@3408
   458
    ## ipv4-address.h: bool ns3::Ipv4Address::IsEqual(ns3::Ipv4Address const & other) const [member function]
gjc@3468
   459
    cls.add_method('IsEqual', 
gjc@3468
   460
                   'bool', 
gjc@3574
   461
                   [param('ns3::Ipv4Address const &', 'other')], 
gjc@3468
   462
                   is_const=True)
gjc@3408
   463
    ## ipv4-address.h: static bool ns3::Ipv4Address::IsMatchingType(ns3::Address const & address) [member function]
gjc@3468
   464
    cls.add_method('IsMatchingType', 
gjc@3468
   465
                   'bool', 
gjc@3574
   466
                   [param('ns3::Address const &', 'address')], 
gjc@3468
   467
                   is_static=True)
gjc@3408
   468
    ## ipv4-address.h: bool ns3::Ipv4Address::IsMulticast() const [member function]
gjc@3468
   469
    cls.add_method('IsMulticast', 
gjc@3468
   470
                   'bool', 
gjc@3468
   471
                   [], 
gjc@3468
   472
                   is_const=True)
gjc@3408
   473
    ## ipv4-address.h: bool ns3::Ipv4Address::IsSubnetDirectedBroadcast(ns3::Ipv4Mask const & mask) const [member function]
gjc@3468
   474
    cls.add_method('IsSubnetDirectedBroadcast', 
gjc@3468
   475
                   'bool', 
gjc@3574
   476
                   [param('ns3::Ipv4Mask const &', 'mask')], 
gjc@3468
   477
                   is_const=True)
gjc@3408
   478
    ## ipv4-address.h: void ns3::Ipv4Address::Print(std::ostream & os) const [member function]
gjc@3468
   479
    cls.add_method('Print', 
gjc@3468
   480
                   'void', 
gjc@3574
   481
                   [param('std::ostream &', 'os')], 
gjc@3468
   482
                   is_const=True)
gjc@3408
   483
    ## ipv4-address.h: void ns3::Ipv4Address::Serialize(uint8_t * buf) const [member function]
gjc@3468
   484
    cls.add_method('Serialize', 
gjc@3468
   485
                   'void', 
gjc@3468
   486
                   [param('uint8_t *', 'buf')], 
gjc@3468
   487
                   is_const=True)
gjc@3408
   488
    ## ipv4-address.h: void ns3::Ipv4Address::Set(uint32_t address) [member function]
gjc@3468
   489
    cls.add_method('Set', 
gjc@3468
   490
                   'void', 
gjc@3468
   491
                   [param('uint32_t', 'address')])
gjc@3408
   492
    ## ipv4-address.h: void ns3::Ipv4Address::Set(char const * address) [member function]
gjc@3468
   493
    cls.add_method('Set', 
gjc@3468
   494
                   'void', 
gjc@3574
   495
                   [param('char const *', 'address')])
gjc@3408
   496
    return
gjc@3408
   497
gjc@3731
   498
def register_Ns3Ipv4AddressGenerator_methods(root_module, cls):
mathieu@4241
   499
    ## ipv4-address-generator.h: ns3::Ipv4AddressGenerator::Ipv4AddressGenerator(ns3::Ipv4AddressGenerator const & arg0) [copy constructor]
mathieu@4241
   500
    cls.add_constructor([param('ns3::Ipv4AddressGenerator const &', 'arg0')])
mathieu@4241
   501
    ## ipv4-address-generator.h: ns3::Ipv4AddressGenerator::Ipv4AddressGenerator() [constructor]
mathieu@4241
   502
    cls.add_constructor([])
gjc@3731
   503
    ## ipv4-address-generator.h: static void ns3::Ipv4AddressGenerator::Init(ns3::Ipv4Address const net, ns3::Ipv4Mask const mask, ns3::Ipv4Address const addr="0.0.0.1") [member function]
gjc@3731
   504
    cls.add_method('Init', 
gjc@3731
   505
                   'void', 
gjc@3731
   506
                   [param('ns3::Ipv4Address const', 'net'), param('ns3::Ipv4Mask const', 'mask'), param('ns3::Ipv4Address const', 'addr', default_value='"0.0.0.1"')], 
gjc@3731
   507
                   is_static=True)
gjc@3731
   508
    ## ipv4-address-generator.h: static ns3::Ipv4Address ns3::Ipv4AddressGenerator::NextNetwork(ns3::Ipv4Mask const mask) [member function]
gjc@3731
   509
    cls.add_method('NextNetwork', 
gjc@3731
   510
                   'ns3::Ipv4Address', 
gjc@3731
   511
                   [param('ns3::Ipv4Mask const', 'mask')], 
gjc@3731
   512
                   is_static=True)
gjc@3731
   513
    ## ipv4-address-generator.h: static ns3::Ipv4Address ns3::Ipv4AddressGenerator::GetNetwork(ns3::Ipv4Mask const mask) [member function]
gjc@3731
   514
    cls.add_method('GetNetwork', 
gjc@3731
   515
                   'ns3::Ipv4Address', 
gjc@3731
   516
                   [param('ns3::Ipv4Mask const', 'mask')], 
gjc@3731
   517
                   is_static=True)
gjc@3731
   518
    ## ipv4-address-generator.h: static void ns3::Ipv4AddressGenerator::InitAddress(ns3::Ipv4Address const addr, ns3::Ipv4Mask const mask) [member function]
gjc@3731
   519
    cls.add_method('InitAddress', 
gjc@3731
   520
                   'void', 
gjc@3731
   521
                   [param('ns3::Ipv4Address const', 'addr'), param('ns3::Ipv4Mask const', 'mask')], 
gjc@3731
   522
                   is_static=True)
gjc@3731
   523
    ## ipv4-address-generator.h: static ns3::Ipv4Address ns3::Ipv4AddressGenerator::NextAddress(ns3::Ipv4Mask const mask) [member function]
gjc@3731
   524
    cls.add_method('NextAddress', 
gjc@3731
   525
                   'ns3::Ipv4Address', 
gjc@3731
   526
                   [param('ns3::Ipv4Mask const', 'mask')], 
gjc@3731
   527
                   is_static=True)
gjc@3731
   528
    ## ipv4-address-generator.h: static ns3::Ipv4Address ns3::Ipv4AddressGenerator::GetAddress(ns3::Ipv4Mask const mask) [member function]
gjc@3731
   529
    cls.add_method('GetAddress', 
gjc@3731
   530
                   'ns3::Ipv4Address', 
gjc@3731
   531
                   [param('ns3::Ipv4Mask const', 'mask')], 
gjc@3731
   532
                   is_static=True)
gjc@3731
   533
    ## ipv4-address-generator.h: static void ns3::Ipv4AddressGenerator::Reset() [member function]
gjc@3731
   534
    cls.add_method('Reset', 
gjc@3731
   535
                   'void', 
gjc@3468
   536
                   [], 
gjc@3468
   537
                   is_static=True)
gjc@3731
   538
    ## ipv4-address-generator.h: static bool ns3::Ipv4AddressGenerator::AddAllocated(ns3::Ipv4Address const addr) [member function]
gjc@3731
   539
    cls.add_method('AddAllocated', 
gjc@3731
   540
                   'bool', 
gjc@3731
   541
                   [param('ns3::Ipv4Address const', 'addr')], 
gjc@3731
   542
                   is_static=True)
gjc@3731
   543
    ## ipv4-address-generator.h: static void ns3::Ipv4AddressGenerator::TestMode() [member function]
gjc@3731
   544
    cls.add_method('TestMode', 
gjc@3731
   545
                   'void', 
gjc@3731
   546
                   [], 
gjc@3731
   547
                   is_static=True)
gjc@3731
   548
    return
gjc@3731
   549
tomh@4382
   550
def register_Ns3Ipv4InterfaceAddress_methods(root_module, cls):
tomh@4382
   551
    cls.add_output_stream_operator()
tomh@4382
   552
    ## ipv4-interface-address.h: ns3::Ipv4InterfaceAddress::Ipv4InterfaceAddress() [constructor]
tomh@4382
   553
    cls.add_constructor([])
tomh@4382
   554
    ## ipv4-interface-address.h: ns3::Ipv4InterfaceAddress::Ipv4InterfaceAddress(ns3::Ipv4Address local, ns3::Ipv4Mask mask) [constructor]
tomh@4382
   555
    cls.add_constructor([param('ns3::Ipv4Address', 'local'), param('ns3::Ipv4Mask', 'mask')])
tomh@4382
   556
    ## ipv4-interface-address.h: ns3::Ipv4InterfaceAddress::Ipv4InterfaceAddress(ns3::Ipv4InterfaceAddress const & o) [copy constructor]
tomh@4382
   557
    cls.add_constructor([param('ns3::Ipv4InterfaceAddress const &', 'o')])
tomh@4382
   558
    ## ipv4-interface-address.h: ns3::Ipv4Address ns3::Ipv4InterfaceAddress::GetBroadcast() const [member function]
tomh@4382
   559
    cls.add_method('GetBroadcast', 
tomh@4382
   560
                   'ns3::Ipv4Address', 
tomh@4382
   561
                   [], 
tomh@4382
   562
                   is_const=True)
tomh@4382
   563
    ## ipv4-interface-address.h: ns3::Ipv4Address ns3::Ipv4InterfaceAddress::GetLocal() const [member function]
tomh@4382
   564
    cls.add_method('GetLocal', 
tomh@4382
   565
                   'ns3::Ipv4Address', 
tomh@4382
   566
                   [], 
tomh@4382
   567
                   is_const=True)
tomh@4382
   568
    ## ipv4-interface-address.h: ns3::Ipv4Mask ns3::Ipv4InterfaceAddress::GetMask() const [member function]
tomh@4382
   569
    cls.add_method('GetMask', 
tomh@4382
   570
                   'ns3::Ipv4Mask', 
tomh@4382
   571
                   [], 
tomh@4382
   572
                   is_const=True)
tomh@4382
   573
    ## ipv4-interface-address.h: ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e ns3::Ipv4InterfaceAddress::GetScope() const [member function]
tomh@4382
   574
    cls.add_method('GetScope', 
tomh@4382
   575
                   'ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e', 
tomh@4382
   576
                   [], 
tomh@4382
   577
                   is_const=True)
tomh@4382
   578
    ## ipv4-interface-address.h: bool ns3::Ipv4InterfaceAddress::IsSecondary() const [member function]
tomh@4382
   579
    cls.add_method('IsSecondary', 
tomh@4382
   580
                   'bool', 
tomh@4382
   581
                   [], 
tomh@4382
   582
                   is_const=True)
tomh@4382
   583
    ## ipv4-interface-address.h: void ns3::Ipv4InterfaceAddress::SetBroadcast(ns3::Ipv4Address broadcast) [member function]
tomh@4382
   584
    cls.add_method('SetBroadcast', 
tomh@4382
   585
                   'void', 
tomh@4382
   586
                   [param('ns3::Ipv4Address', 'broadcast')])
tomh@4382
   587
    ## ipv4-interface-address.h: void ns3::Ipv4InterfaceAddress::SetLocal(ns3::Ipv4Address local) [member function]
tomh@4382
   588
    cls.add_method('SetLocal', 
tomh@4382
   589
                   'void', 
tomh@4382
   590
                   [param('ns3::Ipv4Address', 'local')])
tomh@4382
   591
    ## ipv4-interface-address.h: void ns3::Ipv4InterfaceAddress::SetMask(ns3::Ipv4Mask mask) [member function]
tomh@4382
   592
    cls.add_method('SetMask', 
tomh@4382
   593
                   'void', 
tomh@4382
   594
                   [param('ns3::Ipv4Mask', 'mask')])
tomh@4382
   595
    ## ipv4-interface-address.h: void ns3::Ipv4InterfaceAddress::SetPrimary() [member function]
tomh@4382
   596
    cls.add_method('SetPrimary', 
tomh@4382
   597
                   'void', 
tomh@4382
   598
                   [])
tomh@4382
   599
    ## ipv4-interface-address.h: void ns3::Ipv4InterfaceAddress::SetScope(ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e scope) [member function]
tomh@4382
   600
    cls.add_method('SetScope', 
tomh@4382
   601
                   'void', 
tomh@4382
   602
                   [param('ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e', 'scope')])
tomh@4382
   603
    ## ipv4-interface-address.h: void ns3::Ipv4InterfaceAddress::SetSecondary() [member function]
tomh@4382
   604
    cls.add_method('SetSecondary', 
tomh@4382
   605
                   'void', 
tomh@4382
   606
                   [])
tomh@4382
   607
    return
tomh@4382
   608
gjc@3731
   609
def register_Ns3Ipv4Mask_methods(root_module, cls):
gjc@3731
   610
    cls.add_binary_comparison_operator('!=')
gjc@3731
   611
    cls.add_output_stream_operator()
gjc@3731
   612
    cls.add_binary_comparison_operator('==')
gjc@3731
   613
    ## ipv4-address.h: ns3::Ipv4Mask::Ipv4Mask(ns3::Ipv4Mask const & arg0) [copy constructor]
gjc@3731
   614
    cls.add_constructor([param('ns3::Ipv4Mask const &', 'arg0')])
gjc@3731
   615
    ## ipv4-address.h: ns3::Ipv4Mask::Ipv4Mask() [constructor]
gjc@3468
   616
    cls.add_constructor([])
gjc@3731
   617
    ## ipv4-address.h: ns3::Ipv4Mask::Ipv4Mask(uint32_t mask) [constructor]
gjc@3731
   618
    cls.add_constructor([param('uint32_t', 'mask')])
gjc@3731
   619
    ## ipv4-address.h: ns3::Ipv4Mask::Ipv4Mask(char const * mask) [constructor]
gjc@3731
   620
    cls.add_constructor([param('char const *', 'mask')])
gjc@3731
   621
    ## ipv4-address.h: uint32_t ns3::Ipv4Mask::Get() const [member function]
gjc@3731
   622
    cls.add_method('Get', 
gjc@3731
   623
                   'uint32_t', 
gjc@3468
   624
                   [], 
gjc@3468
   625
                   is_const=True)
gjc@3731
   626
    ## ipv4-address.h: uint32_t ns3::Ipv4Mask::GetInverse() const [member function]
gjc@3731
   627
    cls.add_method('GetInverse', 
gjc@3731
   628
                   'uint32_t', 
gjc@3731
   629
                   [], 
gjc@3731
   630
                   is_const=True)
gjc@3731
   631
    ## ipv4-address.h: static ns3::Ipv4Mask ns3::Ipv4Mask::GetLoopback() [member function]
gjc@3731
   632
    cls.add_method('GetLoopback', 
gjc@3731
   633
                   'ns3::Ipv4Mask', 
gjc@3731
   634
                   [], 
gjc@3731
   635
                   is_static=True)
craigdo@3972
   636
    ## ipv4-address.h: static ns3::Ipv4Mask ns3::Ipv4Mask::GetOnes() [member function]
craigdo@3972
   637
    cls.add_method('GetOnes', 
craigdo@3972
   638
                   'ns3::Ipv4Mask', 
craigdo@3972
   639
                   [], 
craigdo@3972
   640
                   is_static=True)
gjc@3731
   641
    ## ipv4-address.h: static ns3::Ipv4Mask ns3::Ipv4Mask::GetZero() [member function]
gjc@3731
   642
    cls.add_method('GetZero', 
gjc@3731
   643
                   'ns3::Ipv4Mask', 
gjc@3731
   644
                   [], 
gjc@3731
   645
                   is_static=True)
gjc@3731
   646
    ## ipv4-address.h: bool ns3::Ipv4Mask::IsEqual(ns3::Ipv4Mask other) const [member function]
gjc@3731
   647
    cls.add_method('IsEqual', 
gjc@3731
   648
                   'bool', 
gjc@3731
   649
                   [param('ns3::Ipv4Mask', 'other')], 
gjc@3731
   650
                   is_const=True)
gjc@3731
   651
    ## ipv4-address.h: bool ns3::Ipv4Mask::IsMatch(ns3::Ipv4Address a, ns3::Ipv4Address b) const [member function]
gjc@3731
   652
    cls.add_method('IsMatch', 
gjc@3731
   653
                   'bool', 
gjc@3731
   654
                   [param('ns3::Ipv4Address', 'a'), param('ns3::Ipv4Address', 'b')], 
gjc@3731
   655
                   is_const=True)
gjc@3731
   656
    ## ipv4-address.h: void ns3::Ipv4Mask::Print(std::ostream & os) const [member function]
gjc@3731
   657
    cls.add_method('Print', 
gjc@3468
   658
                   'void', 
gjc@3731
   659
                   [param('std::ostream &', 'os')], 
gjc@3731
   660
                   is_const=True)
gjc@3731
   661
    ## ipv4-address.h: void ns3::Ipv4Mask::Set(uint32_t mask) [member function]
gjc@3731
   662
    cls.add_method('Set', 
gjc@3468
   663
                   'void', 
gjc@3731
   664
                   [param('uint32_t', 'mask')])
gjc@3408
   665
    return
gjc@3408
   666
gjc@3731
   667
def register_Ns3Ipv4MulticastRoute_methods(root_module, cls):
gjc@3731
   668
    cls.add_output_stream_operator()
gjc@3731
   669
    ## ipv4-route.h: ns3::Ipv4MulticastRoute::Ipv4MulticastRoute() [constructor]
gjc@3731
   670
    cls.add_constructor([])
gjc@3731
   671
    ## ipv4-route.h: ns3::Ipv4MulticastRoute::Ipv4MulticastRoute(ns3::Ipv4MulticastRoute const & route) [copy constructor]
gjc@3731
   672
    cls.add_constructor([param('ns3::Ipv4MulticastRoute const &', 'route')])
gjc@3731
   673
    ## ipv4-route.h: ns3::Ipv4MulticastRoute::Ipv4MulticastRoute(ns3::Ipv4MulticastRoute const * route) [constructor]
gjc@3731
   674
    cls.add_constructor([param('ns3::Ipv4MulticastRoute const *', 'route')])
gjc@3731
   675
    ## 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]
gjc@3731
   676
    cls.add_method('CreateMulticastRoute', 
gjc@3731
   677
                   'ns3::Ipv4MulticastRoute', 
gjc@3731
   678
                   [param('ns3::Ipv4Address', 'origin'), param('ns3::Ipv4Address', 'group'), param('uint32_t', 'inputInterface'), param('std::vector< unsigned int >', 'outputInterfaces')], 
gjc@3731
   679
                   is_static=True)
gjc@3731
   680
    ## ipv4-route.h: ns3::Ipv4Address ns3::Ipv4MulticastRoute::GetGroup() const [member function]
gjc@3731
   681
    cls.add_method('GetGroup', 
gjc@3731
   682
                   'ns3::Ipv4Address', 
gjc@3468
   683
                   [], 
gjc@3731
   684
                   is_const=True)
gjc@3731
   685
    ## ipv4-route.h: uint32_t ns3::Ipv4MulticastRoute::GetInputInterface() const [member function]
gjc@3731
   686
    cls.add_method('GetInputInterface', 
gjc@3731
   687
                   'uint32_t', 
gjc@3731
   688
                   [], 
gjc@3731
   689
                   is_const=True)
gjc@3731
   690
    ## ipv4-route.h: uint32_t ns3::Ipv4MulticastRoute::GetNOutputInterfaces() const [member function]
gjc@3731
   691
    cls.add_method('GetNOutputInterfaces', 
gjc@3731
   692
                   'uint32_t', 
gjc@3731
   693
                   [], 
gjc@3731
   694
                   is_const=True)
gjc@3731
   695
    ## ipv4-route.h: ns3::Ipv4Address ns3::Ipv4MulticastRoute::GetOrigin() const [member function]
gjc@3731
   696
    cls.add_method('GetOrigin', 
gjc@3731
   697
                   'ns3::Ipv4Address', 
gjc@3731
   698
                   [], 
gjc@3731
   699
                   is_const=True)
gjc@3731
   700
    ## ipv4-route.h: uint32_t ns3::Ipv4MulticastRoute::GetOutputInterface(uint32_t n) const [member function]
gjc@3731
   701
    cls.add_method('GetOutputInterface', 
gjc@3731
   702
                   'uint32_t', 
gjc@3731
   703
                   [param('uint32_t', 'n')], 
gjc@3731
   704
                   is_const=True)
gjc@3731
   705
    ## ipv4-route.h: std::vector<unsigned int, std::allocator<unsigned int> > ns3::Ipv4MulticastRoute::GetOutputInterfaces() const [member function]
gjc@3731
   706
    cls.add_method('GetOutputInterfaces', 
gjc@3731
   707
                   'std::vector< unsigned int >', 
gjc@3731
   708
                   [], 
gjc@3731
   709
                   is_const=True)
gjc@3731
   710
    return
gjc@3731
   711
gjc@3731
   712
def register_Ns3Ipv4Route_methods(root_module, cls):
gjc@3731
   713
    cls.add_output_stream_operator()
gjc@3731
   714
    ## ipv4-route.h: ns3::Ipv4Route::Ipv4Route() [constructor]
gjc@3731
   715
    cls.add_constructor([])
gjc@3731
   716
    ## ipv4-route.h: ns3::Ipv4Route::Ipv4Route(ns3::Ipv4Route const & route) [copy constructor]
gjc@3731
   717
    cls.add_constructor([param('ns3::Ipv4Route const &', 'route')])
gjc@3731
   718
    ## ipv4-route.h: ns3::Ipv4Route::Ipv4Route(ns3::Ipv4Route const * route) [constructor]
gjc@3731
   719
    cls.add_constructor([param('ns3::Ipv4Route const *', 'route')])
gjc@3731
   720
    ## ipv4-route.h: static ns3::Ipv4Route ns3::Ipv4Route::CreateDefaultRoute(ns3::Ipv4Address nextHop, uint32_t interface) [member function]
gjc@3731
   721
    cls.add_method('CreateDefaultRoute', 
gjc@3731
   722
                   'ns3::Ipv4Route', 
gjc@3731
   723
                   [param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')], 
gjc@3468
   724
                   is_static=True)
gjc@3731
   725
    ## ipv4-route.h: static ns3::Ipv4Route ns3::Ipv4Route::CreateHostRouteTo(ns3::Ipv4Address dest, ns3::Ipv4Address nextHop, uint32_t interface) [member function]
gjc@3731
   726
    cls.add_method('CreateHostRouteTo', 
gjc@3731
   727
                   'ns3::Ipv4Route', 
gjc@3731
   728
                   [param('ns3::Ipv4Address', 'dest'), param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')], 
gjc@3731
   729
                   is_static=True)
gjc@3731
   730
    ## ipv4-route.h: static ns3::Ipv4Route ns3::Ipv4Route::CreateHostRouteTo(ns3::Ipv4Address dest, uint32_t interface) [member function]
gjc@3731
   731
    cls.add_method('CreateHostRouteTo', 
gjc@3731
   732
                   'ns3::Ipv4Route', 
gjc@3731
   733
                   [param('ns3::Ipv4Address', 'dest'), param('uint32_t', 'interface')], 
gjc@3731
   734
                   is_static=True)
gjc@3731
   735
    ## ipv4-route.h: static ns3::Ipv4Route ns3::Ipv4Route::CreateNetworkRouteTo(ns3::Ipv4Address network, ns3::Ipv4Mask networkMask, ns3::Ipv4Address nextHop, uint32_t interface) [member function]
gjc@3731
   736
    cls.add_method('CreateNetworkRouteTo', 
gjc@3731
   737
                   'ns3::Ipv4Route', 
gjc@3731
   738
                   [param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'networkMask'), param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')], 
gjc@3731
   739
                   is_static=True)
gjc@3731
   740
    ## ipv4-route.h: static ns3::Ipv4Route ns3::Ipv4Route::CreateNetworkRouteTo(ns3::Ipv4Address network, ns3::Ipv4Mask networkMask, uint32_t interface) [member function]
gjc@3731
   741
    cls.add_method('CreateNetworkRouteTo', 
gjc@3731
   742
                   'ns3::Ipv4Route', 
gjc@3731
   743
                   [param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'networkMask'), param('uint32_t', 'interface')], 
gjc@3731
   744
                   is_static=True)
gjc@3731
   745
    ## ipv4-route.h: ns3::Ipv4Address ns3::Ipv4Route::GetDest() const [member function]
gjc@3731
   746
    cls.add_method('GetDest', 
gjc@3731
   747
                   'ns3::Ipv4Address', 
gjc@3731
   748
                   [], 
gjc@3731
   749
                   is_const=True)
gjc@3731
   750
    ## ipv4-route.h: ns3::Ipv4Address ns3::Ipv4Route::GetDestNetwork() const [member function]
gjc@3731
   751
    cls.add_method('GetDestNetwork', 
gjc@3731
   752
                   'ns3::Ipv4Address', 
gjc@3731
   753
                   [], 
gjc@3731
   754
                   is_const=True)
gjc@3731
   755
    ## ipv4-route.h: ns3::Ipv4Mask ns3::Ipv4Route::GetDestNetworkMask() const [member function]
gjc@3731
   756
    cls.add_method('GetDestNetworkMask', 
gjc@3731
   757
                   'ns3::Ipv4Mask', 
gjc@3731
   758
                   [], 
gjc@3731
   759
                   is_const=True)
gjc@3731
   760
    ## ipv4-route.h: ns3::Ipv4Address ns3::Ipv4Route::GetGateway() const [member function]
gjc@3731
   761
    cls.add_method('GetGateway', 
gjc@3731
   762
                   'ns3::Ipv4Address', 
gjc@3731
   763
                   [], 
gjc@3731
   764
                   is_const=True)
gjc@3731
   765
    ## ipv4-route.h: uint32_t ns3::Ipv4Route::GetInterface() const [member function]
gjc@3731
   766
    cls.add_method('GetInterface', 
gjc@3731
   767
                   'uint32_t', 
gjc@3731
   768
                   [], 
gjc@3731
   769
                   is_const=True)
gjc@3731
   770
    ## ipv4-route.h: bool ns3::Ipv4Route::IsDefault() const [member function]
gjc@3731
   771
    cls.add_method('IsDefault', 
gjc@3468
   772
                   'bool', 
gjc@3468
   773
                   [], 
gjc@3468
   774
                   is_const=True)
gjc@3731
   775
    ## ipv4-route.h: bool ns3::Ipv4Route::IsGateway() const [member function]
gjc@3731
   776
    cls.add_method('IsGateway', 
gjc@3468
   777
                   'bool', 
gjc@3468
   778
                   [], 
gjc@3468
   779
                   is_const=True)
gjc@3731
   780
    ## ipv4-route.h: bool ns3::Ipv4Route::IsHost() const [member function]
gjc@3731
   781
    cls.add_method('IsHost', 
gjc@3731
   782
                   'bool', 
gjc@3731
   783
                   [], 
gjc@3731
   784
                   is_const=True)
gjc@3731
   785
    ## ipv4-route.h: bool ns3::Ipv4Route::IsNetwork() const [member function]
gjc@3731
   786
    cls.add_method('IsNetwork', 
gjc@3731
   787
                   'bool', 
gjc@3731
   788
                   [], 
gjc@3731
   789
                   is_const=True)
gjc@3731
   790
    return
gjc@3731
   791
gjc@3855
   792
def register_Ns3Ipv6Address_methods(root_module, cls):
gjc@3855
   793
    cls.add_binary_comparison_operator('!=')
gjc@3855
   794
    cls.add_binary_comparison_operator('<')
gjc@3855
   795
    cls.add_output_stream_operator()
gjc@3855
   796
    cls.add_binary_comparison_operator('==')
gjc@3855
   797
    ## ipv6-address.h: ns3::Ipv6Address::Ipv6Address() [constructor]
gjc@3855
   798
    cls.add_constructor([])
gjc@3855
   799
    ## ipv6-address.h: ns3::Ipv6Address::Ipv6Address(char const * address) [constructor]
gjc@3855
   800
    cls.add_constructor([param('char const *', 'address')])
gjc@3855
   801
    ## ipv6-address.h: ns3::Ipv6Address::Ipv6Address(uint8_t * address) [constructor]
gjc@3855
   802
    cls.add_constructor([param('uint8_t *', 'address')])
gjc@3855
   803
    ## ipv6-address.h: ns3::Ipv6Address::Ipv6Address(ns3::Ipv6Address const & addr) [copy constructor]
gjc@3855
   804
    cls.add_constructor([param('ns3::Ipv6Address const &', 'addr')])
gjc@3855
   805
    ## ipv6-address.h: ns3::Ipv6Address::Ipv6Address(ns3::Ipv6Address const * addr) [constructor]
gjc@3855
   806
    cls.add_constructor([param('ns3::Ipv6Address const *', 'addr')])
gjc@3855
   807
    ## ipv6-address.h: ns3::Ipv6Address ns3::Ipv6Address::CombinePrefix(ns3::Ipv6Prefix const & prefix) [member function]
gjc@3855
   808
    cls.add_method('CombinePrefix', 
gjc@3855
   809
                   'ns3::Ipv6Address', 
gjc@3855
   810
                   [param('ns3::Ipv6Prefix const &', 'prefix')])
gjc@3855
   811
    ## ipv6-address.h: static ns3::Ipv6Address ns3::Ipv6Address::ConvertFrom(ns3::Address const & address) [member function]
gjc@3855
   812
    cls.add_method('ConvertFrom', 
gjc@3855
   813
                   'ns3::Ipv6Address', 
gjc@3855
   814
                   [param('ns3::Address const &', 'address')], 
gjc@3855
   815
                   is_static=True)
gjc@3855
   816
    ## ipv6-address.h: static ns3::Ipv6Address ns3::Ipv6Address::Deserialize(uint8_t const * buf) [member function]
gjc@3855
   817
    cls.add_method('Deserialize', 
gjc@3855
   818
                   'ns3::Ipv6Address', 
gjc@3855
   819
                   [param('uint8_t const *', 'buf')], 
gjc@3855
   820
                   is_static=True)
gjc@3855
   821
    ## ipv6-address.h: static ns3::Ipv6Address ns3::Ipv6Address::GetAllHostsMulticast() [member function]
gjc@3855
   822
    cls.add_method('GetAllHostsMulticast', 
gjc@3855
   823
                   'ns3::Ipv6Address', 
gjc@3855
   824
                   [], 
gjc@3855
   825
                   is_static=True)
gjc@3855
   826
    ## ipv6-address.h: static ns3::Ipv6Address ns3::Ipv6Address::GetAllNodesMulticast() [member function]
gjc@3855
   827
    cls.add_method('GetAllNodesMulticast', 
gjc@3855
   828
                   'ns3::Ipv6Address', 
gjc@3855
   829
                   [], 
gjc@3855
   830
                   is_static=True)
gjc@3855
   831
    ## ipv6-address.h: static ns3::Ipv6Address ns3::Ipv6Address::GetAllRoutersMulticast() [member function]
gjc@3855
   832
    cls.add_method('GetAllRoutersMulticast', 
gjc@3855
   833
                   'ns3::Ipv6Address', 
gjc@3855
   834
                   [], 
gjc@3855
   835
                   is_static=True)
gjc@3855
   836
    ## ipv6-address.h: static ns3::Ipv6Address ns3::Ipv6Address::GetAny() [member function]
gjc@3855
   837
    cls.add_method('GetAny', 
gjc@3855
   838
                   'ns3::Ipv6Address', 
gjc@3855
   839
                   [], 
gjc@3855
   840
                   is_static=True)
gjc@3855
   841
    ## ipv6-address.h: void ns3::Ipv6Address::GetBytes(uint8_t * buf) const [member function]
gjc@3855
   842
    cls.add_method('GetBytes', 
gjc@3855
   843
                   'void', 
gjc@3855
   844
                   [param('uint8_t *', 'buf')], 
gjc@3855
   845
                   is_const=True)
gjc@3855
   846
    ## ipv6-address.h: static ns3::Ipv6Address ns3::Ipv6Address::GetLoopback() [member function]
gjc@3855
   847
    cls.add_method('GetLoopback', 
gjc@3855
   848
                   'ns3::Ipv6Address', 
gjc@3855
   849
                   [], 
gjc@3855
   850
                   is_static=True)
gjc@3855
   851
    ## ipv6-address.h: static ns3::Ipv6Address ns3::Ipv6Address::GetZero() [member function]
gjc@3855
   852
    cls.add_method('GetZero', 
gjc@3855
   853
                   'ns3::Ipv6Address', 
gjc@3855
   854
                   [], 
gjc@3855
   855
                   is_static=True)
gjc@3855
   856
    ## ipv6-address.h: bool ns3::Ipv6Address::IsAllHostsMulticast() const [member function]
gjc@3855
   857
    cls.add_method('IsAllHostsMulticast', 
gjc@3855
   858
                   'bool', 
gjc@3855
   859
                   [], 
gjc@3855
   860
                   is_const=True)
gjc@3855
   861
    ## ipv6-address.h: bool ns3::Ipv6Address::IsAllNodesMulticast() const [member function]
gjc@3855
   862
    cls.add_method('IsAllNodesMulticast', 
gjc@3855
   863
                   'bool', 
gjc@3855
   864
                   [], 
gjc@3855
   865
                   is_const=True)
gjc@3855
   866
    ## ipv6-address.h: bool ns3::Ipv6Address::IsAllRoutersMulticast() const [member function]
gjc@3855
   867
    cls.add_method('IsAllRoutersMulticast', 
gjc@3855
   868
                   'bool', 
gjc@3855
   869
                   [], 
gjc@3855
   870
                   is_const=True)
gjc@3855
   871
    ## ipv6-address.h: bool ns3::Ipv6Address::IsAny() const [member function]
gjc@3855
   872
    cls.add_method('IsAny', 
gjc@3855
   873
                   'bool', 
gjc@3855
   874
                   [], 
gjc@3855
   875
                   is_const=True)
gjc@3855
   876
    ## ipv6-address.h: bool ns3::Ipv6Address::IsEqual(ns3::Ipv6Address const & other) const [member function]
gjc@3855
   877
    cls.add_method('IsEqual', 
gjc@3855
   878
                   'bool', 
gjc@3855
   879
                   [param('ns3::Ipv6Address const &', 'other')], 
gjc@3855
   880
                   is_const=True)
gjc@3855
   881
    ## ipv6-address.h: bool ns3::Ipv6Address::IsLinkLocal() const [member function]
gjc@3855
   882
    cls.add_method('IsLinkLocal', 
gjc@3855
   883
                   'bool', 
gjc@3855
   884
                   [], 
gjc@3855
   885
                   is_const=True)
gjc@3855
   886
    ## ipv6-address.h: bool ns3::Ipv6Address::IsLocalhost() const [member function]
gjc@3855
   887
    cls.add_method('IsLocalhost', 
gjc@3855
   888
                   'bool', 
gjc@3855
   889
                   [], 
gjc@3855
   890
                   is_const=True)
gjc@3855
   891
    ## ipv6-address.h: static bool ns3::Ipv6Address::IsMatchingType(ns3::Address const & address) [member function]
gjc@3855
   892
    cls.add_method('IsMatchingType', 
gjc@3855
   893
                   'bool', 
gjc@3855
   894
                   [param('ns3::Address const &', 'address')], 
gjc@3855
   895
                   is_static=True)
gjc@3855
   896
    ## ipv6-address.h: bool ns3::Ipv6Address::IsMulticast() const [member function]
gjc@3855
   897
    cls.add_method('IsMulticast', 
gjc@3855
   898
                   'bool', 
gjc@3855
   899
                   [], 
gjc@3855
   900
                   is_const=True)
gjc@3855
   901
    ## ipv6-address.h: bool ns3::Ipv6Address::IsSolicitedMulticast() const [member function]
gjc@3855
   902
    cls.add_method('IsSolicitedMulticast', 
gjc@3855
   903
                   'bool', 
gjc@3855
   904
                   [], 
gjc@3855
   905
                   is_const=True)
gjc@3855
   906
    ## ipv6-address.h: static ns3::Ipv6Address ns3::Ipv6Address::MakeAutoconfiguredAddress(ns3::Mac48Address addr, ns3::Ipv6Address prefix) [member function]
gjc@3855
   907
    cls.add_method('MakeAutoconfiguredAddress', 
gjc@3855
   908
                   'ns3::Ipv6Address', 
gjc@3855
   909
                   [param('ns3::Mac48Address', 'addr'), param('ns3::Ipv6Address', 'prefix')], 
gjc@3855
   910
                   is_static=True)
gjc@3855
   911
    ## ipv6-address.h: static ns3::Ipv6Address ns3::Ipv6Address::MakeAutoconfiguredLinkLocalAddress(ns3::Mac48Address mac) [member function]
gjc@3855
   912
    cls.add_method('MakeAutoconfiguredLinkLocalAddress', 
gjc@3855
   913
                   'ns3::Ipv6Address', 
gjc@3855
   914
                   [param('ns3::Mac48Address', 'mac')], 
gjc@3855
   915
                   is_static=True)
gjc@3855
   916
    ## ipv6-address.h: static ns3::Ipv6Address ns3::Ipv6Address::MakeSolicitedAddress(ns3::Ipv6Address addr) [member function]
gjc@3855
   917
    cls.add_method('MakeSolicitedAddress', 
gjc@3855
   918
                   'ns3::Ipv6Address', 
gjc@3855
   919
                   [param('ns3::Ipv6Address', 'addr')], 
gjc@3855
   920
                   is_static=True)
gjc@3855
   921
    ## ipv6-address.h: void ns3::Ipv6Address::Print(std::ostream & os) const [member function]
gjc@3855
   922
    cls.add_method('Print', 
gjc@3855
   923
                   'void', 
gjc@3855
   924
                   [param('std::ostream &', 'os')], 
gjc@3855
   925
                   is_const=True)
gjc@3855
   926
    ## ipv6-address.h: void ns3::Ipv6Address::Serialize(uint8_t * buf) const [member function]
gjc@3855
   927
    cls.add_method('Serialize', 
gjc@3855
   928
                   'void', 
gjc@3855
   929
                   [param('uint8_t *', 'buf')], 
gjc@3855
   930
                   is_const=True)
gjc@3855
   931
    ## ipv6-address.h: void ns3::Ipv6Address::Set(char const * address) [member function]
gjc@3855
   932
    cls.add_method('Set', 
gjc@3855
   933
                   'void', 
gjc@3855
   934
                   [param('char const *', 'address')])
gjc@3855
   935
    ## ipv6-address.h: void ns3::Ipv6Address::Set(uint8_t * address) [member function]
gjc@3855
   936
    cls.add_method('Set', 
gjc@3855
   937
                   'void', 
gjc@3855
   938
                   [param('uint8_t *', 'address')])
gjc@3855
   939
    return
gjc@3855
   940
gjc@3855
   941
def register_Ns3Ipv6Prefix_methods(root_module, cls):
gjc@3855
   942
    cls.add_binary_comparison_operator('!=')
gjc@3855
   943
    cls.add_output_stream_operator()
gjc@3855
   944
    cls.add_binary_comparison_operator('==')
gjc@3855
   945
    ## ipv6-address.h: ns3::Ipv6Prefix::Ipv6Prefix() [constructor]
gjc@3855
   946
    cls.add_constructor([])
gjc@3855
   947
    ## ipv6-address.h: ns3::Ipv6Prefix::Ipv6Prefix(uint8_t * prefix) [constructor]
gjc@3855
   948
    cls.add_constructor([param('uint8_t *', 'prefix')])
gjc@3855
   949
    ## ipv6-address.h: ns3::Ipv6Prefix::Ipv6Prefix(char const * prefix) [constructor]
gjc@3855
   950
    cls.add_constructor([param('char const *', 'prefix')])
gjc@3855
   951
    ## ipv6-address.h: ns3::Ipv6Prefix::Ipv6Prefix(uint8_t prefix) [constructor]
gjc@3855
   952
    cls.add_constructor([param('uint8_t', 'prefix')])
gjc@3855
   953
    ## ipv6-address.h: ns3::Ipv6Prefix::Ipv6Prefix(ns3::Ipv6Prefix const & prefix) [copy constructor]
gjc@3855
   954
    cls.add_constructor([param('ns3::Ipv6Prefix const &', 'prefix')])
gjc@3855
   955
    ## ipv6-address.h: ns3::Ipv6Prefix::Ipv6Prefix(ns3::Ipv6Prefix const * prefix) [constructor]
gjc@3855
   956
    cls.add_constructor([param('ns3::Ipv6Prefix const *', 'prefix')])
gjc@3855
   957
    ## ipv6-address.h: void ns3::Ipv6Prefix::GetBytes(uint8_t * buf) const [member function]
gjc@3855
   958
    cls.add_method('GetBytes', 
gjc@3855
   959
                   'void', 
gjc@3855
   960
                   [param('uint8_t *', 'buf')], 
gjc@3855
   961
                   is_const=True)
gjc@3855
   962
    ## ipv6-address.h: static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetLoopback() [member function]
gjc@3855
   963
    cls.add_method('GetLoopback', 
gjc@3855
   964
                   'ns3::Ipv6Prefix', 
gjc@3855
   965
                   [], 
gjc@3855
   966
                   is_static=True)
gjc@3855
   967
    ## ipv6-address.h: static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetZero() [member function]
gjc@3855
   968
    cls.add_method('GetZero', 
gjc@3855
   969
                   'ns3::Ipv6Prefix', 
gjc@3855
   970
                   [], 
gjc@3855
   971
                   is_static=True)
gjc@3855
   972
    ## ipv6-address.h: bool ns3::Ipv6Prefix::IsEqual(ns3::Ipv6Prefix const & other) const [member function]
gjc@3855
   973
    cls.add_method('IsEqual', 
gjc@3855
   974
                   'bool', 
gjc@3855
   975
                   [param('ns3::Ipv6Prefix const &', 'other')], 
gjc@3855
   976
                   is_const=True)
gjc@3855
   977
    ## ipv6-address.h: bool ns3::Ipv6Prefix::IsMatch(ns3::Ipv6Address a, ns3::Ipv6Address b) const [member function]
gjc@3855
   978
    cls.add_method('IsMatch', 
gjc@3855
   979
                   'bool', 
gjc@3855
   980
                   [param('ns3::Ipv6Address', 'a'), param('ns3::Ipv6Address', 'b')], 
gjc@3855
   981
                   is_const=True)
gjc@3855
   982
    ## ipv6-address.h: void ns3::Ipv6Prefix::Print(std::ostream & os) const [member function]
gjc@3855
   983
    cls.add_method('Print', 
gjc@3855
   984
                   'void', 
gjc@3855
   985
                   [param('std::ostream &', 'os')], 
gjc@3855
   986
                   is_const=True)
gjc@3855
   987
    return
gjc@3855
   988
gjc@3731
   989
def register_Ns3Mac48Address_methods(root_module, cls):
gjc@3731
   990
    cls.add_binary_comparison_operator('!=')
gjc@3731
   991
    cls.add_binary_comparison_operator('<')
gjc@3731
   992
    cls.add_output_stream_operator()
gjc@3731
   993
    cls.add_binary_comparison_operator('==')
gjc@3731
   994
    ## mac48-address.h: ns3::Mac48Address::Mac48Address(ns3::Mac48Address const & arg0) [copy constructor]
gjc@3731
   995
    cls.add_constructor([param('ns3::Mac48Address const &', 'arg0')])
gjc@3731
   996
    ## mac48-address.h: ns3::Mac48Address::Mac48Address() [constructor]
gjc@3731
   997
    cls.add_constructor([])
gjc@3731
   998
    ## mac48-address.h: ns3::Mac48Address::Mac48Address(char const * str) [constructor]
gjc@3731
   999
    cls.add_constructor([param('char const *', 'str')])
gjc@3731
  1000
    ## mac48-address.h: static ns3::Mac48Address ns3::Mac48Address::Allocate() [member function]
gjc@3731
  1001
    cls.add_method('Allocate', 
gjc@3731
  1002
                   'ns3::Mac48Address', 
gjc@3731
  1003
                   [], 
gjc@3731
  1004
                   is_static=True)
gjc@3731
  1005
    ## mac48-address.h: static ns3::Mac48Address ns3::Mac48Address::ConvertFrom(ns3::Address const & address) [member function]
gjc@3731
  1006
    cls.add_method('ConvertFrom', 
gjc@3731
  1007
                   'ns3::Mac48Address', 
gjc@3731
  1008
                   [param('ns3::Address const &', 'address')], 
gjc@3731
  1009
                   is_static=True)
gjc@3731
  1010
    ## mac48-address.h: void ns3::Mac48Address::CopyFrom(uint8_t const * buffer) [member function]
gjc@3731
  1011
    cls.add_method('CopyFrom', 
gjc@3731
  1012
                   'void', 
gjc@3731
  1013
                   [param('uint8_t const *', 'buffer')])
gjc@3731
  1014
    ## mac48-address.h: void ns3::Mac48Address::CopyTo(uint8_t * buffer) const [member function]
gjc@3731
  1015
    cls.add_method('CopyTo', 
gjc@3731
  1016
                   'void', 
gjc@3731
  1017
                   [param('uint8_t *', 'buffer')], 
gjc@3731
  1018
                   is_const=True)
gjc@3731
  1019
    ## mac48-address.h: static ns3::Mac48Address ns3::Mac48Address::GetBroadcast() [member function]
gjc@3731
  1020
    cls.add_method('GetBroadcast', 
gjc@3731
  1021
                   'ns3::Mac48Address', 
gjc@3731
  1022
                   [], 
gjc@3731
  1023
                   is_static=True)
gjc@3731
  1024
    ## mac48-address.h: static ns3::Mac48Address ns3::Mac48Address::GetMulticast(ns3::Ipv4Address address) [member function]
gjc@3731
  1025
    cls.add_method('GetMulticast', 
gjc@3731
  1026
                   'ns3::Mac48Address', 
gjc@3731
  1027
                   [param('ns3::Ipv4Address', 'address')], 
gjc@3731
  1028
                   is_static=True)
gjc@3855
  1029
    ## mac48-address.h: static ns3::Mac48Address ns3::Mac48Address::GetMulticast(ns3::Ipv6Address address) [member function]
gjc@3855
  1030
    cls.add_method('GetMulticast', 
gjc@3855
  1031
                   'ns3::Mac48Address', 
gjc@3855
  1032
                   [param('ns3::Ipv6Address', 'address')], 
gjc@3855
  1033
                   is_static=True)
gjc@3855
  1034
    ## mac48-address.h: static ns3::Mac48Address ns3::Mac48Address::GetMulticast6Prefix() [member function]
gjc@3855
  1035
    cls.add_method('GetMulticast6Prefix', 
gjc@3855
  1036
                   'ns3::Mac48Address', 
gjc@3855
  1037
                   [], 
gjc@3855
  1038
                   is_static=True)
gjc@3731
  1039
    ## mac48-address.h: static ns3::Mac48Address ns3::Mac48Address::GetMulticastPrefix() [member function]
gjc@3731
  1040
    cls.add_method('GetMulticastPrefix', 
gjc@3731
  1041
                   'ns3::Mac48Address', 
gjc@3731
  1042
                   [], 
gjc@3731
  1043
                   is_static=True)
gjc@3731
  1044
    ## mac48-address.h: bool ns3::Mac48Address::IsBroadcast() const [member function]
gjc@3731
  1045
    cls.add_method('IsBroadcast', 
gjc@3731
  1046
                   'bool', 
gjc@3731
  1047
                   [], 
gjc@3731
  1048
                   is_const=True)
gjc@3731
  1049
    ## mac48-address.h: bool ns3::Mac48Address::IsGroup() const [member function]
gjc@3731
  1050
    cls.add_method('IsGroup', 
gjc@3731
  1051
                   'bool', 
gjc@3731
  1052
                   [], 
gjc@3731
  1053
                   is_const=True)
gjc@3731
  1054
    ## mac48-address.h: static bool ns3::Mac48Address::IsMatchingType(ns3::Address const & address) [member function]
gjc@3731
  1055
    cls.add_method('IsMatchingType', 
gjc@3731
  1056
                   'bool', 
gjc@3731
  1057
                   [param('ns3::Address const &', 'address')], 
gjc@3731
  1058
                   is_static=True)
gjc@3731
  1059
    ## mac48-address.h: bool ns3::Mac48Address::IsMulticast() const [member function]
gjc@3731
  1060
    cls.add_method('IsMulticast', 
gjc@3731
  1061
                   'bool', 
gjc@3731
  1062
                   [], 
gjc@3731
  1063
                   is_const=True)
gjc@3731
  1064
    return
gjc@3731
  1065
gjc@3731
  1066
def register_Ns3Mac64Address_methods(root_module, cls):
gjc@3731
  1067
    cls.add_binary_comparison_operator('!=')
gjc@3731
  1068
    cls.add_output_stream_operator()
gjc@3731
  1069
    cls.add_binary_comparison_operator('==')
gjc@3731
  1070
    ## mac64-address.h: ns3::Mac64Address::Mac64Address(ns3::Mac64Address const & arg0) [copy constructor]
gjc@3731
  1071
    cls.add_constructor([param('ns3::Mac64Address const &', 'arg0')])
gjc@3731
  1072
    ## mac64-address.h: ns3::Mac64Address::Mac64Address() [constructor]
gjc@3731
  1073
    cls.add_constructor([])
gjc@3731
  1074
    ## mac64-address.h: ns3::Mac64Address::Mac64Address(char const * str) [constructor]
gjc@3731
  1075
    cls.add_constructor([param('char const *', 'str')])
gjc@3731
  1076
    ## mac64-address.h: static ns3::Mac64Address ns3::Mac64Address::Allocate() [member function]
gjc@3731
  1077
    cls.add_method('Allocate', 
gjc@3731
  1078
                   'ns3::Mac64Address', 
gjc@3731
  1079
                   [], 
gjc@3731
  1080
                   is_static=True)
gjc@3731
  1081
    ## mac64-address.h: static ns3::Mac64Address ns3::Mac64Address::ConvertFrom(ns3::Address const & address) [member function]
gjc@3731
  1082
    cls.add_method('ConvertFrom', 
gjc@3731
  1083
                   'ns3::Mac64Address', 
gjc@3731
  1084
                   [param('ns3::Address const &', 'address')], 
gjc@3731
  1085
                   is_static=True)
gjc@3731
  1086
    ## mac64-address.h: void ns3::Mac64Address::CopyFrom(uint8_t const * buffer) [member function]
gjc@3731
  1087
    cls.add_method('CopyFrom', 
gjc@3731
  1088
                   'void', 
gjc@3731
  1089
                   [param('uint8_t const *', 'buffer')])
gjc@3731
  1090
    ## mac64-address.h: void ns3::Mac64Address::CopyTo(uint8_t * buffer) const [member function]
gjc@3731
  1091
    cls.add_method('CopyTo', 
gjc@3731
  1092
                   'void', 
gjc@3731
  1093
                   [param('uint8_t *', 'buffer')], 
gjc@3731
  1094
                   is_const=True)
gjc@3731
  1095
    ## mac64-address.h: static bool ns3::Mac64Address::IsMatchingType(ns3::Address const & address) [member function]
gjc@3731
  1096
    cls.add_method('IsMatchingType', 
gjc@3731
  1097
                   'bool', 
gjc@3731
  1098
                   [param('ns3::Address const &', 'address')], 
gjc@3731
  1099
                   is_static=True)
gjc@3731
  1100
    return
gjc@3731
  1101
gjc@3731
  1102
def register_Ns3NodeList_methods(root_module, cls):
mathieu@4241
  1103
    ## node-list.h: ns3::NodeList::NodeList(ns3::NodeList const & arg0) [copy constructor]
mathieu@4241
  1104
    cls.add_constructor([param('ns3::NodeList const &', 'arg0')])
mathieu@4241
  1105
    ## node-list.h: ns3::NodeList::NodeList() [constructor]
mathieu@4241
  1106
    cls.add_constructor([])
gjc@3731
  1107
    ## node-list.h: static uint32_t ns3::NodeList::Add(ns3::Ptr<ns3::Node> node) [member function]
gjc@3731
  1108
    cls.add_method('Add', 
gjc@3731
  1109
                   'uint32_t', 
gjc@3731
  1110
                   [param('ns3::Ptr< ns3::Node >', 'node')], 
gjc@3731
  1111
                   is_static=True)
gjc@3731
  1112
    ## 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]
gjc@3731
  1113
    cls.add_method('Begin', 
gjc@3731
  1114
                   '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > >', 
gjc@3731
  1115
                   [], 
gjc@3731
  1116
                   is_static=True)
gjc@3731
  1117
    ## 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]
gjc@3731
  1118
    cls.add_method('End', 
gjc@3731
  1119
                   '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > >', 
gjc@3731
  1120
                   [], 
gjc@3731
  1121
                   is_static=True)
gjc@3731
  1122
    ## node-list.h: static ns3::Ptr<ns3::Node> ns3::NodeList::GetNode(uint32_t n) [member function]
gjc@3731
  1123
    cls.add_method('GetNode', 
gjc@3731
  1124
                   'ns3::Ptr< ns3::Node >', 
gjc@3731
  1125
                   [param('uint32_t', 'n')], 
gjc@3731
  1126
                   is_static=True)
gjc@3731
  1127
    ## node-list.h: static uint32_t ns3::NodeList::GetNNodes() [member function]
gjc@3731
  1128
    cls.add_method('GetNNodes', 
gjc@3731
  1129
                   'uint32_t', 
gjc@3731
  1130
                   [], 
gjc@3731
  1131
                   is_static=True)
gjc@3731
  1132
    return
gjc@3731
  1133
gjc@3731
  1134
def register_Ns3PacketSocketAddress_methods(root_module, cls):
mathieu@4241
  1135
    ## packet-socket-address.h: ns3::PacketSocketAddress::PacketSocketAddress(ns3::PacketSocketAddress const & arg0) [copy constructor]
mathieu@4241
  1136
    cls.add_constructor([param('ns3::PacketSocketAddress const &', 'arg0')])
gjc@3731
  1137
    ## packet-socket-address.h: ns3::PacketSocketAddress::PacketSocketAddress() [constructor]
gjc@3731
  1138
    cls.add_constructor([])
gjc@3731
  1139
    ## packet-socket-address.h: void ns3::PacketSocketAddress::SetProtocol(uint16_t protocol) [member function]
gjc@3731
  1140
    cls.add_method('SetProtocol', 
gjc@3731
  1141
                   'void', 
gjc@3731
  1142
                   [param('uint16_t', 'protocol')])
gjc@3731
  1143
    ## packet-socket-address.h: void ns3::PacketSocketAddress::SetAllDevices() [member function]
gjc@3731
  1144
    cls.add_method('SetAllDevices', 
gjc@3468
  1145
                   'void', 
gjc@3468
  1146
                   [])
gjc@3731
  1147
    ## packet-socket-address.h: void ns3::PacketSocketAddress::SetSingleDevice(uint32_t device) [member function]
gjc@3731
  1148
    cls.add_method('SetSingleDevice', 
gjc@3731
  1149
                   'void', 
gjc@3731
  1150
                   [param('uint32_t', 'device')])
gjc@3731
  1151
    ## packet-socket-address.h: void ns3::PacketSocketAddress::SetPhysicalAddress(ns3::Address const address) [member function]
gjc@3731
  1152
    cls.add_method('SetPhysicalAddress', 
gjc@3731
  1153
                   'void', 
gjc@3731
  1154
                   [param('ns3::Address const', 'address')])
gjc@3731
  1155
    ## packet-socket-address.h: uint16_t ns3::PacketSocketAddress::GetProtocol() const [member function]
gjc@3731
  1156
    cls.add_method('GetProtocol', 
gjc@3731
  1157
                   'uint16_t', 
gjc@3731
  1158
                   [], 
gjc@3731
  1159
                   is_const=True)
gjc@3731
  1160
    ## packet-socket-address.h: uint32_t ns3::PacketSocketAddress::GetSingleDevice() const [member function]
gjc@3731
  1161
    cls.add_method('GetSingleDevice', 
gjc@3468
  1162
                   'uint32_t', 
gjc@3468
  1163
                   [], 
gjc@3468
  1164
                   is_const=True)
gjc@3731
  1165
    ## packet-socket-address.h: bool ns3::PacketSocketAddress::IsSingleDevice() const [member function]
gjc@3731
  1166
    cls.add_method('IsSingleDevice', 
gjc@3731
  1167
                   'bool', 
gjc@3468
  1168
                   [], 
gjc@3468
  1169
                   is_const=True)
gjc@3731
  1170
    ## packet-socket-address.h: ns3::Address ns3::PacketSocketAddress::GetPhysicalAddress() const [member function]
gjc@3731
  1171
    cls.add_method('GetPhysicalAddress', 
gjc@3731
  1172
                   'ns3::Address', 
gjc@3468
  1173
                   [], 
gjc@3468
  1174
                   is_const=True)
gjc@3731
  1175
    ## packet-socket-address.h: static ns3::PacketSocketAddress ns3::PacketSocketAddress::ConvertFrom(ns3::Address const & address) [member function]
gjc@3731
  1176
    cls.add_method('ConvertFrom', 
gjc@3731
  1177
                   'ns3::PacketSocketAddress', 
gjc@3731
  1178
                   [param('ns3::Address const &', 'address')], 
gjc@3731
  1179
                   is_static=True)
gjc@3731
  1180
    ## packet-socket-address.h: static bool ns3::PacketSocketAddress::IsMatchingType(ns3::Address const & address) [member function]
gjc@3731
  1181
    cls.add_method('IsMatchingType', 
gjc@3731
  1182
                   'bool', 
gjc@3731
  1183
                   [param('ns3::Address const &', 'address')], 
gjc@3731
  1184
                   is_static=True)
gjc@3731
  1185
    return
gjc@3731
  1186
gjc@3731
  1187
def register_Ns3Ipv4AddressChecker_methods(root_module, cls):
mathieu@4241
  1188
    ## ipv4-address.h: ns3::Ipv4AddressChecker::Ipv4AddressChecker(ns3::Ipv4AddressChecker const & arg0) [copy constructor]
mathieu@4241
  1189
    cls.add_constructor([param('ns3::Ipv4AddressChecker const &', 'arg0')])
mathieu@4241
  1190
    ## ipv4-address.h: ns3::Ipv4AddressChecker::Ipv4AddressChecker() [constructor]
gjc@3731
  1191
    cls.add_constructor([])
gjc@3731
  1192
    return
gjc@3731
  1193
gjc@3731
  1194
def register_Ns3Ipv4AddressValue_methods(root_module, cls):
mathieu@4241
  1195
    ## ipv4-address.h: ns3::Ipv4AddressValue::Ipv4AddressValue(ns3::Ipv4AddressValue const & arg0) [copy constructor]
mathieu@4241
  1196
    cls.add_constructor([param('ns3::Ipv4AddressValue const &', 'arg0')])
gjc@3731
  1197
    ## ipv4-address.h: ns3::Ipv4AddressValue::Ipv4AddressValue() [constructor]
gjc@3731
  1198
    cls.add_constructor([])
gjc@3731
  1199
    ## ipv4-address.h: ns3::Ipv4AddressValue::Ipv4AddressValue(ns3::Ipv4Address const & value) [constructor]
gjc@3731
  1200
    cls.add_constructor([param('ns3::Ipv4Address const &', 'value')])
gjc@3731
  1201
    ## ipv4-address.h: void ns3::Ipv4AddressValue::Set(ns3::Ipv4Address const & value) [member function]
gjc@3731
  1202
    cls.add_method('Set', 
gjc@3731
  1203
                   'void', 
gjc@3731
  1204
                   [param('ns3::Ipv4Address const &', 'value')])
gjc@3731
  1205
    ## ipv4-address.h: ns3::Ipv4Address ns3::Ipv4AddressValue::Get() const [member function]
gjc@3731
  1206
    cls.add_method('Get', 
gjc@3731
  1207
                   'ns3::Ipv4Address', 
gjc@3468
  1208
                   [], 
gjc@3468
  1209
                   is_const=True)
gjc@3731
  1210
    ## ipv4-address.h: ns3::Ptr<ns3::AttributeValue> ns3::Ipv4AddressValue::Copy() const [member function]
gjc@3731
  1211
    cls.add_method('Copy', 
gjc@3731
  1212
                   'ns3::Ptr< ns3::AttributeValue >', 
gjc@3468
  1213
                   [], 
gjc@3731
  1214
                   is_const=True, is_virtual=True)
gjc@3731
  1215
    ## ipv4-address.h: std::string ns3::Ipv4AddressValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
gjc@3731
  1216
    cls.add_method('SerializeToString', 
gjc@3731
  1217
                   'std::string', 
gjc@3731
  1218
                   [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
gjc@3731
  1219
                   is_const=True, is_virtual=True)
gjc@3731
  1220
    ## ipv4-address.h: bool ns3::Ipv4AddressValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
gjc@3731
  1221
    cls.add_method('DeserializeFromString', 
gjc@3468
  1222
                   'bool', 
gjc@3731
  1223
                   [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
gjc@3731
  1224
                   is_virtual=True)
gjc@3408
  1225
    return
gjc@3408
  1226
gjc@3408
  1227
def register_Ns3Ipv4Header_methods(root_module, cls):
mathieu@4241
  1228
    ## ipv4-header.h: ns3::Ipv4Header::Ipv4Header(ns3::Ipv4Header const & arg0) [copy constructor]
mathieu@4241
  1229
    cls.add_constructor([param('ns3::Ipv4Header const &', 'arg0')])
gjc@3408
  1230
    ## ipv4-header.h: ns3::Ipv4Header::Ipv4Header() [constructor]
gjc@3468
  1231
    cls.add_constructor([])
gjc@3408
  1232
    ## ipv4-header.h: void ns3::Ipv4Header::EnableChecksum() [member function]
gjc@3468
  1233
    cls.add_method('EnableChecksum', 
gjc@3468
  1234
                   'void', 
gjc@3468
  1235
                   [])
gjc@3408
  1236
    ## ipv4-header.h: void ns3::Ipv4Header::SetPayloadSize(uint16_t size) [member function]
gjc@3468
  1237
    cls.add_method('SetPayloadSize', 
gjc@3468
  1238
                   'void', 
gjc@3468
  1239
                   [param('uint16_t', 'size')])
gjc@3408
  1240
    ## ipv4-header.h: void ns3::Ipv4Header::SetIdentification(uint16_t identification) [member function]
gjc@3468
  1241
    cls.add_method('SetIdentification', 
gjc@3468
  1242
                   'void', 
gjc@3468
  1243
                   [param('uint16_t', 'identification')])
gjc@3408
  1244
    ## ipv4-header.h: void ns3::Ipv4Header::SetTos(uint8_t tos) [member function]
gjc@3468
  1245
    cls.add_method('SetTos', 
gjc@3468
  1246
                   'void', 
gjc@3468
  1247
                   [param('uint8_t', 'tos')])
gjc@3408
  1248
    ## ipv4-header.h: void ns3::Ipv4Header::SetMoreFragments() [member function]
gjc@3468
  1249
    cls.add_method('SetMoreFragments', 
gjc@3468
  1250
                   'void', 
gjc@3468
  1251
                   [])
gjc@3408
  1252
    ## ipv4-header.h: void ns3::Ipv4Header::SetLastFragment() [member function]
gjc@3468
  1253
    cls.add_method('SetLastFragment', 
gjc@3468
  1254
                   'void', 
gjc@3468
  1255
                   [])
gjc@3408
  1256
    ## ipv4-header.h: void ns3::Ipv4Header::SetDontFragment() [member function]
gjc@3468
  1257
    cls.add_method('SetDontFragment', 
gjc@3468
  1258
                   'void', 
gjc@3468
  1259
                   [])
gjc@3408
  1260
    ## ipv4-header.h: void ns3::Ipv4Header::SetMayFragment() [member function]
gjc@3468
  1261
    cls.add_method('SetMayFragment', 
gjc@3468
  1262
                   'void', 
gjc@3468
  1263
                   [])
gjc@3408
  1264
    ## ipv4-header.h: void ns3::Ipv4Header::SetFragmentOffset(uint16_t offset) [member function]
gjc@3468
  1265
    cls.add_method('SetFragmentOffset', 
gjc@3468
  1266
                   'void', 
gjc@3468
  1267
                   [param('uint16_t', 'offset')])
gjc@3408
  1268
    ## ipv4-header.h: void ns3::Ipv4Header::SetTtl(uint8_t ttl) [member function]
gjc@3468
  1269
    cls.add_method('SetTtl', 
gjc@3468
  1270
                   'void', 
gjc@3468
  1271
                   [param('uint8_t', 'ttl')])
gjc@3408
  1272
    ## ipv4-header.h: void ns3::Ipv4Header::SetProtocol(uint8_t num) [member function]
gjc@3468
  1273
    cls.add_method('SetProtocol', 
gjc@3468
  1274
                   'void', 
gjc@3468
  1275
                   [param('uint8_t', 'num')])
gjc@3408
  1276
    ## ipv4-header.h: void ns3::Ipv4Header::SetSource(ns3::Ipv4Address source) [member function]
gjc@3468
  1277
    cls.add_method('SetSource', 
gjc@3468
  1278
                   'void', 
gjc@3468
  1279
                   [param('ns3::Ipv4Address', 'source')])
gjc@3408
  1280
    ## ipv4-header.h: void ns3::Ipv4Header::SetDestination(ns3::Ipv4Address destination) [member function]
gjc@3468
  1281
    cls.add_method('SetDestination', 
gjc@3468
  1282
                   'void', 
gjc@3468
  1283
                   [param('ns3::Ipv4Address', 'destination')])
gjc@3408
  1284
    ## ipv4-header.h: uint16_t ns3::Ipv4Header::GetPayloadSize() const [member function]
gjc@3468
  1285
    cls.add_method('GetPayloadSize', 
gjc@3468
  1286
                   'uint16_t', 
gjc@3468
  1287
                   [], 
gjc@3468
  1288
                   is_const=True)
gjc@3408
  1289
    ## ipv4-header.h: uint16_t ns3::Ipv4Header::GetIdentification() const [member function]
gjc@3468
  1290
    cls.add_method('GetIdentification', 
gjc@3468
  1291
                   'uint16_t', 
gjc@3468
  1292
                   [], 
gjc@3468
  1293
                   is_const=True)
gjc@3408
  1294
    ## ipv4-header.h: uint8_t ns3::Ipv4Header::GetTos() const [member function]
gjc@3468
  1295
    cls.add_method('GetTos', 
gjc@3468
  1296
                   'uint8_t', 
gjc@3468
  1297
                   [], 
gjc@3468
  1298
                   is_const=True)
gjc@3408
  1299
    ## ipv4-header.h: bool ns3::Ipv4Header::IsLastFragment() const [member function]
gjc@3468
  1300
    cls.add_method('IsLastFragment', 
gjc@3468
  1301
                   'bool', 
gjc@3468
  1302
                   [], 
gjc@3468
  1303
                   is_const=True)
gjc@3408
  1304
    ## ipv4-header.h: bool ns3::Ipv4Header::IsDontFragment() const [member function]
gjc@3468
  1305
    cls.add_method('IsDontFragment', 
gjc@3468
  1306
                   'bool', 
gjc@3468
  1307
                   [], 
gjc@3468
  1308
                   is_const=True)
gjc@3408
  1309
    ## ipv4-header.h: uint16_t ns3::Ipv4Header::GetFragmentOffset() const [member function]
gjc@3468
  1310
    cls.add_method('GetFragmentOffset', 
gjc@3468
  1311
                   'uint16_t', 
gjc@3468
  1312
                   [], 
gjc@3468
  1313
                   is_const=True)
gjc@3408
  1314
    ## ipv4-header.h: uint8_t ns3::Ipv4Header::GetTtl() const [member function]
gjc@3468
  1315
    cls.add_method('GetTtl', 
gjc@3468
  1316
                   'uint8_t', 
gjc@3468
  1317
                   [], 
gjc@3468
  1318
                   is_const=True)
gjc@3408
  1319
    ## ipv4-header.h: uint8_t ns3::Ipv4Header::GetProtocol() const [member function]
gjc@3468
  1320
    cls.add_method('GetProtocol', 
gjc@3468
  1321
                   'uint8_t', 
gjc@3468
  1322
                   [], 
gjc@3468
  1323
                   is_const=True)
gjc@3408
  1324
    ## ipv4-header.h: ns3::Ipv4Address ns3::Ipv4Header::GetSource() const [member function]
gjc@3468
  1325
    cls.add_method('GetSource', 
gjc@3468
  1326
                   'ns3::Ipv4Address', 
gjc@3468
  1327
                   [], 
gjc@3468
  1328
                   is_const=True)
gjc@3408
  1329
    ## ipv4-header.h: ns3::Ipv4Address ns3::Ipv4Header::GetDestination() const [member function]
gjc@3468
  1330
    cls.add_method('GetDestination', 
gjc@3468
  1331
                   'ns3::Ipv4Address', 
gjc@3468
  1332
                   [], 
gjc@3468
  1333
                   is_const=True)
gjc@3408
  1334
    ## ipv4-header.h: bool ns3::Ipv4Header::IsChecksumOk() const [member function]
gjc@3468
  1335
    cls.add_method('IsChecksumOk', 
gjc@3468
  1336
                   'bool', 
gjc@3468
  1337
                   [], 
gjc@3468
  1338
                   is_const=True)
gjc@3408
  1339
    ## ipv4-header.h: static ns3::TypeId ns3::Ipv4Header::GetTypeId() [member function]
gjc@3468
  1340
    cls.add_method('GetTypeId', 
gjc@3468
  1341
                   'ns3::TypeId', 
gjc@3468
  1342
                   [], 
gjc@3468
  1343
                   is_static=True)
gjc@3408
  1344
    ## ipv4-header.h: ns3::TypeId ns3::Ipv4Header::GetInstanceTypeId() const [member function]
gjc@3468
  1345
    cls.add_method('GetInstanceTypeId', 
gjc@3468
  1346
                   'ns3::TypeId', 
gjc@3468
  1347
                   [], 
gjc@3468
  1348
                   is_const=True, is_virtual=True)
gjc@3408
  1349
    ## ipv4-header.h: void ns3::Ipv4Header::Print(std::ostream & os) const [member function]
gjc@3468
  1350
    cls.add_method('Print', 
gjc@3468
  1351
                   'void', 
gjc@3574
  1352
                   [param('std::ostream &', 'os')], 
gjc@3468
  1353
                   is_const=True, is_virtual=True)
gjc@3408
  1354
    ## ipv4-header.h: uint32_t ns3::Ipv4Header::GetSerializedSize() const [member function]
gjc@3468
  1355
    cls.add_method('GetSerializedSize', 
gjc@3468
  1356
                   'uint32_t', 
gjc@3468
  1357
                   [], 
gjc@3468
  1358
                   is_const=True, is_virtual=True)
gjc@3408
  1359
    ## ipv4-header.h: void ns3::Ipv4Header::Serialize(ns3::Buffer::Iterator start) const [member function]
gjc@3468
  1360
    cls.add_method('Serialize', 
gjc@3468
  1361
                   'void', 
gjc@3468
  1362
                   [param('ns3::Buffer::Iterator', 'start')], 
gjc@3468
  1363
                   is_const=True, is_virtual=True)
gjc@3408
  1364
    ## ipv4-header.h: uint32_t ns3::Ipv4Header::Deserialize(ns3::Buffer::Iterator start) [member function]
gjc@3468
  1365
    cls.add_method('Deserialize', 
gjc@3468
  1366
                   'uint32_t', 
gjc@3468
  1367
                   [param('ns3::Buffer::Iterator', 'start')], 
gjc@3468
  1368
                   is_virtual=True)
gjc@3408
  1369
    return
gjc@3408
  1370
gjc@3731
  1371
def register_Ns3Ipv4MaskChecker_methods(root_module, cls):
mathieu@4241
  1372
    ## ipv4-address.h: ns3::Ipv4MaskChecker::Ipv4MaskChecker(ns3::Ipv4MaskChecker const & arg0) [copy constructor]
mathieu@4241
  1373
    cls.add_constructor([param('ns3::Ipv4MaskChecker const &', 'arg0')])
mathieu@4241
  1374
    ## ipv4-address.h: ns3::Ipv4MaskChecker::Ipv4MaskChecker() [constructor]
gjc@3468
  1375
    cls.add_constructor([])
gjc@3408
  1376
    return
gjc@3408
  1377
gjc@3731
  1378
def register_Ns3Ipv4MaskValue_methods(root_module, cls):
mathieu@4241
  1379
    ## ipv4-address.h: ns3::Ipv4MaskValue::Ipv4MaskValue(ns3::Ipv4MaskValue const & arg0) [copy constructor]
mathieu@4241
  1380
    cls.add_constructor([param('ns3::Ipv4MaskValue const &', 'arg0')])
gjc@3731
  1381
    ## ipv4-address.h: ns3::Ipv4MaskValue::Ipv4MaskValue() [constructor]
gjc@3567
  1382
    cls.add_constructor([])
gjc@3731
  1383
    ## ipv4-address.h: ns3::Ipv4MaskValue::Ipv4MaskValue(ns3::Ipv4Mask const & value) [constructor]
gjc@3731
  1384
    cls.add_constructor([param('ns3::Ipv4Mask const &', 'value')])
gjc@3731
  1385
    ## ipv4-address.h: void ns3::Ipv4MaskValue::Set(ns3::Ipv4Mask const & value) [member function]
gjc@3468
  1386
    cls.add_method('Set', 
gjc@3468
  1387
                   'void', 
gjc@3731
  1388
                   [param('ns3::Ipv4Mask const &', 'value')])
gjc@3731
  1389
    ## ipv4-address.h: ns3::Ipv4Mask ns3::Ipv4MaskValue::Get() const [member function]
gjc@3468
  1390
    cls.add_method('Get', 
gjc@3731
  1391
                   'ns3::Ipv4Mask', 
gjc@3468
  1392
                   [], 
gjc@3468
  1393
                   is_const=True)
gjc@3731
  1394
    ## ipv4-address.h: ns3::Ptr<ns3::AttributeValue> ns3::Ipv4MaskValue::Copy() const [member function]
gjc@3468
  1395
    cls.add_method('Copy', 
gjc@3468
  1396
                   'ns3::Ptr< ns3::AttributeValue >', 
gjc@3468
  1397
                   [], 
gjc@3468
  1398
                   is_const=True, is_virtual=True)
gjc@3731
  1399
    ## ipv4-address.h: std::string ns3::Ipv4MaskValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
gjc@3468
  1400
    cls.add_method('SerializeToString', 
gjc@3468
  1401
                   'std::string', 
gjc@3468
  1402
                   [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
gjc@3468
  1403
                   is_const=True, is_virtual=True)
gjc@3731
  1404
    ## ipv4-address.h: bool ns3::Ipv4MaskValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
gjc@3468
  1405
    cls.add_method('DeserializeFromString', 
gjc@3468
  1406
                   'bool', 
gjc@3468
  1407
                   [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
gjc@3468
  1408
                   is_virtual=True)
gjc@3408
  1409
    return
gjc@3408
  1410
gjc@3855
  1411
def register_Ns3Ipv6AddressChecker_methods(root_module, cls):
mathieu@4241
  1412
    ## ipv6-address.h: ns3::Ipv6AddressChecker::Ipv6AddressChecker(ns3::Ipv6AddressChecker const & arg0) [copy constructor]
mathieu@4241
  1413
    cls.add_constructor([param('ns3::Ipv6AddressChecker const &', 'arg0')])
mathieu@4241
  1414
    ## ipv6-address.h: ns3::Ipv6AddressChecker::Ipv6AddressChecker() [constructor]
gjc@3855
  1415
    cls.add_constructor([])
gjc@3855
  1416
    return
gjc@3855
  1417
gjc@3855
  1418
def register_Ns3Ipv6AddressValue_methods(root_module, cls):
mathieu@4241
  1419
    ## ipv6-address.h: ns3::Ipv6AddressValue::Ipv6AddressValue(ns3::Ipv6AddressValue const & arg0) [copy constructor]
mathieu@4241
  1420
    cls.add_constructor([param('ns3::Ipv6AddressValue const &', 'arg0')])
gjc@3855
  1421
    ## ipv6-address.h: ns3::Ipv6AddressValue::Ipv6AddressValue() [constructor]
gjc@3855
  1422
    cls.add_constructor([])
gjc@3855
  1423
    ## ipv6-address.h: ns3::Ipv6AddressValue::Ipv6AddressValue(ns3::Ipv6Address const & value) [constructor]
gjc@3855
  1424
    cls.add_constructor([param('ns3::Ipv6Address const &', 'value')])
gjc@3855
  1425
    ## ipv6-address.h: void ns3::Ipv6AddressValue::Set(ns3::Ipv6Address const & value) [member function]
gjc@3855
  1426
    cls.add_method('Set', 
gjc@3855
  1427
                   'void', 
gjc@3855
  1428
                   [param('ns3::Ipv6Address const &', 'value')])
gjc@3855
  1429
    ## ipv6-address.h: ns3::Ipv6Address ns3::Ipv6AddressValue::Get() const [member function]
gjc@3855
  1430
    cls.add_method('Get', 
gjc@3855
  1431
                   'ns3::Ipv6Address', 
gjc@3855
  1432
                   [], 
gjc@3855
  1433
                   is_const=True)
gjc@3855
  1434
    ## ipv6-address.h: ns3::Ptr<ns3::AttributeValue> ns3::Ipv6AddressValue::Copy() const [member function]
gjc@3855
  1435
    cls.add_method('Copy', 
gjc@3855
  1436
                   'ns3::Ptr< ns3::AttributeValue >', 
gjc@3855
  1437
                   [], 
gjc@3855
  1438
                   is_const=True, is_virtual=True)
gjc@3855
  1439
    ## ipv6-address.h: std::string ns3::Ipv6AddressValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
gjc@3855
  1440
    cls.add_method('SerializeToString', 
gjc@3855
  1441
                   'std::string', 
gjc@3855
  1442
                   [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
gjc@3855
  1443
                   is_const=True, is_virtual=True)
gjc@3855
  1444
    ## ipv6-address.h: bool ns3::Ipv6AddressValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
gjc@3855
  1445
    cls.add_method('DeserializeFromString', 
gjc@3855
  1446
                   'bool', 
gjc@3855
  1447
                   [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
gjc@3855
  1448
                   is_virtual=True)
gjc@3855
  1449
    return
gjc@3855
  1450
gjc@3855
  1451
def register_Ns3Ipv6Header_methods(root_module, cls):
mathieu@4241
  1452
    ## ipv6-header.h: ns3::Ipv6Header::Ipv6Header(ns3::Ipv6Header const & arg0) [copy constructor]
mathieu@4241
  1453
    cls.add_constructor([param('ns3::Ipv6Header const &', 'arg0')])
gjc@3855
  1454
    ## ipv6-header.h: static ns3::TypeId ns3::Ipv6Header::GetTypeId() [member function]
gjc@3855
  1455
    cls.add_method('GetTypeId', 
gjc@3855
  1456
                   'ns3::TypeId', 
gjc@3855
  1457
                   [], 
gjc@3855
  1458
                   is_static=True)
gjc@3855
  1459
    ## ipv6-header.h: ns3::TypeId ns3::Ipv6Header::GetInstanceTypeId() const [member function]
gjc@3855
  1460
    cls.add_method('GetInstanceTypeId', 
gjc@3855
  1461
                   'ns3::TypeId', 
gjc@3855
  1462
                   [], 
gjc@3855
  1463
                   is_const=True, is_virtual=True)
gjc@3855
  1464
    ## ipv6-header.h: ns3::Ipv6Header::Ipv6Header() [constructor]
gjc@3855
  1465
    cls.add_constructor([])
gjc@3855
  1466
    ## ipv6-header.h: void ns3::Ipv6Header::SetTrafficClass(uint8_t traffic) [member function]
gjc@3855
  1467
    cls.add_method('SetTrafficClass', 
gjc@3855
  1468
                   'void', 
gjc@3855
  1469
                   [param('uint8_t', 'traffic')])
gjc@3855
  1470
    ## ipv6-header.h: uint8_t ns3::Ipv6Header::GetTrafficClass() const [member function]
gjc@3855
  1471
    cls.add_method('GetTrafficClass', 
gjc@3855
  1472
                   'uint8_t', 
gjc@3855
  1473
                   [], 
gjc@3855
  1474
                   is_const=True)
gjc@3855
  1475
    ## ipv6-header.h: void ns3::Ipv6Header::SetFlowLabel(uint32_t flow) [member function]
gjc@3855
  1476
    cls.add_method('SetFlowLabel', 
gjc@3855
  1477
                   'void', 
gjc@3855
  1478
                   [param('uint32_t', 'flow')])
gjc@3855
  1479
    ## ipv6-header.h: uint32_t ns3::Ipv6Header::GetFlowLabel() const [member function]
gjc@3855
  1480
    cls.add_method('GetFlowLabel', 
gjc@3855
  1481
                   'uint32_t', 
gjc@3855
  1482
                   [], 
gjc@3855
  1483
                   is_const=True)
gjc@3855
  1484
    ## ipv6-header.h: void ns3::Ipv6Header::SetPayloadLength(uint16_t len) [member function]
gjc@3855
  1485
    cls.add_method('SetPayloadLength', 
gjc@3855
  1486
                   'void', 
gjc@3855
  1487
                   [param('uint16_t', 'len')])
gjc@3855
  1488
    ## ipv6-header.h: uint16_t ns3::Ipv6Header::GetPayloadLength() const [member function]
gjc@3855
  1489
    cls.add_method('GetPayloadLength', 
gjc@3855
  1490
                   'uint16_t', 
gjc@3855
  1491
                   [], 
gjc@3855
  1492
                   is_const=True)
gjc@3855
  1493
    ## ipv6-header.h: void ns3::Ipv6Header::SetNextHeader(uint8_t next) [member function]
gjc@3855
  1494
    cls.add_method('SetNextHeader', 
gjc@3855
  1495
                   'void', 
gjc@3855
  1496
                   [param('uint8_t', 'next')])
gjc@3855
  1497
    ## ipv6-header.h: uint8_t ns3::Ipv6Header::GetNextHeader() const [member function]
gjc@3855
  1498
    cls.add_method('GetNextHeader', 
gjc@3855
  1499
                   'uint8_t', 
gjc@3855
  1500
                   [], 
gjc@3855
  1501
                   is_const=True)
gjc@3855
  1502
    ## ipv6-header.h: void ns3::Ipv6Header::SetHopLimit(uint8_t limit) [member function]
gjc@3855
  1503
    cls.add_method('SetHopLimit', 
gjc@3855
  1504
                   'void', 
gjc@3855
  1505
                   [param('uint8_t', 'limit')])
gjc@3855
  1506
    ## ipv6-header.h: uint8_t ns3::Ipv6Header::GetHopLimit() const [member function]
gjc@3855
  1507
    cls.add_method('GetHopLimit', 
gjc@3855
  1508
                   'uint8_t', 
gjc@3855
  1509
                   [], 
gjc@3855
  1510
                   is_const=True)
gjc@3855
  1511
    ## ipv6-header.h: void ns3::Ipv6Header::SetSourceAddress(ns3::Ipv6Address src) [member function]
gjc@3855
  1512
    cls.add_method('SetSourceAddress', 
gjc@3855
  1513
                   'void', 
gjc@3855
  1514
                   [param('ns3::Ipv6Address', 'src')])
gjc@3855
  1515
    ## ipv6-header.h: ns3::Ipv6Address ns3::Ipv6Header::GetSourceAddress() const [member function]
gjc@3855
  1516
    cls.add_method('GetSourceAddress', 
gjc@3855
  1517
                   'ns3::Ipv6Address', 
gjc@3855
  1518
                   [], 
gjc@3855
  1519
                   is_const=True)
gjc@3855
  1520
    ## ipv6-header.h: void ns3::Ipv6Header::SetDestinationAddress(ns3::Ipv6Address dst) [member function]
gjc@3855
  1521
    cls.add_method('SetDestinationAddress', 
gjc@3855
  1522
                   'void', 
gjc@3855
  1523
                   [param('ns3::Ipv6Address', 'dst')])
gjc@3855
  1524
    ## ipv6-header.h: ns3::Ipv6Address ns3::Ipv6Header::GetDestinationAddress() const [member function]
gjc@3855
  1525
    cls.add_method('GetDestinationAddress', 
gjc@3855
  1526
                   'ns3::Ipv6Address', 
gjc@3855
  1527
                   [], 
gjc@3855
  1528
                   is_const=True)
gjc@3855
  1529
    ## ipv6-header.h: void ns3::Ipv6Header::Print(std::ostream & os) const [member function]
gjc@3855
  1530
    cls.add_method('Print', 
gjc@3855
  1531
                   'void', 
gjc@3855
  1532
                   [param('std::ostream &', 'os')], 
gjc@3855
  1533
                   is_const=True, is_virtual=True)
gjc@3855
  1534
    ## ipv6-header.h: uint32_t ns3::Ipv6Header::GetSerializedSize() const [member function]
gjc@3855
  1535
    cls.add_method('GetSerializedSize', 
gjc@3855
  1536
                   'uint32_t', 
gjc@3855
  1537
                   [], 
gjc@3855
  1538
                   is_const=True, is_virtual=True)
gjc@3855
  1539
    ## ipv6-header.h: void ns3::Ipv6Header::Serialize(ns3::Buffer::Iterator start) const [member function]
gjc@3855
  1540
    cls.add_method('Serialize', 
gjc@3855
  1541
                   'void', 
gjc@3855
  1542
                   [param('ns3::Buffer::Iterator', 'start')], 
gjc@3855
  1543
                   is_const=True, is_virtual=True)
gjc@3855
  1544
    ## ipv6-header.h: uint32_t ns3::Ipv6Header::Deserialize(ns3::Buffer::Iterator start) [member function]
gjc@3855
  1545
    cls.add_method('Deserialize', 
gjc@3855
  1546
                   'uint32_t', 
gjc@3855
  1547
                   [param('ns3::Buffer::Iterator', 'start')], 
gjc@3855
  1548
                   is_virtual=True)
gjc@3855
  1549
    return
gjc@3855
  1550
gjc@3855
  1551
def register_Ns3Ipv6PrefixChecker_methods(root_module, cls):
mathieu@4241
  1552
    ## ipv6-address.h: ns3::Ipv6PrefixChecker::Ipv6PrefixChecker(ns3::Ipv6PrefixChecker const & arg0) [copy constructor]
mathieu@4241
  1553
    cls.add_constructor([param('ns3::Ipv6PrefixChecker const &', 'arg0')])
mathieu@4241
  1554
    ## ipv6-address.h: ns3::Ipv6PrefixChecker::Ipv6PrefixChecker() [constructor]
gjc@3855
  1555
    cls.add_constructor([])
gjc@3855
  1556
    return
gjc@3855
  1557
gjc@3855
  1558
def register_Ns3Ipv6PrefixValue_methods(root_module, cls):
mathieu@4241
  1559
    ## ipv6-address.h: ns3::Ipv6PrefixValue::Ipv6PrefixValue(ns3::Ipv6PrefixValue const & arg0) [copy constructor]
mathieu@4241
  1560
    cls.add_constructor([param('ns3::Ipv6PrefixValue const &', 'arg0')])
gjc@3855
  1561
    ## ipv6-address.h: ns3::Ipv6PrefixValue::Ipv6PrefixValue() [constructor]
gjc@3855
  1562
    cls.add_constructor([])
gjc@3855
  1563
    ## ipv6-address.h: ns3::Ipv6PrefixValue::Ipv6PrefixValue(ns3::Ipv6Prefix const & value) [constructor]
gjc@3855
  1564
    cls.add_constructor([param('ns3::Ipv6Prefix const &', 'value')])
gjc@3855
  1565
    ## ipv6-address.h: void ns3::Ipv6PrefixValue::Set(ns3::Ipv6Prefix const & value) [member function]
gjc@3855
  1566
    cls.add_method('Set', 
gjc@3855
  1567
                   'void', 
gjc@3855
  1568
                   [param('ns3::Ipv6Prefix const &', 'value')])
gjc@3855
  1569
    ## ipv6-address.h: ns3::Ipv6Prefix ns3::Ipv6PrefixValue::Get() const [member function]
gjc@3855
  1570
    cls.add_method('Get', 
gjc@3855
  1571
                   'ns3::Ipv6Prefix', 
gjc@3855
  1572
                   [], 
gjc@3855
  1573
                   is_const=True)
gjc@3855
  1574
    ## ipv6-address.h: ns3::Ptr<ns3::AttributeValue> ns3::Ipv6PrefixValue::Copy() const [member function]
gjc@3855
  1575
    cls.add_method('Copy', 
gjc@3855
  1576
                   'ns3::Ptr< ns3::AttributeValue >', 
gjc@3855
  1577
                   [], 
gjc@3855
  1578
                   is_const=True, is_virtual=True)
gjc@3855
  1579
    ## ipv6-address.h: std::string ns3::Ipv6PrefixValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
gjc@3855
  1580
    cls.add_method('SerializeToString', 
gjc@3855
  1581
                   'std::string', 
gjc@3855
  1582
                   [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
gjc@3855
  1583
                   is_const=True, is_virtual=True)
gjc@3855
  1584
    ## ipv6-address.h: bool ns3::Ipv6PrefixValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
gjc@3855
  1585
    cls.add_method('DeserializeFromString', 
gjc@3855
  1586
                   'bool', 
gjc@3855
  1587
                   [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
gjc@3855
  1588
                   is_virtual=True)
gjc@3855
  1589
    return
gjc@3855
  1590
gjc@3731
  1591
def register_Ns3LlcSnapHeader_methods(root_module, cls):
mathieu@4241
  1592
    ## llc-snap-header.h: ns3::LlcSnapHeader::LlcSnapHeader(ns3::LlcSnapHeader const & arg0) [copy constructor]
mathieu@4241
  1593
    cls.add_constructor([param('ns3::LlcSnapHeader const &', 'arg0')])
gjc@3731
  1594
    ## llc-snap-header.h: ns3::LlcSnapHeader::LlcSnapHeader() [constructor]
gjc@3731
  1595
    cls.add_constructor([])
gjc@3731
  1596
    ## llc-snap-header.h: void ns3::LlcSnapHeader::SetType(uint16_t type) [member function]
gjc@3731
  1597
    cls.add_method('SetType', 
gjc@3731
  1598
                   'void', 
gjc@3731
  1599
                   [param('uint16_t', 'type')])
gjc@3731
  1600
    ## llc-snap-header.h: uint16_t ns3::LlcSnapHeader::GetType() [member function]
gjc@3731
  1601
    cls.add_method('GetType', 
gjc@3731
  1602
                   'uint16_t', 
gjc@3731
  1603
                   [])
gjc@3731
  1604
    ## llc-snap-header.h: static ns3::TypeId ns3::LlcSnapHeader::GetTypeId() [member function]
gjc@3468
  1605
    cls.add_method('GetTypeId', 
gjc@3468
  1606
                   'ns3::TypeId', 
gjc@3468
  1607
                   [], 
gjc@3468
  1608
                   is_static=True)
gjc@3731
  1609
    ## llc-snap-header.h: ns3::TypeId ns3::LlcSnapHeader::GetInstanceTypeId() const [member function]
gjc@3731
  1610
    cls.add_method('GetInstanceTypeId', 
gjc@3731
  1611
                   'ns3::TypeId', 
gjc@3731
  1612
                   [], 
gjc@3731
  1613
                   is_const=True, is_virtual=True)
gjc@3731
  1614
    ## llc-snap-header.h: void ns3::LlcSnapHeader::Print(std::ostream & os) const [member function]
gjc@3731
  1615
    cls.add_method('Print', 
gjc@3731
  1616
                   'void', 
gjc@3731
  1617
                   [param('std::ostream &', 'os')], 
gjc@3731
  1618
                   is_const=True, is_virtual=True)
gjc@3731
  1619
    ## llc-snap-header.h: uint32_t ns3::LlcSnapHeader::GetSerializedSize() const [member function]
gjc@3731
  1620
    cls.add_method('GetSerializedSize', 
gjc@3468
  1621
                   'uint32_t', 
gjc@3468
  1622
                   [], 
gjc@3731
  1623
                   is_const=True, is_virtual=True)
gjc@3731
  1624
    ## llc-snap-header.h: void ns3::LlcSnapHeader::Serialize(ns3::Buffer::Iterator start) const [member function]
gjc@3731
  1625
    cls.add_method('Serialize', 
gjc@3731
  1626
                   'void', 
gjc@3731
  1627
                   [param('ns3::Buffer::Iterator', 'start')], 
gjc@3731
  1628
                   is_const=True, is_virtual=True)
gjc@3731
  1629
    ## llc-snap-header.h: uint32_t ns3::LlcSnapHeader::Deserialize(ns3::Buffer::Iterator start) [member function]
gjc@3731
  1630
    cls.add_method('Deserialize', 
gjc@3468
  1631
                   'uint32_t', 
gjc@3731
  1632
                   [param('ns3::Buffer::Iterator', 'start')], 
gjc@3731
  1633
                   is_virtual=True)
gjc@3731
  1634
    return
gjc@3731
  1635
gjc@3731
  1636
def register_Ns3Mac48AddressChecker_methods(root_module, cls):
mathieu@4241
  1637
    ## mac48-address.h: ns3::Mac48AddressChecker::Mac48AddressChecker(ns3::Mac48AddressChecker const & arg0) [copy constructor]
mathieu@4241
  1638
    cls.add_constructor([param('ns3::Mac48AddressChecker const &', 'arg0')])
mathieu@4241
  1639
    ## mac48-address.h: ns3::Mac48AddressChecker::Mac48AddressChecker() [constructor]
gjc@3731
  1640
    cls.add_constructor([])
gjc@3731
  1641
    return
gjc@3731
  1642
gjc@3731
  1643
def register_Ns3Mac48AddressValue_methods(root_module, cls):
mathieu@4241
  1644
    ## mac48-address.h: ns3::Mac48AddressValue::Mac48AddressValue(ns3::Mac48AddressValue const & arg0) [copy constructor]
mathieu@4241
  1645
    cls.add_constructor([param('ns3::Mac48AddressValue const &', 'arg0')])
gjc@3731
  1646
    ## mac48-address.h: ns3::Mac48AddressValue::Mac48AddressValue() [constructor]
gjc@3731
  1647
    cls.add_constructor([])
gjc@3731
  1648
    ## mac48-address.h: ns3::Mac48AddressValue::Mac48AddressValue(ns3::Mac48Address const & value) [constructor]
gjc@3731
  1649
    cls.add_constructor([param('ns3::Mac48Address const &', 'value')])
gjc@3731
  1650
    ## mac48-address.h: void ns3::Mac48AddressValue::Set(ns3::Mac48Address const & value) [member function]
gjc@3731
  1651
    cls.add_method('Set', 
gjc@3731
  1652
                   'void', 
gjc@3731
  1653
                   [param('ns3::Mac48Address const &', 'value')])
gjc@3731
  1654
    ## mac48-address.h: ns3::Mac48Address ns3::Mac48AddressValue::Get() const [member function]
gjc@3731
  1655
    cls.add_method('Get', 
gjc@3731
  1656
                   'ns3::Mac48Address', 
gjc@3468
  1657
                   [], 
gjc@3468
  1658
                   is_const=True)
gjc@3731
  1659
    ## mac48-address.h: ns3::Ptr<ns3::AttributeValue> ns3::Mac48AddressValue::Copy() const [member function]
gjc@3731
  1660
    cls.add_method('Copy', 
gjc@3731
  1661
                   'ns3::Ptr< ns3::AttributeValue >', 
gjc@3468
  1662
                   [], 
gjc@3731
  1663
                   is_const=True, is_virtual=True)
gjc@3731
  1664
    ## mac48-address.h: std::string ns3::Mac48AddressValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
gjc@3731
  1665
    cls.add_method('SerializeToString', 
gjc@3731
  1666
                   'std::string', 
gjc@3731
  1667
                   [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
gjc@3731
  1668
                   is_const=True, is_virtual=True)
gjc@3731
  1669
    ## mac48-address.h: bool ns3::Mac48AddressValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
gjc@3731
  1670
    cls.add_method('DeserializeFromString', 
gjc@3731
  1671
                   'bool', 
gjc@3731
  1672
                   [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
gjc@3731
  1673
                   is_virtual=True)
gjc@3408
  1674
    return
gjc@3408
  1675
gjc@3731
  1676
def register_Ns3Queue_methods(root_module, cls):
mathieu@4241
  1677
    ## queue.h: ns3::Queue::Queue(ns3::Queue const & arg0) [copy constructor]
mathieu@4241
  1678
    cls.add_constructor([param('ns3::Queue const &', 'arg0')])
gjc@3731
  1679
    ## queue.h: static ns3::TypeId ns3::Queue::GetTypeId() [member function]
gjc@3468
  1680
    cls.add_method('GetTypeId', 
gjc@3468
  1681
                   'ns3::TypeId', 
gjc@3468
  1682
                   [], 
gjc@3468
  1683
                   is_static=True)
gjc@3731
  1684
    ## queue.h: ns3::Queue::Queue() [constructor]
gjc@3468
  1685
    cls.add_constructor([])
gjc@3731
  1686
    ## queue.h: bool ns3::Queue::IsEmpty() const [member function]
gjc@3731
  1687
    cls.add_method('IsEmpty', 
gjc@3731
  1688
                   'bool', 
gjc@3731
  1689
                   [], 
gjc@3731
  1690
                   is_const=True)
gjc@3731
  1691
    ## queue.h: bool ns3::Queue::Enqueue(ns3::Ptr<ns3::Packet> p) [member function]
gjc@3731
  1692
    cls.add_method('Enqueue', 
gjc@3731
  1693
                   'bool', 
gjc@3731
  1694
                   [param('ns3::Ptr< ns3::Packet >', 'p')])
gjc@3731
  1695
    ## queue.h: ns3::Ptr<ns3::Packet> ns3::Queue::Dequeue() [member function]
gjc@3731
  1696
    cls.add_method('Dequeue', 
gjc@3731
  1697
                   'ns3::Ptr< ns3::Packet >', 
gjc@3731
  1698
                   [])
gjc@3731
  1699
    ## queue.h: ns3::Ptr<const ns3::Packet> ns3::Queue::Peek() const [member function]
gjc@3731
  1700
    cls.add_method('Peek', 
gjc@3731
  1701
                   'ns3::Ptr< ns3::Packet const >', 
gjc@3731
  1702
                   [], 
gjc@3731
  1703
                   is_const=True)
gjc@3731
  1704
    ## queue.h: void ns3::Queue::DequeueAll() [member function]
gjc@3731
  1705
    cls.add_method('DequeueAll', 
gjc@3468
  1706
                   'void', 
gjc@3468
  1707
                   [])
gjc@3731
  1708
    ## queue.h: uint32_t ns3::Queue::GetNPackets() const [member function]
gjc@3731
  1709
    cls.add_method('GetNPackets', 
gjc@3731
  1710
                   'uint32_t', 
gjc@3731
  1711
                   [], 
gjc@3731
  1712
                   is_const=True)
gjc@3731
  1713
    ## queue.h: uint32_t ns3::Queue::GetNBytes() const [member function]
gjc@3731
  1714
    cls.add_method('GetNBytes', 
gjc@3731
  1715
                   'uint32_t', 
gjc@3731
  1716
                   [], 
gjc@3731
  1717
                   is_const=True)
gjc@3731
  1718
    ## queue.h: uint32_t ns3::Queue::GetTotalReceivedBytes() const [member function]
gjc@3731
  1719
    cls.add_method('GetTotalReceivedBytes', 
gjc@3731
  1720
                   'uint32_t', 
gjc@3731
  1721
                   [], 
gjc@3731
  1722
                   is_const=True)
gjc@3731
  1723
    ## queue.h: uint32_t ns3::Queue::GetTotalReceivedPackets() const [member function]
gjc@3731
  1724
    cls.add_method('GetTotalReceivedPackets', 
gjc@3731
  1725
                   'uint32_t', 
gjc@3731
  1726
                   [], 
gjc@3731
  1727
                   is_const=True)
gjc@3731
  1728
    ## queue.h: uint32_t ns3::Queue::GetTotalDroppedBytes() const [member function]
gjc@3731
  1729
    cls.add_method('GetTotalDroppedBytes', 
gjc@3731
  1730
                   'uint32_t', 
gjc@3731
  1731
                   [], 
gjc@3731
  1732
                   is_const=True)
gjc@3731
  1733
    ## queue.h: uint32_t ns3::Queue::GetTotalDroppedPackets() const [member function]
gjc@3731
  1734
    cls.add_method('GetTotalDroppedPackets', 
gjc@3731
  1735
                   'uint32_t', 
gjc@3731
  1736
                   [], 
gjc@3731
  1737
                   is_const=True)
gjc@3731
  1738
    ## queue.h: void ns3::Queue::ResetStatistics() [member function]
gjc@3731
  1739
    cls.add_method('ResetStatistics', 
gjc@3731
  1740
                   'void', 
gjc@3731
  1741
                   [])
gjc@3731
  1742
    ## queue.h: void ns3::Queue::Drop(ns3::Ptr<ns3::Packet> packet) [member function]
gjc@3731
  1743
    cls.add_method('Drop', 
gjc@3731
  1744
                   'void', 
gjc@3731
  1745
                   [param('ns3::Ptr< ns3::Packet >', 'packet')], 
gjc@3731
  1746
                   visibility='protected')
gjc@3731
  1747
    ## queue.h: bool ns3::Queue::DoEnqueue(ns3::Ptr<ns3::Packet> p) [member function]
gjc@3731
  1748
    cls.add_method('DoEnqueue', 
gjc@3731
  1749
                   'bool', 
gjc@3731
  1750
                   [param('ns3::Ptr< ns3::Packet >', 'p')], 
gjc@3731
  1751
                   is_pure_virtual=True, visibility='private', is_virtual=True)
gjc@3731
  1752
    ## queue.h: ns3::Ptr<ns3::Packet> ns3::Queue::DoDequeue() [member function]
gjc@3731
  1753
    cls.add_method('DoDequeue', 
gjc@3731
  1754
                   'ns3::Ptr< ns3::Packet >', 
gjc@3731
  1755
                   [], 
gjc@3731
  1756
                   is_pure_virtual=True, visibility='private', is_virtual=True)
gjc@3731
  1757
    ## queue.h: ns3::Ptr<const ns3::Packet> ns3::Queue::DoPeek() const [member function]
gjc@3731
  1758
    cls.add_method('DoPeek', 
gjc@3731
  1759
                   'ns3::Ptr< ns3::Packet const >', 
gjc@3731
  1760
                   [], 
gjc@3731
  1761
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
gjc@3731
  1762
    return
gjc@3731
  1763
gjc@3731
  1764
def register_Ns3Socket_methods(root_module, cls):
mathieu@4241
  1765
    ## socket.h: ns3::Socket::Socket(ns3::Socket const & arg0) [copy constructor]
mathieu@4241
  1766
    cls.add_constructor([param('ns3::Socket const &', 'arg0')])
gjc@3731
  1767
    ## socket.h: ns3::Socket::Socket() [constructor]
gjc@3731
  1768
    cls.add_constructor([])
gjc@3731
  1769
    ## socket.h: static ns3::Ptr<ns3::Socket> ns3::Socket::CreateSocket(ns3::Ptr<ns3::Node> node, ns3::TypeId tid) [member function]
gjc@3731
  1770
    cls.add_method('CreateSocket', 
gjc@3731
  1771
                   'ns3::Ptr< ns3::Socket >', 
gjc@3731
  1772
                   [param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::TypeId', 'tid')], 
gjc@3731
  1773
                   is_static=True)
gjc@3731
  1774
    ## socket.h: ns3::Socket::SocketErrno ns3::Socket::GetErrno() const [member function]
gjc@3731
  1775
    cls.add_method('GetErrno', 
gjc@3731
  1776
                   'ns3::Socket::SocketErrno', 
gjc@3731
  1777
                   [], 
gjc@3731
  1778
                   is_pure_virtual=True, is_const=True, is_virtual=True)
gjc@3731
  1779
    ## socket.h: ns3::Ptr<ns3::Node> ns3::Socket::GetNode() const [member function]
gjc@3731
  1780
    cls.add_method('GetNode', 
gjc@3731
  1781
                   'ns3::Ptr< ns3::Node >', 
gjc@3731
  1782
                   [], 
gjc@3731
  1783
                   is_pure_virtual=True, is_const=True, is_virtual=True)
mathieu@4073
  1784
    ## 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]
gjc@3731
  1785
    cls.add_method('SetConnectCallback', 
gjc@3731
  1786
                   'void', 
mathieu@4073
  1787
                   [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')])
mathieu@4073
  1788
    ## 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]
gjc@3731
  1789
    cls.add_method('SetAcceptCallback', 
gjc@3731
  1790
                   'void', 
mathieu@4073
  1791
                   [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')])
mathieu@4073
  1792
    ## 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]
gjc@3731
  1793
    cls.add_method('SetDataSentCallback', 
craigdo@3775
  1794
                   'void', 
mathieu@4073
  1795
                   [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')])
mathieu@4073
  1796
    ## 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]
gjc@3731
  1797
    cls.add_method('SetSendCallback', 
gjc@3731
  1798
                   'void', 
mathieu@4073
  1799
                   [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')])
mathieu@4073
  1800
    ## 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]
gjc@3731
  1801
    cls.add_method('SetRecvCallback', 
gjc@3731
  1802
                   'void', 
mathieu@4073
  1803
                   [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')])
gjc@3731
  1804
    ## socket.h: int ns3::Socket::Bind(ns3::Address const & address) [member function]
gjc@3731
  1805
    cls.add_method('Bind', 
gjc@3731
  1806
                   'int', 
gjc@3731
  1807
                   [param('ns3::Address const &', 'address')], 
gjc@3731
  1808
                   is_pure_virtual=True, is_virtual=True)
gjc@3731
  1809
    ## socket.h: int ns3::Socket::Bind() [member function]
gjc@3731
  1810
    cls.add_method('Bind', 
gjc@3731
  1811
                   'int', 
gjc@3731
  1812
                   [], 
gjc@3731
  1813
                   is_pure_virtual=True, is_virtual=True)
gjc@3731
  1814
    ## socket.h: int ns3::Socket::Close() [member function]
gjc@3731
  1815
    cls.add_method('Close', 
gjc@3731
  1816
                   'int', 
gjc@3731
  1817
                   [], 
gjc@3731
  1818
                   is_pure_virtual=True, is_virtual=True)
gjc@3731
  1819
    ## socket.h: int ns3::Socket::ShutdownSend() [member function]
gjc@3731
  1820
    cls.add_method('ShutdownSend', 
gjc@3731
  1821
                   'int', 
gjc@3731
  1822
                   [], 
gjc@3731
  1823
                   is_pure_virtual=True, is_virtual=True)
gjc@3731
  1824
    ## socket.h: int ns3::Socket::ShutdownRecv() [member function]
gjc@3731
  1825
    cls.add_method('ShutdownRecv', 
gjc@3731
  1826
                   'int', 
gjc@3731
  1827
                   [], 
gjc@3731
  1828
                   is_pure_virtual=True, is_virtual=True)
gjc@3731
  1829
    ## socket.h: int ns3::Socket::Connect(ns3::Address const & address) [member function]
gjc@3731
  1830
    cls.add_method('Connect', 
gjc@3731
  1831
                   'int', 
gjc@3731
  1832
                   [param('ns3::Address const &', 'address')], 
gjc@3731
  1833
                   is_pure_virtual=True, is_virtual=True)
craigdo@3773
  1834
    ## socket.h: int ns3::Socket::Listen() [member function]
gjc@3731
  1835
    cls.add_method('Listen', 
gjc@3731
  1836
                   'int', 
craigdo@3773
  1837
                   [], 
gjc@3731
  1838
                   is_pure_virtual=True, is_virtual=True)
gjc@3731
  1839
    ## socket.h: uint32_t ns3::Socket::GetTxAvailable() const [member function]
gjc@3731
  1840
    cls.add_method('GetTxAvailable', 
gjc@3468
  1841
                   'uint32_t', 
gjc@3468
  1842
                   [], 
gjc@3468
  1843
                   is_pure_virtual=True, is_const=True, is_virtual=True)
gjc@3731
  1844
    ## socket.h: int ns3::Socket::Send(ns3::Ptr<ns3::Packet> p, uint32_t flags) [member function]
gjc@3731
  1845
    cls.add_method('Send', 
gjc@3731
  1846
                   'int', 
gjc@3731
  1847
                   [param('ns3::Ptr< ns3::Packet >', 'p'), param('uint32_t', 'flags')], 
gjc@3731
  1848
                   is_pure_virtual=True, is_virtual=True)
gjc@3731
  1849
    ## socket.h: int ns3::Socket::SendTo(ns3::Ptr<ns3::Packet> p, uint32_t flags, ns3::Address const & toAddress) [member function]
gjc@3731
  1850
    cls.add_method('SendTo', 
gjc@3731
  1851
                   'int', 
gjc@3731
  1852
                   [param('ns3::Ptr< ns3::Packet >', 'p'), param('uint32_t', 'flags'), param('ns3::Address const &', 'toAddress')], 
gjc@3731
  1853
                   is_pure_virtual=True, is_virtual=True)
gjc@3731
  1854
    ## socket.h: uint32_t ns3::Socket::GetRxAvailable() const [member function]
gjc@3731
  1855
    cls.add_method('GetRxAvailable', 
gjc@3731
  1856
                   'uint32_t', 
gjc@3731
  1857
                   [], 
gjc@3468
  1858
                   is_pure_virtual=True, is_const=True, is_virtual=True)
gjc@3731
  1859
    ## socket.h: ns3::Ptr<ns3::Packet> ns3::Socket::Recv(uint32_t maxSize, uint32_t flags) [member function]
gjc@3731
  1860
    cls.add_method('Recv', 
gjc@3731
  1861
                   'ns3::Ptr< ns3::Packet >', 
gjc@3731
  1862
                   [param('uint32_t', 'maxSize'), param('uint32_t', 'flags')], 
gjc@3731
  1863
                   is_pure_virtual=True, is_virtual=True)
gjc@3731
  1864
    ## socket.h: ns3::Ptr<ns3::Packet> ns3::Socket::RecvFrom(uint32_t maxSize, uint32_t flags, ns3::Address & fromAddress) [member function]
gjc@3731
  1865
    cls.add_method('RecvFrom', 
gjc@3731
  1866
                   'ns3::Ptr< ns3::Packet >', 
gjc@3731
  1867
                   [param('uint32_t', 'maxSize'), param('uint32_t', 'flags'), param('ns3::Address &', 'fromAddress')], 
gjc@3731
  1868
                   is_pure_virtual=True, is_virtual=True)
gjc@3731
  1869
    ## socket.h: int ns3::Socket::Send(ns3::Ptr<ns3::Packet> p) [member function]
gjc@3731
  1870
    cls.add_method('Send', 
gjc@3731
  1871
                   'int', 
gjc@3731
  1872
                   [param('ns3::Ptr< ns3::Packet >', 'p')])
gjc@3731
  1873
    ## socket.h: int ns3::Socket::Send(uint8_t const * buf, uint32_t size, uint32_t flags) [member function]
gjc@3731
  1874
    cls.add_method('Send', 
gjc@3731
  1875
                   'int', 
gjc@3731
  1876
                   [param('uint8_t const *', 'buf'), param('uint32_t', 'size'), param('uint32_t', 'flags')])
gjc@3731
  1877
    ## socket.h: int ns3::Socket::SendTo(uint8_t const * buf, uint32_t size, uint32_t flags, ns3::Address const & address) [member function]
gjc@3731
  1878
    cls.add_method('SendTo', 
gjc@3731
  1879
                   'int', 
gjc@3731
  1880
                   [param('uint8_t const *', 'buf'), param('uint32_t', 'size'), param('uint32_t', 'flags'), param('ns3::Address const &', 'address')])
gjc@3731
  1881
    ## socket.h: ns3::Ptr<ns3::Packet> ns3::Socket::Recv() [member function]
gjc@3731
  1882
    cls.add_method('Recv', 
gjc@3731
  1883
                   'ns3::Ptr< ns3::Packet >', 
gjc@3731
  1884
                   [])
gjc@3731
  1885
    ## socket.h: int ns3::Socket::Recv(uint8_t * buf, uint32_t size, uint32_t flags) [member function]
gjc@3731
  1886
    cls.add_method('Recv', 
gjc@3731
  1887
                   'int', 
gjc@3731
  1888
                   [param('uint8_t *', 'buf'), param('uint32_t', 'size'), param('uint32_t', 'flags')])
gjc@3731
  1889
    ## socket.h: ns3::Ptr<ns3::Packet> ns3::Socket::RecvFrom(ns3::Address & fromAddress) [member function]
gjc@3731
  1890
    cls.add_method('RecvFrom', 
gjc@3731
  1891
                   'ns3::Ptr< ns3::Packet >', 
gjc@3731
  1892
                   [param('ns3::Address &', 'fromAddress')])
gjc@3731
  1893
    ## socket.h: int ns3::Socket::RecvFrom(uint8_t * buf, uint32_t size, uint32_t flags, ns3::Address & fromAddress) [member function]
gjc@3731
  1894
    cls.add_method('RecvFrom', 
gjc@3731
  1895
                   'int', 
gjc@3731
  1896
                   [param('uint8_t *', 'buf'), param('uint32_t', 'size'), param('uint32_t', 'flags'), param('ns3::Address &', 'fromAddress')])
craigdo@3779
  1897
    ## socket.h: int ns3::Socket::GetSockName(ns3::Address & address) const [member function]
craigdo@3779
  1898
    cls.add_method('GetSockName', 
craigdo@3779
  1899
                   'int', 
craigdo@3779
  1900
                   [param('ns3::Address &', 'address')], 
craigdo@3779
  1901
                   is_pure_virtual=True, is_const=True, is_virtual=True)
gjc@3731
  1902
    ## socket.h: void ns3::Socket::NotifyConnectionSucceeded() [member function]
gjc@3731
  1903
    cls.add_method('NotifyConnectionSucceeded', 
gjc@3731
  1904
                   'void', 
gjc@3731
  1905
                   [], 
gjc@3731
  1906
                   visibility='protected')
gjc@3731
  1907
    ## socket.h: void ns3::Socket::NotifyConnectionFailed() [member function]
gjc@3731
  1908
    cls.add_method('NotifyConnectionFailed', 
gjc@3731
  1909
                   'void', 
gjc@3731
  1910
                   [], 
gjc@3731
  1911
                   visibility='protected')
gjc@3731
  1912
    ## socket.h: bool ns3::Socket::NotifyConnectionRequest(ns3::Address const & from) [member function]
gjc@3731
  1913
    cls.add_method('NotifyConnectionRequest', 
gjc@3731
  1914
                   'bool', 
gjc@3731
  1915
                   [param('ns3::Address const &', 'from')], 
gjc@3731
  1916
                   visibility='protected')
gjc@3731
  1917
    ## socket.h: void ns3::Socket::NotifyNewConnectionCreated(ns3::Ptr<ns3::Socket> socket, ns3::Address const & from) [member function]
gjc@3731
  1918
    cls.add_method('NotifyNewConnectionCreated', 
gjc@3731
  1919
                   'void', 
gjc@3731
  1920
                   [param('ns3::Ptr< ns3::Socket >', 'socket'), param('ns3::Address const &', 'from')], 
gjc@3731
  1921
                   visibility='protected')
gjc@3731
  1922
    ## socket.h: void ns3::Socket::NotifyDataSent(uint32_t size) [member function]
gjc@3731
  1923
    cls.add_method('NotifyDataSent', 
gjc@3731
  1924
                   'void', 
gjc@3731
  1925
                   [param('uint32_t', 'size')], 
gjc@3731
  1926
                   visibility='protected')
gjc@3731
  1927
    ## socket.h: void ns3::Socket::NotifySend(uint32_t spaceAvailable) [member function]
gjc@3731
  1928
    cls.add_method('NotifySend', 
gjc@3731
  1929
                   'void', 
gjc@3731
  1930
                   [param('uint32_t', 'spaceAvailable')], 
gjc@3731
  1931
                   visibility='protected')
gjc@3731
  1932
    ## socket.h: void ns3::Socket::NotifyDataRecv() [member function]
gjc@3731
  1933
    cls.add_method('NotifyDataRecv', 
gjc@3731
  1934
                   'void', 
gjc@3731
  1935
                   [], 
gjc@3731
  1936
                   visibility='protected')
tomh@4382
  1937
    ## socket.h: void ns3::Socket::DoDispose() [member function]
tomh@4382
  1938
    cls.add_method('DoDispose', 
tomh@4382
  1939
                   'void', 
tomh@4382
  1940
                   [], 
tomh@4382
  1941
                   visibility='protected', is_virtual=True)
gjc@3731
  1942
    return
gjc@3731
  1943
gjc@3731
  1944
def register_Ns3SocketAddressTag_methods(root_module, cls):
mathieu@4241
  1945
    ## socket.h: ns3::SocketAddressTag::SocketAddressTag(ns3::SocketAddressTag const & arg0) [copy constructor]
mathieu@4241
  1946
    cls.add_constructor([param('ns3::SocketAddressTag const &', 'arg0')])
gjc@3731
  1947
    ## socket.h: ns3::SocketAddressTag::SocketAddressTag() [constructor]
gjc@3731
  1948
    cls.add_constructor([])
gjc@3731
  1949
    ## socket.h: void ns3::SocketAddressTag::SetAddress(ns3::Address addr) [member function]
gjc@3731
  1950
    cls.add_method('SetAddress', 
gjc@3731
  1951
                   'void', 
gjc@3731
  1952
                   [param('ns3::Address', 'addr')])
gjc@3731
  1953
    ## socket.h: ns3::Address ns3::SocketAddressTag::GetAddress() const [member function]
gjc@3731
  1954
    cls.add_method('GetAddress', 
gjc@3731
  1955
                   'ns3::Address', 
gjc@3731
  1956
                   [], 
gjc@3731
  1957
                   is_const=True)
gjc@3731
  1958
    ## socket.h: static ns3::TypeId ns3::SocketAddressTag::GetTypeId() [member function]
gjc@3731
  1959
    cls.add_method('GetTypeId', 
gjc@3731
  1960
                   'ns3::TypeId', 
gjc@3731
  1961
                   [], 
gjc@3731
  1962
                   is_static=True)
gjc@3731
  1963
    ## socket.h: ns3::TypeId ns3::SocketAddressTag::GetInstanceTypeId() const [member function]
gjc@3731
  1964
    cls.add_method('GetInstanceTypeId', 
gjc@3731
  1965
                   'ns3::TypeId', 
gjc@3731
  1966
                   [], 
gjc@3731
  1967
                   is_const=True, is_virtual=True)
gjc@3731
  1968
    ## socket.h: uint32_t ns3::SocketAddressTag::GetSerializedSize() const [member function]
gjc@3731
  1969
    cls.add_method('GetSerializedSize', 
gjc@3731
  1970
                   'uint32_t', 
gjc@3731
  1971
                   [], 
gjc@3731
  1972
                   is_const=True, is_virtual=True)
gjc@3731
  1973
    ## socket.h: void ns3::SocketAddressTag::Serialize(ns3::TagBuffer i) const [member function]
gjc@3731
  1974
    cls.add_method('Serialize', 
gjc@3731
  1975
                   'void', 
gjc@3731
  1976
                   [param('ns3::TagBuffer', 'i')], 
gjc@3731
  1977
                   is_const=True, is_virtual=True)
gjc@3731
  1978
    ## socket.h: void ns3::SocketAddressTag::Deserialize(ns3::TagBuffer i) [member function]
gjc@3731
  1979
    cls.add_method('Deserialize', 
gjc@3731
  1980
                   'void', 
gjc@3731
  1981
                   [param('ns3::TagBuffer', 'i')], 
gjc@3731
  1982
                   is_virtual=True)
gjc@3731
  1983
    ## socket.h: void ns3::SocketAddressTag::Print(std::ostream & os) const [member function]
gjc@3731
  1984
    cls.add_method('Print', 
gjc@3731
  1985
                   'void', 
gjc@3731
  1986
                   [param('std::ostream &', 'os')], 
gjc@3731
  1987
                   is_const=True, is_virtual=True)
gjc@3731
  1988
    return
gjc@3731
  1989
gjc@3731
  1990
def register_Ns3SocketFactory_methods(root_module, cls):
mathieu@4241
  1991
    ## socket-factory.h: ns3::SocketFactory::SocketFactory(ns3::SocketFactory const & arg0) [copy constructor]
mathieu@4241
  1992
    cls.add_constructor([param('ns3::SocketFactory const &', 'arg0')])
gjc@3731
  1993
    ## socket-factory.h: static ns3::TypeId ns3::SocketFactory::GetTypeId() [member function]
gjc@3731
  1994
    cls.add_method('GetTypeId', 
gjc@3731
  1995
                   'ns3::TypeId', 
gjc@3731
  1996
                   [], 
gjc@3731
  1997
                   is_static=True)
gjc@3731
  1998
    ## socket-factory.h: ns3::SocketFactory::SocketFactory() [constructor]
gjc@3731
  1999
    cls.add_constructor([])
gjc@3731
  2000
    ## socket-factory.h: ns3::Ptr<ns3::Socket> ns3::SocketFactory::CreateSocket() [member function]
gjc@3731
  2001
    cls.add_method('CreateSocket', 
gjc@3731
  2002
                   'ns3::Ptr< ns3::Socket >', 
gjc@3731
  2003
                   [], 
gjc@3731
  2004
                   is_pure_virtual=True, is_virtual=True)
gjc@3731
  2005
    return
gjc@3731
  2006
gjc@3731
  2007
def register_Ns3SocketIpTtlTag_methods(root_module, cls):
mathieu@4241
  2008
    ## socket.h: ns3::SocketIpTtlTag::SocketIpTtlTag(ns3::SocketIpTtlTag const & arg0) [copy constructor]
mathieu@4241
  2009
    cls.add_constructor([param('ns3::SocketIpTtlTag const &', 'arg0')])
gjc@3731
  2010
    ## socket.h: ns3::SocketIpTtlTag::SocketIpTtlTag() [constructor]
gjc@3731
  2011
    cls.add_constructor([])
gjc@3731
  2012
    ## socket.h: void ns3::SocketIpTtlTag::SetTtl(uint8_t ttl) [member function]
gjc@3731
  2013
    cls.add_method('SetTtl', 
gjc@3731
  2014
                   'void', 
gjc@3731
  2015
                   [param('uint8_t', 'ttl')])
gjc@3731
  2016
    ## socket.h: uint8_t ns3::SocketIpTtlTag::GetTtl() const [member function]
gjc@3731
  2017
    cls.add_method('GetTtl', 
gjc@3731
  2018
                   'uint8_t', 
gjc@3731
  2019
                   [], 
gjc@3731
  2020
                   is_const=True)
gjc@3731
  2021
    ## socket.h: static ns3::TypeId ns3::SocketIpTtlTag::GetTypeId() [member function]
gjc@3731
  2022
    cls.add_method('GetTypeId', 
gjc@3731
  2023
                   'ns3::TypeId', 
gjc@3731
  2024
                   [], 
gjc@3731
  2025
                   is_static=True)
gjc@3731
  2026
    ## socket.h: ns3::TypeId ns3::SocketIpTtlTag::GetInstanceTypeId() const [member function]
gjc@3731
  2027
    cls.add_method('GetInstanceTypeId', 
gjc@3731
  2028
                   'ns3::TypeId', 
gjc@3731
  2029
                   [], 
gjc@3731
  2030
                   is_const=True, is_virtual=True)
gjc@3731
  2031
    ## socket.h: uint32_t ns3::SocketIpTtlTag::GetSerializedSize() const [member function]
gjc@3731
  2032
    cls.add_method('GetSerializedSize', 
gjc@3731
  2033
                   'uint32_t', 
gjc@3731
  2034
                   [], 
gjc@3731
  2035
                   is_const=True, is_virtual=True)
gjc@3731
  2036
    ## socket.h: void ns3::SocketIpTtlTag::Serialize(ns3::TagBuffer i) const [member function]
gjc@3731
  2037
    cls.add_method('Serialize', 
gjc@3731
  2038
                   'void', 
gjc@3731
  2039
                   [param('ns3::TagBuffer', 'i')], 
gjc@3731
  2040
                   is_const=True, is_virtual=True)
gjc@3731
  2041
    ## socket.h: void ns3::SocketIpTtlTag::Deserialize(ns3::TagBuffer i) [member function]
gjc@3731
  2042
    cls.add_method('Deserialize', 
gjc@3731
  2043
                   'void', 
gjc@3731
  2044
                   [param('ns3::TagBuffer', 'i')], 
gjc@3731
  2045
                   is_virtual=True)
gjc@3731
  2046
    ## socket.h: void ns3::SocketIpTtlTag::Print(std::ostream & os) const [member function]
gjc@3731
  2047
    cls.add_method('Print', 
gjc@3731
  2048
                   'void', 
gjc@3731
  2049
                   [param('std::ostream &', 'os')], 
gjc@3731
  2050
                   is_const=True, is_virtual=True)
gjc@3460
  2051
    return
gjc@3460
  2052
craigdo@3820
  2053
def register_Ns3SocketSetDontFragmentTag_methods(root_module, cls):
mathieu@4241
  2054
    ## socket.h: ns3::SocketSetDontFragmentTag::SocketSetDontFragmentTag(ns3::SocketSetDontFragmentTag const & arg0) [copy constructor]
mathieu@4241
  2055
    cls.add_constructor([param('ns3::SocketSetDontFragmentTag const &', 'arg0')])
craigdo@3820
  2056
    ## socket.h: ns3::SocketSetDontFragmentTag::SocketSetDontFragmentTag() [constructor]
craigdo@3820
  2057
    cls.add_constructor([])
craigdo@3820
  2058
    ## socket.h: void ns3::SocketSetDontFragmentTag::Enable() [member function]
craigdo@3820
  2059
    cls.add_method('Enable', 
craigdo@3820
  2060
                   'void', 
craigdo@3820
  2061
                   [])
craigdo@3820
  2062
    ## socket.h: void ns3::SocketSetDontFragmentTag::Disable() [member function]
craigdo@3820
  2063
    cls.add_method('Disable', 
craigdo@3820
  2064
                   'void', 
craigdo@3820
  2065
                   [])
craigdo@3820
  2066
    ## socket.h: bool ns3::SocketSetDontFragmentTag::IsEnabled() const [member function]
craigdo@3820
  2067
    cls.add_method('IsEnabled', 
craigdo@3820
  2068
                   'bool', 
craigdo@3820
  2069
                   [], 
craigdo@3820
  2070
                   is_const=True)
craigdo@3820
  2071
    ## socket.h: static ns3::TypeId ns3::SocketSetDontFragmentTag::GetTypeId() [member function]
craigdo@3820
  2072
    cls.add_method('GetTypeId', 
craigdo@3820
  2073
                   'ns3::TypeId', 
craigdo@3820
  2074
                   [], 
craigdo@3820
  2075
                   is_static=True)
craigdo@3820
  2076
    ## socket.h: ns3::TypeId ns3::SocketSetDontFragmentTag::GetInstanceTypeId() const [member function]
craigdo@3820
  2077
    cls.add_method('GetInstanceTypeId', 
craigdo@3820
  2078
                   'ns3::TypeId', 
craigdo@3820
  2079
                   [], 
craigdo@3820
  2080
                   is_const=True, is_virtual=True)
craigdo@3820
  2081
    ## socket.h: uint32_t ns3::SocketSetDontFragmentTag::GetSerializedSize() const [member function]
craigdo@3820
  2082
    cls.add_method('GetSerializedSize', 
craigdo@3820
  2083
                   'uint32_t', 
craigdo@3820
  2084
                   [], 
craigdo@3820
  2085
                   is_const=True, is_virtual=True)
craigdo@3820
  2086
    ## socket.h: void ns3::SocketSetDontFragmentTag::Serialize(ns3::TagBuffer i) const [member function]
craigdo@3820
  2087
    cls.add_method('Serialize', 
craigdo@3820
  2088
                   'void', 
craigdo@3820
  2089
                   [param('ns3::TagBuffer', 'i')], 
craigdo@3820
  2090
                   is_const=True, is_virtual=True)
craigdo@3820
  2091
    ## socket.h: void ns3::SocketSetDontFragmentTag::Deserialize(ns3::TagBuffer i) [member function]
craigdo@3820
  2092
    cls.add_method('Deserialize', 
craigdo@3820
  2093
                   'void', 
craigdo@3820
  2094
                   [param('ns3::TagBuffer', 'i')], 
craigdo@3820
  2095
                   is_virtual=True)
craigdo@3820
  2096
    ## socket.h: void ns3::SocketSetDontFragmentTag::Print(std::ostream & os) const [member function]
craigdo@3820
  2097
    cls.add_method('Print', 
craigdo@3820
  2098
                   'void', 
craigdo@3820
  2099
                   [param('std::ostream &', 'os')], 
craigdo@3820
  2100
                   is_const=True, is_virtual=True)
craigdo@3820
  2101
    return
craigdo@3820
  2102
gjc@3408
  2103
def register_Ns3TcpSocket_methods(root_module, cls):
mathieu@4241
  2104
    ## tcp-socket.h: ns3::TcpSocket::TcpSocket(ns3::TcpSocket const & arg0) [copy constructor]
mathieu@4241
  2105
    cls.add_constructor([param('ns3::TcpSocket const &', 'arg0')])
gjc@3408
  2106
    ## tcp-socket.h: static ns3::TypeId ns3::TcpSocket::GetTypeId() [member function]
gjc@3468
  2107
    cls.add_method('GetTypeId', 
gjc@3468
  2108
                   'ns3::TypeId', 
gjc@3468
  2109
                   [], 
gjc@3468
  2110
                   is_static=True)
gjc@3408
  2111
    ## tcp-socket.h: ns3::TcpSocket::TcpSocket() [constructor]
gjc@3468
  2112
    cls.add_constructor([])
gjc@3408
  2113
    ## tcp-socket.h: void ns3::TcpSocket::SetSndBufSize(uint32_t size) [member function]
gjc@3468
  2114
    cls.add_method('SetSndBufSize', 
gjc@3468
  2115
                   'void', 
gjc@3468
  2116
                   [param('uint32_t', 'size')], 
gjc@3468
  2117
                   is_pure_virtual=True, visibility='private', is_virtual=True)
gjc@3408
  2118
    ## tcp-socket.h: uint32_t ns3::TcpSocket::GetSndBufSize() const [member function]
gjc@3468
  2119
    cls.add_method('GetSndBufSize', 
gjc@3468
  2120
                   'uint32_t', 
gjc@3468
  2121
                   [], 
gjc@3468
  2122
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
gjc@3408
  2123
    ## tcp-socket.h: void ns3::TcpSocket::SetRcvBufSize(uint32_t size) [member function]
gjc@3468
  2124
    cls.add_method('SetRcvBufSize', 
gjc@3468
  2125
                   'void', 
gjc@3468
  2126
                   [param('uint32_t', 'size')], 
gjc@3468
  2127
                   is_pure_virtual=True, visibility='private', is_virtual=True)
gjc@3408
  2128
    ## tcp-socket.h: uint32_t ns3::TcpSocket::GetRcvBufSize() const [member function]
gjc@3468
  2129
    cls.add_method('GetRcvBufSize', 
gjc@3468
  2130
                   'uint32_t', 
gjc@3468
  2131
                   [], 
gjc@3468
  2132
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
gjc@3408
  2133
    ## tcp-socket.h: void ns3::TcpSocket::SetSegSize(uint32_t size) [member function]
gjc@3468
  2134
    cls.add_method('SetSegSize', 
gjc@3468
  2135
                   'void', 
gjc@3468
  2136
                   [param('uint32_t', 'size')], 
gjc@3468
  2137
                   is_pure_virtual=True, visibility='private', is_virtual=True)
gjc@3408
  2138
    ## tcp-socket.h: uint32_t ns3::TcpSocket::GetSegSize() const [member function]
gjc@3468
  2139
    cls.add_method('GetSegSize', 
gjc@3468
  2140
                   'uint32_t', 
gjc@3468
  2141
                   [], 
gjc@3468
  2142
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
gjc@3408
  2143
    ## tcp-socket.h: void ns3::TcpSocket::SetSSThresh(uint32_t threshold) [member function]
gjc@3468
  2144
    cls.add_method('SetSSThresh', 
gjc@3468
  2145
                   'void', 
gjc@3468
  2146
                   [param('uint32_t', 'threshold')], 
gjc@3468
  2147
                   is_pure_virtual=True, visibility='private', is_virtual=True)
gjc@3408
  2148
    ## tcp-socket.h: uint32_t ns3::TcpSocket::GetSSThresh() const [member function]
gjc@3468
  2149
    cls.add_method('GetSSThresh', 
gjc@3468
  2150
                   'uint32_t', 
gjc@3468
  2151
                   [], 
gjc@3468
  2152
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
gjc@3408
  2153
    ## tcp-socket.h: void ns3::TcpSocket::SetInitialCwnd(uint32_t count) [member function]
gjc@3468
  2154
    cls.add_method('SetInitialCwnd', 
gjc@3468
  2155
                   'void', 
gjc@3468
  2156
                   [param('uint32_t', 'count')], 
gjc@3468
  2157
                   is_pure_virtual=True, visibility='private', is_virtual=True)
gjc@3408
  2158
    ## tcp-socket.h: uint32_t ns3::TcpSocket::GetInitialCwnd() const [member function]
gjc@3468
  2159
    cls.add_method('GetInitialCwnd', 
gjc@3468
  2160
                   'uint32_t', 
gjc@3468
  2161
                   [], 
gjc@3468
  2162
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
gjc@3408
  2163
    ## tcp-socket.h: void ns3::TcpSocket::SetConnTimeout(ns3::Time timeout) [member function]
gjc@3468
  2164
    cls.add_method('SetConnTimeout', 
gjc@3468
  2165
                   'void', 
gjc@3468
  2166
                   [param('ns3::Time', 'timeout')], 
gjc@3468
  2167
                   is_pure_virtual=True, visibility='private', is_virtual=True)
gjc@3408
  2168
    ## tcp-socket.h: ns3::Time ns3::TcpSocket::GetConnTimeout() const [member function]
gjc@3468
  2169
    cls.add_method('GetConnTimeout', 
gjc@3468
  2170
                   'ns3::Time', 
gjc@3468
  2171
                   [], 
gjc@3468
  2172
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
gjc@3408
  2173
    ## tcp-socket.h: void ns3::TcpSocket::SetConnCount(uint32_t count) [member function]
gjc@3468
  2174
    cls.add_method('SetConnCount', 
gjc@3468
  2175
                   'void', 
gjc@3468
  2176
                   [param('uint32_t', 'count')], 
gjc@3468
  2177
                   is_pure_virtual=True, visibility='private', is_virtual=True)
gjc@3408
  2178
    ## tcp-socket.h: uint32_t ns3::TcpSocket::GetConnCount() const [member function]
gjc@3468
  2179
    cls.add_method('GetConnCount', 
gjc@3468
  2180
                   'uint32_t', 
gjc@3468
  2181
                   [], 
gjc@3468
  2182
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
gjc@3408
  2183
    ## tcp-socket.h: void ns3::TcpSocket::SetDelAckTimeout(ns3::Time timeout) [member function]
gjc@3468
  2184
    cls.add_method('SetDelAckTimeout', 
gjc@3468
  2185
                   'void', 
gjc@3468
  2186
                   [param('ns3::Time', 'timeout')], 
gjc@3468
  2187
                   is_pure_virtual=True, visibility='private', is_virtual=True)
gjc@3408
  2188
    ## tcp-socket.h: ns3::Time ns3::TcpSocket::GetDelAckTimeout() const [member function]
gjc@3468
  2189
    cls.add_method('GetDelAckTimeout', 
gjc@3468
  2190
                   'ns3::Time', 
gjc@3468
  2191
                   [], 
gjc@3468
  2192
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
gjc@3408
  2193
    ## tcp-socket.h: void ns3::TcpSocket::SetDelAckMaxCount(uint32_t count) [member function]
gjc@3468
  2194
    cls.add_method('SetDelAckMaxCount', 
gjc@3468
  2195
                   'void', 
gjc@3468
  2196
                   [param('uint32_t', 'count')], 
gjc@3468
  2197
                   is_pure_virtual=True, visibility='private', is_virtual=True)
gjc@3408
  2198
    ## tcp-socket.h: uint32_t ns3::TcpSocket::GetDelAckMaxCount() const [member function]
gjc@3468
  2199
    cls.add_method('GetDelAckMaxCount', 
gjc@3468
  2200
                   'uint32_t', 
gjc@3468
  2201
                   [], 
gjc@3468
  2202
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
gjc@3408
  2203
    return
gjc@3408
  2204
gjc@3731
  2205
def register_Ns3TcpSocketFactory_methods(root_module, cls):
mathieu@4241
  2206
    ## tcp-socket-factory.h: ns3::TcpSocketFactory::TcpSocketFactory(ns3::TcpSocketFactory const & arg0) [copy constructor]
mathieu@4241
  2207
    cls.add_constructor([param('ns3::TcpSocketFactory const &', 'arg0')])
mathieu@4241
  2208
    ## tcp-socket-factory.h: ns3::TcpSocketFactory::TcpSocketFactory() [constructor]
mathieu@4241
  2209
    cls.add_constructor([])
gjc@3731
  2210
    ## tcp-socket-factory.h: static ns3::TypeId ns3::TcpSocketFactory::GetTypeId() [member function]
gjc@3731
  2211
    cls.add_method('GetTypeId', 
gjc@3731
  2212
                   'ns3::TypeId', 
gjc@3731
  2213
                   [], 
gjc@3731
  2214
                   is_static=True)
gjc@3731
  2215
    return
gjc@3731
  2216
gjc@3731
  2217
def register_Ns3UdpSocket_methods(root_module, cls):
mathieu@4241
  2218
    ## udp-socket.h: ns3::UdpSocket::UdpSocket(ns3::UdpSocket const & arg0) [copy constructor]
mathieu@4241
  2219
    cls.add_constructor([param('ns3::UdpSocket const &', 'arg0')])
gjc@3731
  2220
    ## udp-socket.h: static ns3::TypeId ns3::UdpSocket::GetTypeId() [member function]
gjc@3731
  2221
    cls.add_method('GetTypeId', 
gjc@3731
  2222
                   'ns3::TypeId', 
gjc@3731
  2223
                   [], 
gjc@3731
  2224
                   is_static=True)
gjc@3731
  2225
    ## udp-socket.h: ns3::UdpSocket::UdpSocket() [constructor]
gjc@3731
  2226
    cls.add_constructor([])
gjc@3731
  2227
    ## udp-socket.h: void ns3::UdpSocket::SetRcvBufSize(uint32_t size) [member function]
gjc@3731
  2228
    cls.add_method('SetRcvBufSize', 
gjc@3731
  2229
                   'void', 
gjc@3731
  2230
                   [param('uint32_t', 'size')], 
gjc@3731
  2231
                   is_pure_virtual=True, visibility='private', is_virtual=True)
gjc@3731
  2232
    ## udp-socket.h: uint32_t ns3::UdpSocket::GetRcvBufSize() const [member function]
gjc@3731
  2233
    cls.add_method('GetRcvBufSize', 
gjc@3731
  2234
                   'uint32_t', 
gjc@3731
  2235
                   [], 
gjc@3731
  2236
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
gjc@3731
  2237
    ## udp-socket.h: void ns3::UdpSocket::SetIpTtl(uint32_t ipTtl) [member function]
gjc@3731
  2238
    cls.add_method('SetIpTtl', 
gjc@3731
  2239
                   'void', 
gjc@3731
  2240
                   [param('uint32_t', 'ipTtl')],