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