bindings/python/ns3_module_helper.py
author Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
Tue, 08 Jul 2008 10:43:58 -0700
changeset 3408 2cc40b3e4fa5
child 3416 926ccb845111
permissions -rw-r--r--
python bindings
gjc@3408
     1
from pybindgen import Module, FileCodeSink, write_preamble, param, retval
gjc@3408
     2
gjc@3408
     3
def register_types(module):
gjc@3408
     4
    root_module = module.get_root()
gjc@3408
     5
    
gjc@3408
     6
    ## mobility-helper.h: ns3::MobilityHelper [class]
gjc@3408
     7
    module.add_class('MobilityHelper', allow_subclassing=False)
gjc@3408
     8
    ## internet-stack-helper.h: ns3::InternetStackHelper [class]
gjc@3408
     9
    module.add_class('InternetStackHelper', allow_subclassing=False)
gjc@3408
    10
    ## node-container.h: ns3::NodeContainer [class]
gjc@3408
    11
    module.add_class('NodeContainer')
gjc@3408
    12
    ## point-to-point-helper.h: ns3::PointToPointHelper [class]
gjc@3408
    13
    module.add_class('PointToPointHelper', allow_subclassing=False)
gjc@3408
    14
    ## net-device-container.h: ns3::NetDeviceContainer [class]
gjc@3408
    15
    module.add_class('NetDeviceContainer')
gjc@3408
    16
    ## csma-helper.h: ns3::CsmaHelper [class]
gjc@3408
    17
    module.add_class('CsmaHelper', allow_subclassing=False)
gjc@3408
    18
    ## udp-echo-helper.h: ns3::UdpEchoServerHelper [class]
gjc@3408
    19
    module.add_class('UdpEchoServerHelper', allow_subclassing=False)
gjc@3408
    20
    ## olsr-helper.h: ns3::OlsrHelper [class]
gjc@3408
    21
    module.add_class('OlsrHelper', allow_subclassing=False)
gjc@3408
    22
    ## packet-socket-helper.h: ns3::PacketSocketHelper [class]
gjc@3408
    23
    module.add_class('PacketSocketHelper', allow_subclassing=False)
gjc@3408
    24
    ## on-off-helper.h: ns3::OnOffHelper [class]
gjc@3408
    25
    module.add_class('OnOffHelper', allow_subclassing=False)
gjc@3408
    26
    ## udp-echo-helper.h: ns3::UdpEchoClientHelper [class]
gjc@3408
    27
    module.add_class('UdpEchoClientHelper', allow_subclassing=False)
gjc@3408
    28
    ## static-multicast-route-helper.h: ns3::StaticMulticastRouteHelper [class]
gjc@3408
    29
    module.add_class('StaticMulticastRouteHelper', allow_subclassing=False)
gjc@3408
    30
    ## ipv4-interface-container.h: ns3::Ipv4InterfaceContainer [class]
gjc@3408
    31
    module.add_class('Ipv4InterfaceContainer')
gjc@3408
    32
    ## application-container.h: ns3::ApplicationContainer [class]
gjc@3408
    33
    module.add_class('ApplicationContainer')
gjc@3408
    34
    ## wifi-helper.h: ns3::WifiHelper [class]
gjc@3408
    35
    module.add_class('WifiHelper', allow_subclassing=False)
gjc@3408
    36
    ## ipv4-address-helper.h: ns3::Ipv4AddressHelper [class]
gjc@3408
    37
    module.add_class('Ipv4AddressHelper', allow_subclassing=False)
gjc@3408
    38
    ## packet-sink-helper.h: ns3::PacketSinkHelper [class]
gjc@3408
    39
    module.add_class('PacketSinkHelper', allow_subclassing=False)
gjc@3408
    40
    ## ns2-mobility-helper.h: ns3::Ns2MobilityHelper [class]
gjc@3408
    41
    module.add_class('Ns2MobilityHelper', allow_subclassing=False)
gjc@3408
    42
    
gjc@3408
    43
    ## Register a nested module for the namespace internal
gjc@3408
    44
    
gjc@3408
    45
    nested_module = module.add_cpp_namespace('internal')
gjc@3408
    46
    register_types_ns3_internal(nested_module)
gjc@3408
    47
    
gjc@3408
    48
    
gjc@3408
    49
    ## Register a nested module for the namespace TimeStepPrecision
gjc@3408
    50
    
gjc@3408
    51
    nested_module = module.add_cpp_namespace('TimeStepPrecision')
gjc@3408
    52
    register_types_ns3_TimeStepPrecision(nested_module)
gjc@3408
    53
    
gjc@3408
    54
    
gjc@3408
    55
    ## Register a nested module for the namespace Config
gjc@3408
    56
    
gjc@3408
    57
    nested_module = module.add_cpp_namespace('Config')
gjc@3408
    58
    register_types_ns3_Config(nested_module)
gjc@3408
    59
    
gjc@3408
    60
    
gjc@3408
    61
    ## Register a nested module for the namespace olsr
gjc@3408
    62
    
gjc@3408
    63
    nested_module = module.add_cpp_namespace('olsr')
gjc@3408
    64
    register_types_ns3_olsr(nested_module)
gjc@3408
    65
    
gjc@3408
    66
gjc@3408
    67
def register_types_ns3_internal(module):
gjc@3408
    68
    root_module = module.get_root()
gjc@3408
    69
    
gjc@3408
    70
gjc@3408
    71
def register_types_ns3_TimeStepPrecision(module):
gjc@3408
    72
    root_module = module.get_root()
gjc@3408
    73
    
gjc@3408
    74
gjc@3408
    75
def register_types_ns3_Config(module):
gjc@3408
    76
    root_module = module.get_root()
gjc@3408
    77
    
gjc@3408
    78
gjc@3408
    79
def register_types_ns3_olsr(module):
gjc@3408
    80
    root_module = module.get_root()
gjc@3408
    81
    
gjc@3408
    82
gjc@3408
    83
def register_methods(root_module):
gjc@3408
    84
    register_Ns3MobilityHelper_methods(root_module, root_module['ns3::MobilityHelper'])
gjc@3408
    85
    register_Ns3InternetStackHelper_methods(root_module, root_module['ns3::InternetStackHelper'])
gjc@3408
    86
    register_Ns3NodeContainer_methods(root_module, root_module['ns3::NodeContainer'])
gjc@3408
    87
    register_Ns3PointToPointHelper_methods(root_module, root_module['ns3::PointToPointHelper'])
gjc@3408
    88
    register_Ns3NetDeviceContainer_methods(root_module, root_module['ns3::NetDeviceContainer'])
gjc@3408
    89
    register_Ns3CsmaHelper_methods(root_module, root_module['ns3::CsmaHelper'])
gjc@3408
    90
    register_Ns3UdpEchoServerHelper_methods(root_module, root_module['ns3::UdpEchoServerHelper'])
gjc@3408
    91
    register_Ns3OlsrHelper_methods(root_module, root_module['ns3::OlsrHelper'])
gjc@3408
    92
    register_Ns3PacketSocketHelper_methods(root_module, root_module['ns3::PacketSocketHelper'])
gjc@3408
    93
    register_Ns3OnOffHelper_methods(root_module, root_module['ns3::OnOffHelper'])
gjc@3408
    94
    register_Ns3UdpEchoClientHelper_methods(root_module, root_module['ns3::UdpEchoClientHelper'])
gjc@3408
    95
    register_Ns3StaticMulticastRouteHelper_methods(root_module, root_module['ns3::StaticMulticastRouteHelper'])
gjc@3408
    96
    register_Ns3Ipv4InterfaceContainer_methods(root_module, root_module['ns3::Ipv4InterfaceContainer'])
gjc@3408
    97
    register_Ns3ApplicationContainer_methods(root_module, root_module['ns3::ApplicationContainer'])
gjc@3408
    98
    register_Ns3WifiHelper_methods(root_module, root_module['ns3::WifiHelper'])
gjc@3408
    99
    register_Ns3Ipv4AddressHelper_methods(root_module, root_module['ns3::Ipv4AddressHelper'])
gjc@3408
   100
    register_Ns3PacketSinkHelper_methods(root_module, root_module['ns3::PacketSinkHelper'])
gjc@3408
   101
    register_Ns3Ns2MobilityHelper_methods(root_module, root_module['ns3::Ns2MobilityHelper'])
gjc@3408
   102
    return
gjc@3408
   103
gjc@3408
   104
def register_Ns3MobilityHelper_methods(root_module, cls):
gjc@3408
   105
    ## mobility-helper.h: ns3::MobilityHelper::MobilityHelper() [constructor]
gjc@3408
   106
    cls.add_constructor([], visibility='public')
gjc@3408
   107
    ## mobility-helper.h: void ns3::MobilityHelper::SetPositionAllocator(ns3::Ptr<ns3::PositionAllocator> allocator) [member function]
gjc@3408
   108
    cls.add_method('SetPositionAllocator', 'void', [param('ns3::Ptr< ns3::PositionAllocator >', 'allocator')])
gjc@3408
   109
    ## mobility-helper.h: void ns3::MobilityHelper::SetPositionAllocator(std::string type, std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue(), std::string n5="", ns3::AttributeValue const & v5=ns3::EmptyAttributeValue(), std::string n6="", ns3::AttributeValue const & v6=ns3::EmptyAttributeValue(), std::string n7="", ns3::AttributeValue const & v7=ns3::EmptyAttributeValue(), std::string n8="", ns3::AttributeValue const & v8=ns3::EmptyAttributeValue(), std::string n9="", ns3::AttributeValue const & v9=ns3::EmptyAttributeValue()) [member function]
gjc@3408
   110
    cls.add_method('SetPositionAllocator', 'void', [param('std::string', 'type'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue&', 'v1', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue&', 'v2', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue&', 'v3', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue&', 'v4', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue&', 'v5', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue&', 'v6', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue&', 'v7', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n8', default_value='""'), param('ns3::AttributeValue&', 'v8', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n9', default_value='""'), param('ns3::AttributeValue&', 'v9', default_value='ns3::EmptyAttributeValue()', is_const=True)])
gjc@3408
   111
    ## mobility-helper.h: void ns3::MobilityHelper::SetMobilityModel(std::string type, std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue(), std::string n5="", ns3::AttributeValue const & v5=ns3::EmptyAttributeValue(), std::string n6="", ns3::AttributeValue const & v6=ns3::EmptyAttributeValue(), std::string n7="", ns3::AttributeValue const & v7=ns3::EmptyAttributeValue(), std::string n8="", ns3::AttributeValue const & v8=ns3::EmptyAttributeValue(), std::string n9="", ns3::AttributeValue const & v9=ns3::EmptyAttributeValue()) [member function]
gjc@3408
   112
    cls.add_method('SetMobilityModel', 'void', [param('std::string', 'type'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue&', 'v1', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue&', 'v2', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue&', 'v3', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue&', 'v4', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue&', 'v5', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue&', 'v6', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue&', 'v7', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n8', default_value='""'), param('ns3::AttributeValue&', 'v8', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n9', default_value='""'), param('ns3::AttributeValue&', 'v9', default_value='ns3::EmptyAttributeValue()', is_const=True)])
gjc@3408
   113
    ## mobility-helper.h: void ns3::MobilityHelper::PushReferenceMobilityModel(ns3::Ptr<ns3::Object> reference) [member function]
gjc@3408
   114
    cls.add_method('PushReferenceMobilityModel', 'void', [param('ns3::Ptr< ns3::Object >', 'reference')])
gjc@3408
   115
    ## mobility-helper.h: void ns3::MobilityHelper::PopReferenceMobilityModel() [member function]
gjc@3408
   116
    cls.add_method('PopReferenceMobilityModel', 'void', [])
gjc@3408
   117
    ## mobility-helper.h: std::string ns3::MobilityHelper::GetMobilityModelType() const [member function]
gjc@3408
   118
    cls.add_method('GetMobilityModelType', 'std::string', [], is_const=True)
gjc@3408
   119
    ## mobility-helper.h: void ns3::MobilityHelper::Install(ns3::NodeContainer container) [member function]
gjc@3408
   120
    cls.add_method('Install', 'void', [param('ns3::NodeContainer', 'container')])
gjc@3408
   121
    ## mobility-helper.h: void ns3::MobilityHelper::InstallAll() [member function]
gjc@3408
   122
    cls.add_method('InstallAll', 'void', [])
gjc@3408
   123
    return
gjc@3408
   124
gjc@3408
   125
def register_Ns3InternetStackHelper_methods(root_module, cls):
gjc@3408
   126
    ## internet-stack-helper.h: void ns3::InternetStackHelper::Install(ns3::NodeContainer c) [member function]
gjc@3408
   127
    cls.add_method('Install', 'void', [param('ns3::NodeContainer', 'c')])
gjc@3408
   128
    ## internet-stack-helper.h: static void ns3::InternetStackHelper::EnablePcapAll(std::string filename) [member function]
gjc@3408
   129
    cls.add_method('EnablePcapAll', 'void', [param('std::string', 'filename')], is_static=True)
gjc@3408
   130
    cls.add_constructor([])
gjc@3408
   131
    return
gjc@3408
   132
gjc@3408
   133
def register_Ns3NodeContainer_methods(root_module, cls):
gjc@3408
   134
    ## node-container.h: ns3::NodeContainer::NodeContainer() [constructor]
gjc@3408
   135
    cls.add_constructor([], visibility='public')
gjc@3408
   136
    ## node-container.h: ns3::NodeContainer::NodeContainer(ns3::Ptr<ns3::Node> node) [constructor]
gjc@3408
   137
    cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node')], visibility='public')
gjc@3408
   138
    ## node-container.h: ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b) [constructor]
gjc@3408
   139
    cls.add_constructor([param('ns3::NodeContainer&', 'a', is_const=True), param('ns3::NodeContainer&', 'b', is_const=True)], visibility='public')
gjc@3408
   140
    ## node-container.h: ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b, ns3::NodeContainer const & c) [constructor]
gjc@3408
   141
    cls.add_constructor([param('ns3::NodeContainer&', 'a', is_const=True), param('ns3::NodeContainer&', 'b', is_const=True), param('ns3::NodeContainer&', 'c', is_const=True)], visibility='public')
gjc@3408
   142
    ## node-container.h: ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b, ns3::NodeContainer const & c, ns3::NodeContainer const & d) [constructor]
gjc@3408
   143
    cls.add_constructor([param('ns3::NodeContainer&', 'a', is_const=True), param('ns3::NodeContainer&', 'b', is_const=True), param('ns3::NodeContainer&', 'c', is_const=True), param('ns3::NodeContainer&', 'd', is_const=True)], visibility='public')
gjc@3408
   144
    ## node-container.h: __gnu_cxx::__normal_iterator<const ns3::Ptr<ns3::Node>*,std::vector<ns3::Ptr<ns3::Node>, std::allocator<ns3::Ptr<ns3::Node> > > > ns3::NodeContainer::Begin() const [member function]
gjc@3408
   145
    cls.add_method('Begin', '__gnu_cxx::__normal_iterator< const ns3::Ptr< ns3::Node >, std::vector< ns3::Ptr< ns3::Node >, std::allocator< ns3::Ptr< ns3::Node > > > >', [], is_const=True)
gjc@3408
   146
    ## node-container.h: __gnu_cxx::__normal_iterator<const ns3::Ptr<ns3::Node>*,std::vector<ns3::Ptr<ns3::Node>, std::allocator<ns3::Ptr<ns3::Node> > > > ns3::NodeContainer::End() const [member function]
gjc@3408
   147
    cls.add_method('End', '__gnu_cxx::__normal_iterator< const ns3::Ptr< ns3::Node >, std::vector< ns3::Ptr< ns3::Node >, std::allocator< ns3::Ptr< ns3::Node > > > >', [], is_const=True)
gjc@3408
   148
    ## node-container.h: uint32_t ns3::NodeContainer::GetN() const [member function]
gjc@3408
   149
    cls.add_method('GetN', 'uint32_t', [], is_const=True)
gjc@3408
   150
    ## node-container.h: ns3::Ptr<ns3::Node> ns3::NodeContainer::Get(uint32_t i) const [member function]
gjc@3408
   151
    cls.add_method('Get', 'ns3::Ptr< ns3::Node >', [param('uint32_t', 'i')], is_const=True)
gjc@3408
   152
    ## node-container.h: void ns3::NodeContainer::Create(uint32_t n) [member function]
gjc@3408
   153
    cls.add_method('Create', 'void', [param('uint32_t', 'n')])
gjc@3408
   154
    ## node-container.h: void ns3::NodeContainer::Add(ns3::NodeContainer other) [member function]
gjc@3408
   155
    cls.add_method('Add', 'void', [param('ns3::NodeContainer', 'other')])
gjc@3408
   156
    ## node-container.h: void ns3::NodeContainer::Add(ns3::Ptr<ns3::Node> node) [member function]
gjc@3408
   157
    cls.add_method('Add', 'void', [param('ns3::Ptr< ns3::Node >', 'node')])
gjc@3408
   158
    ## node-container.h: static ns3::NodeContainer ns3::NodeContainer::GetGlobal() [member function]
gjc@3408
   159
    cls.add_method('GetGlobal', 'ns3::NodeContainer', [], is_static=True)
gjc@3408
   160
    return
gjc@3408
   161
gjc@3408
   162
def register_Ns3PointToPointHelper_methods(root_module, cls):
gjc@3408
   163
    ## point-to-point-helper.h: ns3::PointToPointHelper::PointToPointHelper() [constructor]
gjc@3408
   164
    cls.add_constructor([], visibility='public')
gjc@3408
   165
    ## point-to-point-helper.h: void ns3::PointToPointHelper::SetQueue(std::string type, std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue()) [member function]
gjc@3408
   166
    cls.add_method('SetQueue', 'void', [param('std::string', 'type'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue&', 'v1', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue&', 'v2', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue&', 'v3', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue&', 'v4', default_value='ns3::EmptyAttributeValue()', is_const=True)])
gjc@3408
   167
    ## point-to-point-helper.h: void ns3::PointToPointHelper::SetDeviceAttribute(std::string name, ns3::AttributeValue const & value) [member function]
gjc@3408
   168
    cls.add_method('SetDeviceAttribute', 'void', [param('std::string', 'name'), param('ns3::AttributeValue&', 'value', is_const=True)])
gjc@3408
   169
    ## point-to-point-helper.h: void ns3::PointToPointHelper::SetChannelAttribute(std::string name, ns3::AttributeValue const & value) [member function]
gjc@3408
   170
    cls.add_method('SetChannelAttribute', 'void', [param('std::string', 'name'), param('ns3::AttributeValue&', 'value', is_const=True)])
gjc@3408
   171
    ## point-to-point-helper.h: static void ns3::PointToPointHelper::EnablePcap(std::string filename, uint32_t nodeid, uint32_t deviceid) [member function]
gjc@3408
   172
    cls.add_method('EnablePcap', 'void', [param('std::string', 'filename'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid')], is_static=True)
gjc@3408
   173
    ## point-to-point-helper.h: static void ns3::PointToPointHelper::EnablePcap(std::string filename, ns3::NetDeviceContainer d) [member function]
gjc@3408
   174
    cls.add_method('EnablePcap', 'void', [param('std::string', 'filename'), param('ns3::NetDeviceContainer', 'd')], is_static=True)
gjc@3408
   175
    ## point-to-point-helper.h: static void ns3::PointToPointHelper::EnablePcap(std::string filename, ns3::NodeContainer n) [member function]
gjc@3408
   176
    cls.add_method('EnablePcap', 'void', [param('std::string', 'filename'), param('ns3::NodeContainer', 'n')], is_static=True)
gjc@3408
   177
    ## point-to-point-helper.h: static void ns3::PointToPointHelper::EnablePcapAll(std::string filename) [member function]
gjc@3408
   178
    cls.add_method('EnablePcapAll', 'void', [param('std::string', 'filename')], is_static=True)
gjc@3408
   179
    ## point-to-point-helper.h: static void ns3::PointToPointHelper::EnableAscii(std::ostream & os, uint32_t nodeid, uint32_t deviceid) [member function]
gjc@3408
   180
    cls.add_method('EnableAscii', 'void', [param('std::ostream&', 'os'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid')], is_static=True)
gjc@3408
   181
    ## point-to-point-helper.h: static void ns3::PointToPointHelper::EnableAscii(std::ostream & os, ns3::NetDeviceContainer d) [member function]
gjc@3408
   182
    cls.add_method('EnableAscii', 'void', [param('std::ostream&', 'os'), param('ns3::NetDeviceContainer', 'd')], is_static=True)
gjc@3408
   183
    ## point-to-point-helper.h: static void ns3::PointToPointHelper::EnableAscii(std::ostream & os, ns3::NodeContainer n) [member function]
gjc@3408
   184
    cls.add_method('EnableAscii', 'void', [param('std::ostream&', 'os'), param('ns3::NodeContainer', 'n')], is_static=True)
gjc@3408
   185
    ## point-to-point-helper.h: static void ns3::PointToPointHelper::EnableAsciiAll(std::ostream & os) [member function]
gjc@3408
   186
    cls.add_method('EnableAsciiAll', 'void', [param('std::ostream&', 'os')], is_static=True)
gjc@3408
   187
    ## point-to-point-helper.h: ns3::NetDeviceContainer ns3::PointToPointHelper::Install(ns3::NodeContainer c) [member function]
gjc@3408
   188
    cls.add_method('Install', 'ns3::NetDeviceContainer', [param('ns3::NodeContainer', 'c')])
gjc@3408
   189
    ## point-to-point-helper.h: ns3::NetDeviceContainer ns3::PointToPointHelper::Install(ns3::Ptr<ns3::Node> a, ns3::Ptr<ns3::Node> b) [member function]
gjc@3408
   190
    cls.add_method('Install', 'ns3::NetDeviceContainer', [param('ns3::Ptr< ns3::Node >', 'a'), param('ns3::Ptr< ns3::Node >', 'b')])
gjc@3408
   191
    return
gjc@3408
   192
gjc@3408
   193
def register_Ns3NetDeviceContainer_methods(root_module, cls):
gjc@3408
   194
    ## net-device-container.h: __gnu_cxx::__normal_iterator<const ns3::Ptr<ns3::NetDevice>*,std::vector<ns3::Ptr<ns3::NetDevice>, std::allocator<ns3::Ptr<ns3::NetDevice> > > > ns3::NetDeviceContainer::Begin() const [member function]
gjc@3408
   195
    cls.add_method('Begin', '__gnu_cxx::__normal_iterator< const ns3::Ptr< ns3::NetDevice >, std::vector< ns3::Ptr< ns3::NetDevice >, std::allocator< ns3::Ptr< ns3::NetDevice > > > >', [], is_const=True)
gjc@3408
   196
    ## net-device-container.h: __gnu_cxx::__normal_iterator<const ns3::Ptr<ns3::NetDevice>*,std::vector<ns3::Ptr<ns3::NetDevice>, std::allocator<ns3::Ptr<ns3::NetDevice> > > > ns3::NetDeviceContainer::End() const [member function]
gjc@3408
   197
    cls.add_method('End', '__gnu_cxx::__normal_iterator< const ns3::Ptr< ns3::NetDevice >, std::vector< ns3::Ptr< ns3::NetDevice >, std::allocator< ns3::Ptr< ns3::NetDevice > > > >', [], is_const=True)
gjc@3408
   198
    ## net-device-container.h: uint32_t ns3::NetDeviceContainer::GetN() const [member function]
gjc@3408
   199
    cls.add_method('GetN', 'uint32_t', [], is_const=True)
gjc@3408
   200
    ## net-device-container.h: ns3::Ptr<ns3::NetDevice> ns3::NetDeviceContainer::Get(uint32_t i) const [member function]
gjc@3408
   201
    cls.add_method('Get', 'ns3::Ptr< ns3::NetDevice >', [param('uint32_t', 'i')], is_const=True)
gjc@3408
   202
    ## net-device-container.h: void ns3::NetDeviceContainer::Add(ns3::NetDeviceContainer other) [member function]
gjc@3408
   203
    cls.add_method('Add', 'void', [param('ns3::NetDeviceContainer', 'other')])
gjc@3408
   204
    ## net-device-container.h: void ns3::NetDeviceContainer::Add(ns3::Ptr<ns3::NetDevice> device) [member function]
gjc@3408
   205
    cls.add_method('Add', 'void', [param('ns3::Ptr< ns3::NetDevice >', 'device')])
gjc@3408
   206
    cls.add_constructor([])
gjc@3408
   207
    return
gjc@3408
   208
gjc@3408
   209
def register_Ns3CsmaHelper_methods(root_module, cls):
gjc@3408
   210
    ## csma-helper.h: ns3::CsmaHelper::CsmaHelper() [constructor]
gjc@3408
   211
    cls.add_constructor([], visibility='public')
gjc@3408
   212
    ## csma-helper.h: void ns3::CsmaHelper::SetQueue(std::string type, std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue()) [member function]
gjc@3408
   213
    cls.add_method('SetQueue', 'void', [param('std::string', 'type'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue&', 'v1', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue&', 'v2', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue&', 'v3', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue&', 'v4', default_value='ns3::EmptyAttributeValue()', is_const=True)])
gjc@3408
   214
    ## csma-helper.h: void ns3::CsmaHelper::SetDeviceAttribute(std::string n1, ns3::AttributeValue const & v1) [member function]
gjc@3408
   215
    cls.add_method('SetDeviceAttribute', 'void', [param('std::string', 'n1'), param('ns3::AttributeValue&', 'v1', is_const=True)])
gjc@3408
   216
    ## csma-helper.h: void ns3::CsmaHelper::SetChannelAttribute(std::string n1, ns3::AttributeValue const & v1) [member function]
gjc@3408
   217
    cls.add_method('SetChannelAttribute', 'void', [param('std::string', 'n1'), param('ns3::AttributeValue&', 'v1', is_const=True)])
gjc@3408
   218
    ## csma-helper.h: static void ns3::CsmaHelper::EnablePcap(std::string filename, uint32_t nodeid, uint32_t deviceid) [member function]
gjc@3408
   219
    cls.add_method('EnablePcap', 'void', [param('std::string', 'filename'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid')], is_static=True)
gjc@3408
   220
    ## csma-helper.h: static void ns3::CsmaHelper::EnablePcap(std::string filename, ns3::NetDeviceContainer d) [member function]
gjc@3408
   221
    cls.add_method('EnablePcap', 'void', [param('std::string', 'filename'), param('ns3::NetDeviceContainer', 'd')], is_static=True)
gjc@3408
   222
    ## csma-helper.h: static void ns3::CsmaHelper::EnablePcap(std::string filename, ns3::NodeContainer n) [member function]
gjc@3408
   223
    cls.add_method('EnablePcap', 'void', [param('std::string', 'filename'), param('ns3::NodeContainer', 'n')], is_static=True)
gjc@3408
   224
    ## csma-helper.h: static void ns3::CsmaHelper::EnablePcapAll(std::string filename) [member function]
gjc@3408
   225
    cls.add_method('EnablePcapAll', 'void', [param('std::string', 'filename')], is_static=True)
gjc@3408
   226
    ## csma-helper.h: static void ns3::CsmaHelper::EnableAscii(std::ostream & os, uint32_t nodeid, uint32_t deviceid) [member function]
gjc@3408
   227
    cls.add_method('EnableAscii', 'void', [param('std::ostream&', 'os'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid')], is_static=True)
gjc@3408
   228
    ## csma-helper.h: static void ns3::CsmaHelper::EnableAscii(std::ostream & os, ns3::NetDeviceContainer d) [member function]
gjc@3408
   229
    cls.add_method('EnableAscii', 'void', [param('std::ostream&', 'os'), param('ns3::NetDeviceContainer', 'd')], is_static=True)
gjc@3408
   230
    ## csma-helper.h: static void ns3::CsmaHelper::EnableAscii(std::ostream & os, ns3::NodeContainer n) [member function]
gjc@3408
   231
    cls.add_method('EnableAscii', 'void', [param('std::ostream&', 'os'), param('ns3::NodeContainer', 'n')], is_static=True)
gjc@3408
   232
    ## csma-helper.h: static void ns3::CsmaHelper::EnableAsciiAll(std::ostream & os) [member function]
gjc@3408
   233
    cls.add_method('EnableAsciiAll', 'void', [param('std::ostream&', 'os')], is_static=True)
gjc@3408
   234
    ## csma-helper.h: ns3::NetDeviceContainer ns3::CsmaHelper::Install(ns3::NodeContainer const & c) [member function]
gjc@3408
   235
    cls.add_method('Install', 'ns3::NetDeviceContainer', [param('ns3::NodeContainer&', 'c', is_const=True)])
gjc@3408
   236
    ## csma-helper.h: ns3::NetDeviceContainer ns3::CsmaHelper::Install(ns3::NodeContainer const & c, ns3::Ptr<ns3::CsmaChannel> channel) [member function]
gjc@3408
   237
    cls.add_method('Install', 'ns3::NetDeviceContainer', [param('ns3::NodeContainer&', 'c', is_const=True), param('ns3::Ptr< ns3::CsmaChannel >', 'channel')])
gjc@3408
   238
    return
gjc@3408
   239
gjc@3408
   240
def register_Ns3UdpEchoServerHelper_methods(root_module, cls):
gjc@3408
   241
    ## udp-echo-helper.h: ns3::UdpEchoServerHelper::UdpEchoServerHelper(uint16_t port) [constructor]
gjc@3408
   242
    cls.add_constructor([param('uint16_t', 'port')], visibility='public')
gjc@3408
   243
    ## udp-echo-helper.h: void ns3::UdpEchoServerHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function]
gjc@3408
   244
    cls.add_method('SetAttribute', 'void', [param('std::string', 'name'), param('ns3::AttributeValue&', 'value', is_const=True)])
gjc@3408
   245
    ## udp-echo-helper.h: ns3::ApplicationContainer ns3::UdpEchoServerHelper::Install(ns3::NodeContainer c) [member function]
gjc@3408
   246
    cls.add_method('Install', 'ns3::ApplicationContainer', [param('ns3::NodeContainer', 'c')])
gjc@3408
   247
    return
gjc@3408
   248
gjc@3408
   249
def register_Ns3OlsrHelper_methods(root_module, cls):
gjc@3408
   250
    ## olsr-helper.h: ns3::OlsrHelper::OlsrHelper() [constructor]
gjc@3408
   251
    cls.add_constructor([], visibility='public')
gjc@3408
   252
    ## olsr-helper.h: void ns3::OlsrHelper::SetAgent(std::string tid, std::string n0="", ns3::AttributeValue const & v0=ns3::EmptyAttributeValue(), std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue(), std::string n5="", ns3::AttributeValue const & v5=ns3::EmptyAttributeValue(), std::string n6="", ns3::AttributeValue const & v6=ns3::EmptyAttributeValue(), std::string n7="", ns3::AttributeValue const & v7=ns3::EmptyAttributeValue()) [member function]
gjc@3408
   253
    cls.add_method('SetAgent', 'void', [param('std::string', 'tid'), param('std::string', 'n0', default_value='""'), param('ns3::AttributeValue&', 'v0', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue&', 'v1', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue&', 'v2', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue&', 'v3', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue&', 'v4', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue&', 'v5', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue&', 'v6', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue&', 'v7', default_value='ns3::EmptyAttributeValue()', is_const=True)])
gjc@3408
   254
    ## olsr-helper.h: void ns3::OlsrHelper::Install(ns3::NodeContainer container) [member function]
gjc@3408
   255
    cls.add_method('Install', 'void', [param('ns3::NodeContainer', 'container')])
gjc@3408
   256
    ## olsr-helper.h: void ns3::OlsrHelper::Install(ns3::Ptr<ns3::Node> node) [member function]
gjc@3408
   257
    cls.add_method('Install', 'void', [param('ns3::Ptr< ns3::Node >', 'node')])
gjc@3408
   258
    ## olsr-helper.h: void ns3::OlsrHelper::InstallAll() [member function]
gjc@3408
   259
    cls.add_method('InstallAll', 'void', [])
gjc@3408
   260
    return
gjc@3408
   261
gjc@3408
   262
def register_Ns3PacketSocketHelper_methods(root_module, cls):
gjc@3408
   263
    ## packet-socket-helper.h: void ns3::PacketSocketHelper::Install(ns3::NodeContainer c) [member function]
gjc@3408
   264
    cls.add_method('Install', 'void', [param('ns3::NodeContainer', 'c')])
gjc@3408
   265
    cls.add_constructor([])
gjc@3408
   266
    return
gjc@3408
   267
gjc@3408
   268
def register_Ns3OnOffHelper_methods(root_module, cls):
gjc@3408
   269
    ## on-off-helper.h: ns3::OnOffHelper::OnOffHelper(std::string protocol, ns3::Address address) [constructor]
gjc@3408
   270
    cls.add_constructor([param('std::string', 'protocol'), param('ns3::Address', 'address')], visibility='public')
gjc@3408
   271
    ## on-off-helper.h: void ns3::OnOffHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function]
gjc@3408
   272
    cls.add_method('SetAttribute', 'void', [param('std::string', 'name'), param('ns3::AttributeValue&', 'value', is_const=True)])
gjc@3408
   273
    ## on-off-helper.h: ns3::ApplicationContainer ns3::OnOffHelper::Install(ns3::NodeContainer c) [member function]
gjc@3408
   274
    cls.add_method('Install', 'ns3::ApplicationContainer', [param('ns3::NodeContainer', 'c')])
gjc@3408
   275
    return
gjc@3408
   276
gjc@3408
   277
def register_Ns3UdpEchoClientHelper_methods(root_module, cls):
gjc@3408
   278
    ## udp-echo-helper.h: ns3::UdpEchoClientHelper::UdpEchoClientHelper(ns3::Ipv4Address ip, uint16_t port) [constructor]
gjc@3408
   279
    cls.add_constructor([param('ns3::Ipv4Address', 'ip'), param('uint16_t', 'port')], visibility='public')
gjc@3408
   280
    ## udp-echo-helper.h: void ns3::UdpEchoClientHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function]
gjc@3408
   281
    cls.add_method('SetAttribute', 'void', [param('std::string', 'name'), param('ns3::AttributeValue&', 'value', is_const=True)])
gjc@3408
   282
    ## udp-echo-helper.h: ns3::ApplicationContainer ns3::UdpEchoClientHelper::Install(ns3::NodeContainer c) [member function]
gjc@3408
   283
    cls.add_method('Install', 'ns3::ApplicationContainer', [param('ns3::NodeContainer', 'c')])
gjc@3408
   284
    return
gjc@3408
   285
gjc@3408
   286
def register_Ns3StaticMulticastRouteHelper_methods(root_module, cls):
gjc@3408
   287
    ## static-multicast-route-helper.h: ns3::StaticMulticastRouteHelper::StaticMulticastRouteHelper() [constructor]
gjc@3408
   288
    cls.add_constructor([], visibility='public')
gjc@3408
   289
    ## static-multicast-route-helper.h: void ns3::StaticMulticastRouteHelper::AddMulticastRoute(ns3::Ptr<ns3::Node> arg0, ns3::Ipv4Address source, ns3::Ipv4Address group, ns3::Ptr<ns3::NetDevice> input, ns3::NetDeviceContainer output) [member function]
gjc@3408
   290
    cls.add_method('AddMulticastRoute', 'void', [param('ns3::Ptr< ns3::Node >', 'arg0'), param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'group'), param('ns3::Ptr< ns3::NetDevice >', 'input'), param('ns3::NetDeviceContainer', 'output')])
gjc@3408
   291
    ## static-multicast-route-helper.h: void ns3::StaticMulticastRouteHelper::SetDefaultMulticastRoute(ns3::Ptr<ns3::Node> n, ns3::Ptr<ns3::NetDevice> nd) [member function]
gjc@3408
   292
    cls.add_method('SetDefaultMulticastRoute', 'void', [param('ns3::Ptr< ns3::Node >', 'n'), param('ns3::Ptr< ns3::NetDevice >', 'nd')])
gjc@3408
   293
    ## static-multicast-route-helper.h: void ns3::StaticMulticastRouteHelper::JoinMulticastGroup(ns3::Ptr<ns3::Node> n, ns3::Ipv4Address source, ns3::Ipv4Address group) [member function]
gjc@3408
   294
    cls.add_method('JoinMulticastGroup', 'void', [param('ns3::Ptr< ns3::Node >', 'n'), param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'group')])
gjc@3408
   295
    return
gjc@3408
   296
gjc@3408
   297
def register_Ns3Ipv4InterfaceContainer_methods(root_module, cls):
gjc@3408
   298
    ## ipv4-interface-container.h: ns3::Ipv4InterfaceContainer::Ipv4InterfaceContainer() [constructor]
gjc@3408
   299
    cls.add_constructor([], visibility='public')
gjc@3408
   300
    ## ipv4-interface-container.h: uint32_t ns3::Ipv4InterfaceContainer::GetN() const [member function]
gjc@3408
   301
    cls.add_method('GetN', 'uint32_t', [], is_const=True)
gjc@3408
   302
    ## ipv4-interface-container.h: ns3::Ipv4Address ns3::Ipv4InterfaceContainer::GetAddress(uint32_t i) const [member function]
gjc@3408
   303
    cls.add_method('GetAddress', 'ns3::Ipv4Address', [param('uint32_t', 'i')], is_const=True)
gjc@3408
   304
    ## ipv4-interface-container.h: void ns3::Ipv4InterfaceContainer::SetMetric(uint32_t i, uint16_t metric) [member function]
gjc@3408
   305
    cls.add_method('SetMetric', 'void', [param('uint32_t', 'i'), param('uint16_t', 'metric')])
gjc@3408
   306
    ## ipv4-interface-container.h: void ns3::Ipv4InterfaceContainer::Add(ns3::Ptr<ns3::Ipv4> ipv4, uint32_t interface) [member function]
gjc@3408
   307
    cls.add_method('Add', 'void', [param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface')])
gjc@3408
   308
    return
gjc@3408
   309
gjc@3408
   310
def register_Ns3ApplicationContainer_methods(root_module, cls):
gjc@3408
   311
    ## application-container.h: __gnu_cxx::__normal_iterator<const ns3::Ptr<ns3::Application>*,std::vector<ns3::Ptr<ns3::Application>, std::allocator<ns3::Ptr<ns3::Application> > > > ns3::ApplicationContainer::Begin() const [member function]
gjc@3408
   312
    cls.add_method('Begin', '__gnu_cxx::__normal_iterator< const ns3::Ptr< ns3::Application >, std::vector< ns3::Ptr< ns3::Application >, std::allocator< ns3::Ptr< ns3::Application > > > >', [], is_const=True)
gjc@3408
   313
    ## application-container.h: __gnu_cxx::__normal_iterator<const ns3::Ptr<ns3::Application>*,std::vector<ns3::Ptr<ns3::Application>, std::allocator<ns3::Ptr<ns3::Application> > > > ns3::ApplicationContainer::End() const [member function]
gjc@3408
   314
    cls.add_method('End', '__gnu_cxx::__normal_iterator< const ns3::Ptr< ns3::Application >, std::vector< ns3::Ptr< ns3::Application >, std::allocator< ns3::Ptr< ns3::Application > > > >', [], is_const=True)
gjc@3408
   315
    ## application-container.h: uint32_t ns3::ApplicationContainer::GetN() const [member function]
gjc@3408
   316
    cls.add_method('GetN', 'uint32_t', [], is_const=True)
gjc@3408
   317
    ## application-container.h: ns3::Ptr<ns3::Application> ns3::ApplicationContainer::Get(uint32_t i) const [member function]
gjc@3408
   318
    cls.add_method('Get', 'ns3::Ptr< ns3::Application >', [param('uint32_t', 'i')], is_const=True)
gjc@3408
   319
    ## application-container.h: void ns3::ApplicationContainer::Add(ns3::ApplicationContainer other) [member function]
gjc@3408
   320
    cls.add_method('Add', 'void', [param('ns3::ApplicationContainer', 'other')])
gjc@3408
   321
    ## application-container.h: void ns3::ApplicationContainer::Add(ns3::Ptr<ns3::Application> application) [member function]
gjc@3408
   322
    cls.add_method('Add', 'void', [param('ns3::Ptr< ns3::Application >', 'application')])
gjc@3408
   323
    ## application-container.h: void ns3::ApplicationContainer::Start(ns3::Time start) [member function]
gjc@3408
   324
    cls.add_method('Start', 'void', [param('ns3::Time', 'start')])
gjc@3408
   325
    ## application-container.h: void ns3::ApplicationContainer::Stop(ns3::Time stop) [member function]
gjc@3408
   326
    cls.add_method('Stop', 'void', [param('ns3::Time', 'stop')])
gjc@3408
   327
    cls.add_constructor([])
gjc@3408
   328
    return
gjc@3408
   329
gjc@3408
   330
def register_Ns3WifiHelper_methods(root_module, cls):
gjc@3408
   331
    ## wifi-helper.h: ns3::WifiHelper::WifiHelper() [constructor]
gjc@3408
   332
    cls.add_constructor([], visibility='public')
gjc@3408
   333
    ## wifi-helper.h: void ns3::WifiHelper::SetRemoteStationManager(std::string type, std::string n0="", ns3::AttributeValue const & v0=ns3::EmptyAttributeValue(), std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue(), std::string n5="", ns3::AttributeValue const & v5=ns3::EmptyAttributeValue(), std::string n6="", ns3::AttributeValue const & v6=ns3::EmptyAttributeValue(), std::string n7="", ns3::AttributeValue const & v7=ns3::EmptyAttributeValue()) [member function]
gjc@3408
   334
    cls.add_method('SetRemoteStationManager', 'void', [param('std::string', 'type'), param('std::string', 'n0', default_value='""'), param('ns3::AttributeValue&', 'v0', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue&', 'v1', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue&', 'v2', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue&', 'v3', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue&', 'v4', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue&', 'v5', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue&', 'v6', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue&', 'v7', default_value='ns3::EmptyAttributeValue()', is_const=True)])
gjc@3408
   335
    ## wifi-helper.h: void ns3::WifiHelper::SetMac(std::string type, std::string n0="", ns3::AttributeValue const & v0=ns3::EmptyAttributeValue(), std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue(), std::string n5="", ns3::AttributeValue const & v5=ns3::EmptyAttributeValue(), std::string n6="", ns3::AttributeValue const & v6=ns3::EmptyAttributeValue(), std::string n7="", ns3::AttributeValue const & v7=ns3::EmptyAttributeValue()) [member function]
gjc@3408
   336
    cls.add_method('SetMac', 'void', [param('std::string', 'type'), param('std::string', 'n0', default_value='""'), param('ns3::AttributeValue&', 'v0', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue&', 'v1', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue&', 'v2', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue&', 'v3', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue&', 'v4', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue&', 'v5', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue&', 'v6', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue&', 'v7', default_value='ns3::EmptyAttributeValue()', is_const=True)])
gjc@3408
   337
    ## wifi-helper.h: void ns3::WifiHelper::SetPhy(std::string phyType, std::string n0="", ns3::AttributeValue const & v0=ns3::EmptyAttributeValue(), std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue(), std::string n5="", ns3::AttributeValue const & v5=ns3::EmptyAttributeValue(), std::string n6="", ns3::AttributeValue const & v6=ns3::EmptyAttributeValue(), std::string n7="", ns3::AttributeValue const & v7=ns3::EmptyAttributeValue()) [member function]
gjc@3408
   338
    cls.add_method('SetPhy', 'void', [param('std::string', 'phyType'), param('std::string', 'n0', default_value='""'), param('ns3::AttributeValue&', 'v0', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue&', 'v1', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue&', 'v2', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue&', 'v3', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue&', 'v4', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue&', 'v5', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue&', 'v6', default_value='ns3::EmptyAttributeValue()', is_const=True), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue&', 'v7', default_value='ns3::EmptyAttributeValue()', is_const=True)])
gjc@3408
   339
    ## wifi-helper.h: static void ns3::WifiHelper::EnablePcap(std::string filename, uint32_t nodeid, uint32_t deviceid) [member function]
gjc@3408
   340
    cls.add_method('EnablePcap', 'void', [param('std::string', 'filename'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid')], is_static=True)
gjc@3408
   341
    ## wifi-helper.h: static void ns3::WifiHelper::EnablePcap(std::string filename, ns3::NetDeviceContainer d) [member function]
gjc@3408
   342
    cls.add_method('EnablePcap', 'void', [param('std::string', 'filename'), param('ns3::NetDeviceContainer', 'd')], is_static=True)
gjc@3408
   343
    ## wifi-helper.h: static void ns3::WifiHelper::EnablePcap(std::string filename, ns3::NodeContainer n) [member function]
gjc@3408
   344
    cls.add_method('EnablePcap', 'void', [param('std::string', 'filename'), param('ns3::NodeContainer', 'n')], is_static=True)
gjc@3408
   345
    ## wifi-helper.h: static void ns3::WifiHelper::EnablePcapAll(std::string filename) [member function]
gjc@3408
   346
    cls.add_method('EnablePcapAll', 'void', [param('std::string', 'filename')], is_static=True)
gjc@3408
   347
    ## wifi-helper.h: static void ns3::WifiHelper::EnableAscii(std::ostream & os, uint32_t nodeid, uint32_t deviceid) [member function]
gjc@3408
   348
    cls.add_method('EnableAscii', 'void', [param('std::ostream&', 'os'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid')], is_static=True)
gjc@3408
   349
    ## wifi-helper.h: static void ns3::WifiHelper::EnableAscii(std::ostream & os, ns3::NetDeviceContainer d) [member function]
gjc@3408
   350
    cls.add_method('EnableAscii', 'void', [param('std::ostream&', 'os'), param('ns3::NetDeviceContainer', 'd')], is_static=True)
gjc@3408
   351
    ## wifi-helper.h: static void ns3::WifiHelper::EnableAscii(std::ostream & os, ns3::NodeContainer n) [member function]
gjc@3408
   352
    cls.add_method('EnableAscii', 'void', [param('std::ostream&', 'os'), param('ns3::NodeContainer', 'n')], is_static=True)
gjc@3408
   353
    ## wifi-helper.h: static void ns3::WifiHelper::EnableAsciiAll(std::ostream & os) [member function]
gjc@3408
   354
    cls.add_method('EnableAsciiAll', 'void', [param('std::ostream&', 'os')], is_static=True)
gjc@3408
   355
    ## wifi-helper.h: ns3::NetDeviceContainer ns3::WifiHelper::Install(ns3::NodeContainer c) const [member function]
gjc@3408
   356
    cls.add_method('Install', 'ns3::NetDeviceContainer', [param('ns3::NodeContainer', 'c')], is_const=True)
gjc@3408
   357
    ## wifi-helper.h: ns3::NetDeviceContainer ns3::WifiHelper::Install(ns3::NodeContainer c, ns3::Ptr<ns3::WifiChannel> channel) const [member function]
gjc@3408
   358
    cls.add_method('Install', 'ns3::NetDeviceContainer', [param('ns3::NodeContainer', 'c'), param('ns3::Ptr< ns3::WifiChannel >', 'channel')], is_const=True)
gjc@3408
   359
    return
gjc@3408
   360
gjc@3408
   361
def register_Ns3Ipv4AddressHelper_methods(root_module, cls):
gjc@3408
   362
    ## ipv4-address-helper.h: ns3::Ipv4AddressHelper::Ipv4AddressHelper() [constructor]
gjc@3408
   363
    cls.add_constructor([], visibility='public')
gjc@3408
   364
    ## ipv4-address-helper.h: void ns3::Ipv4AddressHelper::SetBase(ns3::Ipv4Address network, ns3::Ipv4Mask mask, ns3::Ipv4Address base="0.0.0.1") [member function]
gjc@3408
   365
    cls.add_method('SetBase', 'void', [param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'mask'), param('ns3::Ipv4Address', 'base', default_value='"0.0.0.1"')])
gjc@3408
   366
    ## ipv4-address-helper.h: ns3::Ipv4Address ns3::Ipv4AddressHelper::NewNetwork() [member function]
gjc@3408
   367
    cls.add_method('NewNetwork', 'ns3::Ipv4Address', [])
gjc@3408
   368
    ## ipv4-address-helper.h: ns3::Ipv4Address ns3::Ipv4AddressHelper::NewAddress() [member function]
gjc@3408
   369
    cls.add_method('NewAddress', 'ns3::Ipv4Address', [])
gjc@3408
   370
    ## ipv4-address-helper.h: ns3::Ipv4InterfaceContainer ns3::Ipv4AddressHelper::Assign(ns3::NetDeviceContainer const & c) [member function]
gjc@3408
   371
    cls.add_method('Assign', 'ns3::Ipv4InterfaceContainer', [param('ns3::NetDeviceContainer&', 'c', is_const=True)])
gjc@3408
   372
    return
gjc@3408
   373
gjc@3408
   374
def register_Ns3PacketSinkHelper_methods(root_module, cls):
gjc@3408
   375
    ## packet-sink-helper.h: ns3::PacketSinkHelper::PacketSinkHelper(std::string protocol, ns3::Address address) [constructor]
gjc@3408
   376
    cls.add_constructor([param('std::string', 'protocol'), param('ns3::Address', 'address')], visibility='public')
gjc@3408
   377
    ## packet-sink-helper.h: void ns3::PacketSinkHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function]
gjc@3408
   378
    cls.add_method('SetAttribute', 'void', [param('std::string', 'name'), param('ns3::AttributeValue&', 'value', is_const=True)])
gjc@3408
   379
    ## packet-sink-helper.h: ns3::ApplicationContainer ns3::PacketSinkHelper::Install(ns3::NodeContainer c) [member function]
gjc@3408
   380
    cls.add_method('Install', 'ns3::ApplicationContainer', [param('ns3::NodeContainer', 'c')])
gjc@3408
   381
    return
gjc@3408
   382
gjc@3408
   383
def register_Ns3Ns2MobilityHelper_methods(root_module, cls):
gjc@3408
   384
    ## ns2-mobility-helper.h: ns3::Ns2MobilityHelper::Ns2MobilityHelper(std::string filename) [constructor]
gjc@3408
   385
    cls.add_constructor([param('std::string', 'filename')], visibility='public')
gjc@3408
   386
    ## ns2-mobility-helper.h: void ns3::Ns2MobilityHelper::Install() const [member function]
gjc@3408
   387
    cls.add_method('Install', 'void', [], is_const=True)
gjc@3408
   388
    return
gjc@3408
   389
gjc@3408
   390
def register_functions(root_module):
gjc@3408
   391
    module = root_module
gjc@3408
   392
    register_functions_ns3_internal(module.get_submodule('internal'), root_module)
gjc@3408
   393
    register_functions_ns3_TimeStepPrecision(module.get_submodule('TimeStepPrecision'), root_module)
gjc@3408
   394
    register_functions_ns3_Config(module.get_submodule('Config'), root_module)
gjc@3408
   395
    register_functions_ns3_olsr(module.get_submodule('olsr'), root_module)
gjc@3408
   396
    return
gjc@3408
   397
gjc@3408
   398
def register_functions_ns3_internal(module, root_module):
gjc@3408
   399
    return
gjc@3408
   400
gjc@3408
   401
def register_functions_ns3_TimeStepPrecision(module, root_module):
gjc@3408
   402
    return
gjc@3408
   403
gjc@3408
   404
def register_functions_ns3_Config(module, root_module):
gjc@3408
   405
    return
gjc@3408
   406
gjc@3408
   407
def register_functions_ns3_olsr(module, root_module):
gjc@3408
   408
    return
gjc@3408
   409