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