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