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