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