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