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