bindings/python/ns3_module_node.py
author Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
Mon, 14 Jul 2008 11:42:49 +0100
changeset 3457 2ff6f05b9467
parent 3416 926ccb845111
child 3460 99698bc858e8
permissions -rw-r--r--
Rescan API
gjc@3408
     1
from pybindgen import Module, FileCodeSink, write_preamble, param, retval
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@3457
    76
    ## address.h: ns3::AddressValue [class]
gjc@3457
    77
    module.add_class('AddressValue', parent=root_module['ns3::AttributeValue'])
gjc@3457
    78
    ## node.h: ns3::Node [class]
gjc@3457
    79
    module.add_class('Node', parent=root_module['ns3::Object'])
gjc@3457
    80
    ## tcp-socket.h: ns3::TcpSocket [class]
gjc@3457
    81
    module.add_class('TcpSocket', parent=root_module['ns3::Socket'])
gjc@3408
    82
    ## channel.h: ns3::Channel [class]
gjc@3457
    83
    module.add_class('Channel', parent=root_module['ns3::Object'])
gjc@3408
    84
    ## ethernet-header.h: ns3::EthernetHeader [class]
gjc@3457
    85
    module.add_class('EthernetHeader', parent=root_module['ns3::Header'])
gjc@3408
    86
    ## socket.h: ns3::SocketIpTtlTag [class]
gjc@3457
    87
    module.add_class('SocketIpTtlTag', parent=root_module['ns3::Tag'])
gjc@3408
    88
    ## ipv4.h: ns3::Ipv4 [class]
gjc@3457
    89
    module.add_class('Ipv4', parent=root_module['ns3::Object'])
gjc@3408
    90
    ## socket-factory.h: ns3::SocketFactory [class]
gjc@3457
    91
    module.add_class('SocketFactory', parent=root_module['ns3::Object'])
gjc@3408
    92
    ## drop-tail-queue.h: ns3::DropTailQueue [class]
gjc@3457
    93
    module.add_class('DropTailQueue', parent=root_module['ns3::Queue'])
gjc@3408
    94
    ## ethernet-trailer.h: ns3::EthernetTrailer [class]
gjc@3457
    95
    module.add_class('EthernetTrailer', parent=root_module['ns3::Trailer'])
gjc@3408
    96
    ## llc-snap-header.h: ns3::LlcSnapHeader [class]
gjc@3457
    97
    module.add_class('LlcSnapHeader', parent=root_module['ns3::Header'])
gjc@3408
    98
    ## udp-socket-factory.h: ns3::UdpSocketFactory [class]
gjc@3416
    99
    module.add_class('UdpSocketFactory', parent=root_module['ns3::SocketFactory'])
gjc@3408
   100
    ## simple-net-device.h: ns3::SimpleNetDevice [class]
gjc@3457
   101
    module.add_class('SimpleNetDevice', parent=root_module['ns3::NetDevice'])
gjc@3457
   102
    ## simple-channel.h: ns3::SimpleChannel [class]
gjc@3457
   103
    module.add_class('SimpleChannel', parent=root_module['ns3::Channel'])
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@3408
   176
    register_Ns3AddressValue_methods(root_module, root_module['ns3::AddressValue'])
gjc@3408
   177
    register_Ns3Node_methods(root_module, root_module['ns3::Node'])
gjc@3408
   178
    register_Ns3TcpSocket_methods(root_module, root_module['ns3::TcpSocket'])
gjc@3457
   179
    register_Ns3Channel_methods(root_module, root_module['ns3::Channel'])
gjc@3408
   180
    register_Ns3EthernetHeader_methods(root_module, root_module['ns3::EthernetHeader'])
gjc@3408
   181
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
gjc@3408
   182
    register_Ns3Ipv4_methods(root_module, root_module['ns3::Ipv4'])
gjc@3408
   183
    register_Ns3SocketFactory_methods(root_module, root_module['ns3::SocketFactory'])
gjc@3408
   184
    register_Ns3DropTailQueue_methods(root_module, root_module['ns3::DropTailQueue'])
gjc@3408
   185
    register_Ns3EthernetTrailer_methods(root_module, root_module['ns3::EthernetTrailer'])
gjc@3408
   186
    register_Ns3LlcSnapHeader_methods(root_module, root_module['ns3::LlcSnapHeader'])
gjc@3408
   187
    register_Ns3UdpSocketFactory_methods(root_module, root_module['ns3::UdpSocketFactory'])
gjc@3408
   188
    register_Ns3SimpleNetDevice_methods(root_module, root_module['ns3::SimpleNetDevice'])
gjc@3457
   189
    register_Ns3SimpleChannel_methods(root_module, root_module['ns3::SimpleChannel'])
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@3408
   196
    cls.add_method('Add', 'uint32_t', [param('ns3::Ptr< ns3::Node >', 'node')], is_static=True)
gjc@3408
   197
    ## 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@3408
   198
    cls.add_method('Begin', '__gnu_cxx::__normal_iterator< const ns3::Ptr< ns3::Node >, std::vector< ns3::Ptr< ns3::Node >, std::allocator< ns3::Ptr< ns3::Node > > > >', [], is_static=True)
gjc@3408
   199
    ## 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@3408
   200
    cls.add_method('End', '__gnu_cxx::__normal_iterator< const ns3::Ptr< ns3::Node >, std::vector< ns3::Ptr< ns3::Node >, std::allocator< ns3::Ptr< ns3::Node > > > >', [], is_static=True)
gjc@3408
   201
    ## node-list.h: static ns3::Ptr<ns3::Node> ns3::NodeList::GetNode(uint32_t n) [member function]
gjc@3408
   202
    cls.add_method('GetNode', 'ns3::Ptr< ns3::Node >', [param('uint32_t', 'n')], is_static=True)
gjc@3408
   203
    ## node-list.h: static uint32_t ns3::NodeList::GetNNodes() [member function]
gjc@3408
   204
    cls.add_method('GetNNodes', 'uint32_t', [], is_static=True)
gjc@3408
   205
    cls.add_constructor([])
gjc@3408
   206
    return
gjc@3408
   207
gjc@3408
   208
def register_Ns3Address_methods(root_module, cls):
gjc@3408
   209
    ## address.h: ns3::Address::Address() [constructor]
gjc@3408
   210
    cls.add_constructor([], visibility='public')
gjc@3408
   211
    ## address.h: ns3::Address::Address(uint8_t type, uint8_t const * buffer, uint8_t len) [constructor]
gjc@3408
   212
    cls.add_constructor([param('uint8_t', 'type'), param('uint8_t *', 'buffer', transfer_ownership=False, is_const=True), param('uint8_t', 'len')], visibility='public')
gjc@3408
   213
    ## address.h: ns3::Address::Address(ns3::Address const & address) [copy constructor]
gjc@3408
   214
    cls.add_constructor([param('ns3::Address&', 'address', is_const=True)], visibility='public')
gjc@3408
   215
    ## address.h: bool ns3::Address::CheckCompatible(uint8_t type, uint8_t len) const [member function]
gjc@3408
   216
    cls.add_method('CheckCompatible', 'bool', [param('uint8_t', 'type'), param('uint8_t', 'len')], is_const=True)
gjc@3408
   217
    ## address.h: uint32_t ns3::Address::CopyAllFrom(uint8_t const * buffer, uint8_t len) [member function]
gjc@3408
   218
    cls.add_method('CopyAllFrom', 'uint32_t', [param('uint8_t *', 'buffer', transfer_ownership=False, is_const=True), param('uint8_t', 'len')])
gjc@3408
   219
    ## address.h: uint32_t ns3::Address::CopyAllTo(uint8_t * buffer, uint8_t len) const [member function]
gjc@3408
   220
    cls.add_method('CopyAllTo', 'uint32_t', [param('uint8_t *', 'buffer'), param('uint8_t', 'len')], is_const=True)
gjc@3408
   221
    ## address.h: uint32_t ns3::Address::CopyFrom(uint8_t const * buffer, uint8_t len) [member function]
gjc@3408
   222
    cls.add_method('CopyFrom', 'uint32_t', [param('uint8_t *', 'buffer', transfer_ownership=False, is_const=True), param('uint8_t', 'len')])
gjc@3408
   223
    ## address.h: uint32_t ns3::Address::CopyTo(uint8_t * buffer) const [member function]
gjc@3408
   224
    cls.add_method('CopyTo', 'uint32_t', [param('uint8_t *', 'buffer')], is_const=True)
gjc@3408
   225
    ## address.h: void ns3::Address::Deserialize(ns3::TagBuffer buffer) [member function]
gjc@3408
   226
    cls.add_method('Deserialize', 'void', [param('ns3::TagBuffer', 'buffer')])
gjc@3408
   227
    ## address.h: uint8_t ns3::Address::GetLength() const [member function]
gjc@3408
   228
    cls.add_method('GetLength', 'uint8_t', [], is_const=True)
gjc@3408
   229
    ## address.h: uint32_t ns3::Address::GetSerializedSize() const [member function]
gjc@3408
   230
    cls.add_method('GetSerializedSize', 'uint32_t', [], is_const=True)
gjc@3408
   231
    ## address.h: bool ns3::Address::IsInvalid() const [member function]
gjc@3408
   232
    cls.add_method('IsInvalid', 'bool', [], is_const=True)
gjc@3408
   233
    ## address.h: bool ns3::Address::IsMatchingType(uint8_t type) const [member function]
gjc@3408
   234
    cls.add_method('IsMatchingType', 'bool', [param('uint8_t', 'type')], is_const=True)
gjc@3408
   235
    ## address.h: static uint8_t ns3::Address::Register() [member function]
gjc@3408
   236
    cls.add_method('Register', 'uint8_t', [], is_static=True)
gjc@3408
   237
    ## address.h: void ns3::Address::Serialize(ns3::TagBuffer buffer) const [member function]
gjc@3408
   238
    cls.add_method('Serialize', 'void', [param('ns3::TagBuffer', 'buffer')], is_const=True)
gjc@3408
   239
    cls.add_output_stream_operator()
gjc@3408
   240
    return
gjc@3408
   241
gjc@3408
   242
def register_Ns3Ipv4AddressChecker_methods(root_module, cls):
gjc@3408
   243
    cls.add_constructor([])
gjc@3408
   244
    return
gjc@3408
   245
gjc@3408
   246
def register_Ns3Mac48Address_methods(root_module, cls):
gjc@3408
   247
    ## mac48-address.h: ns3::Mac48Address::Mac48Address(ns3::Mac48Address const & arg0) [copy constructor]
gjc@3408
   248
    cls.add_constructor([param('ns3::Mac48Address&', 'arg0', is_const=True)], visibility='public')
gjc@3408
   249
    ## mac48-address.h: ns3::Mac48Address::Mac48Address() [constructor]
gjc@3408
   250
    cls.add_constructor([], visibility='public')
gjc@3408
   251
    ## mac48-address.h: ns3::Mac48Address::Mac48Address(char const * str) [constructor]
gjc@3408
   252
    cls.add_constructor([param('char *', 'str', transfer_ownership=False, is_const=True)], visibility='public')
gjc@3408
   253
    ## mac48-address.h: static ns3::Mac48Address ns3::Mac48Address::Allocate() [member function]
gjc@3408
   254
    cls.add_method('Allocate', 'ns3::Mac48Address', [], is_static=True)
gjc@3408
   255
    ## mac48-address.h: static ns3::Mac48Address ns3::Mac48Address::ConvertFrom(ns3::Address const & address) [member function]
gjc@3408
   256
    cls.add_method('ConvertFrom', 'ns3::Mac48Address', [param('ns3::Address&', 'address', is_const=True)], is_static=True)
gjc@3408
   257
    ## mac48-address.h: void ns3::Mac48Address::CopyFrom(uint8_t const * buffer) [member function]
gjc@3408
   258
    cls.add_method('CopyFrom', 'void', [param('uint8_t *', 'buffer', transfer_ownership=False, is_const=True)])
gjc@3408
   259
    ## mac48-address.h: void ns3::Mac48Address::CopyTo(uint8_t * buffer) const [member function]
gjc@3408
   260
    cls.add_method('CopyTo', 'void', [param('uint8_t *', 'buffer')], is_const=True)
gjc@3408
   261
    ## mac48-address.h: static ns3::Mac48Address ns3::Mac48Address::GetBroadcast() [member function]
gjc@3408
   262
    cls.add_method('GetBroadcast', 'ns3::Mac48Address', [], is_static=True)
gjc@3408
   263
    ## mac48-address.h: bool ns3::Mac48Address::IsBroadcast() const [member function]
gjc@3408
   264
    cls.add_method('IsBroadcast', 'bool', [], is_const=True)
gjc@3408
   265
    ## mac48-address.h: static bool ns3::Mac48Address::IsMatchingType(ns3::Address const & address) [member function]
gjc@3408
   266
    cls.add_method('IsMatchingType', 'bool', [param('ns3::Address&', 'address', is_const=True)], is_static=True)
gjc@3408
   267
    ## mac48-address.h: bool ns3::Mac48Address::IsMulticast() const [member function]
gjc@3408
   268
    cls.add_method('IsMulticast', 'bool', [], is_const=True)
gjc@3408
   269
    cls.add_output_stream_operator()
gjc@3408
   270
    return
gjc@3408
   271
gjc@3408
   272
def register_Ns3Mac64Address_methods(root_module, cls):
gjc@3408
   273
    ## mac64-address.h: ns3::Mac64Address::Mac64Address(ns3::Mac64Address const & arg0) [copy constructor]
gjc@3408
   274
    cls.add_constructor([param('ns3::Mac64Address&', 'arg0', is_const=True)], visibility='public')
gjc@3408
   275
    ## mac64-address.h: ns3::Mac64Address::Mac64Address() [constructor]
gjc@3408
   276
    cls.add_constructor([], visibility='public')
gjc@3408
   277
    ## mac64-address.h: ns3::Mac64Address::Mac64Address(char const * str) [constructor]
gjc@3408
   278
    cls.add_constructor([param('char *', 'str', transfer_ownership=False, is_const=True)], visibility='public')
gjc@3408
   279
    ## mac64-address.h: static ns3::Mac64Address ns3::Mac64Address::Allocate() [member function]
gjc@3408
   280
    cls.add_method('Allocate', 'ns3::Mac64Address', [], is_static=True)
gjc@3408
   281
    ## mac64-address.h: static ns3::Mac64Address ns3::Mac64Address::ConvertFrom(ns3::Address const & address) [member function]
gjc@3408
   282
    cls.add_method('ConvertFrom', 'ns3::Mac64Address', [param('ns3::Address&', 'address', is_const=True)], is_static=True)
gjc@3408
   283
    ## mac64-address.h: void ns3::Mac64Address::CopyFrom(uint8_t const * buffer) [member function]
gjc@3408
   284
    cls.add_method('CopyFrom', 'void', [param('uint8_t *', 'buffer', transfer_ownership=False, is_const=True)])
gjc@3408
   285
    ## mac64-address.h: void ns3::Mac64Address::CopyTo(uint8_t * buffer) const [member function]
gjc@3408
   286
    cls.add_method('CopyTo', 'void', [param('uint8_t *', 'buffer')], is_const=True)
gjc@3408
   287
    ## mac64-address.h: static bool ns3::Mac64Address::IsMatchingType(ns3::Address const & address) [member function]
gjc@3408
   288
    cls.add_method('IsMatchingType', 'bool', [param('ns3::Address&', 'address', is_const=True)], is_static=True)
gjc@3408
   289
    cls.add_output_stream_operator()
gjc@3408
   290
    return
gjc@3408
   291
gjc@3408
   292
def register_Ns3Ipv4AddressGenerator_methods(root_module, cls):
gjc@3408
   293
    ## 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@3408
   294
    cls.add_method('Init', 'void', [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)], is_static=True)
gjc@3408
   295
    ## ipv4-address-generator.h: static ns3::Ipv4Address ns3::Ipv4AddressGenerator::NextNetwork(ns3::Ipv4Mask const mask) [member function]
gjc@3408
   296
    cls.add_method('NextNetwork', 'ns3::Ipv4Address', [param('ns3::Ipv4Mask', 'mask', is_const=True)], is_static=True)
gjc@3408
   297
    ## ipv4-address-generator.h: static ns3::Ipv4Address ns3::Ipv4AddressGenerator::GetNetwork(ns3::Ipv4Mask const mask) [member function]
gjc@3408
   298
    cls.add_method('GetNetwork', 'ns3::Ipv4Address', [param('ns3::Ipv4Mask', 'mask', is_const=True)], is_static=True)
gjc@3408
   299
    ## ipv4-address-generator.h: static void ns3::Ipv4AddressGenerator::InitAddress(ns3::Ipv4Address const addr, ns3::Ipv4Mask const mask) [member function]
gjc@3408
   300
    cls.add_method('InitAddress', 'void', [param('ns3::Ipv4Address', 'addr', is_const=True), param('ns3::Ipv4Mask', 'mask', is_const=True)], is_static=True)
gjc@3408
   301
    ## ipv4-address-generator.h: static ns3::Ipv4Address ns3::Ipv4AddressGenerator::NextAddress(ns3::Ipv4Mask const mask) [member function]
gjc@3408
   302
    cls.add_method('NextAddress', 'ns3::Ipv4Address', [param('ns3::Ipv4Mask', 'mask', is_const=True)], is_static=True)
gjc@3408
   303
    ## ipv4-address-generator.h: static ns3::Ipv4Address ns3::Ipv4AddressGenerator::GetAddress(ns3::Ipv4Mask const mask) [member function]
gjc@3408
   304
    cls.add_method('GetAddress', 'ns3::Ipv4Address', [param('ns3::Ipv4Mask', 'mask', is_const=True)], is_static=True)
gjc@3408
   305
    ## ipv4-address-generator.h: static void ns3::Ipv4AddressGenerator::Reset() [member function]
gjc@3408
   306
    cls.add_method('Reset', 'void', [], is_static=True)
gjc@3408
   307
    ## ipv4-address-generator.h: static bool ns3::Ipv4AddressGenerator::AddAllocated(ns3::Ipv4Address const addr) [member function]
gjc@3408
   308
    cls.add_method('AddAllocated', 'bool', [param('ns3::Ipv4Address', 'addr', is_const=True)], is_static=True)
gjc@3408
   309
    ## ipv4-address-generator.h: static void ns3::Ipv4AddressGenerator::TestMode() [member function]
gjc@3408
   310
    cls.add_method('TestMode', 'void', [], is_static=True)
gjc@3408
   311
    cls.add_constructor([])
gjc@3408
   312
    return
gjc@3408
   313
gjc@3408
   314
def register_Ns3Mac48AddressChecker_methods(root_module, cls):
gjc@3408
   315
    cls.add_constructor([])
gjc@3408
   316
    return
gjc@3408
   317
gjc@3408
   318
def register_Ns3Ipv4MaskChecker_methods(root_module, cls):
gjc@3408
   319
    cls.add_constructor([])
gjc@3408
   320
    return
gjc@3408
   321
gjc@3408
   322
def register_Ns3Ipv4Route_methods(root_module, cls):
gjc@3408
   323
    ## ipv4-route.h: ns3::Ipv4Route::Ipv4Route() [constructor]
gjc@3408
   324
    cls.add_constructor([], visibility='public')
gjc@3408
   325
    ## ipv4-route.h: ns3::Ipv4Route::Ipv4Route(ns3::Ipv4Route const & route) [copy constructor]
gjc@3408
   326
    cls.add_constructor([param('ns3::Ipv4Route&', 'route', is_const=True)], visibility='public')
gjc@3408
   327
    ## ipv4-route.h: ns3::Ipv4Route::Ipv4Route(ns3::Ipv4Route const * route) [constructor]
gjc@3408
   328
    cls.add_constructor([param('ns3::Ipv4Route *', 'route', transfer_ownership=False, is_const=True)], visibility='public')
gjc@3408
   329
    ## ipv4-route.h: static ns3::Ipv4Route ns3::Ipv4Route::CreateDefaultRoute(ns3::Ipv4Address nextHop, uint32_t interface) [member function]
gjc@3408
   330
    cls.add_method('CreateDefaultRoute', 'ns3::Ipv4Route', [param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')], is_static=True)
gjc@3408
   331
    ## ipv4-route.h: static ns3::Ipv4Route ns3::Ipv4Route::CreateHostRouteTo(ns3::Ipv4Address dest, ns3::Ipv4Address nextHop, uint32_t interface) [member function]
gjc@3408
   332
    cls.add_method('CreateHostRouteTo', 'ns3::Ipv4Route', [param('ns3::Ipv4Address', 'dest'), param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')], is_static=True)
gjc@3408
   333
    ## ipv4-route.h: static ns3::Ipv4Route ns3::Ipv4Route::CreateHostRouteTo(ns3::Ipv4Address dest, uint32_t interface) [member function]
gjc@3408
   334
    cls.add_method('CreateHostRouteTo', 'ns3::Ipv4Route', [param('ns3::Ipv4Address', 'dest'), param('uint32_t', 'interface')], is_static=True)
gjc@3408
   335
    ## ipv4-route.h: static ns3::Ipv4Route ns3::Ipv4Route::CreateNetworkRouteTo(ns3::Ipv4Address network, ns3::Ipv4Mask networkMask, ns3::Ipv4Address nextHop, uint32_t interface) [member function]
gjc@3408
   336
    cls.add_method('CreateNetworkRouteTo', 'ns3::Ipv4Route', [param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'networkMask'), param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')], is_static=True)
gjc@3408
   337
    ## ipv4-route.h: static ns3::Ipv4Route ns3::Ipv4Route::CreateNetworkRouteTo(ns3::Ipv4Address network, ns3::Ipv4Mask networkMask, uint32_t interface) [member function]
gjc@3408
   338
    cls.add_method('CreateNetworkRouteTo', 'ns3::Ipv4Route', [param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'networkMask'), param('uint32_t', 'interface')], is_static=True)
gjc@3408
   339
    ## ipv4-route.h: ns3::Ipv4Address ns3::Ipv4Route::GetDest() const [member function]
gjc@3408
   340
    cls.add_method('GetDest', 'ns3::Ipv4Address', [], is_const=True)
gjc@3408
   341
    ## ipv4-route.h: ns3::Ipv4Address ns3::Ipv4Route::GetDestNetwork() const [member function]
gjc@3408
   342
    cls.add_method('GetDestNetwork', 'ns3::Ipv4Address', [], is_const=True)
gjc@3408
   343
    ## ipv4-route.h: ns3::Ipv4Mask ns3::Ipv4Route::GetDestNetworkMask() const [member function]
gjc@3408
   344
    cls.add_method('GetDestNetworkMask', 'ns3::Ipv4Mask', [], is_const=True)
gjc@3408
   345
    ## ipv4-route.h: ns3::Ipv4Address ns3::Ipv4Route::GetGateway() const [member function]
gjc@3408
   346
    cls.add_method('GetGateway', 'ns3::Ipv4Address', [], is_const=True)
gjc@3408
   347
    ## ipv4-route.h: uint32_t ns3::Ipv4Route::GetInterface() const [member function]
gjc@3408
   348
    cls.add_method('GetInterface', 'uint32_t', [], is_const=True)
gjc@3408
   349
    ## ipv4-route.h: bool ns3::Ipv4Route::IsDefault() const [member function]
gjc@3408
   350
    cls.add_method('IsDefault', 'bool', [], is_const=True)
gjc@3408
   351
    ## ipv4-route.h: bool ns3::Ipv4Route::IsGateway() const [member function]
gjc@3408
   352
    cls.add_method('IsGateway', 'bool', [], is_const=True)
gjc@3408
   353
    ## ipv4-route.h: bool ns3::Ipv4Route::IsHost() const [member function]
gjc@3408
   354
    cls.add_method('IsHost', 'bool', [], is_const=True)
gjc@3408
   355
    ## ipv4-route.h: bool ns3::Ipv4Route::IsNetwork() const [member function]
gjc@3408
   356
    cls.add_method('IsNetwork', 'bool', [], is_const=True)
gjc@3408
   357
    cls.add_output_stream_operator()
gjc@3408
   358
    return
gjc@3408
   359
gjc@3408
   360
def register_Ns3Ipv4MulticastRoute_methods(root_module, cls):
gjc@3408
   361
    ## ipv4-route.h: ns3::Ipv4MulticastRoute::Ipv4MulticastRoute() [constructor]
gjc@3408
   362
    cls.add_constructor([], visibility='public')
gjc@3408
   363
    ## ipv4-route.h: ns3::Ipv4MulticastRoute::Ipv4MulticastRoute(ns3::Ipv4MulticastRoute const & route) [copy constructor]
gjc@3408
   364
    cls.add_constructor([param('ns3::Ipv4MulticastRoute&', 'route', is_const=True)], visibility='public')
gjc@3408
   365
    ## ipv4-route.h: ns3::Ipv4MulticastRoute::Ipv4MulticastRoute(ns3::Ipv4MulticastRoute const * route) [constructor]
gjc@3408
   366
    cls.add_constructor([param('ns3::Ipv4MulticastRoute *', 'route', transfer_ownership=False, is_const=True)], visibility='public')
gjc@3408
   367
    ## 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@3408
   368
    cls.add_method('CreateMulticastRoute', 'ns3::Ipv4MulticastRoute', [param('ns3::Ipv4Address', 'origin'), param('ns3::Ipv4Address', 'group'), param('uint32_t', 'inputInterface'), param('std::vector< unsigned int, std::allocator< unsigned int > >', 'outputInterfaces')], is_static=True)
gjc@3408
   369
    ## ipv4-route.h: ns3::Ipv4Address ns3::Ipv4MulticastRoute::GetGroup() const [member function]
gjc@3408
   370
    cls.add_method('GetGroup', 'ns3::Ipv4Address', [], is_const=True)
gjc@3408
   371
    ## ipv4-route.h: uint32_t ns3::Ipv4MulticastRoute::GetInputInterface() const [member function]
gjc@3408
   372
    cls.add_method('GetInputInterface', 'uint32_t', [], is_const=True)
gjc@3408
   373
    ## ipv4-route.h: uint32_t ns3::Ipv4MulticastRoute::GetNOutputInterfaces() const [member function]
gjc@3408
   374
    cls.add_method('GetNOutputInterfaces', 'uint32_t', [], is_const=True)
gjc@3408
   375
    ## ipv4-route.h: ns3::Ipv4Address ns3::Ipv4MulticastRoute::GetOrigin() const [member function]
gjc@3408
   376
    cls.add_method('GetOrigin', 'ns3::Ipv4Address', [], is_const=True)
gjc@3408
   377
    ## ipv4-route.h: uint32_t ns3::Ipv4MulticastRoute::GetOutputInterface(uint32_t n) const [member function]
gjc@3408
   378
    cls.add_method('GetOutputInterface', 'uint32_t', [param('uint32_t', 'n')], is_const=True)
gjc@3408
   379
    ## ipv4-route.h: std::vector<unsigned int, std::allocator<unsigned int> > ns3::Ipv4MulticastRoute::GetOutputInterfaces() const [member function]
gjc@3408
   380
    cls.add_method('GetOutputInterfaces', 'std::vector< unsigned int, std::allocator< unsigned int > >', [], is_const=True)
gjc@3408
   381
    cls.add_output_stream_operator()
gjc@3408
   382
    return
gjc@3408
   383
gjc@3408
   384
def register_Ns3AddressChecker_methods(root_module, cls):
gjc@3408
   385
    cls.add_constructor([])
gjc@3408
   386
    return
gjc@3408
   387
gjc@3408
   388
def register_Ns3PacketSocketAddress_methods(root_module, cls):
gjc@3408
   389
    ## packet-socket-address.h: ns3::PacketSocketAddress::PacketSocketAddress() [constructor]
gjc@3408
   390
    cls.add_constructor([], visibility='public')
gjc@3408
   391
    ## packet-socket-address.h: void ns3::PacketSocketAddress::SetProtocol(uint16_t protocol) [member function]
gjc@3408
   392
    cls.add_method('SetProtocol', 'void', [param('uint16_t', 'protocol')])
gjc@3408
   393
    ## packet-socket-address.h: void ns3::PacketSocketAddress::SetAllDevices() [member function]
gjc@3408
   394
    cls.add_method('SetAllDevices', 'void', [])
gjc@3408
   395
    ## packet-socket-address.h: void ns3::PacketSocketAddress::SetSingleDevice(uint32_t device) [member function]
gjc@3408
   396
    cls.add_method('SetSingleDevice', 'void', [param('uint32_t', 'device')])
gjc@3408
   397
    ## packet-socket-address.h: void ns3::PacketSocketAddress::SetPhysicalAddress(ns3::Address const address) [member function]
gjc@3408
   398
    cls.add_method('SetPhysicalAddress', 'void', [param('ns3::Address', 'address', is_const=True)])
gjc@3408
   399
    ## packet-socket-address.h: uint16_t ns3::PacketSocketAddress::GetProtocol() const [member function]
gjc@3408
   400
    cls.add_method('GetProtocol', 'uint16_t', [], is_const=True)
gjc@3408
   401
    ## packet-socket-address.h: uint32_t ns3::PacketSocketAddress::GetSingleDevice() const [member function]
gjc@3408
   402
    cls.add_method('GetSingleDevice', 'uint32_t', [], is_const=True)
gjc@3408
   403
    ## packet-socket-address.h: bool ns3::PacketSocketAddress::IsSingleDevice() const [member function]
gjc@3408
   404
    cls.add_method('IsSingleDevice', 'bool', [], is_const=True)
gjc@3408
   405
    ## packet-socket-address.h: ns3::Address ns3::PacketSocketAddress::GetPhysicalAddress() const [member function]
gjc@3408
   406
    cls.add_method('GetPhysicalAddress', 'ns3::Address', [], is_const=True)
gjc@3408
   407
    ## packet-socket-address.h: static ns3::PacketSocketAddress ns3::PacketSocketAddress::ConvertFrom(ns3::Address const & address) [member function]
gjc@3408
   408
    cls.add_method('ConvertFrom', 'ns3::PacketSocketAddress', [param('ns3::Address&', 'address', is_const=True)], is_static=True)
gjc@3408
   409
    ## packet-socket-address.h: static bool ns3::PacketSocketAddress::IsMatchingType(ns3::Address const & address) [member function]
gjc@3408
   410
    cls.add_method('IsMatchingType', 'bool', [param('ns3::Address&', 'address', is_const=True)], is_static=True)
gjc@3408
   411
    return
gjc@3408
   412
gjc@3408
   413
def register_Ns3Ipv4Mask_methods(root_module, cls):
gjc@3408
   414
    ## ipv4-address.h: ns3::Ipv4Mask::Ipv4Mask(ns3::Ipv4Mask const & arg0) [copy constructor]
gjc@3408
   415
    cls.add_constructor([param('ns3::Ipv4Mask&', 'arg0', is_const=True)], visibility='public')
gjc@3408
   416
    ## ipv4-address.h: ns3::Ipv4Mask::Ipv4Mask() [constructor]
gjc@3408
   417
    cls.add_constructor([], visibility='public')
gjc@3408
   418
    ## ipv4-address.h: ns3::Ipv4Mask::Ipv4Mask(uint32_t mask) [constructor]
gjc@3408
   419
    cls.add_constructor([param('uint32_t', 'mask')], visibility='public')
gjc@3408
   420
    ## ipv4-address.h: ns3::Ipv4Mask::Ipv4Mask(char const * mask) [constructor]
gjc@3408
   421
    cls.add_constructor([param('char *', 'mask', transfer_ownership=False, is_const=True)], visibility='public')
gjc@3408
   422
    ## ipv4-address.h: uint32_t ns3::Ipv4Mask::Get() const [member function]
gjc@3408
   423
    cls.add_method('Get', 'uint32_t', [], is_const=True)
gjc@3408
   424
    ## ipv4-address.h: uint32_t ns3::Ipv4Mask::GetInverse() const [member function]
gjc@3408
   425
    cls.add_method('GetInverse', 'uint32_t', [], is_const=True)
gjc@3408
   426
    ## ipv4-address.h: static ns3::Ipv4Mask ns3::Ipv4Mask::GetLoopback() [member function]
gjc@3408
   427
    cls.add_method('GetLoopback', 'ns3::Ipv4Mask', [], is_static=True)
gjc@3408
   428
    ## ipv4-address.h: static ns3::Ipv4Mask ns3::Ipv4Mask::GetZero() [member function]
gjc@3408
   429
    cls.add_method('GetZero', 'ns3::Ipv4Mask', [], is_static=True)
gjc@3408
   430
    ## ipv4-address.h: bool ns3::Ipv4Mask::IsEqual(ns3::Ipv4Mask other) const [member function]
gjc@3408
   431
    cls.add_method('IsEqual', 'bool', [param('ns3::Ipv4Mask', 'other')], is_const=True)
gjc@3408
   432
    ## ipv4-address.h: bool ns3::Ipv4Mask::IsMatch(ns3::Ipv4Address a, ns3::Ipv4Address b) const [member function]
gjc@3408
   433
    cls.add_method('IsMatch', 'bool', [param('ns3::Ipv4Address', 'a'), param('ns3::Ipv4Address', 'b')], is_const=True)
gjc@3408
   434
    ## ipv4-address.h: void ns3::Ipv4Mask::Print(std::ostream & os) const [member function]
gjc@3408
   435
    cls.add_method('Print', 'void', [param('std::ostream&', 'os')], is_const=True)
gjc@3408
   436
    ## ipv4-address.h: void ns3::Ipv4Mask::Set(uint32_t mask) [member function]
gjc@3408
   437
    cls.add_method('Set', 'void', [param('uint32_t', 'mask')])
gjc@3408
   438
    cls.add_output_stream_operator()
gjc@3408
   439
    return
gjc@3408
   440
gjc@3408
   441
def register_Ns3Ipv4AddressValue_methods(root_module, cls):
gjc@3408
   442
    ## ipv4-address.h: ns3::Ipv4AddressValue::Ipv4AddressValue() [constructor]
gjc@3408
   443
    cls.add_constructor([], visibility='public')
gjc@3408
   444
    ## ipv4-address.h: ns3::Ipv4AddressValue::Ipv4AddressValue(ns3::Ipv4Address const & value) [constructor]
gjc@3408
   445
    cls.add_constructor([param('ns3::Ipv4Address&', 'value', is_const=True)], visibility='public')
gjc@3408
   446
    ## ipv4-address.h: void ns3::Ipv4AddressValue::Set(ns3::Ipv4Address const & value) [member function]
gjc@3408
   447
    cls.add_method('Set', 'void', [param('ns3::Ipv4Address&', 'value', is_const=True)])
gjc@3408
   448
    ## ipv4-address.h: ns3::Ipv4Address ns3::Ipv4AddressValue::Get() const [member function]
gjc@3408
   449
    cls.add_method('Get', 'ns3::Ipv4Address', [], is_const=True)
gjc@3408
   450
    ## ipv4-address.h: ns3::Ptr<ns3::AttributeValue> ns3::Ipv4AddressValue::Copy() const [member function]
gjc@3408
   451
    cls.add_method('Copy', 'ns3::Ptr< ns3::AttributeValue >', [], is_const=True, is_virtual=True)
gjc@3408
   452
    ## ipv4-address.h: std::string ns3::Ipv4AddressValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
gjc@3408
   453
    cls.add_method('SerializeToString', 'std::string', [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], is_const=True, is_virtual=True)
gjc@3408
   454
    ## ipv4-address.h: bool ns3::Ipv4AddressValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
gjc@3408
   455
    cls.add_method('DeserializeFromString', 'bool', [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], is_virtual=True)
gjc@3408
   456
    return
gjc@3408
   457
gjc@3408
   458
def register_Ns3Ipv4RoutingProtocol_methods(root_module, cls):
gjc@3408
   459
    ## ipv4.h: ns3::Ipv4RoutingProtocol::IF_INDEX_ANY [variable]
gjc@3408
   460
    cls.add_static_attribute('IF_INDEX_ANY', retval('uint32_t', is_const=True), is_const=True)
gjc@3408
   461
    ## 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@3408
   462
    cls.add_method('RequestRoute', 'bool', [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')], is_pure_virtual=True, is_virtual=True)
gjc@3408
   463
    ## ipv4.h: bool ns3::Ipv4RoutingProtocol::RequestIfIndex(ns3::Ipv4Address destination, uint32_t & ifIndex) [member function]
gjc@3408
   464
    cls.add_method('RequestIfIndex', 'bool', [param('ns3::Ipv4Address', 'destination'), param('uint32_t&', 'ifIndex')], is_pure_virtual=True, is_virtual=True)
gjc@3408
   465
    cls.add_constructor([])
gjc@3408
   466
    return
gjc@3408
   467
gjc@3408
   468
def register_Ns3Mac48AddressValue_methods(root_module, cls):
gjc@3408
   469
    ## mac48-address.h: ns3::Mac48AddressValue::Mac48AddressValue() [constructor]
gjc@3408
   470
    cls.add_constructor([], visibility='public')
gjc@3408
   471
    ## mac48-address.h: ns3::Mac48AddressValue::Mac48AddressValue(ns3::Mac48Address const & value) [constructor]
gjc@3408
   472
    cls.add_constructor([param('ns3::Mac48Address&', 'value', is_const=True)], visibility='public')
gjc@3408
   473
    ## mac48-address.h: void ns3::Mac48AddressValue::Set(ns3::Mac48Address const & value) [member function]
gjc@3408
   474
    cls.add_method('Set', 'void', [param('ns3::Mac48Address&', 'value', is_const=True)])
gjc@3408
   475
    ## mac48-address.h: ns3::Mac48Address ns3::Mac48AddressValue::Get() const [member function]
gjc@3408
   476
    cls.add_method('Get', 'ns3::Mac48Address', [], is_const=True)
gjc@3408
   477
    ## mac48-address.h: ns3::Ptr<ns3::AttributeValue> ns3::Mac48AddressValue::Copy() const [member function]
gjc@3408
   478
    cls.add_method('Copy', 'ns3::Ptr< ns3::AttributeValue >', [], is_const=True, is_virtual=True)
gjc@3408
   479
    ## mac48-address.h: std::string ns3::Mac48AddressValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
gjc@3408
   480
    cls.add_method('SerializeToString', 'std::string', [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], is_const=True, is_virtual=True)
gjc@3408
   481
    ## mac48-address.h: bool ns3::Mac48AddressValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
gjc@3408
   482
    cls.add_method('DeserializeFromString', 'bool', [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], is_virtual=True)
gjc@3408
   483
    return
gjc@3408
   484
gjc@3408
   485
def register_Ns3Ipv4MaskValue_methods(root_module, cls):
gjc@3408
   486
    ## ipv4-address.h: ns3::Ipv4MaskValue::Ipv4MaskValue() [constructor]
gjc@3408
   487
    cls.add_constructor([], visibility='public')
gjc@3408
   488
    ## ipv4-address.h: ns3::Ipv4MaskValue::Ipv4MaskValue(ns3::Ipv4Mask const & value) [constructor]
gjc@3408
   489
    cls.add_constructor([param('ns3::Ipv4Mask&', 'value', is_const=True)], visibility='public')
gjc@3408
   490
    ## ipv4-address.h: void ns3::Ipv4MaskValue::Set(ns3::Ipv4Mask const & value) [member function]
gjc@3408
   491
    cls.add_method('Set', 'void', [param('ns3::Ipv4Mask&', 'value', is_const=True)])
gjc@3408
   492
    ## ipv4-address.h: ns3::Ipv4Mask ns3::Ipv4MaskValue::Get() const [member function]
gjc@3408
   493
    cls.add_method('Get', 'ns3::Ipv4Mask', [], is_const=True)
gjc@3408
   494
    ## ipv4-address.h: ns3::Ptr<ns3::AttributeValue> ns3::Ipv4MaskValue::Copy() const [member function]
gjc@3408
   495
    cls.add_method('Copy', 'ns3::Ptr< ns3::AttributeValue >', [], is_const=True, is_virtual=True)
gjc@3408
   496
    ## ipv4-address.h: std::string ns3::Ipv4MaskValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
gjc@3408
   497
    cls.add_method('SerializeToString', 'std::string', [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], is_const=True, is_virtual=True)
gjc@3408
   498
    ## ipv4-address.h: bool ns3::Ipv4MaskValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
gjc@3408
   499
    cls.add_method('DeserializeFromString', 'bool', [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], is_virtual=True)
gjc@3408
   500
    return
gjc@3408
   501
gjc@3408
   502
def register_Ns3SocketAddressTag_methods(root_module, cls):
gjc@3408
   503
    ## socket.h: ns3::SocketAddressTag::SocketAddressTag() [constructor]
gjc@3408
   504
    cls.add_constructor([], visibility='public')
gjc@3408
   505
    ## socket.h: void ns3::SocketAddressTag::SetAddress(ns3::Address addr) [member function]
gjc@3408
   506
    cls.add_method('SetAddress', 'void', [param('ns3::Address', 'addr')])
gjc@3408
   507
    ## socket.h: ns3::Address ns3::SocketAddressTag::GetAddress() const [member function]
gjc@3408
   508
    cls.add_method('GetAddress', 'ns3::Address', [], is_const=True)
gjc@3408
   509
    ## socket.h: static ns3::TypeId ns3::SocketAddressTag::GetTypeId() [member function]
gjc@3408
   510
    cls.add_method('GetTypeId', 'ns3::TypeId', [], is_static=True)
gjc@3408
   511
    ## socket.h: ns3::TypeId ns3::SocketAddressTag::GetInstanceTypeId() const [member function]
gjc@3408
   512
    cls.add_method('GetInstanceTypeId', 'ns3::TypeId', [], is_const=True, is_virtual=True)
gjc@3408
   513
    ## socket.h: uint32_t ns3::SocketAddressTag::GetSerializedSize() const [member function]
gjc@3408
   514
    cls.add_method('GetSerializedSize', 'uint32_t', [], is_const=True, is_virtual=True)
gjc@3408
   515
    ## socket.h: void ns3::SocketAddressTag::Serialize(ns3::TagBuffer i) const [member function]
gjc@3408
   516
    cls.add_method('Serialize', 'void', [param('ns3::TagBuffer', 'i')], is_const=True, is_virtual=True)
gjc@3408
   517
    ## socket.h: void ns3::SocketAddressTag::Deserialize(ns3::TagBuffer i) [member function]
gjc@3408
   518
    cls.add_method('Deserialize', 'void', [param('ns3::TagBuffer', 'i')], is_virtual=True)
gjc@3408
   519
    ## socket.h: void ns3::SocketAddressTag::Print(std::ostream & os) const [member function]
gjc@3408
   520
    cls.add_method('Print', 'void', [param('std::ostream&', 'os')], is_const=True, is_virtual=True)
gjc@3408
   521
    return
gjc@3408
   522
gjc@3408
   523
def register_Ns3InetSocketAddress_methods(root_module, cls):
gjc@3408
   524
    ## inet-socket-address.h: ns3::InetSocketAddress::InetSocketAddress(ns3::Ipv4Address ipv4, uint16_t port) [constructor]
gjc@3408
   525
    cls.add_constructor([param('ns3::Ipv4Address', 'ipv4'), param('uint16_t', 'port')], visibility='public')
gjc@3408
   526
    ## inet-socket-address.h: ns3::InetSocketAddress::InetSocketAddress(ns3::Ipv4Address ipv4) [constructor]
gjc@3408
   527
    cls.add_constructor([param('ns3::Ipv4Address', 'ipv4')], visibility='public')
gjc@3408
   528
    ## inet-socket-address.h: ns3::InetSocketAddress::InetSocketAddress(uint16_t port) [constructor]
gjc@3408
   529
    cls.add_constructor([param('uint16_t', 'port')], visibility='public')
gjc@3408
   530
    ## inet-socket-address.h: ns3::InetSocketAddress::InetSocketAddress(char const * ipv4, uint16_t port) [constructor]
gjc@3408
   531
    cls.add_constructor([param('char *', 'ipv4', transfer_ownership=False, is_const=True), param('uint16_t', 'port')], visibility='public')
gjc@3408
   532
    ## inet-socket-address.h: ns3::InetSocketAddress::InetSocketAddress(char const * ipv4) [constructor]
gjc@3408
   533
    cls.add_constructor([param('char *', 'ipv4', transfer_ownership=False, is_const=True)], visibility='public')
gjc@3408
   534
    ## inet-socket-address.h: uint16_t ns3::InetSocketAddress::GetPort() const [member function]
gjc@3408
   535
    cls.add_method('GetPort', 'uint16_t', [], is_const=True)
gjc@3408
   536
    ## inet-socket-address.h: ns3::Ipv4Address ns3::InetSocketAddress::GetIpv4() const [member function]
gjc@3408
   537
    cls.add_method('GetIpv4', 'ns3::Ipv4Address', [], is_const=True)
gjc@3408
   538
    ## inet-socket-address.h: void ns3::InetSocketAddress::SetPort(uint16_t port) [member function]
gjc@3408
   539
    cls.add_method('SetPort', 'void', [param('uint16_t', 'port')])
gjc@3408
   540
    ## inet-socket-address.h: void ns3::InetSocketAddress::SetIpv4(ns3::Ipv4Address address) [member function]
gjc@3408
   541
    cls.add_method('SetIpv4', 'void', [param('ns3::Ipv4Address', 'address')])
gjc@3408
   542
    ## inet-socket-address.h: static bool ns3::InetSocketAddress::IsMatchingType(ns3::Address const & address) [member function]
gjc@3408
   543
    cls.add_method('IsMatchingType', 'bool', [param('ns3::Address&', 'address', is_const=True)], is_static=True)
gjc@3408
   544
    ## inet-socket-address.h: static ns3::InetSocketAddress ns3::InetSocketAddress::ConvertFrom(ns3::Address const & address) [member function]
gjc@3408
   545
    cls.add_method('ConvertFrom', 'ns3::InetSocketAddress', [param('ns3::Address&', 'address', is_const=True)], is_static=True)
gjc@3408
   546
    return
gjc@3408
   547
gjc@3408
   548
def register_Ns3Ipv4Address_methods(root_module, cls):
gjc@3408
   549
    ## ipv4-address.h: ns3::Ipv4Address::Ipv4Address(ns3::Ipv4Address const & arg0) [copy constructor]
gjc@3408
   550
    cls.add_constructor([param('ns3::Ipv4Address&', 'arg0', is_const=True)], visibility='public')
gjc@3408
   551
    ## ipv4-address.h: ns3::Ipv4Address::Ipv4Address() [constructor]
gjc@3408
   552
    cls.add_constructor([], visibility='public')
gjc@3408
   553
    ## ipv4-address.h: ns3::Ipv4Address::Ipv4Address(uint32_t address) [constructor]
gjc@3408
   554
    cls.add_constructor([param('uint32_t', 'address')], visibility='public')
gjc@3408
   555
    ## ipv4-address.h: ns3::Ipv4Address::Ipv4Address(char const * address) [constructor]
gjc@3408
   556
    cls.add_constructor([param('char *', 'address', transfer_ownership=False, is_const=True)], visibility='public')
gjc@3408
   557
    ## ipv4-address.h: ns3::Ipv4Address ns3::Ipv4Address::CombineMask(ns3::Ipv4Mask const & mask) const [member function]
gjc@3408
   558
    cls.add_method('CombineMask', 'ns3::Ipv4Address', [param('ns3::Ipv4Mask&', 'mask', is_const=True)], is_const=True)
gjc@3408
   559
    ## ipv4-address.h: static ns3::Ipv4Address ns3::Ipv4Address::ConvertFrom(ns3::Address const & address) [member function]
gjc@3408
   560
    cls.add_method('ConvertFrom', 'ns3::Ipv4Address', [param('ns3::Address&', 'address', is_const=True)], is_static=True)
gjc@3408
   561
    ## ipv4-address.h: static ns3::Ipv4Address ns3::Ipv4Address::Deserialize(uint8_t const * buf) [member function]
gjc@3408
   562
    cls.add_method('Deserialize', 'ns3::Ipv4Address', [param('uint8_t *', 'buf', transfer_ownership=False, is_const=True)], is_static=True)
gjc@3408
   563
    ## ipv4-address.h: uint32_t ns3::Ipv4Address::Get() const [member function]
gjc@3408
   564
    cls.add_method('Get', 'uint32_t', [], is_const=True)
gjc@3408
   565
    ## ipv4-address.h: static ns3::Ipv4Address ns3::Ipv4Address::GetAny() [member function]
gjc@3408
   566
    cls.add_method('GetAny', 'ns3::Ipv4Address', [], is_static=True)
gjc@3408
   567
    ## ipv4-address.h: static ns3::Ipv4Address ns3::Ipv4Address::GetBroadcast() [member function]
gjc@3408
   568
    cls.add_method('GetBroadcast', 'ns3::Ipv4Address', [], is_static=True)
gjc@3408
   569
    ## ipv4-address.h: static ns3::Ipv4Address ns3::Ipv4Address::GetLoopback() [member function]
gjc@3408
   570
    cls.add_method('GetLoopback', 'ns3::Ipv4Address', [], is_static=True)
gjc@3408
   571
    ## ipv4-address.h: ns3::Ipv4Address ns3::Ipv4Address::GetSubnetDirectedBroadcast(ns3::Ipv4Mask const & mask) const [member function]
gjc@3408
   572
    cls.add_method('GetSubnetDirectedBroadcast', 'ns3::Ipv4Address', [param('ns3::Ipv4Mask&', 'mask', is_const=True)], is_const=True)
gjc@3408
   573
    ## ipv4-address.h: static ns3::Ipv4Address ns3::Ipv4Address::GetZero() [member function]
gjc@3408
   574
    cls.add_method('GetZero', 'ns3::Ipv4Address', [], is_static=True)
gjc@3408
   575
    ## ipv4-address.h: bool ns3::Ipv4Address::IsBroadcast() const [member function]
gjc@3408
   576
    cls.add_method('IsBroadcast', 'bool', [], is_const=True)
gjc@3408
   577
    ## ipv4-address.h: bool ns3::Ipv4Address::IsEqual(ns3::Ipv4Address const & other) const [member function]
gjc@3408
   578
    cls.add_method('IsEqual', 'bool', [param('ns3::Ipv4Address&', 'other', is_const=True)], is_const=True)
gjc@3408
   579
    ## ipv4-address.h: static bool ns3::Ipv4Address::IsMatchingType(ns3::Address const & address) [member function]
gjc@3408
   580
    cls.add_method('IsMatchingType', 'bool', [param('ns3::Address&', 'address', is_const=True)], is_static=True)
gjc@3408
   581
    ## ipv4-address.h: bool ns3::Ipv4Address::IsMulticast() const [member function]
gjc@3408
   582
    cls.add_method('IsMulticast', 'bool', [], is_const=True)
gjc@3408
   583
    ## ipv4-address.h: bool ns3::Ipv4Address::IsSubnetDirectedBroadcast(ns3::Ipv4Mask const & mask) const [member function]
gjc@3408
   584
    cls.add_method('IsSubnetDirectedBroadcast', 'bool', [param('ns3::Ipv4Mask&', 'mask', is_const=True)], is_const=True)
gjc@3408
   585
    ## ipv4-address.h: void ns3::Ipv4Address::Print(std::ostream & os) const [member function]
gjc@3408
   586
    cls.add_method('Print', 'void', [param('std::ostream&', 'os')], is_const=True)
gjc@3408
   587
    ## ipv4-address.h: void ns3::Ipv4Address::Serialize(uint8_t * buf) const [member function]
gjc@3408
   588
    cls.add_method('Serialize', 'void', [param('uint8_t *', 'buf')], is_const=True)
gjc@3408
   589
    ## ipv4-address.h: void ns3::Ipv4Address::Set(uint32_t address) [member function]
gjc@3408
   590
    cls.add_method('Set', 'void', [param('uint32_t', 'address')])
gjc@3408
   591
    ## ipv4-address.h: void ns3::Ipv4Address::Set(char const * address) [member function]
gjc@3408
   592
    cls.add_method('Set', 'void', [param('char *', 'address', transfer_ownership=False, is_const=True)])
gjc@3408
   593
    cls.add_output_stream_operator()
gjc@3408
   594
    return
gjc@3408
   595
gjc@3408
   596
def register_Ns3Application_methods(root_module, cls):
gjc@3408
   597
    ## application.h: static ns3::TypeId ns3::Application::GetTypeId() [member function]
gjc@3408
   598
    cls.add_method('GetTypeId', 'ns3::TypeId', [], is_static=True)
gjc@3408
   599
    ## application.h: ns3::Application::Application() [constructor]
gjc@3408
   600
    cls.add_constructor([], visibility='public')
gjc@3408
   601
    ## application.h: void ns3::Application::Start(ns3::Time const & startTime) [member function]
gjc@3408
   602
    cls.add_method('Start', 'void', [param('ns3::Time&', 'startTime', is_const=True)])
gjc@3408
   603
    ## application.h: void ns3::Application::Start(ns3::RandomVariable const & startVariable) [member function]
gjc@3408
   604
    cls.add_method('Start', 'void', [param('ns3::RandomVariable&', 'startVariable', is_const=True)])
gjc@3408
   605
    ## application.h: void ns3::Application::Stop(ns3::Time const & stopTime) [member function]
gjc@3408
   606
    cls.add_method('Stop', 'void', [param('ns3::Time&', 'stopTime', is_const=True)])
gjc@3408
   607
    ## application.h: void ns3::Application::Stop(ns3::RandomVariable const & stopVariable) [member function]
gjc@3408
   608
    cls.add_method('Stop', 'void', [param('ns3::RandomVariable&', 'stopVariable', is_const=True)])
gjc@3408
   609
    ## application.h: ns3::Ptr<ns3::Node> ns3::Application::GetNode() const [member function]
gjc@3408
   610
    cls.add_method('GetNode', 'ns3::Ptr< ns3::Node >', [], is_const=True)
gjc@3408
   611
    ## application.h: void ns3::Application::SetNode(ns3::Ptr<ns3::Node> node) [member function]
gjc@3408
   612
    cls.add_method('SetNode', 'void', [param('ns3::Ptr< ns3::Node >', 'node')])
gjc@3408
   613
    ## application.h: void ns3::Application::DoDispose() [member function]
gjc@3408
   614
    cls.add_method('DoDispose', 'void', [], visibility='protected', is_virtual=True)
gjc@3408
   615
    ## application.h: void ns3::Application::StartApplication() [member function]
gjc@3408
   616
    cls.add_method('StartApplication', 'void', [], visibility='private', is_virtual=True)
gjc@3408
   617
    ## application.h: void ns3::Application::StopApplication() [member function]
gjc@3408
   618
    cls.add_method('StopApplication', 'void', [], visibility='private', is_virtual=True)
gjc@3408
   619
    return
gjc@3408
   620
gjc@3408
   621
def register_Ns3Queue_methods(root_module, cls):
gjc@3408
   622
    ## queue.h: static ns3::TypeId ns3::Queue::GetTypeId() [member function]
gjc@3408
   623
    cls.add_method('GetTypeId', 'ns3::TypeId', [], is_static=True)
gjc@3408
   624
    ## queue.h: ns3::Queue::Queue() [constructor]
gjc@3408
   625
    cls.add_constructor([], visibility='public')
gjc@3408
   626
    ## queue.h: bool ns3::Queue::IsEmpty() const [member function]
gjc@3408
   627
    cls.add_method('IsEmpty', 'bool', [], is_const=True)
gjc@3408
   628
    ## queue.h: bool ns3::Queue::Enqueue(ns3::Ptr<ns3::Packet> p) [member function]
gjc@3408
   629
    cls.add_method('Enqueue', 'bool', [param('ns3::Ptr< ns3::Packet >', 'p')])
gjc@3408
   630
    ## queue.h: ns3::Ptr<ns3::Packet> ns3::Queue::Dequeue() [member function]
gjc@3408
   631
    cls.add_method('Dequeue', 'ns3::Ptr< ns3::Packet >', [])
gjc@3408
   632
    ## queue.h: ns3::Ptr<ns3::Packet> ns3::Queue::Peek() const [member function]
gjc@3408
   633
    cls.add_method('Peek', 'ns3::Ptr< ns3::Packet >', [], is_const=True)
gjc@3408
   634
    ## queue.h: void ns3::Queue::DequeueAll() [member function]
gjc@3408
   635
    cls.add_method('DequeueAll', 'void', [])
gjc@3408
   636
    ## queue.h: uint32_t ns3::Queue::GetNPackets() const [member function]
gjc@3408
   637
    cls.add_method('GetNPackets', 'uint32_t', [], is_const=True)
gjc@3408
   638
    ## queue.h: uint32_t ns3::Queue::GetNBytes() const [member function]
gjc@3408
   639
    cls.add_method('GetNBytes', 'uint32_t', [], is_const=True)
gjc@3408
   640
    ## queue.h: uint32_t ns3::Queue::GetTotalReceivedBytes() const [member function]
gjc@3408
   641
    cls.add_method('GetTotalReceivedBytes', 'uint32_t', [], is_const=True)
gjc@3408
   642
    ## queue.h: uint32_t ns3::Queue::GetTotalReceivedPackets() const [member function]
gjc@3408
   643
    cls.add_method('GetTotalReceivedPackets', 'uint32_t', [], is_const=True)
gjc@3408
   644
    ## queue.h: uint32_t ns3::Queue::GetTotalDroppedBytes() const [member function]
gjc@3408
   645
    cls.add_method('GetTotalDroppedBytes', 'uint32_t', [], is_const=True)
gjc@3408
   646
    ## queue.h: uint32_t ns3::Queue::GetTotalDroppedPackets() const [member function]
gjc@3408
   647
    cls.add_method('GetTotalDroppedPackets', 'uint32_t', [], is_const=True)
gjc@3408
   648
    ## queue.h: void ns3::Queue::ResetStatistics() [member function]
gjc@3408
   649
    cls.add_method('ResetStatistics', 'void', [])
gjc@3408
   650
    ## queue.h: void ns3::Queue::Drop(ns3::Ptr<ns3::Packet> packet) [member function]
gjc@3408
   651
    cls.add_method('Drop', 'void', [param('ns3::Ptr< ns3::Packet >', 'packet')], visibility='protected')
gjc@3408
   652
    ## queue.h: bool ns3::Queue::DoEnqueue(ns3::Ptr<ns3::Packet> p) [member function]
gjc@3408
   653
    cls.add_method('DoEnqueue', 'bool', [param('ns3::Ptr< ns3::Packet >', 'p')], is_pure_virtual=True, visibility='private', is_virtual=True)
gjc@3408
   654
    ## queue.h: ns3::Ptr<ns3::Packet> ns3::Queue::DoDequeue() [member function]
gjc@3408
   655
    cls.add_method('DoDequeue', 'ns3::Ptr< ns3::Packet >', [], is_pure_virtual=True, visibility='private', is_virtual=True)
gjc@3408
   656
    ## queue.h: ns3::Ptr<ns3::Packet> ns3::Queue::DoPeek() const [member function]
gjc@3408
   657
    cls.add_method('DoPeek', 'ns3::Ptr< ns3::Packet >', [], is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
gjc@3408
   658
    return
gjc@3408
   659
gjc@3408
   660
def register_Ns3Socket_methods(root_module, cls):
gjc@3408
   661
    ## socket.h: ns3::Socket::Socket() [constructor]
gjc@3408
   662
    cls.add_constructor([], visibility='public')
gjc@3408
   663
    ## socket.h: static ns3::Ptr<ns3::Socket> ns3::Socket::CreateSocket(ns3::Ptr<ns3::Node> node, ns3::TypeId tid) [member function]
gjc@3408
   664
    cls.add_method('CreateSocket', 'ns3::Ptr< ns3::Socket >', [param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::TypeId', 'tid')], is_static=True)
gjc@3408
   665
    ## socket.h: ns3::Socket::SocketErrno ns3::Socket::GetErrno() const [member function]
gjc@3408
   666
    cls.add_method('GetErrno', 'ns3::Socket::SocketErrno', [], is_pure_virtual=True, is_const=True, is_virtual=True)
gjc@3408
   667
    ## socket.h: ns3::Ptr<ns3::Node> ns3::Socket::GetNode() const [member function]
gjc@3408
   668
    cls.add_method('GetNode', 'ns3::Ptr< ns3::Node >', [], is_pure_virtual=True, is_const=True, is_virtual=True)
gjc@3408
   669
    ## 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@3408
   670
    cls.add_method('SetConnectCallback', 'void', [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
   671
    ## 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@3408
   672
    cls.add_method('SetAcceptCallback', 'void', [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
   673
    ## 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@3408
   674
    cls.add_method('SetDataSentCallback', 'bool', [param('ns3::Callback< void, ns3::Ptr< ns3::Socket >, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'dataSent')], is_virtual=True)
gjc@3408
   675
    ## 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@3408
   676
    cls.add_method('SetSendCallback', 'void', [param('ns3::Callback< void, ns3::Ptr< ns3::Socket >, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'sendCb')])
gjc@3408
   677
    ## 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@3408
   678
    cls.add_method('SetRecvCallback', 'void', [param('ns3::Callback< void, ns3::Ptr< ns3::Socket >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'arg0')])
gjc@3408
   679
    ## socket.h: int ns3::Socket::Bind(ns3::Address const & address) [member function]
gjc@3408
   680
    cls.add_method('Bind', 'int', [param('ns3::Address&', 'address', is_const=True)], is_pure_virtual=True, is_virtual=True)
gjc@3408
   681
    ## socket.h: int ns3::Socket::Bind() [member function]
gjc@3408
   682
    cls.add_method('Bind', 'int', [], is_pure_virtual=True, is_virtual=True)
gjc@3408
   683
    ## socket.h: int ns3::Socket::Close() [member function]
gjc@3408
   684
    cls.add_method('Close', 'int', [], is_pure_virtual=True, is_virtual=True)
gjc@3408
   685
    ## socket.h: int ns3::Socket::ShutdownSend() [member function]
gjc@3408
   686
    cls.add_method('ShutdownSend', 'int', [], is_pure_virtual=True, is_virtual=True)
gjc@3408
   687
    ## socket.h: int ns3::Socket::ShutdownRecv() [member function]
gjc@3408
   688
    cls.add_method('ShutdownRecv', 'int', [], is_pure_virtual=True, is_virtual=True)
gjc@3408
   689
    ## socket.h: int ns3::Socket::Connect(ns3::Address const & address) [member function]
gjc@3408
   690
    cls.add_method('Connect', 'int', [param('ns3::Address&', 'address', is_const=True)], is_pure_virtual=True, is_virtual=True)
gjc@3408
   691
    ## socket.h: int ns3::Socket::Listen(uint32_t queueLimit) [member function]
gjc@3408
   692
    cls.add_method('Listen', 'int', [param('uint32_t', 'queueLimit')], is_pure_virtual=True, is_virtual=True)
gjc@3408
   693
    ## socket.h: uint32_t ns3::Socket::GetTxAvailable() const [member function]
gjc@3408
   694
    cls.add_method('GetTxAvailable', 'uint32_t', [], is_pure_virtual=True, is_const=True, is_virtual=True)
gjc@3408
   695
    ## socket.h: int ns3::Socket::Send(ns3::Ptr<ns3::Packet> p, uint32_t flags) [member function]
gjc@3408
   696
    cls.add_method('Send', 'int', [param('ns3::Ptr< ns3::Packet >', 'p'), param('uint32_t', 'flags')], is_pure_virtual=True, is_virtual=True)
gjc@3408
   697
    ## socket.h: int ns3::Socket::SendTo(ns3::Ptr<ns3::Packet> p, uint32_t flags, ns3::Address const & toAddress) [member function]
gjc@3408
   698
    cls.add_method('SendTo', 'int', [param('ns3::Ptr< ns3::Packet >', 'p'), param('uint32_t', 'flags'), param('ns3::Address&', 'toAddress', is_const=True)], is_pure_virtual=True, is_virtual=True)
gjc@3408
   699
    ## socket.h: uint32_t ns3::Socket::GetRxAvailable() const [member function]
gjc@3408
   700
    cls.add_method('GetRxAvailable', 'uint32_t', [], is_pure_virtual=True, is_const=True, is_virtual=True)
gjc@3408
   701
    ## socket.h: ns3::Ptr<ns3::Packet> ns3::Socket::Recv(uint32_t maxSize, uint32_t flags) [member function]
gjc@3408
   702
    cls.add_method('Recv', 'ns3::Ptr< ns3::Packet >', [param('uint32_t', 'maxSize'), param('uint32_t', 'flags')], is_pure_virtual=True, is_virtual=True)
gjc@3408
   703
    ## socket.h: ns3::Ptr<ns3::Packet> ns3::Socket::RecvFrom(uint32_t maxSize, uint32_t flags, ns3::Address & fromAddress) [member function]
gjc@3408
   704
    cls.add_method('RecvFrom', 'ns3::Ptr< ns3::Packet >', [param('uint32_t', 'maxSize'), param('uint32_t', 'flags'), param('ns3::Address&', 'fromAddress')], is_pure_virtual=True, is_virtual=True)
gjc@3408
   705
    ## socket.h: int ns3::Socket::Send(ns3::Ptr<ns3::Packet> p) [member function]
gjc@3408
   706
    cls.add_method('Send', 'int', [param('ns3::Ptr< ns3::Packet >', 'p')])
gjc@3408
   707
    ## socket.h: int ns3::Socket::Send(uint8_t const * buf, uint32_t size, uint32_t flags) [member function]
gjc@3408
   708
    cls.add_method('Send', 'int', [param('uint8_t *', 'buf', transfer_ownership=False, is_const=True), param('uint32_t', 'size'), param('uint32_t', 'flags')])
gjc@3408
   709
    ## socket.h: int ns3::Socket::SendTo(uint8_t const * buf, uint32_t size, uint32_t flags, ns3::Address const & address) [member function]
gjc@3408
   710
    cls.add_method('SendTo', 'int', [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
   711
    ## socket.h: ns3::Ptr<ns3::Packet> ns3::Socket::Recv() [member function]
gjc@3408
   712
    cls.add_method('Recv', 'ns3::Ptr< ns3::Packet >', [])
gjc@3408
   713
    ## socket.h: int ns3::Socket::Recv(uint8_t * buf, uint32_t size, uint32_t flags) [member function]
gjc@3408
   714
    cls.add_method('Recv', 'int', [param('uint8_t *', 'buf'), param('uint32_t', 'size'), param('uint32_t', 'flags')])
gjc@3408
   715
    ## socket.h: ns3::Ptr<ns3::Packet> ns3::Socket::RecvFrom(ns3::Address & fromAddress) [member function]
gjc@3408
   716
    cls.add_method('RecvFrom', 'ns3::Ptr< ns3::Packet >', [param('ns3::Address&', 'fromAddress')])
gjc@3408
   717
    ## socket.h: int ns3::Socket::RecvFrom(uint8_t * buf, uint32_t size, uint32_t flags, ns3::Address & fromAddress) [member function]
gjc@3408
   718
    cls.add_method('RecvFrom', 'int', [param('uint8_t *', 'buf'), param('uint32_t', 'size'), param('uint32_t', 'flags'), param('ns3::Address&', 'fromAddress')])
gjc@3408
   719
    ## socket.h: void ns3::Socket::NotifyConnectionSucceeded() [member function]
gjc@3408
   720
    cls.add_method('NotifyConnectionSucceeded', 'void', [], visibility='protected')
gjc@3408
   721
    ## socket.h: void ns3::Socket::NotifyConnectionFailed() [member function]
gjc@3408
   722
    cls.add_method('NotifyConnectionFailed', 'void', [], visibility='protected')
gjc@3408
   723
    ## socket.h: bool ns3::Socket::NotifyConnectionRequest(ns3::Address const & from) [member function]
gjc@3408
   724
    cls.add_method('NotifyConnectionRequest', 'bool', [param('ns3::Address&', 'from', is_const=True)], visibility='protected')
gjc@3408
   725
    ## socket.h: void ns3::Socket::NotifyNewConnectionCreated(ns3::Ptr<ns3::Socket> socket, ns3::Address const & from) [member function]
gjc@3408
   726
    cls.add_method('NotifyNewConnectionCreated', 'void', [param('ns3::Ptr< ns3::Socket >', 'socket'), param('ns3::Address&', 'from', is_const=True)], visibility='protected')
gjc@3408
   727
    ## socket.h: void ns3::Socket::NotifyDataSent(uint32_t size) [member function]
gjc@3408
   728
    cls.add_method('NotifyDataSent', 'void', [param('uint32_t', 'size')], visibility='protected')
gjc@3408
   729
    ## socket.h: void ns3::Socket::NotifySend(uint32_t spaceAvailable) [member function]
gjc@3408
   730
    cls.add_method('NotifySend', 'void', [param('uint32_t', 'spaceAvailable')], visibility='protected')
gjc@3408
   731
    ## socket.h: void ns3::Socket::NotifyDataRecv() [member function]
gjc@3408
   732
    cls.add_method('NotifyDataRecv', 'void', [], visibility='protected')
gjc@3408
   733
    return
gjc@3408
   734
gjc@3408
   735
def register_Ns3Ipv4Header_methods(root_module, cls):
gjc@3408
   736
    ## ipv4-header.h: ns3::Ipv4Header::Ipv4Header() [constructor]
gjc@3408
   737
    cls.add_constructor([], visibility='public')
gjc@3408
   738
    ## ipv4-header.h: void ns3::Ipv4Header::EnableChecksum() [member function]
gjc@3408
   739
    cls.add_method('EnableChecksum', 'void', [])
gjc@3408
   740
    ## ipv4-header.h: void ns3::Ipv4Header::SetPayloadSize(uint16_t size) [member function]
gjc@3408
   741
    cls.add_method('SetPayloadSize', 'void', [param('uint16_t', 'size')])
gjc@3408
   742
    ## ipv4-header.h: void ns3::Ipv4Header::SetIdentification(uint16_t identification) [member function]
gjc@3408
   743
    cls.add_method('SetIdentification', 'void', [param('uint16_t', 'identification')])
gjc@3408
   744
    ## ipv4-header.h: void ns3::Ipv4Header::SetTos(uint8_t tos) [member function]
gjc@3408
   745
    cls.add_method('SetTos', 'void', [param('uint8_t', 'tos')])
gjc@3408
   746
    ## ipv4-header.h: void ns3::Ipv4Header::SetMoreFragments() [member function]
gjc@3408
   747
    cls.add_method('SetMoreFragments', 'void', [])
gjc@3408
   748
    ## ipv4-header.h: void ns3::Ipv4Header::SetLastFragment() [member function]
gjc@3408
   749
    cls.add_method('SetLastFragment', 'void', [])
gjc@3408
   750
    ## ipv4-header.h: void ns3::Ipv4Header::SetDontFragment() [member function]
gjc@3408
   751
    cls.add_method('SetDontFragment', 'void', [])
gjc@3408
   752
    ## ipv4-header.h: void ns3::Ipv4Header::SetMayFragment() [member function]
gjc@3408
   753
    cls.add_method('SetMayFragment', 'void', [])
gjc@3408
   754
    ## ipv4-header.h: void ns3::Ipv4Header::SetFragmentOffset(uint16_t offset) [member function]
gjc@3408
   755
    cls.add_method('SetFragmentOffset', 'void', [param('uint16_t', 'offset')])
gjc@3408
   756
    ## ipv4-header.h: void ns3::Ipv4Header::SetTtl(uint8_t ttl) [member function]
gjc@3408
   757
    cls.add_method('SetTtl', 'void', [param('uint8_t', 'ttl')])
gjc@3408
   758
    ## ipv4-header.h: void ns3::Ipv4Header::SetProtocol(uint8_t num) [member function]
gjc@3408
   759
    cls.add_method('SetProtocol', 'void', [param('uint8_t', 'num')])
gjc@3408
   760
    ## ipv4-header.h: void ns3::Ipv4Header::SetSource(ns3::Ipv4Address source) [member function]
gjc@3408
   761
    cls.add_method('SetSource', 'void', [param('ns3::Ipv4Address', 'source')])
gjc@3408
   762
    ## ipv4-header.h: void ns3::Ipv4Header::SetDestination(ns3::Ipv4Address destination) [member function]
gjc@3408
   763
    cls.add_method('SetDestination', 'void', [param('ns3::Ipv4Address', 'destination')])
gjc@3408
   764
    ## ipv4-header.h: uint16_t ns3::Ipv4Header::GetPayloadSize() const [member function]
gjc@3408
   765
    cls.add_method('GetPayloadSize', 'uint16_t', [], is_const=True)
gjc@3408
   766
    ## ipv4-header.h: uint16_t ns3::Ipv4Header::GetIdentification() const [member function]
gjc@3408
   767
    cls.add_method('GetIdentification', 'uint16_t', [], is_const=True)
gjc@3408
   768
    ## ipv4-header.h: uint8_t ns3::Ipv4Header::GetTos() const [member function]
gjc@3408
   769
    cls.add_method('GetTos', 'uint8_t', [], is_const=True)
gjc@3408
   770
    ## ipv4-header.h: bool ns3::Ipv4Header::IsLastFragment() const [member function]
gjc@3408
   771
    cls.add_method('IsLastFragment', 'bool', [], is_const=True)
gjc@3408
   772
    ## ipv4-header.h: bool ns3::Ipv4Header::IsDontFragment() const [member function]
gjc@3408
   773
    cls.add_method('IsDontFragment', 'bool', [], is_const=True)
gjc@3408
   774
    ## ipv4-header.h: uint16_t ns3::Ipv4Header::GetFragmentOffset() const [member function]
gjc@3408
   775
    cls.add_method('GetFragmentOffset', 'uint16_t', [], is_const=True)
gjc@3408
   776
    ## ipv4-header.h: uint8_t ns3::Ipv4Header::GetTtl() const [member function]
gjc@3408
   777
    cls.add_method('GetTtl', 'uint8_t', [], is_const=True)
gjc@3408
   778
    ## ipv4-header.h: uint8_t ns3::Ipv4Header::GetProtocol() const [member function]
gjc@3408
   779
    cls.add_method('GetProtocol', 'uint8_t', [], is_const=True)
gjc@3408
   780
    ## ipv4-header.h: ns3::Ipv4Address ns3::Ipv4Header::GetSource() const [member function]
gjc@3408
   781
    cls.add_method('GetSource', 'ns3::Ipv4Address', [], is_const=True)
gjc@3408
   782
    ## ipv4-header.h: ns3::Ipv4Address ns3::Ipv4Header::GetDestination() const [member function]
gjc@3408
   783
    cls.add_method('GetDestination', 'ns3::Ipv4Address', [], is_const=True)
gjc@3408
   784
    ## ipv4-header.h: bool ns3::Ipv4Header::IsChecksumOk() const [member function]
gjc@3408
   785
    cls.add_method('IsChecksumOk', 'bool', [], is_const=True)
gjc@3408
   786
    ## ipv4-header.h: static ns3::TypeId ns3::Ipv4Header::GetTypeId() [member function]
gjc@3408
   787
    cls.add_method('GetTypeId', 'ns3::TypeId', [], is_static=True)
gjc@3408
   788
    ## ipv4-header.h: ns3::TypeId ns3::Ipv4Header::GetInstanceTypeId() const [member function]
gjc@3408
   789
    cls.add_method('GetInstanceTypeId', 'ns3::TypeId', [], is_const=True, is_virtual=True)
gjc@3408
   790
    ## ipv4-header.h: void ns3::Ipv4Header::Print(std::ostream & os) const [member function]
gjc@3408
   791
    cls.add_method('Print', 'void', [param('std::ostream&', 'os')], is_const=True, is_virtual=True)
gjc@3408
   792
    ## ipv4-header.h: uint32_t ns3::Ipv4Header::GetSerializedSize() const [member function]
gjc@3408
   793
    cls.add_method('GetSerializedSize', 'uint32_t', [], is_const=True, is_virtual=True)
gjc@3408
   794
    ## ipv4-header.h: void ns3::Ipv4Header::Serialize(ns3::Buffer::Iterator start) const [member function]
gjc@3408
   795
    cls.add_method('Serialize', 'void', [param('ns3::Buffer::Iterator', 'start')], is_const=True, is_virtual=True)
gjc@3408
   796
    ## ipv4-header.h: uint32_t ns3::Ipv4Header::Deserialize(ns3::Buffer::Iterator start) [member function]
gjc@3408
   797
    cls.add_method('Deserialize', 'uint32_t', [param('ns3::Buffer::Iterator', 'start')], is_virtual=True)
gjc@3408
   798
    return
gjc@3408
   799
gjc@3408
   800
def register_Ns3UdpSocket_methods(root_module, cls):
gjc@3408
   801
    ## udp-socket.h: static ns3::TypeId ns3::UdpSocket::GetTypeId() [member function]
gjc@3408
   802
    cls.add_method('GetTypeId', 'ns3::TypeId', [], is_static=True)
gjc@3408
   803
    ## udp-socket.h: ns3::UdpSocket::UdpSocket() [constructor]
gjc@3408
   804
    cls.add_constructor([], visibility='public')
gjc@3408
   805
    ## udp-socket.h: void ns3::UdpSocket::SetRcvBufSize(uint32_t size) [member function]
gjc@3408
   806
    cls.add_method('SetRcvBufSize', 'void', [param('uint32_t', 'size')], is_pure_virtual=True, visibility='private', is_virtual=True)
gjc@3408
   807
    ## udp-socket.h: uint32_t ns3::UdpSocket::GetRcvBufSize() const [member function]
gjc@3408
   808
    cls.add_method('GetRcvBufSize', 'uint32_t', [], is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
gjc@3408
   809
    ## udp-socket.h: void ns3::UdpSocket::SetIpTtl(uint32_t ipTtl) [member function]
gjc@3408
   810
    cls.add_method('SetIpTtl', 'void', [param('uint32_t', 'ipTtl')], is_pure_virtual=True, visibility='private', is_virtual=True)
gjc@3408
   811
    ## udp-socket.h: uint32_t ns3::UdpSocket::GetIpTtl() const [member function]
gjc@3408
   812
    cls.add_method('GetIpTtl', 'uint32_t', [], is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
gjc@3408
   813
    ## udp-socket.h: void ns3::UdpSocket::SetIpMulticastTtl(uint32_t ipTtl) [member function]
gjc@3408
   814
    cls.add_method('SetIpMulticastTtl', 'void', [param('uint32_t', 'ipTtl')], is_pure_virtual=True, visibility='private', is_virtual=True)
gjc@3408
   815
    ## udp-socket.h: uint32_t ns3::UdpSocket::GetIpMulticastTtl() const [member function]
gjc@3408
   816
    cls.add_method('GetIpMulticastTtl', 'uint32_t', [], is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
gjc@3408
   817
    return
gjc@3408
   818
gjc@3408
   819
def register_Ns3NetDevice_methods(root_module, cls):
gjc@3408
   820
    ## net-device.h: static ns3::TypeId ns3::NetDevice::GetTypeId() [member function]
gjc@3408
   821
    cls.add_method('GetTypeId', 'ns3::TypeId', [], is_static=True)
gjc@3408
   822
    ## net-device.h: void ns3::NetDevice::SetName(std::string const name) [member function]
gjc@3408
   823
    cls.add_method('SetName', 'void', [param('std::string', 'name', is_const=True)], is_pure_virtual=True, is_virtual=True)
gjc@3408
   824
    ## net-device.h: std::string ns3::NetDevice::GetName() const [member function]
gjc@3408
   825
    cls.add_method('GetName', 'std::string', [], is_pure_virtual=True, is_const=True, is_virtual=True)
gjc@3408
   826
    ## net-device.h: void ns3::NetDevice::SetIfIndex(uint32_t const index) [member function]
gjc@3408
   827
    cls.add_method('SetIfIndex', 'void', [param('uint32_t', 'index', is_const=True)], is_pure_virtual=True, is_virtual=True)
gjc@3408
   828
    ## net-device.h: uint32_t ns3::NetDevice::GetIfIndex() const [member function]
gjc@3408
   829
    cls.add_method('GetIfIndex', 'uint32_t', [], is_pure_virtual=True, is_const=True, is_virtual=True)
gjc@3408
   830
    ## net-device.h: ns3::Ptr<ns3::Channel> ns3::NetDevice::GetChannel() const [member function]
gjc@3408
   831
    cls.add_method('GetChannel', 'ns3::Ptr< ns3::Channel >', [], is_pure_virtual=True, is_const=True, is_virtual=True)
gjc@3408
   832
    ## net-device.h: ns3::Address ns3::NetDevice::GetAddress() const [member function]
gjc@3408
   833
    cls.add_method('GetAddress', 'ns3::Address', [], is_pure_virtual=True, is_const=True, is_virtual=True)
gjc@3408
   834
    ## net-device.h: bool ns3::NetDevice::SetMtu(uint16_t const mtu) [member function]
gjc@3408
   835
    cls.add_method('SetMtu', 'bool', [param('uint16_t', 'mtu', is_const=True)], is_pure_virtual=True, is_virtual=True)
gjc@3408
   836
    ## net-device.h: uint16_t ns3::NetDevice::GetMtu() const [member function]
gjc@3408
   837
    cls.add_method('GetMtu', 'uint16_t', [], is_pure_virtual=True, is_const=True, is_virtual=True)
gjc@3408
   838
    ## net-device.h: bool ns3::NetDevice::IsLinkUp() const [member function]
gjc@3408
   839
    cls.add_method('IsLinkUp', 'bool', [], is_pure_virtual=True, is_const=True, is_virtual=True)
gjc@3408
   840
    ## 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@3408
   841
    cls.add_method('SetLinkChangeCallback', 'void', [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')], is_pure_virtual=True, is_virtual=True)
gjc@3408
   842
    ## net-device.h: bool ns3::NetDevice::IsBroadcast() const [member function]
gjc@3408
   843
    cls.add_method('IsBroadcast', 'bool', [], is_pure_virtual=True, is_const=True, is_virtual=True)
gjc@3408
   844
    ## net-device.h: ns3::Address ns3::NetDevice::GetBroadcast() const [member function]
gjc@3408
   845
    cls.add_method('GetBroadcast', 'ns3::Address', [], is_pure_virtual=True, is_const=True, is_virtual=True)
gjc@3408
   846
    ## net-device.h: bool ns3::NetDevice::IsMulticast() const [member function]
gjc@3408
   847
    cls.add_method('IsMulticast', 'bool', [], is_pure_virtual=True, is_const=True, is_virtual=True)
gjc@3408
   848
    ## net-device.h: ns3::Address ns3::NetDevice::GetMulticast() const [member function]
gjc@3408
   849
    cls.add_method('GetMulticast', 'ns3::Address', [], is_pure_virtual=True, is_const=True, is_virtual=True)
gjc@3408
   850
    ## net-device.h: ns3::Address ns3::NetDevice::MakeMulticastAddress(ns3::Ipv4Address multicastGroup) const [member function]
gjc@3408
   851
    cls.add_method('MakeMulticastAddress', 'ns3::Address', [param('ns3::Ipv4Address', 'multicastGroup')], is_pure_virtual=True, is_const=True, is_virtual=True)
gjc@3408
   852
    ## net-device.h: bool ns3::NetDevice::IsPointToPoint() const [member function]
gjc@3408
   853
    cls.add_method('IsPointToPoint', 'bool', [], is_pure_virtual=True, is_const=True, is_virtual=True)
gjc@3408
   854
    ## net-device.h: bool ns3::NetDevice::Send(ns3::Ptr<ns3::Packet> packet, ns3::Address const & dest, uint16_t protocolNumber) [member function]
gjc@3408
   855
    cls.add_method('Send', 'bool', [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address&', 'dest', is_const=True), param('uint16_t', 'protocolNumber')], is_pure_virtual=True, is_virtual=True)
gjc@3457
   856
    ## 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@3457
   857
    cls.add_method('SendFrom', 'bool', [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address&', 'source', is_const=True), param('ns3::Address&', 'dest', is_const=True), param('uint16_t', 'protocolNumber')], is_pure_virtual=True, is_virtual=True)
gjc@3408
   858
    ## net-device.h: ns3::Ptr<ns3::Node> ns3::NetDevice::GetNode() const [member function]
gjc@3408
   859
    cls.add_method('GetNode', 'ns3::Ptr< ns3::Node >', [], is_pure_virtual=True, is_const=True, is_virtual=True)
gjc@3408
   860
    ## net-device.h: void ns3::NetDevice::SetNode(ns3::Ptr<ns3::Node> node) [member function]
gjc@3408
   861
    cls.add_method('SetNode', 'void', [param('ns3::Ptr< ns3::Node >', 'node')], is_pure_virtual=True, is_virtual=True)
gjc@3408
   862
    ## net-device.h: bool ns3::NetDevice::NeedsArp() const [member function]
gjc@3408
   863
    cls.add_method('NeedsArp', 'bool', [], is_pure_virtual=True, is_const=True, is_virtual=True)
gjc@3457
   864
    ## net-device.h: void ns3::NetDevice::SetReceiveCallback(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@3457
   865
    cls.add_method('SetReceiveCallback', 'void', [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet >, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType >', 'cb')], is_pure_virtual=True, is_virtual=True)
gjc@3408
   866
    cls.add_constructor([])
gjc@3408
   867
    return
gjc@3408
   868
gjc@3408
   869
def register_Ns3AddressValue_methods(root_module, cls):
gjc@3408
   870
    ## address.h: ns3::AddressValue::AddressValue() [constructor]
gjc@3408
   871
    cls.add_constructor([], visibility='public')
gjc@3408
   872
    ## address.h: ns3::AddressValue::AddressValue(ns3::Address const & value) [constructor]
gjc@3408
   873
    cls.add_constructor([param('ns3::Address&', 'value', is_const=True)], visibility='public')
gjc@3408
   874
    ## address.h: void ns3::AddressValue::Set(ns3::Address const & value) [member function]
gjc@3408
   875
    cls.add_method('Set', 'void', [param('ns3::Address&', 'value', is_const=True)])
gjc@3408
   876
    ## address.h: ns3::Address ns3::AddressValue::Get() const [member function]
gjc@3408
   877
    cls.add_method('Get', 'ns3::Address', [], is_const=True)
gjc@3408
   878
    ## address.h: ns3::Ptr<ns3::AttributeValue> ns3::AddressValue::Copy() const [member function]
gjc@3408
   879
    cls.add_method('Copy', 'ns3::Ptr< ns3::AttributeValue >', [], is_const=True, is_virtual=True)
gjc@3408
   880
    ## address.h: std::string ns3::AddressValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
gjc@3408
   881
    cls.add_method('SerializeToString', 'std::string', [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], is_const=True, is_virtual=True)
gjc@3408
   882
    ## address.h: bool ns3::AddressValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
gjc@3408
   883
    cls.add_method('DeserializeFromString', 'bool', [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], is_virtual=True)
gjc@3408
   884
    return
gjc@3408
   885
gjc@3408
   886
def register_Ns3Node_methods(root_module, cls):
gjc@3408
   887
    ## node.h: static ns3::TypeId ns3::Node::GetTypeId() [member function]
gjc@3408
   888
    cls.add_method('GetTypeId', 'ns3::TypeId', [], is_static=True)
gjc@3408
   889
    ## node.h: ns3::Node::Node() [constructor]
gjc@3408
   890
    cls.add_constructor([], visibility='public')
gjc@3408
   891
    ## node.h: ns3::Node::Node(uint32_t systemId) [constructor]
gjc@3408
   892
    cls.add_constructor([param('uint32_t', 'systemId')], visibility='public')
gjc@3408
   893
    ## node.h: uint32_t ns3::Node::GetId() const [member function]
gjc@3408
   894
    cls.add_method('GetId', 'uint32_t', [], is_const=True)
gjc@3408
   895
    ## node.h: uint32_t ns3::Node::GetSystemId() const [member function]
gjc@3408
   896
    cls.add_method('GetSystemId', 'uint32_t', [], is_const=True)
gjc@3408
   897
    ## node.h: uint32_t ns3::Node::AddDevice(ns3::Ptr<ns3::NetDevice> device) [member function]
gjc@3408
   898
    cls.add_method('AddDevice', 'uint32_t', [param('ns3::Ptr< ns3::NetDevice >', 'device')])
gjc@3408
   899
    ## node.h: ns3::Ptr<ns3::NetDevice> ns3::Node::GetDevice(uint32_t index) const [member function]
gjc@3408
   900
    cls.add_method('GetDevice', 'ns3::Ptr< ns3::NetDevice >', [param('uint32_t', 'index')], is_const=True)
gjc@3408
   901
    ## node.h: uint32_t ns3::Node::GetNDevices() const [member function]
gjc@3408
   902
    cls.add_method('GetNDevices', 'uint32_t', [], is_const=True)
gjc@3408
   903
    ## node.h: uint32_t ns3::Node::AddApplication(ns3::Ptr<ns3::Application> application) [member function]
gjc@3408
   904
    cls.add_method('AddApplication', 'uint32_t', [param('ns3::Ptr< ns3::Application >', 'application')])
gjc@3408
   905
    ## node.h: ns3::Ptr<ns3::Application> ns3::Node::GetApplication(uint32_t index) const [member function]
gjc@3408
   906
    cls.add_method('GetApplication', 'ns3::Ptr< ns3::Application >', [param('uint32_t', 'index')], is_const=True)
gjc@3408
   907
    ## node.h: ns3::Ptr<ns3::Application> ns3::Node::GetFirstApplication(ns3::TypeId tid) [member function]
gjc@3408
   908
    cls.add_method('GetFirstApplication', 'ns3::Ptr< ns3::Application >', [param('ns3::TypeId', 'tid')])
gjc@3408
   909
    ## node.h: uint32_t ns3::Node::GetNApplications() const [member function]
gjc@3408
   910
    cls.add_method('GetNApplications', 'uint32_t', [], is_const=True)
gjc@3457
   911
    ## 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) [member function]
gjc@3457
   912
    cls.add_method('RegisterProtocolHandler', 'void', [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')])
gjc@3457
   913
    ## 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@3457
   914
    cls.add_method('UnregisterProtocolHandler', 'void', [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@3457
   915
    ## node.h: void ns3::Node::RegisterPromiscuousProtocolHandler(ns3::Callback<void,ns3::Ptr<ns3::NetDevice>,ns3::Ptr<ns3::Packet>,short unsigned int,const ns3::Address&,const ns3::Address&,bool> handler, uint16_t protocolType, ns3::Ptr<ns3::NetDevice> device) [member function]
gjc@3457
   916
    cls.add_method('RegisterPromiscuousProtocolHandler', 'void', [param('ns3::Callback< void, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet >, short unsigned int, const ns3::Address&, const ns3::Address&, bool >', 'handler'), param('uint16_t', 'protocolType'), param('ns3::Ptr< ns3::NetDevice >', 'device')])
gjc@3457
   917
    ## node.h: void ns3::Node::UnregisterPromiscuousProtocolHandler(ns3::Callback<void,ns3::Ptr<ns3::NetDevice>,ns3::Ptr<ns3::Packet>,short unsigned int,const ns3::Address&,const ns3::Address&,bool> handler) [member function]
gjc@3457
   918
    cls.add_method('UnregisterPromiscuousProtocolHandler', 'void', [param('ns3::Callback< void, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet >, short unsigned int, const ns3::Address&, const ns3::Address&, bool >', 'handler')])
gjc@3408
   919
    ## node.h: void ns3::Node::DoDispose() [member function]
gjc@3408
   920
    cls.add_method('DoDispose', 'void', [], visibility='protected', is_virtual=True)
gjc@3408
   921
    ## node.h: void ns3::Node::NotifyDeviceAdded(ns3::Ptr<ns3::NetDevice> device) [member function]
gjc@3408
   922
    cls.add_method('NotifyDeviceAdded', 'void', [param('ns3::Ptr< ns3::NetDevice >', 'device')], visibility='private', is_virtual=True)
gjc@3408
   923
    return
gjc@3408
   924
gjc@3408
   925
def register_Ns3TcpSocket_methods(root_module, cls):
gjc@3408
   926
    ## tcp-socket.h: static ns3::TypeId ns3::TcpSocket::GetTypeId() [member function]
gjc@3408
   927
    cls.add_method('GetTypeId', 'ns3::TypeId', [], is_static=True)
gjc@3408
   928
    ## tcp-socket.h: ns3::TcpSocket::TcpSocket() [constructor]
gjc@3408
   929
    cls.add_constructor([], visibility='public')
gjc@3408
   930
    ## tcp-socket.h: void ns3::TcpSocket::SetSndBufSize(uint32_t size) [member function]
gjc@3408
   931
    cls.add_method('SetSndBufSize', 'void', [param('uint32_t', 'size')], is_pure_virtual=True, visibility='private', is_virtual=True)
gjc@3408
   932
    ## tcp-socket.h: uint32_t ns3::TcpSocket::GetSndBufSize() const [member function]
gjc@3408
   933
    cls.add_method('GetSndBufSize', 'uint32_t', [], is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
gjc@3408
   934
    ## tcp-socket.h: void ns3::TcpSocket::SetRcvBufSize(uint32_t size) [member function]
gjc@3408
   935
    cls.add_method('SetRcvBufSize', 'void', [param('uint32_t', 'size')], is_pure_virtual=True, visibility='private', is_virtual=True)
gjc@3408
   936
    ## tcp-socket.h: uint32_t ns3::TcpSocket::GetRcvBufSize() const [member function]
gjc@3408
   937
    cls.add_method('GetRcvBufSize', 'uint32_t', [], is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
gjc@3408
   938
    ## tcp-socket.h: void ns3::TcpSocket::SetSegSize(uint32_t size) [member function]
gjc@3408
   939
    cls.add_method('SetSegSize', 'void', [param('uint32_t', 'size')], is_pure_virtual=True, visibility='private', is_virtual=True)
gjc@3408
   940
    ## tcp-socket.h: uint32_t ns3::TcpSocket::GetSegSize() const [member function]
gjc@3408
   941
    cls.add_method('GetSegSize', 'uint32_t', [], is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
gjc@3408
   942
    ## tcp-socket.h: void ns3::TcpSocket::SetAdvWin(uint32_t window) [member function]
gjc@3408
   943
    cls.add_method('SetAdvWin', 'void', [param('uint32_t', 'window')], is_pure_virtual=True, visibility='private', is_virtual=True)
gjc@3408
   944
    ## tcp-socket.h: uint32_t ns3::TcpSocket::GetAdvWin() const [member function]
gjc@3408
   945
    cls.add_method('GetAdvWin', 'uint32_t', [], is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
gjc@3408
   946
    ## tcp-socket.h: void ns3::TcpSocket::SetSSThresh(uint32_t threshold) [member function]
gjc@3408
   947
    cls.add_method('SetSSThresh', 'void', [param('uint32_t', 'threshold')], is_pure_virtual=True, visibility='private', is_virtual=True)
gjc@3408
   948
    ## tcp-socket.h: uint32_t ns3::TcpSocket::GetSSThresh() const [member function]
gjc@3408
   949
    cls.add_method('GetSSThresh', 'uint32_t', [], is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
gjc@3408
   950
    ## tcp-socket.h: void ns3::TcpSocket::SetInitialCwnd(uint32_t count) [member function]
gjc@3408
   951
    cls.add_method('SetInitialCwnd', 'void', [param('uint32_t', 'count')], is_pure_virtual=True, visibility='private', is_virtual=True)
gjc@3408
   952
    ## tcp-socket.h: uint32_t ns3::TcpSocket::GetInitialCwnd() const [member function]
gjc@3408
   953
    cls.add_method('GetInitialCwnd', 'uint32_t', [], is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
gjc@3408
   954
    ## tcp-socket.h: void ns3::TcpSocket::SetConnTimeout(ns3::Time timeout) [member function]
gjc@3408
   955
    cls.add_method('SetConnTimeout', 'void', [param('ns3::Time', 'timeout')], is_pure_virtual=True, visibility='private', is_virtual=True)
gjc@3408
   956
    ## tcp-socket.h: ns3::Time ns3::TcpSocket::GetConnTimeout() const [member function]
gjc@3408
   957
    cls.add_method('GetConnTimeout', 'ns3::Time', [], is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
gjc@3408
   958
    ## tcp-socket.h: void ns3::TcpSocket::SetConnCount(uint32_t count) [member function]
gjc@3408
   959
    cls.add_method('SetConnCount', 'void', [param('uint32_t', 'count')], is_pure_virtual=True, visibility='private', is_virtual=True)
gjc@3408
   960
    ## tcp-socket.h: uint32_t ns3::TcpSocket::GetConnCount() const [member function]
gjc@3408
   961
    cls.add_method('GetConnCount', 'uint32_t', [], is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
gjc@3408
   962
    ## tcp-socket.h: void ns3::TcpSocket::SetDelAckTimeout(ns3::Time timeout) [member function]
gjc@3408
   963
    cls.add_method('SetDelAckTimeout', 'void', [param('ns3::Time', 'timeout')], is_pure_virtual=True, visibility='private', is_virtual=True)
gjc@3408
   964
    ## tcp-socket.h: ns3::Time ns3::TcpSocket::GetDelAckTimeout() const [member function]
gjc@3408
   965
    cls.add_method('GetDelAckTimeout', 'ns3::Time', [], is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
gjc@3408
   966
    ## tcp-socket.h: void ns3::TcpSocket::SetDelAckMaxCount(uint32_t count) [member function]
gjc@3408
   967
    cls.add_method('SetDelAckMaxCount', 'void', [param('uint32_t', 'count')], is_pure_virtual=True, visibility='private', is_virtual=True)
gjc@3408
   968
    ## tcp-socket.h: uint32_t ns3::TcpSocket::GetDelAckMaxCount() const [member function]
gjc@3408
   969
    cls.add_method('GetDelAckMaxCount', 'uint32_t', [], is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
gjc@3408
   970
    return
gjc@3408
   971
gjc@3457
   972
def register_Ns3Channel_methods(root_module, cls):
gjc@3457
   973
    ## channel.h: static ns3::TypeId ns3::Channel::GetTypeId() [member function]
gjc@3457
   974
    cls.add_method('GetTypeId', 'ns3::TypeId', [], is_static=True)
gjc@3457
   975
    ## channel.h: ns3::Channel::Channel() [constructor]
gjc@3457
   976
    cls.add_constructor([], visibility='public')
gjc@3457
   977
    ## channel.h: ns3::Channel::Channel(std::string name) [constructor]
gjc@3457
   978
    cls.add_constructor([param('std::string', 'name')], visibility='public')
gjc@3457
   979
    ## channel.h: void ns3::Channel::SetName(std::string arg0) [member function]
gjc@3457
   980
    cls.add_method('SetName', 'void', [param('std::string', 'arg0')])
gjc@3457
   981
    ## channel.h: std::string ns3::Channel::GetName() [member function]
gjc@3457
   982
    cls.add_method('GetName', 'std::string', [])
gjc@3457
   983
    ## channel.h: uint32_t ns3::Channel::GetNDevices() const [member function]
gjc@3457
   984
    cls.add_method('GetNDevices', 'uint32_t', [], is_pure_virtual=True, is_const=True, is_virtual=True)
gjc@3457
   985
    ## channel.h: ns3::Ptr<ns3::NetDevice> ns3::Channel::GetDevice(uint32_t i) const [member function]
gjc@3457
   986
    cls.add_method('GetDevice', 'ns3::Ptr< ns3::NetDevice >', [param('uint32_t', 'i')], is_pure_virtual=True, is_const=True, is_virtual=True)
gjc@3457
   987
    return
gjc@3457
   988
gjc@3408
   989
def register_Ns3EthernetHeader_methods(root_module, cls):
gjc@3408
   990
    ## ethernet-header.h: ns3::EthernetHeader::EthernetHeader(bool hasPreamble) [constructor]
gjc@3408
   991
    cls.add_constructor([param('bool', 'hasPreamble')], visibility='public')
gjc@3408
   992
    ## ethernet-header.h: ns3::EthernetHeader::EthernetHeader() [constructor]
gjc@3408
   993
    cls.add_constructor([], visibility='public')
gjc@3408
   994
    ## ethernet-header.h: void ns3::EthernetHeader::SetLengthType(uint16_t size) [member function]
gjc@3408
   995
    cls.add_method('SetLengthType', 'void', [param('uint16_t', 'size')])
gjc@3408
   996
    ## ethernet-header.h: void ns3::EthernetHeader::SetSource(ns3::Mac48Address source) [member function]
gjc@3408
   997
    cls.add_method('SetSource', 'void', [param('ns3::Mac48Address', 'source')])
gjc@3408
   998
    ## ethernet-header.h: void ns3::EthernetHeader::SetDestination(ns3::Mac48Address destination) [member function]
gjc@3408
   999
    cls.add_method('SetDestination', 'void', [param('ns3::Mac48Address', 'destination')])
gjc@3408
  1000
    ## ethernet-header.h: void ns3::EthernetHeader::SetPreambleSfd(uint64_t preambleSfd) [member function]
gjc@3408
  1001
    cls.add_method('SetPreambleSfd', 'void', [param('uint64_t', 'preambleSfd')])
gjc@3408
  1002
    ## ethernet-header.h: uint16_t ns3::EthernetHeader::GetLengthType() const [member function]
gjc@3408
  1003
    cls.add_method('GetLengthType', 'uint16_t', [], is_const=True)
gjc@3408
  1004
    ## ethernet-header.h: ns3::ethernet_header_t ns3::EthernetHeader::GetPacketType() const [member function]
gjc@3408
  1005
    cls.add_method('GetPacketType', 'ns3::ethernet_header_t', [], is_const=True)
gjc@3408
  1006
    ## ethernet-header.h: ns3::Mac48Address ns3::EthernetHeader::GetSource() const [member function]
gjc@3408
  1007
    cls.add_method('GetSource', 'ns3::Mac48Address', [], is_const=True)
gjc@3408
  1008
    ## ethernet-header.h: ns3::Mac48Address ns3::EthernetHeader::GetDestination() const [member function]
gjc@3408
  1009
    cls.add_method('GetDestination', 'ns3::Mac48Address', [], is_const=True)
gjc@3408
  1010
    ## ethernet-header.h: uint64_t ns3::EthernetHeader::GetPreambleSfd() const [member function]
gjc@3408
  1011
    cls.add_method('GetPreambleSfd', 'uint64_t', [], is_const=True)
gjc@3408
  1012
    ## ethernet-header.h: uint32_t ns3::EthernetHeader::GetHeaderSize() const [member function]
gjc@3408
  1013
    cls.add_method('GetHeaderSize', 'uint32_t', [], is_const=True)
gjc@3408
  1014
    ## ethernet-header.h: static ns3::TypeId ns3::EthernetHeader::GetTypeId() [member function]
gjc@3408
  1015
    cls.add_method('GetTypeId', 'ns3::TypeId', [], is_static=True)
gjc@3408
  1016
    ## ethernet-header.h: ns3::TypeId ns3::EthernetHeader::GetInstanceTypeId() const [member function]
gjc@3408
  1017
    cls.add_method('GetInstanceTypeId', 'ns3::TypeId', [], is_const=True, is_virtual=True)
gjc@3408
  1018
    ## ethernet-header.h: void ns3::EthernetHeader::Print(std::ostream & os) const [member function]
gjc@3408
  1019
    cls.add_method('Print', 'void', [param('std::ostream&', 'os')], is_const=True, is_virtual=True)
gjc@3408
  1020
    ## ethernet-header.h: uint32_t ns3::EthernetHeader::GetSerializedSize() const [member function]
gjc@3408
  1021
    cls.add_method('GetSerializedSize', 'uint32_t', [], is_const=True, is_virtual=True)
gjc@3408
  1022
    ## ethernet-header.h: void ns3::EthernetHeader::Serialize(ns3::Buffer::Iterator start) const [member function]
gjc@3408
  1023
    cls.add_method('Serialize', 'void', [param('ns3::Buffer::Iterator', 'start')], is_const=True, is_virtual=True)
gjc@3408
  1024
    ## ethernet-header.h: uint32_t ns3::EthernetHeader::Deserialize(ns3::Buffer::Iterator start) [member function]
gjc@3408
  1025
    cls.add_method('Deserialize', 'uint32_t', [param('ns3::Buffer::Iterator', 'start')], is_virtual=True)
gjc@3408
  1026
    return
gjc@3408
  1027
gjc@3408
  1028
def register_Ns3SocketIpTtlTag_methods(root_module, cls):
gjc@3408
  1029
    ## socket.h: ns3::SocketIpTtlTag::SocketIpTtlTag() [constructor]
gjc@3408
  1030
    cls.add_constructor([], visibility='public')
gjc@3408
  1031
    ## socket.h: void ns3::SocketIpTtlTag::SetTtl(uint8_t ttl) [member function]
gjc@3408
  1032
    cls.add_method('SetTtl', 'void', [param('uint8_t', 'ttl')])
gjc@3408
  1033
    ## socket.h: uint8_t ns3::SocketIpTtlTag::GetTtl() const [member function]
gjc@3408
  1034
    cls.add_method('GetTtl', 'uint8_t', [], is_const=True)
gjc@3408
  1035
    ## socket.h: static ns3::TypeId ns3::SocketIpTtlTag::GetTypeId() [member function]
gjc@3408
  1036
    cls.add_method('GetTypeId', 'ns3::TypeId', [], is_static=True)
gjc@3408
  1037
    ## socket.h: ns3::TypeId ns3::SocketIpTtlTag::GetInstanceTypeId() const [member function]
gjc@3408
  1038
    cls.add_method('GetInstanceTypeId', 'ns3::TypeId', [], is_const=True, is_virtual=True)
gjc@3408
  1039
    ## socket.h: uint32_t ns3::SocketIpTtlTag::GetSerializedSize() const [member function]
gjc@3408
  1040
    cls.add_method('GetSerializedSize', 'uint32_t', [], is_const=True, is_virtual=True)
gjc@3408
  1041
    ## socket.h: void ns3::SocketIpTtlTag::Serialize(ns3::TagBuffer i) const [member function]
gjc@3408
  1042
    cls.add_method('Serialize', 'void', [param('ns3::TagBuffer', 'i')], is_const=True, is_virtual=True)
gjc@3408
  1043
    ## socket.h: void ns3::SocketIpTtlTag::Deserialize(ns3::TagBuffer i) [member function]
gjc@3408
  1044
    cls.add_method('Deserialize', 'void', [param('ns3::TagBuffer', 'i')], is_virtual=True)
gjc@3408
  1045
    ## socket.h: void ns3::SocketIpTtlTag::Print(std::ostream & os) const [member function]
gjc@3408
  1046
    cls.add_method('Print', 'void', [param('std::ostream&', 'os')], is_const=True, is_virtual=True)
gjc@3408
  1047
    return
gjc@3408
  1048
gjc@3408
  1049
def register_Ns3Ipv4_methods(root_module, cls):
gjc@3408
  1050
    ## ipv4.h: static ns3::TypeId ns3::Ipv4::GetTypeId() [member function]
gjc@3408
  1051
    cls.add_method('GetTypeId', 'ns3::TypeId', [], is_static=True)
gjc@3408
  1052
    ## ipv4.h: ns3::Ipv4::Ipv4() [constructor]
gjc@3408
  1053
    cls.add_constructor([], visibility='public')
gjc@3408
  1054
    ## ipv4.h: void ns3::Ipv4::AddRoutingProtocol(ns3::Ptr<ns3::Ipv4RoutingProtocol> routingProtocol, int16_t priority) [member function]
gjc@3408
  1055
    cls.add_method('AddRoutingProtocol', 'void', [param('ns3::Ptr< ns3::Ipv4RoutingProtocol >', 'routingProtocol'), param('int16_t', 'priority')], is_pure_virtual=True, is_virtual=True)
gjc@3408
  1056
    ## ipv4.h: void ns3::Ipv4::AddHostRouteTo(ns3::Ipv4Address dest, ns3::Ipv4Address nextHop, uint32_t interface) [member function]
gjc@3408
  1057
    cls.add_method('AddHostRouteTo', 'void', [param('ns3::Ipv4Address', 'dest'), param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')], is_pure_virtual=True, is_virtual=True)
gjc@3408
  1058
    ## ipv4.h: void ns3::Ipv4::AddHostRouteTo(ns3::Ipv4Address dest, uint32_t interface) [member function]
gjc@3408
  1059
    cls.add_method('AddHostRouteTo', 'void', [param('ns3::Ipv4Address', 'dest'), param('uint32_t', 'interface')], is_pure_virtual=True, is_virtual=True)
gjc@3408
  1060
    ## ipv4.h: void ns3::Ipv4::AddNetworkRouteTo(ns3::Ipv4Address network, ns3::Ipv4Mask networkMask, ns3::Ipv4Address nextHop, uint32_t interface) [member function]
gjc@3408
  1061
    cls.add_method('AddNetworkRouteTo', 'void', [param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'networkMask'), param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')], is_pure_virtual=True, is_virtual=True)
gjc@3408
  1062
    ## ipv4.h: void ns3::Ipv4::AddNetworkRouteTo(ns3::Ipv4Address network, ns3::Ipv4Mask networkMask, uint32_t interface) [member function]
gjc@3408
  1063
    cls.add_method('AddNetworkRouteTo', 'void', [param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'networkMask'), param('uint32_t', 'interface')], is_pure_virtual=True, is_virtual=True)
gjc@3408
  1064
    ## ipv4.h: void ns3::Ipv4::SetDefaultRoute(ns3::Ipv4Address nextHop, uint32_t interface) [member function]
gjc@3408
  1065
    cls.add_method('SetDefaultRoute', 'void', [param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')], is_pure_virtual=True, is_virtual=True)
gjc@3408
  1066
    ## ipv4.h: uint32_t ns3::Ipv4::GetNRoutes() [member function]
gjc@3408
  1067
    cls.add_method('GetNRoutes', 'uint32_t', [], is_pure_virtual=True, is_virtual=True)
gjc@3408
  1068
    ## ipv4.h: ns3::Ipv4Route ns3::Ipv4::GetRoute(uint32_t i) [member function]
gjc@3408
  1069
    cls.add_method('GetRoute', 'ns3::Ipv4Route', [param('uint32_t', 'i')], is_pure_virtual=True, is_virtual=True)
gjc@3408
  1070
    ## ipv4.h: void ns3::Ipv4::RemoveRoute(uint32_t i) [member function]
gjc@3408
  1071
    cls.add_method('RemoveRoute', 'void', [param('uint32_t', 'i')], is_pure_virtual=True, is_virtual=True)
gjc@3408
  1072
    ## 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@3408
  1073
    cls.add_method('AddMulticastRoute', 'void', [param('ns3::Ipv4Address', 'origin'), param('ns3::Ipv4Address', 'group'), param('uint32_t', 'inputInterface'), param('std::vector< unsigned int, std::allocator< unsigned int > >', 'outputInterfaces')], is_pure_virtual=True, is_virtual=True)
gjc@3408
  1074
    ## ipv4.h: void ns3::Ipv4::RemoveMulticastRoute(ns3::Ipv4Address origin, ns3::Ipv4Address group, uint32_t inputInterface) [member function]
gjc@3408
  1075
    cls.add_method('RemoveMulticastRoute', 'void', [param('ns3::Ipv4Address', 'origin'), param('ns3::Ipv4Address', 'group'), param('uint32_t', 'inputInterface')], is_pure_virtual=True, is_virtual=True)
gjc@3408
  1076
    ## ipv4.h: void ns3::Ipv4::SetDefaultMulticastRoute(uint32_t outputInterface) [member function]
gjc@3408
  1077
    cls.add_method('SetDefaultMulticastRoute', 'void', [param('uint32_t', 'outputInterface')], is_pure_virtual=True, is_virtual=True)
gjc@3408
  1078
    ## ipv4.h: uint32_t ns3::Ipv4::GetNMulticastRoutes() const [member function]
gjc@3408
  1079
    cls.add_method('GetNMulticastRoutes', 'uint32_t', [], is_pure_virtual=True, is_const=True, is_virtual=True)
gjc@3408
  1080
    ## ipv4.h: ns3::Ipv4MulticastRoute ns3::Ipv4::GetMulticastRoute(uint32_t i) const [member function]
gjc@3408
  1081
    cls.add_method('GetMulticastRoute', 'ns3::Ipv4MulticastRoute', [param('uint32_t', 'i')], is_pure_virtual=True, is_const=True, is_virtual=True)
gjc@3408
  1082
    ## ipv4.h: void ns3::Ipv4::RemoveMulticastRoute(uint32_t i) [member function]
gjc@3408
  1083
    cls.add_method('RemoveMulticastRoute', 'void', [param('uint32_t', 'i')], is_pure_virtual=True, is_virtual=True)
gjc@3408
  1084
    ## ipv4.h: uint32_t ns3::Ipv4::AddInterface(ns3::Ptr<ns3::NetDevice> device) [member function]
gjc@3408
  1085
    cls.add_method('AddInterface', 'uint32_t', [param('ns3::Ptr< ns3::NetDevice >', 'device')], is_pure_virtual=True, is_virtual=True)
gjc@3408
  1086
    ## ipv4.h: uint32_t ns3::Ipv4::GetNInterfaces() [member function]
gjc@3408
  1087
    cls.add_method('GetNInterfaces', 'uint32_t', [], is_pure_virtual=True, is_virtual=True)
gjc@3408
  1088
    ## ipv4.h: uint32_t ns3::Ipv4::FindInterfaceForAddr(ns3::Ipv4Address addr) const [member function]
gjc@3408
  1089
    cls.add_method('FindInterfaceForAddr', 'uint32_t', [param('ns3::Ipv4Address', 'addr')], is_pure_virtual=True, is_const=True, is_virtual=True)
gjc@3408
  1090
    ## ipv4.h: uint32_t ns3::Ipv4::FindInterfaceForAddr(ns3::Ipv4Address addr, ns3::Ipv4Mask mask) const [member function]
gjc@3408
  1091
    cls.add_method('FindInterfaceForAddr', 'uint32_t', [param('ns3::Ipv4Address', 'addr'), param('ns3::Ipv4Mask', 'mask')], is_pure_virtual=True, is_const=True, is_virtual=True)
gjc@3408
  1092
    ## ipv4.h: int32_t ns3::Ipv4::FindInterfaceForDevice(ns3::Ptr<ns3::NetDevice> nd) const [member function]
gjc@3408
  1093
    cls.add_method('FindInterfaceForDevice', 'int32_t', [param('ns3::Ptr< ns3::NetDevice >', 'nd')], is_pure_virtual=True, is_const=True, is_virtual=True)
gjc@3408
  1094
    ## ipv4.h: ns3::Ptr<ns3::NetDevice> ns3::Ipv4::GetNetDevice(uint32_t i) [member function]
gjc@3408
  1095
    cls.add_method('GetNetDevice', 'ns3::Ptr< ns3::NetDevice >', [param('uint32_t', 'i')], is_pure_virtual=True, is_virtual=True)
gjc@3408
  1096
    ## ipv4.h: void ns3::Ipv4::JoinMulticastGroup(ns3::Ipv4Address origin, ns3::Ipv4Address group) [member function]
gjc@3408
  1097
    cls.add_method('JoinMulticastGroup', 'void', [param('ns3::Ipv4Address', 'origin'), param('ns3::Ipv4Address', 'group')], is_pure_virtual=True, is_virtual=True)
gjc@3408
  1098
    ## ipv4.h: void ns3::Ipv4::LeaveMulticastGroup(ns3::Ipv4Address origin, ns3::Ipv4Address group) [member function]
gjc@3408
  1099
    cls.add_method('LeaveMulticastGroup', 'void', [param('ns3::Ipv4Address', 'origin'), param('ns3::Ipv4Address', 'group')], is_pure_virtual=True, is_virtual=True)
gjc@3408
  1100
    ## ipv4.h: void ns3::Ipv4::SetAddress(uint32_t i, ns3::Ipv4Address address) [member function]
gjc@3408
  1101
    cls.add_method('SetAddress', 'void', [param('uint32_t', 'i'), param('ns3::Ipv4Address', 'address')], is_pure_virtual=True, is_virtual=True)
gjc@3408
  1102
    ## ipv4.h: void ns3::Ipv4::SetNetworkMask(uint32_t i, ns3::Ipv4Mask mask) [member function]
gjc@3408
  1103
    cls.add_method('SetNetworkMask', 'void', [param('uint32_t', 'i'), param('ns3::Ipv4Mask', 'mask')], is_pure_virtual=True, is_virtual=True)
gjc@3408
  1104
    ## ipv4.h: ns3::Ipv4Mask ns3::Ipv4::GetNetworkMask(uint32_t i) const [member function]
gjc@3408
  1105
    cls.add_method('GetNetworkMask', 'ns3::Ipv4Mask', [param('uint32_t', 'i')], is_pure_virtual=True, is_const=True, is_virtual=True)
gjc@3408
  1106
    ## ipv4.h: void ns3::Ipv4::SetMetric(uint32_t i, uint16_t metric) [member function]
gjc@3408
  1107
    cls.add_method('SetMetric', 'void', [param('uint32_t', 'i'), param('uint16_t', 'metric')], is_pure_virtual=True, is_virtual=True)
gjc@3408
  1108
    ## ipv4.h: uint16_t ns3::Ipv4::GetMetric(uint32_t i) const [member function]
gjc@3408
  1109
    cls.add_method('GetMetric', 'uint16_t', [param('uint32_t', 'i')], is_pure_virtual=True, is_const=True, is_virtual=True)
gjc@3408
  1110
    ## ipv4.h: ns3::Ipv4Address ns3::Ipv4::GetAddress(uint32_t i) const [member function]
gjc@3408
  1111
    cls.add_method('GetAddress', 'ns3::Ipv4Address', [param('uint32_t', 'i')], is_pure_virtual=True, is_const=True, is_virtual=True)
gjc@3408
  1112
    ## ipv4.h: ns3::Ipv4Address ns3::Ipv4::GetSourceAddress(ns3::Ipv4Address destination) const [member function]
gjc@3408
  1113
    cls.add_method('GetSourceAddress', 'ns3::Ipv4Address', [param('ns3::Ipv4Address', 'destination')], is_pure_virtual=True, is_const=True, is_virtual=True)
gjc@3408
  1114
    ## ipv4.h: bool ns3::Ipv4::GetIfIndexForDestination(ns3::Ipv4Address dest, uint32_t & ifIndex) const [member function]
gjc@3408
  1115
    cls.add_method('GetIfIndexForDestination', 'bool', [param('ns3::Ipv4Address', 'dest'), param('uint32_t&', 'ifIndex')], is_pure_virtual=True, is_const=True, is_virtual=True)
gjc@3408
  1116
    ## ipv4.h: uint16_t ns3::Ipv4::GetMtu(uint32_t i) const [member function]
gjc@3408
  1117
    cls.add_method('GetMtu', 'uint16_t', [param('uint32_t', 'i')], is_pure_virtual=True, is_const=True, is_virtual=True)
gjc@3408
  1118
    ## ipv4.h: bool ns3::Ipv4::IsUp(uint32_t i) const [member function]
gjc@3408
  1119
    cls.add_method('IsUp', 'bool', [param('uint32_t', 'i')], is_pure_virtual=True, is_const=True, is_virtual=True)
gjc@3408
  1120
    ## ipv4.h: void ns3::Ipv4::SetUp(uint32_t i) [member function]
gjc@3408
  1121
    cls.add_method('SetUp', 'void', [param('uint32_t', 'i')], is_pure_virtual=True, is_virtual=True)
gjc@3408
  1122
    ## ipv4.h: void ns3::Ipv4::SetDown(uint32_t i) [member function]
gjc@3408
  1123
    cls.add_method('SetDown', 'void', [param('uint32_t', 'i')], is_pure_virtual=True, is_virtual=True)
gjc@3408
  1124
    ## ipv4.h: uint32_t ns3::Ipv4::GetIfIndexByAddress(ns3::Ipv4Address addr, ns3::Ipv4Mask mask=ns3::Ipv4Mask(((const char*)"255.255.255.255"))) [member function]
gjc@3408
  1125
    cls.add_method('GetIfIndexByAddress', 'uint32_t', [param('ns3::Ipv4Address', 'addr'), param('ns3::Ipv4Mask', 'mask', default_value='ns3::Ipv4Mask(((const char*)"255.255.255.255"))')], is_virtual=True)
gjc@3408
  1126
    return
gjc@3408
  1127
gjc@3408
  1128
def register_Ns3SocketFactory_methods(root_module, cls):
gjc@3408
  1129
    ## socket-factory.h: static ns3::TypeId ns3::SocketFactory::GetTypeId() [member function]
gjc@3408
  1130
    cls.add_method('GetTypeId', 'ns3::TypeId', [], is_static=True)
gjc@3408
  1131
    ## socket-factory.h: ns3::SocketFactory::SocketFactory() [constructor]
gjc@3408
  1132
    cls.add_constructor([], visibility='public')
gjc@3408
  1133
    ## socket-factory.h: ns3::Ptr<ns3::Socket> ns3::SocketFactory::CreateSocket() [member function]
gjc@3408
  1134
    cls.add_method('CreateSocket', 'ns3::Ptr< ns3::Socket >', [], is_pure_virtual=True, is_virtual=True)
gjc@3408
  1135
    return
gjc@3408
  1136
gjc@3408
  1137
def register_Ns3DropTailQueue_methods(root_module, cls):
gjc@3408
  1138
    ## drop-tail-queue.h: static ns3::TypeId ns3::DropTailQueue::GetTypeId() [member function]
gjc@3408
  1139
    cls.add_method('GetTypeId', 'ns3::TypeId', [], is_static=True)
gjc@3408
  1140
    ## drop-tail-queue.h: ns3::DropTailQueue::DropTailQueue() [constructor]
gjc@3408
  1141
    cls.add_constructor([], visibility='public')
gjc@3408
  1142
    ## drop-tail-queue.h: bool ns3::DropTailQueue::DoEnqueue(ns3::Ptr<ns3::Packet> p) [member function]
gjc@3408
  1143
    cls.add_method('DoEnqueue', 'bool', [param('ns3::Ptr< ns3::Packet >', 'p')], visibility='private', is_virtual=True)
gjc@3408
  1144
    ## drop-tail-queue.h: ns3::Ptr<ns3::Packet> ns3::DropTailQueue::DoDequeue() [member function]
gjc@3408
  1145
    cls.add_method('DoDequeue', 'ns3::Ptr< ns3::Packet >', [], visibility='private', is_virtual=True)
gjc@3408
  1146
    ## drop-tail-queue.h: ns3::Ptr<ns3::Packet> ns3::DropTailQueue::DoPeek() const [member function]
gjc@3408
  1147
    cls.add_method('DoPeek', 'ns3::Ptr< ns3::Packet >', [], is_const=True, visibility='private', is_virtual=True)
gjc@3408
  1148
    return
gjc@3408
  1149
gjc@3408
  1150
def register_Ns3EthernetTrailer_methods(root_module, cls):
gjc@3408
  1151
    ## ethernet-trailer.h: ns3::EthernetTrailer::EthernetTrailer() [constructor]
gjc@3408
  1152
    cls.add_constructor([], visibility='public')
gjc@3408
  1153
    ## ethernet-trailer.h: static void ns3::EthernetTrailer::EnableFcs(bool enable) [member function]
gjc@3408
  1154
    cls.add_method('EnableFcs', 'void', [param('bool', 'enable')], is_static=True)
gjc@3408
  1155
    ## ethernet-trailer.h: void ns3::EthernetTrailer::CalcFcs(ns3::Ptr<ns3::Packet> p) [member function]
gjc@3408
  1156
    cls.add_method('CalcFcs', 'void', [param('ns3::Ptr< ns3::Packet >', 'p')])
gjc@3408
  1157
    ## ethernet-trailer.h: void ns3::EthernetTrailer::SetFcs(uint32_t fcs) [member function]
gjc@3408
  1158
    cls.add_method('SetFcs', 'void', [param('uint32_t', 'fcs')])
gjc@3408
  1159
    ## ethernet-trailer.h: uint32_t ns3::EthernetTrailer::GetFcs() [member function]
gjc@3408
  1160
    cls.add_method('GetFcs', 'uint32_t', [])
gjc@3408
  1161
    ## ethernet-trailer.h: bool ns3::EthernetTrailer::CheckFcs(ns3::Ptr<ns3::Packet> p) const [member function]
gjc@3408
  1162
    cls.add_method('CheckFcs', 'bool', [param('ns3::Ptr< ns3::Packet >', 'p')], is_const=True)
gjc@3408
  1163
    ## ethernet-trailer.h: uint32_t ns3::EthernetTrailer::GetTrailerSize() const [member function]
gjc@3408
  1164
    cls.add_method('GetTrailerSize', 'uint32_t', [], is_const=True)
gjc@3408
  1165
    ## ethernet-trailer.h: static ns3::TypeId ns3::EthernetTrailer::GetTypeId() [member function]
gjc@3408
  1166
    cls.add_method('GetTypeId', 'ns3::TypeId', [], is_static=True)
gjc@3408
  1167
    ## ethernet-trailer.h: ns3::TypeId ns3::EthernetTrailer::GetInstanceTypeId() const [member function]
gjc@3408
  1168
    cls.add_method('GetInstanceTypeId', 'ns3::TypeId', [], is_const=True, is_virtual=True)
gjc@3408
  1169
    ## ethernet-trailer.h: void ns3::EthernetTrailer::Print(std::ostream & os) const [member function]
gjc@3408
  1170
    cls.add_method('Print', 'void', [param('std::ostream&', 'os')], is_const=True, is_virtual=True)
gjc@3408
  1171
    ## ethernet-trailer.h: uint32_t ns3::EthernetTrailer::GetSerializedSize() const [member function]
gjc@3408
  1172
    cls.add_method('GetSerializedSize', 'uint32_t', [], is_const=True, is_virtual=True)
gjc@3408
  1173
    ## ethernet-trailer.h: void ns3::EthernetTrailer::Serialize(ns3::Buffer::Iterator end) const [member function]
gjc@3408
  1174
    cls.add_method('Serialize', 'void', [param('ns3::Buffer::Iterator', 'end')], is_const=True, is_virtual=True)
gjc@3408
  1175
    ## ethernet-trailer.h: uint32_t ns3::EthernetTrailer::Deserialize(ns3::Buffer::Iterator end) [member function]
gjc@3408
  1176
    cls.add_method('Deserialize', 'uint32_t', [param('ns3::Buffer::Iterator', 'end')], is_virtual=True)
gjc@3408
  1177
    return
gjc@3408
  1178
gjc@3408
  1179
def register_Ns3LlcSnapHeader_methods(root_module, cls):
gjc@3408
  1180
    ## llc-snap-header.h: ns3::LlcSnapHeader::LlcSnapHeader() [constructor]
gjc@3408
  1181
    cls.add_constructor([], visibility='public')
gjc@3408
  1182
    ## llc-snap-header.h: void ns3::LlcSnapHeader::SetType(uint16_t type) [member function]
gjc@3408
  1183
    cls.add_method('SetType', 'void', [param('uint16_t', 'type')])
gjc@3408
  1184
    ## llc-snap-header.h: uint16_t ns3::LlcSnapHeader::GetType() [member function]
gjc@3408
  1185
    cls.add_method('GetType', 'uint16_t', [])
gjc@3408
  1186
    ## llc-snap-header.h: static ns3::TypeId ns3::LlcSnapHeader::GetTypeId() [member function]
gjc@3408
  1187
    cls.add_method('GetTypeId', 'ns3::TypeId', [], is_static=True)
gjc@3408
  1188
    ## llc-snap-header.h: ns3::TypeId ns3::LlcSnapHeader::GetInstanceTypeId() const [member function]
gjc@3408
  1189
    cls.add_method('GetInstanceTypeId', 'ns3::TypeId', [], is_const=True, is_virtual=True)
gjc@3408
  1190
    ## llc-snap-header.h: void ns3::LlcSnapHeader::Print(std::ostream & os) const [member function]
gjc@3408
  1191
    cls.add_method('Print', 'void', [param('std::ostream&', 'os')], is_const=True, is_virtual=True)
gjc@3408
  1192
    ## llc-snap-header.h: uint32_t ns3::LlcSnapHeader::GetSerializedSize() const [member function]
gjc@3408
  1193
    cls.add_method('GetSerializedSize', 'uint32_t', [], is_const=True, is_virtual=True)
gjc@3408
  1194
    ## llc-snap-header.h: void ns3::LlcSnapHeader::Serialize(ns3::Buffer::Iterator start) const [member function]
gjc@3408
  1195
    cls.add_method('Serialize', 'void', [param('ns3::Buffer::Iterator', 'start')], is_const=True, is_virtual=True)
gjc@3408
  1196
    ## llc-snap-header.h: uint32_t ns3::LlcSnapHeader::Deserialize(ns3::Buffer::Iterator start) [member function]
gjc@3408
  1197
    cls.add_method('Deserialize', 'uint32_t', [param('ns3::Buffer::Iterator', 'start')], is_virtual=True)
gjc@3408
  1198
    return
gjc@3408
  1199
gjc@3408
  1200
def register_Ns3UdpSocketFactory_methods(root_module, cls):
gjc@3408
  1201
    ## udp-socket-factory.h: static ns3::TypeId ns3::UdpSocketFactory::GetTypeId() [member function]
gjc@3408
  1202
    cls.add_method('GetTypeId', 'ns3::TypeId', [], is_static=True)
gjc@3408
  1203
    cls.add_constructor([])
gjc@3408
  1204
    return
gjc@3408
  1205
gjc@3408
  1206
def register_Ns3SimpleNetDevice_methods(root_module, cls):
gjc@3408
  1207
    ## simple-net-device.h: static ns3::TypeId ns3::SimpleNetDevice::GetTypeId() [member function]
gjc@3408
  1208
    cls.add_method('GetTypeId', 'ns3::TypeId', [], is_static=True)
gjc@3408
  1209
    ## simple-net-device.h: ns3::SimpleNetDevice::SimpleNetDevice() [constructor]
gjc@3408
  1210
    cls.add_constructor([], visibility='public')
gjc@3408
  1211
    ## simple-net-device.h: void ns3::SimpleNetDevice::Receive(ns3::Ptr<ns3::Packet> packet, uint16_t protocol, ns3::Mac48Address to, ns3::Mac48Address from) [member function]
gjc@3408
  1212
    cls.add_method('Receive', 'void', [param('ns3::Ptr< ns3::Packet >', 'packet'), param('uint16_t', 'protocol'), param('ns3::Mac48Address', 'to'), param('ns3::Mac48Address', 'from')])
gjc@3408
  1213
    ## simple-net-device.h: void ns3::SimpleNetDevice::SetChannel(ns3::Ptr<ns3::SimpleChannel> channel) [member function]
gjc@3408
  1214
    cls.add_method('SetChannel', 'void', [param('ns3::Ptr< ns3::SimpleChannel >', 'channel')])
gjc@3408
  1215
    ## simple-net-device.h: void ns3::SimpleNetDevice::SetAddress(ns3::Mac48Address address) [member function]
gjc@3408
  1216
    cls.add_method('SetAddress', 'void', [param('ns3::Mac48Address', 'address')])
gjc@3408
  1217
    ## simple-net-device.h: void ns3::SimpleNetDevice::SetName(std::string const name) [member function]
gjc@3408
  1218
    cls.add_method('SetName', 'void', [param('std::string', 'name', is_const=True)], is_virtual=True)
gjc@3408
  1219
    ## simple-net-device.h: std::string ns3::SimpleNetDevice::GetName() const [member function]
gjc@3408
  1220
    cls.add_method('GetName', 'std::string', [], is_const=True, is_virtual=True)
gjc@3408
  1221
    ## simple-net-device.h: void ns3::SimpleNetDevice::SetIfIndex(uint32_t const index) [member function]
gjc@3408
  1222
    cls.add_method('SetIfIndex', 'void', [param('uint32_t', 'index', is_const=True)], is_virtual=True)
gjc@3408
  1223
    ## simple-net-device.h: uint32_t ns3::SimpleNetDevice::GetIfIndex() const [member function]
gjc@3408
  1224
    cls.add_method('GetIfIndex', 'uint32_t', [], is_const=True, is_virtual=True)
gjc@3408
  1225
    ## simple-net-device.h: ns3::Ptr<ns3::Channel> ns3::SimpleNetDevice::GetChannel() const [member function]
gjc@3408
  1226
    cls.add_method('GetChannel', 'ns3::Ptr< ns3::Channel >', [], is_const=True, is_virtual=True)
gjc@3408
  1227
    ## simple-net-device.h: ns3::Address ns3::SimpleNetDevice::GetAddress() const [member function]
gjc@3408
  1228
    cls.add_method('GetAddress', 'ns3::Address', [], is_const=True, is_virtual=True)
gjc@3408
  1229
    ## simple-net-device.h: bool ns3::SimpleNetDevice::SetMtu(uint16_t const mtu) [member function]
gjc@3408
  1230
    cls.add_method('SetMtu', 'bool', [param('uint16_t', 'mtu', is_const=True)], is_virtual=True)
gjc@3408
  1231
    ## simple-net-device.h: uint16_t ns3::SimpleNetDevice::GetMtu() const [member function]
gjc@3408
  1232
    cls.add_method('GetMtu', 'uint16_t', [], is_const=True, is_virtual=True)
gjc@3408
  1233
    ## simple-net-device.h: bool ns3::SimpleNetDevice::IsLinkUp() const [member function]
gjc@3408
  1234
    cls.add_method('IsLinkUp', 'bool', [], is_const=True, is_virtual=True)
gjc@3408
  1235
    ## simple-net-device.h: void ns3::SimpleNetDevice::SetLinkChangeCallback(ns3::Callback<void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> callback) [member function]
gjc@3408
  1236
    cls.add_method('SetLinkChangeCallback', 'void', [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')], is_virtual=True)
gjc@3408
  1237
    ## simple-net-device.h: bool ns3::SimpleNetDevice::IsBroadcast() const [member function]
gjc@3408
  1238
    cls.add_method('IsBroadcast', 'bool', [], is_const=True, is_virtual=True)
gjc@3408
  1239
    ## simple-net-device.h: ns3::Address ns3::SimpleNetDevice::GetBroadcast() const [member function]
gjc@3408
  1240
    cls.add_method('GetBroadcast', 'ns3::Address', [], is_const=True, is_virtual=True)
gjc@3408
  1241
    ## simple-net-device.h: bool ns3::SimpleNetDevice::IsMulticast() const [member function]
gjc@3408
  1242
    cls.add_method('IsMulticast', 'bool', [], is_const=True, is_virtual=True)
gjc@3408
  1243
    ## simple-net-device.h: ns3::Address ns3::SimpleNetDevice::GetMulticast() const [member function]
gjc@3408
  1244
    cls.add_method('GetMulticast', 'ns3::Address', [], is_const=True, is_virtual=True)
gjc@3408
  1245
    ## simple-net-device.h: ns3::Address ns3::SimpleNetDevice::MakeMulticastAddress(ns3::Ipv4Address multicastGroup) const [member function]
gjc@3408
  1246
    cls.add_method('MakeMulticastAddress', 'ns3::Address', [param('ns3::Ipv4Address', 'multicastGroup')], is_const=True, is_virtual=True)
gjc@3408
  1247
    ## simple-net-device.h: bool ns3::SimpleNetDevice::IsPointToPoint() const [member function]
gjc@3408
  1248
    cls.add_method('IsPointToPoint', 'bool', [], is_const=True, is_virtual=True)
gjc@3408
  1249
    ## simple-net-device.h: bool ns3::SimpleNetDevice::Send(ns3::Ptr<ns3::Packet> packet, ns3::Address const & dest, uint16_t protocolNumber) [member function]
gjc@3408
  1250
    cls.add_method('Send', 'bool', [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address&', 'dest', is_const=True), param('uint16_t', 'protocolNumber')], is_virtual=True)
gjc@3457
  1251
    ## simple-net-device.h: bool ns3::SimpleNetDevice::SendFrom(ns3::Ptr<ns3::Packet> packet, ns3::Address const & source, ns3::Address const & dest, uint16_t protocolNumber) [member function]
gjc@3457
  1252
    cls.add_method('SendFrom', 'bool', [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address&', 'source', is_const=True), param('ns3::Address&', 'dest', is_const=True), param('uint16_t', 'protocolNumber')], is_virtual=True)
gjc@3408
  1253
    ## simple-net-device.h: ns3::Ptr<ns3::Node> ns3::SimpleNetDevice::GetNode() const [member function]
gjc@3408
  1254
    cls.add_method('GetNode', 'ns3::Ptr< ns3::Node >', [], is_const=True, is_virtual=True)
gjc@3408
  1255
    ## simple-net-device.h: void ns3::SimpleNetDevice::SetNode(ns3::Ptr<ns3::Node> node) [member function]
gjc@3408
  1256
    cls.add_method('SetNode', 'void', [param('ns3::Ptr< ns3::Node >', 'node')], is_virtual=True)
gjc@3408
  1257
    ## simple-net-device.h: bool ns3::SimpleNetDevice::NeedsArp() const [member function]
gjc@3408
  1258
    cls.add_method('NeedsArp', 'bool', [], is_const=True, is_virtual=True)
gjc@3457
  1259
    ## simple-net-device.h: void ns3::SimpleNetDevice::SetReceiveCallback(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@3457
  1260
    cls.add_method('SetReceiveCallback', 'void', [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet >, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType >', 'cb')], is_virtual=True)
gjc@3408
  1261
    ## simple-net-device.h: void ns3::SimpleNetDevice::DoDispose() [member function]
gjc@3408
  1262
    cls.add_method('DoDispose', 'void', [], visibility='protected', is_virtual=True)
gjc@3408
  1263
    return
gjc@3408
  1264
gjc@3457
  1265
def register_Ns3SimpleChannel_methods(root_module, cls):
gjc@3457
  1266
    ## simple-channel.h: static ns3::TypeId ns3::SimpleChannel::GetTypeId() [member function]
gjc@3457
  1267
    cls.add_method('GetTypeId', 'ns3::TypeId', [], is_static=True)
gjc@3457
  1268
    ## simple-channel.h: ns3::SimpleChannel::SimpleChannel() [constructor]
gjc@3457
  1269
    cls.add_constructor([], visibility='public')
gjc@3457
  1270
    ## 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@3457
  1271
    cls.add_method('Send', 'void', [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@3457
  1272
    ## simple-channel.h: void ns3::SimpleChannel::Add(ns3::Ptr<ns3::SimpleNetDevice> device) [member function]
gjc@3457
  1273
    cls.add_method('Add', 'void', [param('ns3::Ptr< ns3::SimpleNetDevice >', 'device')])
gjc@3457
  1274
    ## simple-channel.h: uint32_t ns3::SimpleChannel::GetNDevices() const [member function]
gjc@3457
  1275
    cls.add_method('GetNDevices', 'uint32_t', [], is_const=True, is_virtual=True)
gjc@3457
  1276
    ## simple-channel.h: ns3::Ptr<ns3::NetDevice> ns3::SimpleChannel::GetDevice(uint32_t i) const [member function]
gjc@3457
  1277
    cls.add_method('GetDevice', 'ns3::Ptr< ns3::NetDevice >', [param('uint32_t', 'i')], is_const=True, is_virtual=True)
gjc@3457
  1278
    return
gjc@3457
  1279
gjc@3408
  1280
def register_Ns3TcpSocketFactory_methods(root_module, cls):
gjc@3408
  1281
    ## tcp-socket-factory.h: static ns3::TypeId ns3::TcpSocketFactory::GetTypeId() [member function]
gjc@3408
  1282
    cls.add_method('GetTypeId', 'ns3::TypeId', [], is_static=True)
gjc@3408
  1283
    cls.add_constructor([])
gjc@3408
  1284
    return
gjc@3408
  1285
gjc@3408
  1286
def register_Ns3PacketSocketFactory_methods(root_module, cls):
gjc@3408
  1287
    ## packet-socket-factory.h: static ns3::TypeId ns3::PacketSocketFactory::GetTypeId() [member function]
gjc@3408
  1288
    cls.add_method('GetTypeId', 'ns3::TypeId', [], is_static=True)
gjc@3408
  1289
    ## packet-socket-factory.h: ns3::PacketSocketFactory::PacketSocketFactory() [constructor]
gjc@3408
  1290
    cls.add_constructor([], visibility='public')
gjc@3408
  1291
    ## packet-socket-factory.h: ns3::Ptr<ns3::Socket> ns3::PacketSocketFactory::CreateSocket() [member function]
gjc@3408
  1292
    cls.add_method('CreateSocket', 'ns3::Ptr< ns3::Socket >', [], is_virtual=True)
gjc@3408
  1293
    return
gjc@3408
  1294
gjc@3408
  1295
def register_functions(root_module):
gjc@3408
  1296
    module = root_module
gjc@3408
  1297
    ## mac48-address.h: extern ns3::Ptr<ns3::AttributeChecker const> ns3::MakeMac48AddressChecker() [free function]
gjc@3408
  1298
    module.add_function('MakeMac48AddressChecker', 'ns3::Ptr< ns3::AttributeChecker const >', [])
gjc@3408
  1299
    ## ipv4-address.h: extern ns3::Ptr<ns3::AttributeChecker const> ns3::MakeIpv4AddressChecker() [free function]
gjc@3408
  1300
    module.add_function('MakeIpv4AddressChecker', 'ns3::Ptr< ns3::AttributeChecker const >', [])
gjc@3408
  1301
    ## address-utils.h: extern void ns3::WriteTo(ns3::Buffer::Iterator & i, ns3::Mac48Address ad) [free function]
gjc@3408
  1302
    module.add_function('WriteTo', 'void', [param('ns3::Buffer::Iterator&', 'i'), param('ns3::Mac48Address', 'ad')])
gjc@3408
  1303
    ## address-utils.h: extern void ns3::WriteTo(ns3::Buffer::Iterator & i, ns3::Address const & ad) [free function]
gjc@3408
  1304
    module.add_function('WriteTo', 'void', [param('ns3::Buffer::Iterator&', 'i'), param('ns3::Address&', 'ad', is_const=True)])
gjc@3408
  1305
    ## address-utils.h: extern void ns3::WriteTo(ns3::Buffer::Iterator & i, ns3::Ipv4Address ad) [free function]
gjc@3408
  1306
    module.add_function('WriteTo', 'void', [param('ns3::Buffer::Iterator&', 'i'), param('ns3::Ipv4Address', 'ad')])
gjc@3408
  1307
    ## address.h: extern ns3::Ptr<ns3::AttributeChecker const> ns3::MakeAddressChecker() [free function]
gjc@3408
  1308
    module.add_function('MakeAddressChecker', 'ns3::Ptr< ns3::AttributeChecker const >', [])
gjc@3408
  1309
    ## ipv4-address.h: extern ns3::Ptr<ns3::AttributeChecker const> ns3::MakeIpv4MaskChecker() [free function]
gjc@3408
  1310
    module.add_function('MakeIpv4MaskChecker', 'ns3::Ptr< ns3::AttributeChecker const >', [])
gjc@3408
  1311
    ## address-utils.h: extern void ns3::ReadFrom(ns3::Buffer::Iterator & i, ns3::Mac48Address & ad) [free function]
gjc@3408
  1312
    module.add_function('ReadFrom', 'void', [param('ns3::Buffer::Iterator&', 'i'), param('ns3::Mac48Address&', 'ad')])
gjc@3408
  1313
    ## address-utils.h: extern void ns3::ReadFrom(ns3::Buffer::Iterator & i, ns3::Address & ad, uint32_t len) [free function]
gjc@3408
  1314
    module.add_function('ReadFrom', 'void', [param('ns3::Buffer::Iterator&', 'i'), param('ns3::Address&', 'ad'), param('uint32_t', 'len')])
gjc@3408
  1315
    ## address-utils.h: extern void ns3::ReadFrom(ns3::Buffer::Iterator & i, ns3::Ipv4Address & ad) [free function]
gjc@3408
  1316
    module.add_function('ReadFrom', 'void', [param('ns3::Buffer::Iterator&', 'i'), param('ns3::Ipv4Address&', 'ad')])
gjc@3408
  1317
    register_functions_ns3_internal(module.get_submodule('internal'), root_module)
gjc@3408
  1318
    register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
gjc@3408
  1319
    register_functions_ns3_Config(module.get_submodule('Config'), root_module)
gjc@3408
  1320
    register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
gjc@3408
  1321
    return
gjc@3408
  1322
gjc@3408
  1323
def register_functions_ns3_internal(module, root_module):
gjc@3408
  1324
    return
gjc@3408
  1325
gjc@3408
  1326
def register_functions_ns3_TimeStepPrecision(module, root_module):
gjc@3408
  1327
    return
gjc@3408
  1328
gjc@3408
  1329
def register_functions_ns3_Config(module, root_module):
gjc@3408
  1330
    return
gjc@3408
  1331
gjc@3408
  1332
def register_functions_ns3_olsr(module, root_module):
gjc@3408
  1333
    return
gjc@3408
  1334