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