View | Details | Raw Unified | Return to bug 1105
Collapse All | Expand All

(-)e9ca5b2838e7 (+195 lines)
Added Link Here 
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
2
/*
3
 * This program is free software; you can redistribute it and/or modify
4
 * it under the terms of the GNU General Public License version 2 as
5
 * published by the Free Software Foundation;
6
 *
7
 * This program is distributed in the hope that it will be useful,
8
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10
 * GNU General Public License for more details.
11
 *
12
 * You should have received a copy of the GNU General Public License
13
 * along with this program; if not, write to the Free Software
14
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
15
 *
16
 */
17
18
#include "ns3/core-module.h"
19
#include "ns3/network-module.h"
20
#include "ns3/csma-module.h"
21
#include "ns3/csma-star-helper.h"
22
#include "ns3/applications-module.h"
23
#include "ns3/csma-module.h"
24
#include "ns3/internet-module.h"
25
26
// Network topology (default)
27
//
28
//            n2     +          +     n3          .
29
//             | ... |\        /| ... |           .
30
//             ======= \      / =======           .
31
//              CSMA    \    /   CSMA             .
32
//                       \  /                     .
33
//            n1     +--- n0 ---+     n4          .
34
//             | ... |   /  \   | ... |           .
35
//             =======  /    \  =======           .
36
//              CSMA   /      \  CSMA             .
37
//                    /        \                  .
38
//            n6     +          +     n5          .
39
//             | ... |          | ... |           .
40
//             =======          =======           .
41
//              CSMA             CSMA             .
42
//
43
44
using namespace ns3;
45
46
NS_LOG_COMPONENT_DEFINE ("CsmaStar");
47
48
int 
49
main (int argc, char *argv[])
50
{
51
52
  //
53
  // Set up some default values for the simulation.
54
  //
55
  Config::SetDefault ("ns3::OnOffApplication::PacketSize", UintegerValue (137));
56
57
  // ??? try and stick 15kb/s into the data rate
58
  Config::SetDefault ("ns3::OnOffApplication::DataRate", StringValue ("14kb/s"));
59
60
  //
61
  // Default number of nodes in the star.  Overridable by command line argument.
62
  //
63
  uint32_t nSpokes = 7;
64
65
  CommandLine cmd;
66
  cmd.AddValue("nSpokes", "Number of spoke nodes to place in the star", nSpokes);
67
  cmd.Parse (argc, argv);
68
69
  NS_LOG_INFO ("Build star topology.");
70
  CsmaHelper csma;
71
  csma.SetChannelAttribute ("DataRate", StringValue ("100Mbps"));
72
  csma.SetChannelAttribute ("Delay", StringValue ("1ms"));
73
  CsmaStarHelper star (nSpokes, csma);
74
75
  NodeContainer fillNodes;
76
77
  //
78
  // Just to be nasy, hang some more nodes off of the CSMA channel for each
79
  // spoke, so that there are a total of 16 nodes on each channel.  Stash
80
  // all of these new devices into a container.
81
  //
82
  NetDeviceContainer fillDevices;
83
84
  uint32_t nFill = 14;
85
  for (uint32_t i = 0; i < star.GetSpokeDevices ().GetN (); ++i)
86
    {
87
      Ptr<Channel> channel = star.GetSpokeDevices ().Get (i)->GetChannel ();
88
      Ptr<CsmaChannel> csmaChannel = channel->GetObject<CsmaChannel> ();
89
      NodeContainer newNodes;
90
      newNodes.Create (nFill);
91
      fillNodes.Add (newNodes);
92
      fillDevices.Add (csma.Install (newNodes, csmaChannel));
93
    }
94
95
  NS_LOG_INFO ("Install internet stack on all nodes.");
96
  InternetStackHelper internet;
97
  star.InstallStack (internet);
98
  internet.Install (fillNodes);
99
100
  NS_LOG_INFO ("Assign IP Addresses.");
101
  star.AssignIpv4Addresses (Ipv4AddressHelper ("10.1.0.0", "255.255.255.0"));
102
103
  //
104
  // We assigned addresses to the logical hub and the first "drop" of the 
105
  // CSMA network that acts as the spoke, but we also have a number of fill
106
  // devices (nFill) also hanging off the CSMA network.  We have got to 
107
  // assign addresses to them as well.  We put all of the fill devices into
108
  // a single device container, so the first nFill devices are associated
109
  // with the channel connected to spokeDevices.Get (0), the second nFill
110
  // devices afe associated with the channel connected to spokeDevices.Get (1)
111
  // etc.
112
  //
113
  Ipv4AddressHelper address;
114
  for(uint32_t i = 0; i < star.SpokeCount (); ++i)
115
  {
116
    std::ostringstream subnet;
117
    subnet << "10.1." << i << ".0";
118
    NS_LOG_INFO ("Assign IP Addresses for CSMA subnet " << subnet.str ());
119
    address.SetBase (subnet.str ().c_str (), "255.255.255.0", "0.0.0.3");
120
121
    for (uint32_t j = 0; j < nFill; ++j)
122
      {
123
        address.Assign (fillDevices.Get (i * nFill + j));
124
      }
125
  }
126
127
  NS_LOG_INFO ("Create applications.");
128
  //
129
  // Create a packet sink on the star "hub" to receive packets.  
130
  // 
131
  uint16_t port = 50000;
132
  Address hubLocalAddress (InetSocketAddress (Ipv4Address::GetAny (), port));
133
  PacketSinkHelper packetSinkHelper ("ns3::TcpSocketFactory", hubLocalAddress);
134
  ApplicationContainer hubApp = packetSinkHelper.Install (star.GetHub ());
135
  hubApp.Start (Seconds (1.0));
136
  hubApp.Stop (Seconds (10.0));
137
138
  //
139
  // Create OnOff applications to send TCP to the hub, one on each spoke node.
140
  //
141
  OnOffHelper onOffHelper ("ns3::TcpSocketFactory", Address ());
142
  onOffHelper.SetAttribute ("OnTime", RandomVariableValue (ConstantVariable (1)));
143
  onOffHelper.SetAttribute ("OffTime", RandomVariableValue (ConstantVariable (0)));
144
145
  ApplicationContainer spokeApps;
146
147
  for (uint32_t i = 0; i < star.SpokeCount (); ++i)
148
    {
149
      AddressValue remoteAddress (InetSocketAddress (star.GetHubIpv4Address (i), port));
150
      onOffHelper.SetAttribute ("Remote", remoteAddress);
151
      spokeApps.Add (onOffHelper.Install (star.GetSpokeNode (i)));
152
    }
153
154
  spokeApps.Start (Seconds (1.0));
155
  spokeApps.Stop (Seconds (10.0));
156
157
  //
158
  // Because we are evil, we also add OnOff applications to send TCP to the hub 
159
  // from the fill devices on each CSMA link.  The first nFill nodes in the 
160
  // fillNodes container are on the CSMA network talking to the zeroth device
161
  // on the hub node.  The next nFill nodes are on the CSMA network talking to
162
  // the first device on the hub node, etc.  So the ith fillNode is associated
163
  // with the hub address found on the (i / nFill)th device on the hub node.
164
  //
165
  ApplicationContainer fillApps;
166
167
  for (uint32_t i = 0; i < fillNodes.GetN (); ++i)
168
    {
169
      AddressValue remoteAddress (InetSocketAddress (star.GetHubIpv4Address (i / nFill), port));
170
      onOffHelper.SetAttribute ("Remote", remoteAddress);
171
      fillApps.Add (onOffHelper.Install (fillNodes.Get (i)));
172
    }
173
174
  fillApps.Start (Seconds (1.0));
175
  fillApps.Stop (Seconds (10.0));
176
177
  NS_LOG_INFO ("Enable static global routing.");
178
  //
179
  // Turn on global static routing so we can actually be routed across the star.
180
  //
181
  Ipv4GlobalRoutingHelper::PopulateRoutingTables ();
182
183
  NS_LOG_INFO ("Enable pcap tracing.");
184
  //
185
  // Do pcap tracing on all devices on all nodes.
186
  //
187
  csma.EnablePcapAll ("csma-star", false);
188
189
  NS_LOG_INFO ("Run Simulation.");
190
  Simulator::Run ();
191
  Simulator::Destroy ();
192
  NS_LOG_INFO ("Done.");
193
194
  return 0;
195
}
(-)e9ca5b2838e7 (+1 lines)
Added Link Here 
1
exec "`dirname "$0"`"/../../waf "$@"
(-)e9ca5b2838e7 (+5 lines)
Added Link Here 
1
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
2
3
def build(bld):
4
    obj = bld.create_ns3_program('csma-star', ['csma', 'csma-layout', 'internet', 'applications'])
5
    obj.source = 'csma-star.cc'
(-)e9ca5b2838e7 (+109 lines)
Added Link Here 
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
2
/*
3
 * This program is free software; you can redistribute it and/or modify
4
 * it under the terms of the GNU General Public License version 2 as
5
 * published by the Free Software Foundation;
6
 *
7
 * This program is distributed in the hope that it will be useful,
8
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10
 * GNU General Public License for more details.
11
 *
12
 * You should have received a copy of the GNU General Public License
13
 * along with this program; if not, write to the Free Software
14
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
15
 */
16
17
#include <iostream>
18
#include <sstream>
19
20
// ns3 includes
21
#include "ns3/animation-interface.h"
22
#include "ns3/csma-star-helper.h"
23
#include "ns3/node-list.h"
24
#include "ns3/point-to-point-net-device.h"
25
#include "ns3/vector.h"
26
27
NS_LOG_COMPONENT_DEFINE("CsmaStarHelper");
28
29
namespace ns3 {
30
  
31
CsmaStarHelper::CsmaStarHelper (uint32_t numSpokes,
32
                                CsmaHelper csmaHelper)
33
{
34
  m_hub.Create (1);
35
  m_spokes.Create (numSpokes);
36
37
  for (uint32_t i = 0; i < m_spokes.GetN (); ++i)
38
    {
39
      NodeContainer nodes (m_hub.Get (0), m_spokes.Get (i));
40
      NetDeviceContainer nd = csmaHelper.Install (nodes);
41
      m_hubDevices.Add (nd.Get (0));
42
      m_spokeDevices.Add (nd.Get (1));
43
    }
44
}
45
46
CsmaStarHelper::~CsmaStarHelper ()
47
{}
48
49
Ptr<Node> 
50
CsmaStarHelper::GetHub () const
51
{
52
  return m_hub.Get (0);
53
}
54
55
Ptr<Node> 
56
CsmaStarHelper::GetSpokeNode (uint32_t i) const
57
{
58
  return m_spokes.Get (i);
59
}
60
61
NetDeviceContainer
62
CsmaStarHelper::GetHubDevices () const
63
{
64
  return m_spokeDevices;
65
}
66
67
NetDeviceContainer
68
CsmaStarHelper::GetSpokeDevices () const
69
{
70
  return m_spokeDevices;
71
}
72
73
Ipv4Address 
74
CsmaStarHelper::GetHubIpv4Address (uint32_t i) const
75
{
76
  return m_hubInterfaces.GetAddress (i);
77
}
78
79
Ipv4Address 
80
CsmaStarHelper::GetSpokeIpv4Address (uint32_t i) const
81
{
82
  return m_spokeInterfaces.GetAddress (i);
83
}
84
85
uint32_t  
86
CsmaStarHelper::SpokeCount () const
87
{
88
  return m_spokes.GetN ();
89
}
90
91
void 
92
CsmaStarHelper::InstallStack (InternetStackHelper stack)
93
{
94
  stack.Install (m_hub);
95
  stack.Install (m_spokes);
96
}
97
98
void 
99
CsmaStarHelper::AssignIpv4Addresses (Ipv4AddressHelper address)
100
{
101
  for (uint32_t i = 0; i < m_spokes.GetN (); ++i)
102
    {
103
      m_hubInterfaces.Add (address.Assign (m_hubDevices.Get (i)));
104
      m_spokeInterfaces.Add (address.Assign (m_spokeDevices.Get (i)));
105
      address.NewNetwork ();
106
    }
107
}
108
109
} // namespace ns3
(-)e9ca5b2838e7 (+123 lines)
Added Link Here 
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
2
/*
3
 * This program is free software; you can redistribute it and/or modify
4
 * it under the terms of the GNU General Public License version 2 as
5
 * published by the Free Software Foundation;
6
 *
7
 * This program is distributed in the hope that it will be useful,
8
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10
 * GNU General Public License for more details.
11
 *
12
 * You should have received a copy of the GNU General Public License
13
 * along with this program; if not, write to the Free Software
14
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
15
 */
16
17
// Define an object to create a dumbbell topology.
18
19
#ifndef CSMA_STAR_HELPER_H
20
#define CSMA_STAR_HELPER_H
21
22
#include <string>
23
24
#include "csma-helper.h"
25
#include "ipv4-address-helper.h"
26
#include "internet-stack-helper.h"
27
#include "ipv4-interface-container.h"
28
29
namespace ns3 {
30
  
31
/**
32
 * \brief A helper to make it easier to create a star topology
33
 * with Csma links
34
 */
35
class CsmaStarHelper
36
{
37
public:
38
  /**
39
   * Create a CsmaStarHelper in order to easily create
40
   * star topologies using Csma links
41
   *
42
   * \param numSpokes the number of links attached to 
43
   *        the hub node, creating a total of 
44
   *        numSpokes + 1 nodes
45
   *
46
   * \param csmaHelper the link helper for Csma links, 
47
   *        used to link nodes together
48
   */
49
  CsmaStarHelper (uint32_t numSpokes, 
50
                  CsmaHelper csmaHelper);
51
52
  ~CsmaStarHelper ();
53
54
public:
55
  /**
56
   * \returns a node pointer to the hub node in the
57
   *          star, i.e., the center node
58
   */
59
  Ptr<Node> GetHub () const;
60
61
  /**
62
   * \param i an index into the spokes of the star
63
   *
64
   * \returns a node pointer to the node at the indexed spoke
65
   */
66
  Ptr<Node> GetSpokeNode (uint32_t i) const;
67
68
  /**
69
   * \returns the net-device container which contains all of 
70
   *          the devices on the hub node
71
   */
72
  NetDeviceContainer GetHubDevices () const;
73
74
  /**
75
   * \returns the net-device container which contains all of 
76
   *          the spoke node devices
77
   */
78
  NetDeviceContainer GetSpokeDevices () const;
79
80
  /**
81
   * \param i index into the hub interfaces
82
   *
83
   * \returns Ipv4Address according to indexed hub interface
84
   */
85
  Ipv4Address GetHubIpv4Address (uint32_t i) const;
86
87
  /**
88
   * \param i index into the spoke interfaces
89
   *
90
   * \returns Ipv4Address according to indexed spoke interface
91
   */
92
  Ipv4Address GetSpokeIpv4Address (uint32_t i) const;
93
94
  /**
95
   * \returns the total number of spokes in the star
96
   */
97
  uint32_t SpokeCount () const;
98
99
  /**
100
   * \param stack an InternetStackHelper which is used to install 
101
   *              on every node in the star
102
   */
103
  void InstallStack (InternetStackHelper stack);
104
105
  /**
106
   * \param address an Ipv4AddressHelper which is used to install 
107
   *                Ipv4 addresses on all the node interfaces in 
108
   *                the star
109
   */
110
  void AssignIpv4Addresses (Ipv4AddressHelper address);
111
112
private:
113
  NodeContainer m_hub;
114
  NetDeviceContainer m_hubDevices;
115
  NodeContainer m_spokes;
116
  NetDeviceContainer m_spokeDevices;
117
  Ipv4InterfaceContainer m_hubInterfaces;
118
  Ipv4InterfaceContainer m_spokeInterfaces;
119
};
120
121
} // namespace ns3
122
123
#endif /* CSMA_STAR_HELPER_H */
(-)e9ca5b2838e7 (+1 lines)
Added Link Here 
1
exec "`dirname "$0"`"/../../waf "$@"
(-)e9ca5b2838e7 (+18 lines)
Added Link Here 
1
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
2
3
def build(bld):
4
    obj = bld.create_ns3_module('csma-layout', ['csma', 'network', 'applications'])
5
    obj.source = [
6
        'model/csma-star-helper.cc',
7
        ]
8
    headers = bld.new_task_gen('ns3header')
9
    headers.module = 'csma-layout'
10
    headers.source = [
11
        'model/csma-star-helper.h',
12
        ]
13
14
    if bld.env['ENABLE_EXAMPLES']:
15
        bld.add_subdirs('examples')
16
17
    #bld.ns3_python_bindings()
18
(-)a/src/csma/bindings/callbacks_list.py (-4 lines)
 Lines 1-8    Link Here 
1
callback_classes = [
1
callback_classes = [
2
    ['void', 'ns3::Ptr<ns3::Socket>', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
3
    ['void', 'ns3::Ptr<ns3::Socket>', 'unsigned int', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
4
    ['void', 'ns3::Ptr<ns3::Socket>', 'ns3::Address const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
5
    ['bool', 'ns3::Ptr<ns3::Socket>', 'ns3::Address const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
6
    ['bool', 'ns3::Ptr<ns3::NetDevice>', 'ns3::Ptr<ns3::Packet const>', 'unsigned short', 'ns3::Address const&', 'ns3::Address const&', 'ns3::NetDevice::PacketType', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
2
    ['bool', 'ns3::Ptr<ns3::NetDevice>', 'ns3::Ptr<ns3::Packet const>', 'unsigned short', 'ns3::Address const&', 'ns3::Address const&', 'ns3::NetDevice::PacketType', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
7
    ['bool', 'ns3::Ptr<ns3::NetDevice>', 'ns3::Ptr<ns3::Packet const>', 'unsigned short', 'ns3::Address const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
3
    ['bool', 'ns3::Ptr<ns3::NetDevice>', 'ns3::Ptr<ns3::Packet const>', 'unsigned short', 'ns3::Address const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
8
    ['void', 'ns3::Ptr<ns3::NetDevice>', 'ns3::Ptr<ns3::Packet const>', 'unsigned short', 'ns3::Address const&', 'ns3::Address const&', 'ns3::NetDevice::PacketType', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
4
    ['void', 'ns3::Ptr<ns3::NetDevice>', 'ns3::Ptr<ns3::Packet const>', 'unsigned short', 'ns3::Address const&', 'ns3::Address const&', 'ns3::NetDevice::PacketType', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
(-)a/src/csma/bindings/modulegen__gcc_ILP32.py (-2158 lines)
 Lines 30-39    Link Here 
30
    module.add_class('AsciiTraceHelper', import_from_module='ns.network')
30
    module.add_class('AsciiTraceHelper', import_from_module='ns.network')
31
    ## trace-helper.h (module 'network'): ns3::AsciiTraceHelperForDevice [class]
31
    ## trace-helper.h (module 'network'): ns3::AsciiTraceHelperForDevice [class]
32
    module.add_class('AsciiTraceHelperForDevice', allow_subclassing=True, import_from_module='ns.network')
32
    module.add_class('AsciiTraceHelperForDevice', allow_subclassing=True, import_from_module='ns.network')
33
    ## internet-trace-helper.h (module 'internet'): ns3::AsciiTraceHelperForIpv4 [class]
34
    module.add_class('AsciiTraceHelperForIpv4', allow_subclassing=True, import_from_module='ns.internet')
35
    ## internet-trace-helper.h (module 'internet'): ns3::AsciiTraceHelperForIpv6 [class]
36
    module.add_class('AsciiTraceHelperForIpv6', allow_subclassing=True, import_from_module='ns.internet')
37
    ## attribute-list.h (module 'core'): ns3::AttributeList [class]
33
    ## attribute-list.h (module 'core'): ns3::AttributeList [class]
38
    module.add_class('AttributeList', import_from_module='ns.core')
34
    module.add_class('AttributeList', import_from_module='ns.core')
39
    ## backoff.h (module 'csma'): ns3::Backoff [class]
35
    ## backoff.h (module 'csma'): ns3::Backoff [class]
 Lines 56-63    Link Here 
56
    module.add_class('CallbackBase', import_from_module='ns.core')
52
    module.add_class('CallbackBase', import_from_module='ns.core')
57
    ## csma-channel.h (module 'csma'): ns3::CsmaDeviceRec [class]
53
    ## csma-channel.h (module 'csma'): ns3::CsmaDeviceRec [class]
58
    module.add_class('CsmaDeviceRec')
54
    module.add_class('CsmaDeviceRec')
59
    ## csma-star-helper.h (module 'csma'): ns3::CsmaStarHelper [class]
60
    module.add_class('CsmaStarHelper')
61
    ## data-rate.h (module 'network'): ns3::DataRate [class]
55
    ## data-rate.h (module 'network'): ns3::DataRate [class]
62
    module.add_class('DataRate', import_from_module='ns.network')
56
    module.add_class('DataRate', import_from_module='ns.network')
63
    ## event-id.h (module 'core'): ns3::EventId [class]
57
    ## event-id.h (module 'core'): ns3::EventId [class]
 Lines 66-93    Link Here 
66
    module.add_class('Ipv4Address', import_from_module='ns.network')
60
    module.add_class('Ipv4Address', import_from_module='ns.network')
67
    ## ipv4-address.h (module 'network'): ns3::Ipv4Address [class]
61
    ## ipv4-address.h (module 'network'): ns3::Ipv4Address [class]
68
    root_module['ns3::Ipv4Address'].implicitly_converts_to(root_module['ns3::Address'])
62
    root_module['ns3::Ipv4Address'].implicitly_converts_to(root_module['ns3::Address'])
69
    ## ipv4-address-helper.h (module 'internet'): ns3::Ipv4AddressHelper [class]
70
    module.add_class('Ipv4AddressHelper', import_from_module='ns.internet')
71
    ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4InterfaceAddress [class]
72
    module.add_class('Ipv4InterfaceAddress', import_from_module='ns.internet')
73
    ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e [enumeration]
74
    module.add_enum('InterfaceAddressScope_e', ['HOST', 'LINK', 'GLOBAL'], outer_class=root_module['ns3::Ipv4InterfaceAddress'], import_from_module='ns.internet')
75
    ## ipv4-interface-container.h (module 'internet'): ns3::Ipv4InterfaceContainer [class]
76
    module.add_class('Ipv4InterfaceContainer', import_from_module='ns.internet')
77
    ## ipv4-address.h (module 'network'): ns3::Ipv4Mask [class]
63
    ## ipv4-address.h (module 'network'): ns3::Ipv4Mask [class]
78
    module.add_class('Ipv4Mask', import_from_module='ns.network')
64
    module.add_class('Ipv4Mask', import_from_module='ns.network')
79
    ## ipv6-address.h (module 'network'): ns3::Ipv6Address [class]
65
    ## ipv6-address.h (module 'network'): ns3::Ipv6Address [class]
80
    module.add_class('Ipv6Address', import_from_module='ns.network')
66
    module.add_class('Ipv6Address', import_from_module='ns.network')
81
    ## ipv6-address.h (module 'network'): ns3::Ipv6Address [class]
67
    ## ipv6-address.h (module 'network'): ns3::Ipv6Address [class]
82
    root_module['ns3::Ipv6Address'].implicitly_converts_to(root_module['ns3::Address'])
68
    root_module['ns3::Ipv6Address'].implicitly_converts_to(root_module['ns3::Address'])
83
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress [class]
84
    module.add_class('Ipv6InterfaceAddress', import_from_module='ns.internet')
85
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress::State_e [enumeration]
86
    module.add_enum('State_e', ['TENTATIVE', 'DEPRECATED', 'PREFERRED', 'PERMANENT', 'HOMEADDRESS', 'TENTATIVE_OPTIMISTIC', 'INVALID'], outer_class=root_module['ns3::Ipv6InterfaceAddress'], import_from_module='ns.internet')
87
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress::Scope_e [enumeration]
88
    module.add_enum('Scope_e', ['HOST', 'LINKLOCAL', 'GLOBAL'], outer_class=root_module['ns3::Ipv6InterfaceAddress'], import_from_module='ns.internet')
89
    ## ipv6-interface-container.h (module 'internet'): ns3::Ipv6InterfaceContainer [class]
90
    module.add_class('Ipv6InterfaceContainer', import_from_module='ns.internet')
91
    ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix [class]
69
    ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix [class]
92
    module.add_class('Ipv6Prefix', import_from_module='ns.network')
70
    module.add_class('Ipv6Prefix', import_from_module='ns.network')
93
    ## mac48-address.h (module 'network'): ns3::Mac48Address [class]
71
    ## mac48-address.h (module 'network'): ns3::Mac48Address [class]
 Lines 128-137    Link Here 
128
    module.add_enum('', ['DLT_NULL', 'DLT_EN10MB', 'DLT_PPP', 'DLT_RAW', 'DLT_IEEE802_11', 'DLT_PRISM_HEADER', 'DLT_IEEE802_11_RADIO'], outer_class=root_module['ns3::PcapHelper'], import_from_module='ns.network')
106
    module.add_enum('', ['DLT_NULL', 'DLT_EN10MB', 'DLT_PPP', 'DLT_RAW', 'DLT_IEEE802_11', 'DLT_PRISM_HEADER', 'DLT_IEEE802_11_RADIO'], outer_class=root_module['ns3::PcapHelper'], import_from_module='ns.network')
129
    ## trace-helper.h (module 'network'): ns3::PcapHelperForDevice [class]
107
    ## trace-helper.h (module 'network'): ns3::PcapHelperForDevice [class]
130
    module.add_class('PcapHelperForDevice', allow_subclassing=True, import_from_module='ns.network')
108
    module.add_class('PcapHelperForDevice', allow_subclassing=True, import_from_module='ns.network')
131
    ## internet-trace-helper.h (module 'internet'): ns3::PcapHelperForIpv4 [class]
132
    module.add_class('PcapHelperForIpv4', allow_subclassing=True, import_from_module='ns.internet')
133
    ## internet-trace-helper.h (module 'internet'): ns3::PcapHelperForIpv6 [class]
134
    module.add_class('PcapHelperForIpv6', allow_subclassing=True, import_from_module='ns.internet')
135
    ## random-variable.h (module 'core'): ns3::RandomVariable [class]
109
    ## random-variable.h (module 'core'): ns3::RandomVariable [class]
136
    module.add_class('RandomVariable', import_from_module='ns.core')
110
    module.add_class('RandomVariable', import_from_module='ns.core')
137
    ## random-variable.h (module 'core'): ns3::SeedManager [class]
111
    ## random-variable.h (module 'core'): ns3::SeedManager [class]
 Lines 188-201    Link Here 
188
    module.add_class('Header', import_from_module='ns.network', parent=root_module['ns3::Chunk'])
162
    module.add_class('Header', import_from_module='ns.network', parent=root_module['ns3::Chunk'])
189
    ## random-variable.h (module 'core'): ns3::IntEmpiricalVariable [class]
163
    ## random-variable.h (module 'core'): ns3::IntEmpiricalVariable [class]
190
    module.add_class('IntEmpiricalVariable', import_from_module='ns.core', parent=root_module['ns3::EmpiricalVariable'])
164
    module.add_class('IntEmpiricalVariable', import_from_module='ns.core', parent=root_module['ns3::EmpiricalVariable'])
191
    ## internet-stack-helper.h (module 'internet'): ns3::InternetStackHelper [class]
192
    module.add_class('InternetStackHelper', import_from_module='ns.internet', parent=[root_module['ns3::PcapHelperForIpv4'], root_module['ns3::PcapHelperForIpv6'], root_module['ns3::AsciiTraceHelperForIpv4'], root_module['ns3::AsciiTraceHelperForIpv6']])
193
    ## ipv4-header.h (module 'internet'): ns3::Ipv4Header [class]
194
    module.add_class('Ipv4Header', import_from_module='ns.internet', parent=root_module['ns3::Header'])
195
    ## ipv6-header.h (module 'internet'): ns3::Ipv6Header [class]
196
    module.add_class('Ipv6Header', import_from_module='ns.internet', parent=root_module['ns3::Header'])
197
    ## ipv6-header.h (module 'internet'): ns3::Ipv6Header::NextHeader_e [enumeration]
198
    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'], import_from_module='ns.internet')
199
    ## random-variable.h (module 'core'): ns3::LogNormalVariable [class]
165
    ## random-variable.h (module 'core'): ns3::LogNormalVariable [class]
200
    module.add_class('LogNormalVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
166
    module.add_class('LogNormalVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
201
    ## random-variable.h (module 'core'): ns3::NormalVariable [class]
167
    ## random-variable.h (module 'core'): ns3::NormalVariable [class]
 Lines 218-245    Link Here 
218
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::CallbackImplBase', 'ns3::empty', 'ns3::DefaultDeleter<ns3::CallbackImplBase>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
184
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::CallbackImplBase', 'ns3::empty', 'ns3::DefaultDeleter<ns3::CallbackImplBase>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
219
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> > [class]
185
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> > [class]
220
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::EventImpl', 'ns3::empty', 'ns3::DefaultDeleter<ns3::EventImpl>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
186
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::EventImpl', 'ns3::empty', 'ns3::DefaultDeleter<ns3::EventImpl>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
221
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4MulticastRoute> > [class]
222
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Ipv4MulticastRoute', 'ns3::empty', 'ns3::DefaultDeleter<ns3::Ipv4MulticastRoute>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
223
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4Route> > [class]
224
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Ipv4Route', 'ns3::empty', 'ns3::DefaultDeleter<ns3::Ipv4Route>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
225
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> > [class]
187
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> > [class]
226
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::NixVector', 'ns3::empty', 'ns3::DefaultDeleter<ns3::NixVector>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
188
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::NixVector', 'ns3::empty', 'ns3::DefaultDeleter<ns3::NixVector>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
227
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter<ns3::OutputStreamWrapper> > [class]
189
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter<ns3::OutputStreamWrapper> > [class]
228
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::OutputStreamWrapper', 'ns3::empty', 'ns3::DefaultDeleter<ns3::OutputStreamWrapper>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
190
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::OutputStreamWrapper', 'ns3::empty', 'ns3::DefaultDeleter<ns3::OutputStreamWrapper>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
229
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> > [class]
191
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> > [class]
230
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Packet', 'ns3::empty', 'ns3::DefaultDeleter<ns3::Packet>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
192
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Packet', 'ns3::empty', 'ns3::DefaultDeleter<ns3::Packet>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
231
    ## socket.h (module 'network'): ns3::Socket [class]
232
    module.add_class('Socket', import_from_module='ns.network', parent=root_module['ns3::Object'])
233
    ## socket.h (module 'network'): ns3::Socket::SocketErrno [enumeration]
234
    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', 'ERROR_NODEV', 'ERROR_ADDRNOTAVAIL', 'SOCKET_ERRNO_LAST'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
235
    ## socket.h (module 'network'): ns3::Socket::SocketType [enumeration]
236
    module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
237
    ## socket.h (module 'network'): ns3::SocketAddressTag [class]
238
    module.add_class('SocketAddressTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
239
    ## socket.h (module 'network'): ns3::SocketIpTtlTag [class]
240
    module.add_class('SocketIpTtlTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
241
    ## socket.h (module 'network'): ns3::SocketSetDontFragmentTag [class]
242
    module.add_class('SocketSetDontFragmentTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
243
    ## nstime.h (module 'core'): ns3::Time [class]
193
    ## nstime.h (module 'core'): ns3::Time [class]
244
    module.add_class('Time', import_from_module='ns.core')
194
    module.add_class('Time', import_from_module='ns.core')
245
    ## nstime.h (module 'core'): ns3::Time::Unit [enumeration]
195
    ## nstime.h (module 'core'): ns3::Time::Unit [enumeration]
 Lines 272-311    Link Here 
272
    module.add_class('EmptyAttributeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
222
    module.add_class('EmptyAttributeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
273
    ## event-impl.h (module 'core'): ns3::EventImpl [class]
223
    ## event-impl.h (module 'core'): ns3::EventImpl [class]
274
    module.add_class('EventImpl', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >'])
224
    module.add_class('EventImpl', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >'])
275
    ## ipv4.h (module 'internet'): ns3::Ipv4 [class]
276
    module.add_class('Ipv4', import_from_module='ns.internet', parent=root_module['ns3::Object'])
277
    ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker [class]
225
    ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker [class]
278
    module.add_class('Ipv4AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
226
    module.add_class('Ipv4AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
279
    ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue [class]
227
    ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue [class]
280
    module.add_class('Ipv4AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
228
    module.add_class('Ipv4AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
281
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol [class]
282
    module.add_class('Ipv4L3Protocol', import_from_module='ns.internet', parent=root_module['ns3::Ipv4'])
283
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::DropReason [enumeration]
284
    module.add_enum('DropReason', ['DROP_TTL_EXPIRED', 'DROP_NO_ROUTE', 'DROP_BAD_CHECKSUM', 'DROP_INTERFACE_DOWN', 'DROP_ROUTE_ERROR'], outer_class=root_module['ns3::Ipv4L3Protocol'], import_from_module='ns.internet')
285
    ## ipv4-l4-protocol.h (module 'internet'): ns3::Ipv4L4Protocol [class]
286
    module.add_class('Ipv4L4Protocol', import_from_module='ns.internet', parent=root_module['ns3::Object'])
287
    ## ipv4-l4-protocol.h (module 'internet'): ns3::Ipv4L4Protocol::RxStatus [enumeration]
288
    module.add_enum('RxStatus', ['RX_OK', 'RX_CSUM_FAILED', 'RX_ENDPOINT_CLOSED', 'RX_ENDPOINT_UNREACH'], outer_class=root_module['ns3::Ipv4L4Protocol'], import_from_module='ns.internet')
289
    ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker [class]
229
    ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker [class]
290
    module.add_class('Ipv4MaskChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
230
    module.add_class('Ipv4MaskChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
291
    ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue [class]
231
    ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue [class]
292
    module.add_class('Ipv4MaskValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
232
    module.add_class('Ipv4MaskValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
293
    ## ipv4-route.h (module 'internet'): ns3::Ipv4MulticastRoute [class]
294
    module.add_class('Ipv4MulticastRoute', import_from_module='ns.internet', parent=root_module['ns3::SimpleRefCount< ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4MulticastRoute> >'])
295
    ## ipv4-route.h (module 'internet'): ns3::Ipv4Route [class]
296
    module.add_class('Ipv4Route', import_from_module='ns.internet', parent=root_module['ns3::SimpleRefCount< ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4Route> >'])
297
    ## ipv4-routing-protocol.h (module 'internet'): ns3::Ipv4RoutingProtocol [class]
298
    module.add_class('Ipv4RoutingProtocol', import_from_module='ns.internet', parent=root_module['ns3::Object'])
299
    ## ipv6.h (module 'internet'): ns3::Ipv6 [class]
300
    module.add_class('Ipv6', import_from_module='ns.internet', parent=root_module['ns3::Object'])
301
    ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker [class]
233
    ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker [class]
302
    module.add_class('Ipv6AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
234
    module.add_class('Ipv6AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
303
    ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue [class]
235
    ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue [class]
304
    module.add_class('Ipv6AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
236
    module.add_class('Ipv6AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
305
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ipv6L3Protocol [class]
306
    module.add_class('Ipv6L3Protocol', import_from_module='ns.internet', parent=root_module['ns3::Ipv6'])
307
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ipv6L3Protocol::DropReason [enumeration]
308
    module.add_enum('DropReason', ['DROP_TTL_EXPIRED', 'DROP_NO_ROUTE', 'DROP_INTERFACE_DOWN', 'DROP_ROUTE_ERROR', 'DROP_UNKNOWN_PROTOCOL'], outer_class=root_module['ns3::Ipv6L3Protocol'], import_from_module='ns.internet')
309
    ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker [class]
237
    ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker [class]
310
    module.add_class('Ipv6PrefixChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
238
    module.add_class('Ipv6PrefixChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
311
    ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue [class]
239
    ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue [class]
 Lines 365-372    Link Here 
365
    register_Ns3Address_methods(root_module, root_module['ns3::Address'])
293
    register_Ns3Address_methods(root_module, root_module['ns3::Address'])
366
    register_Ns3AsciiTraceHelper_methods(root_module, root_module['ns3::AsciiTraceHelper'])
294
    register_Ns3AsciiTraceHelper_methods(root_module, root_module['ns3::AsciiTraceHelper'])
367
    register_Ns3AsciiTraceHelperForDevice_methods(root_module, root_module['ns3::AsciiTraceHelperForDevice'])
295
    register_Ns3AsciiTraceHelperForDevice_methods(root_module, root_module['ns3::AsciiTraceHelperForDevice'])
368
    register_Ns3AsciiTraceHelperForIpv4_methods(root_module, root_module['ns3::AsciiTraceHelperForIpv4'])
369
    register_Ns3AsciiTraceHelperForIpv6_methods(root_module, root_module['ns3::AsciiTraceHelperForIpv6'])
370
    register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList'])
296
    register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList'])
371
    register_Ns3Backoff_methods(root_module, root_module['ns3::Backoff'])
297
    register_Ns3Backoff_methods(root_module, root_module['ns3::Backoff'])
372
    register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer'])
298
    register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer'])
 Lines 378-394    Link Here 
378
    register_Ns3ByteTagListIteratorItem_methods(root_module, root_module['ns3::ByteTagList::Iterator::Item'])
304
    register_Ns3ByteTagListIteratorItem_methods(root_module, root_module['ns3::ByteTagList::Iterator::Item'])
379
    register_Ns3CallbackBase_methods(root_module, root_module['ns3::CallbackBase'])
305
    register_Ns3CallbackBase_methods(root_module, root_module['ns3::CallbackBase'])
380
    register_Ns3CsmaDeviceRec_methods(root_module, root_module['ns3::CsmaDeviceRec'])
306
    register_Ns3CsmaDeviceRec_methods(root_module, root_module['ns3::CsmaDeviceRec'])
381
    register_Ns3CsmaStarHelper_methods(root_module, root_module['ns3::CsmaStarHelper'])
382
    register_Ns3DataRate_methods(root_module, root_module['ns3::DataRate'])
307
    register_Ns3DataRate_methods(root_module, root_module['ns3::DataRate'])
383
    register_Ns3EventId_methods(root_module, root_module['ns3::EventId'])
308
    register_Ns3EventId_methods(root_module, root_module['ns3::EventId'])
384
    register_Ns3Ipv4Address_methods(root_module, root_module['ns3::Ipv4Address'])
309
    register_Ns3Ipv4Address_methods(root_module, root_module['ns3::Ipv4Address'])
385
    register_Ns3Ipv4AddressHelper_methods(root_module, root_module['ns3::Ipv4AddressHelper'])
386
    register_Ns3Ipv4InterfaceAddress_methods(root_module, root_module['ns3::Ipv4InterfaceAddress'])
387
    register_Ns3Ipv4InterfaceContainer_methods(root_module, root_module['ns3::Ipv4InterfaceContainer'])
388
    register_Ns3Ipv4Mask_methods(root_module, root_module['ns3::Ipv4Mask'])
310
    register_Ns3Ipv4Mask_methods(root_module, root_module['ns3::Ipv4Mask'])
389
    register_Ns3Ipv6Address_methods(root_module, root_module['ns3::Ipv6Address'])
311
    register_Ns3Ipv6Address_methods(root_module, root_module['ns3::Ipv6Address'])
390
    register_Ns3Ipv6InterfaceAddress_methods(root_module, root_module['ns3::Ipv6InterfaceAddress'])
391
    register_Ns3Ipv6InterfaceContainer_methods(root_module, root_module['ns3::Ipv6InterfaceContainer'])
392
    register_Ns3Ipv6Prefix_methods(root_module, root_module['ns3::Ipv6Prefix'])
312
    register_Ns3Ipv6Prefix_methods(root_module, root_module['ns3::Ipv6Prefix'])
393
    register_Ns3Mac48Address_methods(root_module, root_module['ns3::Mac48Address'])
313
    register_Ns3Mac48Address_methods(root_module, root_module['ns3::Mac48Address'])
394
    register_Ns3NetDeviceContainer_methods(root_module, root_module['ns3::NetDeviceContainer'])
314
    register_Ns3NetDeviceContainer_methods(root_module, root_module['ns3::NetDeviceContainer'])
 Lines 406-413    Link Here 
406
    register_Ns3PcapFile_methods(root_module, root_module['ns3::PcapFile'])
326
    register_Ns3PcapFile_methods(root_module, root_module['ns3::PcapFile'])
407
    register_Ns3PcapHelper_methods(root_module, root_module['ns3::PcapHelper'])
327
    register_Ns3PcapHelper_methods(root_module, root_module['ns3::PcapHelper'])
408
    register_Ns3PcapHelperForDevice_methods(root_module, root_module['ns3::PcapHelperForDevice'])
328
    register_Ns3PcapHelperForDevice_methods(root_module, root_module['ns3::PcapHelperForDevice'])
409
    register_Ns3PcapHelperForIpv4_methods(root_module, root_module['ns3::PcapHelperForIpv4'])
410
    register_Ns3PcapHelperForIpv6_methods(root_module, root_module['ns3::PcapHelperForIpv6'])
411
    register_Ns3RandomVariable_methods(root_module, root_module['ns3::RandomVariable'])
329
    register_Ns3RandomVariable_methods(root_module, root_module['ns3::RandomVariable'])
412
    register_Ns3SeedManager_methods(root_module, root_module['ns3::SeedManager'])
330
    register_Ns3SeedManager_methods(root_module, root_module['ns3::SeedManager'])
413
    register_Ns3SequentialVariable_methods(root_module, root_module['ns3::SequentialVariable'])
331
    register_Ns3SequentialVariable_methods(root_module, root_module['ns3::SequentialVariable'])
 Lines 435-443    Link Here 
435
    register_Ns3GammaVariable_methods(root_module, root_module['ns3::GammaVariable'])
353
    register_Ns3GammaVariable_methods(root_module, root_module['ns3::GammaVariable'])
436
    register_Ns3Header_methods(root_module, root_module['ns3::Header'])
354
    register_Ns3Header_methods(root_module, root_module['ns3::Header'])
437
    register_Ns3IntEmpiricalVariable_methods(root_module, root_module['ns3::IntEmpiricalVariable'])
355
    register_Ns3IntEmpiricalVariable_methods(root_module, root_module['ns3::IntEmpiricalVariable'])
438
    register_Ns3InternetStackHelper_methods(root_module, root_module['ns3::InternetStackHelper'])
439
    register_Ns3Ipv4Header_methods(root_module, root_module['ns3::Ipv4Header'])
440
    register_Ns3Ipv6Header_methods(root_module, root_module['ns3::Ipv6Header'])
441
    register_Ns3LogNormalVariable_methods(root_module, root_module['ns3::LogNormalVariable'])
356
    register_Ns3LogNormalVariable_methods(root_module, root_module['ns3::LogNormalVariable'])
442
    register_Ns3NormalVariable_methods(root_module, root_module['ns3::NormalVariable'])
357
    register_Ns3NormalVariable_methods(root_module, root_module['ns3::NormalVariable'])
443
    register_Ns3Object_methods(root_module, root_module['ns3::Object'])
358
    register_Ns3Object_methods(root_module, root_module['ns3::Object'])
 Lines 449-463    Link Here 
449
    register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeValue__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >'])
364
    register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeValue__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >'])
450
    register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__lt__ns3CallbackImplBase__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >'])
365
    register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__lt__ns3CallbackImplBase__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >'])
451
    register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >'])
366
    register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >'])
452
    register_Ns3SimpleRefCount__Ns3Ipv4MulticastRoute_Ns3Empty_Ns3DefaultDeleter__lt__ns3Ipv4MulticastRoute__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4MulticastRoute> >'])
453
    register_Ns3SimpleRefCount__Ns3Ipv4Route_Ns3Empty_Ns3DefaultDeleter__lt__ns3Ipv4Route__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4Route> >'])
454
    register_Ns3SimpleRefCount__Ns3NixVector_Ns3Empty_Ns3DefaultDeleter__lt__ns3NixVector__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >'])
367
    register_Ns3SimpleRefCount__Ns3NixVector_Ns3Empty_Ns3DefaultDeleter__lt__ns3NixVector__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >'])
455
    register_Ns3SimpleRefCount__Ns3OutputStreamWrapper_Ns3Empty_Ns3DefaultDeleter__lt__ns3OutputStreamWrapper__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter<ns3::OutputStreamWrapper> >'])
368
    register_Ns3SimpleRefCount__Ns3OutputStreamWrapper_Ns3Empty_Ns3DefaultDeleter__lt__ns3OutputStreamWrapper__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter<ns3::OutputStreamWrapper> >'])
456
    register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >'])
369
    register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >'])
457
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
458
    register_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag'])
459
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
460
    register_Ns3SocketSetDontFragmentTag_methods(root_module, root_module['ns3::SocketSetDontFragmentTag'])
461
    register_Ns3Time_methods(root_module, root_module['ns3::Time'])
370
    register_Ns3Time_methods(root_module, root_module['ns3::Time'])
462
    register_Ns3Trailer_methods(root_module, root_module['ns3::Trailer'])
371
    register_Ns3Trailer_methods(root_module, root_module['ns3::Trailer'])
463
    register_Ns3AttributeAccessor_methods(root_module, root_module['ns3::AttributeAccessor'])
372
    register_Ns3AttributeAccessor_methods(root_module, root_module['ns3::AttributeAccessor'])
 Lines 472-491    Link Here 
472
    register_Ns3DataRateValue_methods(root_module, root_module['ns3::DataRateValue'])
381
    register_Ns3DataRateValue_methods(root_module, root_module['ns3::DataRateValue'])
473
    register_Ns3EmptyAttributeValue_methods(root_module, root_module['ns3::EmptyAttributeValue'])
382
    register_Ns3EmptyAttributeValue_methods(root_module, root_module['ns3::EmptyAttributeValue'])
474
    register_Ns3EventImpl_methods(root_module, root_module['ns3::EventImpl'])
383
    register_Ns3EventImpl_methods(root_module, root_module['ns3::EventImpl'])
475
    register_Ns3Ipv4_methods(root_module, root_module['ns3::Ipv4'])
476
    register_Ns3Ipv4AddressChecker_methods(root_module, root_module['ns3::Ipv4AddressChecker'])
384
    register_Ns3Ipv4AddressChecker_methods(root_module, root_module['ns3::Ipv4AddressChecker'])
477
    register_Ns3Ipv4AddressValue_methods(root_module, root_module['ns3::Ipv4AddressValue'])
385
    register_Ns3Ipv4AddressValue_methods(root_module, root_module['ns3::Ipv4AddressValue'])
478
    register_Ns3Ipv4L3Protocol_methods(root_module, root_module['ns3::Ipv4L3Protocol'])
479
    register_Ns3Ipv4L4Protocol_methods(root_module, root_module['ns3::Ipv4L4Protocol'])
480
    register_Ns3Ipv4MaskChecker_methods(root_module, root_module['ns3::Ipv4MaskChecker'])
386
    register_Ns3Ipv4MaskChecker_methods(root_module, root_module['ns3::Ipv4MaskChecker'])
481
    register_Ns3Ipv4MaskValue_methods(root_module, root_module['ns3::Ipv4MaskValue'])
387
    register_Ns3Ipv4MaskValue_methods(root_module, root_module['ns3::Ipv4MaskValue'])
482
    register_Ns3Ipv4MulticastRoute_methods(root_module, root_module['ns3::Ipv4MulticastRoute'])
483
    register_Ns3Ipv4Route_methods(root_module, root_module['ns3::Ipv4Route'])
484
    register_Ns3Ipv4RoutingProtocol_methods(root_module, root_module['ns3::Ipv4RoutingProtocol'])
485
    register_Ns3Ipv6_methods(root_module, root_module['ns3::Ipv6'])
486
    register_Ns3Ipv6AddressChecker_methods(root_module, root_module['ns3::Ipv6AddressChecker'])
388
    register_Ns3Ipv6AddressChecker_methods(root_module, root_module['ns3::Ipv6AddressChecker'])
487
    register_Ns3Ipv6AddressValue_methods(root_module, root_module['ns3::Ipv6AddressValue'])
389
    register_Ns3Ipv6AddressValue_methods(root_module, root_module['ns3::Ipv6AddressValue'])
488
    register_Ns3Ipv6L3Protocol_methods(root_module, root_module['ns3::Ipv6L3Protocol'])
489
    register_Ns3Ipv6PrefixChecker_methods(root_module, root_module['ns3::Ipv6PrefixChecker'])
390
    register_Ns3Ipv6PrefixChecker_methods(root_module, root_module['ns3::Ipv6PrefixChecker'])
490
    register_Ns3Ipv6PrefixValue_methods(root_module, root_module['ns3::Ipv6PrefixValue'])
391
    register_Ns3Ipv6PrefixValue_methods(root_module, root_module['ns3::Ipv6PrefixValue'])
491
    register_Ns3Mac48AddressChecker_methods(root_module, root_module['ns3::Mac48AddressChecker'])
392
    register_Ns3Mac48AddressChecker_methods(root_module, root_module['ns3::Mac48AddressChecker'])
 Lines 697-822    Link Here 
697
                   is_pure_virtual=True, is_virtual=True)
598
                   is_pure_virtual=True, is_virtual=True)
698
    return
599
    return
699
600
700
def register_Ns3AsciiTraceHelperForIpv4_methods(root_module, cls):
701
    ## internet-trace-helper.h (module 'internet'): ns3::AsciiTraceHelperForIpv4::AsciiTraceHelperForIpv4(ns3::AsciiTraceHelperForIpv4 const & arg0) [copy constructor]
702
    cls.add_constructor([param('ns3::AsciiTraceHelperForIpv4 const &', 'arg0')])
703
    ## internet-trace-helper.h (module 'internet'): ns3::AsciiTraceHelperForIpv4::AsciiTraceHelperForIpv4() [constructor]
704
    cls.add_constructor([])
705
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, ns3::Ptr<ns3::Ipv4> ipv4, uint32_t interface, bool explicitFilename=false) [member function]
706
    cls.add_method('EnableAsciiIpv4', 
707
                   'void', 
708
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')])
709
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr<ns3::OutputStreamWrapper> stream, ns3::Ptr<ns3::Ipv4> ipv4, uint32_t interface) [member function]
710
    cls.add_method('EnableAsciiIpv4', 
711
                   'void', 
712
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface')])
713
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, std::string ipv4Name, uint32_t interface, bool explicitFilename=false) [member function]
714
    cls.add_method('EnableAsciiIpv4', 
715
                   'void', 
716
                   [param('std::string', 'prefix'), param('std::string', 'ipv4Name'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')])
717
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr<ns3::OutputStreamWrapper> stream, std::string ipv4Name, uint32_t interface) [member function]
718
    cls.add_method('EnableAsciiIpv4', 
719
                   'void', 
720
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'ipv4Name'), param('uint32_t', 'interface')])
721
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, ns3::Ipv4InterfaceContainer c) [member function]
722
    cls.add_method('EnableAsciiIpv4', 
723
                   'void', 
724
                   [param('std::string', 'prefix'), param('ns3::Ipv4InterfaceContainer', 'c')])
725
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr<ns3::OutputStreamWrapper> stream, ns3::Ipv4InterfaceContainer c) [member function]
726
    cls.add_method('EnableAsciiIpv4', 
727
                   'void', 
728
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::Ipv4InterfaceContainer', 'c')])
729
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, ns3::NodeContainer n) [member function]
730
    cls.add_method('EnableAsciiIpv4', 
731
                   'void', 
732
                   [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')])
733
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr<ns3::OutputStreamWrapper> stream, ns3::NodeContainer n) [member function]
734
    cls.add_method('EnableAsciiIpv4', 
735
                   'void', 
736
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::NodeContainer', 'n')])
737
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, uint32_t nodeid, uint32_t deviceid, bool explicitFilename) [member function]
738
    cls.add_method('EnableAsciiIpv4', 
739
                   'void', 
740
                   [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid'), param('bool', 'explicitFilename')])
741
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr<ns3::OutputStreamWrapper> stream, uint32_t nodeid, uint32_t interface, bool explicitFilename) [member function]
742
    cls.add_method('EnableAsciiIpv4', 
743
                   'void', 
744
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('uint32_t', 'nodeid'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')])
745
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4All(std::string prefix) [member function]
746
    cls.add_method('EnableAsciiIpv4All', 
747
                   'void', 
748
                   [param('std::string', 'prefix')])
749
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4All(ns3::Ptr<ns3::OutputStreamWrapper> stream) [member function]
750
    cls.add_method('EnableAsciiIpv4All', 
751
                   'void', 
752
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')])
753
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4Internal(ns3::Ptr<ns3::OutputStreamWrapper> stream, std::string prefix, ns3::Ptr<ns3::Ipv4> ipv4, uint32_t interface, bool explicitFilename) [member function]
754
    cls.add_method('EnableAsciiIpv4Internal', 
755
                   'void', 
756
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], 
757
                   is_pure_virtual=True, is_virtual=True)
758
    return
759
760
def register_Ns3AsciiTraceHelperForIpv6_methods(root_module, cls):
761
    ## internet-trace-helper.h (module 'internet'): ns3::AsciiTraceHelperForIpv6::AsciiTraceHelperForIpv6(ns3::AsciiTraceHelperForIpv6 const & arg0) [copy constructor]
762
    cls.add_constructor([param('ns3::AsciiTraceHelperForIpv6 const &', 'arg0')])
763
    ## internet-trace-helper.h (module 'internet'): ns3::AsciiTraceHelperForIpv6::AsciiTraceHelperForIpv6() [constructor]
764
    cls.add_constructor([])
765
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, ns3::Ptr<ns3::Ipv6> ipv6, uint32_t interface, bool explicitFilename=false) [member function]
766
    cls.add_method('EnableAsciiIpv6', 
767
                   'void', 
768
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')])
769
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr<ns3::OutputStreamWrapper> stream, ns3::Ptr<ns3::Ipv6> ipv6, uint32_t interface) [member function]
770
    cls.add_method('EnableAsciiIpv6', 
771
                   'void', 
772
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface')])
773
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, std::string ipv6Name, uint32_t interface, bool explicitFilename=false) [member function]
774
    cls.add_method('EnableAsciiIpv6', 
775
                   'void', 
776
                   [param('std::string', 'prefix'), param('std::string', 'ipv6Name'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')])
777
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr<ns3::OutputStreamWrapper> stream, std::string ipv6Name, uint32_t interface) [member function]
778
    cls.add_method('EnableAsciiIpv6', 
779
                   'void', 
780
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'ipv6Name'), param('uint32_t', 'interface')])
781
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, ns3::Ipv6InterfaceContainer c) [member function]
782
    cls.add_method('EnableAsciiIpv6', 
783
                   'void', 
784
                   [param('std::string', 'prefix'), param('ns3::Ipv6InterfaceContainer', 'c')])
785
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr<ns3::OutputStreamWrapper> stream, ns3::Ipv6InterfaceContainer c) [member function]
786
    cls.add_method('EnableAsciiIpv6', 
787
                   'void', 
788
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::Ipv6InterfaceContainer', 'c')])
789
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, ns3::NodeContainer n) [member function]
790
    cls.add_method('EnableAsciiIpv6', 
791
                   'void', 
792
                   [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')])
793
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr<ns3::OutputStreamWrapper> stream, ns3::NodeContainer n) [member function]
794
    cls.add_method('EnableAsciiIpv6', 
795
                   'void', 
796
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::NodeContainer', 'n')])
797
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, uint32_t nodeid, uint32_t interface, bool explicitFilename) [member function]
798
    cls.add_method('EnableAsciiIpv6', 
799
                   'void', 
800
                   [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')])
801
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr<ns3::OutputStreamWrapper> stream, uint32_t nodeid, uint32_t interface) [member function]
802
    cls.add_method('EnableAsciiIpv6', 
803
                   'void', 
804
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('uint32_t', 'nodeid'), param('uint32_t', 'interface')])
805
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6All(std::string prefix) [member function]
806
    cls.add_method('EnableAsciiIpv6All', 
807
                   'void', 
808
                   [param('std::string', 'prefix')])
809
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6All(ns3::Ptr<ns3::OutputStreamWrapper> stream) [member function]
810
    cls.add_method('EnableAsciiIpv6All', 
811
                   'void', 
812
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')])
813
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6Internal(ns3::Ptr<ns3::OutputStreamWrapper> stream, std::string prefix, ns3::Ptr<ns3::Ipv6> ipv6, uint32_t interface, bool explicitFilename) [member function]
814
    cls.add_method('EnableAsciiIpv6Internal', 
815
                   'void', 
816
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], 
817
                   is_pure_virtual=True, is_virtual=True)
818
    return
819
820
def register_Ns3AttributeList_methods(root_module, cls):
601
def register_Ns3AttributeList_methods(root_module, cls):
821
    ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor]
602
    ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor]
822
    cls.add_constructor([])
603
    cls.add_constructor([])
 Lines 1275-1330    Link Here 
1275
    cls.add_instance_attribute('devicePtr', 'ns3::Ptr< ns3::CsmaNetDevice >', is_const=False)
1056
    cls.add_instance_attribute('devicePtr', 'ns3::Ptr< ns3::CsmaNetDevice >', is_const=False)
1276
    return
1057
    return
1277
1058
1278
def register_Ns3CsmaStarHelper_methods(root_module, cls):
1279
    ## csma-star-helper.h (module 'csma'): ns3::CsmaStarHelper::CsmaStarHelper(ns3::CsmaStarHelper const & arg0) [copy constructor]
1280
    cls.add_constructor([param('ns3::CsmaStarHelper const &', 'arg0')])
1281
    ## csma-star-helper.h (module 'csma'): ns3::CsmaStarHelper::CsmaStarHelper(uint32_t numSpokes, ns3::CsmaHelper csmaHelper) [constructor]
1282
    cls.add_constructor([param('uint32_t', 'numSpokes'), param('ns3::CsmaHelper', 'csmaHelper')])
1283
    ## csma-star-helper.h (module 'csma'): void ns3::CsmaStarHelper::AssignIpv4Addresses(ns3::Ipv4AddressHelper address) [member function]
1284
    cls.add_method('AssignIpv4Addresses', 
1285
                   'void', 
1286
                   [param('ns3::Ipv4AddressHelper', 'address')])
1287
    ## csma-star-helper.h (module 'csma'): ns3::Ptr<ns3::Node> ns3::CsmaStarHelper::GetHub() const [member function]
1288
    cls.add_method('GetHub', 
1289
                   'ns3::Ptr< ns3::Node >', 
1290
                   [], 
1291
                   is_const=True)
1292
    ## csma-star-helper.h (module 'csma'): ns3::NetDeviceContainer ns3::CsmaStarHelper::GetHubDevices() const [member function]
1293
    cls.add_method('GetHubDevices', 
1294
                   'ns3::NetDeviceContainer', 
1295
                   [], 
1296
                   is_const=True)
1297
    ## csma-star-helper.h (module 'csma'): ns3::Ipv4Address ns3::CsmaStarHelper::GetHubIpv4Address(uint32_t i) const [member function]
1298
    cls.add_method('GetHubIpv4Address', 
1299
                   'ns3::Ipv4Address', 
1300
                   [param('uint32_t', 'i')], 
1301
                   is_const=True)
1302
    ## csma-star-helper.h (module 'csma'): ns3::NetDeviceContainer ns3::CsmaStarHelper::GetSpokeDevices() const [member function]
1303
    cls.add_method('GetSpokeDevices', 
1304
                   'ns3::NetDeviceContainer', 
1305
                   [], 
1306
                   is_const=True)
1307
    ## csma-star-helper.h (module 'csma'): ns3::Ipv4Address ns3::CsmaStarHelper::GetSpokeIpv4Address(uint32_t i) const [member function]
1308
    cls.add_method('GetSpokeIpv4Address', 
1309
                   'ns3::Ipv4Address', 
1310
                   [param('uint32_t', 'i')], 
1311
                   is_const=True)
1312
    ## csma-star-helper.h (module 'csma'): ns3::Ptr<ns3::Node> ns3::CsmaStarHelper::GetSpokeNode(uint32_t i) const [member function]
1313
    cls.add_method('GetSpokeNode', 
1314
                   'ns3::Ptr< ns3::Node >', 
1315
                   [param('uint32_t', 'i')], 
1316
                   is_const=True)
1317
    ## csma-star-helper.h (module 'csma'): void ns3::CsmaStarHelper::InstallStack(ns3::InternetStackHelper stack) [member function]
1318
    cls.add_method('InstallStack', 
1319
                   'void', 
1320
                   [param('ns3::InternetStackHelper', 'stack')])
1321
    ## csma-star-helper.h (module 'csma'): uint32_t ns3::CsmaStarHelper::SpokeCount() const [member function]
1322
    cls.add_method('SpokeCount', 
1323
                   'uint32_t', 
1324
                   [], 
1325
                   is_const=True)
1326
    return
1327
1328
def register_Ns3DataRate_methods(root_module, cls):
1059
def register_Ns3DataRate_methods(root_module, cls):
1329
    cls.add_output_stream_operator()
1060
    cls.add_output_stream_operator()
1330
    cls.add_binary_comparison_operator('!=')
1061
    cls.add_binary_comparison_operator('!=')
 Lines 1506-1649    Link Here 
1506
                   [param('char const *', 'address')])
1237
                   [param('char const *', 'address')])
1507
    return
1238
    return
1508
1239
1509
def register_Ns3Ipv4AddressHelper_methods(root_module, cls):
1510
    ## ipv4-address-helper.h (module 'internet'): ns3::Ipv4AddressHelper::Ipv4AddressHelper(ns3::Ipv4AddressHelper const & arg0) [copy constructor]
1511
    cls.add_constructor([param('ns3::Ipv4AddressHelper const &', 'arg0')])
1512
    ## ipv4-address-helper.h (module 'internet'): ns3::Ipv4AddressHelper::Ipv4AddressHelper() [constructor]
1513
    cls.add_constructor([])
1514
    ## ipv4-address-helper.h (module 'internet'): ns3::Ipv4AddressHelper::Ipv4AddressHelper(ns3::Ipv4Address network, ns3::Ipv4Mask mask, ns3::Ipv4Address base="0.0.0.1") [constructor]
1515
    cls.add_constructor([param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'mask'), param('ns3::Ipv4Address', 'base', default_value='"0.0.0.1"')])
1516
    ## ipv4-address-helper.h (module 'internet'): ns3::Ipv4InterfaceContainer ns3::Ipv4AddressHelper::Assign(ns3::NetDeviceContainer const & c) [member function]
1517
    cls.add_method('Assign', 
1518
                   'ns3::Ipv4InterfaceContainer', 
1519
                   [param('ns3::NetDeviceContainer const &', 'c')])
1520
    ## ipv4-address-helper.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4AddressHelper::NewAddress() [member function]
1521
    cls.add_method('NewAddress', 
1522
                   'ns3::Ipv4Address', 
1523
                   [])
1524
    ## ipv4-address-helper.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4AddressHelper::NewNetwork() [member function]
1525
    cls.add_method('NewNetwork', 
1526
                   'ns3::Ipv4Address', 
1527
                   [])
1528
    ## ipv4-address-helper.h (module 'internet'): void ns3::Ipv4AddressHelper::SetBase(ns3::Ipv4Address network, ns3::Ipv4Mask mask, ns3::Ipv4Address base="0.0.0.1") [member function]
1529
    cls.add_method('SetBase', 
1530
                   'void', 
1531
                   [param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'mask'), param('ns3::Ipv4Address', 'base', default_value='"0.0.0.1"')])
1532
    return
1533
1534
def register_Ns3Ipv4InterfaceAddress_methods(root_module, cls):
1535
    cls.add_binary_comparison_operator('!=')
1536
    cls.add_output_stream_operator()
1537
    cls.add_binary_comparison_operator('==')
1538
    ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4InterfaceAddress::Ipv4InterfaceAddress() [constructor]
1539
    cls.add_constructor([])
1540
    ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4InterfaceAddress::Ipv4InterfaceAddress(ns3::Ipv4Address local, ns3::Ipv4Mask mask) [constructor]
1541
    cls.add_constructor([param('ns3::Ipv4Address', 'local'), param('ns3::Ipv4Mask', 'mask')])
1542
    ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4InterfaceAddress::Ipv4InterfaceAddress(ns3::Ipv4InterfaceAddress const & o) [copy constructor]
1543
    cls.add_constructor([param('ns3::Ipv4InterfaceAddress const &', 'o')])
1544
    ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4InterfaceAddress::GetBroadcast() const [member function]
1545
    cls.add_method('GetBroadcast', 
1546
                   'ns3::Ipv4Address', 
1547
                   [], 
1548
                   is_const=True)
1549
    ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4InterfaceAddress::GetLocal() const [member function]
1550
    cls.add_method('GetLocal', 
1551
                   'ns3::Ipv4Address', 
1552
                   [], 
1553
                   is_const=True)
1554
    ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4Mask ns3::Ipv4InterfaceAddress::GetMask() const [member function]
1555
    cls.add_method('GetMask', 
1556
                   'ns3::Ipv4Mask', 
1557
                   [], 
1558
                   is_const=True)
1559
    ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e ns3::Ipv4InterfaceAddress::GetScope() const [member function]
1560
    cls.add_method('GetScope', 
1561
                   'ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e', 
1562
                   [], 
1563
                   is_const=True)
1564
    ## ipv4-interface-address.h (module 'internet'): bool ns3::Ipv4InterfaceAddress::IsSecondary() const [member function]
1565
    cls.add_method('IsSecondary', 
1566
                   'bool', 
1567
                   [], 
1568
                   is_const=True)
1569
    ## ipv4-interface-address.h (module 'internet'): void ns3::Ipv4InterfaceAddress::SetBroadcast(ns3::Ipv4Address broadcast) [member function]
1570
    cls.add_method('SetBroadcast', 
1571
                   'void', 
1572
                   [param('ns3::Ipv4Address', 'broadcast')])
1573
    ## ipv4-interface-address.h (module 'internet'): void ns3::Ipv4InterfaceAddress::SetLocal(ns3::Ipv4Address local) [member function]
1574
    cls.add_method('SetLocal', 
1575
                   'void', 
1576
                   [param('ns3::Ipv4Address', 'local')])
1577
    ## ipv4-interface-address.h (module 'internet'): void ns3::Ipv4InterfaceAddress::SetMask(ns3::Ipv4Mask mask) [member function]
1578
    cls.add_method('SetMask', 
1579
                   'void', 
1580
                   [param('ns3::Ipv4Mask', 'mask')])
1581
    ## ipv4-interface-address.h (module 'internet'): void ns3::Ipv4InterfaceAddress::SetPrimary() [member function]
1582
    cls.add_method('SetPrimary', 
1583
                   'void', 
1584
                   [])
1585
    ## ipv4-interface-address.h (module 'internet'): void ns3::Ipv4InterfaceAddress::SetScope(ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e scope) [member function]
1586
    cls.add_method('SetScope', 
1587
                   'void', 
1588
                   [param('ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e', 'scope')])
1589
    ## ipv4-interface-address.h (module 'internet'): void ns3::Ipv4InterfaceAddress::SetSecondary() [member function]
1590
    cls.add_method('SetSecondary', 
1591
                   'void', 
1592
                   [])
1593
    return
1594
1595
def register_Ns3Ipv4InterfaceContainer_methods(root_module, cls):
1596
    ## ipv4-interface-container.h (module 'internet'): ns3::Ipv4InterfaceContainer::Ipv4InterfaceContainer(ns3::Ipv4InterfaceContainer const & arg0) [copy constructor]
1597
    cls.add_constructor([param('ns3::Ipv4InterfaceContainer const &', 'arg0')])
1598
    ## ipv4-interface-container.h (module 'internet'): ns3::Ipv4InterfaceContainer::Ipv4InterfaceContainer() [constructor]
1599
    cls.add_constructor([])
1600
    ## ipv4-interface-container.h (module 'internet'): void ns3::Ipv4InterfaceContainer::Add(ns3::Ipv4InterfaceContainer other) [member function]
1601
    cls.add_method('Add', 
1602
                   'void', 
1603
                   [param('ns3::Ipv4InterfaceContainer', 'other')])
1604
    ## ipv4-interface-container.h (module 'internet'): void ns3::Ipv4InterfaceContainer::Add(ns3::Ptr<ns3::Ipv4> ipv4, uint32_t interface) [member function]
1605
    cls.add_method('Add', 
1606
                   'void', 
1607
                   [param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface')])
1608
    ## ipv4-interface-container.h (module 'internet'): void ns3::Ipv4InterfaceContainer::Add(std::pair<ns3::Ptr<ns3::Ipv4>,unsigned int> ipInterfacePair) [member function]
1609
    cls.add_method('Add', 
1610
                   'void', 
1611
                   [param('std::pair< ns3::Ptr< ns3::Ipv4 >, unsigned int >', 'ipInterfacePair')])
1612
    ## ipv4-interface-container.h (module 'internet'): void ns3::Ipv4InterfaceContainer::Add(std::string ipv4Name, uint32_t interface) [member function]
1613
    cls.add_method('Add', 
1614
                   'void', 
1615
                   [param('std::string', 'ipv4Name'), param('uint32_t', 'interface')])
1616
    ## ipv4-interface-container.h (module 'internet'): __gnu_cxx::__normal_iterator<const std::pair<ns3::Ptr<ns3::Ipv4>, unsigned int>*,std::vector<std::pair<ns3::Ptr<ns3::Ipv4>, unsigned int>, std::allocator<std::pair<ns3::Ptr<ns3::Ipv4>, unsigned int> > > > ns3::Ipv4InterfaceContainer::Begin() const [member function]
1617
    cls.add_method('Begin', 
1618
                   '__gnu_cxx::__normal_iterator< std::pair< ns3::Ptr< ns3::Ipv4 >, unsigned int > const, std::vector< std::pair< ns3::Ptr< ns3::Ipv4 >, unsigned int > > >', 
1619
                   [], 
1620
                   is_const=True)
1621
    ## ipv4-interface-container.h (module 'internet'): __gnu_cxx::__normal_iterator<const std::pair<ns3::Ptr<ns3::Ipv4>, unsigned int>*,std::vector<std::pair<ns3::Ptr<ns3::Ipv4>, unsigned int>, std::allocator<std::pair<ns3::Ptr<ns3::Ipv4>, unsigned int> > > > ns3::Ipv4InterfaceContainer::End() const [member function]
1622
    cls.add_method('End', 
1623
                   '__gnu_cxx::__normal_iterator< std::pair< ns3::Ptr< ns3::Ipv4 >, unsigned int > const, std::vector< std::pair< ns3::Ptr< ns3::Ipv4 >, unsigned int > > >', 
1624
                   [], 
1625
                   is_const=True)
1626
    ## ipv4-interface-container.h (module 'internet'): std::pair<ns3::Ptr<ns3::Ipv4>,unsigned int> ns3::Ipv4InterfaceContainer::Get(uint32_t i) const [member function]
1627
    cls.add_method('Get', 
1628
                   'std::pair< ns3::Ptr< ns3::Ipv4 >, unsigned int >', 
1629
                   [param('uint32_t', 'i')], 
1630
                   is_const=True)
1631
    ## ipv4-interface-container.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4InterfaceContainer::GetAddress(uint32_t i, uint32_t j=0) const [member function]
1632
    cls.add_method('GetAddress', 
1633
                   'ns3::Ipv4Address', 
1634
                   [param('uint32_t', 'i'), param('uint32_t', 'j', default_value='0')], 
1635
                   is_const=True)
1636
    ## ipv4-interface-container.h (module 'internet'): uint32_t ns3::Ipv4InterfaceContainer::GetN() const [member function]
1637
    cls.add_method('GetN', 
1638
                   'uint32_t', 
1639
                   [], 
1640
                   is_const=True)
1641
    ## ipv4-interface-container.h (module 'internet'): void ns3::Ipv4InterfaceContainer::SetMetric(uint32_t i, uint16_t metric) [member function]
1642
    cls.add_method('SetMetric', 
1643
                   'void', 
1644
                   [param('uint32_t', 'i'), param('uint16_t', 'metric')])
1645
    return
1646
1647
def register_Ns3Ipv4Mask_methods(root_module, cls):
1240
def register_Ns3Ipv4Mask_methods(root_module, cls):
1648
    cls.add_binary_comparison_operator('!=')
1241
    cls.add_binary_comparison_operator('!=')
1649
    cls.add_output_stream_operator()
1242
    cls.add_output_stream_operator()
 Lines 1861-1973    Link Here 
1861
                   [param('uint8_t *', 'address')])
1454
                   [param('uint8_t *', 'address')])
1862
    return
1455
    return
1863
1456
1864
def register_Ns3Ipv6InterfaceAddress_methods(root_module, cls):
1865
    cls.add_binary_comparison_operator('!=')
1866
    cls.add_output_stream_operator()
1867
    cls.add_binary_comparison_operator('==')
1868
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress::Ipv6InterfaceAddress() [constructor]
1869
    cls.add_constructor([])
1870
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress::Ipv6InterfaceAddress(ns3::Ipv6Address address) [constructor]
1871
    cls.add_constructor([param('ns3::Ipv6Address', 'address')])
1872
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress::Ipv6InterfaceAddress(ns3::Ipv6Address address, ns3::Ipv6Prefix prefix) [constructor]
1873
    cls.add_constructor([param('ns3::Ipv6Address', 'address'), param('ns3::Ipv6Prefix', 'prefix')])
1874
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress::Ipv6InterfaceAddress(ns3::Ipv6InterfaceAddress const & o) [copy constructor]
1875
    cls.add_constructor([param('ns3::Ipv6InterfaceAddress const &', 'o')])
1876
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6Address ns3::Ipv6InterfaceAddress::GetAddress() const [member function]
1877
    cls.add_method('GetAddress', 
1878
                   'ns3::Ipv6Address', 
1879
                   [], 
1880
                   is_const=True)
1881
    ## ipv6-interface-address.h (module 'internet'): uint32_t ns3::Ipv6InterfaceAddress::GetNsDadUid() const [member function]
1882
    cls.add_method('GetNsDadUid', 
1883
                   'uint32_t', 
1884
                   [], 
1885
                   is_const=True)
1886
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6Prefix ns3::Ipv6InterfaceAddress::GetPrefix() const [member function]
1887
    cls.add_method('GetPrefix', 
1888
                   'ns3::Ipv6Prefix', 
1889
                   [], 
1890
                   is_const=True)
1891
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress::Scope_e ns3::Ipv6InterfaceAddress::GetScope() const [member function]
1892
    cls.add_method('GetScope', 
1893
                   'ns3::Ipv6InterfaceAddress::Scope_e', 
1894
                   [], 
1895
                   is_const=True)
1896
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress::State_e ns3::Ipv6InterfaceAddress::GetState() const [member function]
1897
    cls.add_method('GetState', 
1898
                   'ns3::Ipv6InterfaceAddress::State_e', 
1899
                   [], 
1900
                   is_const=True)
1901
    ## ipv6-interface-address.h (module 'internet'): void ns3::Ipv6InterfaceAddress::SetAddress(ns3::Ipv6Address address) [member function]
1902
    cls.add_method('SetAddress', 
1903
                   'void', 
1904
                   [param('ns3::Ipv6Address', 'address')])
1905
    ## ipv6-interface-address.h (module 'internet'): void ns3::Ipv6InterfaceAddress::SetNsDadUid(uint32_t uid) [member function]
1906
    cls.add_method('SetNsDadUid', 
1907
                   'void', 
1908
                   [param('uint32_t', 'uid')])
1909
    ## ipv6-interface-address.h (module 'internet'): void ns3::Ipv6InterfaceAddress::SetScope(ns3::Ipv6InterfaceAddress::Scope_e scope) [member function]
1910
    cls.add_method('SetScope', 
1911
                   'void', 
1912
                   [param('ns3::Ipv6InterfaceAddress::Scope_e', 'scope')])
1913
    ## ipv6-interface-address.h (module 'internet'): void ns3::Ipv6InterfaceAddress::SetState(ns3::Ipv6InterfaceAddress::State_e state) [member function]
1914
    cls.add_method('SetState', 
1915
                   'void', 
1916
                   [param('ns3::Ipv6InterfaceAddress::State_e', 'state')])
1917
    return
1918
1919
def register_Ns3Ipv6InterfaceContainer_methods(root_module, cls):
1920
    ## ipv6-interface-container.h (module 'internet'): ns3::Ipv6InterfaceContainer::Ipv6InterfaceContainer(ns3::Ipv6InterfaceContainer const & arg0) [copy constructor]
1921
    cls.add_constructor([param('ns3::Ipv6InterfaceContainer const &', 'arg0')])
1922
    ## ipv6-interface-container.h (module 'internet'): ns3::Ipv6InterfaceContainer::Ipv6InterfaceContainer() [constructor]
1923
    cls.add_constructor([])
1924
    ## ipv6-interface-container.h (module 'internet'): void ns3::Ipv6InterfaceContainer::Add(ns3::Ptr<ns3::Ipv6> ipv6, uint32_t interface) [member function]
1925
    cls.add_method('Add', 
1926
                   'void', 
1927
                   [param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface')])
1928
    ## ipv6-interface-container.h (module 'internet'): void ns3::Ipv6InterfaceContainer::Add(ns3::Ipv6InterfaceContainer & c) [member function]
1929
    cls.add_method('Add', 
1930
                   'void', 
1931
                   [param('ns3::Ipv6InterfaceContainer &', 'c')])
1932
    ## ipv6-interface-container.h (module 'internet'): void ns3::Ipv6InterfaceContainer::Add(std::string ipv6Name, uint32_t interface) [member function]
1933
    cls.add_method('Add', 
1934
                   'void', 
1935
                   [param('std::string', 'ipv6Name'), param('uint32_t', 'interface')])
1936
    ## ipv6-interface-container.h (module 'internet'): __gnu_cxx::__normal_iterator<const std::pair<ns3::Ptr<ns3::Ipv6>, unsigned int>*,std::vector<std::pair<ns3::Ptr<ns3::Ipv6>, unsigned int>, std::allocator<std::pair<ns3::Ptr<ns3::Ipv6>, unsigned int> > > > ns3::Ipv6InterfaceContainer::Begin() const [member function]
1937
    cls.add_method('Begin', 
1938
                   '__gnu_cxx::__normal_iterator< std::pair< ns3::Ptr< ns3::Ipv6 >, unsigned int > const, std::vector< std::pair< ns3::Ptr< ns3::Ipv6 >, unsigned int > > >', 
1939
                   [], 
1940
                   is_const=True)
1941
    ## ipv6-interface-container.h (module 'internet'): __gnu_cxx::__normal_iterator<const std::pair<ns3::Ptr<ns3::Ipv6>, unsigned int>*,std::vector<std::pair<ns3::Ptr<ns3::Ipv6>, unsigned int>, std::allocator<std::pair<ns3::Ptr<ns3::Ipv6>, unsigned int> > > > ns3::Ipv6InterfaceContainer::End() const [member function]
1942
    cls.add_method('End', 
1943
                   '__gnu_cxx::__normal_iterator< std::pair< ns3::Ptr< ns3::Ipv6 >, unsigned int > const, std::vector< std::pair< ns3::Ptr< ns3::Ipv6 >, unsigned int > > >', 
1944
                   [], 
1945
                   is_const=True)
1946
    ## ipv6-interface-container.h (module 'internet'): ns3::Ipv6Address ns3::Ipv6InterfaceContainer::GetAddress(uint32_t i, uint32_t j) const [member function]
1947
    cls.add_method('GetAddress', 
1948
                   'ns3::Ipv6Address', 
1949
                   [param('uint32_t', 'i'), param('uint32_t', 'j')], 
1950
                   is_const=True)
1951
    ## ipv6-interface-container.h (module 'internet'): uint32_t ns3::Ipv6InterfaceContainer::GetInterfaceIndex(uint32_t i) const [member function]
1952
    cls.add_method('GetInterfaceIndex', 
1953
                   'uint32_t', 
1954
                   [param('uint32_t', 'i')], 
1955
                   is_const=True)
1956
    ## ipv6-interface-container.h (module 'internet'): uint32_t ns3::Ipv6InterfaceContainer::GetN() const [member function]
1957
    cls.add_method('GetN', 
1958
                   'uint32_t', 
1959
                   [], 
1960
                   is_const=True)
1961
    ## ipv6-interface-container.h (module 'internet'): void ns3::Ipv6InterfaceContainer::SetDefaultRoute(uint32_t i, uint32_t router) [member function]
1962
    cls.add_method('SetDefaultRoute', 
1963
                   'void', 
1964
                   [param('uint32_t', 'i'), param('uint32_t', 'router')])
1965
    ## ipv6-interface-container.h (module 'internet'): void ns3::Ipv6InterfaceContainer::SetRouter(uint32_t i, bool router) [member function]
1966
    cls.add_method('SetRouter', 
1967
                   'void', 
1968
                   [param('uint32_t', 'i'), param('bool', 'router')])
1969
    return
1970
1971
def register_Ns3Ipv6Prefix_methods(root_module, cls):
1457
def register_Ns3Ipv6Prefix_methods(root_module, cls):
1972
    cls.add_binary_comparison_operator('!=')
1458
    cls.add_binary_comparison_operator('!=')
1973
    cls.add_output_stream_operator()
1459
    cls.add_output_stream_operator()
 Lines 2648-2725    Link Here 
2648
                   is_pure_virtual=True, is_virtual=True)
2134
                   is_pure_virtual=True, is_virtual=True)
2649
    return
2135
    return
2650
2136
2651
def register_Ns3PcapHelperForIpv4_methods(root_module, cls):
2652
    ## internet-trace-helper.h (module 'internet'): ns3::PcapHelperForIpv4::PcapHelperForIpv4(ns3::PcapHelperForIpv4 const & arg0) [copy constructor]
2653
    cls.add_constructor([param('ns3::PcapHelperForIpv4 const &', 'arg0')])
2654
    ## internet-trace-helper.h (module 'internet'): ns3::PcapHelperForIpv4::PcapHelperForIpv4() [constructor]
2655
    cls.add_constructor([])
2656
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv4::EnablePcapIpv4(std::string prefix, ns3::Ptr<ns3::Ipv4> ipv4, uint32_t interface, bool explicitFilename=false) [member function]
2657
    cls.add_method('EnablePcapIpv4', 
2658
                   'void', 
2659
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')])
2660
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv4::EnablePcapIpv4(std::string prefix, std::string ipv4Name, uint32_t interface, bool explicitFilename=false) [member function]
2661
    cls.add_method('EnablePcapIpv4', 
2662
                   'void', 
2663
                   [param('std::string', 'prefix'), param('std::string', 'ipv4Name'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')])
2664
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv4::EnablePcapIpv4(std::string prefix, ns3::Ipv4InterfaceContainer c) [member function]
2665
    cls.add_method('EnablePcapIpv4', 
2666
                   'void', 
2667
                   [param('std::string', 'prefix'), param('ns3::Ipv4InterfaceContainer', 'c')])
2668
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv4::EnablePcapIpv4(std::string prefix, ns3::NodeContainer n) [member function]
2669
    cls.add_method('EnablePcapIpv4', 
2670
                   'void', 
2671
                   [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')])
2672
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv4::EnablePcapIpv4(std::string prefix, uint32_t nodeid, uint32_t interface, bool explicitFilename) [member function]
2673
    cls.add_method('EnablePcapIpv4', 
2674
                   'void', 
2675
                   [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')])
2676
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv4::EnablePcapIpv4All(std::string prefix) [member function]
2677
    cls.add_method('EnablePcapIpv4All', 
2678
                   'void', 
2679
                   [param('std::string', 'prefix')])
2680
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv4::EnablePcapIpv4Internal(std::string prefix, ns3::Ptr<ns3::Ipv4> ipv4, uint32_t interface, bool explicitFilename) [member function]
2681
    cls.add_method('EnablePcapIpv4Internal', 
2682
                   'void', 
2683
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], 
2684
                   is_pure_virtual=True, is_virtual=True)
2685
    return
2686
2687
def register_Ns3PcapHelperForIpv6_methods(root_module, cls):
2688
    ## internet-trace-helper.h (module 'internet'): ns3::PcapHelperForIpv6::PcapHelperForIpv6(ns3::PcapHelperForIpv6 const & arg0) [copy constructor]
2689
    cls.add_constructor([param('ns3::PcapHelperForIpv6 const &', 'arg0')])
2690
    ## internet-trace-helper.h (module 'internet'): ns3::PcapHelperForIpv6::PcapHelperForIpv6() [constructor]
2691
    cls.add_constructor([])
2692
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, ns3::Ptr<ns3::Ipv6> ipv6, uint32_t interface, bool explicitFilename=false) [member function]
2693
    cls.add_method('EnablePcapIpv6', 
2694
                   'void', 
2695
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')])
2696
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, std::string ipv6Name, uint32_t interface, bool explicitFilename=false) [member function]
2697
    cls.add_method('EnablePcapIpv6', 
2698
                   'void', 
2699
                   [param('std::string', 'prefix'), param('std::string', 'ipv6Name'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')])
2700
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, ns3::Ipv6InterfaceContainer c) [member function]
2701
    cls.add_method('EnablePcapIpv6', 
2702
                   'void', 
2703
                   [param('std::string', 'prefix'), param('ns3::Ipv6InterfaceContainer', 'c')])
2704
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, ns3::NodeContainer n) [member function]
2705
    cls.add_method('EnablePcapIpv6', 
2706
                   'void', 
2707
                   [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')])
2708
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, uint32_t nodeid, uint32_t interface, bool explicitFilename) [member function]
2709
    cls.add_method('EnablePcapIpv6', 
2710
                   'void', 
2711
                   [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')])
2712
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv6::EnablePcapIpv6All(std::string prefix) [member function]
2713
    cls.add_method('EnablePcapIpv6All', 
2714
                   'void', 
2715
                   [param('std::string', 'prefix')])
2716
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv6::EnablePcapIpv6Internal(std::string prefix, ns3::Ptr<ns3::Ipv6> ipv6, uint32_t interface, bool explicitFilename) [member function]
2717
    cls.add_method('EnablePcapIpv6Internal', 
2718
                   'void', 
2719
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], 
2720
                   is_pure_virtual=True, is_virtual=True)
2721
    return
2722
2723
def register_Ns3RandomVariable_methods(root_module, cls):
2137
def register_Ns3RandomVariable_methods(root_module, cls):
2724
    cls.add_output_stream_operator()
2138
    cls.add_output_stream_operator()
2725
    ## random-variable.h (module 'core'): ns3::RandomVariable::RandomVariable() [constructor]
2139
    ## random-variable.h (module 'core'): ns3::RandomVariable::RandomVariable() [constructor]
 Lines 3575-3899    Link Here 
3575
    cls.add_constructor([])
2989
    cls.add_constructor([])
3576
    return
2990
    return
3577
2991
3578
def register_Ns3InternetStackHelper_methods(root_module, cls):
3579
    ## internet-stack-helper.h (module 'internet'): ns3::InternetStackHelper::InternetStackHelper() [constructor]
3580
    cls.add_constructor([])
3581
    ## internet-stack-helper.h (module 'internet'): ns3::InternetStackHelper::InternetStackHelper(ns3::InternetStackHelper const & arg0) [copy constructor]
3582
    cls.add_constructor([param('ns3::InternetStackHelper const &', 'arg0')])
3583
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::Install(std::string nodeName) const [member function]
3584
    cls.add_method('Install', 
3585
                   'void', 
3586
                   [param('std::string', 'nodeName')], 
3587
                   is_const=True)
3588
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::Install(ns3::Ptr<ns3::Node> node) const [member function]
3589
    cls.add_method('Install', 
3590
                   'void', 
3591
                   [param('ns3::Ptr< ns3::Node >', 'node')], 
3592
                   is_const=True)
3593
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::Install(ns3::NodeContainer c) const [member function]
3594
    cls.add_method('Install', 
3595
                   'void', 
3596
                   [param('ns3::NodeContainer', 'c')], 
3597
                   is_const=True)
3598
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::InstallAll() const [member function]
3599
    cls.add_method('InstallAll', 
3600
                   'void', 
3601
                   [], 
3602
                   is_const=True)
3603
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::Reset() [member function]
3604
    cls.add_method('Reset', 
3605
                   'void', 
3606
                   [])
3607
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::SetIpv4StackInstall(bool enable) [member function]
3608
    cls.add_method('SetIpv4StackInstall', 
3609
                   'void', 
3610
                   [param('bool', 'enable')])
3611
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::SetIpv6StackInstall(bool enable) [member function]
3612
    cls.add_method('SetIpv6StackInstall', 
3613
                   'void', 
3614
                   [param('bool', 'enable')])
3615
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::SetRoutingHelper(ns3::Ipv4RoutingHelper const & routing) [member function]
3616
    cls.add_method('SetRoutingHelper', 
3617
                   'void', 
3618
                   [param('ns3::Ipv4RoutingHelper const &', 'routing')])
3619
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::SetRoutingHelper(ns3::Ipv6RoutingHelper const & routing) [member function]
3620
    cls.add_method('SetRoutingHelper', 
3621
                   'void', 
3622
                   [param('ns3::Ipv6RoutingHelper const &', 'routing')])
3623
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::SetTcp(std::string tid) [member function]
3624
    cls.add_method('SetTcp', 
3625
                   'void', 
3626
                   [param('std::string', 'tid')])
3627
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::SetTcp(std::string tid, std::string attr, ns3::AttributeValue const & val) [member function]
3628
    cls.add_method('SetTcp', 
3629
                   'void', 
3630
                   [param('std::string', 'tid'), param('std::string', 'attr'), param('ns3::AttributeValue const &', 'val')])
3631
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::EnableAsciiIpv4Internal(ns3::Ptr<ns3::OutputStreamWrapper> stream, std::string prefix, ns3::Ptr<ns3::Ipv4> ipv4, uint32_t interface, bool explicitFilename) [member function]
3632
    cls.add_method('EnableAsciiIpv4Internal', 
3633
                   'void', 
3634
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], 
3635
                   visibility='private', is_virtual=True)
3636
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::EnableAsciiIpv6Internal(ns3::Ptr<ns3::OutputStreamWrapper> stream, std::string prefix, ns3::Ptr<ns3::Ipv6> ipv6, uint32_t interface, bool explicitFilename) [member function]
3637
    cls.add_method('EnableAsciiIpv6Internal', 
3638
                   'void', 
3639
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], 
3640
                   visibility='private', is_virtual=True)
3641
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::EnablePcapIpv4Internal(std::string prefix, ns3::Ptr<ns3::Ipv4> ipv4, uint32_t interface, bool explicitFilename) [member function]
3642
    cls.add_method('EnablePcapIpv4Internal', 
3643
                   'void', 
3644
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], 
3645
                   visibility='private', is_virtual=True)
3646
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::EnablePcapIpv6Internal(std::string prefix, ns3::Ptr<ns3::Ipv6> ipv6, uint32_t interface, bool explicitFilename) [member function]
3647
    cls.add_method('EnablePcapIpv6Internal', 
3648
                   'void', 
3649
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], 
3650
                   visibility='private', is_virtual=True)
3651
    return
3652
3653
def register_Ns3Ipv4Header_methods(root_module, cls):
3654
    ## ipv4-header.h (module 'internet'): ns3::Ipv4Header::Ipv4Header(ns3::Ipv4Header const & arg0) [copy constructor]
3655
    cls.add_constructor([param('ns3::Ipv4Header const &', 'arg0')])
3656
    ## ipv4-header.h (module 'internet'): ns3::Ipv4Header::Ipv4Header() [constructor]
3657
    cls.add_constructor([])
3658
    ## ipv4-header.h (module 'internet'): uint32_t ns3::Ipv4Header::Deserialize(ns3::Buffer::Iterator start) [member function]
3659
    cls.add_method('Deserialize', 
3660
                   'uint32_t', 
3661
                   [param('ns3::Buffer::Iterator', 'start')], 
3662
                   is_virtual=True)
3663
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::EnableChecksum() [member function]
3664
    cls.add_method('EnableChecksum', 
3665
                   'void', 
3666
                   [])
3667
    ## ipv4-header.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4Header::GetDestination() const [member function]
3668
    cls.add_method('GetDestination', 
3669
                   'ns3::Ipv4Address', 
3670
                   [], 
3671
                   is_const=True)
3672
    ## ipv4-header.h (module 'internet'): uint16_t ns3::Ipv4Header::GetFragmentOffset() const [member function]
3673
    cls.add_method('GetFragmentOffset', 
3674
                   'uint16_t', 
3675
                   [], 
3676
                   is_const=True)
3677
    ## ipv4-header.h (module 'internet'): uint16_t ns3::Ipv4Header::GetIdentification() const [member function]
3678
    cls.add_method('GetIdentification', 
3679
                   'uint16_t', 
3680
                   [], 
3681
                   is_const=True)
3682
    ## ipv4-header.h (module 'internet'): ns3::TypeId ns3::Ipv4Header::GetInstanceTypeId() const [member function]
3683
    cls.add_method('GetInstanceTypeId', 
3684
                   'ns3::TypeId', 
3685
                   [], 
3686
                   is_const=True, is_virtual=True)
3687
    ## ipv4-header.h (module 'internet'): uint16_t ns3::Ipv4Header::GetPayloadSize() const [member function]
3688
    cls.add_method('GetPayloadSize', 
3689
                   'uint16_t', 
3690
                   [], 
3691
                   is_const=True)
3692
    ## ipv4-header.h (module 'internet'): uint8_t ns3::Ipv4Header::GetProtocol() const [member function]
3693
    cls.add_method('GetProtocol', 
3694
                   'uint8_t', 
3695
                   [], 
3696
                   is_const=True)
3697
    ## ipv4-header.h (module 'internet'): uint32_t ns3::Ipv4Header::GetSerializedSize() const [member function]
3698
    cls.add_method('GetSerializedSize', 
3699
                   'uint32_t', 
3700
                   [], 
3701
                   is_const=True, is_virtual=True)
3702
    ## ipv4-header.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4Header::GetSource() const [member function]
3703
    cls.add_method('GetSource', 
3704
                   'ns3::Ipv4Address', 
3705
                   [], 
3706
                   is_const=True)
3707
    ## ipv4-header.h (module 'internet'): uint8_t ns3::Ipv4Header::GetTos() const [member function]
3708
    cls.add_method('GetTos', 
3709
                   'uint8_t', 
3710
                   [], 
3711
                   is_const=True)
3712
    ## ipv4-header.h (module 'internet'): uint8_t ns3::Ipv4Header::GetTtl() const [member function]
3713
    cls.add_method('GetTtl', 
3714
                   'uint8_t', 
3715
                   [], 
3716
                   is_const=True)
3717
    ## ipv4-header.h (module 'internet'): static ns3::TypeId ns3::Ipv4Header::GetTypeId() [member function]
3718
    cls.add_method('GetTypeId', 
3719
                   'ns3::TypeId', 
3720
                   [], 
3721
                   is_static=True)
3722
    ## ipv4-header.h (module 'internet'): bool ns3::Ipv4Header::IsChecksumOk() const [member function]
3723
    cls.add_method('IsChecksumOk', 
3724
                   'bool', 
3725
                   [], 
3726
                   is_const=True)
3727
    ## ipv4-header.h (module 'internet'): bool ns3::Ipv4Header::IsDontFragment() const [member function]
3728
    cls.add_method('IsDontFragment', 
3729
                   'bool', 
3730
                   [], 
3731
                   is_const=True)
3732
    ## ipv4-header.h (module 'internet'): bool ns3::Ipv4Header::IsLastFragment() const [member function]
3733
    cls.add_method('IsLastFragment', 
3734
                   'bool', 
3735
                   [], 
3736
                   is_const=True)
3737
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::Print(std::ostream & os) const [member function]
3738
    cls.add_method('Print', 
3739
                   'void', 
3740
                   [param('std::ostream &', 'os')], 
3741
                   is_const=True, is_virtual=True)
3742
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::Serialize(ns3::Buffer::Iterator start) const [member function]
3743
    cls.add_method('Serialize', 
3744
                   'void', 
3745
                   [param('ns3::Buffer::Iterator', 'start')], 
3746
                   is_const=True, is_virtual=True)
3747
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetDestination(ns3::Ipv4Address destination) [member function]
3748
    cls.add_method('SetDestination', 
3749
                   'void', 
3750
                   [param('ns3::Ipv4Address', 'destination')])
3751
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetDontFragment() [member function]
3752
    cls.add_method('SetDontFragment', 
3753
                   'void', 
3754
                   [])
3755
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetFragmentOffset(uint16_t offset) [member function]
3756
    cls.add_method('SetFragmentOffset', 
3757
                   'void', 
3758
                   [param('uint16_t', 'offset')])
3759
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetIdentification(uint16_t identification) [member function]
3760
    cls.add_method('SetIdentification', 
3761
                   'void', 
3762
                   [param('uint16_t', 'identification')])
3763
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetLastFragment() [member function]
3764
    cls.add_method('SetLastFragment', 
3765
                   'void', 
3766
                   [])
3767
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetMayFragment() [member function]
3768
    cls.add_method('SetMayFragment', 
3769
                   'void', 
3770
                   [])
3771
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetMoreFragments() [member function]
3772
    cls.add_method('SetMoreFragments', 
3773
                   'void', 
3774
                   [])
3775
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetPayloadSize(uint16_t size) [member function]
3776
    cls.add_method('SetPayloadSize', 
3777
                   'void', 
3778
                   [param('uint16_t', 'size')])
3779
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetProtocol(uint8_t num) [member function]
3780
    cls.add_method('SetProtocol', 
3781
                   'void', 
3782
                   [param('uint8_t', 'num')])
3783
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetSource(ns3::Ipv4Address source) [member function]
3784
    cls.add_method('SetSource', 
3785
                   'void', 
3786
                   [param('ns3::Ipv4Address', 'source')])
3787
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetTos(uint8_t tos) [member function]
3788
    cls.add_method('SetTos', 
3789
                   'void', 
3790
                   [param('uint8_t', 'tos')])
3791
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetTtl(uint8_t ttl) [member function]
3792
    cls.add_method('SetTtl', 
3793
                   'void', 
3794
                   [param('uint8_t', 'ttl')])
3795
    return
3796
3797
def register_Ns3Ipv6Header_methods(root_module, cls):
3798
    ## ipv6-header.h (module 'internet'): ns3::Ipv6Header::Ipv6Header(ns3::Ipv6Header const & arg0) [copy constructor]
3799
    cls.add_constructor([param('ns3::Ipv6Header const &', 'arg0')])
3800
    ## ipv6-header.h (module 'internet'): ns3::Ipv6Header::Ipv6Header() [constructor]
3801
    cls.add_constructor([])
3802
    ## ipv6-header.h (module 'internet'): uint32_t ns3::Ipv6Header::Deserialize(ns3::Buffer::Iterator start) [member function]
3803
    cls.add_method('Deserialize', 
3804
                   'uint32_t', 
3805
                   [param('ns3::Buffer::Iterator', 'start')], 
3806
                   is_virtual=True)
3807
    ## ipv6-header.h (module 'internet'): ns3::Ipv6Address ns3::Ipv6Header::GetDestinationAddress() const [member function]
3808
    cls.add_method('GetDestinationAddress', 
3809
                   'ns3::Ipv6Address', 
3810
                   [], 
3811
                   is_const=True)
3812
    ## ipv6-header.h (module 'internet'): uint32_t ns3::Ipv6Header::GetFlowLabel() const [member function]
3813
    cls.add_method('GetFlowLabel', 
3814
                   'uint32_t', 
3815
                   [], 
3816
                   is_const=True)
3817
    ## ipv6-header.h (module 'internet'): uint8_t ns3::Ipv6Header::GetHopLimit() const [member function]
3818
    cls.add_method('GetHopLimit', 
3819
                   'uint8_t', 
3820
                   [], 
3821
                   is_const=True)
3822
    ## ipv6-header.h (module 'internet'): ns3::TypeId ns3::Ipv6Header::GetInstanceTypeId() const [member function]
3823
    cls.add_method('GetInstanceTypeId', 
3824
                   'ns3::TypeId', 
3825
                   [], 
3826
                   is_const=True, is_virtual=True)
3827
    ## ipv6-header.h (module 'internet'): uint8_t ns3::Ipv6Header::GetNextHeader() const [member function]
3828
    cls.add_method('GetNextHeader', 
3829
                   'uint8_t', 
3830
                   [], 
3831
                   is_const=True)
3832
    ## ipv6-header.h (module 'internet'): uint16_t ns3::Ipv6Header::GetPayloadLength() const [member function]
3833
    cls.add_method('GetPayloadLength', 
3834
                   'uint16_t', 
3835
                   [], 
3836
                   is_const=True)
3837
    ## ipv6-header.h (module 'internet'): uint32_t ns3::Ipv6Header::GetSerializedSize() const [member function]
3838
    cls.add_method('GetSerializedSize', 
3839
                   'uint32_t', 
3840
                   [], 
3841
                   is_const=True, is_virtual=True)
3842
    ## ipv6-header.h (module 'internet'): ns3::Ipv6Address ns3::Ipv6Header::GetSourceAddress() const [member function]
3843
    cls.add_method('GetSourceAddress', 
3844
                   'ns3::Ipv6Address', 
3845
                   [], 
3846
                   is_const=True)
3847
    ## ipv6-header.h (module 'internet'): uint8_t ns3::Ipv6Header::GetTrafficClass() const [member function]
3848
    cls.add_method('GetTrafficClass', 
3849
                   'uint8_t', 
3850
                   [], 
3851
                   is_const=True)
3852
    ## ipv6-header.h (module 'internet'): static ns3::TypeId ns3::Ipv6Header::GetTypeId() [member function]
3853
    cls.add_method('GetTypeId', 
3854
                   'ns3::TypeId', 
3855
                   [], 
3856
                   is_static=True)
3857
    ## ipv6-header.h (module 'internet'): void ns3::Ipv6Header::Print(std::ostream & os) const [member function]
3858
    cls.add_method('Print', 
3859
                   'void', 
3860
                   [param('std::ostream &', 'os')], 
3861
                   is_const=True, is_virtual=True)
3862
    ## ipv6-header.h (module 'internet'): void ns3::Ipv6Header::Serialize(ns3::Buffer::Iterator start) const [member function]
3863
    cls.add_method('Serialize', 
3864
                   'void', 
3865
                   [param('ns3::Buffer::Iterator', 'start')], 
3866
                   is_const=True, is_virtual=True)
3867
    ## ipv6-header.h (module 'internet'): void ns3::Ipv6Header::SetDestinationAddress(ns3::Ipv6Address dst) [member function]
3868
    cls.add_method('SetDestinationAddress', 
3869
                   'void', 
3870
                   [param('ns3::Ipv6Address', 'dst')])
3871
    ## ipv6-header.h (module 'internet'): void ns3::Ipv6Header::SetFlowLabel(uint32_t flow) [member function]
3872
    cls.add_method('SetFlowLabel', 
3873
                   'void', 
3874
                   [param('uint32_t', 'flow')])
3875
    ## ipv6-header.h (module 'internet'): void ns3::Ipv6Header::SetHopLimit(uint8_t limit) [member function]
3876
    cls.add_method('SetHopLimit', 
3877
                   'void', 
3878
                   [param('uint8_t', 'limit')])
3879
    ## ipv6-header.h (module 'internet'): void ns3::Ipv6Header::SetNextHeader(uint8_t next) [member function]
3880
    cls.add_method('SetNextHeader', 
3881
                   'void', 
3882
                   [param('uint8_t', 'next')])
3883
    ## ipv6-header.h (module 'internet'): void ns3::Ipv6Header::SetPayloadLength(uint16_t len) [member function]
3884
    cls.add_method('SetPayloadLength', 
3885
                   'void', 
3886
                   [param('uint16_t', 'len')])
3887
    ## ipv6-header.h (module 'internet'): void ns3::Ipv6Header::SetSourceAddress(ns3::Ipv6Address src) [member function]
3888
    cls.add_method('SetSourceAddress', 
3889
                   'void', 
3890
                   [param('ns3::Ipv6Address', 'src')])
3891
    ## ipv6-header.h (module 'internet'): void ns3::Ipv6Header::SetTrafficClass(uint8_t traffic) [member function]
3892
    cls.add_method('SetTrafficClass', 
3893
                   'void', 
3894
                   [param('uint8_t', 'traffic')])
3895
    return
3896
3897
def register_Ns3LogNormalVariable_methods(root_module, cls):
2992
def register_Ns3LogNormalVariable_methods(root_module, cls):
3898
    ## random-variable.h (module 'core'): ns3::LogNormalVariable::LogNormalVariable(ns3::LogNormalVariable const & arg0) [copy constructor]
2993
    ## random-variable.h (module 'core'): ns3::LogNormalVariable::LogNormalVariable(ns3::LogNormalVariable const & arg0) [copy constructor]
3899
    cls.add_constructor([param('ns3::LogNormalVariable const &', 'arg0')])
2994
    cls.add_constructor([param('ns3::LogNormalVariable const &', 'arg0')])
 Lines 4131-4160    Link Here 
4131
                   is_static=True)
3226
                   is_static=True)
4132
    return
3227
    return
4133
3228
4134
def register_Ns3SimpleRefCount__Ns3Ipv4MulticastRoute_Ns3Empty_Ns3DefaultDeleter__lt__ns3Ipv4MulticastRoute__gt___methods(root_module, cls):
4135
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4MulticastRoute> >::SimpleRefCount() [constructor]
4136
    cls.add_constructor([])
4137
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4MulticastRoute> >::SimpleRefCount(ns3::SimpleRefCount<ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4MulticastRoute> > const & o) [copy constructor]
4138
    cls.add_constructor([param('ns3::SimpleRefCount< ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter< ns3::Ipv4MulticastRoute > > const &', 'o')])
4139
    ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4MulticastRoute> >::Cleanup() [member function]
4140
    cls.add_method('Cleanup', 
4141
                   'void', 
4142
                   [], 
4143
                   is_static=True)
4144
    return
4145
4146
def register_Ns3SimpleRefCount__Ns3Ipv4Route_Ns3Empty_Ns3DefaultDeleter__lt__ns3Ipv4Route__gt___methods(root_module, cls):
4147
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4Route> >::SimpleRefCount() [constructor]
4148
    cls.add_constructor([])
4149
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4Route> >::SimpleRefCount(ns3::SimpleRefCount<ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4Route> > const & o) [copy constructor]
4150
    cls.add_constructor([param('ns3::SimpleRefCount< ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter< ns3::Ipv4Route > > const &', 'o')])
4151
    ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4Route> >::Cleanup() [member function]
4152
    cls.add_method('Cleanup', 
4153
                   'void', 
4154
                   [], 
4155
                   is_static=True)
4156
    return
4157
4158
def register_Ns3SimpleRefCount__Ns3NixVector_Ns3Empty_Ns3DefaultDeleter__lt__ns3NixVector__gt___methods(root_module, cls):
3229
def register_Ns3SimpleRefCount__Ns3NixVector_Ns3Empty_Ns3DefaultDeleter__lt__ns3NixVector__gt___methods(root_module, cls):
4159
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >::SimpleRefCount() [constructor]
3230
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >::SimpleRefCount() [constructor]
4160
    cls.add_constructor([])
3231
    cls.add_constructor([])
 Lines 4191-4560    Link Here 
4191
                   is_static=True)
3262
                   is_static=True)
4192
    return
3263
    return
4193
3264
4194
def register_Ns3Socket_methods(root_module, cls):
4195
    ## socket.h (module 'network'): ns3::Socket::Socket(ns3::Socket const & arg0) [copy constructor]
4196
    cls.add_constructor([param('ns3::Socket const &', 'arg0')])
4197
    ## socket.h (module 'network'): ns3::Socket::Socket() [constructor]
4198
    cls.add_constructor([])
4199
    ## socket.h (module 'network'): int ns3::Socket::Bind(ns3::Address const & address) [member function]
4200
    cls.add_method('Bind', 
4201
                   'int', 
4202
                   [param('ns3::Address const &', 'address')], 
4203
                   is_pure_virtual=True, is_virtual=True)
4204
    ## socket.h (module 'network'): int ns3::Socket::Bind() [member function]
4205
    cls.add_method('Bind', 
4206
                   'int', 
4207
                   [], 
4208
                   is_pure_virtual=True, is_virtual=True)
4209
    ## socket.h (module 'network'): void ns3::Socket::BindToNetDevice(ns3::Ptr<ns3::NetDevice> netdevice) [member function]
4210
    cls.add_method('BindToNetDevice', 
4211
                   'void', 
4212
                   [param('ns3::Ptr< ns3::NetDevice >', 'netdevice')], 
4213
                   is_virtual=True)
4214
    ## socket.h (module 'network'): int ns3::Socket::Close() [member function]
4215
    cls.add_method('Close', 
4216
                   'int', 
4217
                   [], 
4218
                   is_pure_virtual=True, is_virtual=True)
4219
    ## socket.h (module 'network'): int ns3::Socket::Connect(ns3::Address const & address) [member function]
4220
    cls.add_method('Connect', 
4221
                   'int', 
4222
                   [param('ns3::Address const &', 'address')], 
4223
                   is_pure_virtual=True, is_virtual=True)
4224
    ## socket.h (module 'network'): static ns3::Ptr<ns3::Socket> ns3::Socket::CreateSocket(ns3::Ptr<ns3::Node> node, ns3::TypeId tid) [member function]
4225
    cls.add_method('CreateSocket', 
4226
                   'ns3::Ptr< ns3::Socket >', 
4227
                   [param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::TypeId', 'tid')], 
4228
                   is_static=True)
4229
    ## socket.h (module 'network'): bool ns3::Socket::GetAllowBroadcast() const [member function]
4230
    cls.add_method('GetAllowBroadcast', 
4231
                   'bool', 
4232
                   [], 
4233
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4234
    ## socket.h (module 'network'): ns3::Ptr<ns3::NetDevice> ns3::Socket::GetBoundNetDevice() [member function]
4235
    cls.add_method('GetBoundNetDevice', 
4236
                   'ns3::Ptr< ns3::NetDevice >', 
4237
                   [])
4238
    ## socket.h (module 'network'): ns3::Socket::SocketErrno ns3::Socket::GetErrno() const [member function]
4239
    cls.add_method('GetErrno', 
4240
                   'ns3::Socket::SocketErrno', 
4241
                   [], 
4242
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4243
    ## socket.h (module 'network'): ns3::Ptr<ns3::Node> ns3::Socket::GetNode() const [member function]
4244
    cls.add_method('GetNode', 
4245
                   'ns3::Ptr< ns3::Node >', 
4246
                   [], 
4247
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4248
    ## socket.h (module 'network'): uint32_t ns3::Socket::GetRxAvailable() const [member function]
4249
    cls.add_method('GetRxAvailable', 
4250
                   'uint32_t', 
4251
                   [], 
4252
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4253
    ## socket.h (module 'network'): int ns3::Socket::GetSockName(ns3::Address & address) const [member function]
4254
    cls.add_method('GetSockName', 
4255
                   'int', 
4256
                   [param('ns3::Address &', 'address')], 
4257
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4258
    ## socket.h (module 'network'): ns3::Socket::SocketType ns3::Socket::GetSocketType() const [member function]
4259
    cls.add_method('GetSocketType', 
4260
                   'ns3::Socket::SocketType', 
4261
                   [], 
4262
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4263
    ## socket.h (module 'network'): uint32_t ns3::Socket::GetTxAvailable() const [member function]
4264
    cls.add_method('GetTxAvailable', 
4265
                   'uint32_t', 
4266
                   [], 
4267
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4268
    ## socket.h (module 'network'): int ns3::Socket::Listen() [member function]
4269
    cls.add_method('Listen', 
4270
                   'int', 
4271
                   [], 
4272
                   is_pure_virtual=True, is_virtual=True)
4273
    ## socket.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Socket::Recv(uint32_t maxSize, uint32_t flags) [member function]
4274
    cls.add_method('Recv', 
4275
                   'ns3::Ptr< ns3::Packet >', 
4276
                   [param('uint32_t', 'maxSize'), param('uint32_t', 'flags')], 
4277
                   is_pure_virtual=True, is_virtual=True)
4278
    ## socket.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Socket::Recv() [member function]
4279
    cls.add_method('Recv', 
4280
                   'ns3::Ptr< ns3::Packet >', 
4281
                   [])
4282
    ## socket.h (module 'network'): int ns3::Socket::Recv(uint8_t * buf, uint32_t size, uint32_t flags) [member function]
4283
    cls.add_method('Recv', 
4284
                   'int', 
4285
                   [param('uint8_t *', 'buf'), param('uint32_t', 'size'), param('uint32_t', 'flags')])
4286
    ## socket.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Socket::RecvFrom(uint32_t maxSize, uint32_t flags, ns3::Address & fromAddress) [member function]
4287
    cls.add_method('RecvFrom', 
4288
                   'ns3::Ptr< ns3::Packet >', 
4289
                   [param('uint32_t', 'maxSize'), param('uint32_t', 'flags'), param('ns3::Address &', 'fromAddress')], 
4290
                   is_pure_virtual=True, is_virtual=True)
4291
    ## socket.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Socket::RecvFrom(ns3::Address & fromAddress) [member function]
4292
    cls.add_method('RecvFrom', 
4293
                   'ns3::Ptr< ns3::Packet >', 
4294
                   [param('ns3::Address &', 'fromAddress')])
4295
    ## socket.h (module 'network'): int ns3::Socket::RecvFrom(uint8_t * buf, uint32_t size, uint32_t flags, ns3::Address & fromAddress) [member function]
4296
    cls.add_method('RecvFrom', 
4297
                   'int', 
4298
                   [param('uint8_t *', 'buf'), param('uint32_t', 'size'), param('uint32_t', 'flags'), param('ns3::Address &', 'fromAddress')])
4299
    ## socket.h (module 'network'): int ns3::Socket::Send(ns3::Ptr<ns3::Packet> p, uint32_t flags) [member function]
4300
    cls.add_method('Send', 
4301
                   'int', 
4302
                   [param('ns3::Ptr< ns3::Packet >', 'p'), param('uint32_t', 'flags')], 
4303
                   is_pure_virtual=True, is_virtual=True)
4304
    ## socket.h (module 'network'): int ns3::Socket::Send(ns3::Ptr<ns3::Packet> p) [member function]
4305
    cls.add_method('Send', 
4306
                   'int', 
4307
                   [param('ns3::Ptr< ns3::Packet >', 'p')])
4308
    ## socket.h (module 'network'): int ns3::Socket::Send(uint8_t const * buf, uint32_t size, uint32_t flags) [member function]
4309
    cls.add_method('Send', 
4310
                   'int', 
4311
                   [param('uint8_t const *', 'buf'), param('uint32_t', 'size'), param('uint32_t', 'flags')])
4312
    ## socket.h (module 'network'): int ns3::Socket::SendTo(ns3::Ptr<ns3::Packet> p, uint32_t flags, ns3::Address const & toAddress) [member function]
4313
    cls.add_method('SendTo', 
4314
                   'int', 
4315
                   [param('ns3::Ptr< ns3::Packet >', 'p'), param('uint32_t', 'flags'), param('ns3::Address const &', 'toAddress')], 
4316
                   is_pure_virtual=True, is_virtual=True)
4317
    ## socket.h (module 'network'): int ns3::Socket::SendTo(uint8_t const * buf, uint32_t size, uint32_t flags, ns3::Address const & address) [member function]
4318
    cls.add_method('SendTo', 
4319
                   'int', 
4320
                   [param('uint8_t const *', 'buf'), param('uint32_t', 'size'), param('uint32_t', 'flags'), param('ns3::Address const &', 'address')])
4321
    ## socket.h (module 'network'): 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]
4322
    cls.add_method('SetAcceptCallback', 
4323
                   'void', 
4324
                   [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')])
4325
    ## socket.h (module 'network'): bool ns3::Socket::SetAllowBroadcast(bool allowBroadcast) [member function]
4326
    cls.add_method('SetAllowBroadcast', 
4327
                   'bool', 
4328
                   [param('bool', 'allowBroadcast')], 
4329
                   is_pure_virtual=True, is_virtual=True)
4330
    ## socket.h (module 'network'): void ns3::Socket::SetCloseCallbacks(ns3::Callback<void, ns3::Ptr<ns3::Socket>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> normalClose, ns3::Callback<void, ns3::Ptr<ns3::Socket>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> errorClose) [member function]
4331
    cls.add_method('SetCloseCallbacks', 
4332
                   'void', 
4333
                   [param('ns3::Callback< void, ns3::Ptr< ns3::Socket >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'normalClose'), param('ns3::Callback< void, ns3::Ptr< ns3::Socket >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'errorClose')])
4334
    ## socket.h (module 'network'): 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]
4335
    cls.add_method('SetConnectCallback', 
4336
                   'void', 
4337
                   [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')])
4338
    ## socket.h (module 'network'): 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]
4339
    cls.add_method('SetDataSentCallback', 
4340
                   'void', 
4341
                   [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')])
4342
    ## socket.h (module 'network'): 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]
4343
    cls.add_method('SetRecvCallback', 
4344
                   'void', 
4345
                   [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')])
4346
    ## socket.h (module 'network'): void ns3::Socket::SetRecvPktInfo(bool flag) [member function]
4347
    cls.add_method('SetRecvPktInfo', 
4348
                   'void', 
4349
                   [param('bool', 'flag')])
4350
    ## socket.h (module 'network'): 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]
4351
    cls.add_method('SetSendCallback', 
4352
                   'void', 
4353
                   [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')])
4354
    ## socket.h (module 'network'): int ns3::Socket::ShutdownRecv() [member function]
4355
    cls.add_method('ShutdownRecv', 
4356
                   'int', 
4357
                   [], 
4358
                   is_pure_virtual=True, is_virtual=True)
4359
    ## socket.h (module 'network'): int ns3::Socket::ShutdownSend() [member function]
4360
    cls.add_method('ShutdownSend', 
4361
                   'int', 
4362
                   [], 
4363
                   is_pure_virtual=True, is_virtual=True)
4364
    ## socket.h (module 'network'): void ns3::Socket::DoDispose() [member function]
4365
    cls.add_method('DoDispose', 
4366
                   'void', 
4367
                   [], 
4368
                   visibility='protected', is_virtual=True)
4369
    ## socket.h (module 'network'): void ns3::Socket::NotifyConnectionFailed() [member function]
4370
    cls.add_method('NotifyConnectionFailed', 
4371
                   'void', 
4372
                   [], 
4373
                   visibility='protected')
4374
    ## socket.h (module 'network'): bool ns3::Socket::NotifyConnectionRequest(ns3::Address const & from) [member function]
4375
    cls.add_method('NotifyConnectionRequest', 
4376
                   'bool', 
4377
                   [param('ns3::Address const &', 'from')], 
4378
                   visibility='protected')
4379
    ## socket.h (module 'network'): void ns3::Socket::NotifyConnectionSucceeded() [member function]
4380
    cls.add_method('NotifyConnectionSucceeded', 
4381
                   'void', 
4382
                   [], 
4383
                   visibility='protected')
4384
    ## socket.h (module 'network'): void ns3::Socket::NotifyDataRecv() [member function]
4385
    cls.add_method('NotifyDataRecv', 
4386
                   'void', 
4387
                   [], 
4388
                   visibility='protected')
4389
    ## socket.h (module 'network'): void ns3::Socket::NotifyDataSent(uint32_t size) [member function]
4390
    cls.add_method('NotifyDataSent', 
4391
                   'void', 
4392
                   [param('uint32_t', 'size')], 
4393
                   visibility='protected')
4394
    ## socket.h (module 'network'): void ns3::Socket::NotifyErrorClose() [member function]
4395
    cls.add_method('NotifyErrorClose', 
4396
                   'void', 
4397
                   [], 
4398
                   visibility='protected')
4399
    ## socket.h (module 'network'): void ns3::Socket::NotifyNewConnectionCreated(ns3::Ptr<ns3::Socket> socket, ns3::Address const & from) [member function]
4400
    cls.add_method('NotifyNewConnectionCreated', 
4401
                   'void', 
4402
                   [param('ns3::Ptr< ns3::Socket >', 'socket'), param('ns3::Address const &', 'from')], 
4403
                   visibility='protected')
4404
    ## socket.h (module 'network'): void ns3::Socket::NotifyNormalClose() [member function]
4405
    cls.add_method('NotifyNormalClose', 
4406
                   'void', 
4407
                   [], 
4408
                   visibility='protected')
4409
    ## socket.h (module 'network'): void ns3::Socket::NotifySend(uint32_t spaceAvailable) [member function]
4410
    cls.add_method('NotifySend', 
4411
                   'void', 
4412
                   [param('uint32_t', 'spaceAvailable')], 
4413
                   visibility='protected')
4414
    return
4415
4416
def register_Ns3SocketAddressTag_methods(root_module, cls):
4417
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag(ns3::SocketAddressTag const & arg0) [copy constructor]
4418
    cls.add_constructor([param('ns3::SocketAddressTag const &', 'arg0')])
4419
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag() [constructor]
4420
    cls.add_constructor([])
4421
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Deserialize(ns3::TagBuffer i) [member function]
4422
    cls.add_method('Deserialize', 
4423
                   'void', 
4424
                   [param('ns3::TagBuffer', 'i')], 
4425
                   is_virtual=True)
4426
    ## socket.h (module 'network'): ns3::Address ns3::SocketAddressTag::GetAddress() const [member function]
4427
    cls.add_method('GetAddress', 
4428
                   'ns3::Address', 
4429
                   [], 
4430
                   is_const=True)
4431
    ## socket.h (module 'network'): ns3::TypeId ns3::SocketAddressTag::GetInstanceTypeId() const [member function]
4432
    cls.add_method('GetInstanceTypeId', 
4433
                   'ns3::TypeId', 
4434
                   [], 
4435
                   is_const=True, is_virtual=True)
4436
    ## socket.h (module 'network'): uint32_t ns3::SocketAddressTag::GetSerializedSize() const [member function]
4437
    cls.add_method('GetSerializedSize', 
4438
                   'uint32_t', 
4439
                   [], 
4440
                   is_const=True, is_virtual=True)
4441
    ## socket.h (module 'network'): static ns3::TypeId ns3::SocketAddressTag::GetTypeId() [member function]
4442
    cls.add_method('GetTypeId', 
4443
                   'ns3::TypeId', 
4444
                   [], 
4445
                   is_static=True)
4446
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Print(std::ostream & os) const [member function]
4447
    cls.add_method('Print', 
4448
                   'void', 
4449
                   [param('std::ostream &', 'os')], 
4450
                   is_const=True, is_virtual=True)
4451
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Serialize(ns3::TagBuffer i) const [member function]
4452
    cls.add_method('Serialize', 
4453
                   'void', 
4454
                   [param('ns3::TagBuffer', 'i')], 
4455
                   is_const=True, is_virtual=True)
4456
    ## socket.h (module 'network'): void ns3::SocketAddressTag::SetAddress(ns3::Address addr) [member function]
4457
    cls.add_method('SetAddress', 
4458
                   'void', 
4459
                   [param('ns3::Address', 'addr')])
4460
    return
4461
4462
def register_Ns3SocketIpTtlTag_methods(root_module, cls):
4463
    ## socket.h (module 'network'): ns3::SocketIpTtlTag::SocketIpTtlTag(ns3::SocketIpTtlTag const & arg0) [copy constructor]
4464
    cls.add_constructor([param('ns3::SocketIpTtlTag const &', 'arg0')])
4465
    ## socket.h (module 'network'): ns3::SocketIpTtlTag::SocketIpTtlTag() [constructor]
4466
    cls.add_constructor([])
4467
    ## socket.h (module 'network'): void ns3::SocketIpTtlTag::Deserialize(ns3::TagBuffer i) [member function]
4468
    cls.add_method('Deserialize', 
4469
                   'void', 
4470
                   [param('ns3::TagBuffer', 'i')], 
4471
                   is_virtual=True)
4472
    ## socket.h (module 'network'): ns3::TypeId ns3::SocketIpTtlTag::GetInstanceTypeId() const [member function]
4473
    cls.add_method('GetInstanceTypeId', 
4474
                   'ns3::TypeId', 
4475
                   [], 
4476
                   is_const=True, is_virtual=True)
4477
    ## socket.h (module 'network'): uint32_t ns3::SocketIpTtlTag::GetSerializedSize() const [member function]
4478
    cls.add_method('GetSerializedSize', 
4479
                   'uint32_t', 
4480
                   [], 
4481
                   is_const=True, is_virtual=True)
4482
    ## socket.h (module 'network'): uint8_t ns3::SocketIpTtlTag::GetTtl() const [member function]
4483
    cls.add_method('GetTtl', 
4484
                   'uint8_t', 
4485
                   [], 
4486
                   is_const=True)
4487
    ## socket.h (module 'network'): static ns3::TypeId ns3::SocketIpTtlTag::GetTypeId() [member function]
4488
    cls.add_method('GetTypeId', 
4489
                   'ns3::TypeId', 
4490
                   [], 
4491
                   is_static=True)
4492
    ## socket.h (module 'network'): void ns3::SocketIpTtlTag::Print(std::ostream & os) const [member function]
4493
    cls.add_method('Print', 
4494
                   'void', 
4495
                   [param('std::ostream &', 'os')], 
4496
                   is_const=True, is_virtual=True)
4497
    ## socket.h (module 'network'): void ns3::SocketIpTtlTag::Serialize(ns3::TagBuffer i) const [member function]
4498
    cls.add_method('Serialize', 
4499
                   'void', 
4500
                   [param('ns3::TagBuffer', 'i')], 
4501
                   is_const=True, is_virtual=True)
4502
    ## socket.h (module 'network'): void ns3::SocketIpTtlTag::SetTtl(uint8_t ttl) [member function]
4503
    cls.add_method('SetTtl', 
4504
                   'void', 
4505
                   [param('uint8_t', 'ttl')])
4506
    return
4507
4508
def register_Ns3SocketSetDontFragmentTag_methods(root_module, cls):
4509
    ## socket.h (module 'network'): ns3::SocketSetDontFragmentTag::SocketSetDontFragmentTag(ns3::SocketSetDontFragmentTag const & arg0) [copy constructor]
4510
    cls.add_constructor([param('ns3::SocketSetDontFragmentTag const &', 'arg0')])
4511
    ## socket.h (module 'network'): ns3::SocketSetDontFragmentTag::SocketSetDontFragmentTag() [constructor]
4512
    cls.add_constructor([])
4513
    ## socket.h (module 'network'): void ns3::SocketSetDontFragmentTag::Deserialize(ns3::TagBuffer i) [member function]
4514
    cls.add_method('Deserialize', 
4515
                   'void', 
4516
                   [param('ns3::TagBuffer', 'i')], 
4517
                   is_virtual=True)
4518
    ## socket.h (module 'network'): void ns3::SocketSetDontFragmentTag::Disable() [member function]
4519
    cls.add_method('Disable', 
4520
                   'void', 
4521
                   [])
4522
    ## socket.h (module 'network'): void ns3::SocketSetDontFragmentTag::Enable() [member function]
4523
    cls.add_method('Enable', 
4524
                   'void', 
4525
                   [])
4526
    ## socket.h (module 'network'): ns3::TypeId ns3::SocketSetDontFragmentTag::GetInstanceTypeId() const [member function]
4527
    cls.add_method('GetInstanceTypeId', 
4528
                   'ns3::TypeId', 
4529
                   [], 
4530
                   is_const=True, is_virtual=True)
4531
    ## socket.h (module 'network'): uint32_t ns3::SocketSetDontFragmentTag::GetSerializedSize() const [member function]
4532
    cls.add_method('GetSerializedSize', 
4533
                   'uint32_t', 
4534
                   [], 
4535
                   is_const=True, is_virtual=True)
4536
    ## socket.h (module 'network'): static ns3::TypeId ns3::SocketSetDontFragmentTag::GetTypeId() [member function]
4537
    cls.add_method('GetTypeId', 
4538
                   'ns3::TypeId', 
4539
                   [], 
4540
                   is_static=True)
4541
    ## socket.h (module 'network'): bool ns3::SocketSetDontFragmentTag::IsEnabled() const [member function]
4542
    cls.add_method('IsEnabled', 
4543
                   'bool', 
4544
                   [], 
4545
                   is_const=True)
4546
    ## socket.h (module 'network'): void ns3::SocketSetDontFragmentTag::Print(std::ostream & os) const [member function]
4547
    cls.add_method('Print', 
4548
                   'void', 
4549
                   [param('std::ostream &', 'os')], 
4550
                   is_const=True, is_virtual=True)
4551
    ## socket.h (module 'network'): void ns3::SocketSetDontFragmentTag::Serialize(ns3::TagBuffer i) const [member function]
4552
    cls.add_method('Serialize', 
4553
                   'void', 
4554
                   [param('ns3::TagBuffer', 'i')], 
4555
                   is_const=True, is_virtual=True)
4556
    return
4557
4558
def register_Ns3Time_methods(root_module, cls):
3265
def register_Ns3Time_methods(root_module, cls):
4559
    cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right'))
3266
    cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right'))
4560
    cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right'))
3267
    cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right'))
 Lines 5077-5236    Link Here 
5077
                   is_pure_virtual=True, visibility='protected', is_virtual=True)
3784
                   is_pure_virtual=True, visibility='protected', is_virtual=True)
5078
    return
3785
    return
5079
3786
5080
def register_Ns3Ipv4_methods(root_module, cls):
5081
    ## ipv4.h (module 'internet'): ns3::Ipv4::Ipv4(ns3::Ipv4 const & arg0) [copy constructor]
5082
    cls.add_constructor([param('ns3::Ipv4 const &', 'arg0')])
5083
    ## ipv4.h (module 'internet'): ns3::Ipv4::Ipv4() [constructor]
5084
    cls.add_constructor([])
5085
    ## ipv4.h (module 'internet'): bool ns3::Ipv4::AddAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function]
5086
    cls.add_method('AddAddress', 
5087
                   'bool', 
5088
                   [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], 
5089
                   is_pure_virtual=True, is_virtual=True)
5090
    ## ipv4.h (module 'internet'): uint32_t ns3::Ipv4::AddInterface(ns3::Ptr<ns3::NetDevice> device) [member function]
5091
    cls.add_method('AddInterface', 
5092
                   'uint32_t', 
5093
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')], 
5094
                   is_pure_virtual=True, is_virtual=True)
5095
    ## ipv4.h (module 'internet'): ns3::Ipv4InterfaceAddress ns3::Ipv4::GetAddress(uint32_t interface, uint32_t addressIndex) const [member function]
5096
    cls.add_method('GetAddress', 
5097
                   'ns3::Ipv4InterfaceAddress', 
5098
                   [param('uint32_t', 'interface'), param('uint32_t', 'addressIndex')], 
5099
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5100
    ## ipv4.h (module 'internet'): int32_t ns3::Ipv4::GetInterfaceForAddress(ns3::Ipv4Address address) const [member function]
5101
    cls.add_method('GetInterfaceForAddress', 
5102
                   'int32_t', 
5103
                   [param('ns3::Ipv4Address', 'address')], 
5104
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5105
    ## ipv4.h (module 'internet'): int32_t ns3::Ipv4::GetInterfaceForDevice(ns3::Ptr<const ns3::NetDevice> device) const [member function]
5106
    cls.add_method('GetInterfaceForDevice', 
5107
                   'int32_t', 
5108
                   [param('ns3::Ptr< ns3::NetDevice const >', 'device')], 
5109
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5110
    ## ipv4.h (module 'internet'): int32_t ns3::Ipv4::GetInterfaceForPrefix(ns3::Ipv4Address address, ns3::Ipv4Mask mask) const [member function]
5111
    cls.add_method('GetInterfaceForPrefix', 
5112
                   'int32_t', 
5113
                   [param('ns3::Ipv4Address', 'address'), param('ns3::Ipv4Mask', 'mask')], 
5114
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5115
    ## ipv4.h (module 'internet'): uint16_t ns3::Ipv4::GetMetric(uint32_t interface) const [member function]
5116
    cls.add_method('GetMetric', 
5117
                   'uint16_t', 
5118
                   [param('uint32_t', 'interface')], 
5119
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5120
    ## ipv4.h (module 'internet'): uint16_t ns3::Ipv4::GetMtu(uint32_t interface) const [member function]
5121
    cls.add_method('GetMtu', 
5122
                   'uint16_t', 
5123
                   [param('uint32_t', 'interface')], 
5124
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5125
    ## ipv4.h (module 'internet'): uint32_t ns3::Ipv4::GetNAddresses(uint32_t interface) const [member function]
5126
    cls.add_method('GetNAddresses', 
5127
                   'uint32_t', 
5128
                   [param('uint32_t', 'interface')], 
5129
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5130
    ## ipv4.h (module 'internet'): uint32_t ns3::Ipv4::GetNInterfaces() const [member function]
5131
    cls.add_method('GetNInterfaces', 
5132
                   'uint32_t', 
5133
                   [], 
5134
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5135
    ## ipv4.h (module 'internet'): ns3::Ptr<ns3::NetDevice> ns3::Ipv4::GetNetDevice(uint32_t interface) [member function]
5136
    cls.add_method('GetNetDevice', 
5137
                   'ns3::Ptr< ns3::NetDevice >', 
5138
                   [param('uint32_t', 'interface')], 
5139
                   is_pure_virtual=True, is_virtual=True)
5140
    ## ipv4.h (module 'internet'): ns3::Ptr<ns3::Ipv4RoutingProtocol> ns3::Ipv4::GetRoutingProtocol() const [member function]
5141
    cls.add_method('GetRoutingProtocol', 
5142
                   'ns3::Ptr< ns3::Ipv4RoutingProtocol >', 
5143
                   [], 
5144
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5145
    ## ipv4.h (module 'internet'): static ns3::TypeId ns3::Ipv4::GetTypeId() [member function]
5146
    cls.add_method('GetTypeId', 
5147
                   'ns3::TypeId', 
5148
                   [], 
5149
                   is_static=True)
5150
    ## ipv4.h (module 'internet'): void ns3::Ipv4::Insert(ns3::Ptr<ns3::Ipv4L4Protocol> protocol) [member function]
5151
    cls.add_method('Insert', 
5152
                   'void', 
5153
                   [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')], 
5154
                   is_pure_virtual=True, is_virtual=True)
5155
    ## ipv4.h (module 'internet'): bool ns3::Ipv4::IsDestinationAddress(ns3::Ipv4Address address, uint32_t iif) const [member function]
5156
    cls.add_method('IsDestinationAddress', 
5157
                   'bool', 
5158
                   [param('ns3::Ipv4Address', 'address'), param('uint32_t', 'iif')], 
5159
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5160
    ## ipv4.h (module 'internet'): bool ns3::Ipv4::IsForwarding(uint32_t interface) const [member function]
5161
    cls.add_method('IsForwarding', 
5162
                   'bool', 
5163
                   [param('uint32_t', 'interface')], 
5164
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5165
    ## ipv4.h (module 'internet'): bool ns3::Ipv4::IsUp(uint32_t interface) const [member function]
5166
    cls.add_method('IsUp', 
5167
                   'bool', 
5168
                   [param('uint32_t', 'interface')], 
5169
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5170
    ## ipv4.h (module 'internet'): bool ns3::Ipv4::RemoveAddress(uint32_t interface, uint32_t addressIndex) [member function]
5171
    cls.add_method('RemoveAddress', 
5172
                   'bool', 
5173
                   [param('uint32_t', 'interface'), param('uint32_t', 'addressIndex')], 
5174
                   is_pure_virtual=True, is_virtual=True)
5175
    ## ipv4.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4::SelectSourceAddress(ns3::Ptr<const ns3::NetDevice> device, ns3::Ipv4Address dst, ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e scope) [member function]
5176
    cls.add_method('SelectSourceAddress', 
5177
                   'ns3::Ipv4Address', 
5178
                   [param('ns3::Ptr< ns3::NetDevice const >', 'device'), param('ns3::Ipv4Address', 'dst'), param('ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e', 'scope')], 
5179
                   is_pure_virtual=True, is_virtual=True)
5180
    ## ipv4.h (module 'internet'): void ns3::Ipv4::Send(ns3::Ptr<ns3::Packet> packet, ns3::Ipv4Address source, ns3::Ipv4Address destination, uint8_t protocol, ns3::Ptr<ns3::Ipv4Route> route) [member function]
5181
    cls.add_method('Send', 
5182
                   'void', 
5183
                   [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'destination'), param('uint8_t', 'protocol'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')], 
5184
                   is_pure_virtual=True, is_virtual=True)
5185
    ## ipv4.h (module 'internet'): void ns3::Ipv4::SetDown(uint32_t interface) [member function]
5186
    cls.add_method('SetDown', 
5187
                   'void', 
5188
                   [param('uint32_t', 'interface')], 
5189
                   is_pure_virtual=True, is_virtual=True)
5190
    ## ipv4.h (module 'internet'): void ns3::Ipv4::SetForwarding(uint32_t interface, bool val) [member function]
5191
    cls.add_method('SetForwarding', 
5192
                   'void', 
5193
                   [param('uint32_t', 'interface'), param('bool', 'val')], 
5194
                   is_pure_virtual=True, is_virtual=True)
5195
    ## ipv4.h (module 'internet'): void ns3::Ipv4::SetMetric(uint32_t interface, uint16_t metric) [member function]
5196
    cls.add_method('SetMetric', 
5197
                   'void', 
5198
                   [param('uint32_t', 'interface'), param('uint16_t', 'metric')], 
5199
                   is_pure_virtual=True, is_virtual=True)
5200
    ## ipv4.h (module 'internet'): void ns3::Ipv4::SetRoutingProtocol(ns3::Ptr<ns3::Ipv4RoutingProtocol> routingProtocol) [member function]
5201
    cls.add_method('SetRoutingProtocol', 
5202
                   'void', 
5203
                   [param('ns3::Ptr< ns3::Ipv4RoutingProtocol >', 'routingProtocol')], 
5204
                   is_pure_virtual=True, is_virtual=True)
5205
    ## ipv4.h (module 'internet'): void ns3::Ipv4::SetUp(uint32_t interface) [member function]
5206
    cls.add_method('SetUp', 
5207
                   'void', 
5208
                   [param('uint32_t', 'interface')], 
5209
                   is_pure_virtual=True, is_virtual=True)
5210
    ## ipv4.h (module 'internet'): ns3::Ipv4::IF_ANY [variable]
5211
    cls.add_static_attribute('IF_ANY', 'uint32_t const', is_const=True)
5212
    ## ipv4.h (module 'internet'): bool ns3::Ipv4::GetIpForward() const [member function]
5213
    cls.add_method('GetIpForward', 
5214
                   'bool', 
5215
                   [], 
5216
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
5217
    ## ipv4.h (module 'internet'): bool ns3::Ipv4::GetWeakEsModel() const [member function]
5218
    cls.add_method('GetWeakEsModel', 
5219
                   'bool', 
5220
                   [], 
5221
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
5222
    ## ipv4.h (module 'internet'): void ns3::Ipv4::SetIpForward(bool forward) [member function]
5223
    cls.add_method('SetIpForward', 
5224
                   'void', 
5225
                   [param('bool', 'forward')], 
5226
                   is_pure_virtual=True, visibility='private', is_virtual=True)
5227
    ## ipv4.h (module 'internet'): void ns3::Ipv4::SetWeakEsModel(bool model) [member function]
5228
    cls.add_method('SetWeakEsModel', 
5229
                   'void', 
5230
                   [param('bool', 'model')], 
5231
                   is_pure_virtual=True, visibility='private', is_virtual=True)
5232
    return
5233
5234
def register_Ns3Ipv4AddressChecker_methods(root_module, cls):
3787
def register_Ns3Ipv4AddressChecker_methods(root_module, cls):
5235
    ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker::Ipv4AddressChecker() [constructor]
3788
    ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker::Ipv4AddressChecker() [constructor]
5236
    cls.add_constructor([])
3789
    cls.add_constructor([])
 Lines 5271-5513    Link Here 
5271
                   [param('ns3::Ipv4Address const &', 'value')])
3824
                   [param('ns3::Ipv4Address const &', 'value')])
5272
    return
3825
    return
5273
3826
5274
def register_Ns3Ipv4L3Protocol_methods(root_module, cls):
5275
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::PROT_NUMBER [variable]
5276
    cls.add_static_attribute('PROT_NUMBER', 'uint16_t const', is_const=True)
5277
    ## ipv4-l3-protocol.h (module 'internet'): static ns3::TypeId ns3::Ipv4L3Protocol::GetTypeId() [member function]
5278
    cls.add_method('GetTypeId', 
5279
                   'ns3::TypeId', 
5280
                   [], 
5281
                   is_static=True)
5282
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::Ipv4L3Protocol() [constructor]
5283
    cls.add_constructor([])
5284
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetNode(ns3::Ptr<ns3::Node> node) [member function]
5285
    cls.add_method('SetNode', 
5286
                   'void', 
5287
                   [param('ns3::Ptr< ns3::Node >', 'node')])
5288
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetRoutingProtocol(ns3::Ptr<ns3::Ipv4RoutingProtocol> routingProtocol) [member function]
5289
    cls.add_method('SetRoutingProtocol', 
5290
                   'void', 
5291
                   [param('ns3::Ptr< ns3::Ipv4RoutingProtocol >', 'routingProtocol')], 
5292
                   is_virtual=True)
5293
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::Ipv4RoutingProtocol> ns3::Ipv4L3Protocol::GetRoutingProtocol() const [member function]
5294
    cls.add_method('GetRoutingProtocol', 
5295
                   'ns3::Ptr< ns3::Ipv4RoutingProtocol >', 
5296
                   [], 
5297
                   is_const=True, is_virtual=True)
5298
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::Socket> ns3::Ipv4L3Protocol::CreateRawSocket() [member function]
5299
    cls.add_method('CreateRawSocket', 
5300
                   'ns3::Ptr< ns3::Socket >', 
5301
                   [])
5302
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::DeleteRawSocket(ns3::Ptr<ns3::Socket> socket) [member function]
5303
    cls.add_method('DeleteRawSocket', 
5304
                   'void', 
5305
                   [param('ns3::Ptr< ns3::Socket >', 'socket')])
5306
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Insert(ns3::Ptr<ns3::Ipv4L4Protocol> protocol) [member function]
5307
    cls.add_method('Insert', 
5308
                   'void', 
5309
                   [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')], 
5310
                   is_virtual=True)
5311
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::Ipv4L4Protocol> ns3::Ipv4L3Protocol::GetProtocol(int protocolNumber) const [member function]
5312
    cls.add_method('GetProtocol', 
5313
                   'ns3::Ptr< ns3::Ipv4L4Protocol >', 
5314
                   [param('int', 'protocolNumber')], 
5315
                   is_const=True)
5316
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Remove(ns3::Ptr<ns3::Ipv4L4Protocol> protocol) [member function]
5317
    cls.add_method('Remove', 
5318
                   'void', 
5319
                   [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')])
5320
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetDefaultTtl(uint8_t ttl) [member function]
5321
    cls.add_method('SetDefaultTtl', 
5322
                   'void', 
5323
                   [param('uint8_t', 'ttl')])
5324
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Receive(ns3::Ptr<ns3::NetDevice> device, ns3::Ptr<const ns3::Packet> p, uint16_t protocol, ns3::Address const & from, ns3::Address const & to, ns3::NetDevice::PacketType packetType) [member function]
5325
    cls.add_method('Receive', 
5326
                   'void', 
5327
                   [param('ns3::Ptr< ns3::NetDevice >', 'device'), param('ns3::Ptr< ns3::Packet const >', 'p'), param('uint16_t', 'protocol'), param('ns3::Address const &', 'from'), param('ns3::Address const &', 'to'), param('ns3::NetDevice::PacketType', 'packetType')])
5328
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Send(ns3::Ptr<ns3::Packet> packet, ns3::Ipv4Address source, ns3::Ipv4Address destination, uint8_t protocol, ns3::Ptr<ns3::Ipv4Route> route) [member function]
5329
    cls.add_method('Send', 
5330
                   'void', 
5331
                   [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'destination'), param('uint8_t', 'protocol'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')], 
5332
                   is_virtual=True)
5333
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SendWithHeader(ns3::Ptr<ns3::Packet> packet, ns3::Ipv4Header ipHeader, ns3::Ptr<ns3::Ipv4Route> route) [member function]
5334
    cls.add_method('SendWithHeader', 
5335
                   'void', 
5336
                   [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Header', 'ipHeader'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')])
5337
    ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::AddInterface(ns3::Ptr<ns3::NetDevice> device) [member function]
5338
    cls.add_method('AddInterface', 
5339
                   'uint32_t', 
5340
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')], 
5341
                   is_virtual=True)
5342
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::Ipv4Interface> ns3::Ipv4L3Protocol::GetInterface(uint32_t i) const [member function]
5343
    cls.add_method('GetInterface', 
5344
                   'ns3::Ptr< ns3::Ipv4Interface >', 
5345
                   [param('uint32_t', 'i')], 
5346
                   is_const=True)
5347
    ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::GetNInterfaces() const [member function]
5348
    cls.add_method('GetNInterfaces', 
5349
                   'uint32_t', 
5350
                   [], 
5351
                   is_const=True, is_virtual=True)
5352
    ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForAddress(ns3::Ipv4Address addr) const [member function]
5353
    cls.add_method('GetInterfaceForAddress', 
5354
                   'int32_t', 
5355
                   [param('ns3::Ipv4Address', 'addr')], 
5356
                   is_const=True, is_virtual=True)
5357
    ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForPrefix(ns3::Ipv4Address addr, ns3::Ipv4Mask mask) const [member function]
5358
    cls.add_method('GetInterfaceForPrefix', 
5359
                   'int32_t', 
5360
                   [param('ns3::Ipv4Address', 'addr'), param('ns3::Ipv4Mask', 'mask')], 
5361
                   is_const=True, is_virtual=True)
5362
    ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForDevice(ns3::Ptr<const ns3::NetDevice> device) const [member function]
5363
    cls.add_method('GetInterfaceForDevice', 
5364
                   'int32_t', 
5365
                   [param('ns3::Ptr< ns3::NetDevice const >', 'device')], 
5366
                   is_const=True, is_virtual=True)
5367
    ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsDestinationAddress(ns3::Ipv4Address address, uint32_t iif) const [member function]
5368
    cls.add_method('IsDestinationAddress', 
5369
                   'bool', 
5370
                   [param('ns3::Ipv4Address', 'address'), param('uint32_t', 'iif')], 
5371
                   is_const=True, is_virtual=True)
5372
    ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::AddAddress(uint32_t i, ns3::Ipv4InterfaceAddress address) [member function]
5373
    cls.add_method('AddAddress', 
5374
                   'bool', 
5375
                   [param('uint32_t', 'i'), param('ns3::Ipv4InterfaceAddress', 'address')], 
5376
                   is_virtual=True)
5377
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4InterfaceAddress ns3::Ipv4L3Protocol::GetAddress(uint32_t interfaceIndex, uint32_t addressIndex) const [member function]
5378
    cls.add_method('GetAddress', 
5379
                   'ns3::Ipv4InterfaceAddress', 
5380
                   [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], 
5381
                   is_const=True, is_virtual=True)
5382
    ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::GetNAddresses(uint32_t interface) const [member function]
5383
    cls.add_method('GetNAddresses', 
5384
                   'uint32_t', 
5385
                   [param('uint32_t', 'interface')], 
5386
                   is_const=True, is_virtual=True)
5387
    ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::RemoveAddress(uint32_t interfaceIndex, uint32_t addressIndex) [member function]
5388
    cls.add_method('RemoveAddress', 
5389
                   'bool', 
5390
                   [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], 
5391
                   is_virtual=True)
5392
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4L3Protocol::SelectSourceAddress(ns3::Ptr<const ns3::NetDevice> device, ns3::Ipv4Address dst, ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e scope) [member function]
5393
    cls.add_method('SelectSourceAddress', 
5394
                   'ns3::Ipv4Address', 
5395
                   [param('ns3::Ptr< ns3::NetDevice const >', 'device'), param('ns3::Ipv4Address', 'dst'), param('ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e', 'scope')], 
5396
                   is_virtual=True)
5397
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetMetric(uint32_t i, uint16_t metric) [member function]
5398
    cls.add_method('SetMetric', 
5399
                   'void', 
5400
                   [param('uint32_t', 'i'), param('uint16_t', 'metric')], 
5401
                   is_virtual=True)
5402
    ## ipv4-l3-protocol.h (module 'internet'): uint16_t ns3::Ipv4L3Protocol::GetMetric(uint32_t i) const [member function]
5403
    cls.add_method('GetMetric', 
5404
                   'uint16_t', 
5405
                   [param('uint32_t', 'i')], 
5406
                   is_const=True, is_virtual=True)
5407
    ## ipv4-l3-protocol.h (module 'internet'): uint16_t ns3::Ipv4L3Protocol::GetMtu(uint32_t i) const [member function]
5408
    cls.add_method('GetMtu', 
5409
                   'uint16_t', 
5410
                   [param('uint32_t', 'i')], 
5411
                   is_const=True, is_virtual=True)
5412
    ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsUp(uint32_t i) const [member function]
5413
    cls.add_method('IsUp', 
5414
                   'bool', 
5415
                   [param('uint32_t', 'i')], 
5416
                   is_const=True, is_virtual=True)
5417
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetUp(uint32_t i) [member function]
5418
    cls.add_method('SetUp', 
5419
                   'void', 
5420
                   [param('uint32_t', 'i')], 
5421
                   is_virtual=True)
5422
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetDown(uint32_t i) [member function]
5423
    cls.add_method('SetDown', 
5424
                   'void', 
5425
                   [param('uint32_t', 'i')], 
5426
                   is_virtual=True)
5427
    ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsForwarding(uint32_t i) const [member function]
5428
    cls.add_method('IsForwarding', 
5429
                   'bool', 
5430
                   [param('uint32_t', 'i')], 
5431
                   is_const=True, is_virtual=True)
5432
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetForwarding(uint32_t i, bool val) [member function]
5433
    cls.add_method('SetForwarding', 
5434
                   'void', 
5435
                   [param('uint32_t', 'i'), param('bool', 'val')], 
5436
                   is_virtual=True)
5437
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::NetDevice> ns3::Ipv4L3Protocol::GetNetDevice(uint32_t i) [member function]
5438
    cls.add_method('GetNetDevice', 
5439
                   'ns3::Ptr< ns3::NetDevice >', 
5440
                   [param('uint32_t', 'i')], 
5441
                   is_virtual=True)
5442
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::DoDispose() [member function]
5443
    cls.add_method('DoDispose', 
5444
                   'void', 
5445
                   [], 
5446
                   visibility='protected', is_virtual=True)
5447
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::NotifyNewAggregate() [member function]
5448
    cls.add_method('NotifyNewAggregate', 
5449
                   'void', 
5450
                   [], 
5451
                   visibility='protected', is_virtual=True)
5452
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetIpForward(bool forward) [member function]
5453
    cls.add_method('SetIpForward', 
5454
                   'void', 
5455
                   [param('bool', 'forward')], 
5456
                   visibility='private', is_virtual=True)
5457
    ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::GetIpForward() const [member function]
5458
    cls.add_method('GetIpForward', 
5459
                   'bool', 
5460
                   [], 
5461
                   is_const=True, visibility='private', is_virtual=True)
5462
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetWeakEsModel(bool model) [member function]
5463
    cls.add_method('SetWeakEsModel', 
5464
                   'void', 
5465
                   [param('bool', 'model')], 
5466
                   visibility='private', is_virtual=True)
5467
    ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::GetWeakEsModel() const [member function]
5468
    cls.add_method('GetWeakEsModel', 
5469
                   'bool', 
5470
                   [], 
5471
                   is_const=True, visibility='private', is_virtual=True)
5472
    return
5473
5474
def register_Ns3Ipv4L4Protocol_methods(root_module, cls):
5475
    ## ipv4-l4-protocol.h (module 'internet'): ns3::Ipv4L4Protocol::Ipv4L4Protocol() [constructor]
5476
    cls.add_constructor([])
5477
    ## ipv4-l4-protocol.h (module 'internet'): ns3::Ipv4L4Protocol::Ipv4L4Protocol(ns3::Ipv4L4Protocol const & arg0) [copy constructor]
5478
    cls.add_constructor([param('ns3::Ipv4L4Protocol const &', 'arg0')])
5479
    ## ipv4-l4-protocol.h (module 'internet'): ns3::Callback<void,ns3::Ptr<ns3::Packet>,ns3::Ipv4Address,ns3::Ipv4Address,unsigned char,ns3::Ptr<ns3::Ipv4Route>,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ns3::Ipv4L4Protocol::GetDownTarget() const [member function]
5480
    cls.add_method('GetDownTarget', 
5481
                   'ns3::Callback< void, ns3::Ptr< ns3::Packet >, ns3::Ipv4Address, ns3::Ipv4Address, unsigned char, ns3::Ptr< ns3::Ipv4Route >, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 
5482
                   [], 
5483
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5484
    ## ipv4-l4-protocol.h (module 'internet'): int ns3::Ipv4L4Protocol::GetProtocolNumber() const [member function]
5485
    cls.add_method('GetProtocolNumber', 
5486
                   'int', 
5487
                   [], 
5488
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5489
    ## ipv4-l4-protocol.h (module 'internet'): static ns3::TypeId ns3::Ipv4L4Protocol::GetTypeId() [member function]
5490
    cls.add_method('GetTypeId', 
5491
                   'ns3::TypeId', 
5492
                   [], 
5493
                   is_static=True)
5494
    ## ipv4-l4-protocol.h (module 'internet'): ns3::Ipv4L4Protocol::RxStatus ns3::Ipv4L4Protocol::Receive(ns3::Ptr<ns3::Packet> p, ns3::Ipv4Header const & header, ns3::Ptr<ns3::Ipv4Interface> incomingInterface) [member function]
5495
    cls.add_method('Receive', 
5496
                   'ns3::Ipv4L4Protocol::RxStatus', 
5497
                   [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('ns3::Ptr< ns3::Ipv4Interface >', 'incomingInterface')], 
5498
                   is_pure_virtual=True, is_virtual=True)
5499
    ## ipv4-l4-protocol.h (module 'internet'): void ns3::Ipv4L4Protocol::ReceiveIcmp(ns3::Ipv4Address icmpSource, uint8_t icmpTtl, uint8_t icmpType, uint8_t icmpCode, uint32_t icmpInfo, ns3::Ipv4Address payloadSource, ns3::Ipv4Address payloadDestination, uint8_t const * payload) [member function]
5500
    cls.add_method('ReceiveIcmp', 
5501
                   'void', 
5502
                   [param('ns3::Ipv4Address', 'icmpSource'), param('uint8_t', 'icmpTtl'), param('uint8_t', 'icmpType'), param('uint8_t', 'icmpCode'), param('uint32_t', 'icmpInfo'), param('ns3::Ipv4Address', 'payloadSource'), param('ns3::Ipv4Address', 'payloadDestination'), param('uint8_t const *', 'payload')], 
5503
                   is_virtual=True)
5504
    ## ipv4-l4-protocol.h (module 'internet'): void ns3::Ipv4L4Protocol::SetDownTarget(ns3::Callback<void,ns3::Ptr<ns3::Packet>,ns3::Ipv4Address,ns3::Ipv4Address,unsigned char,ns3::Ptr<ns3::Ipv4Route>,ns3::empty,ns3::empty,ns3::empty,ns3::empty> cb) [member function]
5505
    cls.add_method('SetDownTarget', 
5506
                   'void', 
5507
                   [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, ns3::Ipv4Address, ns3::Ipv4Address, unsigned char, ns3::Ptr< ns3::Ipv4Route >, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], 
5508
                   is_pure_virtual=True, is_virtual=True)
5509
    return
5510
5511
def register_Ns3Ipv4MaskChecker_methods(root_module, cls):
3827
def register_Ns3Ipv4MaskChecker_methods(root_module, cls):
5512
    ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker::Ipv4MaskChecker() [constructor]
3828
    ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker::Ipv4MaskChecker() [constructor]
5513
    cls.add_constructor([])
3829
    cls.add_constructor([])
 Lines 5548-5830    Link Here 
5548
                   [param('ns3::Ipv4Mask const &', 'value')])
3864
                   [param('ns3::Ipv4Mask const &', 'value')])
5549
    return
3865
    return
5550
3866
5551
def register_Ns3Ipv4MulticastRoute_methods(root_module, cls):
5552
    ## ipv4-route.h (module 'internet'): ns3::Ipv4MulticastRoute::Ipv4MulticastRoute(ns3::Ipv4MulticastRoute const & arg0) [copy constructor]
5553
    cls.add_constructor([param('ns3::Ipv4MulticastRoute const &', 'arg0')])
5554
    ## ipv4-route.h (module 'internet'): ns3::Ipv4MulticastRoute::Ipv4MulticastRoute() [constructor]
5555
    cls.add_constructor([])
5556
    ## ipv4-route.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4MulticastRoute::GetGroup() const [member function]
5557
    cls.add_method('GetGroup', 
5558
                   'ns3::Ipv4Address', 
5559
                   [], 
5560
                   is_const=True)
5561
    ## ipv4-route.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4MulticastRoute::GetOrigin() const [member function]
5562
    cls.add_method('GetOrigin', 
5563
                   'ns3::Ipv4Address', 
5564
                   [], 
5565
                   is_const=True)
5566
    ## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetOutputTtl(uint32_t oif) const [member function]
5567
    cls.add_method('GetOutputTtl', 
5568
                   'uint32_t', 
5569
                   [param('uint32_t', 'oif')], 
5570
                   is_const=True)
5571
    ## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetParent() const [member function]
5572
    cls.add_method('GetParent', 
5573
                   'uint32_t', 
5574
                   [], 
5575
                   is_const=True)
5576
    ## ipv4-route.h (module 'internet'): void ns3::Ipv4MulticastRoute::SetGroup(ns3::Ipv4Address const group) [member function]
5577
    cls.add_method('SetGroup', 
5578
                   'void', 
5579
                   [param('ns3::Ipv4Address const', 'group')])
5580
    ## ipv4-route.h (module 'internet'): void ns3::Ipv4MulticastRoute::SetOrigin(ns3::Ipv4Address const origin) [member function]
5581
    cls.add_method('SetOrigin', 
5582
                   'void', 
5583
                   [param('ns3::Ipv4Address const', 'origin')])
5584
    ## ipv4-route.h (module 'internet'): void ns3::Ipv4MulticastRoute::SetOutputTtl(uint32_t oif, uint32_t ttl) [member function]
5585
    cls.add_method('SetOutputTtl', 
5586
                   'void', 
5587
                   [param('uint32_t', 'oif'), param('uint32_t', 'ttl')])
5588
    ## ipv4-route.h (module 'internet'): void ns3::Ipv4MulticastRoute::SetParent(uint32_t iif) [member function]
5589
    cls.add_method('SetParent', 
5590
                   'void', 
5591
                   [param('uint32_t', 'iif')])
5592
    ## ipv4-route.h (module 'internet'): ns3::Ipv4MulticastRoute::MAX_INTERFACES [variable]
5593
    cls.add_static_attribute('MAX_INTERFACES', 'uint32_t const', is_const=True)
5594
    ## ipv4-route.h (module 'internet'): ns3::Ipv4MulticastRoute::MAX_TTL [variable]
5595
    cls.add_static_attribute('MAX_TTL', 'uint32_t const', is_const=True)
5596
    return
5597
5598
def register_Ns3Ipv4Route_methods(root_module, cls):
5599
    cls.add_output_stream_operator()
5600
    ## ipv4-route.h (module 'internet'): ns3::Ipv4Route::Ipv4Route(ns3::Ipv4Route const & arg0) [copy constructor]
5601
    cls.add_constructor([param('ns3::Ipv4Route const &', 'arg0')])
5602
    ## ipv4-route.h (module 'internet'): ns3::Ipv4Route::Ipv4Route() [constructor]
5603
    cls.add_constructor([])
5604
    ## ipv4-route.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4Route::GetDestination() const [member function]
5605
    cls.add_method('GetDestination', 
5606
                   'ns3::Ipv4Address', 
5607
                   [], 
5608
                   is_const=True)
5609
    ## ipv4-route.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4Route::GetGateway() const [member function]
5610
    cls.add_method('GetGateway', 
5611
                   'ns3::Ipv4Address', 
5612
                   [], 
5613
                   is_const=True)
5614
    ## ipv4-route.h (module 'internet'): ns3::Ptr<ns3::NetDevice> ns3::Ipv4Route::GetOutputDevice() const [member function]
5615
    cls.add_method('GetOutputDevice', 
5616
                   'ns3::Ptr< ns3::NetDevice >', 
5617
                   [], 
5618
                   is_const=True)
5619
    ## ipv4-route.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4Route::GetSource() const [member function]
5620
    cls.add_method('GetSource', 
5621
                   'ns3::Ipv4Address', 
5622
                   [], 
5623
                   is_const=True)
5624
    ## ipv4-route.h (module 'internet'): void ns3::Ipv4Route::SetDestination(ns3::Ipv4Address dest) [member function]
5625
    cls.add_method('SetDestination', 
5626
                   'void', 
5627
                   [param('ns3::Ipv4Address', 'dest')])
5628
    ## ipv4-route.h (module 'internet'): void ns3::Ipv4Route::SetGateway(ns3::Ipv4Address gw) [member function]
5629
    cls.add_method('SetGateway', 
5630
                   'void', 
5631
                   [param('ns3::Ipv4Address', 'gw')])
5632
    ## ipv4-route.h (module 'internet'): void ns3::Ipv4Route::SetOutputDevice(ns3::Ptr<ns3::NetDevice> outputDevice) [member function]
5633
    cls.add_method('SetOutputDevice', 
5634
                   'void', 
5635
                   [param('ns3::Ptr< ns3::NetDevice >', 'outputDevice')])
5636
    ## ipv4-route.h (module 'internet'): void ns3::Ipv4Route::SetSource(ns3::Ipv4Address src) [member function]
5637
    cls.add_method('SetSource', 
5638
                   'void', 
5639
                   [param('ns3::Ipv4Address', 'src')])
5640
    return
5641
5642
def register_Ns3Ipv4RoutingProtocol_methods(root_module, cls):
5643
    ## ipv4-routing-protocol.h (module 'internet'): ns3::Ipv4RoutingProtocol::Ipv4RoutingProtocol() [constructor]
5644
    cls.add_constructor([])
5645
    ## ipv4-routing-protocol.h (module 'internet'): ns3::Ipv4RoutingProtocol::Ipv4RoutingProtocol(ns3::Ipv4RoutingProtocol const & arg0) [copy constructor]
5646
    cls.add_constructor([param('ns3::Ipv4RoutingProtocol const &', 'arg0')])
5647
    ## ipv4-routing-protocol.h (module 'internet'): static ns3::TypeId ns3::Ipv4RoutingProtocol::GetTypeId() [member function]
5648
    cls.add_method('GetTypeId', 
5649
                   'ns3::TypeId', 
5650
                   [], 
5651
                   is_static=True)
5652
    ## ipv4-routing-protocol.h (module 'internet'): void ns3::Ipv4RoutingProtocol::NotifyAddAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function]
5653
    cls.add_method('NotifyAddAddress', 
5654
                   'void', 
5655
                   [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], 
5656
                   is_pure_virtual=True, is_virtual=True)
5657
    ## ipv4-routing-protocol.h (module 'internet'): void ns3::Ipv4RoutingProtocol::NotifyInterfaceDown(uint32_t interface) [member function]
5658
    cls.add_method('NotifyInterfaceDown', 
5659
                   'void', 
5660
                   [param('uint32_t', 'interface')], 
5661
                   is_pure_virtual=True, is_virtual=True)
5662
    ## ipv4-routing-protocol.h (module 'internet'): void ns3::Ipv4RoutingProtocol::NotifyInterfaceUp(uint32_t interface) [member function]
5663
    cls.add_method('NotifyInterfaceUp', 
5664
                   'void', 
5665
                   [param('uint32_t', 'interface')], 
5666
                   is_pure_virtual=True, is_virtual=True)
5667
    ## ipv4-routing-protocol.h (module 'internet'): void ns3::Ipv4RoutingProtocol::NotifyRemoveAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function]
5668
    cls.add_method('NotifyRemoveAddress', 
5669
                   'void', 
5670
                   [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], 
5671
                   is_pure_virtual=True, is_virtual=True)
5672
    ## ipv4-routing-protocol.h (module 'internet'): void ns3::Ipv4RoutingProtocol::PrintRoutingTable(ns3::Ptr<ns3::OutputStreamWrapper> stream) const [member function]
5673
    cls.add_method('PrintRoutingTable', 
5674
                   'void', 
5675
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')], 
5676
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5677
    ## ipv4-routing-protocol.h (module 'internet'): bool ns3::Ipv4RoutingProtocol::RouteInput(ns3::Ptr<const ns3::Packet> p, ns3::Ipv4Header const & header, ns3::Ptr<const ns3::NetDevice> idev, ns3::Callback<void,ns3::Ptr<ns3::Ipv4Route>,ns3::Ptr<const ns3::Packet>,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ucb, ns3::Callback<void,ns3::Ptr<ns3::Ipv4MulticastRoute>,ns3::Ptr<const ns3::Packet>,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> mcb, ns3::Callback<void,ns3::Ptr<const ns3::Packet>,const ns3::Ipv4Header&,unsigned int,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> lcb, ns3::Callback<void,ns3::Ptr<const ns3::Packet>,const ns3::Ipv4Header&,ns3::Socket::SocketErrno,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ecb) [member function]
5678
    cls.add_method('RouteInput', 
5679
                   'bool', 
5680
                   [param('ns3::Ptr< ns3::Packet const >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('ns3::Ptr< ns3::NetDevice const >', 'idev'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv4Route >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ucb'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv4MulticastRoute >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'mcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'lcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ecb')], 
5681
                   is_pure_virtual=True, is_virtual=True)
5682
    ## ipv4-routing-protocol.h (module 'internet'): ns3::Ptr<ns3::Ipv4Route> ns3::Ipv4RoutingProtocol::RouteOutput(ns3::Ptr<ns3::Packet> p, ns3::Ipv4Header const & header, ns3::Ptr<ns3::NetDevice> oif, ns3::Socket::SocketErrno & sockerr) [member function]
5683
    cls.add_method('RouteOutput', 
5684
                   'ns3::Ptr< ns3::Ipv4Route >', 
5685
                   [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('ns3::Ptr< ns3::NetDevice >', 'oif'), param('ns3::Socket::SocketErrno &', 'sockerr')], 
5686
                   is_pure_virtual=True, is_virtual=True)
5687
    ## ipv4-routing-protocol.h (module 'internet'): void ns3::Ipv4RoutingProtocol::SetIpv4(ns3::Ptr<ns3::Ipv4> ipv4) [member function]
5688
    cls.add_method('SetIpv4', 
5689
                   'void', 
5690
                   [param('ns3::Ptr< ns3::Ipv4 >', 'ipv4')], 
5691
                   is_pure_virtual=True, is_virtual=True)
5692
    return
5693
5694
def register_Ns3Ipv6_methods(root_module, cls):
5695
    ## ipv6.h (module 'internet'): ns3::Ipv6::Ipv6(ns3::Ipv6 const & arg0) [copy constructor]
5696
    cls.add_constructor([param('ns3::Ipv6 const &', 'arg0')])
5697
    ## ipv6.h (module 'internet'): ns3::Ipv6::Ipv6() [constructor]
5698
    cls.add_constructor([])
5699
    ## ipv6.h (module 'internet'): bool ns3::Ipv6::AddAddress(uint32_t interface, ns3::Ipv6InterfaceAddress address) [member function]
5700
    cls.add_method('AddAddress', 
5701
                   'bool', 
5702
                   [param('uint32_t', 'interface'), param('ns3::Ipv6InterfaceAddress', 'address')], 
5703
                   is_pure_virtual=True, is_virtual=True)
5704
    ## ipv6.h (module 'internet'): uint32_t ns3::Ipv6::AddInterface(ns3::Ptr<ns3::NetDevice> device) [member function]
5705
    cls.add_method('AddInterface', 
5706
                   'uint32_t', 
5707
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')], 
5708
                   is_pure_virtual=True, is_virtual=True)
5709
    ## ipv6.h (module 'internet'): ns3::Ipv6InterfaceAddress ns3::Ipv6::GetAddress(uint32_t interface, uint32_t addressIndex) const [member function]
5710
    cls.add_method('GetAddress', 
5711
                   'ns3::Ipv6InterfaceAddress', 
5712
                   [param('uint32_t', 'interface'), param('uint32_t', 'addressIndex')], 
5713
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5714
    ## ipv6.h (module 'internet'): int32_t ns3::Ipv6::GetInterfaceForAddress(ns3::Ipv6Address address) const [member function]
5715
    cls.add_method('GetInterfaceForAddress', 
5716
                   'int32_t', 
5717
                   [param('ns3::Ipv6Address', 'address')], 
5718
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5719
    ## ipv6.h (module 'internet'): int32_t ns3::Ipv6::GetInterfaceForDevice(ns3::Ptr<const ns3::NetDevice> device) const [member function]
5720
    cls.add_method('GetInterfaceForDevice', 
5721
                   'int32_t', 
5722
                   [param('ns3::Ptr< ns3::NetDevice const >', 'device')], 
5723
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5724
    ## ipv6.h (module 'internet'): int32_t ns3::Ipv6::GetInterfaceForPrefix(ns3::Ipv6Address address, ns3::Ipv6Prefix mask) const [member function]
5725
    cls.add_method('GetInterfaceForPrefix', 
5726
                   'int32_t', 
5727
                   [param('ns3::Ipv6Address', 'address'), param('ns3::Ipv6Prefix', 'mask')], 
5728
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5729
    ## ipv6.h (module 'internet'): uint16_t ns3::Ipv6::GetMetric(uint32_t interface) const [member function]
5730
    cls.add_method('GetMetric', 
5731
                   'uint16_t', 
5732
                   [param('uint32_t', 'interface')], 
5733
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5734
    ## ipv6.h (module 'internet'): uint16_t ns3::Ipv6::GetMtu(uint32_t interface) const [member function]
5735
    cls.add_method('GetMtu', 
5736
                   'uint16_t', 
5737
                   [param('uint32_t', 'interface')], 
5738
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5739
    ## ipv6.h (module 'internet'): uint32_t ns3::Ipv6::GetNAddresses(uint32_t interface) const [member function]
5740
    cls.add_method('GetNAddresses', 
5741
                   'uint32_t', 
5742
                   [param('uint32_t', 'interface')], 
5743
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5744
    ## ipv6.h (module 'internet'): uint32_t ns3::Ipv6::GetNInterfaces() const [member function]
5745
    cls.add_method('GetNInterfaces', 
5746
                   'uint32_t', 
5747
                   [], 
5748
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5749
    ## ipv6.h (module 'internet'): ns3::Ptr<ns3::NetDevice> ns3::Ipv6::GetNetDevice(uint32_t interface) [member function]
5750
    cls.add_method('GetNetDevice', 
5751
                   'ns3::Ptr< ns3::NetDevice >', 
5752
                   [param('uint32_t', 'interface')], 
5753
                   is_pure_virtual=True, is_virtual=True)
5754
    ## ipv6.h (module 'internet'): ns3::Ptr<ns3::Ipv6RoutingProtocol> ns3::Ipv6::GetRoutingProtocol() const [member function]
5755
    cls.add_method('GetRoutingProtocol', 
5756
                   'ns3::Ptr< ns3::Ipv6RoutingProtocol >', 
5757
                   [], 
5758
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5759
    ## ipv6.h (module 'internet'): static ns3::TypeId ns3::Ipv6::GetTypeId() [member function]
5760
    cls.add_method('GetTypeId', 
5761
                   'ns3::TypeId', 
5762
                   [], 
5763
                   is_static=True)
5764
    ## ipv6.h (module 'internet'): bool ns3::Ipv6::IsForwarding(uint32_t interface) const [member function]
5765
    cls.add_method('IsForwarding', 
5766
                   'bool', 
5767
                   [param('uint32_t', 'interface')], 
5768
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5769
    ## ipv6.h (module 'internet'): bool ns3::Ipv6::IsUp(uint32_t interface) const [member function]
5770
    cls.add_method('IsUp', 
5771
                   'bool', 
5772
                   [param('uint32_t', 'interface')], 
5773
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5774
    ## ipv6.h (module 'internet'): void ns3::Ipv6::RegisterExtensions() [member function]
5775
    cls.add_method('RegisterExtensions', 
5776
                   'void', 
5777
                   [], 
5778
                   is_pure_virtual=True, is_virtual=True)
5779
    ## ipv6.h (module 'internet'): void ns3::Ipv6::RegisterOptions() [member function]
5780
    cls.add_method('RegisterOptions', 
5781
                   'void', 
5782
                   [], 
5783
                   is_pure_virtual=True, is_virtual=True)
5784
    ## ipv6.h (module 'internet'): bool ns3::Ipv6::RemoveAddress(uint32_t interface, uint32_t addressIndex) [member function]
5785
    cls.add_method('RemoveAddress', 
5786
                   'bool', 
5787
                   [param('uint32_t', 'interface'), param('uint32_t', 'addressIndex')], 
5788
                   is_pure_virtual=True, is_virtual=True)
5789
    ## ipv6.h (module 'internet'): void ns3::Ipv6::SetDown(uint32_t interface) [member function]
5790
    cls.add_method('SetDown', 
5791
                   'void', 
5792
                   [param('uint32_t', 'interface')], 
5793
                   is_pure_virtual=True, is_virtual=True)
5794
    ## ipv6.h (module 'internet'): void ns3::Ipv6::SetForwarding(uint32_t interface, bool val) [member function]
5795
    cls.add_method('SetForwarding', 
5796
                   'void', 
5797
                   [param('uint32_t', 'interface'), param('bool', 'val')], 
5798
                   is_pure_virtual=True, is_virtual=True)
5799
    ## ipv6.h (module 'internet'): void ns3::Ipv6::SetMetric(uint32_t interface, uint16_t metric) [member function]
5800
    cls.add_method('SetMetric', 
5801
                   'void', 
5802
                   [param('uint32_t', 'interface'), param('uint16_t', 'metric')], 
5803
                   is_pure_virtual=True, is_virtual=True)
5804
    ## ipv6.h (module 'internet'): void ns3::Ipv6::SetRoutingProtocol(ns3::Ptr<ns3::Ipv6RoutingProtocol> routingProtocol) [member function]
5805
    cls.add_method('SetRoutingProtocol', 
5806
                   'void', 
5807
                   [param('ns3::Ptr< ns3::Ipv6RoutingProtocol >', 'routingProtocol')], 
5808
                   is_pure_virtual=True, is_virtual=True)
5809
    ## ipv6.h (module 'internet'): void ns3::Ipv6::SetUp(uint32_t interface) [member function]
5810
    cls.add_method('SetUp', 
5811
                   'void', 
5812
                   [param('uint32_t', 'interface')], 
5813
                   is_pure_virtual=True, is_virtual=True)
5814
    ## ipv6.h (module 'internet'): ns3::Ipv6::IF_ANY [variable]
5815
    cls.add_static_attribute('IF_ANY', 'uint32_t const', is_const=True)
5816
    ## ipv6.h (module 'internet'): bool ns3::Ipv6::GetIpForward() const [member function]
5817
    cls.add_method('GetIpForward', 
5818
                   'bool', 
5819
                   [], 
5820
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
5821
    ## ipv6.h (module 'internet'): void ns3::Ipv6::SetIpForward(bool forward) [member function]
5822
    cls.add_method('SetIpForward', 
5823
                   'void', 
5824
                   [param('bool', 'forward')], 
5825
                   is_pure_virtual=True, visibility='private', is_virtual=True)
5826
    return
5827
5828
def register_Ns3Ipv6AddressChecker_methods(root_module, cls):
3867
def register_Ns3Ipv6AddressChecker_methods(root_module, cls):
5829
    ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker::Ipv6AddressChecker() [constructor]
3868
    ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker::Ipv6AddressChecker() [constructor]
5830
    cls.add_constructor([])
3869
    cls.add_constructor([])
 Lines 5865-6067    Link Here 
5865
                   [param('ns3::Ipv6Address const &', 'value')])
3904
                   [param('ns3::Ipv6Address const &', 'value')])
5866
    return
3905
    return
5867
3906
5868
def register_Ns3Ipv6L3Protocol_methods(root_module, cls):
5869
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ipv6L3Protocol::PROT_NUMBER [variable]
5870
    cls.add_static_attribute('PROT_NUMBER', 'uint16_t const', is_const=True)
5871
    ## ipv6-l3-protocol.h (module 'internet'): static ns3::TypeId ns3::Ipv6L3Protocol::GetTypeId() [member function]
5872
    cls.add_method('GetTypeId', 
5873
                   'ns3::TypeId', 
5874
                   [], 
5875
                   is_static=True)
5876
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ipv6L3Protocol::Ipv6L3Protocol() [constructor]
5877
    cls.add_constructor([])
5878
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::SetNode(ns3::Ptr<ns3::Node> node) [member function]
5879
    cls.add_method('SetNode', 
5880
                   'void', 
5881
                   [param('ns3::Ptr< ns3::Node >', 'node')])
5882
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::Insert(ns3::Ptr<ns3::Ipv6L4Protocol> protocol) [member function]
5883
    cls.add_method('Insert', 
5884
                   'void', 
5885
                   [param('ns3::Ptr< ns3::Ipv6L4Protocol >', 'protocol')])
5886
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::Remove(ns3::Ptr<ns3::Ipv6L4Protocol> protocol) [member function]
5887
    cls.add_method('Remove', 
5888
                   'void', 
5889
                   [param('ns3::Ptr< ns3::Ipv6L4Protocol >', 'protocol')])
5890
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::Ipv6L4Protocol> ns3::Ipv6L3Protocol::GetProtocol(int protocolNumber) const [member function]
5891
    cls.add_method('GetProtocol', 
5892
                   'ns3::Ptr< ns3::Ipv6L4Protocol >', 
5893
                   [param('int', 'protocolNumber')], 
5894
                   is_const=True)
5895
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::Socket> ns3::Ipv6L3Protocol::CreateRawSocket() [member function]
5896
    cls.add_method('CreateRawSocket', 
5897
                   'ns3::Ptr< ns3::Socket >', 
5898
                   [])
5899
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::DeleteRawSocket(ns3::Ptr<ns3::Socket> socket) [member function]
5900
    cls.add_method('DeleteRawSocket', 
5901
                   'void', 
5902
                   [param('ns3::Ptr< ns3::Socket >', 'socket')])
5903
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::SetDefaultTtl(uint8_t ttl) [member function]
5904
    cls.add_method('SetDefaultTtl', 
5905
                   'void', 
5906
                   [param('uint8_t', 'ttl')])
5907
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::Receive(ns3::Ptr<ns3::NetDevice> device, ns3::Ptr<const ns3::Packet> p, uint16_t protocol, ns3::Address const & from, ns3::Address const & to, ns3::NetDevice::PacketType packetType) [member function]
5908
    cls.add_method('Receive', 
5909
                   'void', 
5910
                   [param('ns3::Ptr< ns3::NetDevice >', 'device'), param('ns3::Ptr< ns3::Packet const >', 'p'), param('uint16_t', 'protocol'), param('ns3::Address const &', 'from'), param('ns3::Address const &', 'to'), param('ns3::NetDevice::PacketType', 'packetType')])
5911
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::Send(ns3::Ptr<ns3::Packet> packet, ns3::Ipv6Address source, ns3::Ipv6Address destination, uint8_t protocol, ns3::Ptr<ns3::Ipv6Route> route) [member function]
5912
    cls.add_method('Send', 
5913
                   'void', 
5914
                   [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv6Address', 'source'), param('ns3::Ipv6Address', 'destination'), param('uint8_t', 'protocol'), param('ns3::Ptr< ns3::Ipv6Route >', 'route')])
5915
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::SetRoutingProtocol(ns3::Ptr<ns3::Ipv6RoutingProtocol> routingProtocol) [member function]
5916
    cls.add_method('SetRoutingProtocol', 
5917
                   'void', 
5918
                   [param('ns3::Ptr< ns3::Ipv6RoutingProtocol >', 'routingProtocol')], 
5919
                   is_virtual=True)
5920
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::Ipv6RoutingProtocol> ns3::Ipv6L3Protocol::GetRoutingProtocol() const [member function]
5921
    cls.add_method('GetRoutingProtocol', 
5922
                   'ns3::Ptr< ns3::Ipv6RoutingProtocol >', 
5923
                   [], 
5924
                   is_const=True, is_virtual=True)
5925
    ## ipv6-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv6L3Protocol::AddInterface(ns3::Ptr<ns3::NetDevice> device) [member function]
5926
    cls.add_method('AddInterface', 
5927
                   'uint32_t', 
5928
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')], 
5929
                   is_virtual=True)
5930
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::Ipv6Interface> ns3::Ipv6L3Protocol::GetInterface(uint32_t i) const [member function]
5931
    cls.add_method('GetInterface', 
5932
                   'ns3::Ptr< ns3::Ipv6Interface >', 
5933
                   [param('uint32_t', 'i')], 
5934
                   is_const=True)
5935
    ## ipv6-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv6L3Protocol::GetNInterfaces() const [member function]
5936
    cls.add_method('GetNInterfaces', 
5937
                   'uint32_t', 
5938
                   [], 
5939
                   is_const=True, is_virtual=True)
5940
    ## ipv6-l3-protocol.h (module 'internet'): int32_t ns3::Ipv6L3Protocol::GetInterfaceForAddress(ns3::Ipv6Address addr) const [member function]
5941
    cls.add_method('GetInterfaceForAddress', 
5942
                   'int32_t', 
5943
                   [param('ns3::Ipv6Address', 'addr')], 
5944
                   is_const=True, is_virtual=True)
5945
    ## ipv6-l3-protocol.h (module 'internet'): int32_t ns3::Ipv6L3Protocol::GetInterfaceForPrefix(ns3::Ipv6Address addr, ns3::Ipv6Prefix mask) const [member function]
5946
    cls.add_method('GetInterfaceForPrefix', 
5947
                   'int32_t', 
5948
                   [param('ns3::Ipv6Address', 'addr'), param('ns3::Ipv6Prefix', 'mask')], 
5949
                   is_const=True, is_virtual=True)
5950
    ## ipv6-l3-protocol.h (module 'internet'): int32_t ns3::Ipv6L3Protocol::GetInterfaceForDevice(ns3::Ptr<const ns3::NetDevice> device) const [member function]
5951
    cls.add_method('GetInterfaceForDevice', 
5952
                   'int32_t', 
5953
                   [param('ns3::Ptr< ns3::NetDevice const >', 'device')], 
5954
                   is_const=True, is_virtual=True)
5955
    ## ipv6-l3-protocol.h (module 'internet'): bool ns3::Ipv6L3Protocol::AddAddress(uint32_t i, ns3::Ipv6InterfaceAddress address) [member function]
5956
    cls.add_method('AddAddress', 
5957
                   'bool', 
5958
                   [param('uint32_t', 'i'), param('ns3::Ipv6InterfaceAddress', 'address')], 
5959
                   is_virtual=True)
5960
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ipv6InterfaceAddress ns3::Ipv6L3Protocol::GetAddress(uint32_t interfaceIndex, uint32_t addressIndex) const [member function]
5961
    cls.add_method('GetAddress', 
5962
                   'ns3::Ipv6InterfaceAddress', 
5963
                   [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], 
5964
                   is_const=True, is_virtual=True)
5965
    ## ipv6-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv6L3Protocol::GetNAddresses(uint32_t interface) const [member function]
5966
    cls.add_method('GetNAddresses', 
5967
                   'uint32_t', 
5968
                   [param('uint32_t', 'interface')], 
5969
                   is_const=True, is_virtual=True)
5970
    ## ipv6-l3-protocol.h (module 'internet'): bool ns3::Ipv6L3Protocol::RemoveAddress(uint32_t interfaceIndex, uint32_t addressIndex) [member function]
5971
    cls.add_method('RemoveAddress', 
5972
                   'bool', 
5973
                   [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], 
5974
                   is_virtual=True)
5975
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::SetMetric(uint32_t i, uint16_t metric) [member function]
5976
    cls.add_method('SetMetric', 
5977
                   'void', 
5978
                   [param('uint32_t', 'i'), param('uint16_t', 'metric')], 
5979
                   is_virtual=True)
5980
    ## ipv6-l3-protocol.h (module 'internet'): uint16_t ns3::Ipv6L3Protocol::GetMetric(uint32_t i) const [member function]
5981
    cls.add_method('GetMetric', 
5982
                   'uint16_t', 
5983
                   [param('uint32_t', 'i')], 
5984
                   is_const=True, is_virtual=True)
5985
    ## ipv6-l3-protocol.h (module 'internet'): uint16_t ns3::Ipv6L3Protocol::GetMtu(uint32_t i) const [member function]
5986
    cls.add_method('GetMtu', 
5987
                   'uint16_t', 
5988
                   [param('uint32_t', 'i')], 
5989
                   is_const=True, is_virtual=True)
5990
    ## ipv6-l3-protocol.h (module 'internet'): bool ns3::Ipv6L3Protocol::IsUp(uint32_t i) const [member function]
5991
    cls.add_method('IsUp', 
5992
                   'bool', 
5993
                   [param('uint32_t', 'i')], 
5994
                   is_const=True, is_virtual=True)
5995
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::SetUp(uint32_t i) [member function]
5996
    cls.add_method('SetUp', 
5997
                   'void', 
5998
                   [param('uint32_t', 'i')], 
5999
                   is_virtual=True)
6000
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::SetDown(uint32_t i) [member function]
6001
    cls.add_method('SetDown', 
6002
                   'void', 
6003
                   [param('uint32_t', 'i')], 
6004
                   is_virtual=True)
6005
    ## ipv6-l3-protocol.h (module 'internet'): bool ns3::Ipv6L3Protocol::IsForwarding(uint32_t i) const [member function]
6006
    cls.add_method('IsForwarding', 
6007
                   'bool', 
6008
                   [param('uint32_t', 'i')], 
6009
                   is_const=True, is_virtual=True)
6010
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::SetForwarding(uint32_t i, bool val) [member function]
6011
    cls.add_method('SetForwarding', 
6012
                   'void', 
6013
                   [param('uint32_t', 'i'), param('bool', 'val')], 
6014
                   is_virtual=True)
6015
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::NetDevice> ns3::Ipv6L3Protocol::GetNetDevice(uint32_t i) [member function]
6016
    cls.add_method('GetNetDevice', 
6017
                   'ns3::Ptr< ns3::NetDevice >', 
6018
                   [param('uint32_t', 'i')], 
6019
                   is_virtual=True)
6020
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::Icmpv6L4Protocol> ns3::Ipv6L3Protocol::GetIcmpv6() const [member function]
6021
    cls.add_method('GetIcmpv6', 
6022
                   'ns3::Ptr< ns3::Icmpv6L4Protocol >', 
6023
                   [], 
6024
                   is_const=True)
6025
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::AddAutoconfiguredAddress(uint32_t interface, ns3::Ipv6Address network, ns3::Ipv6Prefix mask, uint8_t flags, uint32_t validTime, uint32_t preferredTime, ns3::Ipv6Address defaultRouter=ns3::Ipv6Address::GetZero( )) [member function]
6026
    cls.add_method('AddAutoconfiguredAddress', 
6027
                   'void', 
6028
                   [param('uint32_t', 'interface'), param('ns3::Ipv6Address', 'network'), param('ns3::Ipv6Prefix', 'mask'), param('uint8_t', 'flags'), param('uint32_t', 'validTime'), param('uint32_t', 'preferredTime'), param('ns3::Ipv6Address', 'defaultRouter', default_value='ns3::Ipv6Address::GetZero( )')])
6029
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::RemoveAutoconfiguredAddress(uint32_t interface, ns3::Ipv6Address network, ns3::Ipv6Prefix mask, ns3::Ipv6Address defaultRouter) [member function]
6030
    cls.add_method('RemoveAutoconfiguredAddress', 
6031
                   'void', 
6032
                   [param('uint32_t', 'interface'), param('ns3::Ipv6Address', 'network'), param('ns3::Ipv6Prefix', 'mask'), param('ns3::Ipv6Address', 'defaultRouter')])
6033
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::RegisterExtensions() [member function]
6034
    cls.add_method('RegisterExtensions', 
6035
                   'void', 
6036
                   [], 
6037
                   is_virtual=True)
6038
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::RegisterOptions() [member function]
6039
    cls.add_method('RegisterOptions', 
6040
                   'void', 
6041
                   [], 
6042
                   is_virtual=True)
6043
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::DoDispose() [member function]
6044
    cls.add_method('DoDispose', 
6045
                   'void', 
6046
                   [], 
6047
                   visibility='protected', is_virtual=True)
6048
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::NotifyNewAggregate() [member function]
6049
    cls.add_method('NotifyNewAggregate', 
6050
                   'void', 
6051
                   [], 
6052
                   visibility='protected', is_virtual=True)
6053
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::SetIpForward(bool forward) [member function]
6054
    cls.add_method('SetIpForward', 
6055
                   'void', 
6056
                   [param('bool', 'forward')], 
6057
                   visibility='private', is_virtual=True)
6058
    ## ipv6-l3-protocol.h (module 'internet'): bool ns3::Ipv6L3Protocol::GetIpForward() const [member function]
6059
    cls.add_method('GetIpForward', 
6060
                   'bool', 
6061
                   [], 
6062
                   is_const=True, visibility='private', is_virtual=True)
6063
    return
6064
6065
def register_Ns3Ipv6PrefixChecker_methods(root_module, cls):
3907
def register_Ns3Ipv6PrefixChecker_methods(root_module, cls):
6066
    ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker::Ipv6PrefixChecker() [constructor]
3908
    ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker::Ipv6PrefixChecker() [constructor]
6067
    cls.add_constructor([])
3909
    cls.add_constructor([])
(-)a/src/csma/bindings/modulegen__gcc_LP64.py (-2158 lines)
 Lines 30-39    Link Here 
30
    module.add_class('AsciiTraceHelper', import_from_module='ns.network')
30
    module.add_class('AsciiTraceHelper', import_from_module='ns.network')
31
    ## trace-helper.h (module 'network'): ns3::AsciiTraceHelperForDevice [class]
31
    ## trace-helper.h (module 'network'): ns3::AsciiTraceHelperForDevice [class]
32
    module.add_class('AsciiTraceHelperForDevice', allow_subclassing=True, import_from_module='ns.network')
32
    module.add_class('AsciiTraceHelperForDevice', allow_subclassing=True, import_from_module='ns.network')
33
    ## internet-trace-helper.h (module 'internet'): ns3::AsciiTraceHelperForIpv4 [class]
34
    module.add_class('AsciiTraceHelperForIpv4', allow_subclassing=True, import_from_module='ns.internet')
35
    ## internet-trace-helper.h (module 'internet'): ns3::AsciiTraceHelperForIpv6 [class]
36
    module.add_class('AsciiTraceHelperForIpv6', allow_subclassing=True, import_from_module='ns.internet')
37
    ## attribute-list.h (module 'core'): ns3::AttributeList [class]
33
    ## attribute-list.h (module 'core'): ns3::AttributeList [class]
38
    module.add_class('AttributeList', import_from_module='ns.core')
34
    module.add_class('AttributeList', import_from_module='ns.core')
39
    ## backoff.h (module 'csma'): ns3::Backoff [class]
35
    ## backoff.h (module 'csma'): ns3::Backoff [class]
 Lines 56-63    Link Here 
56
    module.add_class('CallbackBase', import_from_module='ns.core')
52
    module.add_class('CallbackBase', import_from_module='ns.core')
57
    ## csma-channel.h (module 'csma'): ns3::CsmaDeviceRec [class]
53
    ## csma-channel.h (module 'csma'): ns3::CsmaDeviceRec [class]
58
    module.add_class('CsmaDeviceRec')
54
    module.add_class('CsmaDeviceRec')
59
    ## csma-star-helper.h (module 'csma'): ns3::CsmaStarHelper [class]
60
    module.add_class('CsmaStarHelper')
61
    ## data-rate.h (module 'network'): ns3::DataRate [class]
55
    ## data-rate.h (module 'network'): ns3::DataRate [class]
62
    module.add_class('DataRate', import_from_module='ns.network')
56
    module.add_class('DataRate', import_from_module='ns.network')
63
    ## event-id.h (module 'core'): ns3::EventId [class]
57
    ## event-id.h (module 'core'): ns3::EventId [class]
 Lines 66-93    Link Here 
66
    module.add_class('Ipv4Address', import_from_module='ns.network')
60
    module.add_class('Ipv4Address', import_from_module='ns.network')
67
    ## ipv4-address.h (module 'network'): ns3::Ipv4Address [class]
61
    ## ipv4-address.h (module 'network'): ns3::Ipv4Address [class]
68
    root_module['ns3::Ipv4Address'].implicitly_converts_to(root_module['ns3::Address'])
62
    root_module['ns3::Ipv4Address'].implicitly_converts_to(root_module['ns3::Address'])
69
    ## ipv4-address-helper.h (module 'internet'): ns3::Ipv4AddressHelper [class]
70
    module.add_class('Ipv4AddressHelper', import_from_module='ns.internet')
71
    ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4InterfaceAddress [class]
72
    module.add_class('Ipv4InterfaceAddress', import_from_module='ns.internet')
73
    ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e [enumeration]
74
    module.add_enum('InterfaceAddressScope_e', ['HOST', 'LINK', 'GLOBAL'], outer_class=root_module['ns3::Ipv4InterfaceAddress'], import_from_module='ns.internet')
75
    ## ipv4-interface-container.h (module 'internet'): ns3::Ipv4InterfaceContainer [class]
76
    module.add_class('Ipv4InterfaceContainer', import_from_module='ns.internet')
77
    ## ipv4-address.h (module 'network'): ns3::Ipv4Mask [class]
63
    ## ipv4-address.h (module 'network'): ns3::Ipv4Mask [class]
78
    module.add_class('Ipv4Mask', import_from_module='ns.network')
64
    module.add_class('Ipv4Mask', import_from_module='ns.network')
79
    ## ipv6-address.h (module 'network'): ns3::Ipv6Address [class]
65
    ## ipv6-address.h (module 'network'): ns3::Ipv6Address [class]
80
    module.add_class('Ipv6Address', import_from_module='ns.network')
66
    module.add_class('Ipv6Address', import_from_module='ns.network')
81
    ## ipv6-address.h (module 'network'): ns3::Ipv6Address [class]
67
    ## ipv6-address.h (module 'network'): ns3::Ipv6Address [class]
82
    root_module['ns3::Ipv6Address'].implicitly_converts_to(root_module['ns3::Address'])
68
    root_module['ns3::Ipv6Address'].implicitly_converts_to(root_module['ns3::Address'])
83
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress [class]
84
    module.add_class('Ipv6InterfaceAddress', import_from_module='ns.internet')
85
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress::State_e [enumeration]
86
    module.add_enum('State_e', ['TENTATIVE', 'DEPRECATED', 'PREFERRED', 'PERMANENT', 'HOMEADDRESS', 'TENTATIVE_OPTIMISTIC', 'INVALID'], outer_class=root_module['ns3::Ipv6InterfaceAddress'], import_from_module='ns.internet')
87
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress::Scope_e [enumeration]
88
    module.add_enum('Scope_e', ['HOST', 'LINKLOCAL', 'GLOBAL'], outer_class=root_module['ns3::Ipv6InterfaceAddress'], import_from_module='ns.internet')
89
    ## ipv6-interface-container.h (module 'internet'): ns3::Ipv6InterfaceContainer [class]
90
    module.add_class('Ipv6InterfaceContainer', import_from_module='ns.internet')
91
    ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix [class]
69
    ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix [class]
92
    module.add_class('Ipv6Prefix', import_from_module='ns.network')
70
    module.add_class('Ipv6Prefix', import_from_module='ns.network')
93
    ## mac48-address.h (module 'network'): ns3::Mac48Address [class]
71
    ## mac48-address.h (module 'network'): ns3::Mac48Address [class]
 Lines 128-137    Link Here 
128
    module.add_enum('', ['DLT_NULL', 'DLT_EN10MB', 'DLT_PPP', 'DLT_RAW', 'DLT_IEEE802_11', 'DLT_PRISM_HEADER', 'DLT_IEEE802_11_RADIO'], outer_class=root_module['ns3::PcapHelper'], import_from_module='ns.network')
106
    module.add_enum('', ['DLT_NULL', 'DLT_EN10MB', 'DLT_PPP', 'DLT_RAW', 'DLT_IEEE802_11', 'DLT_PRISM_HEADER', 'DLT_IEEE802_11_RADIO'], outer_class=root_module['ns3::PcapHelper'], import_from_module='ns.network')
129
    ## trace-helper.h (module 'network'): ns3::PcapHelperForDevice [class]
107
    ## trace-helper.h (module 'network'): ns3::PcapHelperForDevice [class]
130
    module.add_class('PcapHelperForDevice', allow_subclassing=True, import_from_module='ns.network')
108
    module.add_class('PcapHelperForDevice', allow_subclassing=True, import_from_module='ns.network')
131
    ## internet-trace-helper.h (module 'internet'): ns3::PcapHelperForIpv4 [class]
132
    module.add_class('PcapHelperForIpv4', allow_subclassing=True, import_from_module='ns.internet')
133
    ## internet-trace-helper.h (module 'internet'): ns3::PcapHelperForIpv6 [class]
134
    module.add_class('PcapHelperForIpv6', allow_subclassing=True, import_from_module='ns.internet')
135
    ## random-variable.h (module 'core'): ns3::RandomVariable [class]
109
    ## random-variable.h (module 'core'): ns3::RandomVariable [class]
136
    module.add_class('RandomVariable', import_from_module='ns.core')
110
    module.add_class('RandomVariable', import_from_module='ns.core')
137
    ## random-variable.h (module 'core'): ns3::SeedManager [class]
111
    ## random-variable.h (module 'core'): ns3::SeedManager [class]
 Lines 188-201    Link Here 
188
    module.add_class('Header', import_from_module='ns.network', parent=root_module['ns3::Chunk'])
162
    module.add_class('Header', import_from_module='ns.network', parent=root_module['ns3::Chunk'])
189
    ## random-variable.h (module 'core'): ns3::IntEmpiricalVariable [class]
163
    ## random-variable.h (module 'core'): ns3::IntEmpiricalVariable [class]
190
    module.add_class('IntEmpiricalVariable', import_from_module='ns.core', parent=root_module['ns3::EmpiricalVariable'])
164
    module.add_class('IntEmpiricalVariable', import_from_module='ns.core', parent=root_module['ns3::EmpiricalVariable'])
191
    ## internet-stack-helper.h (module 'internet'): ns3::InternetStackHelper [class]
192
    module.add_class('InternetStackHelper', import_from_module='ns.internet', parent=[root_module['ns3::PcapHelperForIpv4'], root_module['ns3::PcapHelperForIpv6'], root_module['ns3::AsciiTraceHelperForIpv4'], root_module['ns3::AsciiTraceHelperForIpv6']])
193
    ## ipv4-header.h (module 'internet'): ns3::Ipv4Header [class]
194
    module.add_class('Ipv4Header', import_from_module='ns.internet', parent=root_module['ns3::Header'])
195
    ## ipv6-header.h (module 'internet'): ns3::Ipv6Header [class]
196
    module.add_class('Ipv6Header', import_from_module='ns.internet', parent=root_module['ns3::Header'])
197
    ## ipv6-header.h (module 'internet'): ns3::Ipv6Header::NextHeader_e [enumeration]
198
    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'], import_from_module='ns.internet')
199
    ## random-variable.h (module 'core'): ns3::LogNormalVariable [class]
165
    ## random-variable.h (module 'core'): ns3::LogNormalVariable [class]
200
    module.add_class('LogNormalVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
166
    module.add_class('LogNormalVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable'])
201
    ## random-variable.h (module 'core'): ns3::NormalVariable [class]
167
    ## random-variable.h (module 'core'): ns3::NormalVariable [class]
 Lines 218-245    Link Here 
218
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::CallbackImplBase', 'ns3::empty', 'ns3::DefaultDeleter<ns3::CallbackImplBase>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
184
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::CallbackImplBase', 'ns3::empty', 'ns3::DefaultDeleter<ns3::CallbackImplBase>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
219
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> > [class]
185
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> > [class]
220
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::EventImpl', 'ns3::empty', 'ns3::DefaultDeleter<ns3::EventImpl>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
186
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::EventImpl', 'ns3::empty', 'ns3::DefaultDeleter<ns3::EventImpl>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
221
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4MulticastRoute> > [class]
222
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Ipv4MulticastRoute', 'ns3::empty', 'ns3::DefaultDeleter<ns3::Ipv4MulticastRoute>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
223
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4Route> > [class]
224
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Ipv4Route', 'ns3::empty', 'ns3::DefaultDeleter<ns3::Ipv4Route>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
225
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> > [class]
187
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> > [class]
226
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::NixVector', 'ns3::empty', 'ns3::DefaultDeleter<ns3::NixVector>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
188
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::NixVector', 'ns3::empty', 'ns3::DefaultDeleter<ns3::NixVector>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
227
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter<ns3::OutputStreamWrapper> > [class]
189
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter<ns3::OutputStreamWrapper> > [class]
228
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::OutputStreamWrapper', 'ns3::empty', 'ns3::DefaultDeleter<ns3::OutputStreamWrapper>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
190
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::OutputStreamWrapper', 'ns3::empty', 'ns3::DefaultDeleter<ns3::OutputStreamWrapper>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
229
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> > [class]
191
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> > [class]
230
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Packet', 'ns3::empty', 'ns3::DefaultDeleter<ns3::Packet>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
192
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Packet', 'ns3::empty', 'ns3::DefaultDeleter<ns3::Packet>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
231
    ## socket.h (module 'network'): ns3::Socket [class]
232
    module.add_class('Socket', import_from_module='ns.network', parent=root_module['ns3::Object'])
233
    ## socket.h (module 'network'): ns3::Socket::SocketErrno [enumeration]
234
    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', 'ERROR_NODEV', 'ERROR_ADDRNOTAVAIL', 'SOCKET_ERRNO_LAST'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
235
    ## socket.h (module 'network'): ns3::Socket::SocketType [enumeration]
236
    module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
237
    ## socket.h (module 'network'): ns3::SocketAddressTag [class]
238
    module.add_class('SocketAddressTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
239
    ## socket.h (module 'network'): ns3::SocketIpTtlTag [class]
240
    module.add_class('SocketIpTtlTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
241
    ## socket.h (module 'network'): ns3::SocketSetDontFragmentTag [class]
242
    module.add_class('SocketSetDontFragmentTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
243
    ## nstime.h (module 'core'): ns3::Time [class]
193
    ## nstime.h (module 'core'): ns3::Time [class]
244
    module.add_class('Time', import_from_module='ns.core')
194
    module.add_class('Time', import_from_module='ns.core')
245
    ## nstime.h (module 'core'): ns3::Time::Unit [enumeration]
195
    ## nstime.h (module 'core'): ns3::Time::Unit [enumeration]
 Lines 272-311    Link Here 
272
    module.add_class('EmptyAttributeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
222
    module.add_class('EmptyAttributeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
273
    ## event-impl.h (module 'core'): ns3::EventImpl [class]
223
    ## event-impl.h (module 'core'): ns3::EventImpl [class]
274
    module.add_class('EventImpl', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >'])
224
    module.add_class('EventImpl', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >'])
275
    ## ipv4.h (module 'internet'): ns3::Ipv4 [class]
276
    module.add_class('Ipv4', import_from_module='ns.internet', parent=root_module['ns3::Object'])
277
    ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker [class]
225
    ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker [class]
278
    module.add_class('Ipv4AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
226
    module.add_class('Ipv4AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
279
    ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue [class]
227
    ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue [class]
280
    module.add_class('Ipv4AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
228
    module.add_class('Ipv4AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
281
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol [class]
282
    module.add_class('Ipv4L3Protocol', import_from_module='ns.internet', parent=root_module['ns3::Ipv4'])
283
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::DropReason [enumeration]
284
    module.add_enum('DropReason', ['DROP_TTL_EXPIRED', 'DROP_NO_ROUTE', 'DROP_BAD_CHECKSUM', 'DROP_INTERFACE_DOWN', 'DROP_ROUTE_ERROR'], outer_class=root_module['ns3::Ipv4L3Protocol'], import_from_module='ns.internet')
285
    ## ipv4-l4-protocol.h (module 'internet'): ns3::Ipv4L4Protocol [class]
286
    module.add_class('Ipv4L4Protocol', import_from_module='ns.internet', parent=root_module['ns3::Object'])
287
    ## ipv4-l4-protocol.h (module 'internet'): ns3::Ipv4L4Protocol::RxStatus [enumeration]
288
    module.add_enum('RxStatus', ['RX_OK', 'RX_CSUM_FAILED', 'RX_ENDPOINT_CLOSED', 'RX_ENDPOINT_UNREACH'], outer_class=root_module['ns3::Ipv4L4Protocol'], import_from_module='ns.internet')
289
    ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker [class]
229
    ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker [class]
290
    module.add_class('Ipv4MaskChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
230
    module.add_class('Ipv4MaskChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
291
    ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue [class]
231
    ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue [class]
292
    module.add_class('Ipv4MaskValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
232
    module.add_class('Ipv4MaskValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
293
    ## ipv4-route.h (module 'internet'): ns3::Ipv4MulticastRoute [class]
294
    module.add_class('Ipv4MulticastRoute', import_from_module='ns.internet', parent=root_module['ns3::SimpleRefCount< ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4MulticastRoute> >'])
295
    ## ipv4-route.h (module 'internet'): ns3::Ipv4Route [class]
296
    module.add_class('Ipv4Route', import_from_module='ns.internet', parent=root_module['ns3::SimpleRefCount< ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4Route> >'])
297
    ## ipv4-routing-protocol.h (module 'internet'): ns3::Ipv4RoutingProtocol [class]
298
    module.add_class('Ipv4RoutingProtocol', import_from_module='ns.internet', parent=root_module['ns3::Object'])
299
    ## ipv6.h (module 'internet'): ns3::Ipv6 [class]
300
    module.add_class('Ipv6', import_from_module='ns.internet', parent=root_module['ns3::Object'])
301
    ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker [class]
233
    ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker [class]
302
    module.add_class('Ipv6AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
234
    module.add_class('Ipv6AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
303
    ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue [class]
235
    ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue [class]
304
    module.add_class('Ipv6AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
236
    module.add_class('Ipv6AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
305
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ipv6L3Protocol [class]
306
    module.add_class('Ipv6L3Protocol', import_from_module='ns.internet', parent=root_module['ns3::Ipv6'])
307
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ipv6L3Protocol::DropReason [enumeration]
308
    module.add_enum('DropReason', ['DROP_TTL_EXPIRED', 'DROP_NO_ROUTE', 'DROP_INTERFACE_DOWN', 'DROP_ROUTE_ERROR', 'DROP_UNKNOWN_PROTOCOL'], outer_class=root_module['ns3::Ipv6L3Protocol'], import_from_module='ns.internet')
309
    ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker [class]
237
    ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker [class]
310
    module.add_class('Ipv6PrefixChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
238
    module.add_class('Ipv6PrefixChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
311
    ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue [class]
239
    ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue [class]
 Lines 365-372    Link Here 
365
    register_Ns3Address_methods(root_module, root_module['ns3::Address'])
293
    register_Ns3Address_methods(root_module, root_module['ns3::Address'])
366
    register_Ns3AsciiTraceHelper_methods(root_module, root_module['ns3::AsciiTraceHelper'])
294
    register_Ns3AsciiTraceHelper_methods(root_module, root_module['ns3::AsciiTraceHelper'])
367
    register_Ns3AsciiTraceHelperForDevice_methods(root_module, root_module['ns3::AsciiTraceHelperForDevice'])
295
    register_Ns3AsciiTraceHelperForDevice_methods(root_module, root_module['ns3::AsciiTraceHelperForDevice'])
368
    register_Ns3AsciiTraceHelperForIpv4_methods(root_module, root_module['ns3::AsciiTraceHelperForIpv4'])
369
    register_Ns3AsciiTraceHelperForIpv6_methods(root_module, root_module['ns3::AsciiTraceHelperForIpv6'])
370
    register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList'])
296
    register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList'])
371
    register_Ns3Backoff_methods(root_module, root_module['ns3::Backoff'])
297
    register_Ns3Backoff_methods(root_module, root_module['ns3::Backoff'])
372
    register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer'])
298
    register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer'])
 Lines 378-394    Link Here 
378
    register_Ns3ByteTagListIteratorItem_methods(root_module, root_module['ns3::ByteTagList::Iterator::Item'])
304
    register_Ns3ByteTagListIteratorItem_methods(root_module, root_module['ns3::ByteTagList::Iterator::Item'])
379
    register_Ns3CallbackBase_methods(root_module, root_module['ns3::CallbackBase'])
305
    register_Ns3CallbackBase_methods(root_module, root_module['ns3::CallbackBase'])
380
    register_Ns3CsmaDeviceRec_methods(root_module, root_module['ns3::CsmaDeviceRec'])
306
    register_Ns3CsmaDeviceRec_methods(root_module, root_module['ns3::CsmaDeviceRec'])
381
    register_Ns3CsmaStarHelper_methods(root_module, root_module['ns3::CsmaStarHelper'])
382
    register_Ns3DataRate_methods(root_module, root_module['ns3::DataRate'])
307
    register_Ns3DataRate_methods(root_module, root_module['ns3::DataRate'])
383
    register_Ns3EventId_methods(root_module, root_module['ns3::EventId'])
308
    register_Ns3EventId_methods(root_module, root_module['ns3::EventId'])
384
    register_Ns3Ipv4Address_methods(root_module, root_module['ns3::Ipv4Address'])
309
    register_Ns3Ipv4Address_methods(root_module, root_module['ns3::Ipv4Address'])
385
    register_Ns3Ipv4AddressHelper_methods(root_module, root_module['ns3::Ipv4AddressHelper'])
386
    register_Ns3Ipv4InterfaceAddress_methods(root_module, root_module['ns3::Ipv4InterfaceAddress'])
387
    register_Ns3Ipv4InterfaceContainer_methods(root_module, root_module['ns3::Ipv4InterfaceContainer'])
388
    register_Ns3Ipv4Mask_methods(root_module, root_module['ns3::Ipv4Mask'])
310
    register_Ns3Ipv4Mask_methods(root_module, root_module['ns3::Ipv4Mask'])
389
    register_Ns3Ipv6Address_methods(root_module, root_module['ns3::Ipv6Address'])
311
    register_Ns3Ipv6Address_methods(root_module, root_module['ns3::Ipv6Address'])
390
    register_Ns3Ipv6InterfaceAddress_methods(root_module, root_module['ns3::Ipv6InterfaceAddress'])
391
    register_Ns3Ipv6InterfaceContainer_methods(root_module, root_module['ns3::Ipv6InterfaceContainer'])
392
    register_Ns3Ipv6Prefix_methods(root_module, root_module['ns3::Ipv6Prefix'])
312
    register_Ns3Ipv6Prefix_methods(root_module, root_module['ns3::Ipv6Prefix'])
393
    register_Ns3Mac48Address_methods(root_module, root_module['ns3::Mac48Address'])
313
    register_Ns3Mac48Address_methods(root_module, root_module['ns3::Mac48Address'])
394
    register_Ns3NetDeviceContainer_methods(root_module, root_module['ns3::NetDeviceContainer'])
314
    register_Ns3NetDeviceContainer_methods(root_module, root_module['ns3::NetDeviceContainer'])
 Lines 406-413    Link Here 
406
    register_Ns3PcapFile_methods(root_module, root_module['ns3::PcapFile'])
326
    register_Ns3PcapFile_methods(root_module, root_module['ns3::PcapFile'])
407
    register_Ns3PcapHelper_methods(root_module, root_module['ns3::PcapHelper'])
327
    register_Ns3PcapHelper_methods(root_module, root_module['ns3::PcapHelper'])
408
    register_Ns3PcapHelperForDevice_methods(root_module, root_module['ns3::PcapHelperForDevice'])
328
    register_Ns3PcapHelperForDevice_methods(root_module, root_module['ns3::PcapHelperForDevice'])
409
    register_Ns3PcapHelperForIpv4_methods(root_module, root_module['ns3::PcapHelperForIpv4'])
410
    register_Ns3PcapHelperForIpv6_methods(root_module, root_module['ns3::PcapHelperForIpv6'])
411
    register_Ns3RandomVariable_methods(root_module, root_module['ns3::RandomVariable'])
329
    register_Ns3RandomVariable_methods(root_module, root_module['ns3::RandomVariable'])
412
    register_Ns3SeedManager_methods(root_module, root_module['ns3::SeedManager'])
330
    register_Ns3SeedManager_methods(root_module, root_module['ns3::SeedManager'])
413
    register_Ns3SequentialVariable_methods(root_module, root_module['ns3::SequentialVariable'])
331
    register_Ns3SequentialVariable_methods(root_module, root_module['ns3::SequentialVariable'])
 Lines 435-443    Link Here 
435
    register_Ns3GammaVariable_methods(root_module, root_module['ns3::GammaVariable'])
353
    register_Ns3GammaVariable_methods(root_module, root_module['ns3::GammaVariable'])
436
    register_Ns3Header_methods(root_module, root_module['ns3::Header'])
354
    register_Ns3Header_methods(root_module, root_module['ns3::Header'])
437
    register_Ns3IntEmpiricalVariable_methods(root_module, root_module['ns3::IntEmpiricalVariable'])
355
    register_Ns3IntEmpiricalVariable_methods(root_module, root_module['ns3::IntEmpiricalVariable'])
438
    register_Ns3InternetStackHelper_methods(root_module, root_module['ns3::InternetStackHelper'])
439
    register_Ns3Ipv4Header_methods(root_module, root_module['ns3::Ipv4Header'])
440
    register_Ns3Ipv6Header_methods(root_module, root_module['ns3::Ipv6Header'])
441
    register_Ns3LogNormalVariable_methods(root_module, root_module['ns3::LogNormalVariable'])
356
    register_Ns3LogNormalVariable_methods(root_module, root_module['ns3::LogNormalVariable'])
442
    register_Ns3NormalVariable_methods(root_module, root_module['ns3::NormalVariable'])
357
    register_Ns3NormalVariable_methods(root_module, root_module['ns3::NormalVariable'])
443
    register_Ns3Object_methods(root_module, root_module['ns3::Object'])
358
    register_Ns3Object_methods(root_module, root_module['ns3::Object'])
 Lines 449-463    Link Here 
449
    register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeValue__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >'])
364
    register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeValue__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >'])
450
    register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__lt__ns3CallbackImplBase__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >'])
365
    register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__lt__ns3CallbackImplBase__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >'])
451
    register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >'])
366
    register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >'])
452
    register_Ns3SimpleRefCount__Ns3Ipv4MulticastRoute_Ns3Empty_Ns3DefaultDeleter__lt__ns3Ipv4MulticastRoute__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4MulticastRoute> >'])
453
    register_Ns3SimpleRefCount__Ns3Ipv4Route_Ns3Empty_Ns3DefaultDeleter__lt__ns3Ipv4Route__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4Route> >'])
454
    register_Ns3SimpleRefCount__Ns3NixVector_Ns3Empty_Ns3DefaultDeleter__lt__ns3NixVector__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >'])
367
    register_Ns3SimpleRefCount__Ns3NixVector_Ns3Empty_Ns3DefaultDeleter__lt__ns3NixVector__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >'])
455
    register_Ns3SimpleRefCount__Ns3OutputStreamWrapper_Ns3Empty_Ns3DefaultDeleter__lt__ns3OutputStreamWrapper__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter<ns3::OutputStreamWrapper> >'])
368
    register_Ns3SimpleRefCount__Ns3OutputStreamWrapper_Ns3Empty_Ns3DefaultDeleter__lt__ns3OutputStreamWrapper__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter<ns3::OutputStreamWrapper> >'])
456
    register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >'])
369
    register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >'])
457
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
458
    register_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag'])
459
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
460
    register_Ns3SocketSetDontFragmentTag_methods(root_module, root_module['ns3::SocketSetDontFragmentTag'])
461
    register_Ns3Time_methods(root_module, root_module['ns3::Time'])
370
    register_Ns3Time_methods(root_module, root_module['ns3::Time'])
462
    register_Ns3Trailer_methods(root_module, root_module['ns3::Trailer'])
371
    register_Ns3Trailer_methods(root_module, root_module['ns3::Trailer'])
463
    register_Ns3AttributeAccessor_methods(root_module, root_module['ns3::AttributeAccessor'])
372
    register_Ns3AttributeAccessor_methods(root_module, root_module['ns3::AttributeAccessor'])
 Lines 472-491    Link Here 
472
    register_Ns3DataRateValue_methods(root_module, root_module['ns3::DataRateValue'])
381
    register_Ns3DataRateValue_methods(root_module, root_module['ns3::DataRateValue'])
473
    register_Ns3EmptyAttributeValue_methods(root_module, root_module['ns3::EmptyAttributeValue'])
382
    register_Ns3EmptyAttributeValue_methods(root_module, root_module['ns3::EmptyAttributeValue'])
474
    register_Ns3EventImpl_methods(root_module, root_module['ns3::EventImpl'])
383
    register_Ns3EventImpl_methods(root_module, root_module['ns3::EventImpl'])
475
    register_Ns3Ipv4_methods(root_module, root_module['ns3::Ipv4'])
476
    register_Ns3Ipv4AddressChecker_methods(root_module, root_module['ns3::Ipv4AddressChecker'])
384
    register_Ns3Ipv4AddressChecker_methods(root_module, root_module['ns3::Ipv4AddressChecker'])
477
    register_Ns3Ipv4AddressValue_methods(root_module, root_module['ns3::Ipv4AddressValue'])
385
    register_Ns3Ipv4AddressValue_methods(root_module, root_module['ns3::Ipv4AddressValue'])
478
    register_Ns3Ipv4L3Protocol_methods(root_module, root_module['ns3::Ipv4L3Protocol'])
479
    register_Ns3Ipv4L4Protocol_methods(root_module, root_module['ns3::Ipv4L4Protocol'])
480
    register_Ns3Ipv4MaskChecker_methods(root_module, root_module['ns3::Ipv4MaskChecker'])
386
    register_Ns3Ipv4MaskChecker_methods(root_module, root_module['ns3::Ipv4MaskChecker'])
481
    register_Ns3Ipv4MaskValue_methods(root_module, root_module['ns3::Ipv4MaskValue'])
387
    register_Ns3Ipv4MaskValue_methods(root_module, root_module['ns3::Ipv4MaskValue'])
482
    register_Ns3Ipv4MulticastRoute_methods(root_module, root_module['ns3::Ipv4MulticastRoute'])
483
    register_Ns3Ipv4Route_methods(root_module, root_module['ns3::Ipv4Route'])
484
    register_Ns3Ipv4RoutingProtocol_methods(root_module, root_module['ns3::Ipv4RoutingProtocol'])
485
    register_Ns3Ipv6_methods(root_module, root_module['ns3::Ipv6'])
486
    register_Ns3Ipv6AddressChecker_methods(root_module, root_module['ns3::Ipv6AddressChecker'])
388
    register_Ns3Ipv6AddressChecker_methods(root_module, root_module['ns3::Ipv6AddressChecker'])
487
    register_Ns3Ipv6AddressValue_methods(root_module, root_module['ns3::Ipv6AddressValue'])
389
    register_Ns3Ipv6AddressValue_methods(root_module, root_module['ns3::Ipv6AddressValue'])
488
    register_Ns3Ipv6L3Protocol_methods(root_module, root_module['ns3::Ipv6L3Protocol'])
489
    register_Ns3Ipv6PrefixChecker_methods(root_module, root_module['ns3::Ipv6PrefixChecker'])
390
    register_Ns3Ipv6PrefixChecker_methods(root_module, root_module['ns3::Ipv6PrefixChecker'])
490
    register_Ns3Ipv6PrefixValue_methods(root_module, root_module['ns3::Ipv6PrefixValue'])
391
    register_Ns3Ipv6PrefixValue_methods(root_module, root_module['ns3::Ipv6PrefixValue'])
491
    register_Ns3Mac48AddressChecker_methods(root_module, root_module['ns3::Mac48AddressChecker'])
392
    register_Ns3Mac48AddressChecker_methods(root_module, root_module['ns3::Mac48AddressChecker'])
 Lines 697-822    Link Here 
697
                   is_pure_virtual=True, is_virtual=True)
598
                   is_pure_virtual=True, is_virtual=True)
698
    return
599
    return
699
600
700
def register_Ns3AsciiTraceHelperForIpv4_methods(root_module, cls):
701
    ## internet-trace-helper.h (module 'internet'): ns3::AsciiTraceHelperForIpv4::AsciiTraceHelperForIpv4(ns3::AsciiTraceHelperForIpv4 const & arg0) [copy constructor]
702
    cls.add_constructor([param('ns3::AsciiTraceHelperForIpv4 const &', 'arg0')])
703
    ## internet-trace-helper.h (module 'internet'): ns3::AsciiTraceHelperForIpv4::AsciiTraceHelperForIpv4() [constructor]
704
    cls.add_constructor([])
705
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, ns3::Ptr<ns3::Ipv4> ipv4, uint32_t interface, bool explicitFilename=false) [member function]
706
    cls.add_method('EnableAsciiIpv4', 
707
                   'void', 
708
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')])
709
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr<ns3::OutputStreamWrapper> stream, ns3::Ptr<ns3::Ipv4> ipv4, uint32_t interface) [member function]
710
    cls.add_method('EnableAsciiIpv4', 
711
                   'void', 
712
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface')])
713
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, std::string ipv4Name, uint32_t interface, bool explicitFilename=false) [member function]
714
    cls.add_method('EnableAsciiIpv4', 
715
                   'void', 
716
                   [param('std::string', 'prefix'), param('std::string', 'ipv4Name'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')])
717
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr<ns3::OutputStreamWrapper> stream, std::string ipv4Name, uint32_t interface) [member function]
718
    cls.add_method('EnableAsciiIpv4', 
719
                   'void', 
720
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'ipv4Name'), param('uint32_t', 'interface')])
721
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, ns3::Ipv4InterfaceContainer c) [member function]
722
    cls.add_method('EnableAsciiIpv4', 
723
                   'void', 
724
                   [param('std::string', 'prefix'), param('ns3::Ipv4InterfaceContainer', 'c')])
725
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr<ns3::OutputStreamWrapper> stream, ns3::Ipv4InterfaceContainer c) [member function]
726
    cls.add_method('EnableAsciiIpv4', 
727
                   'void', 
728
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::Ipv4InterfaceContainer', 'c')])
729
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, ns3::NodeContainer n) [member function]
730
    cls.add_method('EnableAsciiIpv4', 
731
                   'void', 
732
                   [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')])
733
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr<ns3::OutputStreamWrapper> stream, ns3::NodeContainer n) [member function]
734
    cls.add_method('EnableAsciiIpv4', 
735
                   'void', 
736
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::NodeContainer', 'n')])
737
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, uint32_t nodeid, uint32_t deviceid, bool explicitFilename) [member function]
738
    cls.add_method('EnableAsciiIpv4', 
739
                   'void', 
740
                   [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid'), param('bool', 'explicitFilename')])
741
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr<ns3::OutputStreamWrapper> stream, uint32_t nodeid, uint32_t interface, bool explicitFilename) [member function]
742
    cls.add_method('EnableAsciiIpv4', 
743
                   'void', 
744
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('uint32_t', 'nodeid'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')])
745
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4All(std::string prefix) [member function]
746
    cls.add_method('EnableAsciiIpv4All', 
747
                   'void', 
748
                   [param('std::string', 'prefix')])
749
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4All(ns3::Ptr<ns3::OutputStreamWrapper> stream) [member function]
750
    cls.add_method('EnableAsciiIpv4All', 
751
                   'void', 
752
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')])
753
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4Internal(ns3::Ptr<ns3::OutputStreamWrapper> stream, std::string prefix, ns3::Ptr<ns3::Ipv4> ipv4, uint32_t interface, bool explicitFilename) [member function]
754
    cls.add_method('EnableAsciiIpv4Internal', 
755
                   'void', 
756
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], 
757
                   is_pure_virtual=True, is_virtual=True)
758
    return
759
760
def register_Ns3AsciiTraceHelperForIpv6_methods(root_module, cls):
761
    ## internet-trace-helper.h (module 'internet'): ns3::AsciiTraceHelperForIpv6::AsciiTraceHelperForIpv6(ns3::AsciiTraceHelperForIpv6 const & arg0) [copy constructor]
762
    cls.add_constructor([param('ns3::AsciiTraceHelperForIpv6 const &', 'arg0')])
763
    ## internet-trace-helper.h (module 'internet'): ns3::AsciiTraceHelperForIpv6::AsciiTraceHelperForIpv6() [constructor]
764
    cls.add_constructor([])
765
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, ns3::Ptr<ns3::Ipv6> ipv6, uint32_t interface, bool explicitFilename=false) [member function]
766
    cls.add_method('EnableAsciiIpv6', 
767
                   'void', 
768
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')])
769
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr<ns3::OutputStreamWrapper> stream, ns3::Ptr<ns3::Ipv6> ipv6, uint32_t interface) [member function]
770
    cls.add_method('EnableAsciiIpv6', 
771
                   'void', 
772
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface')])
773
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, std::string ipv6Name, uint32_t interface, bool explicitFilename=false) [member function]
774
    cls.add_method('EnableAsciiIpv6', 
775
                   'void', 
776
                   [param('std::string', 'prefix'), param('std::string', 'ipv6Name'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')])
777
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr<ns3::OutputStreamWrapper> stream, std::string ipv6Name, uint32_t interface) [member function]
778
    cls.add_method('EnableAsciiIpv6', 
779
                   'void', 
780
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'ipv6Name'), param('uint32_t', 'interface')])
781
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, ns3::Ipv6InterfaceContainer c) [member function]
782
    cls.add_method('EnableAsciiIpv6', 
783
                   'void', 
784
                   [param('std::string', 'prefix'), param('ns3::Ipv6InterfaceContainer', 'c')])
785
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr<ns3::OutputStreamWrapper> stream, ns3::Ipv6InterfaceContainer c) [member function]
786
    cls.add_method('EnableAsciiIpv6', 
787
                   'void', 
788
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::Ipv6InterfaceContainer', 'c')])
789
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, ns3::NodeContainer n) [member function]
790
    cls.add_method('EnableAsciiIpv6', 
791
                   'void', 
792
                   [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')])
793
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr<ns3::OutputStreamWrapper> stream, ns3::NodeContainer n) [member function]
794
    cls.add_method('EnableAsciiIpv6', 
795
                   'void', 
796
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::NodeContainer', 'n')])
797
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, uint32_t nodeid, uint32_t interface, bool explicitFilename) [member function]
798
    cls.add_method('EnableAsciiIpv6', 
799
                   'void', 
800
                   [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')])
801
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr<ns3::OutputStreamWrapper> stream, uint32_t nodeid, uint32_t interface) [member function]
802
    cls.add_method('EnableAsciiIpv6', 
803
                   'void', 
804
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('uint32_t', 'nodeid'), param('uint32_t', 'interface')])
805
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6All(std::string prefix) [member function]
806
    cls.add_method('EnableAsciiIpv6All', 
807
                   'void', 
808
                   [param('std::string', 'prefix')])
809
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6All(ns3::Ptr<ns3::OutputStreamWrapper> stream) [member function]
810
    cls.add_method('EnableAsciiIpv6All', 
811
                   'void', 
812
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')])
813
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6Internal(ns3::Ptr<ns3::OutputStreamWrapper> stream, std::string prefix, ns3::Ptr<ns3::Ipv6> ipv6, uint32_t interface, bool explicitFilename) [member function]
814
    cls.add_method('EnableAsciiIpv6Internal', 
815
                   'void', 
816
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], 
817
                   is_pure_virtual=True, is_virtual=True)
818
    return
819
820
def register_Ns3AttributeList_methods(root_module, cls):
601
def register_Ns3AttributeList_methods(root_module, cls):
821
    ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor]
602
    ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor]
822
    cls.add_constructor([])
603
    cls.add_constructor([])
 Lines 1275-1330    Link Here 
1275
    cls.add_instance_attribute('devicePtr', 'ns3::Ptr< ns3::CsmaNetDevice >', is_const=False)
1056
    cls.add_instance_attribute('devicePtr', 'ns3::Ptr< ns3::CsmaNetDevice >', is_const=False)
1276
    return
1057
    return
1277
1058
1278
def register_Ns3CsmaStarHelper_methods(root_module, cls):
1279
    ## csma-star-helper.h (module 'csma'): ns3::CsmaStarHelper::CsmaStarHelper(ns3::CsmaStarHelper const & arg0) [copy constructor]
1280
    cls.add_constructor([param('ns3::CsmaStarHelper const &', 'arg0')])
1281
    ## csma-star-helper.h (module 'csma'): ns3::CsmaStarHelper::CsmaStarHelper(uint32_t numSpokes, ns3::CsmaHelper csmaHelper) [constructor]
1282
    cls.add_constructor([param('uint32_t', 'numSpokes'), param('ns3::CsmaHelper', 'csmaHelper')])
1283
    ## csma-star-helper.h (module 'csma'): void ns3::CsmaStarHelper::AssignIpv4Addresses(ns3::Ipv4AddressHelper address) [member function]
1284
    cls.add_method('AssignIpv4Addresses', 
1285
                   'void', 
1286
                   [param('ns3::Ipv4AddressHelper', 'address')])
1287
    ## csma-star-helper.h (module 'csma'): ns3::Ptr<ns3::Node> ns3::CsmaStarHelper::GetHub() const [member function]
1288
    cls.add_method('GetHub', 
1289
                   'ns3::Ptr< ns3::Node >', 
1290
                   [], 
1291
                   is_const=True)
1292
    ## csma-star-helper.h (module 'csma'): ns3::NetDeviceContainer ns3::CsmaStarHelper::GetHubDevices() const [member function]
1293
    cls.add_method('GetHubDevices', 
1294
                   'ns3::NetDeviceContainer', 
1295
                   [], 
1296
                   is_const=True)
1297
    ## csma-star-helper.h (module 'csma'): ns3::Ipv4Address ns3::CsmaStarHelper::GetHubIpv4Address(uint32_t i) const [member function]
1298
    cls.add_method('GetHubIpv4Address', 
1299
                   'ns3::Ipv4Address', 
1300
                   [param('uint32_t', 'i')], 
1301
                   is_const=True)
1302
    ## csma-star-helper.h (module 'csma'): ns3::NetDeviceContainer ns3::CsmaStarHelper::GetSpokeDevices() const [member function]
1303
    cls.add_method('GetSpokeDevices', 
1304
                   'ns3::NetDeviceContainer', 
1305
                   [], 
1306
                   is_const=True)
1307
    ## csma-star-helper.h (module 'csma'): ns3::Ipv4Address ns3::CsmaStarHelper::GetSpokeIpv4Address(uint32_t i) const [member function]
1308
    cls.add_method('GetSpokeIpv4Address', 
1309
                   'ns3::Ipv4Address', 
1310
                   [param('uint32_t', 'i')], 
1311
                   is_const=True)
1312
    ## csma-star-helper.h (module 'csma'): ns3::Ptr<ns3::Node> ns3::CsmaStarHelper::GetSpokeNode(uint32_t i) const [member function]
1313
    cls.add_method('GetSpokeNode', 
1314
                   'ns3::Ptr< ns3::Node >', 
1315
                   [param('uint32_t', 'i')], 
1316
                   is_const=True)
1317
    ## csma-star-helper.h (module 'csma'): void ns3::CsmaStarHelper::InstallStack(ns3::InternetStackHelper stack) [member function]
1318
    cls.add_method('InstallStack', 
1319
                   'void', 
1320
                   [param('ns3::InternetStackHelper', 'stack')])
1321
    ## csma-star-helper.h (module 'csma'): uint32_t ns3::CsmaStarHelper::SpokeCount() const [member function]
1322
    cls.add_method('SpokeCount', 
1323
                   'uint32_t', 
1324
                   [], 
1325
                   is_const=True)
1326
    return
1327
1328
def register_Ns3DataRate_methods(root_module, cls):
1059
def register_Ns3DataRate_methods(root_module, cls):
1329
    cls.add_output_stream_operator()
1060
    cls.add_output_stream_operator()
1330
    cls.add_binary_comparison_operator('!=')
1061
    cls.add_binary_comparison_operator('!=')
 Lines 1506-1649    Link Here 
1506
                   [param('char const *', 'address')])
1237
                   [param('char const *', 'address')])
1507
    return
1238
    return
1508
1239
1509
def register_Ns3Ipv4AddressHelper_methods(root_module, cls):
1510
    ## ipv4-address-helper.h (module 'internet'): ns3::Ipv4AddressHelper::Ipv4AddressHelper(ns3::Ipv4AddressHelper const & arg0) [copy constructor]
1511
    cls.add_constructor([param('ns3::Ipv4AddressHelper const &', 'arg0')])
1512
    ## ipv4-address-helper.h (module 'internet'): ns3::Ipv4AddressHelper::Ipv4AddressHelper() [constructor]
1513
    cls.add_constructor([])
1514
    ## ipv4-address-helper.h (module 'internet'): ns3::Ipv4AddressHelper::Ipv4AddressHelper(ns3::Ipv4Address network, ns3::Ipv4Mask mask, ns3::Ipv4Address base="0.0.0.1") [constructor]
1515
    cls.add_constructor([param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'mask'), param('ns3::Ipv4Address', 'base', default_value='"0.0.0.1"')])
1516
    ## ipv4-address-helper.h (module 'internet'): ns3::Ipv4InterfaceContainer ns3::Ipv4AddressHelper::Assign(ns3::NetDeviceContainer const & c) [member function]
1517
    cls.add_method('Assign', 
1518
                   'ns3::Ipv4InterfaceContainer', 
1519
                   [param('ns3::NetDeviceContainer const &', 'c')])
1520
    ## ipv4-address-helper.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4AddressHelper::NewAddress() [member function]
1521
    cls.add_method('NewAddress', 
1522
                   'ns3::Ipv4Address', 
1523
                   [])
1524
    ## ipv4-address-helper.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4AddressHelper::NewNetwork() [member function]
1525
    cls.add_method('NewNetwork', 
1526
                   'ns3::Ipv4Address', 
1527
                   [])
1528
    ## ipv4-address-helper.h (module 'internet'): void ns3::Ipv4AddressHelper::SetBase(ns3::Ipv4Address network, ns3::Ipv4Mask mask, ns3::Ipv4Address base="0.0.0.1") [member function]
1529
    cls.add_method('SetBase', 
1530
                   'void', 
1531
                   [param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'mask'), param('ns3::Ipv4Address', 'base', default_value='"0.0.0.1"')])
1532
    return
1533
1534
def register_Ns3Ipv4InterfaceAddress_methods(root_module, cls):
1535
    cls.add_binary_comparison_operator('!=')
1536
    cls.add_output_stream_operator()
1537
    cls.add_binary_comparison_operator('==')
1538
    ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4InterfaceAddress::Ipv4InterfaceAddress() [constructor]
1539
    cls.add_constructor([])
1540
    ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4InterfaceAddress::Ipv4InterfaceAddress(ns3::Ipv4Address local, ns3::Ipv4Mask mask) [constructor]
1541
    cls.add_constructor([param('ns3::Ipv4Address', 'local'), param('ns3::Ipv4Mask', 'mask')])
1542
    ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4InterfaceAddress::Ipv4InterfaceAddress(ns3::Ipv4InterfaceAddress const & o) [copy constructor]
1543
    cls.add_constructor([param('ns3::Ipv4InterfaceAddress const &', 'o')])
1544
    ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4InterfaceAddress::GetBroadcast() const [member function]
1545
    cls.add_method('GetBroadcast', 
1546
                   'ns3::Ipv4Address', 
1547
                   [], 
1548
                   is_const=True)
1549
    ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4InterfaceAddress::GetLocal() const [member function]
1550
    cls.add_method('GetLocal', 
1551
                   'ns3::Ipv4Address', 
1552
                   [], 
1553
                   is_const=True)
1554
    ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4Mask ns3::Ipv4InterfaceAddress::GetMask() const [member function]
1555
    cls.add_method('GetMask', 
1556
                   'ns3::Ipv4Mask', 
1557
                   [], 
1558
                   is_const=True)
1559
    ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e ns3::Ipv4InterfaceAddress::GetScope() const [member function]
1560
    cls.add_method('GetScope', 
1561
                   'ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e', 
1562
                   [], 
1563
                   is_const=True)
1564
    ## ipv4-interface-address.h (module 'internet'): bool ns3::Ipv4InterfaceAddress::IsSecondary() const [member function]
1565
    cls.add_method('IsSecondary', 
1566
                   'bool', 
1567
                   [], 
1568
                   is_const=True)
1569
    ## ipv4-interface-address.h (module 'internet'): void ns3::Ipv4InterfaceAddress::SetBroadcast(ns3::Ipv4Address broadcast) [member function]
1570
    cls.add_method('SetBroadcast', 
1571
                   'void', 
1572
                   [param('ns3::Ipv4Address', 'broadcast')])
1573
    ## ipv4-interface-address.h (module 'internet'): void ns3::Ipv4InterfaceAddress::SetLocal(ns3::Ipv4Address local) [member function]
1574
    cls.add_method('SetLocal', 
1575
                   'void', 
1576
                   [param('ns3::Ipv4Address', 'local')])
1577
    ## ipv4-interface-address.h (module 'internet'): void ns3::Ipv4InterfaceAddress::SetMask(ns3::Ipv4Mask mask) [member function]
1578
    cls.add_method('SetMask', 
1579
                   'void', 
1580
                   [param('ns3::Ipv4Mask', 'mask')])
1581
    ## ipv4-interface-address.h (module 'internet'): void ns3::Ipv4InterfaceAddress::SetPrimary() [member function]
1582
    cls.add_method('SetPrimary', 
1583
                   'void', 
1584
                   [])
1585
    ## ipv4-interface-address.h (module 'internet'): void ns3::Ipv4InterfaceAddress::SetScope(ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e scope) [member function]
1586
    cls.add_method('SetScope', 
1587
                   'void', 
1588
                   [param('ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e', 'scope')])
1589
    ## ipv4-interface-address.h (module 'internet'): void ns3::Ipv4InterfaceAddress::SetSecondary() [member function]
1590
    cls.add_method('SetSecondary', 
1591
                   'void', 
1592
                   [])
1593
    return
1594
1595
def register_Ns3Ipv4InterfaceContainer_methods(root_module, cls):
1596
    ## ipv4-interface-container.h (module 'internet'): ns3::Ipv4InterfaceContainer::Ipv4InterfaceContainer(ns3::Ipv4InterfaceContainer const & arg0) [copy constructor]
1597
    cls.add_constructor([param('ns3::Ipv4InterfaceContainer const &', 'arg0')])
1598
    ## ipv4-interface-container.h (module 'internet'): ns3::Ipv4InterfaceContainer::Ipv4InterfaceContainer() [constructor]
1599
    cls.add_constructor([])
1600
    ## ipv4-interface-container.h (module 'internet'): void ns3::Ipv4InterfaceContainer::Add(ns3::Ipv4InterfaceContainer other) [member function]
1601
    cls.add_method('Add', 
1602
                   'void', 
1603
                   [param('ns3::Ipv4InterfaceContainer', 'other')])
1604
    ## ipv4-interface-container.h (module 'internet'): void ns3::Ipv4InterfaceContainer::Add(ns3::Ptr<ns3::Ipv4> ipv4, uint32_t interface) [member function]
1605
    cls.add_method('Add', 
1606
                   'void', 
1607
                   [param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface')])
1608
    ## ipv4-interface-container.h (module 'internet'): void ns3::Ipv4InterfaceContainer::Add(std::pair<ns3::Ptr<ns3::Ipv4>,unsigned int> ipInterfacePair) [member function]
1609
    cls.add_method('Add', 
1610
                   'void', 
1611
                   [param('std::pair< ns3::Ptr< ns3::Ipv4 >, unsigned int >', 'ipInterfacePair')])
1612
    ## ipv4-interface-container.h (module 'internet'): void ns3::Ipv4InterfaceContainer::Add(std::string ipv4Name, uint32_t interface) [member function]
1613
    cls.add_method('Add', 
1614
                   'void', 
1615
                   [param('std::string', 'ipv4Name'), param('uint32_t', 'interface')])
1616
    ## ipv4-interface-container.h (module 'internet'): __gnu_cxx::__normal_iterator<const std::pair<ns3::Ptr<ns3::Ipv4>, unsigned int>*,std::vector<std::pair<ns3::Ptr<ns3::Ipv4>, unsigned int>, std::allocator<std::pair<ns3::Ptr<ns3::Ipv4>, unsigned int> > > > ns3::Ipv4InterfaceContainer::Begin() const [member function]
1617
    cls.add_method('Begin', 
1618
                   '__gnu_cxx::__normal_iterator< std::pair< ns3::Ptr< ns3::Ipv4 >, unsigned int > const, std::vector< std::pair< ns3::Ptr< ns3::Ipv4 >, unsigned int > > >', 
1619
                   [], 
1620
                   is_const=True)
1621
    ## ipv4-interface-container.h (module 'internet'): __gnu_cxx::__normal_iterator<const std::pair<ns3::Ptr<ns3::Ipv4>, unsigned int>*,std::vector<std::pair<ns3::Ptr<ns3::Ipv4>, unsigned int>, std::allocator<std::pair<ns3::Ptr<ns3::Ipv4>, unsigned int> > > > ns3::Ipv4InterfaceContainer::End() const [member function]
1622
    cls.add_method('End', 
1623
                   '__gnu_cxx::__normal_iterator< std::pair< ns3::Ptr< ns3::Ipv4 >, unsigned int > const, std::vector< std::pair< ns3::Ptr< ns3::Ipv4 >, unsigned int > > >', 
1624
                   [], 
1625
                   is_const=True)
1626
    ## ipv4-interface-container.h (module 'internet'): std::pair<ns3::Ptr<ns3::Ipv4>,unsigned int> ns3::Ipv4InterfaceContainer::Get(uint32_t i) const [member function]
1627
    cls.add_method('Get', 
1628
                   'std::pair< ns3::Ptr< ns3::Ipv4 >, unsigned int >', 
1629
                   [param('uint32_t', 'i')], 
1630
                   is_const=True)
1631
    ## ipv4-interface-container.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4InterfaceContainer::GetAddress(uint32_t i, uint32_t j=0) const [member function]
1632
    cls.add_method('GetAddress', 
1633
                   'ns3::Ipv4Address', 
1634
                   [param('uint32_t', 'i'), param('uint32_t', 'j', default_value='0')], 
1635
                   is_const=True)
1636
    ## ipv4-interface-container.h (module 'internet'): uint32_t ns3::Ipv4InterfaceContainer::GetN() const [member function]
1637
    cls.add_method('GetN', 
1638
                   'uint32_t', 
1639
                   [], 
1640
                   is_const=True)
1641
    ## ipv4-interface-container.h (module 'internet'): void ns3::Ipv4InterfaceContainer::SetMetric(uint32_t i, uint16_t metric) [member function]
1642
    cls.add_method('SetMetric', 
1643
                   'void', 
1644
                   [param('uint32_t', 'i'), param('uint16_t', 'metric')])
1645
    return
1646
1647
def register_Ns3Ipv4Mask_methods(root_module, cls):
1240
def register_Ns3Ipv4Mask_methods(root_module, cls):
1648
    cls.add_binary_comparison_operator('!=')
1241
    cls.add_binary_comparison_operator('!=')
1649
    cls.add_output_stream_operator()
1242
    cls.add_output_stream_operator()
 Lines 1861-1973    Link Here 
1861
                   [param('uint8_t *', 'address')])
1454
                   [param('uint8_t *', 'address')])
1862
    return
1455
    return
1863
1456
1864
def register_Ns3Ipv6InterfaceAddress_methods(root_module, cls):
1865
    cls.add_binary_comparison_operator('!=')
1866
    cls.add_output_stream_operator()
1867
    cls.add_binary_comparison_operator('==')
1868
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress::Ipv6InterfaceAddress() [constructor]
1869
    cls.add_constructor([])
1870
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress::Ipv6InterfaceAddress(ns3::Ipv6Address address) [constructor]
1871
    cls.add_constructor([param('ns3::Ipv6Address', 'address')])
1872
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress::Ipv6InterfaceAddress(ns3::Ipv6Address address, ns3::Ipv6Prefix prefix) [constructor]
1873
    cls.add_constructor([param('ns3::Ipv6Address', 'address'), param('ns3::Ipv6Prefix', 'prefix')])
1874
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress::Ipv6InterfaceAddress(ns3::Ipv6InterfaceAddress const & o) [copy constructor]
1875
    cls.add_constructor([param('ns3::Ipv6InterfaceAddress const &', 'o')])
1876
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6Address ns3::Ipv6InterfaceAddress::GetAddress() const [member function]
1877
    cls.add_method('GetAddress', 
1878
                   'ns3::Ipv6Address', 
1879
                   [], 
1880
                   is_const=True)
1881
    ## ipv6-interface-address.h (module 'internet'): uint32_t ns3::Ipv6InterfaceAddress::GetNsDadUid() const [member function]
1882
    cls.add_method('GetNsDadUid', 
1883
                   'uint32_t', 
1884
                   [], 
1885
                   is_const=True)
1886
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6Prefix ns3::Ipv6InterfaceAddress::GetPrefix() const [member function]
1887
    cls.add_method('GetPrefix', 
1888
                   'ns3::Ipv6Prefix', 
1889
                   [], 
1890
                   is_const=True)
1891
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress::Scope_e ns3::Ipv6InterfaceAddress::GetScope() const [member function]
1892
    cls.add_method('GetScope', 
1893
                   'ns3::Ipv6InterfaceAddress::Scope_e', 
1894
                   [], 
1895
                   is_const=True)
1896
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress::State_e ns3::Ipv6InterfaceAddress::GetState() const [member function]
1897
    cls.add_method('GetState', 
1898
                   'ns3::Ipv6InterfaceAddress::State_e', 
1899
                   [], 
1900
                   is_const=True)
1901
    ## ipv6-interface-address.h (module 'internet'): void ns3::Ipv6InterfaceAddress::SetAddress(ns3::Ipv6Address address) [member function]
1902
    cls.add_method('SetAddress', 
1903
                   'void', 
1904
                   [param('ns3::Ipv6Address', 'address')])
1905
    ## ipv6-interface-address.h (module 'internet'): void ns3::Ipv6InterfaceAddress::SetNsDadUid(uint32_t uid) [member function]
1906
    cls.add_method('SetNsDadUid', 
1907
                   'void', 
1908
                   [param('uint32_t', 'uid')])
1909
    ## ipv6-interface-address.h (module 'internet'): void ns3::Ipv6InterfaceAddress::SetScope(ns3::Ipv6InterfaceAddress::Scope_e scope) [member function]
1910
    cls.add_method('SetScope', 
1911
                   'void', 
1912
                   [param('ns3::Ipv6InterfaceAddress::Scope_e', 'scope')])
1913
    ## ipv6-interface-address.h (module 'internet'): void ns3::Ipv6InterfaceAddress::SetState(ns3::Ipv6InterfaceAddress::State_e state) [member function]
1914
    cls.add_method('SetState', 
1915
                   'void', 
1916
                   [param('ns3::Ipv6InterfaceAddress::State_e', 'state')])
1917
    return
1918
1919
def register_Ns3Ipv6InterfaceContainer_methods(root_module, cls):
1920
    ## ipv6-interface-container.h (module 'internet'): ns3::Ipv6InterfaceContainer::Ipv6InterfaceContainer(ns3::Ipv6InterfaceContainer const & arg0) [copy constructor]
1921
    cls.add_constructor([param('ns3::Ipv6InterfaceContainer const &', 'arg0')])
1922
    ## ipv6-interface-container.h (module 'internet'): ns3::Ipv6InterfaceContainer::Ipv6InterfaceContainer() [constructor]
1923
    cls.add_constructor([])
1924
    ## ipv6-interface-container.h (module 'internet'): void ns3::Ipv6InterfaceContainer::Add(ns3::Ptr<ns3::Ipv6> ipv6, uint32_t interface) [member function]
1925
    cls.add_method('Add', 
1926
                   'void', 
1927
                   [param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface')])
1928
    ## ipv6-interface-container.h (module 'internet'): void ns3::Ipv6InterfaceContainer::Add(ns3::Ipv6InterfaceContainer & c) [member function]
1929
    cls.add_method('Add', 
1930
                   'void', 
1931
                   [param('ns3::Ipv6InterfaceContainer &', 'c')])
1932
    ## ipv6-interface-container.h (module 'internet'): void ns3::Ipv6InterfaceContainer::Add(std::string ipv6Name, uint32_t interface) [member function]
1933
    cls.add_method('Add', 
1934
                   'void', 
1935
                   [param('std::string', 'ipv6Name'), param('uint32_t', 'interface')])
1936
    ## ipv6-interface-container.h (module 'internet'): __gnu_cxx::__normal_iterator<const std::pair<ns3::Ptr<ns3::Ipv6>, unsigned int>*,std::vector<std::pair<ns3::Ptr<ns3::Ipv6>, unsigned int>, std::allocator<std::pair<ns3::Ptr<ns3::Ipv6>, unsigned int> > > > ns3::Ipv6InterfaceContainer::Begin() const [member function]
1937
    cls.add_method('Begin', 
1938
                   '__gnu_cxx::__normal_iterator< std::pair< ns3::Ptr< ns3::Ipv6 >, unsigned int > const, std::vector< std::pair< ns3::Ptr< ns3::Ipv6 >, unsigned int > > >', 
1939
                   [], 
1940
                   is_const=True)
1941
    ## ipv6-interface-container.h (module 'internet'): __gnu_cxx::__normal_iterator<const std::pair<ns3::Ptr<ns3::Ipv6>, unsigned int>*,std::vector<std::pair<ns3::Ptr<ns3::Ipv6>, unsigned int>, std::allocator<std::pair<ns3::Ptr<ns3::Ipv6>, unsigned int> > > > ns3::Ipv6InterfaceContainer::End() const [member function]
1942
    cls.add_method('End', 
1943
                   '__gnu_cxx::__normal_iterator< std::pair< ns3::Ptr< ns3::Ipv6 >, unsigned int > const, std::vector< std::pair< ns3::Ptr< ns3::Ipv6 >, unsigned int > > >', 
1944
                   [], 
1945
                   is_const=True)
1946
    ## ipv6-interface-container.h (module 'internet'): ns3::Ipv6Address ns3::Ipv6InterfaceContainer::GetAddress(uint32_t i, uint32_t j) const [member function]
1947
    cls.add_method('GetAddress', 
1948
                   'ns3::Ipv6Address', 
1949
                   [param('uint32_t', 'i'), param('uint32_t', 'j')], 
1950
                   is_const=True)
1951
    ## ipv6-interface-container.h (module 'internet'): uint32_t ns3::Ipv6InterfaceContainer::GetInterfaceIndex(uint32_t i) const [member function]
1952
    cls.add_method('GetInterfaceIndex', 
1953
                   'uint32_t', 
1954
                   [param('uint32_t', 'i')], 
1955
                   is_const=True)
1956
    ## ipv6-interface-container.h (module 'internet'): uint32_t ns3::Ipv6InterfaceContainer::GetN() const [member function]
1957
    cls.add_method('GetN', 
1958
                   'uint32_t', 
1959
                   [], 
1960
                   is_const=True)
1961
    ## ipv6-interface-container.h (module 'internet'): void ns3::Ipv6InterfaceContainer::SetDefaultRoute(uint32_t i, uint32_t router) [member function]
1962
    cls.add_method('SetDefaultRoute', 
1963
                   'void', 
1964
                   [param('uint32_t', 'i'), param('uint32_t', 'router')])
1965
    ## ipv6-interface-container.h (module 'internet'): void ns3::Ipv6InterfaceContainer::SetRouter(uint32_t i, bool router) [member function]
1966
    cls.add_method('SetRouter', 
1967
                   'void', 
1968
                   [param('uint32_t', 'i'), param('bool', 'router')])
1969
    return
1970
1971
def register_Ns3Ipv6Prefix_methods(root_module, cls):
1457
def register_Ns3Ipv6Prefix_methods(root_module, cls):
1972
    cls.add_binary_comparison_operator('!=')
1458
    cls.add_binary_comparison_operator('!=')
1973
    cls.add_output_stream_operator()
1459
    cls.add_output_stream_operator()
 Lines 2648-2725    Link Here 
2648
                   is_pure_virtual=True, is_virtual=True)
2134
                   is_pure_virtual=True, is_virtual=True)
2649
    return
2135
    return
2650
2136
2651
def register_Ns3PcapHelperForIpv4_methods(root_module, cls):
2652
    ## internet-trace-helper.h (module 'internet'): ns3::PcapHelperForIpv4::PcapHelperForIpv4(ns3::PcapHelperForIpv4 const & arg0) [copy constructor]
2653
    cls.add_constructor([param('ns3::PcapHelperForIpv4 const &', 'arg0')])
2654
    ## internet-trace-helper.h (module 'internet'): ns3::PcapHelperForIpv4::PcapHelperForIpv4() [constructor]
2655
    cls.add_constructor([])
2656
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv4::EnablePcapIpv4(std::string prefix, ns3::Ptr<ns3::Ipv4> ipv4, uint32_t interface, bool explicitFilename=false) [member function]
2657
    cls.add_method('EnablePcapIpv4', 
2658
                   'void', 
2659
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')])
2660
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv4::EnablePcapIpv4(std::string prefix, std::string ipv4Name, uint32_t interface, bool explicitFilename=false) [member function]
2661
    cls.add_method('EnablePcapIpv4', 
2662
                   'void', 
2663
                   [param('std::string', 'prefix'), param('std::string', 'ipv4Name'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')])
2664
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv4::EnablePcapIpv4(std::string prefix, ns3::Ipv4InterfaceContainer c) [member function]
2665
    cls.add_method('EnablePcapIpv4', 
2666
                   'void', 
2667
                   [param('std::string', 'prefix'), param('ns3::Ipv4InterfaceContainer', 'c')])
2668
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv4::EnablePcapIpv4(std::string prefix, ns3::NodeContainer n) [member function]
2669
    cls.add_method('EnablePcapIpv4', 
2670
                   'void', 
2671
                   [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')])
2672
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv4::EnablePcapIpv4(std::string prefix, uint32_t nodeid, uint32_t interface, bool explicitFilename) [member function]
2673
    cls.add_method('EnablePcapIpv4', 
2674
                   'void', 
2675
                   [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')])
2676
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv4::EnablePcapIpv4All(std::string prefix) [member function]
2677
    cls.add_method('EnablePcapIpv4All', 
2678
                   'void', 
2679
                   [param('std::string', 'prefix')])
2680
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv4::EnablePcapIpv4Internal(std::string prefix, ns3::Ptr<ns3::Ipv4> ipv4, uint32_t interface, bool explicitFilename) [member function]
2681
    cls.add_method('EnablePcapIpv4Internal', 
2682
                   'void', 
2683
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], 
2684
                   is_pure_virtual=True, is_virtual=True)
2685
    return
2686
2687
def register_Ns3PcapHelperForIpv6_methods(root_module, cls):
2688
    ## internet-trace-helper.h (module 'internet'): ns3::PcapHelperForIpv6::PcapHelperForIpv6(ns3::PcapHelperForIpv6 const & arg0) [copy constructor]
2689
    cls.add_constructor([param('ns3::PcapHelperForIpv6 const &', 'arg0')])
2690
    ## internet-trace-helper.h (module 'internet'): ns3::PcapHelperForIpv6::PcapHelperForIpv6() [constructor]
2691
    cls.add_constructor([])
2692
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, ns3::Ptr<ns3::Ipv6> ipv6, uint32_t interface, bool explicitFilename=false) [member function]
2693
    cls.add_method('EnablePcapIpv6', 
2694
                   'void', 
2695
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')])
2696
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, std::string ipv6Name, uint32_t interface, bool explicitFilename=false) [member function]
2697
    cls.add_method('EnablePcapIpv6', 
2698
                   'void', 
2699
                   [param('std::string', 'prefix'), param('std::string', 'ipv6Name'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')])
2700
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, ns3::Ipv6InterfaceContainer c) [member function]
2701
    cls.add_method('EnablePcapIpv6', 
2702
                   'void', 
2703
                   [param('std::string', 'prefix'), param('ns3::Ipv6InterfaceContainer', 'c')])
2704
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, ns3::NodeContainer n) [member function]
2705
    cls.add_method('EnablePcapIpv6', 
2706
                   'void', 
2707
                   [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')])
2708
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, uint32_t nodeid, uint32_t interface, bool explicitFilename) [member function]
2709
    cls.add_method('EnablePcapIpv6', 
2710
                   'void', 
2711
                   [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')])
2712
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv6::EnablePcapIpv6All(std::string prefix) [member function]
2713
    cls.add_method('EnablePcapIpv6All', 
2714
                   'void', 
2715
                   [param('std::string', 'prefix')])
2716
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv6::EnablePcapIpv6Internal(std::string prefix, ns3::Ptr<ns3::Ipv6> ipv6, uint32_t interface, bool explicitFilename) [member function]
2717
    cls.add_method('EnablePcapIpv6Internal', 
2718
                   'void', 
2719
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], 
2720
                   is_pure_virtual=True, is_virtual=True)
2721
    return
2722
2723
def register_Ns3RandomVariable_methods(root_module, cls):
2137
def register_Ns3RandomVariable_methods(root_module, cls):
2724
    cls.add_output_stream_operator()
2138
    cls.add_output_stream_operator()
2725
    ## random-variable.h (module 'core'): ns3::RandomVariable::RandomVariable() [constructor]
2139
    ## random-variable.h (module 'core'): ns3::RandomVariable::RandomVariable() [constructor]
 Lines 3575-3899    Link Here 
3575
    cls.add_constructor([])
2989
    cls.add_constructor([])
3576
    return
2990
    return
3577
2991
3578
def register_Ns3InternetStackHelper_methods(root_module, cls):
3579
    ## internet-stack-helper.h (module 'internet'): ns3::InternetStackHelper::InternetStackHelper() [constructor]
3580
    cls.add_constructor([])
3581
    ## internet-stack-helper.h (module 'internet'): ns3::InternetStackHelper::InternetStackHelper(ns3::InternetStackHelper const & arg0) [copy constructor]
3582
    cls.add_constructor([param('ns3::InternetStackHelper const &', 'arg0')])
3583
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::Install(std::string nodeName) const [member function]
3584
    cls.add_method('Install', 
3585
                   'void', 
3586
                   [param('std::string', 'nodeName')], 
3587
                   is_const=True)
3588
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::Install(ns3::Ptr<ns3::Node> node) const [member function]
3589
    cls.add_method('Install', 
3590
                   'void', 
3591
                   [param('ns3::Ptr< ns3::Node >', 'node')], 
3592
                   is_const=True)
3593
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::Install(ns3::NodeContainer c) const [member function]
3594
    cls.add_method('Install', 
3595
                   'void', 
3596
                   [param('ns3::NodeContainer', 'c')], 
3597
                   is_const=True)
3598
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::InstallAll() const [member function]
3599
    cls.add_method('InstallAll', 
3600
                   'void', 
3601
                   [], 
3602
                   is_const=True)
3603
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::Reset() [member function]
3604
    cls.add_method('Reset', 
3605
                   'void', 
3606
                   [])
3607
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::SetIpv4StackInstall(bool enable) [member function]
3608
    cls.add_method('SetIpv4StackInstall', 
3609
                   'void', 
3610
                   [param('bool', 'enable')])
3611
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::SetIpv6StackInstall(bool enable) [member function]
3612
    cls.add_method('SetIpv6StackInstall', 
3613
                   'void', 
3614
                   [param('bool', 'enable')])
3615
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::SetRoutingHelper(ns3::Ipv4RoutingHelper const & routing) [member function]
3616
    cls.add_method('SetRoutingHelper', 
3617
                   'void', 
3618
                   [param('ns3::Ipv4RoutingHelper const &', 'routing')])
3619
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::SetRoutingHelper(ns3::Ipv6RoutingHelper const & routing) [member function]
3620
    cls.add_method('SetRoutingHelper', 
3621
                   'void', 
3622
                   [param('ns3::Ipv6RoutingHelper const &', 'routing')])
3623
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::SetTcp(std::string tid) [member function]
3624
    cls.add_method('SetTcp', 
3625
                   'void', 
3626
                   [param('std::string', 'tid')])
3627
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::SetTcp(std::string tid, std::string attr, ns3::AttributeValue const & val) [member function]
3628
    cls.add_method('SetTcp', 
3629
                   'void', 
3630
                   [param('std::string', 'tid'), param('std::string', 'attr'), param('ns3::AttributeValue const &', 'val')])
3631
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::EnableAsciiIpv4Internal(ns3::Ptr<ns3::OutputStreamWrapper> stream, std::string prefix, ns3::Ptr<ns3::Ipv4> ipv4, uint32_t interface, bool explicitFilename) [member function]
3632
    cls.add_method('EnableAsciiIpv4Internal', 
3633
                   'void', 
3634
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], 
3635
                   visibility='private', is_virtual=True)
3636
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::EnableAsciiIpv6Internal(ns3::Ptr<ns3::OutputStreamWrapper> stream, std::string prefix, ns3::Ptr<ns3::Ipv6> ipv6, uint32_t interface, bool explicitFilename) [member function]
3637
    cls.add_method('EnableAsciiIpv6Internal', 
3638
                   'void', 
3639
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], 
3640
                   visibility='private', is_virtual=True)
3641
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::EnablePcapIpv4Internal(std::string prefix, ns3::Ptr<ns3::Ipv4> ipv4, uint32_t interface, bool explicitFilename) [member function]
3642
    cls.add_method('EnablePcapIpv4Internal', 
3643
                   'void', 
3644
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], 
3645
                   visibility='private', is_virtual=True)
3646
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::EnablePcapIpv6Internal(std::string prefix, ns3::Ptr<ns3::Ipv6> ipv6, uint32_t interface, bool explicitFilename) [member function]
3647
    cls.add_method('EnablePcapIpv6Internal', 
3648
                   'void', 
3649
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], 
3650
                   visibility='private', is_virtual=True)
3651
    return
3652
3653
def register_Ns3Ipv4Header_methods(root_module, cls):
3654
    ## ipv4-header.h (module 'internet'): ns3::Ipv4Header::Ipv4Header(ns3::Ipv4Header const & arg0) [copy constructor]
3655
    cls.add_constructor([param('ns3::Ipv4Header const &', 'arg0')])
3656
    ## ipv4-header.h (module 'internet'): ns3::Ipv4Header::Ipv4Header() [constructor]
3657
    cls.add_constructor([])
3658
    ## ipv4-header.h (module 'internet'): uint32_t ns3::Ipv4Header::Deserialize(ns3::Buffer::Iterator start) [member function]
3659
    cls.add_method('Deserialize', 
3660
                   'uint32_t', 
3661
                   [param('ns3::Buffer::Iterator', 'start')], 
3662
                   is_virtual=True)
3663
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::EnableChecksum() [member function]
3664
    cls.add_method('EnableChecksum', 
3665
                   'void', 
3666
                   [])
3667
    ## ipv4-header.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4Header::GetDestination() const [member function]
3668
    cls.add_method('GetDestination', 
3669
                   'ns3::Ipv4Address', 
3670
                   [], 
3671
                   is_const=True)
3672
    ## ipv4-header.h (module 'internet'): uint16_t ns3::Ipv4Header::GetFragmentOffset() const [member function]
3673
    cls.add_method('GetFragmentOffset', 
3674
                   'uint16_t', 
3675
                   [], 
3676
                   is_const=True)
3677
    ## ipv4-header.h (module 'internet'): uint16_t ns3::Ipv4Header::GetIdentification() const [member function]
3678
    cls.add_method('GetIdentification', 
3679
                   'uint16_t', 
3680
                   [], 
3681
                   is_const=True)
3682
    ## ipv4-header.h (module 'internet'): ns3::TypeId ns3::Ipv4Header::GetInstanceTypeId() const [member function]
3683
    cls.add_method('GetInstanceTypeId', 
3684
                   'ns3::TypeId', 
3685
                   [], 
3686
                   is_const=True, is_virtual=True)
3687
    ## ipv4-header.h (module 'internet'): uint16_t ns3::Ipv4Header::GetPayloadSize() const [member function]
3688
    cls.add_method('GetPayloadSize', 
3689
                   'uint16_t', 
3690
                   [], 
3691
                   is_const=True)
3692
    ## ipv4-header.h (module 'internet'): uint8_t ns3::Ipv4Header::GetProtocol() const [member function]
3693
    cls.add_method('GetProtocol', 
3694
                   'uint8_t', 
3695
                   [], 
3696
                   is_const=True)
3697
    ## ipv4-header.h (module 'internet'): uint32_t ns3::Ipv4Header::GetSerializedSize() const [member function]
3698
    cls.add_method('GetSerializedSize', 
3699
                   'uint32_t', 
3700
                   [], 
3701
                   is_const=True, is_virtual=True)
3702
    ## ipv4-header.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4Header::GetSource() const [member function]
3703
    cls.add_method('GetSource', 
3704
                   'ns3::Ipv4Address', 
3705
                   [], 
3706
                   is_const=True)
3707
    ## ipv4-header.h (module 'internet'): uint8_t ns3::Ipv4Header::GetTos() const [member function]
3708
    cls.add_method('GetTos', 
3709
                   'uint8_t', 
3710
                   [], 
3711
                   is_const=True)
3712
    ## ipv4-header.h (module 'internet'): uint8_t ns3::Ipv4Header::GetTtl() const [member function]
3713
    cls.add_method('GetTtl', 
3714
                   'uint8_t', 
3715
                   [], 
3716
                   is_const=True)
3717
    ## ipv4-header.h (module 'internet'): static ns3::TypeId ns3::Ipv4Header::GetTypeId() [member function]
3718
    cls.add_method('GetTypeId', 
3719
                   'ns3::TypeId', 
3720
                   [], 
3721
                   is_static=True)
3722
    ## ipv4-header.h (module 'internet'): bool ns3::Ipv4Header::IsChecksumOk() const [member function]
3723
    cls.add_method('IsChecksumOk', 
3724
                   'bool', 
3725
                   [], 
3726
                   is_const=True)
3727
    ## ipv4-header.h (module 'internet'): bool ns3::Ipv4Header::IsDontFragment() const [member function]
3728
    cls.add_method('IsDontFragment', 
3729
                   'bool', 
3730
                   [], 
3731
                   is_const=True)
3732
    ## ipv4-header.h (module 'internet'): bool ns3::Ipv4Header::IsLastFragment() const [member function]
3733
    cls.add_method('IsLastFragment', 
3734
                   'bool', 
3735
                   [], 
3736
                   is_const=True)
3737
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::Print(std::ostream & os) const [member function]
3738
    cls.add_method('Print', 
3739
                   'void', 
3740
                   [param('std::ostream &', 'os')], 
3741
                   is_const=True, is_virtual=True)
3742
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::Serialize(ns3::Buffer::Iterator start) const [member function]
3743
    cls.add_method('Serialize', 
3744
                   'void', 
3745
                   [param('ns3::Buffer::Iterator', 'start')], 
3746
                   is_const=True, is_virtual=True)
3747
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetDestination(ns3::Ipv4Address destination) [member function]
3748
    cls.add_method('SetDestination', 
3749
                   'void', 
3750
                   [param('ns3::Ipv4Address', 'destination')])
3751
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetDontFragment() [member function]
3752
    cls.add_method('SetDontFragment', 
3753
                   'void', 
3754
                   [])
3755
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetFragmentOffset(uint16_t offset) [member function]
3756
    cls.add_method('SetFragmentOffset', 
3757
                   'void', 
3758
                   [param('uint16_t', 'offset')])
3759
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetIdentification(uint16_t identification) [member function]
3760
    cls.add_method('SetIdentification', 
3761
                   'void', 
3762
                   [param('uint16_t', 'identification')])
3763
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetLastFragment() [member function]
3764
    cls.add_method('SetLastFragment', 
3765
                   'void', 
3766
                   [])
3767
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetMayFragment() [member function]
3768
    cls.add_method('SetMayFragment', 
3769
                   'void', 
3770
                   [])
3771
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetMoreFragments() [member function]
3772
    cls.add_method('SetMoreFragments', 
3773
                   'void', 
3774
                   [])
3775
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetPayloadSize(uint16_t size) [member function]
3776
    cls.add_method('SetPayloadSize', 
3777
                   'void', 
3778
                   [param('uint16_t', 'size')])
3779
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetProtocol(uint8_t num) [member function]
3780
    cls.add_method('SetProtocol', 
3781
                   'void', 
3782
                   [param('uint8_t', 'num')])
3783
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetSource(ns3::Ipv4Address source) [member function]
3784
    cls.add_method('SetSource', 
3785
                   'void', 
3786
                   [param('ns3::Ipv4Address', 'source')])
3787
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetTos(uint8_t tos) [member function]
3788
    cls.add_method('SetTos', 
3789
                   'void', 
3790
                   [param('uint8_t', 'tos')])
3791
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetTtl(uint8_t ttl) [member function]
3792
    cls.add_method('SetTtl', 
3793
                   'void', 
3794
                   [param('uint8_t', 'ttl')])
3795
    return
3796
3797
def register_Ns3Ipv6Header_methods(root_module, cls):
3798
    ## ipv6-header.h (module 'internet'): ns3::Ipv6Header::Ipv6Header(ns3::Ipv6Header const & arg0) [copy constructor]
3799
    cls.add_constructor([param('ns3::Ipv6Header const &', 'arg0')])
3800
    ## ipv6-header.h (module 'internet'): ns3::Ipv6Header::Ipv6Header() [constructor]
3801
    cls.add_constructor([])
3802
    ## ipv6-header.h (module 'internet'): uint32_t ns3::Ipv6Header::Deserialize(ns3::Buffer::Iterator start) [member function]
3803
    cls.add_method('Deserialize', 
3804
                   'uint32_t', 
3805
                   [param('ns3::Buffer::Iterator', 'start')], 
3806
                   is_virtual=True)
3807
    ## ipv6-header.h (module 'internet'): ns3::Ipv6Address ns3::Ipv6Header::GetDestinationAddress() const [member function]
3808
    cls.add_method('GetDestinationAddress', 
3809
                   'ns3::Ipv6Address', 
3810
                   [], 
3811
                   is_const=True)
3812
    ## ipv6-header.h (module 'internet'): uint32_t ns3::Ipv6Header::GetFlowLabel() const [member function]
3813
    cls.add_method('GetFlowLabel', 
3814
                   'uint32_t', 
3815
                   [], 
3816
                   is_const=True)
3817
    ## ipv6-header.h (module 'internet'): uint8_t ns3::Ipv6Header::GetHopLimit() const [member function]
3818
    cls.add_method('GetHopLimit', 
3819
                   'uint8_t', 
3820
                   [], 
3821
                   is_const=True)
3822
    ## ipv6-header.h (module 'internet'): ns3::TypeId ns3::Ipv6Header::GetInstanceTypeId() const [member function]
3823
    cls.add_method('GetInstanceTypeId', 
3824
                   'ns3::TypeId', 
3825
                   [], 
3826
                   is_const=True, is_virtual=True)
3827
    ## ipv6-header.h (module 'internet'): uint8_t ns3::Ipv6Header::GetNextHeader() const [member function]
3828
    cls.add_method('GetNextHeader', 
3829
                   'uint8_t', 
3830
                   [], 
3831
                   is_const=True)
3832
    ## ipv6-header.h (module 'internet'): uint16_t ns3::Ipv6Header::GetPayloadLength() const [member function]
3833
    cls.add_method('GetPayloadLength', 
3834
                   'uint16_t', 
3835
                   [], 
3836
                   is_const=True)
3837
    ## ipv6-header.h (module 'internet'): uint32_t ns3::Ipv6Header::GetSerializedSize() const [member function]
3838
    cls.add_method('GetSerializedSize', 
3839
                   'uint32_t', 
3840
                   [], 
3841
                   is_const=True, is_virtual=True)
3842
    ## ipv6-header.h (module 'internet'): ns3::Ipv6Address ns3::Ipv6Header::GetSourceAddress() const [member function]
3843
    cls.add_method('GetSourceAddress', 
3844
                   'ns3::Ipv6Address', 
3845
                   [], 
3846
                   is_const=True)
3847
    ## ipv6-header.h (module 'internet'): uint8_t ns3::Ipv6Header::GetTrafficClass() const [member function]
3848
    cls.add_method('GetTrafficClass', 
3849
                   'uint8_t', 
3850
                   [], 
3851
                   is_const=True)
3852
    ## ipv6-header.h (module 'internet'): static ns3::TypeId ns3::Ipv6Header::GetTypeId() [member function]
3853
    cls.add_method('GetTypeId', 
3854
                   'ns3::TypeId', 
3855
                   [], 
3856
                   is_static=True)
3857
    ## ipv6-header.h (module 'internet'): void ns3::Ipv6Header::Print(std::ostream & os) const [member function]
3858
    cls.add_method('Print', 
3859
                   'void', 
3860
                   [param('std::ostream &', 'os')], 
3861
                   is_const=True, is_virtual=True)
3862
    ## ipv6-header.h (module 'internet'): void ns3::Ipv6Header::Serialize(ns3::Buffer::Iterator start) const [member function]
3863
    cls.add_method('Serialize', 
3864
                   'void', 
3865
                   [param('ns3::Buffer::Iterator', 'start')], 
3866
                   is_const=True, is_virtual=True)
3867
    ## ipv6-header.h (module 'internet'): void ns3::Ipv6Header::SetDestinationAddress(ns3::Ipv6Address dst) [member function]
3868
    cls.add_method('SetDestinationAddress', 
3869
                   'void', 
3870
                   [param('ns3::Ipv6Address', 'dst')])
3871
    ## ipv6-header.h (module 'internet'): void ns3::Ipv6Header::SetFlowLabel(uint32_t flow) [member function]
3872
    cls.add_method('SetFlowLabel', 
3873
                   'void', 
3874
                   [param('uint32_t', 'flow')])
3875
    ## ipv6-header.h (module 'internet'): void ns3::Ipv6Header::SetHopLimit(uint8_t limit) [member function]
3876
    cls.add_method('SetHopLimit', 
3877
                   'void', 
3878
                   [param('uint8_t', 'limit')])
3879
    ## ipv6-header.h (module 'internet'): void ns3::Ipv6Header::SetNextHeader(uint8_t next) [member function]
3880
    cls.add_method('SetNextHeader', 
3881
                   'void', 
3882
                   [param('uint8_t', 'next')])
3883
    ## ipv6-header.h (module 'internet'): void ns3::Ipv6Header::SetPayloadLength(uint16_t len) [member function]
3884
    cls.add_method('SetPayloadLength', 
3885
                   'void', 
3886
                   [param('uint16_t', 'len')])
3887
    ## ipv6-header.h (module 'internet'): void ns3::Ipv6Header::SetSourceAddress(ns3::Ipv6Address src) [member function]
3888
    cls.add_method('SetSourceAddress', 
3889
                   'void', 
3890
                   [param('ns3::Ipv6Address', 'src')])
3891
    ## ipv6-header.h (module 'internet'): void ns3::Ipv6Header::SetTrafficClass(uint8_t traffic) [member function]
3892
    cls.add_method('SetTrafficClass', 
3893
                   'void', 
3894
                   [param('uint8_t', 'traffic')])
3895
    return
3896
3897
def register_Ns3LogNormalVariable_methods(root_module, cls):
2992
def register_Ns3LogNormalVariable_methods(root_module, cls):
3898
    ## random-variable.h (module 'core'): ns3::LogNormalVariable::LogNormalVariable(ns3::LogNormalVariable const & arg0) [copy constructor]
2993
    ## random-variable.h (module 'core'): ns3::LogNormalVariable::LogNormalVariable(ns3::LogNormalVariable const & arg0) [copy constructor]
3899
    cls.add_constructor([param('ns3::LogNormalVariable const &', 'arg0')])
2994
    cls.add_constructor([param('ns3::LogNormalVariable const &', 'arg0')])
 Lines 4131-4160    Link Here 
4131
                   is_static=True)
3226
                   is_static=True)
4132
    return
3227
    return
4133
3228
4134
def register_Ns3SimpleRefCount__Ns3Ipv4MulticastRoute_Ns3Empty_Ns3DefaultDeleter__lt__ns3Ipv4MulticastRoute__gt___methods(root_module, cls):
4135
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4MulticastRoute> >::SimpleRefCount() [constructor]
4136
    cls.add_constructor([])
4137
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4MulticastRoute> >::SimpleRefCount(ns3::SimpleRefCount<ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4MulticastRoute> > const & o) [copy constructor]
4138
    cls.add_constructor([param('ns3::SimpleRefCount< ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter< ns3::Ipv4MulticastRoute > > const &', 'o')])
4139
    ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4MulticastRoute> >::Cleanup() [member function]
4140
    cls.add_method('Cleanup', 
4141
                   'void', 
4142
                   [], 
4143
                   is_static=True)
4144
    return
4145
4146
def register_Ns3SimpleRefCount__Ns3Ipv4Route_Ns3Empty_Ns3DefaultDeleter__lt__ns3Ipv4Route__gt___methods(root_module, cls):
4147
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4Route> >::SimpleRefCount() [constructor]
4148
    cls.add_constructor([])
4149
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4Route> >::SimpleRefCount(ns3::SimpleRefCount<ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4Route> > const & o) [copy constructor]
4150
    cls.add_constructor([param('ns3::SimpleRefCount< ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter< ns3::Ipv4Route > > const &', 'o')])
4151
    ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4Route> >::Cleanup() [member function]
4152
    cls.add_method('Cleanup', 
4153
                   'void', 
4154
                   [], 
4155
                   is_static=True)
4156
    return
4157
4158
def register_Ns3SimpleRefCount__Ns3NixVector_Ns3Empty_Ns3DefaultDeleter__lt__ns3NixVector__gt___methods(root_module, cls):
3229
def register_Ns3SimpleRefCount__Ns3NixVector_Ns3Empty_Ns3DefaultDeleter__lt__ns3NixVector__gt___methods(root_module, cls):
4159
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >::SimpleRefCount() [constructor]
3230
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >::SimpleRefCount() [constructor]
4160
    cls.add_constructor([])
3231
    cls.add_constructor([])
 Lines 4191-4560    Link Here 
4191
                   is_static=True)
3262
                   is_static=True)
4192
    return
3263
    return
4193
3264
4194
def register_Ns3Socket_methods(root_module, cls):
4195
    ## socket.h (module 'network'): ns3::Socket::Socket(ns3::Socket const & arg0) [copy constructor]
4196
    cls.add_constructor([param('ns3::Socket const &', 'arg0')])
4197
    ## socket.h (module 'network'): ns3::Socket::Socket() [constructor]
4198
    cls.add_constructor([])
4199
    ## socket.h (module 'network'): int ns3::Socket::Bind(ns3::Address const & address) [member function]
4200
    cls.add_method('Bind', 
4201
                   'int', 
4202
                   [param('ns3::Address const &', 'address')], 
4203
                   is_pure_virtual=True, is_virtual=True)
4204
    ## socket.h (module 'network'): int ns3::Socket::Bind() [member function]
4205
    cls.add_method('Bind', 
4206
                   'int', 
4207
                   [], 
4208
                   is_pure_virtual=True, is_virtual=True)
4209
    ## socket.h (module 'network'): void ns3::Socket::BindToNetDevice(ns3::Ptr<ns3::NetDevice> netdevice) [member function]
4210
    cls.add_method('BindToNetDevice', 
4211
                   'void', 
4212
                   [param('ns3::Ptr< ns3::NetDevice >', 'netdevice')], 
4213
                   is_virtual=True)
4214
    ## socket.h (module 'network'): int ns3::Socket::Close() [member function]
4215
    cls.add_method('Close', 
4216
                   'int', 
4217
                   [], 
4218
                   is_pure_virtual=True, is_virtual=True)
4219
    ## socket.h (module 'network'): int ns3::Socket::Connect(ns3::Address const & address) [member function]
4220
    cls.add_method('Connect', 
4221
                   'int', 
4222
                   [param('ns3::Address const &', 'address')], 
4223
                   is_pure_virtual=True, is_virtual=True)
4224
    ## socket.h (module 'network'): static ns3::Ptr<ns3::Socket> ns3::Socket::CreateSocket(ns3::Ptr<ns3::Node> node, ns3::TypeId tid) [member function]
4225
    cls.add_method('CreateSocket', 
4226
                   'ns3::Ptr< ns3::Socket >', 
4227
                   [param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::TypeId', 'tid')], 
4228
                   is_static=True)
4229
    ## socket.h (module 'network'): bool ns3::Socket::GetAllowBroadcast() const [member function]
4230
    cls.add_method('GetAllowBroadcast', 
4231
                   'bool', 
4232
                   [], 
4233
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4234
    ## socket.h (module 'network'): ns3::Ptr<ns3::NetDevice> ns3::Socket::GetBoundNetDevice() [member function]
4235
    cls.add_method('GetBoundNetDevice', 
4236
                   'ns3::Ptr< ns3::NetDevice >', 
4237
                   [])
4238
    ## socket.h (module 'network'): ns3::Socket::SocketErrno ns3::Socket::GetErrno() const [member function]
4239
    cls.add_method('GetErrno', 
4240
                   'ns3::Socket::SocketErrno', 
4241
                   [], 
4242
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4243
    ## socket.h (module 'network'): ns3::Ptr<ns3::Node> ns3::Socket::GetNode() const [member function]
4244
    cls.add_method('GetNode', 
4245
                   'ns3::Ptr< ns3::Node >', 
4246
                   [], 
4247
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4248
    ## socket.h (module 'network'): uint32_t ns3::Socket::GetRxAvailable() const [member function]
4249
    cls.add_method('GetRxAvailable', 
4250
                   'uint32_t', 
4251
                   [], 
4252
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4253
    ## socket.h (module 'network'): int ns3::Socket::GetSockName(ns3::Address & address) const [member function]
4254
    cls.add_method('GetSockName', 
4255
                   'int', 
4256
                   [param('ns3::Address &', 'address')], 
4257
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4258
    ## socket.h (module 'network'): ns3::Socket::SocketType ns3::Socket::GetSocketType() const [member function]
4259
    cls.add_method('GetSocketType', 
4260
                   'ns3::Socket::SocketType', 
4261
                   [], 
4262
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4263
    ## socket.h (module 'network'): uint32_t ns3::Socket::GetTxAvailable() const [member function]
4264
    cls.add_method('GetTxAvailable', 
4265
                   'uint32_t', 
4266
                   [], 
4267
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4268
    ## socket.h (module 'network'): int ns3::Socket::Listen() [member function]
4269
    cls.add_method('Listen', 
4270
                   'int', 
4271
                   [], 
4272
                   is_pure_virtual=True, is_virtual=True)
4273
    ## socket.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Socket::Recv(uint32_t maxSize, uint32_t flags) [member function]
4274
    cls.add_method('Recv', 
4275
                   'ns3::Ptr< ns3::Packet >', 
4276
                   [param('uint32_t', 'maxSize'), param('uint32_t', 'flags')], 
4277
                   is_pure_virtual=True, is_virtual=True)
4278
    ## socket.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Socket::Recv() [member function]
4279
    cls.add_method('Recv', 
4280
                   'ns3::Ptr< ns3::Packet >', 
4281
                   [])
4282
    ## socket.h (module 'network'): int ns3::Socket::Recv(uint8_t * buf, uint32_t size, uint32_t flags) [member function]
4283
    cls.add_method('Recv', 
4284
                   'int', 
4285
                   [param('uint8_t *', 'buf'), param('uint32_t', 'size'), param('uint32_t', 'flags')])
4286
    ## socket.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Socket::RecvFrom(uint32_t maxSize, uint32_t flags, ns3::Address & fromAddress) [member function]
4287
    cls.add_method('RecvFrom', 
4288
                   'ns3::Ptr< ns3::Packet >', 
4289
                   [param('uint32_t', 'maxSize'), param('uint32_t', 'flags'), param('ns3::Address &', 'fromAddress')], 
4290
                   is_pure_virtual=True, is_virtual=True)
4291
    ## socket.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Socket::RecvFrom(ns3::Address & fromAddress) [member function]
4292
    cls.add_method('RecvFrom', 
4293
                   'ns3::Ptr< ns3::Packet >', 
4294
                   [param('ns3::Address &', 'fromAddress')])
4295
    ## socket.h (module 'network'): int ns3::Socket::RecvFrom(uint8_t * buf, uint32_t size, uint32_t flags, ns3::Address & fromAddress) [member function]
4296
    cls.add_method('RecvFrom', 
4297
                   'int', 
4298
                   [param('uint8_t *', 'buf'), param('uint32_t', 'size'), param('uint32_t', 'flags'), param('ns3::Address &', 'fromAddress')])
4299
    ## socket.h (module 'network'): int ns3::Socket::Send(ns3::Ptr<ns3::Packet> p, uint32_t flags) [member function]
4300
    cls.add_method('Send', 
4301
                   'int', 
4302
                   [param('ns3::Ptr< ns3::Packet >', 'p'), param('uint32_t', 'flags')], 
4303
                   is_pure_virtual=True, is_virtual=True)
4304
    ## socket.h (module 'network'): int ns3::Socket::Send(ns3::Ptr<ns3::Packet> p) [member function]
4305
    cls.add_method('Send', 
4306
                   'int', 
4307
                   [param('ns3::Ptr< ns3::Packet >', 'p')])
4308
    ## socket.h (module 'network'): int ns3::Socket::Send(uint8_t const * buf, uint32_t size, uint32_t flags) [member function]
4309
    cls.add_method('Send', 
4310
                   'int', 
4311
                   [param('uint8_t const *', 'buf'), param('uint32_t', 'size'), param('uint32_t', 'flags')])
4312
    ## socket.h (module 'network'): int ns3::Socket::SendTo(ns3::Ptr<ns3::Packet> p, uint32_t flags, ns3::Address const & toAddress) [member function]
4313
    cls.add_method('SendTo', 
4314
                   'int', 
4315
                   [param('ns3::Ptr< ns3::Packet >', 'p'), param('uint32_t', 'flags'), param('ns3::Address const &', 'toAddress')], 
4316
                   is_pure_virtual=True, is_virtual=True)
4317
    ## socket.h (module 'network'): int ns3::Socket::SendTo(uint8_t const * buf, uint32_t size, uint32_t flags, ns3::Address const & address) [member function]
4318
    cls.add_method('SendTo', 
4319
                   'int', 
4320
                   [param('uint8_t const *', 'buf'), param('uint32_t', 'size'), param('uint32_t', 'flags'), param('ns3::Address const &', 'address')])
4321
    ## socket.h (module 'network'): 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]
4322
    cls.add_method('SetAcceptCallback', 
4323
                   'void', 
4324
                   [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')])
4325
    ## socket.h (module 'network'): bool ns3::Socket::SetAllowBroadcast(bool allowBroadcast) [member function]
4326
    cls.add_method('SetAllowBroadcast', 
4327
                   'bool', 
4328
                   [param('bool', 'allowBroadcast')], 
4329
                   is_pure_virtual=True, is_virtual=True)
4330
    ## socket.h (module 'network'): void ns3::Socket::SetCloseCallbacks(ns3::Callback<void, ns3::Ptr<ns3::Socket>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> normalClose, ns3::Callback<void, ns3::Ptr<ns3::Socket>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> errorClose) [member function]
4331
    cls.add_method('SetCloseCallbacks', 
4332
                   'void', 
4333
                   [param('ns3::Callback< void, ns3::Ptr< ns3::Socket >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'normalClose'), param('ns3::Callback< void, ns3::Ptr< ns3::Socket >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'errorClose')])
4334
    ## socket.h (module 'network'): 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]
4335
    cls.add_method('SetConnectCallback', 
4336
                   'void', 
4337
                   [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')])
4338
    ## socket.h (module 'network'): 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]
4339
    cls.add_method('SetDataSentCallback', 
4340
                   'void', 
4341
                   [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')])
4342
    ## socket.h (module 'network'): 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]
4343
    cls.add_method('SetRecvCallback', 
4344
                   'void', 
4345
                   [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')])
4346
    ## socket.h (module 'network'): void ns3::Socket::SetRecvPktInfo(bool flag) [member function]
4347
    cls.add_method('SetRecvPktInfo', 
4348
                   'void', 
4349
                   [param('bool', 'flag')])
4350
    ## socket.h (module 'network'): 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]
4351
    cls.add_method('SetSendCallback', 
4352
                   'void', 
4353
                   [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')])
4354
    ## socket.h (module 'network'): int ns3::Socket::ShutdownRecv() [member function]
4355
    cls.add_method('ShutdownRecv', 
4356
                   'int', 
4357
                   [], 
4358
                   is_pure_virtual=True, is_virtual=True)
4359
    ## socket.h (module 'network'): int ns3::Socket::ShutdownSend() [member function]
4360
    cls.add_method('ShutdownSend', 
4361
                   'int', 
4362
                   [], 
4363
                   is_pure_virtual=True, is_virtual=True)
4364
    ## socket.h (module 'network'): void ns3::Socket::DoDispose() [member function]
4365
    cls.add_method('DoDispose', 
4366
                   'void', 
4367
                   [], 
4368
                   visibility='protected', is_virtual=True)
4369
    ## socket.h (module 'network'): void ns3::Socket::NotifyConnectionFailed() [member function]
4370
    cls.add_method('NotifyConnectionFailed', 
4371
                   'void', 
4372
                   [], 
4373
                   visibility='protected')
4374
    ## socket.h (module 'network'): bool ns3::Socket::NotifyConnectionRequest(ns3::Address const & from) [member function]
4375
    cls.add_method('NotifyConnectionRequest', 
4376
                   'bool', 
4377
                   [param('ns3::Address const &', 'from')], 
4378
                   visibility='protected')
4379
    ## socket.h (module 'network'): void ns3::Socket::NotifyConnectionSucceeded() [member function]
4380
    cls.add_method('NotifyConnectionSucceeded', 
4381
                   'void', 
4382
                   [], 
4383
                   visibility='protected')
4384
    ## socket.h (module 'network'): void ns3::Socket::NotifyDataRecv() [member function]
4385
    cls.add_method('NotifyDataRecv', 
4386
                   'void', 
4387
                   [], 
4388
                   visibility='protected')
4389
    ## socket.h (module 'network'): void ns3::Socket::NotifyDataSent(uint32_t size) [member function]
4390
    cls.add_method('NotifyDataSent', 
4391
                   'void', 
4392
                   [param('uint32_t', 'size')], 
4393
                   visibility='protected')
4394
    ## socket.h (module 'network'): void ns3::Socket::NotifyErrorClose() [member function]
4395
    cls.add_method('NotifyErrorClose', 
4396
                   'void', 
4397
                   [], 
4398
                   visibility='protected')
4399
    ## socket.h (module 'network'): void ns3::Socket::NotifyNewConnectionCreated(ns3::Ptr<ns3::Socket> socket, ns3::Address const & from) [member function]
4400
    cls.add_method('NotifyNewConnectionCreated', 
4401
                   'void', 
4402
                   [param('ns3::Ptr< ns3::Socket >', 'socket'), param('ns3::Address const &', 'from')], 
4403
                   visibility='protected')
4404
    ## socket.h (module 'network'): void ns3::Socket::NotifyNormalClose() [member function]
4405
    cls.add_method('NotifyNormalClose', 
4406
                   'void', 
4407
                   [], 
4408
                   visibility='protected')
4409
    ## socket.h (module 'network'): void ns3::Socket::NotifySend(uint32_t spaceAvailable) [member function]
4410
    cls.add_method('NotifySend', 
4411
                   'void', 
4412
                   [param('uint32_t', 'spaceAvailable')], 
4413
                   visibility='protected')
4414
    return
4415
4416
def register_Ns3SocketAddressTag_methods(root_module, cls):
4417
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag(ns3::SocketAddressTag const & arg0) [copy constructor]
4418
    cls.add_constructor([param('ns3::SocketAddressTag const &', 'arg0')])
4419
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag() [constructor]
4420
    cls.add_constructor([])
4421
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Deserialize(ns3::TagBuffer i) [member function]
4422
    cls.add_method('Deserialize', 
4423
                   'void', 
4424
                   [param('ns3::TagBuffer', 'i')], 
4425
                   is_virtual=True)
4426
    ## socket.h (module 'network'): ns3::Address ns3::SocketAddressTag::GetAddress() const [member function]
4427
    cls.add_method('GetAddress', 
4428
                   'ns3::Address', 
4429
                   [], 
4430
                   is_const=True)
4431
    ## socket.h (module 'network'): ns3::TypeId ns3::SocketAddressTag::GetInstanceTypeId() const [member function]
4432
    cls.add_method('GetInstanceTypeId', 
4433
                   'ns3::TypeId', 
4434
                   [], 
4435
                   is_const=True, is_virtual=True)
4436
    ## socket.h (module 'network'): uint32_t ns3::SocketAddressTag::GetSerializedSize() const [member function]
4437
    cls.add_method('GetSerializedSize', 
4438
                   'uint32_t', 
4439
                   [], 
4440
                   is_const=True, is_virtual=True)
4441
    ## socket.h (module 'network'): static ns3::TypeId ns3::SocketAddressTag::GetTypeId() [member function]
4442
    cls.add_method('GetTypeId', 
4443
                   'ns3::TypeId', 
4444
                   [], 
4445
                   is_static=True)
4446
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Print(std::ostream & os) const [member function]
4447
    cls.add_method('Print', 
4448
                   'void', 
4449
                   [param('std::ostream &', 'os')], 
4450
                   is_const=True, is_virtual=True)
4451
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Serialize(ns3::TagBuffer i) const [member function]
4452
    cls.add_method('Serialize', 
4453
                   'void', 
4454
                   [param('ns3::TagBuffer', 'i')], 
4455
                   is_const=True, is_virtual=True)
4456
    ## socket.h (module 'network'): void ns3::SocketAddressTag::SetAddress(ns3::Address addr) [member function]
4457
    cls.add_method('SetAddress', 
4458
                   'void', 
4459
                   [param('ns3::Address', 'addr')])
4460
    return
4461
4462
def register_Ns3SocketIpTtlTag_methods(root_module, cls):
4463
    ## socket.h (module 'network'): ns3::SocketIpTtlTag::SocketIpTtlTag(ns3::SocketIpTtlTag const & arg0) [copy constructor]
4464
    cls.add_constructor([param('ns3::SocketIpTtlTag const &', 'arg0')])
4465
    ## socket.h (module 'network'): ns3::SocketIpTtlTag::SocketIpTtlTag() [constructor]
4466
    cls.add_constructor([])
4467
    ## socket.h (module 'network'): void ns3::SocketIpTtlTag::Deserialize(ns3::TagBuffer i) [member function]
4468
    cls.add_method('Deserialize', 
4469
                   'void', 
4470
                   [param('ns3::TagBuffer', 'i')], 
4471
                   is_virtual=True)
4472
    ## socket.h (module 'network'): ns3::TypeId ns3::SocketIpTtlTag::GetInstanceTypeId() const [member function]
4473
    cls.add_method('GetInstanceTypeId', 
4474
                   'ns3::TypeId', 
4475
                   [], 
4476
                   is_const=True, is_virtual=True)
4477
    ## socket.h (module 'network'): uint32_t ns3::SocketIpTtlTag::GetSerializedSize() const [member function]
4478
    cls.add_method('GetSerializedSize', 
4479
                   'uint32_t', 
4480
                   [], 
4481
                   is_const=True, is_virtual=True)
4482
    ## socket.h (module 'network'): uint8_t ns3::SocketIpTtlTag::GetTtl() const [member function]
4483
    cls.add_method('GetTtl', 
4484
                   'uint8_t', 
4485
                   [], 
4486
                   is_const=True)
4487
    ## socket.h (module 'network'): static ns3::TypeId ns3::SocketIpTtlTag::GetTypeId() [member function]
4488
    cls.add_method('GetTypeId', 
4489
                   'ns3::TypeId', 
4490
                   [], 
4491
                   is_static=True)
4492
    ## socket.h (module 'network'): void ns3::SocketIpTtlTag::Print(std::ostream & os) const [member function]
4493
    cls.add_method('Print', 
4494
                   'void', 
4495
                   [param('std::ostream &', 'os')], 
4496
                   is_const=True, is_virtual=True)
4497
    ## socket.h (module 'network'): void ns3::SocketIpTtlTag::Serialize(ns3::TagBuffer i) const [member function]
4498
    cls.add_method('Serialize', 
4499
                   'void', 
4500
                   [param('ns3::TagBuffer', 'i')], 
4501
                   is_const=True, is_virtual=True)
4502
    ## socket.h (module 'network'): void ns3::SocketIpTtlTag::SetTtl(uint8_t ttl) [member function]
4503
    cls.add_method('SetTtl', 
4504
                   'void', 
4505
                   [param('uint8_t', 'ttl')])
4506
    return
4507
4508
def register_Ns3SocketSetDontFragmentTag_methods(root_module, cls):
4509
    ## socket.h (module 'network'): ns3::SocketSetDontFragmentTag::SocketSetDontFragmentTag(ns3::SocketSetDontFragmentTag const & arg0) [copy constructor]
4510
    cls.add_constructor([param('ns3::SocketSetDontFragmentTag const &', 'arg0')])
4511
    ## socket.h (module 'network'): ns3::SocketSetDontFragmentTag::SocketSetDontFragmentTag() [constructor]
4512
    cls.add_constructor([])
4513
    ## socket.h (module 'network'): void ns3::SocketSetDontFragmentTag::Deserialize(ns3::TagBuffer i) [member function]
4514
    cls.add_method('Deserialize', 
4515
                   'void', 
4516
                   [param('ns3::TagBuffer', 'i')], 
4517
                   is_virtual=True)
4518
    ## socket.h (module 'network'): void ns3::SocketSetDontFragmentTag::Disable() [member function]
4519
    cls.add_method('Disable', 
4520
                   'void', 
4521
                   [])
4522
    ## socket.h (module 'network'): void ns3::SocketSetDontFragmentTag::Enable() [member function]
4523
    cls.add_method('Enable', 
4524
                   'void', 
4525
                   [])
4526
    ## socket.h (module 'network'): ns3::TypeId ns3::SocketSetDontFragmentTag::GetInstanceTypeId() const [member function]
4527
    cls.add_method('GetInstanceTypeId', 
4528
                   'ns3::TypeId', 
4529
                   [], 
4530
                   is_const=True, is_virtual=True)
4531
    ## socket.h (module 'network'): uint32_t ns3::SocketSetDontFragmentTag::GetSerializedSize() const [member function]
4532
    cls.add_method('GetSerializedSize', 
4533
                   'uint32_t', 
4534
                   [], 
4535
                   is_const=True, is_virtual=True)
4536
    ## socket.h (module 'network'): static ns3::TypeId ns3::SocketSetDontFragmentTag::GetTypeId() [member function]
4537
    cls.add_method('GetTypeId', 
4538
                   'ns3::TypeId', 
4539
                   [], 
4540
                   is_static=True)
4541
    ## socket.h (module 'network'): bool ns3::SocketSetDontFragmentTag::IsEnabled() const [member function]
4542
    cls.add_method('IsEnabled', 
4543
                   'bool', 
4544
                   [], 
4545
                   is_const=True)
4546
    ## socket.h (module 'network'): void ns3::SocketSetDontFragmentTag::Print(std::ostream & os) const [member function]
4547
    cls.add_method('Print', 
4548
                   'void', 
4549
                   [param('std::ostream &', 'os')], 
4550
                   is_const=True, is_virtual=True)
4551
    ## socket.h (module 'network'): void ns3::SocketSetDontFragmentTag::Serialize(ns3::TagBuffer i) const [member function]
4552
    cls.add_method('Serialize', 
4553
                   'void', 
4554
                   [param('ns3::TagBuffer', 'i')], 
4555
                   is_const=True, is_virtual=True)
4556
    return
4557
4558
def register_Ns3Time_methods(root_module, cls):
3265
def register_Ns3Time_methods(root_module, cls):
4559
    cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right'))
3266
    cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right'))
4560
    cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right'))
3267
    cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right'))
 Lines 5077-5236    Link Here 
5077
                   is_pure_virtual=True, visibility='protected', is_virtual=True)
3784
                   is_pure_virtual=True, visibility='protected', is_virtual=True)
5078
    return
3785
    return
5079
3786
5080
def register_Ns3Ipv4_methods(root_module, cls):
5081
    ## ipv4.h (module 'internet'): ns3::Ipv4::Ipv4(ns3::Ipv4 const & arg0) [copy constructor]
5082
    cls.add_constructor([param('ns3::Ipv4 const &', 'arg0')])
5083
    ## ipv4.h (module 'internet'): ns3::Ipv4::Ipv4() [constructor]
5084
    cls.add_constructor([])
5085
    ## ipv4.h (module 'internet'): bool ns3::Ipv4::AddAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function]
5086
    cls.add_method('AddAddress', 
5087
                   'bool', 
5088
                   [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], 
5089
                   is_pure_virtual=True, is_virtual=True)
5090
    ## ipv4.h (module 'internet'): uint32_t ns3::Ipv4::AddInterface(ns3::Ptr<ns3::NetDevice> device) [member function]
5091
    cls.add_method('AddInterface', 
5092
                   'uint32_t', 
5093
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')], 
5094
                   is_pure_virtual=True, is_virtual=True)
5095
    ## ipv4.h (module 'internet'): ns3::Ipv4InterfaceAddress ns3::Ipv4::GetAddress(uint32_t interface, uint32_t addressIndex) const [member function]
5096
    cls.add_method('GetAddress', 
5097
                   'ns3::Ipv4InterfaceAddress', 
5098
                   [param('uint32_t', 'interface'), param('uint32_t', 'addressIndex')], 
5099
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5100
    ## ipv4.h (module 'internet'): int32_t ns3::Ipv4::GetInterfaceForAddress(ns3::Ipv4Address address) const [member function]
5101
    cls.add_method('GetInterfaceForAddress', 
5102
                   'int32_t', 
5103
                   [param('ns3::Ipv4Address', 'address')], 
5104
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5105
    ## ipv4.h (module 'internet'): int32_t ns3::Ipv4::GetInterfaceForDevice(ns3::Ptr<const ns3::NetDevice> device) const [member function]
5106
    cls.add_method('GetInterfaceForDevice', 
5107
                   'int32_t', 
5108
                   [param('ns3::Ptr< ns3::NetDevice const >', 'device')], 
5109
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5110
    ## ipv4.h (module 'internet'): int32_t ns3::Ipv4::GetInterfaceForPrefix(ns3::Ipv4Address address, ns3::Ipv4Mask mask) const [member function]
5111
    cls.add_method('GetInterfaceForPrefix', 
5112
                   'int32_t', 
5113
                   [param('ns3::Ipv4Address', 'address'), param('ns3::Ipv4Mask', 'mask')], 
5114
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5115
    ## ipv4.h (module 'internet'): uint16_t ns3::Ipv4::GetMetric(uint32_t interface) const [member function]
5116
    cls.add_method('GetMetric', 
5117
                   'uint16_t', 
5118
                   [param('uint32_t', 'interface')], 
5119
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5120
    ## ipv4.h (module 'internet'): uint16_t ns3::Ipv4::GetMtu(uint32_t interface) const [member function]
5121
    cls.add_method('GetMtu', 
5122
                   'uint16_t', 
5123
                   [param('uint32_t', 'interface')], 
5124
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5125
    ## ipv4.h (module 'internet'): uint32_t ns3::Ipv4::GetNAddresses(uint32_t interface) const [member function]
5126
    cls.add_method('GetNAddresses', 
5127
                   'uint32_t', 
5128
                   [param('uint32_t', 'interface')], 
5129
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5130
    ## ipv4.h (module 'internet'): uint32_t ns3::Ipv4::GetNInterfaces() const [member function]
5131
    cls.add_method('GetNInterfaces', 
5132
                   'uint32_t', 
5133
                   [], 
5134
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5135
    ## ipv4.h (module 'internet'): ns3::Ptr<ns3::NetDevice> ns3::Ipv4::GetNetDevice(uint32_t interface) [member function]
5136
    cls.add_method('GetNetDevice', 
5137
                   'ns3::Ptr< ns3::NetDevice >', 
5138
                   [param('uint32_t', 'interface')], 
5139
                   is_pure_virtual=True, is_virtual=True)
5140
    ## ipv4.h (module 'internet'): ns3::Ptr<ns3::Ipv4RoutingProtocol> ns3::Ipv4::GetRoutingProtocol() const [member function]
5141
    cls.add_method('GetRoutingProtocol', 
5142
                   'ns3::Ptr< ns3::Ipv4RoutingProtocol >', 
5143
                   [], 
5144
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5145
    ## ipv4.h (module 'internet'): static ns3::TypeId ns3::Ipv4::GetTypeId() [member function]
5146
    cls.add_method('GetTypeId', 
5147
                   'ns3::TypeId', 
5148
                   [], 
5149
                   is_static=True)
5150
    ## ipv4.h (module 'internet'): void ns3::Ipv4::Insert(ns3::Ptr<ns3::Ipv4L4Protocol> protocol) [member function]
5151
    cls.add_method('Insert', 
5152
                   'void', 
5153
                   [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')], 
5154
                   is_pure_virtual=True, is_virtual=True)
5155
    ## ipv4.h (module 'internet'): bool ns3::Ipv4::IsDestinationAddress(ns3::Ipv4Address address, uint32_t iif) const [member function]
5156
    cls.add_method('IsDestinationAddress', 
5157
                   'bool', 
5158
                   [param('ns3::Ipv4Address', 'address'), param('uint32_t', 'iif')], 
5159
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5160
    ## ipv4.h (module 'internet'): bool ns3::Ipv4::IsForwarding(uint32_t interface) const [member function]
5161
    cls.add_method('IsForwarding', 
5162
                   'bool', 
5163
                   [param('uint32_t', 'interface')], 
5164
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5165
    ## ipv4.h (module 'internet'): bool ns3::Ipv4::IsUp(uint32_t interface) const [member function]
5166
    cls.add_method('IsUp', 
5167
                   'bool', 
5168
                   [param('uint32_t', 'interface')], 
5169
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5170
    ## ipv4.h (module 'internet'): bool ns3::Ipv4::RemoveAddress(uint32_t interface, uint32_t addressIndex) [member function]
5171
    cls.add_method('RemoveAddress', 
5172
                   'bool', 
5173
                   [param('uint32_t', 'interface'), param('uint32_t', 'addressIndex')], 
5174
                   is_pure_virtual=True, is_virtual=True)
5175
    ## ipv4.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4::SelectSourceAddress(ns3::Ptr<const ns3::NetDevice> device, ns3::Ipv4Address dst, ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e scope) [member function]
5176
    cls.add_method('SelectSourceAddress', 
5177
                   'ns3::Ipv4Address', 
5178
                   [param('ns3::Ptr< ns3::NetDevice const >', 'device'), param('ns3::Ipv4Address', 'dst'), param('ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e', 'scope')], 
5179
                   is_pure_virtual=True, is_virtual=True)
5180
    ## ipv4.h (module 'internet'): void ns3::Ipv4::Send(ns3::Ptr<ns3::Packet> packet, ns3::Ipv4Address source, ns3::Ipv4Address destination, uint8_t protocol, ns3::Ptr<ns3::Ipv4Route> route) [member function]
5181
    cls.add_method('Send', 
5182
                   'void', 
5183
                   [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'destination'), param('uint8_t', 'protocol'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')], 
5184
                   is_pure_virtual=True, is_virtual=True)
5185
    ## ipv4.h (module 'internet'): void ns3::Ipv4::SetDown(uint32_t interface) [member function]
5186
    cls.add_method('SetDown', 
5187
                   'void', 
5188
                   [param('uint32_t', 'interface')], 
5189
                   is_pure_virtual=True, is_virtual=True)
5190
    ## ipv4.h (module 'internet'): void ns3::Ipv4::SetForwarding(uint32_t interface, bool val) [member function]
5191
    cls.add_method('SetForwarding', 
5192
                   'void', 
5193
                   [param('uint32_t', 'interface'), param('bool', 'val')], 
5194
                   is_pure_virtual=True, is_virtual=True)
5195
    ## ipv4.h (module 'internet'): void ns3::Ipv4::SetMetric(uint32_t interface, uint16_t metric) [member function]
5196
    cls.add_method('SetMetric', 
5197
                   'void', 
5198
                   [param('uint32_t', 'interface'), param('uint16_t', 'metric')], 
5199
                   is_pure_virtual=True, is_virtual=True)
5200
    ## ipv4.h (module 'internet'): void ns3::Ipv4::SetRoutingProtocol(ns3::Ptr<ns3::Ipv4RoutingProtocol> routingProtocol) [member function]
5201
    cls.add_method('SetRoutingProtocol', 
5202
                   'void', 
5203
                   [param('ns3::Ptr< ns3::Ipv4RoutingProtocol >', 'routingProtocol')], 
5204
                   is_pure_virtual=True, is_virtual=True)
5205
    ## ipv4.h (module 'internet'): void ns3::Ipv4::SetUp(uint32_t interface) [member function]
5206
    cls.add_method('SetUp', 
5207
                   'void', 
5208
                   [param('uint32_t', 'interface')], 
5209
                   is_pure_virtual=True, is_virtual=True)
5210
    ## ipv4.h (module 'internet'): ns3::Ipv4::IF_ANY [variable]
5211
    cls.add_static_attribute('IF_ANY', 'uint32_t const', is_const=True)
5212
    ## ipv4.h (module 'internet'): bool ns3::Ipv4::GetIpForward() const [member function]
5213
    cls.add_method('GetIpForward', 
5214
                   'bool', 
5215
                   [], 
5216
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
5217
    ## ipv4.h (module 'internet'): bool ns3::Ipv4::GetWeakEsModel() const [member function]
5218
    cls.add_method('GetWeakEsModel', 
5219
                   'bool', 
5220
                   [], 
5221
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
5222
    ## ipv4.h (module 'internet'): void ns3::Ipv4::SetIpForward(bool forward) [member function]
5223
    cls.add_method('SetIpForward', 
5224
                   'void', 
5225
                   [param('bool', 'forward')], 
5226
                   is_pure_virtual=True, visibility='private', is_virtual=True)
5227
    ## ipv4.h (module 'internet'): void ns3::Ipv4::SetWeakEsModel(bool model) [member function]
5228
    cls.add_method('SetWeakEsModel', 
5229
                   'void', 
5230
                   [param('bool', 'model')], 
5231
                   is_pure_virtual=True, visibility='private', is_virtual=True)
5232
    return
5233
5234
def register_Ns3Ipv4AddressChecker_methods(root_module, cls):
3787
def register_Ns3Ipv4AddressChecker_methods(root_module, cls):
5235
    ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker::Ipv4AddressChecker() [constructor]
3788
    ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker::Ipv4AddressChecker() [constructor]
5236
    cls.add_constructor([])
3789
    cls.add_constructor([])
 Lines 5271-5513    Link Here 
5271
                   [param('ns3::Ipv4Address const &', 'value')])
3824
                   [param('ns3::Ipv4Address const &', 'value')])
5272
    return
3825
    return
5273
3826
5274
def register_Ns3Ipv4L3Protocol_methods(root_module, cls):
5275
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::PROT_NUMBER [variable]
5276
    cls.add_static_attribute('PROT_NUMBER', 'uint16_t const', is_const=True)
5277
    ## ipv4-l3-protocol.h (module 'internet'): static ns3::TypeId ns3::Ipv4L3Protocol::GetTypeId() [member function]
5278
    cls.add_method('GetTypeId', 
5279
                   'ns3::TypeId', 
5280
                   [], 
5281
                   is_static=True)
5282
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::Ipv4L3Protocol() [constructor]
5283
    cls.add_constructor([])
5284
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetNode(ns3::Ptr<ns3::Node> node) [member function]
5285
    cls.add_method('SetNode', 
5286
                   'void', 
5287
                   [param('ns3::Ptr< ns3::Node >', 'node')])
5288
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetRoutingProtocol(ns3::Ptr<ns3::Ipv4RoutingProtocol> routingProtocol) [member function]
5289
    cls.add_method('SetRoutingProtocol', 
5290
                   'void', 
5291
                   [param('ns3::Ptr< ns3::Ipv4RoutingProtocol >', 'routingProtocol')], 
5292
                   is_virtual=True)
5293
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::Ipv4RoutingProtocol> ns3::Ipv4L3Protocol::GetRoutingProtocol() const [member function]
5294
    cls.add_method('GetRoutingProtocol', 
5295
                   'ns3::Ptr< ns3::Ipv4RoutingProtocol >', 
5296
                   [], 
5297
                   is_const=True, is_virtual=True)
5298
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::Socket> ns3::Ipv4L3Protocol::CreateRawSocket() [member function]
5299
    cls.add_method('CreateRawSocket', 
5300
                   'ns3::Ptr< ns3::Socket >', 
5301
                   [])
5302
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::DeleteRawSocket(ns3::Ptr<ns3::Socket> socket) [member function]
5303
    cls.add_method('DeleteRawSocket', 
5304
                   'void', 
5305
                   [param('ns3::Ptr< ns3::Socket >', 'socket')])
5306
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Insert(ns3::Ptr<ns3::Ipv4L4Protocol> protocol) [member function]
5307
    cls.add_method('Insert', 
5308
                   'void', 
5309
                   [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')], 
5310
                   is_virtual=True)
5311
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::Ipv4L4Protocol> ns3::Ipv4L3Protocol::GetProtocol(int protocolNumber) const [member function]
5312
    cls.add_method('GetProtocol', 
5313
                   'ns3::Ptr< ns3::Ipv4L4Protocol >', 
5314
                   [param('int', 'protocolNumber')], 
5315
                   is_const=True)
5316
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Remove(ns3::Ptr<ns3::Ipv4L4Protocol> protocol) [member function]
5317
    cls.add_method('Remove', 
5318
                   'void', 
5319
                   [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')])
5320
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetDefaultTtl(uint8_t ttl) [member function]
5321
    cls.add_method('SetDefaultTtl', 
5322
                   'void', 
5323
                   [param('uint8_t', 'ttl')])
5324
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Receive(ns3::Ptr<ns3::NetDevice> device, ns3::Ptr<const ns3::Packet> p, uint16_t protocol, ns3::Address const & from, ns3::Address const & to, ns3::NetDevice::PacketType packetType) [member function]
5325
    cls.add_method('Receive', 
5326
                   'void', 
5327
                   [param('ns3::Ptr< ns3::NetDevice >', 'device'), param('ns3::Ptr< ns3::Packet const >', 'p'), param('uint16_t', 'protocol'), param('ns3::Address const &', 'from'), param('ns3::Address const &', 'to'), param('ns3::NetDevice::PacketType', 'packetType')])
5328
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Send(ns3::Ptr<ns3::Packet> packet, ns3::Ipv4Address source, ns3::Ipv4Address destination, uint8_t protocol, ns3::Ptr<ns3::Ipv4Route> route) [member function]
5329
    cls.add_method('Send', 
5330
                   'void', 
5331
                   [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'destination'), param('uint8_t', 'protocol'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')], 
5332
                   is_virtual=True)
5333
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SendWithHeader(ns3::Ptr<ns3::Packet> packet, ns3::Ipv4Header ipHeader, ns3::Ptr<ns3::Ipv4Route> route) [member function]
5334
    cls.add_method('SendWithHeader', 
5335
                   'void', 
5336
                   [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Header', 'ipHeader'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')])
5337
    ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::AddInterface(ns3::Ptr<ns3::NetDevice> device) [member function]
5338
    cls.add_method('AddInterface', 
5339
                   'uint32_t', 
5340
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')], 
5341
                   is_virtual=True)
5342
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::Ipv4Interface> ns3::Ipv4L3Protocol::GetInterface(uint32_t i) const [member function]
5343
    cls.add_method('GetInterface', 
5344
                   'ns3::Ptr< ns3::Ipv4Interface >', 
5345
                   [param('uint32_t', 'i')], 
5346
                   is_const=True)
5347
    ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::GetNInterfaces() const [member function]
5348
    cls.add_method('GetNInterfaces', 
5349
                   'uint32_t', 
5350
                   [], 
5351
                   is_const=True, is_virtual=True)
5352
    ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForAddress(ns3::Ipv4Address addr) const [member function]
5353
    cls.add_method('GetInterfaceForAddress', 
5354
                   'int32_t', 
5355
                   [param('ns3::Ipv4Address', 'addr')], 
5356
                   is_const=True, is_virtual=True)
5357
    ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForPrefix(ns3::Ipv4Address addr, ns3::Ipv4Mask mask) const [member function]
5358
    cls.add_method('GetInterfaceForPrefix', 
5359
                   'int32_t', 
5360
                   [param('ns3::Ipv4Address', 'addr'), param('ns3::Ipv4Mask', 'mask')], 
5361
                   is_const=True, is_virtual=True)
5362
    ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForDevice(ns3::Ptr<const ns3::NetDevice> device) const [member function]
5363
    cls.add_method('GetInterfaceForDevice', 
5364
                   'int32_t', 
5365
                   [param('ns3::Ptr< ns3::NetDevice const >', 'device')], 
5366
                   is_const=True, is_virtual=True)
5367
    ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsDestinationAddress(ns3::Ipv4Address address, uint32_t iif) const [member function]
5368
    cls.add_method('IsDestinationAddress', 
5369
                   'bool', 
5370
                   [param('ns3::Ipv4Address', 'address'), param('uint32_t', 'iif')], 
5371
                   is_const=True, is_virtual=True)
5372
    ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::AddAddress(uint32_t i, ns3::Ipv4InterfaceAddress address) [member function]
5373
    cls.add_method('AddAddress', 
5374
                   'bool', 
5375
                   [param('uint32_t', 'i'), param('ns3::Ipv4InterfaceAddress', 'address')], 
5376
                   is_virtual=True)
5377
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4InterfaceAddress ns3::Ipv4L3Protocol::GetAddress(uint32_t interfaceIndex, uint32_t addressIndex) const [member function]
5378
    cls.add_method('GetAddress', 
5379
                   'ns3::Ipv4InterfaceAddress', 
5380
                   [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], 
5381
                   is_const=True, is_virtual=True)
5382
    ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::GetNAddresses(uint32_t interface) const [member function]
5383
    cls.add_method('GetNAddresses', 
5384
                   'uint32_t', 
5385
                   [param('uint32_t', 'interface')], 
5386
                   is_const=True, is_virtual=True)
5387
    ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::RemoveAddress(uint32_t interfaceIndex, uint32_t addressIndex) [member function]
5388
    cls.add_method('RemoveAddress', 
5389
                   'bool', 
5390
                   [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], 
5391
                   is_virtual=True)
5392
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4L3Protocol::SelectSourceAddress(ns3::Ptr<const ns3::NetDevice> device, ns3::Ipv4Address dst, ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e scope) [member function]
5393
    cls.add_method('SelectSourceAddress', 
5394
                   'ns3::Ipv4Address', 
5395
                   [param('ns3::Ptr< ns3::NetDevice const >', 'device'), param('ns3::Ipv4Address', 'dst'), param('ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e', 'scope')], 
5396
                   is_virtual=True)
5397
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetMetric(uint32_t i, uint16_t metric) [member function]
5398
    cls.add_method('SetMetric', 
5399
                   'void', 
5400
                   [param('uint32_t', 'i'), param('uint16_t', 'metric')], 
5401
                   is_virtual=True)
5402
    ## ipv4-l3-protocol.h (module 'internet'): uint16_t ns3::Ipv4L3Protocol::GetMetric(uint32_t i) const [member function]
5403
    cls.add_method('GetMetric', 
5404
                   'uint16_t', 
5405
                   [param('uint32_t', 'i')], 
5406
                   is_const=True, is_virtual=True)
5407
    ## ipv4-l3-protocol.h (module 'internet'): uint16_t ns3::Ipv4L3Protocol::GetMtu(uint32_t i) const [member function]
5408
    cls.add_method('GetMtu', 
5409
                   'uint16_t', 
5410
                   [param('uint32_t', 'i')], 
5411
                   is_const=True, is_virtual=True)
5412
    ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsUp(uint32_t i) const [member function]
5413
    cls.add_method('IsUp', 
5414
                   'bool', 
5415
                   [param('uint32_t', 'i')], 
5416
                   is_const=True, is_virtual=True)
5417
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetUp(uint32_t i) [member function]
5418
    cls.add_method('SetUp', 
5419
                   'void', 
5420
                   [param('uint32_t', 'i')], 
5421
                   is_virtual=True)
5422
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetDown(uint32_t i) [member function]
5423
    cls.add_method('SetDown', 
5424
                   'void', 
5425
                   [param('uint32_t', 'i')], 
5426
                   is_virtual=True)
5427
    ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsForwarding(uint32_t i) const [member function]
5428
    cls.add_method('IsForwarding', 
5429
                   'bool', 
5430
                   [param('uint32_t', 'i')], 
5431
                   is_const=True, is_virtual=True)
5432
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetForwarding(uint32_t i, bool val) [member function]
5433
    cls.add_method('SetForwarding', 
5434
                   'void', 
5435
                   [param('uint32_t', 'i'), param('bool', 'val')], 
5436
                   is_virtual=True)
5437
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::NetDevice> ns3::Ipv4L3Protocol::GetNetDevice(uint32_t i) [member function]
5438
    cls.add_method('GetNetDevice', 
5439
                   'ns3::Ptr< ns3::NetDevice >', 
5440
                   [param('uint32_t', 'i')], 
5441
                   is_virtual=True)
5442
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::DoDispose() [member function]
5443
    cls.add_method('DoDispose', 
5444
                   'void', 
5445
                   [], 
5446
                   visibility='protected', is_virtual=True)
5447
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::NotifyNewAggregate() [member function]
5448
    cls.add_method('NotifyNewAggregate', 
5449
                   'void', 
5450
                   [], 
5451
                   visibility='protected', is_virtual=True)
5452
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetIpForward(bool forward) [member function]
5453
    cls.add_method('SetIpForward', 
5454
                   'void', 
5455
                   [param('bool', 'forward')], 
5456
                   visibility='private', is_virtual=True)
5457
    ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::GetIpForward() const [member function]
5458
    cls.add_method('GetIpForward', 
5459
                   'bool', 
5460
                   [], 
5461
                   is_const=True, visibility='private', is_virtual=True)
5462
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetWeakEsModel(bool model) [member function]
5463
    cls.add_method('SetWeakEsModel', 
5464
                   'void', 
5465
                   [param('bool', 'model')], 
5466
                   visibility='private', is_virtual=True)
5467
    ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::GetWeakEsModel() const [member function]
5468
    cls.add_method('GetWeakEsModel', 
5469
                   'bool', 
5470
                   [], 
5471
                   is_const=True, visibility='private', is_virtual=True)
5472
    return
5473
5474
def register_Ns3Ipv4L4Protocol_methods(root_module, cls):
5475
    ## ipv4-l4-protocol.h (module 'internet'): ns3::Ipv4L4Protocol::Ipv4L4Protocol() [constructor]
5476
    cls.add_constructor([])
5477
    ## ipv4-l4-protocol.h (module 'internet'): ns3::Ipv4L4Protocol::Ipv4L4Protocol(ns3::Ipv4L4Protocol const & arg0) [copy constructor]
5478
    cls.add_constructor([param('ns3::Ipv4L4Protocol const &', 'arg0')])
5479
    ## ipv4-l4-protocol.h (module 'internet'): ns3::Callback<void,ns3::Ptr<ns3::Packet>,ns3::Ipv4Address,ns3::Ipv4Address,unsigned char,ns3::Ptr<ns3::Ipv4Route>,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ns3::Ipv4L4Protocol::GetDownTarget() const [member function]
5480
    cls.add_method('GetDownTarget', 
5481
                   'ns3::Callback< void, ns3::Ptr< ns3::Packet >, ns3::Ipv4Address, ns3::Ipv4Address, unsigned char, ns3::Ptr< ns3::Ipv4Route >, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 
5482
                   [], 
5483
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5484
    ## ipv4-l4-protocol.h (module 'internet'): int ns3::Ipv4L4Protocol::GetProtocolNumber() const [member function]
5485
    cls.add_method('GetProtocolNumber', 
5486
                   'int', 
5487
                   [], 
5488
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5489
    ## ipv4-l4-protocol.h (module 'internet'): static ns3::TypeId ns3::Ipv4L4Protocol::GetTypeId() [member function]
5490
    cls.add_method('GetTypeId', 
5491
                   'ns3::TypeId', 
5492
                   [], 
5493
                   is_static=True)
5494
    ## ipv4-l4-protocol.h (module 'internet'): ns3::Ipv4L4Protocol::RxStatus ns3::Ipv4L4Protocol::Receive(ns3::Ptr<ns3::Packet> p, ns3::Ipv4Header const & header, ns3::Ptr<ns3::Ipv4Interface> incomingInterface) [member function]
5495
    cls.add_method('Receive', 
5496
                   'ns3::Ipv4L4Protocol::RxStatus', 
5497
                   [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('ns3::Ptr< ns3::Ipv4Interface >', 'incomingInterface')], 
5498
                   is_pure_virtual=True, is_virtual=True)
5499
    ## ipv4-l4-protocol.h (module 'internet'): void ns3::Ipv4L4Protocol::ReceiveIcmp(ns3::Ipv4Address icmpSource, uint8_t icmpTtl, uint8_t icmpType, uint8_t icmpCode, uint32_t icmpInfo, ns3::Ipv4Address payloadSource, ns3::Ipv4Address payloadDestination, uint8_t const * payload) [member function]
5500
    cls.add_method('ReceiveIcmp', 
5501
                   'void', 
5502
                   [param('ns3::Ipv4Address', 'icmpSource'), param('uint8_t', 'icmpTtl'), param('uint8_t', 'icmpType'), param('uint8_t', 'icmpCode'), param('uint32_t', 'icmpInfo'), param('ns3::Ipv4Address', 'payloadSource'), param('ns3::Ipv4Address', 'payloadDestination'), param('uint8_t const *', 'payload')], 
5503
                   is_virtual=True)
5504
    ## ipv4-l4-protocol.h (module 'internet'): void ns3::Ipv4L4Protocol::SetDownTarget(ns3::Callback<void,ns3::Ptr<ns3::Packet>,ns3::Ipv4Address,ns3::Ipv4Address,unsigned char,ns3::Ptr<ns3::Ipv4Route>,ns3::empty,ns3::empty,ns3::empty,ns3::empty> cb) [member function]
5505
    cls.add_method('SetDownTarget', 
5506
                   'void', 
5507
                   [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, ns3::Ipv4Address, ns3::Ipv4Address, unsigned char, ns3::Ptr< ns3::Ipv4Route >, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], 
5508
                   is_pure_virtual=True, is_virtual=True)
5509
    return
5510
5511
def register_Ns3Ipv4MaskChecker_methods(root_module, cls):
3827
def register_Ns3Ipv4MaskChecker_methods(root_module, cls):
5512
    ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker::Ipv4MaskChecker() [constructor]
3828
    ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker::Ipv4MaskChecker() [constructor]
5513
    cls.add_constructor([])
3829
    cls.add_constructor([])
 Lines 5548-5830    Link Here 
5548
                   [param('ns3::Ipv4Mask const &', 'value')])
3864
                   [param('ns3::Ipv4Mask const &', 'value')])
5549
    return
3865
    return
5550
3866
5551
def register_Ns3Ipv4MulticastRoute_methods(root_module, cls):
5552
    ## ipv4-route.h (module 'internet'): ns3::Ipv4MulticastRoute::Ipv4MulticastRoute(ns3::Ipv4MulticastRoute const & arg0) [copy constructor]
5553
    cls.add_constructor([param('ns3::Ipv4MulticastRoute const &', 'arg0')])
5554
    ## ipv4-route.h (module 'internet'): ns3::Ipv4MulticastRoute::Ipv4MulticastRoute() [constructor]
5555
    cls.add_constructor([])
5556
    ## ipv4-route.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4MulticastRoute::GetGroup() const [member function]
5557
    cls.add_method('GetGroup', 
5558
                   'ns3::Ipv4Address', 
5559
                   [], 
5560
                   is_const=True)
5561
    ## ipv4-route.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4MulticastRoute::GetOrigin() const [member function]
5562
    cls.add_method('GetOrigin', 
5563
                   'ns3::Ipv4Address', 
5564
                   [], 
5565
                   is_const=True)
5566
    ## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetOutputTtl(uint32_t oif) const [member function]
5567
    cls.add_method('GetOutputTtl', 
5568
                   'uint32_t', 
5569
                   [param('uint32_t', 'oif')], 
5570
                   is_const=True)
5571
    ## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetParent() const [member function]
5572
    cls.add_method('GetParent', 
5573
                   'uint32_t', 
5574
                   [], 
5575
                   is_const=True)
5576
    ## ipv4-route.h (module 'internet'): void ns3::Ipv4MulticastRoute::SetGroup(ns3::Ipv4Address const group) [member function]
5577
    cls.add_method('SetGroup', 
5578
                   'void', 
5579
                   [param('ns3::Ipv4Address const', 'group')])
5580
    ## ipv4-route.h (module 'internet'): void ns3::Ipv4MulticastRoute::SetOrigin(ns3::Ipv4Address const origin) [member function]
5581
    cls.add_method('SetOrigin', 
5582
                   'void', 
5583
                   [param('ns3::Ipv4Address const', 'origin')])
5584
    ## ipv4-route.h (module 'internet'): void ns3::Ipv4MulticastRoute::SetOutputTtl(uint32_t oif, uint32_t ttl) [member function]
5585
    cls.add_method('SetOutputTtl', 
5586
                   'void', 
5587
                   [param('uint32_t', 'oif'), param('uint32_t', 'ttl')])
5588
    ## ipv4-route.h (module 'internet'): void ns3::Ipv4MulticastRoute::SetParent(uint32_t iif) [member function]
5589
    cls.add_method('SetParent', 
5590
                   'void', 
5591
                   [param('uint32_t', 'iif')])
5592
    ## ipv4-route.h (module 'internet'): ns3::Ipv4MulticastRoute::MAX_INTERFACES [variable]
5593
    cls.add_static_attribute('MAX_INTERFACES', 'uint32_t const', is_const=True)
5594
    ## ipv4-route.h (module 'internet'): ns3::Ipv4MulticastRoute::MAX_TTL [variable]
5595
    cls.add_static_attribute('MAX_TTL', 'uint32_t const', is_const=True)
5596
    return
5597
5598
def register_Ns3Ipv4Route_methods(root_module, cls):
5599
    cls.add_output_stream_operator()
5600
    ## ipv4-route.h (module 'internet'): ns3::Ipv4Route::Ipv4Route(ns3::Ipv4Route const & arg0) [copy constructor]
5601
    cls.add_constructor([param('ns3::Ipv4Route const &', 'arg0')])
5602
    ## ipv4-route.h (module 'internet'): ns3::Ipv4Route::Ipv4Route() [constructor]
5603
    cls.add_constructor([])
5604
    ## ipv4-route.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4Route::GetDestination() const [member function]
5605
    cls.add_method('GetDestination', 
5606
                   'ns3::Ipv4Address', 
5607
                   [], 
5608
                   is_const=True)
5609
    ## ipv4-route.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4Route::GetGateway() const [member function]
5610
    cls.add_method('GetGateway', 
5611
                   'ns3::Ipv4Address', 
5612
                   [], 
5613
                   is_const=True)
5614
    ## ipv4-route.h (module 'internet'): ns3::Ptr<ns3::NetDevice> ns3::Ipv4Route::GetOutputDevice() const [member function]
5615
    cls.add_method('GetOutputDevice', 
5616
                   'ns3::Ptr< ns3::NetDevice >', 
5617
                   [], 
5618
                   is_const=True)
5619
    ## ipv4-route.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4Route::GetSource() const [member function]
5620
    cls.add_method('GetSource', 
5621
                   'ns3::Ipv4Address', 
5622
                   [], 
5623
                   is_const=True)
5624
    ## ipv4-route.h (module 'internet'): void ns3::Ipv4Route::SetDestination(ns3::Ipv4Address dest) [member function]
5625
    cls.add_method('SetDestination', 
5626
                   'void', 
5627
                   [param('ns3::Ipv4Address', 'dest')])
5628
    ## ipv4-route.h (module 'internet'): void ns3::Ipv4Route::SetGateway(ns3::Ipv4Address gw) [member function]
5629
    cls.add_method('SetGateway', 
5630
                   'void', 
5631
                   [param('ns3::Ipv4Address', 'gw')])
5632
    ## ipv4-route.h (module 'internet'): void ns3::Ipv4Route::SetOutputDevice(ns3::Ptr<ns3::NetDevice> outputDevice) [member function]
5633
    cls.add_method('SetOutputDevice', 
5634
                   'void', 
5635
                   [param('ns3::Ptr< ns3::NetDevice >', 'outputDevice')])
5636
    ## ipv4-route.h (module 'internet'): void ns3::Ipv4Route::SetSource(ns3::Ipv4Address src) [member function]
5637
    cls.add_method('SetSource', 
5638
                   'void', 
5639
                   [param('ns3::Ipv4Address', 'src')])
5640
    return
5641
5642
def register_Ns3Ipv4RoutingProtocol_methods(root_module, cls):
5643
    ## ipv4-routing-protocol.h (module 'internet'): ns3::Ipv4RoutingProtocol::Ipv4RoutingProtocol() [constructor]
5644
    cls.add_constructor([])
5645
    ## ipv4-routing-protocol.h (module 'internet'): ns3::Ipv4RoutingProtocol::Ipv4RoutingProtocol(ns3::Ipv4RoutingProtocol const & arg0) [copy constructor]
5646
    cls.add_constructor([param('ns3::Ipv4RoutingProtocol const &', 'arg0')])
5647
    ## ipv4-routing-protocol.h (module 'internet'): static ns3::TypeId ns3::Ipv4RoutingProtocol::GetTypeId() [member function]
5648
    cls.add_method('GetTypeId', 
5649
                   'ns3::TypeId', 
5650
                   [], 
5651
                   is_static=True)
5652
    ## ipv4-routing-protocol.h (module 'internet'): void ns3::Ipv4RoutingProtocol::NotifyAddAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function]
5653
    cls.add_method('NotifyAddAddress', 
5654
                   'void', 
5655
                   [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], 
5656
                   is_pure_virtual=True, is_virtual=True)
5657
    ## ipv4-routing-protocol.h (module 'internet'): void ns3::Ipv4RoutingProtocol::NotifyInterfaceDown(uint32_t interface) [member function]
5658
    cls.add_method('NotifyInterfaceDown', 
5659
                   'void', 
5660
                   [param('uint32_t', 'interface')], 
5661
                   is_pure_virtual=True, is_virtual=True)
5662
    ## ipv4-routing-protocol.h (module 'internet'): void ns3::Ipv4RoutingProtocol::NotifyInterfaceUp(uint32_t interface) [member function]
5663
    cls.add_method('NotifyInterfaceUp', 
5664
                   'void', 
5665
                   [param('uint32_t', 'interface')], 
5666
                   is_pure_virtual=True, is_virtual=True)
5667
    ## ipv4-routing-protocol.h (module 'internet'): void ns3::Ipv4RoutingProtocol::NotifyRemoveAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function]
5668
    cls.add_method('NotifyRemoveAddress', 
5669
                   'void', 
5670
                   [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], 
5671
                   is_pure_virtual=True, is_virtual=True)
5672
    ## ipv4-routing-protocol.h (module 'internet'): void ns3::Ipv4RoutingProtocol::PrintRoutingTable(ns3::Ptr<ns3::OutputStreamWrapper> stream) const [member function]
5673
    cls.add_method('PrintRoutingTable', 
5674
                   'void', 
5675
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')], 
5676
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5677
    ## ipv4-routing-protocol.h (module 'internet'): bool ns3::Ipv4RoutingProtocol::RouteInput(ns3::Ptr<const ns3::Packet> p, ns3::Ipv4Header const & header, ns3::Ptr<const ns3::NetDevice> idev, ns3::Callback<void,ns3::Ptr<ns3::Ipv4Route>,ns3::Ptr<const ns3::Packet>,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ucb, ns3::Callback<void,ns3::Ptr<ns3::Ipv4MulticastRoute>,ns3::Ptr<const ns3::Packet>,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> mcb, ns3::Callback<void,ns3::Ptr<const ns3::Packet>,const ns3::Ipv4Header&,unsigned int,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> lcb, ns3::Callback<void,ns3::Ptr<const ns3::Packet>,const ns3::Ipv4Header&,ns3::Socket::SocketErrno,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ecb) [member function]
5678
    cls.add_method('RouteInput', 
5679
                   'bool', 
5680
                   [param('ns3::Ptr< ns3::Packet const >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('ns3::Ptr< ns3::NetDevice const >', 'idev'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv4Route >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ucb'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv4MulticastRoute >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'mcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'lcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ecb')], 
5681
                   is_pure_virtual=True, is_virtual=True)
5682
    ## ipv4-routing-protocol.h (module 'internet'): ns3::Ptr<ns3::Ipv4Route> ns3::Ipv4RoutingProtocol::RouteOutput(ns3::Ptr<ns3::Packet> p, ns3::Ipv4Header const & header, ns3::Ptr<ns3::NetDevice> oif, ns3::Socket::SocketErrno & sockerr) [member function]
5683
    cls.add_method('RouteOutput', 
5684
                   'ns3::Ptr< ns3::Ipv4Route >', 
5685
                   [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('ns3::Ptr< ns3::NetDevice >', 'oif'), param('ns3::Socket::SocketErrno &', 'sockerr')], 
5686
                   is_pure_virtual=True, is_virtual=True)
5687
    ## ipv4-routing-protocol.h (module 'internet'): void ns3::Ipv4RoutingProtocol::SetIpv4(ns3::Ptr<ns3::Ipv4> ipv4) [member function]
5688
    cls.add_method('SetIpv4', 
5689
                   'void', 
5690
                   [param('ns3::Ptr< ns3::Ipv4 >', 'ipv4')], 
5691
                   is_pure_virtual=True, is_virtual=True)
5692
    return
5693
5694
def register_Ns3Ipv6_methods(root_module, cls):
5695
    ## ipv6.h (module 'internet'): ns3::Ipv6::Ipv6(ns3::Ipv6 const & arg0) [copy constructor]
5696
    cls.add_constructor([param('ns3::Ipv6 const &', 'arg0')])
5697
    ## ipv6.h (module 'internet'): ns3::Ipv6::Ipv6() [constructor]
5698
    cls.add_constructor([])
5699
    ## ipv6.h (module 'internet'): bool ns3::Ipv6::AddAddress(uint32_t interface, ns3::Ipv6InterfaceAddress address) [member function]
5700
    cls.add_method('AddAddress', 
5701
                   'bool', 
5702
                   [param('uint32_t', 'interface'), param('ns3::Ipv6InterfaceAddress', 'address')], 
5703
                   is_pure_virtual=True, is_virtual=True)
5704
    ## ipv6.h (module 'internet'): uint32_t ns3::Ipv6::AddInterface(ns3::Ptr<ns3::NetDevice> device) [member function]
5705
    cls.add_method('AddInterface', 
5706
                   'uint32_t', 
5707
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')], 
5708
                   is_pure_virtual=True, is_virtual=True)
5709
    ## ipv6.h (module 'internet'): ns3::Ipv6InterfaceAddress ns3::Ipv6::GetAddress(uint32_t interface, uint32_t addressIndex) const [member function]
5710
    cls.add_method('GetAddress', 
5711
                   'ns3::Ipv6InterfaceAddress', 
5712
                   [param('uint32_t', 'interface'), param('uint32_t', 'addressIndex')], 
5713
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5714
    ## ipv6.h (module 'internet'): int32_t ns3::Ipv6::GetInterfaceForAddress(ns3::Ipv6Address address) const [member function]
5715
    cls.add_method('GetInterfaceForAddress', 
5716
                   'int32_t', 
5717
                   [param('ns3::Ipv6Address', 'address')], 
5718
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5719
    ## ipv6.h (module 'internet'): int32_t ns3::Ipv6::GetInterfaceForDevice(ns3::Ptr<const ns3::NetDevice> device) const [member function]
5720
    cls.add_method('GetInterfaceForDevice', 
5721
                   'int32_t', 
5722
                   [param('ns3::Ptr< ns3::NetDevice const >', 'device')], 
5723
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5724
    ## ipv6.h (module 'internet'): int32_t ns3::Ipv6::GetInterfaceForPrefix(ns3::Ipv6Address address, ns3::Ipv6Prefix mask) const [member function]
5725
    cls.add_method('GetInterfaceForPrefix', 
5726
                   'int32_t', 
5727
                   [param('ns3::Ipv6Address', 'address'), param('ns3::Ipv6Prefix', 'mask')], 
5728
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5729
    ## ipv6.h (module 'internet'): uint16_t ns3::Ipv6::GetMetric(uint32_t interface) const [member function]
5730
    cls.add_method('GetMetric', 
5731
                   'uint16_t', 
5732
                   [param('uint32_t', 'interface')], 
5733
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5734
    ## ipv6.h (module 'internet'): uint16_t ns3::Ipv6::GetMtu(uint32_t interface) const [member function]
5735
    cls.add_method('GetMtu', 
5736
                   'uint16_t', 
5737
                   [param('uint32_t', 'interface')], 
5738
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5739
    ## ipv6.h (module 'internet'): uint32_t ns3::Ipv6::GetNAddresses(uint32_t interface) const [member function]
5740
    cls.add_method('GetNAddresses', 
5741
                   'uint32_t', 
5742
                   [param('uint32_t', 'interface')], 
5743
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5744
    ## ipv6.h (module 'internet'): uint32_t ns3::Ipv6::GetNInterfaces() const [member function]
5745
    cls.add_method('GetNInterfaces', 
5746
                   'uint32_t', 
5747
                   [], 
5748
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5749
    ## ipv6.h (module 'internet'): ns3::Ptr<ns3::NetDevice> ns3::Ipv6::GetNetDevice(uint32_t interface) [member function]
5750
    cls.add_method('GetNetDevice', 
5751
                   'ns3::Ptr< ns3::NetDevice >', 
5752
                   [param('uint32_t', 'interface')], 
5753
                   is_pure_virtual=True, is_virtual=True)
5754
    ## ipv6.h (module 'internet'): ns3::Ptr<ns3::Ipv6RoutingProtocol> ns3::Ipv6::GetRoutingProtocol() const [member function]
5755
    cls.add_method('GetRoutingProtocol', 
5756
                   'ns3::Ptr< ns3::Ipv6RoutingProtocol >', 
5757
                   [], 
5758
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5759
    ## ipv6.h (module 'internet'): static ns3::TypeId ns3::Ipv6::GetTypeId() [member function]
5760
    cls.add_method('GetTypeId', 
5761
                   'ns3::TypeId', 
5762
                   [], 
5763
                   is_static=True)
5764
    ## ipv6.h (module 'internet'): bool ns3::Ipv6::IsForwarding(uint32_t interface) const [member function]
5765
    cls.add_method('IsForwarding', 
5766
                   'bool', 
5767
                   [param('uint32_t', 'interface')], 
5768
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5769
    ## ipv6.h (module 'internet'): bool ns3::Ipv6::IsUp(uint32_t interface) const [member function]
5770
    cls.add_method('IsUp', 
5771
                   'bool', 
5772
                   [param('uint32_t', 'interface')], 
5773
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5774
    ## ipv6.h (module 'internet'): void ns3::Ipv6::RegisterExtensions() [member function]
5775
    cls.add_method('RegisterExtensions', 
5776
                   'void', 
5777
                   [], 
5778
                   is_pure_virtual=True, is_virtual=True)
5779
    ## ipv6.h (module 'internet'): void ns3::Ipv6::RegisterOptions() [member function]
5780
    cls.add_method('RegisterOptions', 
5781
                   'void', 
5782
                   [], 
5783
                   is_pure_virtual=True, is_virtual=True)
5784
    ## ipv6.h (module 'internet'): bool ns3::Ipv6::RemoveAddress(uint32_t interface, uint32_t addressIndex) [member function]
5785
    cls.add_method('RemoveAddress', 
5786
                   'bool', 
5787
                   [param('uint32_t', 'interface'), param('uint32_t', 'addressIndex')], 
5788
                   is_pure_virtual=True, is_virtual=True)
5789
    ## ipv6.h (module 'internet'): void ns3::Ipv6::SetDown(uint32_t interface) [member function]
5790
    cls.add_method('SetDown', 
5791
                   'void', 
5792
                   [param('uint32_t', 'interface')], 
5793
                   is_pure_virtual=True, is_virtual=True)
5794
    ## ipv6.h (module 'internet'): void ns3::Ipv6::SetForwarding(uint32_t interface, bool val) [member function]
5795
    cls.add_method('SetForwarding', 
5796
                   'void', 
5797
                   [param('uint32_t', 'interface'), param('bool', 'val')], 
5798
                   is_pure_virtual=True, is_virtual=True)
5799
    ## ipv6.h (module 'internet'): void ns3::Ipv6::SetMetric(uint32_t interface, uint16_t metric) [member function]
5800
    cls.add_method('SetMetric', 
5801
                   'void', 
5802
                   [param('uint32_t', 'interface'), param('uint16_t', 'metric')], 
5803
                   is_pure_virtual=True, is_virtual=True)
5804
    ## ipv6.h (module 'internet'): void ns3::Ipv6::SetRoutingProtocol(ns3::Ptr<ns3::Ipv6RoutingProtocol> routingProtocol) [member function]
5805
    cls.add_method('SetRoutingProtocol', 
5806
                   'void', 
5807
                   [param('ns3::Ptr< ns3::Ipv6RoutingProtocol >', 'routingProtocol')], 
5808
                   is_pure_virtual=True, is_virtual=True)
5809
    ## ipv6.h (module 'internet'): void ns3::Ipv6::SetUp(uint32_t interface) [member function]
5810
    cls.add_method('SetUp', 
5811
                   'void', 
5812
                   [param('uint32_t', 'interface')], 
5813
                   is_pure_virtual=True, is_virtual=True)
5814
    ## ipv6.h (module 'internet'): ns3::Ipv6::IF_ANY [variable]
5815
    cls.add_static_attribute('IF_ANY', 'uint32_t const', is_const=True)
5816
    ## ipv6.h (module 'internet'): bool ns3::Ipv6::GetIpForward() const [member function]
5817
    cls.add_method('GetIpForward', 
5818
                   'bool', 
5819
                   [], 
5820
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
5821
    ## ipv6.h (module 'internet'): void ns3::Ipv6::SetIpForward(bool forward) [member function]
5822
    cls.add_method('SetIpForward', 
5823
                   'void', 
5824
                   [param('bool', 'forward')], 
5825
                   is_pure_virtual=True, visibility='private', is_virtual=True)
5826
    return
5827
5828
def register_Ns3Ipv6AddressChecker_methods(root_module, cls):
3867
def register_Ns3Ipv6AddressChecker_methods(root_module, cls):
5829
    ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker::Ipv6AddressChecker() [constructor]
3868
    ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker::Ipv6AddressChecker() [constructor]
5830
    cls.add_constructor([])
3869
    cls.add_constructor([])
 Lines 5865-6067    Link Here 
5865
                   [param('ns3::Ipv6Address const &', 'value')])
3904
                   [param('ns3::Ipv6Address const &', 'value')])
5866
    return
3905
    return
5867
3906
5868
def register_Ns3Ipv6L3Protocol_methods(root_module, cls):
5869
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ipv6L3Protocol::PROT_NUMBER [variable]
5870
    cls.add_static_attribute('PROT_NUMBER', 'uint16_t const', is_const=True)
5871
    ## ipv6-l3-protocol.h (module 'internet'): static ns3::TypeId ns3::Ipv6L3Protocol::GetTypeId() [member function]
5872
    cls.add_method('GetTypeId', 
5873
                   'ns3::TypeId', 
5874
                   [], 
5875
                   is_static=True)
5876
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ipv6L3Protocol::Ipv6L3Protocol() [constructor]
5877
    cls.add_constructor([])
5878
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::SetNode(ns3::Ptr<ns3::Node> node) [member function]
5879
    cls.add_method('SetNode', 
5880
                   'void', 
5881
                   [param('ns3::Ptr< ns3::Node >', 'node')])
5882
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::Insert(ns3::Ptr<ns3::Ipv6L4Protocol> protocol) [member function]
5883
    cls.add_method('Insert', 
5884
                   'void', 
5885
                   [param('ns3::Ptr< ns3::Ipv6L4Protocol >', 'protocol')])
5886
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::Remove(ns3::Ptr<ns3::Ipv6L4Protocol> protocol) [member function]
5887
    cls.add_method('Remove', 
5888
                   'void', 
5889
                   [param('ns3::Ptr< ns3::Ipv6L4Protocol >', 'protocol')])
5890
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::Ipv6L4Protocol> ns3::Ipv6L3Protocol::GetProtocol(int protocolNumber) const [member function]
5891
    cls.add_method('GetProtocol', 
5892
                   'ns3::Ptr< ns3::Ipv6L4Protocol >', 
5893
                   [param('int', 'protocolNumber')], 
5894
                   is_const=True)
5895
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::Socket> ns3::Ipv6L3Protocol::CreateRawSocket() [member function]
5896
    cls.add_method('CreateRawSocket', 
5897
                   'ns3::Ptr< ns3::Socket >', 
5898
                   [])
5899
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::DeleteRawSocket(ns3::Ptr<ns3::Socket> socket) [member function]
5900
    cls.add_method('DeleteRawSocket', 
5901
                   'void', 
5902
                   [param('ns3::Ptr< ns3::Socket >', 'socket')])
5903
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::SetDefaultTtl(uint8_t ttl) [member function]
5904
    cls.add_method('SetDefaultTtl', 
5905
                   'void', 
5906
                   [param('uint8_t', 'ttl')])
5907
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::Receive(ns3::Ptr<ns3::NetDevice> device, ns3::Ptr<const ns3::Packet> p, uint16_t protocol, ns3::Address const & from, ns3::Address const & to, ns3::NetDevice::PacketType packetType) [member function]
5908
    cls.add_method('Receive', 
5909
                   'void', 
5910
                   [param('ns3::Ptr< ns3::NetDevice >', 'device'), param('ns3::Ptr< ns3::Packet const >', 'p'), param('uint16_t', 'protocol'), param('ns3::Address const &', 'from'), param('ns3::Address const &', 'to'), param('ns3::NetDevice::PacketType', 'packetType')])
5911
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::Send(ns3::Ptr<ns3::Packet> packet, ns3::Ipv6Address source, ns3::Ipv6Address destination, uint8_t protocol, ns3::Ptr<ns3::Ipv6Route> route) [member function]
5912
    cls.add_method('Send', 
5913
                   'void', 
5914
                   [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv6Address', 'source'), param('ns3::Ipv6Address', 'destination'), param('uint8_t', 'protocol'), param('ns3::Ptr< ns3::Ipv6Route >', 'route')])
5915
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::SetRoutingProtocol(ns3::Ptr<ns3::Ipv6RoutingProtocol> routingProtocol) [member function]
5916
    cls.add_method('SetRoutingProtocol', 
5917
                   'void', 
5918
                   [param('ns3::Ptr< ns3::Ipv6RoutingProtocol >', 'routingProtocol')], 
5919
                   is_virtual=True)
5920
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::Ipv6RoutingProtocol> ns3::Ipv6L3Protocol::GetRoutingProtocol() const [member function]
5921
    cls.add_method('GetRoutingProtocol', 
5922
                   'ns3::Ptr< ns3::Ipv6RoutingProtocol >', 
5923
                   [], 
5924
                   is_const=True, is_virtual=True)
5925
    ## ipv6-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv6L3Protocol::AddInterface(ns3::Ptr<ns3::NetDevice> device) [member function]
5926
    cls.add_method('AddInterface', 
5927
                   'uint32_t', 
5928
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')], 
5929
                   is_virtual=True)
5930
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::Ipv6Interface> ns3::Ipv6L3Protocol::GetInterface(uint32_t i) const [member function]
5931
    cls.add_method('GetInterface', 
5932
                   'ns3::Ptr< ns3::Ipv6Interface >', 
5933
                   [param('uint32_t', 'i')], 
5934
                   is_const=True)
5935
    ## ipv6-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv6L3Protocol::GetNInterfaces() const [member function]
5936
    cls.add_method('GetNInterfaces', 
5937
                   'uint32_t', 
5938
                   [], 
5939
                   is_const=True, is_virtual=True)
5940
    ## ipv6-l3-protocol.h (module 'internet'): int32_t ns3::Ipv6L3Protocol::GetInterfaceForAddress(ns3::Ipv6Address addr) const [member function]
5941
    cls.add_method('GetInterfaceForAddress', 
5942
                   'int32_t', 
5943
                   [param('ns3::Ipv6Address', 'addr')], 
5944
                   is_const=True, is_virtual=True)
5945
    ## ipv6-l3-protocol.h (module 'internet'): int32_t ns3::Ipv6L3Protocol::GetInterfaceForPrefix(ns3::Ipv6Address addr, ns3::Ipv6Prefix mask) const [member function]
5946
    cls.add_method('GetInterfaceForPrefix', 
5947
                   'int32_t', 
5948
                   [param('ns3::Ipv6Address', 'addr'), param('ns3::Ipv6Prefix', 'mask')], 
5949
                   is_const=True, is_virtual=True)
5950
    ## ipv6-l3-protocol.h (module 'internet'): int32_t ns3::Ipv6L3Protocol::GetInterfaceForDevice(ns3::Ptr<const ns3::NetDevice> device) const [member function]
5951
    cls.add_method('GetInterfaceForDevice', 
5952
                   'int32_t', 
5953
                   [param('ns3::Ptr< ns3::NetDevice const >', 'device')], 
5954
                   is_const=True, is_virtual=True)
5955
    ## ipv6-l3-protocol.h (module 'internet'): bool ns3::Ipv6L3Protocol::AddAddress(uint32_t i, ns3::Ipv6InterfaceAddress address) [member function]
5956
    cls.add_method('AddAddress', 
5957
                   'bool', 
5958
                   [param('uint32_t', 'i'), param('ns3::Ipv6InterfaceAddress', 'address')], 
5959
                   is_virtual=True)
5960
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ipv6InterfaceAddress ns3::Ipv6L3Protocol::GetAddress(uint32_t interfaceIndex, uint32_t addressIndex) const [member function]
5961
    cls.add_method('GetAddress', 
5962
                   'ns3::Ipv6InterfaceAddress', 
5963
                   [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], 
5964
                   is_const=True, is_virtual=True)
5965
    ## ipv6-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv6L3Protocol::GetNAddresses(uint32_t interface) const [member function]
5966
    cls.add_method('GetNAddresses', 
5967
                   'uint32_t', 
5968
                   [param('uint32_t', 'interface')], 
5969
                   is_const=True, is_virtual=True)
5970
    ## ipv6-l3-protocol.h (module 'internet'): bool ns3::Ipv6L3Protocol::RemoveAddress(uint32_t interfaceIndex, uint32_t addressIndex) [member function]
5971
    cls.add_method('RemoveAddress', 
5972
                   'bool', 
5973
                   [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], 
5974
                   is_virtual=True)
5975
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::SetMetric(uint32_t i, uint16_t metric) [member function]
5976
    cls.add_method('SetMetric', 
5977
                   'void', 
5978
                   [param('uint32_t', 'i'), param('uint16_t', 'metric')], 
5979
                   is_virtual=True)
5980
    ## ipv6-l3-protocol.h (module 'internet'): uint16_t ns3::Ipv6L3Protocol::GetMetric(uint32_t i) const [member function]
5981
    cls.add_method('GetMetric', 
5982
                   'uint16_t', 
5983
                   [param('uint32_t', 'i')], 
5984
                   is_const=True, is_virtual=True)
5985
    ## ipv6-l3-protocol.h (module 'internet'): uint16_t ns3::Ipv6L3Protocol::GetMtu(uint32_t i) const [member function]
5986
    cls.add_method('GetMtu', 
5987
                   'uint16_t', 
5988
                   [param('uint32_t', 'i')], 
5989
                   is_const=True, is_virtual=True)
5990
    ## ipv6-l3-protocol.h (module 'internet'): bool ns3::Ipv6L3Protocol::IsUp(uint32_t i) const [member function]
5991
    cls.add_method('IsUp', 
5992
                   'bool', 
5993
                   [param('uint32_t', 'i')], 
5994
                   is_const=True, is_virtual=True)
5995
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::SetUp(uint32_t i) [member function]
5996
    cls.add_method('SetUp', 
5997
                   'void', 
5998
                   [param('uint32_t', 'i')], 
5999
                   is_virtual=True)
6000
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::SetDown(uint32_t i) [member function]
6001
    cls.add_method('SetDown', 
6002
                   'void', 
6003
                   [param('uint32_t', 'i')], 
6004
                   is_virtual=True)
6005
    ## ipv6-l3-protocol.h (module 'internet'): bool ns3::Ipv6L3Protocol::IsForwarding(uint32_t i) const [member function]
6006
    cls.add_method('IsForwarding', 
6007
                   'bool', 
6008
                   [param('uint32_t', 'i')], 
6009
                   is_const=True, is_virtual=True)
6010
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::SetForwarding(uint32_t i, bool val) [member function]
6011
    cls.add_method('SetForwarding', 
6012
                   'void', 
6013
                   [param('uint32_t', 'i'), param('bool', 'val')], 
6014
                   is_virtual=True)
6015
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::NetDevice> ns3::Ipv6L3Protocol::GetNetDevice(uint32_t i) [member function]
6016
    cls.add_method('GetNetDevice', 
6017
                   'ns3::Ptr< ns3::NetDevice >', 
6018
                   [param('uint32_t', 'i')], 
6019
                   is_virtual=True)
6020
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::Icmpv6L4Protocol> ns3::Ipv6L3Protocol::GetIcmpv6() const [member function]
6021
    cls.add_method('GetIcmpv6', 
6022
                   'ns3::Ptr< ns3::Icmpv6L4Protocol >', 
6023
                   [], 
6024
                   is_const=True)
6025
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::AddAutoconfiguredAddress(uint32_t interface, ns3::Ipv6Address network, ns3::Ipv6Prefix mask, uint8_t flags, uint32_t validTime, uint32_t preferredTime, ns3::Ipv6Address defaultRouter=ns3::Ipv6Address::GetZero( )) [member function]
6026
    cls.add_method('AddAutoconfiguredAddress', 
6027
                   'void', 
6028
                   [param('uint32_t', 'interface'), param('ns3::Ipv6Address', 'network'), param('ns3::Ipv6Prefix', 'mask'), param('uint8_t', 'flags'), param('uint32_t', 'validTime'), param('uint32_t', 'preferredTime'), param('ns3::Ipv6Address', 'defaultRouter', default_value='ns3::Ipv6Address::GetZero( )')])
6029
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::RemoveAutoconfiguredAddress(uint32_t interface, ns3::Ipv6Address network, ns3::Ipv6Prefix mask, ns3::Ipv6Address defaultRouter) [member function]
6030
    cls.add_method('RemoveAutoconfiguredAddress', 
6031
                   'void', 
6032
                   [param('uint32_t', 'interface'), param('ns3::Ipv6Address', 'network'), param('ns3::Ipv6Prefix', 'mask'), param('ns3::Ipv6Address', 'defaultRouter')])
6033
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::RegisterExtensions() [member function]
6034
    cls.add_method('RegisterExtensions', 
6035
                   'void', 
6036
                   [], 
6037
                   is_virtual=True)
6038
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::RegisterOptions() [member function]
6039
    cls.add_method('RegisterOptions', 
6040
                   'void', 
6041
                   [], 
6042
                   is_virtual=True)
6043
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::DoDispose() [member function]
6044
    cls.add_method('DoDispose', 
6045
                   'void', 
6046
                   [], 
6047
                   visibility='protected', is_virtual=True)
6048
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::NotifyNewAggregate() [member function]
6049
    cls.add_method('NotifyNewAggregate', 
6050
                   'void', 
6051
                   [], 
6052
                   visibility='protected', is_virtual=True)
6053
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::SetIpForward(bool forward) [member function]
6054
    cls.add_method('SetIpForward', 
6055
                   'void', 
6056
                   [param('bool', 'forward')], 
6057
                   visibility='private', is_virtual=True)
6058
    ## ipv6-l3-protocol.h (module 'internet'): bool ns3::Ipv6L3Protocol::GetIpForward() const [member function]
6059
    cls.add_method('GetIpForward', 
6060
                   'bool', 
6061
                   [], 
6062
                   is_const=True, visibility='private', is_virtual=True)
6063
    return
6064
6065
def register_Ns3Ipv6PrefixChecker_methods(root_module, cls):
3907
def register_Ns3Ipv6PrefixChecker_methods(root_module, cls):
6066
    ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker::Ipv6PrefixChecker() [constructor]
3908
    ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker::Ipv6PrefixChecker() [constructor]
6067
    cls.add_constructor([])
3909
    cls.add_constructor([])
(-)a/src/csma/examples/csma-broadcast.cc (+1 lines)
 Lines 36-41    Link Here 
36
#include "ns3/network-module.h"
36
#include "ns3/network-module.h"
37
#include "ns3/csma-module.h"
37
#include "ns3/csma-module.h"
38
#include "ns3/applications-module.h"
38
#include "ns3/applications-module.h"
39
#include "ns3/internet-module.h"
39
40
40
using namespace ns3;
41
using namespace ns3;
41
42
(-)a/src/csma/examples/csma-multicast.cc (-2 / +1 lines)
 Lines 36-43    Link Here 
36
#include "ns3/network-module.h"
36
#include "ns3/network-module.h"
37
#include "ns3/csma-module.h"
37
#include "ns3/csma-module.h"
38
#include "ns3/applications-module.h"
38
#include "ns3/applications-module.h"
39
#include "ns3/ipv4-static-routing-helper.h"
39
#include "ns3/internet-module.h"
40
#include "ns3/ipv4-list-routing-helper.h"
41
40
42
using namespace ns3;
41
using namespace ns3;
43
42
(-)a/src/csma/examples/csma-one-subnet.cc (+1 lines)
 Lines 32-37    Link Here 
32
#include "ns3/network-module.h"
32
#include "ns3/network-module.h"
33
#include "ns3/csma-module.h"
33
#include "ns3/csma-module.h"
34
#include "ns3/applications-module.h"
34
#include "ns3/applications-module.h"
35
#include "ns3/internet-module.h"
35
36
36
using namespace ns3;
37
using namespace ns3;
37
38
(-)a/src/csma/examples/csma-ping.cc (+1 lines)
 Lines 32-37    Link Here 
32
#include "ns3/network-module.h"
32
#include "ns3/network-module.h"
33
#include "ns3/csma-module.h"
33
#include "ns3/csma-module.h"
34
#include "ns3/applications-module.h"
34
#include "ns3/applications-module.h"
35
#include "ns3/internet-module.h"
35
36
36
using namespace ns3;
37
using namespace ns3;
37
38
(-)a/src/csma/examples/csma-raw-ip-socket.cc (+1 lines)
 Lines 35-40    Link Here 
35
#include "ns3/network-module.h"
35
#include "ns3/network-module.h"
36
#include "ns3/csma-module.h"
36
#include "ns3/csma-module.h"
37
#include "ns3/applications-module.h"
37
#include "ns3/applications-module.h"
38
#include "ns3/internet-module.h"
38
39
39
using namespace ns3;
40
using namespace ns3;
40
41
(-)a/src/csma/examples/wscript (-3 lines)
 Lines 13-21    Link Here 
13
    obj = bld.create_ns3_program('csma-multicast', ['csma', 'internet'])
13
    obj = bld.create_ns3_program('csma-multicast', ['csma', 'internet'])
14
    obj.source = 'csma-multicast.cc'
14
    obj.source = 'csma-multicast.cc'
15
15
16
    obj = bld.create_ns3_program('csma-star', ['csma', 'internet'])
17
    obj.source = 'csma-star.cc'
18
19
    obj = bld.create_ns3_program('csma-raw-ip-socket', ['csma', 'internet'])
16
    obj = bld.create_ns3_program('csma-raw-ip-socket', ['csma', 'internet'])
20
    obj.source = 'csma-raw-ip-socket.cc'
17
    obj.source = 'csma-raw-ip-socket.cc'
21
18
(-)a/src/csma/wscript (-3 / +1 lines)
 Lines 1-13    Link Here 
1
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
1
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
2
2
3
def build(bld):
3
def build(bld):
4
    obj = bld.create_ns3_module('csma', ['network', 'point-to-point', 'applications', 'netanim'])
4
    obj = bld.create_ns3_module('csma', ['network', 'applications'])
5
    obj.source = [
5
    obj.source = [
6
        'model/backoff.cc',
6
        'model/backoff.cc',
7
        'model/csma-net-device.cc',
7
        'model/csma-net-device.cc',
8
        'model/csma-channel.cc',
8
        'model/csma-channel.cc',
9
        'helper/csma-helper.cc',
9
        'helper/csma-helper.cc',
10
        'helper/csma-star-helper.cc',
11
        ]
10
        ]
12
    headers = bld.new_task_gen('ns3header')
11
    headers = bld.new_task_gen('ns3header')
13
    headers.module = 'csma'
12
    headers.module = 'csma'
 Lines 16-22    Link Here 
16
        'model/csma-net-device.h',
15
        'model/csma-net-device.h',
17
        'model/csma-channel.h',
16
        'model/csma-channel.h',
18
        'helper/csma-helper.h',
17
        'helper/csma-helper.h',
19
        'helper/csma-star-helper.h',
20
        ]
18
        ]
21
19
22
    if bld.env['ENABLE_EXAMPLES']:
20
    if bld.env['ENABLE_EXAMPLES']:
(-)a/src/energy/bindings/modulegen__gcc_ILP32.py (-2 / +2 lines)
 Lines 22-31    Link Here 
22
    
22
    
23
    ## wifi-mode.h (module 'wifi'): ns3::WifiCodeRate [enumeration]
23
    ## wifi-mode.h (module 'wifi'): ns3::WifiCodeRate [enumeration]
24
    module.add_enum('WifiCodeRate', ['WIFI_CODE_RATE_UNDEFINED', 'WIFI_CODE_RATE_3_4', 'WIFI_CODE_RATE_2_3', 'WIFI_CODE_RATE_1_2'], import_from_module='ns.wifi')
24
    module.add_enum('WifiCodeRate', ['WIFI_CODE_RATE_UNDEFINED', 'WIFI_CODE_RATE_3_4', 'WIFI_CODE_RATE_2_3', 'WIFI_CODE_RATE_1_2'], import_from_module='ns.wifi')
25
    ## wifi-preamble.h (module 'wifi'): ns3::WifiPreamble [enumeration]
26
    module.add_enum('WifiPreamble', ['WIFI_PREAMBLE_LONG', 'WIFI_PREAMBLE_SHORT'], import_from_module='ns.wifi')
25
    ## wifi-phy-standard.h (module 'wifi'): ns3::WifiPhyStandard [enumeration]
27
    ## wifi-phy-standard.h (module 'wifi'): ns3::WifiPhyStandard [enumeration]
26
    module.add_enum('WifiPhyStandard', ['WIFI_PHY_STANDARD_80211a', 'WIFI_PHY_STANDARD_80211b', 'WIFI_PHY_STANDARD_80211g', 'WIFI_PHY_STANDARD_80211_10Mhz', 'WIFI_PHY_STANDARD_80211_5Mhz', 'WIFI_PHY_STANDARD_holland', 'WIFI_PHY_STANDARD_80211p_CCH', 'WIFI_PHY_STANDARD_80211p_SCH'], import_from_module='ns.wifi')
28
    module.add_enum('WifiPhyStandard', ['WIFI_PHY_STANDARD_80211a', 'WIFI_PHY_STANDARD_80211b', 'WIFI_PHY_STANDARD_80211g', 'WIFI_PHY_STANDARD_80211_10Mhz', 'WIFI_PHY_STANDARD_80211_5Mhz', 'WIFI_PHY_STANDARD_holland', 'WIFI_PHY_STANDARD_80211p_CCH', 'WIFI_PHY_STANDARD_80211p_SCH'], import_from_module='ns.wifi')
27
    ## wifi-preamble.h (module 'wifi'): ns3::WifiPreamble [enumeration]
28
    module.add_enum('WifiPreamble', ['WIFI_PREAMBLE_LONG', 'WIFI_PREAMBLE_SHORT'], import_from_module='ns.wifi')
29
    ## wifi-mode.h (module 'wifi'): ns3::WifiModulationClass [enumeration]
29
    ## wifi-mode.h (module 'wifi'): ns3::WifiModulationClass [enumeration]
30
    module.add_enum('WifiModulationClass', ['WIFI_MOD_CLASS_UNKNOWN', 'WIFI_MOD_CLASS_IR', 'WIFI_MOD_CLASS_FHSS', 'WIFI_MOD_CLASS_DSSS', 'WIFI_MOD_CLASS_ERP_PBCC', 'WIFI_MOD_CLASS_DSSS_OFDM', 'WIFI_MOD_CLASS_ERP_OFDM', 'WIFI_MOD_CLASS_OFDM', 'WIFI_MOD_CLASS_HT'], import_from_module='ns.wifi')
30
    module.add_enum('WifiModulationClass', ['WIFI_MOD_CLASS_UNKNOWN', 'WIFI_MOD_CLASS_IR', 'WIFI_MOD_CLASS_FHSS', 'WIFI_MOD_CLASS_DSSS', 'WIFI_MOD_CLASS_ERP_PBCC', 'WIFI_MOD_CLASS_DSSS_OFDM', 'WIFI_MOD_CLASS_ERP_OFDM', 'WIFI_MOD_CLASS_OFDM', 'WIFI_MOD_CLASS_HT'], import_from_module='ns.wifi')
31
    ## address.h (module 'network'): ns3::Address [class]
31
    ## address.h (module 'network'): ns3::Address [class]
(-)a/src/lte/bindings/callbacks_list.py (-1 / +1 lines)
 Lines 1-8    Link Here 
1
callback_classes = [
1
callback_classes = [
2
    ['void', 'ns3::Ptr<ns3::Packet>', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
2
    ['void', 'ns3::Ptr<ns3::Packet>', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
3
    ['bool', 'ns3::Ptr<ns3::Packet>', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
4
    ['void', 'ns3::Ptr<ns3::NetDevice>', 'ns3::Ptr<ns3::Packet const>', 'unsigned short', 'ns3::Address const&', 'ns3::Address const&', 'ns3::NetDevice::PacketType', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
3
    ['void', 'ns3::Ptr<ns3::NetDevice>', 'ns3::Ptr<ns3::Packet const>', 'unsigned short', 'ns3::Address const&', 'ns3::Address const&', 'ns3::NetDevice::PacketType', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
5
    ['void', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
4
    ['void', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
5
    ['bool', 'ns3::Ptr<ns3::Packet>', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
6
    ['bool', 'ns3::Ptr<ns3::NetDevice>', 'ns3::Ptr<ns3::Packet const>', 'unsigned short', 'ns3::Address const&', 'ns3::Address const&', 'ns3::NetDevice::PacketType', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
6
    ['bool', 'ns3::Ptr<ns3::NetDevice>', 'ns3::Ptr<ns3::Packet const>', 'unsigned short', 'ns3::Address const&', 'ns3::Address const&', 'ns3::NetDevice::PacketType', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
7
    ['bool', 'ns3::Ptr<ns3::NetDevice>', 'ns3::Ptr<ns3::Packet const>', 'unsigned short', 'ns3::Address const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
7
    ['bool', 'ns3::Ptr<ns3::NetDevice>', 'ns3::Ptr<ns3::Packet const>', 'unsigned short', 'ns3::Address const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
8
    ['void', 'ns3::Ptr<ns3::Packet const>', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
8
    ['void', 'ns3::Ptr<ns3::Packet const>', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
(-)a/src/lte/bindings/modulegen__gcc_ILP32.py (-3 / +3 lines)
 Lines 446-454    Link Here 
446
    typehandlers.add_type_alias('std::vector< ns3::BandInfo, std::allocator< ns3::BandInfo > >', 'ns3::Bands')
446
    typehandlers.add_type_alias('std::vector< ns3::BandInfo, std::allocator< ns3::BandInfo > >', 'ns3::Bands')
447
    typehandlers.add_type_alias('std::vector< ns3::BandInfo, std::allocator< ns3::BandInfo > >*', 'ns3::Bands*')
447
    typehandlers.add_type_alias('std::vector< ns3::BandInfo, std::allocator< ns3::BandInfo > >*', 'ns3::Bands*')
448
    typehandlers.add_type_alias('std::vector< ns3::BandInfo, std::allocator< ns3::BandInfo > >&', 'ns3::Bands&')
448
    typehandlers.add_type_alias('std::vector< ns3::BandInfo, std::allocator< ns3::BandInfo > >&', 'ns3::Bands&')
449
    typehandlers.add_type_alias('ns3::Callback< bool, ns3::Ptr< ns3::Packet >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ns3::GenericPhyTxStartCallback')
450
    typehandlers.add_type_alias('ns3::Callback< bool, ns3::Ptr< ns3::Packet >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >*', 'ns3::GenericPhyTxStartCallback*')
451
    typehandlers.add_type_alias('ns3::Callback< bool, ns3::Ptr< ns3::Packet >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >&', 'ns3::GenericPhyTxStartCallback&')
452
    typehandlers.add_type_alias('ns3::Vector3DValue', 'ns3::VectorValue')
449
    typehandlers.add_type_alias('ns3::Vector3DValue', 'ns3::VectorValue')
453
    typehandlers.add_type_alias('ns3::Vector3DValue*', 'ns3::VectorValue*')
450
    typehandlers.add_type_alias('ns3::Vector3DValue*', 'ns3::VectorValue*')
454
    typehandlers.add_type_alias('ns3::Vector3DValue&', 'ns3::VectorValue&')
451
    typehandlers.add_type_alias('ns3::Vector3DValue&', 'ns3::VectorValue&')
 Lines 479-484    Link Here 
479
    typehandlers.add_type_alias('std::vector< double, std::allocator< double > >', 'ns3::Values')
476
    typehandlers.add_type_alias('std::vector< double, std::allocator< double > >', 'ns3::Values')
480
    typehandlers.add_type_alias('std::vector< double, std::allocator< double > >*', 'ns3::Values*')
477
    typehandlers.add_type_alias('std::vector< double, std::allocator< double > >*', 'ns3::Values*')
481
    typehandlers.add_type_alias('std::vector< double, std::allocator< double > >&', 'ns3::Values&')
478
    typehandlers.add_type_alias('std::vector< double, std::allocator< double > >&', 'ns3::Values&')
479
    typehandlers.add_type_alias('ns3::Callback< bool, ns3::Ptr< ns3::Packet >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ns3::GenericPhyTxStartCallback')
480
    typehandlers.add_type_alias('ns3::Callback< bool, ns3::Ptr< ns3::Packet >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >*', 'ns3::GenericPhyTxStartCallback*')
481
    typehandlers.add_type_alias('ns3::Callback< bool, ns3::Ptr< ns3::Packet >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >&', 'ns3::GenericPhyTxStartCallback&')
482
    typehandlers.add_type_alias('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ns3::GenericPhyTxEndCallback')
482
    typehandlers.add_type_alias('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ns3::GenericPhyTxEndCallback')
483
    typehandlers.add_type_alias('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >*', 'ns3::GenericPhyTxEndCallback*')
483
    typehandlers.add_type_alias('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >*', 'ns3::GenericPhyTxEndCallback*')
484
    typehandlers.add_type_alias('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >&', 'ns3::GenericPhyTxEndCallback&')
484
    typehandlers.add_type_alias('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >&', 'ns3::GenericPhyTxEndCallback&')
(-)a/src/lte/bindings/modulegen__gcc_LP64.py (-3 / +3 lines)
 Lines 446-454    Link Here 
446
    typehandlers.add_type_alias('std::vector< ns3::BandInfo, std::allocator< ns3::BandInfo > >', 'ns3::Bands')
446
    typehandlers.add_type_alias('std::vector< ns3::BandInfo, std::allocator< ns3::BandInfo > >', 'ns3::Bands')
447
    typehandlers.add_type_alias('std::vector< ns3::BandInfo, std::allocator< ns3::BandInfo > >*', 'ns3::Bands*')
447
    typehandlers.add_type_alias('std::vector< ns3::BandInfo, std::allocator< ns3::BandInfo > >*', 'ns3::Bands*')
448
    typehandlers.add_type_alias('std::vector< ns3::BandInfo, std::allocator< ns3::BandInfo > >&', 'ns3::Bands&')
448
    typehandlers.add_type_alias('std::vector< ns3::BandInfo, std::allocator< ns3::BandInfo > >&', 'ns3::Bands&')
449
    typehandlers.add_type_alias('ns3::Callback< bool, ns3::Ptr< ns3::Packet >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ns3::GenericPhyTxStartCallback')
450
    typehandlers.add_type_alias('ns3::Callback< bool, ns3::Ptr< ns3::Packet >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >*', 'ns3::GenericPhyTxStartCallback*')
451
    typehandlers.add_type_alias('ns3::Callback< bool, ns3::Ptr< ns3::Packet >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >&', 'ns3::GenericPhyTxStartCallback&')
452
    typehandlers.add_type_alias('ns3::Vector3DValue', 'ns3::VectorValue')
449
    typehandlers.add_type_alias('ns3::Vector3DValue', 'ns3::VectorValue')
453
    typehandlers.add_type_alias('ns3::Vector3DValue*', 'ns3::VectorValue*')
450
    typehandlers.add_type_alias('ns3::Vector3DValue*', 'ns3::VectorValue*')
454
    typehandlers.add_type_alias('ns3::Vector3DValue&', 'ns3::VectorValue&')
451
    typehandlers.add_type_alias('ns3::Vector3DValue&', 'ns3::VectorValue&')
 Lines 479-484    Link Here 
479
    typehandlers.add_type_alias('std::vector< double, std::allocator< double > >', 'ns3::Values')
476
    typehandlers.add_type_alias('std::vector< double, std::allocator< double > >', 'ns3::Values')
480
    typehandlers.add_type_alias('std::vector< double, std::allocator< double > >*', 'ns3::Values*')
477
    typehandlers.add_type_alias('std::vector< double, std::allocator< double > >*', 'ns3::Values*')
481
    typehandlers.add_type_alias('std::vector< double, std::allocator< double > >&', 'ns3::Values&')
478
    typehandlers.add_type_alias('std::vector< double, std::allocator< double > >&', 'ns3::Values&')
479
    typehandlers.add_type_alias('ns3::Callback< bool, ns3::Ptr< ns3::Packet >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ns3::GenericPhyTxStartCallback')
480
    typehandlers.add_type_alias('ns3::Callback< bool, ns3::Ptr< ns3::Packet >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >*', 'ns3::GenericPhyTxStartCallback*')
481
    typehandlers.add_type_alias('ns3::Callback< bool, ns3::Ptr< ns3::Packet >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >&', 'ns3::GenericPhyTxStartCallback&')
482
    typehandlers.add_type_alias('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ns3::GenericPhyTxEndCallback')
482
    typehandlers.add_type_alias('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ns3::GenericPhyTxEndCallback')
483
    typehandlers.add_type_alias('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >*', 'ns3::GenericPhyTxEndCallback*')
483
    typehandlers.add_type_alias('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >*', 'ns3::GenericPhyTxEndCallback*')
484
    typehandlers.add_type_alias('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >&', 'ns3::GenericPhyTxEndCallback&')
484
    typehandlers.add_type_alias('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >&', 'ns3::GenericPhyTxEndCallback&')
(-)a/src/netanim/bindings/callbacks_list.py (-5 lines)
 Lines 1-7    Link Here 
1
callback_classes = [
1
callback_classes = [
2
    ['void', 'ns3::Ptr<ns3::Socket>', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
3
    ['void', 'ns3::Ptr<ns3::Socket>', 'unsigned int', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
4
    ['void', 'ns3::Ptr<ns3::Socket>', 'ns3::Address const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
5
    ['bool', 'ns3::Ptr<ns3::Socket>', 'ns3::Address const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
6
    ['void', 'ns3::Ptr<ns3::NetDevice>', 'ns3::Ptr<ns3::Packet const>', 'unsigned short', 'ns3::Address const&', 'ns3::Address const&', 'ns3::NetDevice::PacketType', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
7
]
2
]
(-)a/src/netanim/bindings/modulegen__gcc_ILP32.py (-4126 lines)
 Lines 28-145    Link Here 
28
    module.add_enum('MaxSize_e', ['MAX_SIZE'], outer_class=root_module['ns3::Address'], import_from_module='ns.network')
28
    module.add_enum('MaxSize_e', ['MAX_SIZE'], outer_class=root_module['ns3::Address'], import_from_module='ns.network')
29
    ## animation-interface.h (module 'netanim'): ns3::AnimationInterface [class]
29
    ## animation-interface.h (module 'netanim'): ns3::AnimationInterface [class]
30
    module.add_class('AnimationInterface')
30
    module.add_class('AnimationInterface')
31
    ## trace-helper.h (module 'network'): ns3::AsciiTraceHelper [class]
32
    module.add_class('AsciiTraceHelper', import_from_module='ns.network')
33
    ## trace-helper.h (module 'network'): ns3::AsciiTraceHelperForDevice [class]
34
    module.add_class('AsciiTraceHelperForDevice', allow_subclassing=True, import_from_module='ns.network')
35
    ## internet-trace-helper.h (module 'internet'): ns3::AsciiTraceHelperForIpv4 [class]
36
    module.add_class('AsciiTraceHelperForIpv4', allow_subclassing=True, import_from_module='ns.internet')
37
    ## internet-trace-helper.h (module 'internet'): ns3::AsciiTraceHelperForIpv6 [class]
38
    module.add_class('AsciiTraceHelperForIpv6', allow_subclassing=True, import_from_module='ns.internet')
39
    ## attribute-list.h (module 'core'): ns3::AttributeList [class]
31
    ## attribute-list.h (module 'core'): ns3::AttributeList [class]
40
    module.add_class('AttributeList', import_from_module='ns.core')
32
    module.add_class('AttributeList', import_from_module='ns.core')
41
    ## buffer.h (module 'network'): ns3::Buffer [class]
42
    module.add_class('Buffer', import_from_module='ns.network')
43
    ## buffer.h (module 'network'): ns3::Buffer::Iterator [class]
44
    module.add_class('Iterator', import_from_module='ns.network', outer_class=root_module['ns3::Buffer'])
45
    ## packet.h (module 'network'): ns3::ByteTagIterator [class]
46
    module.add_class('ByteTagIterator', import_from_module='ns.network')
47
    ## packet.h (module 'network'): ns3::ByteTagIterator::Item [class]
48
    module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::ByteTagIterator'])
49
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList [class]
50
    module.add_class('ByteTagList', import_from_module='ns.network')
51
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator [class]
52
    module.add_class('Iterator', import_from_module='ns.network', outer_class=root_module['ns3::ByteTagList'])
53
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item [struct]
54
    module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::ByteTagList::Iterator'])
55
    ## callback.h (module 'core'): ns3::CallbackBase [class]
33
    ## callback.h (module 'core'): ns3::CallbackBase [class]
56
    module.add_class('CallbackBase', import_from_module='ns.core')
34
    module.add_class('CallbackBase', import_from_module='ns.core')
57
    ## event-id.h (module 'core'): ns3::EventId [class]
58
    module.add_class('EventId', import_from_module='ns.core')
59
    ## ipv4-address.h (module 'network'): ns3::Ipv4Address [class]
35
    ## ipv4-address.h (module 'network'): ns3::Ipv4Address [class]
60
    module.add_class('Ipv4Address', import_from_module='ns.network')
36
    module.add_class('Ipv4Address', import_from_module='ns.network')
61
    ## ipv4-address.h (module 'network'): ns3::Ipv4Address [class]
37
    ## ipv4-address.h (module 'network'): ns3::Ipv4Address [class]
62
    root_module['ns3::Ipv4Address'].implicitly_converts_to(root_module['ns3::Address'])
38
    root_module['ns3::Ipv4Address'].implicitly_converts_to(root_module['ns3::Address'])
63
    ## ipv4-address-helper.h (module 'internet'): ns3::Ipv4AddressHelper [class]
64
    module.add_class('Ipv4AddressHelper', import_from_module='ns.internet')
65
    ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4InterfaceAddress [class]
66
    module.add_class('Ipv4InterfaceAddress', import_from_module='ns.internet')
67
    ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e [enumeration]
68
    module.add_enum('InterfaceAddressScope_e', ['HOST', 'LINK', 'GLOBAL'], outer_class=root_module['ns3::Ipv4InterfaceAddress'], import_from_module='ns.internet')
69
    ## ipv4-interface-container.h (module 'internet'): ns3::Ipv4InterfaceContainer [class]
70
    module.add_class('Ipv4InterfaceContainer', import_from_module='ns.internet')
71
    ## ipv4-address.h (module 'network'): ns3::Ipv4Mask [class]
39
    ## ipv4-address.h (module 'network'): ns3::Ipv4Mask [class]
72
    module.add_class('Ipv4Mask', import_from_module='ns.network')
40
    module.add_class('Ipv4Mask', import_from_module='ns.network')
73
    ## ipv6-address.h (module 'network'): ns3::Ipv6Address [class]
41
    ## ipv6-address.h (module 'network'): ns3::Ipv6Address [class]
74
    module.add_class('Ipv6Address', import_from_module='ns.network')
42
    module.add_class('Ipv6Address', import_from_module='ns.network')
75
    ## ipv6-address.h (module 'network'): ns3::Ipv6Address [class]
43
    ## ipv6-address.h (module 'network'): ns3::Ipv6Address [class]
76
    root_module['ns3::Ipv6Address'].implicitly_converts_to(root_module['ns3::Address'])
44
    root_module['ns3::Ipv6Address'].implicitly_converts_to(root_module['ns3::Address'])
77
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress [class]
78
    module.add_class('Ipv6InterfaceAddress', import_from_module='ns.internet')
79
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress::State_e [enumeration]
80
    module.add_enum('State_e', ['TENTATIVE', 'DEPRECATED', 'PREFERRED', 'PERMANENT', 'HOMEADDRESS', 'TENTATIVE_OPTIMISTIC', 'INVALID'], outer_class=root_module['ns3::Ipv6InterfaceAddress'], import_from_module='ns.internet')
81
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress::Scope_e [enumeration]
82
    module.add_enum('Scope_e', ['HOST', 'LINKLOCAL', 'GLOBAL'], outer_class=root_module['ns3::Ipv6InterfaceAddress'], import_from_module='ns.internet')
83
    ## ipv6-interface-container.h (module 'internet'): ns3::Ipv6InterfaceContainer [class]
84
    module.add_class('Ipv6InterfaceContainer', import_from_module='ns.internet')
85
    ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix [class]
45
    ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix [class]
86
    module.add_class('Ipv6Prefix', import_from_module='ns.network')
46
    module.add_class('Ipv6Prefix', import_from_module='ns.network')
87
    ## log.h (module 'core'): ns3::LogComponent [class]
47
    ## log.h (module 'core'): ns3::LogComponent [class]
88
    module.add_class('LogComponent', import_from_module='ns.core')
48
    module.add_class('LogComponent', import_from_module='ns.core')
89
    ## net-device-container.h (module 'network'): ns3::NetDeviceContainer [class]
90
    module.add_class('NetDeviceContainer', import_from_module='ns.network')
91
    ## node-container.h (module 'network'): ns3::NodeContainer [class]
92
    module.add_class('NodeContainer', import_from_module='ns.network')
93
    ## node-list.h (module 'network'): ns3::NodeList [class]
49
    ## node-list.h (module 'network'): ns3::NodeList [class]
94
    module.add_class('NodeList', import_from_module='ns.network')
50
    module.add_class('NodeList', import_from_module='ns.network')
95
    ## object-base.h (module 'core'): ns3::ObjectBase [class]
51
    ## object-base.h (module 'core'): ns3::ObjectBase [class]
96
    module.add_class('ObjectBase', allow_subclassing=True, import_from_module='ns.core')
52
    module.add_class('ObjectBase', allow_subclassing=True, import_from_module='ns.core')
97
    ## object.h (module 'core'): ns3::ObjectDeleter [struct]
53
    ## object.h (module 'core'): ns3::ObjectDeleter [struct]
98
    module.add_class('ObjectDeleter', import_from_module='ns.core')
54
    module.add_class('ObjectDeleter', import_from_module='ns.core')
99
    ## object-factory.h (module 'core'): ns3::ObjectFactory [class]
100
    module.add_class('ObjectFactory', import_from_module='ns.core')
101
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata [class]
102
    module.add_class('PacketMetadata', import_from_module='ns.network')
103
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item [struct]
104
    module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::PacketMetadata'])
105
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item [enumeration]
106
    module.add_enum('', ['PAYLOAD', 'HEADER', 'TRAILER'], outer_class=root_module['ns3::PacketMetadata::Item'], import_from_module='ns.network')
107
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator [class]
108
    module.add_class('ItemIterator', import_from_module='ns.network', outer_class=root_module['ns3::PacketMetadata'])
109
    ## packet.h (module 'network'): ns3::PacketTagIterator [class]
110
    module.add_class('PacketTagIterator', import_from_module='ns.network')
111
    ## packet.h (module 'network'): ns3::PacketTagIterator::Item [class]
112
    module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::PacketTagIterator'])
113
    ## packet-tag-list.h (module 'network'): ns3::PacketTagList [class]
114
    module.add_class('PacketTagList', import_from_module='ns.network')
115
    ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData [struct]
116
    module.add_class('TagData', import_from_module='ns.network', outer_class=root_module['ns3::PacketTagList'])
117
    ## pcap-file.h (module 'network'): ns3::PcapFile [class]
118
    module.add_class('PcapFile', import_from_module='ns.network')
119
    ## trace-helper.h (module 'network'): ns3::PcapHelper [class]
120
    module.add_class('PcapHelper', import_from_module='ns.network')
121
    ## trace-helper.h (module 'network'): ns3::PcapHelper [enumeration]
122
    module.add_enum('', ['DLT_NULL', 'DLT_EN10MB', 'DLT_PPP', 'DLT_RAW', 'DLT_IEEE802_11', 'DLT_PRISM_HEADER', 'DLT_IEEE802_11_RADIO'], outer_class=root_module['ns3::PcapHelper'], import_from_module='ns.network')
123
    ## trace-helper.h (module 'network'): ns3::PcapHelperForDevice [class]
124
    module.add_class('PcapHelperForDevice', allow_subclassing=True, import_from_module='ns.network')
125
    ## internet-trace-helper.h (module 'internet'): ns3::PcapHelperForIpv4 [class]
126
    module.add_class('PcapHelperForIpv4', allow_subclassing=True, import_from_module='ns.internet')
127
    ## internet-trace-helper.h (module 'internet'): ns3::PcapHelperForIpv6 [class]
128
    module.add_class('PcapHelperForIpv6', allow_subclassing=True, import_from_module='ns.internet')
129
    ## point-to-point-dumbbell-helper.h (module 'netanim'): ns3::PointToPointDumbbellHelper [class]
130
    module.add_class('PointToPointDumbbellHelper')
131
    ## point-to-point-grid-helper.h (module 'netanim'): ns3::PointToPointGridHelper [class]
132
    module.add_class('PointToPointGridHelper')
133
    ## point-to-point-helper.h (module 'point-to-point'): ns3::PointToPointHelper [class]
134
    module.add_class('PointToPointHelper', import_from_module='ns.point_to_point', parent=[root_module['ns3::PcapHelperForDevice'], root_module['ns3::AsciiTraceHelperForDevice']])
135
    ## point-to-point-star-helper.h (module 'netanim'): ns3::PointToPointStarHelper [class]
136
    module.add_class('PointToPointStarHelper')
137
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter> [class]
55
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter> [class]
138
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Object', 'ns3::ObjectBase', 'ns3::ObjectDeleter'], parent=root_module['ns3::ObjectBase'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
56
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Object', 'ns3::ObjectBase', 'ns3::ObjectDeleter'], parent=root_module['ns3::ObjectBase'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
139
    ## simulator.h (module 'core'): ns3::Simulator [class]
140
    module.add_class('Simulator', is_singleton=True, import_from_module='ns.core')
141
    ## tag.h (module 'network'): ns3::Tag [class]
142
    module.add_class('Tag', import_from_module='ns.network', parent=root_module['ns3::ObjectBase'])
143
    ## tag-buffer.h (module 'network'): ns3::TagBuffer [class]
57
    ## tag-buffer.h (module 'network'): ns3::TagBuffer [class]
144
    module.add_class('TagBuffer', import_from_module='ns.network')
58
    module.add_class('TagBuffer', import_from_module='ns.network')
145
    ## type-id.h (module 'core'): ns3::TypeId [class]
59
    ## type-id.h (module 'core'): ns3::TypeId [class]
 Lines 154-177    Link Here 
154
    module.add_class('empty', import_from_module='ns.core')
68
    module.add_class('empty', import_from_module='ns.core')
155
    ## int64x64-double.h (module 'core'): ns3::int64x64_t [class]
69
    ## int64x64-double.h (module 'core'): ns3::int64x64_t [class]
156
    module.add_class('int64x64_t', import_from_module='ns.core')
70
    module.add_class('int64x64_t', import_from_module='ns.core')
157
    ## chunk.h (module 'network'): ns3::Chunk [class]
158
    module.add_class('Chunk', import_from_module='ns.network', parent=root_module['ns3::ObjectBase'])
159
    ## header.h (module 'network'): ns3::Header [class]
160
    module.add_class('Header', import_from_module='ns.network', parent=root_module['ns3::Chunk'])
161
    ## internet-stack-helper.h (module 'internet'): ns3::InternetStackHelper [class]
162
    module.add_class('InternetStackHelper', import_from_module='ns.internet', parent=[root_module['ns3::PcapHelperForIpv4'], root_module['ns3::PcapHelperForIpv6'], root_module['ns3::AsciiTraceHelperForIpv4'], root_module['ns3::AsciiTraceHelperForIpv6']])
163
    ## ipv4-header.h (module 'internet'): ns3::Ipv4Header [class]
164
    module.add_class('Ipv4Header', import_from_module='ns.internet', parent=root_module['ns3::Header'])
165
    ## ipv6-header.h (module 'internet'): ns3::Ipv6Header [class]
166
    module.add_class('Ipv6Header', import_from_module='ns.internet', parent=root_module['ns3::Header'])
167
    ## ipv6-header.h (module 'internet'): ns3::Ipv6Header::NextHeader_e [enumeration]
168
    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'], import_from_module='ns.internet')
169
    ## object.h (module 'core'): ns3::Object [class]
71
    ## object.h (module 'core'): ns3::Object [class]
170
    module.add_class('Object', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >'])
72
    module.add_class('Object', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >'])
171
    ## object.h (module 'core'): ns3::Object::AggregateIterator [class]
73
    ## object.h (module 'core'): ns3::Object::AggregateIterator [class]
172
    module.add_class('AggregateIterator', import_from_module='ns.core', outer_class=root_module['ns3::Object'])
74
    module.add_class('AggregateIterator', import_from_module='ns.core', outer_class=root_module['ns3::Object'])
173
    ## pcap-file-wrapper.h (module 'network'): ns3::PcapFileWrapper [class]
174
    module.add_class('PcapFileWrapper', import_from_module='ns.network', parent=root_module['ns3::Object'])
175
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> > [class]
75
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> > [class]
176
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::AttributeAccessor', 'ns3::empty', 'ns3::DefaultDeleter<ns3::AttributeAccessor>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
76
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::AttributeAccessor', 'ns3::empty', 'ns3::DefaultDeleter<ns3::AttributeAccessor>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
177
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> > [class]
77
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> > [class]
 Lines 180-217    Link Here 
180
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::AttributeValue', 'ns3::empty', 'ns3::DefaultDeleter<ns3::AttributeValue>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
80
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::AttributeValue', 'ns3::empty', 'ns3::DefaultDeleter<ns3::AttributeValue>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
181
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> > [class]
81
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> > [class]
182
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::CallbackImplBase', 'ns3::empty', 'ns3::DefaultDeleter<ns3::CallbackImplBase>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
82
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::CallbackImplBase', 'ns3::empty', 'ns3::DefaultDeleter<ns3::CallbackImplBase>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
183
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> > [class]
184
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::EventImpl', 'ns3::empty', 'ns3::DefaultDeleter<ns3::EventImpl>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
185
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4MulticastRoute> > [class]
186
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Ipv4MulticastRoute', 'ns3::empty', 'ns3::DefaultDeleter<ns3::Ipv4MulticastRoute>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
187
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4Route> > [class]
188
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Ipv4Route', 'ns3::empty', 'ns3::DefaultDeleter<ns3::Ipv4Route>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
189
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> > [class]
190
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::NixVector', 'ns3::empty', 'ns3::DefaultDeleter<ns3::NixVector>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
191
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter<ns3::OutputStreamWrapper> > [class]
192
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::OutputStreamWrapper', 'ns3::empty', 'ns3::DefaultDeleter<ns3::OutputStreamWrapper>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
193
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> > [class]
194
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Packet', 'ns3::empty', 'ns3::DefaultDeleter<ns3::Packet>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
195
    ## socket.h (module 'network'): ns3::Socket [class]
196
    module.add_class('Socket', import_from_module='ns.network', parent=root_module['ns3::Object'])
197
    ## socket.h (module 'network'): ns3::Socket::SocketErrno [enumeration]
198
    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', 'ERROR_NODEV', 'ERROR_ADDRNOTAVAIL', 'SOCKET_ERRNO_LAST'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
199
    ## socket.h (module 'network'): ns3::Socket::SocketType [enumeration]
200
    module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
201
    ## socket.h (module 'network'): ns3::SocketAddressTag [class]
202
    module.add_class('SocketAddressTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
203
    ## socket.h (module 'network'): ns3::SocketIpTtlTag [class]
204
    module.add_class('SocketIpTtlTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
205
    ## socket.h (module 'network'): ns3::SocketSetDontFragmentTag [class]
206
    module.add_class('SocketSetDontFragmentTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
207
    ## nstime.h (module 'core'): ns3::Time [class]
83
    ## nstime.h (module 'core'): ns3::Time [class]
208
    module.add_class('Time', import_from_module='ns.core')
84
    module.add_class('Time', import_from_module='ns.core')
209
    ## nstime.h (module 'core'): ns3::Time::Unit [enumeration]
85
    ## nstime.h (module 'core'): ns3::Time::Unit [enumeration]
210
    module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core')
86
    module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core')
211
    ## nstime.h (module 'core'): ns3::Time [class]
87
    ## nstime.h (module 'core'): ns3::Time [class]
212
    root_module['ns3::Time'].implicitly_converts_to(root_module['ns3::int64x64_t'])
88
    root_module['ns3::Time'].implicitly_converts_to(root_module['ns3::int64x64_t'])
213
    ## trailer.h (module 'network'): ns3::Trailer [class]
214
    module.add_class('Trailer', import_from_module='ns.network', parent=root_module['ns3::Chunk'])
215
    ## attribute.h (module 'core'): ns3::AttributeAccessor [class]
89
    ## attribute.h (module 'core'): ns3::AttributeAccessor [class]
216
    module.add_class('AttributeAccessor', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >'])
90
    module.add_class('AttributeAccessor', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >'])
217
    ## attribute.h (module 'core'): ns3::AttributeChecker [class]
91
    ## attribute.h (module 'core'): ns3::AttributeChecker [class]
 Lines 226-267    Link Here 
226
    module.add_class('CallbackValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
100
    module.add_class('CallbackValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
227
    ## attribute.h (module 'core'): ns3::EmptyAttributeValue [class]
101
    ## attribute.h (module 'core'): ns3::EmptyAttributeValue [class]
228
    module.add_class('EmptyAttributeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
102
    module.add_class('EmptyAttributeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
229
    ## event-impl.h (module 'core'): ns3::EventImpl [class]
230
    module.add_class('EventImpl', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >'])
231
    ## ipv4.h (module 'internet'): ns3::Ipv4 [class]
232
    module.add_class('Ipv4', import_from_module='ns.internet', parent=root_module['ns3::Object'])
233
    ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker [class]
103
    ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker [class]
234
    module.add_class('Ipv4AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
104
    module.add_class('Ipv4AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
235
    ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue [class]
105
    ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue [class]
236
    module.add_class('Ipv4AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
106
    module.add_class('Ipv4AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
237
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol [class]
238
    module.add_class('Ipv4L3Protocol', import_from_module='ns.internet', parent=root_module['ns3::Ipv4'])
239
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::DropReason [enumeration]
240
    module.add_enum('DropReason', ['DROP_TTL_EXPIRED', 'DROP_NO_ROUTE', 'DROP_BAD_CHECKSUM', 'DROP_INTERFACE_DOWN', 'DROP_ROUTE_ERROR'], outer_class=root_module['ns3::Ipv4L3Protocol'], import_from_module='ns.internet')
241
    ## ipv4-l4-protocol.h (module 'internet'): ns3::Ipv4L4Protocol [class]
242
    module.add_class('Ipv4L4Protocol', import_from_module='ns.internet', parent=root_module['ns3::Object'])
243
    ## ipv4-l4-protocol.h (module 'internet'): ns3::Ipv4L4Protocol::RxStatus [enumeration]
244
    module.add_enum('RxStatus', ['RX_OK', 'RX_CSUM_FAILED', 'RX_ENDPOINT_CLOSED', 'RX_ENDPOINT_UNREACH'], outer_class=root_module['ns3::Ipv4L4Protocol'], import_from_module='ns.internet')
245
    ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker [class]
107
    ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker [class]
246
    module.add_class('Ipv4MaskChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
108
    module.add_class('Ipv4MaskChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
247
    ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue [class]
109
    ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue [class]
248
    module.add_class('Ipv4MaskValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
110
    module.add_class('Ipv4MaskValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
249
    ## ipv4-route.h (module 'internet'): ns3::Ipv4MulticastRoute [class]
250
    module.add_class('Ipv4MulticastRoute', import_from_module='ns.internet', parent=root_module['ns3::SimpleRefCount< ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4MulticastRoute> >'])
251
    ## ipv4-route.h (module 'internet'): ns3::Ipv4Route [class]
252
    module.add_class('Ipv4Route', import_from_module='ns.internet', parent=root_module['ns3::SimpleRefCount< ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4Route> >'])
253
    ## ipv4-routing-protocol.h (module 'internet'): ns3::Ipv4RoutingProtocol [class]
254
    module.add_class('Ipv4RoutingProtocol', import_from_module='ns.internet', parent=root_module['ns3::Object'])
255
    ## ipv6.h (module 'internet'): ns3::Ipv6 [class]
256
    module.add_class('Ipv6', import_from_module='ns.internet', parent=root_module['ns3::Object'])
257
    ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker [class]
111
    ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker [class]
258
    module.add_class('Ipv6AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
112
    module.add_class('Ipv6AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
259
    ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue [class]
113
    ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue [class]
260
    module.add_class('Ipv6AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
114
    module.add_class('Ipv6AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
261
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ipv6L3Protocol [class]
262
    module.add_class('Ipv6L3Protocol', import_from_module='ns.internet', parent=root_module['ns3::Ipv6'])
263
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ipv6L3Protocol::DropReason [enumeration]
264
    module.add_enum('DropReason', ['DROP_TTL_EXPIRED', 'DROP_NO_ROUTE', 'DROP_INTERFACE_DOWN', 'DROP_ROUTE_ERROR', 'DROP_UNKNOWN_PROTOCOL'], outer_class=root_module['ns3::Ipv6L3Protocol'], import_from_module='ns.internet')
265
    ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker [class]
115
    ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker [class]
266
    module.add_class('Ipv6PrefixChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
116
    module.add_class('Ipv6PrefixChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
267
    ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue [class]
117
    ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue [class]
 Lines 270-287    Link Here 
270
    module.add_class('NetDevice', import_from_module='ns.network', parent=root_module['ns3::Object'])
120
    module.add_class('NetDevice', import_from_module='ns.network', parent=root_module['ns3::Object'])
271
    ## net-device.h (module 'network'): ns3::NetDevice::PacketType [enumeration]
121
    ## net-device.h (module 'network'): ns3::NetDevice::PacketType [enumeration]
272
    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'], import_from_module='ns.network')
122
    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'], import_from_module='ns.network')
273
    ## nix-vector.h (module 'network'): ns3::NixVector [class]
274
    module.add_class('NixVector', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >'])
275
    ## node.h (module 'network'): ns3::Node [class]
276
    module.add_class('Node', import_from_module='ns.network', parent=root_module['ns3::Object'])
277
    ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker [class]
278
    module.add_class('ObjectFactoryChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
279
    ## object-factory.h (module 'core'): ns3::ObjectFactoryValue [class]
280
    module.add_class('ObjectFactoryValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
281
    ## output-stream-wrapper.h (module 'network'): ns3::OutputStreamWrapper [class]
282
    module.add_class('OutputStreamWrapper', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter<ns3::OutputStreamWrapper> >'])
283
    ## packet.h (module 'network'): ns3::Packet [class]
284
    module.add_class('Packet', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >'])
285
    ## nstime.h (module 'core'): ns3::TimeChecker [class]
123
    ## nstime.h (module 'core'): ns3::TimeChecker [class]
286
    module.add_class('TimeChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
124
    module.add_class('TimeChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
287
    ## nstime.h (module 'core'): ns3::TimeValue [class]
125
    ## nstime.h (module 'core'): ns3::TimeValue [class]
 Lines 314-398    Link Here 
314
def register_methods(root_module):
152
def register_methods(root_module):
315
    register_Ns3Address_methods(root_module, root_module['ns3::Address'])
153
    register_Ns3Address_methods(root_module, root_module['ns3::Address'])
316
    register_Ns3AnimationInterface_methods(root_module, root_module['ns3::AnimationInterface'])
154
    register_Ns3AnimationInterface_methods(root_module, root_module['ns3::AnimationInterface'])
317
    register_Ns3AsciiTraceHelper_methods(root_module, root_module['ns3::AsciiTraceHelper'])
318
    register_Ns3AsciiTraceHelperForDevice_methods(root_module, root_module['ns3::AsciiTraceHelperForDevice'])
319
    register_Ns3AsciiTraceHelperForIpv4_methods(root_module, root_module['ns3::AsciiTraceHelperForIpv4'])
320
    register_Ns3AsciiTraceHelperForIpv6_methods(root_module, root_module['ns3::AsciiTraceHelperForIpv6'])
321
    register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList'])
155
    register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList'])
322
    register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer'])
323
    register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator'])
324
    register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator'])
325
    register_Ns3ByteTagIteratorItem_methods(root_module, root_module['ns3::ByteTagIterator::Item'])
326
    register_Ns3ByteTagList_methods(root_module, root_module['ns3::ByteTagList'])
327
    register_Ns3ByteTagListIterator_methods(root_module, root_module['ns3::ByteTagList::Iterator'])
328
    register_Ns3ByteTagListIteratorItem_methods(root_module, root_module['ns3::ByteTagList::Iterator::Item'])
329
    register_Ns3CallbackBase_methods(root_module, root_module['ns3::CallbackBase'])
156
    register_Ns3CallbackBase_methods(root_module, root_module['ns3::CallbackBase'])
330
    register_Ns3EventId_methods(root_module, root_module['ns3::EventId'])
331
    register_Ns3Ipv4Address_methods(root_module, root_module['ns3::Ipv4Address'])
157
    register_Ns3Ipv4Address_methods(root_module, root_module['ns3::Ipv4Address'])
332
    register_Ns3Ipv4AddressHelper_methods(root_module, root_module['ns3::Ipv4AddressHelper'])
333
    register_Ns3Ipv4InterfaceAddress_methods(root_module, root_module['ns3::Ipv4InterfaceAddress'])
334
    register_Ns3Ipv4InterfaceContainer_methods(root_module, root_module['ns3::Ipv4InterfaceContainer'])
335
    register_Ns3Ipv4Mask_methods(root_module, root_module['ns3::Ipv4Mask'])
158
    register_Ns3Ipv4Mask_methods(root_module, root_module['ns3::Ipv4Mask'])
336
    register_Ns3Ipv6Address_methods(root_module, root_module['ns3::Ipv6Address'])
159
    register_Ns3Ipv6Address_methods(root_module, root_module['ns3::Ipv6Address'])
337
    register_Ns3Ipv6InterfaceAddress_methods(root_module, root_module['ns3::Ipv6InterfaceAddress'])
338
    register_Ns3Ipv6InterfaceContainer_methods(root_module, root_module['ns3::Ipv6InterfaceContainer'])
339
    register_Ns3Ipv6Prefix_methods(root_module, root_module['ns3::Ipv6Prefix'])
160
    register_Ns3Ipv6Prefix_methods(root_module, root_module['ns3::Ipv6Prefix'])
340
    register_Ns3LogComponent_methods(root_module, root_module['ns3::LogComponent'])
161
    register_Ns3LogComponent_methods(root_module, root_module['ns3::LogComponent'])
341
    register_Ns3NetDeviceContainer_methods(root_module, root_module['ns3::NetDeviceContainer'])
342
    register_Ns3NodeContainer_methods(root_module, root_module['ns3::NodeContainer'])
343
    register_Ns3NodeList_methods(root_module, root_module['ns3::NodeList'])
162
    register_Ns3NodeList_methods(root_module, root_module['ns3::NodeList'])
344
    register_Ns3ObjectBase_methods(root_module, root_module['ns3::ObjectBase'])
163
    register_Ns3ObjectBase_methods(root_module, root_module['ns3::ObjectBase'])
345
    register_Ns3ObjectDeleter_methods(root_module, root_module['ns3::ObjectDeleter'])
164
    register_Ns3ObjectDeleter_methods(root_module, root_module['ns3::ObjectDeleter'])
346
    register_Ns3ObjectFactory_methods(root_module, root_module['ns3::ObjectFactory'])
347
    register_Ns3PacketMetadata_methods(root_module, root_module['ns3::PacketMetadata'])
348
    register_Ns3PacketMetadataItem_methods(root_module, root_module['ns3::PacketMetadata::Item'])
349
    register_Ns3PacketMetadataItemIterator_methods(root_module, root_module['ns3::PacketMetadata::ItemIterator'])
350
    register_Ns3PacketTagIterator_methods(root_module, root_module['ns3::PacketTagIterator'])
351
    register_Ns3PacketTagIteratorItem_methods(root_module, root_module['ns3::PacketTagIterator::Item'])
352
    register_Ns3PacketTagList_methods(root_module, root_module['ns3::PacketTagList'])
353
    register_Ns3PacketTagListTagData_methods(root_module, root_module['ns3::PacketTagList::TagData'])
354
    register_Ns3PcapFile_methods(root_module, root_module['ns3::PcapFile'])
355
    register_Ns3PcapHelper_methods(root_module, root_module['ns3::PcapHelper'])
356
    register_Ns3PcapHelperForDevice_methods(root_module, root_module['ns3::PcapHelperForDevice'])
357
    register_Ns3PcapHelperForIpv4_methods(root_module, root_module['ns3::PcapHelperForIpv4'])
358
    register_Ns3PcapHelperForIpv6_methods(root_module, root_module['ns3::PcapHelperForIpv6'])
359
    register_Ns3PointToPointDumbbellHelper_methods(root_module, root_module['ns3::PointToPointDumbbellHelper'])
360
    register_Ns3PointToPointGridHelper_methods(root_module, root_module['ns3::PointToPointGridHelper'])
361
    register_Ns3PointToPointHelper_methods(root_module, root_module['ns3::PointToPointHelper'])
362
    register_Ns3PointToPointStarHelper_methods(root_module, root_module['ns3::PointToPointStarHelper'])
363
    register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >'])
165
    register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >'])
364
    register_Ns3Simulator_methods(root_module, root_module['ns3::Simulator'])
365
    register_Ns3Tag_methods(root_module, root_module['ns3::Tag'])
366
    register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer'])
166
    register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer'])
367
    register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId'])
167
    register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId'])
368
    register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo'])
168
    register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo'])
369
    register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList'])
169
    register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList'])
370
    register_Ns3Empty_methods(root_module, root_module['ns3::empty'])
170
    register_Ns3Empty_methods(root_module, root_module['ns3::empty'])
371
    register_Ns3Int64x64_t_methods(root_module, root_module['ns3::int64x64_t'])
171
    register_Ns3Int64x64_t_methods(root_module, root_module['ns3::int64x64_t'])
372
    register_Ns3Chunk_methods(root_module, root_module['ns3::Chunk'])
373
    register_Ns3Header_methods(root_module, root_module['ns3::Header'])
374
    register_Ns3InternetStackHelper_methods(root_module, root_module['ns3::InternetStackHelper'])
375
    register_Ns3Ipv4Header_methods(root_module, root_module['ns3::Ipv4Header'])
376
    register_Ns3Ipv6Header_methods(root_module, root_module['ns3::Ipv6Header'])
377
    register_Ns3Object_methods(root_module, root_module['ns3::Object'])
172
    register_Ns3Object_methods(root_module, root_module['ns3::Object'])
378
    register_Ns3ObjectAggregateIterator_methods(root_module, root_module['ns3::Object::AggregateIterator'])
173
    register_Ns3ObjectAggregateIterator_methods(root_module, root_module['ns3::Object::AggregateIterator'])
379
    register_Ns3PcapFileWrapper_methods(root_module, root_module['ns3::PcapFileWrapper'])
380
    register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >'])
174
    register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >'])
381
    register_Ns3SimpleRefCount__Ns3AttributeChecker_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeChecker__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >'])
175
    register_Ns3SimpleRefCount__Ns3AttributeChecker_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeChecker__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >'])
382
    register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeValue__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >'])
176
    register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeValue__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >'])
383
    register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__lt__ns3CallbackImplBase__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >'])
177
    register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__lt__ns3CallbackImplBase__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >'])
384
    register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >'])
385
    register_Ns3SimpleRefCount__Ns3Ipv4MulticastRoute_Ns3Empty_Ns3DefaultDeleter__lt__ns3Ipv4MulticastRoute__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4MulticastRoute> >'])
386
    register_Ns3SimpleRefCount__Ns3Ipv4Route_Ns3Empty_Ns3DefaultDeleter__lt__ns3Ipv4Route__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4Route> >'])
387
    register_Ns3SimpleRefCount__Ns3NixVector_Ns3Empty_Ns3DefaultDeleter__lt__ns3NixVector__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >'])
388
    register_Ns3SimpleRefCount__Ns3OutputStreamWrapper_Ns3Empty_Ns3DefaultDeleter__lt__ns3OutputStreamWrapper__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter<ns3::OutputStreamWrapper> >'])
389
    register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >'])
390
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
391
    register_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag'])
392
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
393
    register_Ns3SocketSetDontFragmentTag_methods(root_module, root_module['ns3::SocketSetDontFragmentTag'])
394
    register_Ns3Time_methods(root_module, root_module['ns3::Time'])
178
    register_Ns3Time_methods(root_module, root_module['ns3::Time'])
395
    register_Ns3Trailer_methods(root_module, root_module['ns3::Trailer'])
396
    register_Ns3AttributeAccessor_methods(root_module, root_module['ns3::AttributeAccessor'])
179
    register_Ns3AttributeAccessor_methods(root_module, root_module['ns3::AttributeAccessor'])
397
    register_Ns3AttributeChecker_methods(root_module, root_module['ns3::AttributeChecker'])
180
    register_Ns3AttributeChecker_methods(root_module, root_module['ns3::AttributeChecker'])
398
    register_Ns3AttributeValue_methods(root_module, root_module['ns3::AttributeValue'])
181
    register_Ns3AttributeValue_methods(root_module, root_module['ns3::AttributeValue'])
 Lines 400-429    Link Here 
400
    register_Ns3CallbackImplBase_methods(root_module, root_module['ns3::CallbackImplBase'])
183
    register_Ns3CallbackImplBase_methods(root_module, root_module['ns3::CallbackImplBase'])
401
    register_Ns3CallbackValue_methods(root_module, root_module['ns3::CallbackValue'])
184
    register_Ns3CallbackValue_methods(root_module, root_module['ns3::CallbackValue'])
402
    register_Ns3EmptyAttributeValue_methods(root_module, root_module['ns3::EmptyAttributeValue'])
185
    register_Ns3EmptyAttributeValue_methods(root_module, root_module['ns3::EmptyAttributeValue'])
403
    register_Ns3EventImpl_methods(root_module, root_module['ns3::EventImpl'])
404
    register_Ns3Ipv4_methods(root_module, root_module['ns3::Ipv4'])
405
    register_Ns3Ipv4AddressChecker_methods(root_module, root_module['ns3::Ipv4AddressChecker'])
186
    register_Ns3Ipv4AddressChecker_methods(root_module, root_module['ns3::Ipv4AddressChecker'])
406
    register_Ns3Ipv4AddressValue_methods(root_module, root_module['ns3::Ipv4AddressValue'])
187
    register_Ns3Ipv4AddressValue_methods(root_module, root_module['ns3::Ipv4AddressValue'])
407
    register_Ns3Ipv4L3Protocol_methods(root_module, root_module['ns3::Ipv4L3Protocol'])
408
    register_Ns3Ipv4L4Protocol_methods(root_module, root_module['ns3::Ipv4L4Protocol'])
409
    register_Ns3Ipv4MaskChecker_methods(root_module, root_module['ns3::Ipv4MaskChecker'])
188
    register_Ns3Ipv4MaskChecker_methods(root_module, root_module['ns3::Ipv4MaskChecker'])
410
    register_Ns3Ipv4MaskValue_methods(root_module, root_module['ns3::Ipv4MaskValue'])
189
    register_Ns3Ipv4MaskValue_methods(root_module, root_module['ns3::Ipv4MaskValue'])
411
    register_Ns3Ipv4MulticastRoute_methods(root_module, root_module['ns3::Ipv4MulticastRoute'])
412
    register_Ns3Ipv4Route_methods(root_module, root_module['ns3::Ipv4Route'])
413
    register_Ns3Ipv4RoutingProtocol_methods(root_module, root_module['ns3::Ipv4RoutingProtocol'])
414
    register_Ns3Ipv6_methods(root_module, root_module['ns3::Ipv6'])
415
    register_Ns3Ipv6AddressChecker_methods(root_module, root_module['ns3::Ipv6AddressChecker'])
190
    register_Ns3Ipv6AddressChecker_methods(root_module, root_module['ns3::Ipv6AddressChecker'])
416
    register_Ns3Ipv6AddressValue_methods(root_module, root_module['ns3::Ipv6AddressValue'])
191
    register_Ns3Ipv6AddressValue_methods(root_module, root_module['ns3::Ipv6AddressValue'])
417
    register_Ns3Ipv6L3Protocol_methods(root_module, root_module['ns3::Ipv6L3Protocol'])
418
    register_Ns3Ipv6PrefixChecker_methods(root_module, root_module['ns3::Ipv6PrefixChecker'])
192
    register_Ns3Ipv6PrefixChecker_methods(root_module, root_module['ns3::Ipv6PrefixChecker'])
419
    register_Ns3Ipv6PrefixValue_methods(root_module, root_module['ns3::Ipv6PrefixValue'])
193
    register_Ns3Ipv6PrefixValue_methods(root_module, root_module['ns3::Ipv6PrefixValue'])
420
    register_Ns3NetDevice_methods(root_module, root_module['ns3::NetDevice'])
194
    register_Ns3NetDevice_methods(root_module, root_module['ns3::NetDevice'])
421
    register_Ns3NixVector_methods(root_module, root_module['ns3::NixVector'])
422
    register_Ns3Node_methods(root_module, root_module['ns3::Node'])
423
    register_Ns3ObjectFactoryChecker_methods(root_module, root_module['ns3::ObjectFactoryChecker'])
424
    register_Ns3ObjectFactoryValue_methods(root_module, root_module['ns3::ObjectFactoryValue'])
425
    register_Ns3OutputStreamWrapper_methods(root_module, root_module['ns3::OutputStreamWrapper'])
426
    register_Ns3Packet_methods(root_module, root_module['ns3::Packet'])
427
    register_Ns3TimeChecker_methods(root_module, root_module['ns3::TimeChecker'])
195
    register_Ns3TimeChecker_methods(root_module, root_module['ns3::TimeChecker'])
428
    register_Ns3TimeValue_methods(root_module, root_module['ns3::TimeValue'])
196
    register_Ns3TimeValue_methods(root_module, root_module['ns3::TimeValue'])
429
    register_Ns3TypeIdChecker_methods(root_module, root_module['ns3::TypeIdChecker'])
197
    register_Ns3TypeIdChecker_methods(root_module, root_module['ns3::TypeIdChecker'])
 Lines 525-769    Link Here 
525
                   [])
293
                   [])
526
    return
294
    return
527
295
528
def register_Ns3AsciiTraceHelper_methods(root_module, cls):
529
    ## trace-helper.h (module 'network'): ns3::AsciiTraceHelper::AsciiTraceHelper(ns3::AsciiTraceHelper const & arg0) [copy constructor]
530
    cls.add_constructor([param('ns3::AsciiTraceHelper const &', 'arg0')])
531
    ## trace-helper.h (module 'network'): ns3::AsciiTraceHelper::AsciiTraceHelper() [constructor]
532
    cls.add_constructor([])
533
    ## trace-helper.h (module 'network'): ns3::Ptr<ns3::OutputStreamWrapper> ns3::AsciiTraceHelper::CreateFileStream(std::string filename, std::_Ios_Openmode filemode=std::ios_base::out) [member function]
534
    cls.add_method('CreateFileStream', 
535
                   'ns3::Ptr< ns3::OutputStreamWrapper >', 
536
                   [param('std::string', 'filename'), param('std::_Ios_Openmode', 'filemode', default_value='std::ios_base::out')])
537
    ## trace-helper.h (module 'network'): static void ns3::AsciiTraceHelper::DefaultDequeueSinkWithContext(ns3::Ptr<ns3::OutputStreamWrapper> file, std::string context, ns3::Ptr<const ns3::Packet> p) [member function]
538
    cls.add_method('DefaultDequeueSinkWithContext', 
539
                   'void', 
540
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')], 
541
                   is_static=True)
542
    ## trace-helper.h (module 'network'): static void ns3::AsciiTraceHelper::DefaultDequeueSinkWithoutContext(ns3::Ptr<ns3::OutputStreamWrapper> file, ns3::Ptr<const ns3::Packet> p) [member function]
543
    cls.add_method('DefaultDequeueSinkWithoutContext', 
544
                   'void', 
545
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('ns3::Ptr< ns3::Packet const >', 'p')], 
546
                   is_static=True)
547
    ## trace-helper.h (module 'network'): static void ns3::AsciiTraceHelper::DefaultDropSinkWithContext(ns3::Ptr<ns3::OutputStreamWrapper> file, std::string context, ns3::Ptr<const ns3::Packet> p) [member function]
548
    cls.add_method('DefaultDropSinkWithContext', 
549
                   'void', 
550
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')], 
551
                   is_static=True)
552
    ## trace-helper.h (module 'network'): static void ns3::AsciiTraceHelper::DefaultDropSinkWithoutContext(ns3::Ptr<ns3::OutputStreamWrapper> file, ns3::Ptr<const ns3::Packet> p) [member function]
553
    cls.add_method('DefaultDropSinkWithoutContext', 
554
                   'void', 
555
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('ns3::Ptr< ns3::Packet const >', 'p')], 
556
                   is_static=True)
557
    ## trace-helper.h (module 'network'): static void ns3::AsciiTraceHelper::DefaultEnqueueSinkWithContext(ns3::Ptr<ns3::OutputStreamWrapper> file, std::string context, ns3::Ptr<const ns3::Packet> p) [member function]
558
    cls.add_method('DefaultEnqueueSinkWithContext', 
559
                   'void', 
560
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')], 
561
                   is_static=True)
562
    ## trace-helper.h (module 'network'): static void ns3::AsciiTraceHelper::DefaultEnqueueSinkWithoutContext(ns3::Ptr<ns3::OutputStreamWrapper> file, ns3::Ptr<const ns3::Packet> p) [member function]
563
    cls.add_method('DefaultEnqueueSinkWithoutContext', 
564
                   'void', 
565
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('ns3::Ptr< ns3::Packet const >', 'p')], 
566
                   is_static=True)
567
    ## trace-helper.h (module 'network'): static void ns3::AsciiTraceHelper::DefaultReceiveSinkWithContext(ns3::Ptr<ns3::OutputStreamWrapper> file, std::string context, ns3::Ptr<const ns3::Packet> p) [member function]
568
    cls.add_method('DefaultReceiveSinkWithContext', 
569
                   'void', 
570
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')], 
571
                   is_static=True)
572
    ## trace-helper.h (module 'network'): static void ns3::AsciiTraceHelper::DefaultReceiveSinkWithoutContext(ns3::Ptr<ns3::OutputStreamWrapper> file, ns3::Ptr<const ns3::Packet> p) [member function]
573
    cls.add_method('DefaultReceiveSinkWithoutContext', 
574
                   'void', 
575
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('ns3::Ptr< ns3::Packet const >', 'p')], 
576
                   is_static=True)
577
    ## trace-helper.h (module 'network'): std::string ns3::AsciiTraceHelper::GetFilenameFromDevice(std::string prefix, ns3::Ptr<ns3::NetDevice> device, bool useObjectNames=true) [member function]
578
    cls.add_method('GetFilenameFromDevice', 
579
                   'std::string', 
580
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'device'), param('bool', 'useObjectNames', default_value='true')])
581
    ## trace-helper.h (module 'network'): std::string ns3::AsciiTraceHelper::GetFilenameFromInterfacePair(std::string prefix, ns3::Ptr<ns3::Object> object, uint32_t interface, bool useObjectNames=true) [member function]
582
    cls.add_method('GetFilenameFromInterfacePair', 
583
                   'std::string', 
584
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Object >', 'object'), param('uint32_t', 'interface'), param('bool', 'useObjectNames', default_value='true')])
585
    return
586
587
def register_Ns3AsciiTraceHelperForDevice_methods(root_module, cls):
588
    ## trace-helper.h (module 'network'): ns3::AsciiTraceHelperForDevice::AsciiTraceHelperForDevice(ns3::AsciiTraceHelperForDevice const & arg0) [copy constructor]
589
    cls.add_constructor([param('ns3::AsciiTraceHelperForDevice const &', 'arg0')])
590
    ## trace-helper.h (module 'network'): ns3::AsciiTraceHelperForDevice::AsciiTraceHelperForDevice() [constructor]
591
    cls.add_constructor([])
592
    ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, ns3::Ptr<ns3::NetDevice> nd, bool explicitFilename=false) [member function]
593
    cls.add_method('EnableAscii', 
594
                   'void', 
595
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'explicitFilename', default_value='false')])
596
    ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr<ns3::OutputStreamWrapper> stream, ns3::Ptr<ns3::NetDevice> nd) [member function]
597
    cls.add_method('EnableAscii', 
598
                   'void', 
599
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::Ptr< ns3::NetDevice >', 'nd')])
600
    ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, std::string ndName, bool explicitFilename=false) [member function]
601
    cls.add_method('EnableAscii', 
602
                   'void', 
603
                   [param('std::string', 'prefix'), param('std::string', 'ndName'), param('bool', 'explicitFilename', default_value='false')])
604
    ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr<ns3::OutputStreamWrapper> stream, std::string ndName) [member function]
605
    cls.add_method('EnableAscii', 
606
                   'void', 
607
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'ndName')])
608
    ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, ns3::NetDeviceContainer d) [member function]
609
    cls.add_method('EnableAscii', 
610
                   'void', 
611
                   [param('std::string', 'prefix'), param('ns3::NetDeviceContainer', 'd')])
612
    ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr<ns3::OutputStreamWrapper> stream, ns3::NetDeviceContainer d) [member function]
613
    cls.add_method('EnableAscii', 
614
                   'void', 
615
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::NetDeviceContainer', 'd')])
616
    ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, ns3::NodeContainer n) [member function]
617
    cls.add_method('EnableAscii', 
618
                   'void', 
619
                   [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')])
620
    ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr<ns3::OutputStreamWrapper> stream, ns3::NodeContainer n) [member function]
621
    cls.add_method('EnableAscii', 
622
                   'void', 
623
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::NodeContainer', 'n')])
624
    ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, uint32_t nodeid, uint32_t deviceid, bool explicitFilename) [member function]
625
    cls.add_method('EnableAscii', 
626
                   'void', 
627
                   [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid'), param('bool', 'explicitFilename')])
628
    ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr<ns3::OutputStreamWrapper> stream, uint32_t nodeid, uint32_t deviceid) [member function]
629
    cls.add_method('EnableAscii', 
630
                   'void', 
631
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid')])
632
    ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAsciiAll(std::string prefix) [member function]
633
    cls.add_method('EnableAsciiAll', 
634
                   'void', 
635
                   [param('std::string', 'prefix')])
636
    ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAsciiAll(ns3::Ptr<ns3::OutputStreamWrapper> stream) [member function]
637
    cls.add_method('EnableAsciiAll', 
638
                   'void', 
639
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')])
640
    ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAsciiInternal(ns3::Ptr<ns3::OutputStreamWrapper> stream, std::string prefix, ns3::Ptr<ns3::NetDevice> nd, bool explicitFilename) [member function]
641
    cls.add_method('EnableAsciiInternal', 
642
                   'void', 
643
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'explicitFilename')], 
644
                   is_pure_virtual=True, is_virtual=True)
645
    return
646
647
def register_Ns3AsciiTraceHelperForIpv4_methods(root_module, cls):
648
    ## internet-trace-helper.h (module 'internet'): ns3::AsciiTraceHelperForIpv4::AsciiTraceHelperForIpv4(ns3::AsciiTraceHelperForIpv4 const & arg0) [copy constructor]
649
    cls.add_constructor([param('ns3::AsciiTraceHelperForIpv4 const &', 'arg0')])
650
    ## internet-trace-helper.h (module 'internet'): ns3::AsciiTraceHelperForIpv4::AsciiTraceHelperForIpv4() [constructor]
651
    cls.add_constructor([])
652
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, ns3::Ptr<ns3::Ipv4> ipv4, uint32_t interface, bool explicitFilename=false) [member function]
653
    cls.add_method('EnableAsciiIpv4', 
654
                   'void', 
655
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')])
656
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr<ns3::OutputStreamWrapper> stream, ns3::Ptr<ns3::Ipv4> ipv4, uint32_t interface) [member function]
657
    cls.add_method('EnableAsciiIpv4', 
658
                   'void', 
659
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface')])
660
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, std::string ipv4Name, uint32_t interface, bool explicitFilename=false) [member function]
661
    cls.add_method('EnableAsciiIpv4', 
662
                   'void', 
663
                   [param('std::string', 'prefix'), param('std::string', 'ipv4Name'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')])
664
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr<ns3::OutputStreamWrapper> stream, std::string ipv4Name, uint32_t interface) [member function]
665
    cls.add_method('EnableAsciiIpv4', 
666
                   'void', 
667
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'ipv4Name'), param('uint32_t', 'interface')])
668
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, ns3::Ipv4InterfaceContainer c) [member function]
669
    cls.add_method('EnableAsciiIpv4', 
670
                   'void', 
671
                   [param('std::string', 'prefix'), param('ns3::Ipv4InterfaceContainer', 'c')])
672
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr<ns3::OutputStreamWrapper> stream, ns3::Ipv4InterfaceContainer c) [member function]
673
    cls.add_method('EnableAsciiIpv4', 
674
                   'void', 
675
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::Ipv4InterfaceContainer', 'c')])
676
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, ns3::NodeContainer n) [member function]
677
    cls.add_method('EnableAsciiIpv4', 
678
                   'void', 
679
                   [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')])
680
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr<ns3::OutputStreamWrapper> stream, ns3::NodeContainer n) [member function]
681
    cls.add_method('EnableAsciiIpv4', 
682
                   'void', 
683
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::NodeContainer', 'n')])
684
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, uint32_t nodeid, uint32_t deviceid, bool explicitFilename) [member function]
685
    cls.add_method('EnableAsciiIpv4', 
686
                   'void', 
687
                   [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid'), param('bool', 'explicitFilename')])
688
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr<ns3::OutputStreamWrapper> stream, uint32_t nodeid, uint32_t interface, bool explicitFilename) [member function]
689
    cls.add_method('EnableAsciiIpv4', 
690
                   'void', 
691
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('uint32_t', 'nodeid'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')])
692
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4All(std::string prefix) [member function]
693
    cls.add_method('EnableAsciiIpv4All', 
694
                   'void', 
695
                   [param('std::string', 'prefix')])
696
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4All(ns3::Ptr<ns3::OutputStreamWrapper> stream) [member function]
697
    cls.add_method('EnableAsciiIpv4All', 
698
                   'void', 
699
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')])
700
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4Internal(ns3::Ptr<ns3::OutputStreamWrapper> stream, std::string prefix, ns3::Ptr<ns3::Ipv4> ipv4, uint32_t interface, bool explicitFilename) [member function]
701
    cls.add_method('EnableAsciiIpv4Internal', 
702
                   'void', 
703
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], 
704
                   is_pure_virtual=True, is_virtual=True)
705
    return
706
707
def register_Ns3AsciiTraceHelperForIpv6_methods(root_module, cls):
708
    ## internet-trace-helper.h (module 'internet'): ns3::AsciiTraceHelperForIpv6::AsciiTraceHelperForIpv6(ns3::AsciiTraceHelperForIpv6 const & arg0) [copy constructor]
709
    cls.add_constructor([param('ns3::AsciiTraceHelperForIpv6 const &', 'arg0')])
710
    ## internet-trace-helper.h (module 'internet'): ns3::AsciiTraceHelperForIpv6::AsciiTraceHelperForIpv6() [constructor]
711
    cls.add_constructor([])
712
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, ns3::Ptr<ns3::Ipv6> ipv6, uint32_t interface, bool explicitFilename=false) [member function]
713
    cls.add_method('EnableAsciiIpv6', 
714
                   'void', 
715
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')])
716
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr<ns3::OutputStreamWrapper> stream, ns3::Ptr<ns3::Ipv6> ipv6, uint32_t interface) [member function]
717
    cls.add_method('EnableAsciiIpv6', 
718
                   'void', 
719
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface')])
720
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, std::string ipv6Name, uint32_t interface, bool explicitFilename=false) [member function]
721
    cls.add_method('EnableAsciiIpv6', 
722
                   'void', 
723
                   [param('std::string', 'prefix'), param('std::string', 'ipv6Name'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')])
724
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr<ns3::OutputStreamWrapper> stream, std::string ipv6Name, uint32_t interface) [member function]
725
    cls.add_method('EnableAsciiIpv6', 
726
                   'void', 
727
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'ipv6Name'), param('uint32_t', 'interface')])
728
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, ns3::Ipv6InterfaceContainer c) [member function]
729
    cls.add_method('EnableAsciiIpv6', 
730
                   'void', 
731
                   [param('std::string', 'prefix'), param('ns3::Ipv6InterfaceContainer', 'c')])
732
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr<ns3::OutputStreamWrapper> stream, ns3::Ipv6InterfaceContainer c) [member function]
733
    cls.add_method('EnableAsciiIpv6', 
734
                   'void', 
735
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::Ipv6InterfaceContainer', 'c')])
736
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, ns3::NodeContainer n) [member function]
737
    cls.add_method('EnableAsciiIpv6', 
738
                   'void', 
739
                   [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')])
740
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr<ns3::OutputStreamWrapper> stream, ns3::NodeContainer n) [member function]
741
    cls.add_method('EnableAsciiIpv6', 
742
                   'void', 
743
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::NodeContainer', 'n')])
744
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, uint32_t nodeid, uint32_t interface, bool explicitFilename) [member function]
745
    cls.add_method('EnableAsciiIpv6', 
746
                   'void', 
747
                   [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')])
748
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr<ns3::OutputStreamWrapper> stream, uint32_t nodeid, uint32_t interface) [member function]
749
    cls.add_method('EnableAsciiIpv6', 
750
                   'void', 
751
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('uint32_t', 'nodeid'), param('uint32_t', 'interface')])
752
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6All(std::string prefix) [member function]
753
    cls.add_method('EnableAsciiIpv6All', 
754
                   'void', 
755
                   [param('std::string', 'prefix')])
756
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6All(ns3::Ptr<ns3::OutputStreamWrapper> stream) [member function]
757
    cls.add_method('EnableAsciiIpv6All', 
758
                   'void', 
759
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')])
760
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6Internal(ns3::Ptr<ns3::OutputStreamWrapper> stream, std::string prefix, ns3::Ptr<ns3::Ipv6> ipv6, uint32_t interface, bool explicitFilename) [member function]
761
    cls.add_method('EnableAsciiIpv6Internal', 
762
                   'void', 
763
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], 
764
                   is_pure_virtual=True, is_virtual=True)
765
    return
766
767
def register_Ns3AttributeList_methods(root_module, cls):
296
def register_Ns3AttributeList_methods(root_module, cls):
768
    ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor]
297
    ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor]
769
    cls.add_constructor([])
298
    cls.add_constructor([])
 Lines 801-1155    Link Here 
801
                   [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
330
                   [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
802
    return
331
    return
803
332
804
def register_Ns3Buffer_methods(root_module, cls):
805
    ## buffer.h (module 'network'): ns3::Buffer::Buffer() [constructor]
806
    cls.add_constructor([])
807
    ## buffer.h (module 'network'): ns3::Buffer::Buffer(uint32_t dataSize) [constructor]
808
    cls.add_constructor([param('uint32_t', 'dataSize')])
809
    ## buffer.h (module 'network'): ns3::Buffer::Buffer(uint32_t dataSize, bool initialize) [constructor]
810
    cls.add_constructor([param('uint32_t', 'dataSize'), param('bool', 'initialize')])
811
    ## buffer.h (module 'network'): ns3::Buffer::Buffer(ns3::Buffer const & o) [copy constructor]
812
    cls.add_constructor([param('ns3::Buffer const &', 'o')])
813
    ## buffer.h (module 'network'): bool ns3::Buffer::AddAtEnd(uint32_t end) [member function]
814
    cls.add_method('AddAtEnd', 
815
                   'bool', 
816
                   [param('uint32_t', 'end')])
817
    ## buffer.h (module 'network'): void ns3::Buffer::AddAtEnd(ns3::Buffer const & o) [member function]
818
    cls.add_method('AddAtEnd', 
819
                   'void', 
820
                   [param('ns3::Buffer const &', 'o')])
821
    ## buffer.h (module 'network'): bool ns3::Buffer::AddAtStart(uint32_t start) [member function]
822
    cls.add_method('AddAtStart', 
823
                   'bool', 
824
                   [param('uint32_t', 'start')])
825
    ## buffer.h (module 'network'): ns3::Buffer::Iterator ns3::Buffer::Begin() const [member function]
826
    cls.add_method('Begin', 
827
                   'ns3::Buffer::Iterator', 
828
                   [], 
829
                   is_const=True)
830
    ## buffer.h (module 'network'): void ns3::Buffer::CopyData(std::ostream * os, uint32_t size) const [member function]
831
    cls.add_method('CopyData', 
832
                   'void', 
833
                   [param('std::ostream *', 'os'), param('uint32_t', 'size')], 
834
                   is_const=True)
835
    ## buffer.h (module 'network'): uint32_t ns3::Buffer::CopyData(uint8_t * buffer, uint32_t size) const [member function]
836
    cls.add_method('CopyData', 
837
                   'uint32_t', 
838
                   [param('uint8_t *', 'buffer'), param('uint32_t', 'size')], 
839
                   is_const=True)
840
    ## buffer.h (module 'network'): ns3::Buffer ns3::Buffer::CreateFragment(uint32_t start, uint32_t length) const [member function]
841
    cls.add_method('CreateFragment', 
842
                   'ns3::Buffer', 
843
                   [param('uint32_t', 'start'), param('uint32_t', 'length')], 
844
                   is_const=True)
845
    ## buffer.h (module 'network'): ns3::Buffer ns3::Buffer::CreateFullCopy() const [member function]
846
    cls.add_method('CreateFullCopy', 
847
                   'ns3::Buffer', 
848
                   [], 
849
                   is_const=True)
850
    ## buffer.h (module 'network'): uint32_t ns3::Buffer::Deserialize(uint8_t const * buffer, uint32_t size) [member function]
851
    cls.add_method('Deserialize', 
852
                   'uint32_t', 
853
                   [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
854
    ## buffer.h (module 'network'): ns3::Buffer::Iterator ns3::Buffer::End() const [member function]
855
    cls.add_method('End', 
856
                   'ns3::Buffer::Iterator', 
857
                   [], 
858
                   is_const=True)
859
    ## buffer.h (module 'network'): int32_t ns3::Buffer::GetCurrentEndOffset() const [member function]
860
    cls.add_method('GetCurrentEndOffset', 
861
                   'int32_t', 
862
                   [], 
863
                   is_const=True)
864
    ## buffer.h (module 'network'): int32_t ns3::Buffer::GetCurrentStartOffset() const [member function]
865
    cls.add_method('GetCurrentStartOffset', 
866
                   'int32_t', 
867
                   [], 
868
                   is_const=True)
869
    ## buffer.h (module 'network'): uint32_t ns3::Buffer::GetSerializedSize() const [member function]
870
    cls.add_method('GetSerializedSize', 
871
                   'uint32_t', 
872
                   [], 
873
                   is_const=True)
874
    ## buffer.h (module 'network'): uint32_t ns3::Buffer::GetSize() const [member function]
875
    cls.add_method('GetSize', 
876
                   'uint32_t', 
877
                   [], 
878
                   is_const=True)
879
    ## buffer.h (module 'network'): uint8_t const * ns3::Buffer::PeekData() const [member function]
880
    cls.add_method('PeekData', 
881
                   'uint8_t const *', 
882
                   [], 
883
                   is_const=True)
884
    ## buffer.h (module 'network'): void ns3::Buffer::RemoveAtEnd(uint32_t end) [member function]
885
    cls.add_method('RemoveAtEnd', 
886
                   'void', 
887
                   [param('uint32_t', 'end')])
888
    ## buffer.h (module 'network'): void ns3::Buffer::RemoveAtStart(uint32_t start) [member function]
889
    cls.add_method('RemoveAtStart', 
890
                   'void', 
891
                   [param('uint32_t', 'start')])
892
    ## buffer.h (module 'network'): uint32_t ns3::Buffer::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
893
    cls.add_method('Serialize', 
894
                   'uint32_t', 
895
                   [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')], 
896
                   is_const=True)
897
    return
898
899
def register_Ns3BufferIterator_methods(root_module, cls):
900
    ## buffer.h (module 'network'): ns3::Buffer::Iterator::Iterator(ns3::Buffer::Iterator const & arg0) [copy constructor]
901
    cls.add_constructor([param('ns3::Buffer::Iterator const &', 'arg0')])
902
    ## buffer.h (module 'network'): ns3::Buffer::Iterator::Iterator() [constructor]
903
    cls.add_constructor([])
904
    ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::CalculateIpChecksum(uint16_t size) [member function]
905
    cls.add_method('CalculateIpChecksum', 
906
                   'uint16_t', 
907
                   [param('uint16_t', 'size')])
908
    ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::CalculateIpChecksum(uint16_t size, uint32_t initialChecksum) [member function]
909
    cls.add_method('CalculateIpChecksum', 
910
                   'uint16_t', 
911
                   [param('uint16_t', 'size'), param('uint32_t', 'initialChecksum')])
912
    ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::GetDistanceFrom(ns3::Buffer::Iterator const & o) const [member function]
913
    cls.add_method('GetDistanceFrom', 
914
                   'uint32_t', 
915
                   [param('ns3::Buffer::Iterator const &', 'o')], 
916
                   is_const=True)
917
    ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::GetSize() const [member function]
918
    cls.add_method('GetSize', 
919
                   'uint32_t', 
920
                   [], 
921
                   is_const=True)
922
    ## buffer.h (module 'network'): bool ns3::Buffer::Iterator::IsEnd() const [member function]
923
    cls.add_method('IsEnd', 
924
                   'bool', 
925
                   [], 
926
                   is_const=True)
927
    ## buffer.h (module 'network'): bool ns3::Buffer::Iterator::IsStart() const [member function]
928
    cls.add_method('IsStart', 
929
                   'bool', 
930
                   [], 
931
                   is_const=True)
932
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Next() [member function]
933
    cls.add_method('Next', 
934
                   'void', 
935
                   [])
936
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Next(uint32_t delta) [member function]
937
    cls.add_method('Next', 
938
                   'void', 
939
                   [param('uint32_t', 'delta')])
940
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Prev() [member function]
941
    cls.add_method('Prev', 
942
                   'void', 
943
                   [])
944
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Prev(uint32_t delta) [member function]
945
    cls.add_method('Prev', 
946
                   'void', 
947
                   [param('uint32_t', 'delta')])
948
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Read(uint8_t * buffer, uint32_t size) [member function]
949
    cls.add_method('Read', 
950
                   'void', 
951
                   [param('uint8_t *', 'buffer'), param('uint32_t', 'size')])
952
    ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadLsbtohU16() [member function]
953
    cls.add_method('ReadLsbtohU16', 
954
                   'uint16_t', 
955
                   [])
956
    ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadLsbtohU32() [member function]
957
    cls.add_method('ReadLsbtohU32', 
958
                   'uint32_t', 
959
                   [])
960
    ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadLsbtohU64() [member function]
961
    cls.add_method('ReadLsbtohU64', 
962
                   'uint64_t', 
963
                   [])
964
    ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadNtohU16() [member function]
965
    cls.add_method('ReadNtohU16', 
966
                   'uint16_t', 
967
                   [])
968
    ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadNtohU32() [member function]
969
    cls.add_method('ReadNtohU32', 
970
                   'uint32_t', 
971
                   [])
972
    ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadNtohU64() [member function]
973
    cls.add_method('ReadNtohU64', 
974
                   'uint64_t', 
975
                   [])
976
    ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadU16() [member function]
977
    cls.add_method('ReadU16', 
978
                   'uint16_t', 
979
                   [])
980
    ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadU32() [member function]
981
    cls.add_method('ReadU32', 
982
                   'uint32_t', 
983
                   [])
984
    ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadU64() [member function]
985
    cls.add_method('ReadU64', 
986
                   'uint64_t', 
987
                   [])
988
    ## buffer.h (module 'network'): uint8_t ns3::Buffer::Iterator::ReadU8() [member function]
989
    cls.add_method('ReadU8', 
990
                   'uint8_t', 
991
                   [])
992
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Write(uint8_t const * buffer, uint32_t size) [member function]
993
    cls.add_method('Write', 
994
                   'void', 
995
                   [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
996
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Write(ns3::Buffer::Iterator start, ns3::Buffer::Iterator end) [member function]
997
    cls.add_method('Write', 
998
                   'void', 
999
                   [param('ns3::Buffer::Iterator', 'start'), param('ns3::Buffer::Iterator', 'end')])
1000
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU16(uint16_t data) [member function]
1001
    cls.add_method('WriteHtolsbU16', 
1002
                   'void', 
1003
                   [param('uint16_t', 'data')])
1004
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU32(uint32_t data) [member function]
1005
    cls.add_method('WriteHtolsbU32', 
1006
                   'void', 
1007
                   [param('uint32_t', 'data')])
1008
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU64(uint64_t data) [member function]
1009
    cls.add_method('WriteHtolsbU64', 
1010
                   'void', 
1011
                   [param('uint64_t', 'data')])
1012
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU16(uint16_t data) [member function]
1013
    cls.add_method('WriteHtonU16', 
1014
                   'void', 
1015
                   [param('uint16_t', 'data')])
1016
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU32(uint32_t data) [member function]
1017
    cls.add_method('WriteHtonU32', 
1018
                   'void', 
1019
                   [param('uint32_t', 'data')])
1020
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU64(uint64_t data) [member function]
1021
    cls.add_method('WriteHtonU64', 
1022
                   'void', 
1023
                   [param('uint64_t', 'data')])
1024
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU16(uint16_t data) [member function]
1025
    cls.add_method('WriteU16', 
1026
                   'void', 
1027
                   [param('uint16_t', 'data')])
1028
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU32(uint32_t data) [member function]
1029
    cls.add_method('WriteU32', 
1030
                   'void', 
1031
                   [param('uint32_t', 'data')])
1032
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU64(uint64_t data) [member function]
1033
    cls.add_method('WriteU64', 
1034
                   'void', 
1035
                   [param('uint64_t', 'data')])
1036
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU8(uint8_t data) [member function]
1037
    cls.add_method('WriteU8', 
1038
                   'void', 
1039
                   [param('uint8_t', 'data')])
1040
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU8(uint8_t data, uint32_t len) [member function]
1041
    cls.add_method('WriteU8', 
1042
                   'void', 
1043
                   [param('uint8_t', 'data'), param('uint32_t', 'len')])
1044
    return
1045
1046
def register_Ns3ByteTagIterator_methods(root_module, cls):
1047
    ## packet.h (module 'network'): ns3::ByteTagIterator::ByteTagIterator(ns3::ByteTagIterator const & arg0) [copy constructor]
1048
    cls.add_constructor([param('ns3::ByteTagIterator const &', 'arg0')])
1049
    ## packet.h (module 'network'): bool ns3::ByteTagIterator::HasNext() const [member function]
1050
    cls.add_method('HasNext', 
1051
                   'bool', 
1052
                   [], 
1053
                   is_const=True)
1054
    ## packet.h (module 'network'): ns3::ByteTagIterator::Item ns3::ByteTagIterator::Next() [member function]
1055
    cls.add_method('Next', 
1056
                   'ns3::ByteTagIterator::Item', 
1057
                   [])
1058
    return
1059
1060
def register_Ns3ByteTagIteratorItem_methods(root_module, cls):
1061
    ## packet.h (module 'network'): ns3::ByteTagIterator::Item::Item(ns3::ByteTagIterator::Item const & arg0) [copy constructor]
1062
    cls.add_constructor([param('ns3::ByteTagIterator::Item const &', 'arg0')])
1063
    ## packet.h (module 'network'): uint32_t ns3::ByteTagIterator::Item::GetEnd() const [member function]
1064
    cls.add_method('GetEnd', 
1065
                   'uint32_t', 
1066
                   [], 
1067
                   is_const=True)
1068
    ## packet.h (module 'network'): uint32_t ns3::ByteTagIterator::Item::GetStart() const [member function]
1069
    cls.add_method('GetStart', 
1070
                   'uint32_t', 
1071
                   [], 
1072
                   is_const=True)
1073
    ## packet.h (module 'network'): void ns3::ByteTagIterator::Item::GetTag(ns3::Tag & tag) const [member function]
1074
    cls.add_method('GetTag', 
1075
                   'void', 
1076
                   [param('ns3::Tag &', 'tag')], 
1077
                   is_const=True)
1078
    ## packet.h (module 'network'): ns3::TypeId ns3::ByteTagIterator::Item::GetTypeId() const [member function]
1079
    cls.add_method('GetTypeId', 
1080
                   'ns3::TypeId', 
1081
                   [], 
1082
                   is_const=True)
1083
    return
1084
1085
def register_Ns3ByteTagList_methods(root_module, cls):
1086
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::ByteTagList() [constructor]
1087
    cls.add_constructor([])
1088
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::ByteTagList(ns3::ByteTagList const & o) [copy constructor]
1089
    cls.add_constructor([param('ns3::ByteTagList const &', 'o')])
1090
    ## byte-tag-list.h (module 'network'): ns3::TagBuffer ns3::ByteTagList::Add(ns3::TypeId tid, uint32_t bufferSize, int32_t start, int32_t end) [member function]
1091
    cls.add_method('Add', 
1092
                   'ns3::TagBuffer', 
1093
                   [param('ns3::TypeId', 'tid'), param('uint32_t', 'bufferSize'), param('int32_t', 'start'), param('int32_t', 'end')])
1094
    ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::Add(ns3::ByteTagList const & o) [member function]
1095
    cls.add_method('Add', 
1096
                   'void', 
1097
                   [param('ns3::ByteTagList const &', 'o')])
1098
    ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::AddAtEnd(int32_t adjustment, int32_t appendOffset) [member function]
1099
    cls.add_method('AddAtEnd', 
1100
                   'void', 
1101
                   [param('int32_t', 'adjustment'), param('int32_t', 'appendOffset')])
1102
    ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::AddAtStart(int32_t adjustment, int32_t prependOffset) [member function]
1103
    cls.add_method('AddAtStart', 
1104
                   'void', 
1105
                   [param('int32_t', 'adjustment'), param('int32_t', 'prependOffset')])
1106
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator ns3::ByteTagList::Begin(int32_t offsetStart, int32_t offsetEnd) const [member function]
1107
    cls.add_method('Begin', 
1108
                   'ns3::ByteTagList::Iterator', 
1109
                   [param('int32_t', 'offsetStart'), param('int32_t', 'offsetEnd')], 
1110
                   is_const=True)
1111
    ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::RemoveAll() [member function]
1112
    cls.add_method('RemoveAll', 
1113
                   'void', 
1114
                   [])
1115
    return
1116
1117
def register_Ns3ByteTagListIterator_methods(root_module, cls):
1118
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Iterator(ns3::ByteTagList::Iterator const & arg0) [copy constructor]
1119
    cls.add_constructor([param('ns3::ByteTagList::Iterator const &', 'arg0')])
1120
    ## byte-tag-list.h (module 'network'): uint32_t ns3::ByteTagList::Iterator::GetOffsetStart() const [member function]
1121
    cls.add_method('GetOffsetStart', 
1122
                   'uint32_t', 
1123
                   [], 
1124
                   is_const=True)
1125
    ## byte-tag-list.h (module 'network'): bool ns3::ByteTagList::Iterator::HasNext() const [member function]
1126
    cls.add_method('HasNext', 
1127
                   'bool', 
1128
                   [], 
1129
                   is_const=True)
1130
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item ns3::ByteTagList::Iterator::Next() [member function]
1131
    cls.add_method('Next', 
1132
                   'ns3::ByteTagList::Iterator::Item', 
1133
                   [])
1134
    return
1135
1136
def register_Ns3ByteTagListIteratorItem_methods(root_module, cls):
1137
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::Item(ns3::ByteTagList::Iterator::Item const & arg0) [copy constructor]
1138
    cls.add_constructor([param('ns3::ByteTagList::Iterator::Item const &', 'arg0')])
1139
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::Item(ns3::TagBuffer buf) [constructor]
1140
    cls.add_constructor([param('ns3::TagBuffer', 'buf')])
1141
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::buf [variable]
1142
    cls.add_instance_attribute('buf', 'ns3::TagBuffer', is_const=False)
1143
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::end [variable]
1144
    cls.add_instance_attribute('end', 'int32_t', is_const=False)
1145
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::size [variable]
1146
    cls.add_instance_attribute('size', 'uint32_t', is_const=False)
1147
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::start [variable]
1148
    cls.add_instance_attribute('start', 'int32_t', is_const=False)
1149
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::tid [variable]
1150
    cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
1151
    return
1152
1153
def register_Ns3CallbackBase_methods(root_module, cls):
333
def register_Ns3CallbackBase_methods(root_module, cls):
1154
    ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase(ns3::CallbackBase const & arg0) [copy constructor]
334
    ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase(ns3::CallbackBase const & arg0) [copy constructor]
1155
    cls.add_constructor([param('ns3::CallbackBase const &', 'arg0')])
335
    cls.add_constructor([param('ns3::CallbackBase const &', 'arg0')])
 Lines 1170-1220    Link Here 
1170
                   is_static=True, visibility='protected')
350
                   is_static=True, visibility='protected')
1171
    return
351
    return
1172
352
1173
def register_Ns3EventId_methods(root_module, cls):
1174
    cls.add_binary_comparison_operator('!=')
1175
    cls.add_binary_comparison_operator('==')
1176
    ## event-id.h (module 'core'): ns3::EventId::EventId(ns3::EventId const & arg0) [copy constructor]
1177
    cls.add_constructor([param('ns3::EventId const &', 'arg0')])
1178
    ## event-id.h (module 'core'): ns3::EventId::EventId() [constructor]
1179
    cls.add_constructor([])
1180
    ## event-id.h (module 'core'): ns3::EventId::EventId(ns3::Ptr<ns3::EventImpl> const & impl, uint64_t ts, uint32_t context, uint32_t uid) [constructor]
1181
    cls.add_constructor([param('ns3::Ptr< ns3::EventImpl > const &', 'impl'), param('uint64_t', 'ts'), param('uint32_t', 'context'), param('uint32_t', 'uid')])
1182
    ## event-id.h (module 'core'): void ns3::EventId::Cancel() [member function]
1183
    cls.add_method('Cancel', 
1184
                   'void', 
1185
                   [])
1186
    ## event-id.h (module 'core'): uint32_t ns3::EventId::GetContext() const [member function]
1187
    cls.add_method('GetContext', 
1188
                   'uint32_t', 
1189
                   [], 
1190
                   is_const=True)
1191
    ## event-id.h (module 'core'): uint64_t ns3::EventId::GetTs() const [member function]
1192
    cls.add_method('GetTs', 
1193
                   'uint64_t', 
1194
                   [], 
1195
                   is_const=True)
1196
    ## event-id.h (module 'core'): uint32_t ns3::EventId::GetUid() const [member function]
1197
    cls.add_method('GetUid', 
1198
                   'uint32_t', 
1199
                   [], 
1200
                   is_const=True)
1201
    ## event-id.h (module 'core'): bool ns3::EventId::IsExpired() const [member function]
1202
    cls.add_method('IsExpired', 
1203
                   'bool', 
1204
                   [], 
1205
                   is_const=True)
1206
    ## event-id.h (module 'core'): bool ns3::EventId::IsRunning() const [member function]
1207
    cls.add_method('IsRunning', 
1208
                   'bool', 
1209
                   [], 
1210
                   is_const=True)
1211
    ## event-id.h (module 'core'): ns3::EventImpl * ns3::EventId::PeekEventImpl() const [member function]
1212
    cls.add_method('PeekEventImpl', 
1213
                   'ns3::EventImpl *', 
1214
                   [], 
1215
                   is_const=True)
1216
    return
1217
1218
def register_Ns3Ipv4Address_methods(root_module, cls):
353
def register_Ns3Ipv4Address_methods(root_module, cls):
1219
    cls.add_binary_comparison_operator('<')
354
    cls.add_binary_comparison_operator('<')
1220
    cls.add_binary_comparison_operator('!=')
355
    cls.add_binary_comparison_operator('!=')
 Lines 1323-1466    Link Here 
1323
                   [param('char const *', 'address')])
458
                   [param('char const *', 'address')])
1324
    return
459
    return
1325
460
1326
def register_Ns3Ipv4AddressHelper_methods(root_module, cls):
1327
    ## ipv4-address-helper.h (module 'internet'): ns3::Ipv4AddressHelper::Ipv4AddressHelper(ns3::Ipv4AddressHelper const & arg0) [copy constructor]
1328
    cls.add_constructor([param('ns3::Ipv4AddressHelper const &', 'arg0')])
1329
    ## ipv4-address-helper.h (module 'internet'): ns3::Ipv4AddressHelper::Ipv4AddressHelper() [constructor]
1330
    cls.add_constructor([])
1331
    ## ipv4-address-helper.h (module 'internet'): ns3::Ipv4AddressHelper::Ipv4AddressHelper(ns3::Ipv4Address network, ns3::Ipv4Mask mask, ns3::Ipv4Address base="0.0.0.1") [constructor]
1332
    cls.add_constructor([param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'mask'), param('ns3::Ipv4Address', 'base', default_value='"0.0.0.1"')])
1333
    ## ipv4-address-helper.h (module 'internet'): ns3::Ipv4InterfaceContainer ns3::Ipv4AddressHelper::Assign(ns3::NetDeviceContainer const & c) [member function]
1334
    cls.add_method('Assign', 
1335
                   'ns3::Ipv4InterfaceContainer', 
1336
                   [param('ns3::NetDeviceContainer const &', 'c')])
1337
    ## ipv4-address-helper.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4AddressHelper::NewAddress() [member function]
1338
    cls.add_method('NewAddress', 
1339
                   'ns3::Ipv4Address', 
1340
                   [])
1341
    ## ipv4-address-helper.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4AddressHelper::NewNetwork() [member function]
1342
    cls.add_method('NewNetwork', 
1343
                   'ns3::Ipv4Address', 
1344
                   [])
1345
    ## ipv4-address-helper.h (module 'internet'): void ns3::Ipv4AddressHelper::SetBase(ns3::Ipv4Address network, ns3::Ipv4Mask mask, ns3::Ipv4Address base="0.0.0.1") [member function]
1346
    cls.add_method('SetBase', 
1347
                   'void', 
1348
                   [param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'mask'), param('ns3::Ipv4Address', 'base', default_value='"0.0.0.1"')])
1349
    return
1350
1351
def register_Ns3Ipv4InterfaceAddress_methods(root_module, cls):
1352
    cls.add_binary_comparison_operator('!=')
1353
    cls.add_output_stream_operator()
1354
    cls.add_binary_comparison_operator('==')
1355
    ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4InterfaceAddress::Ipv4InterfaceAddress() [constructor]
1356
    cls.add_constructor([])
1357
    ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4InterfaceAddress::Ipv4InterfaceAddress(ns3::Ipv4Address local, ns3::Ipv4Mask mask) [constructor]
1358
    cls.add_constructor([param('ns3::Ipv4Address', 'local'), param('ns3::Ipv4Mask', 'mask')])
1359
    ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4InterfaceAddress::Ipv4InterfaceAddress(ns3::Ipv4InterfaceAddress const & o) [copy constructor]
1360
    cls.add_constructor([param('ns3::Ipv4InterfaceAddress const &', 'o')])
1361
    ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4InterfaceAddress::GetBroadcast() const [member function]
1362
    cls.add_method('GetBroadcast', 
1363
                   'ns3::Ipv4Address', 
1364
                   [], 
1365
                   is_const=True)
1366
    ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4InterfaceAddress::GetLocal() const [member function]
1367
    cls.add_method('GetLocal', 
1368
                   'ns3::Ipv4Address', 
1369
                   [], 
1370
                   is_const=True)
1371
    ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4Mask ns3::Ipv4InterfaceAddress::GetMask() const [member function]
1372
    cls.add_method('GetMask', 
1373
                   'ns3::Ipv4Mask', 
1374
                   [], 
1375
                   is_const=True)
1376
    ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e ns3::Ipv4InterfaceAddress::GetScope() const [member function]
1377
    cls.add_method('GetScope', 
1378
                   'ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e', 
1379
                   [], 
1380
                   is_const=True)
1381
    ## ipv4-interface-address.h (module 'internet'): bool ns3::Ipv4InterfaceAddress::IsSecondary() const [member function]
1382
    cls.add_method('IsSecondary', 
1383
                   'bool', 
1384
                   [], 
1385
                   is_const=True)
1386
    ## ipv4-interface-address.h (module 'internet'): void ns3::Ipv4InterfaceAddress::SetBroadcast(ns3::Ipv4Address broadcast) [member function]
1387
    cls.add_method('SetBroadcast', 
1388
                   'void', 
1389
                   [param('ns3::Ipv4Address', 'broadcast')])
1390
    ## ipv4-interface-address.h (module 'internet'): void ns3::Ipv4InterfaceAddress::SetLocal(ns3::Ipv4Address local) [member function]
1391
    cls.add_method('SetLocal', 
1392
                   'void', 
1393
                   [param('ns3::Ipv4Address', 'local')])
1394
    ## ipv4-interface-address.h (module 'internet'): void ns3::Ipv4InterfaceAddress::SetMask(ns3::Ipv4Mask mask) [member function]
1395
    cls.add_method('SetMask', 
1396
                   'void', 
1397
                   [param('ns3::Ipv4Mask', 'mask')])
1398
    ## ipv4-interface-address.h (module 'internet'): void ns3::Ipv4InterfaceAddress::SetPrimary() [member function]
1399
    cls.add_method('SetPrimary', 
1400
                   'void', 
1401
                   [])
1402
    ## ipv4-interface-address.h (module 'internet'): void ns3::Ipv4InterfaceAddress::SetScope(ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e scope) [member function]
1403
    cls.add_method('SetScope', 
1404
                   'void', 
1405
                   [param('ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e', 'scope')])
1406
    ## ipv4-interface-address.h (module 'internet'): void ns3::Ipv4InterfaceAddress::SetSecondary() [member function]
1407
    cls.add_method('SetSecondary', 
1408
                   'void', 
1409
                   [])
1410
    return
1411
1412
def register_Ns3Ipv4InterfaceContainer_methods(root_module, cls):
1413
    ## ipv4-interface-container.h (module 'internet'): ns3::Ipv4InterfaceContainer::Ipv4InterfaceContainer(ns3::Ipv4InterfaceContainer const & arg0) [copy constructor]
1414
    cls.add_constructor([param('ns3::Ipv4InterfaceContainer const &', 'arg0')])
1415
    ## ipv4-interface-container.h (module 'internet'): ns3::Ipv4InterfaceContainer::Ipv4InterfaceContainer() [constructor]
1416
    cls.add_constructor([])
1417
    ## ipv4-interface-container.h (module 'internet'): void ns3::Ipv4InterfaceContainer::Add(ns3::Ipv4InterfaceContainer other) [member function]
1418
    cls.add_method('Add', 
1419
                   'void', 
1420
                   [param('ns3::Ipv4InterfaceContainer', 'other')])
1421
    ## ipv4-interface-container.h (module 'internet'): void ns3::Ipv4InterfaceContainer::Add(ns3::Ptr<ns3::Ipv4> ipv4, uint32_t interface) [member function]
1422
    cls.add_method('Add', 
1423
                   'void', 
1424
                   [param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface')])
1425
    ## ipv4-interface-container.h (module 'internet'): void ns3::Ipv4InterfaceContainer::Add(std::pair<ns3::Ptr<ns3::Ipv4>,unsigned int> ipInterfacePair) [member function]
1426
    cls.add_method('Add', 
1427
                   'void', 
1428
                   [param('std::pair< ns3::Ptr< ns3::Ipv4 >, unsigned int >', 'ipInterfacePair')])
1429
    ## ipv4-interface-container.h (module 'internet'): void ns3::Ipv4InterfaceContainer::Add(std::string ipv4Name, uint32_t interface) [member function]
1430
    cls.add_method('Add', 
1431
                   'void', 
1432
                   [param('std::string', 'ipv4Name'), param('uint32_t', 'interface')])
1433
    ## ipv4-interface-container.h (module 'internet'): __gnu_cxx::__normal_iterator<const std::pair<ns3::Ptr<ns3::Ipv4>, unsigned int>*,std::vector<std::pair<ns3::Ptr<ns3::Ipv4>, unsigned int>, std::allocator<std::pair<ns3::Ptr<ns3::Ipv4>, unsigned int> > > > ns3::Ipv4InterfaceContainer::Begin() const [member function]
1434
    cls.add_method('Begin', 
1435
                   '__gnu_cxx::__normal_iterator< std::pair< ns3::Ptr< ns3::Ipv4 >, unsigned int > const, std::vector< std::pair< ns3::Ptr< ns3::Ipv4 >, unsigned int > > >', 
1436
                   [], 
1437
                   is_const=True)
1438
    ## ipv4-interface-container.h (module 'internet'): __gnu_cxx::__normal_iterator<const std::pair<ns3::Ptr<ns3::Ipv4>, unsigned int>*,std::vector<std::pair<ns3::Ptr<ns3::Ipv4>, unsigned int>, std::allocator<std::pair<ns3::Ptr<ns3::Ipv4>, unsigned int> > > > ns3::Ipv4InterfaceContainer::End() const [member function]
1439
    cls.add_method('End', 
1440
                   '__gnu_cxx::__normal_iterator< std::pair< ns3::Ptr< ns3::Ipv4 >, unsigned int > const, std::vector< std::pair< ns3::Ptr< ns3::Ipv4 >, unsigned int > > >', 
1441
                   [], 
1442
                   is_const=True)
1443
    ## ipv4-interface-container.h (module 'internet'): std::pair<ns3::Ptr<ns3::Ipv4>,unsigned int> ns3::Ipv4InterfaceContainer::Get(uint32_t i) const [member function]
1444
    cls.add_method('Get', 
1445
                   'std::pair< ns3::Ptr< ns3::Ipv4 >, unsigned int >', 
1446
                   [param('uint32_t', 'i')], 
1447
                   is_const=True)
1448
    ## ipv4-interface-container.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4InterfaceContainer::GetAddress(uint32_t i, uint32_t j=0) const [member function]
1449
    cls.add_method('GetAddress', 
1450
                   'ns3::Ipv4Address', 
1451
                   [param('uint32_t', 'i'), param('uint32_t', 'j', default_value='0')], 
1452
                   is_const=True)
1453
    ## ipv4-interface-container.h (module 'internet'): uint32_t ns3::Ipv4InterfaceContainer::GetN() const [member function]
1454
    cls.add_method('GetN', 
1455
                   'uint32_t', 
1456
                   [], 
1457
                   is_const=True)
1458
    ## ipv4-interface-container.h (module 'internet'): void ns3::Ipv4InterfaceContainer::SetMetric(uint32_t i, uint16_t metric) [member function]
1459
    cls.add_method('SetMetric', 
1460
                   'void', 
1461
                   [param('uint32_t', 'i'), param('uint16_t', 'metric')])
1462
    return
1463
1464
def register_Ns3Ipv4Mask_methods(root_module, cls):
461
def register_Ns3Ipv4Mask_methods(root_module, cls):
1465
    cls.add_binary_comparison_operator('!=')
462
    cls.add_binary_comparison_operator('!=')
1466
    cls.add_output_stream_operator()
463
    cls.add_output_stream_operator()
 Lines 1678-1790    Link Here 
1678
                   [param('uint8_t *', 'address')])
675
                   [param('uint8_t *', 'address')])
1679
    return
676
    return
1680
677
1681
def register_Ns3Ipv6InterfaceAddress_methods(root_module, cls):
1682
    cls.add_binary_comparison_operator('!=')
1683
    cls.add_output_stream_operator()
1684
    cls.add_binary_comparison_operator('==')
1685
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress::Ipv6InterfaceAddress() [constructor]
1686
    cls.add_constructor([])
1687
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress::Ipv6InterfaceAddress(ns3::Ipv6Address address) [constructor]
1688
    cls.add_constructor([param('ns3::Ipv6Address', 'address')])
1689
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress::Ipv6InterfaceAddress(ns3::Ipv6Address address, ns3::Ipv6Prefix prefix) [constructor]
1690
    cls.add_constructor([param('ns3::Ipv6Address', 'address'), param('ns3::Ipv6Prefix', 'prefix')])
1691
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress::Ipv6InterfaceAddress(ns3::Ipv6InterfaceAddress const & o) [copy constructor]
1692
    cls.add_constructor([param('ns3::Ipv6InterfaceAddress const &', 'o')])
1693
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6Address ns3::Ipv6InterfaceAddress::GetAddress() const [member function]
1694
    cls.add_method('GetAddress', 
1695
                   'ns3::Ipv6Address', 
1696
                   [], 
1697
                   is_const=True)
1698
    ## ipv6-interface-address.h (module 'internet'): uint32_t ns3::Ipv6InterfaceAddress::GetNsDadUid() const [member function]
1699
    cls.add_method('GetNsDadUid', 
1700
                   'uint32_t', 
1701
                   [], 
1702
                   is_const=True)
1703
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6Prefix ns3::Ipv6InterfaceAddress::GetPrefix() const [member function]
1704
    cls.add_method('GetPrefix', 
1705
                   'ns3::Ipv6Prefix', 
1706
                   [], 
1707
                   is_const=True)
1708
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress::Scope_e ns3::Ipv6InterfaceAddress::GetScope() const [member function]
1709
    cls.add_method('GetScope', 
1710
                   'ns3::Ipv6InterfaceAddress::Scope_e', 
1711
                   [], 
1712
                   is_const=True)
1713
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress::State_e ns3::Ipv6InterfaceAddress::GetState() const [member function]
1714
    cls.add_method('GetState', 
1715
                   'ns3::Ipv6InterfaceAddress::State_e', 
1716
                   [], 
1717
                   is_const=True)
1718
    ## ipv6-interface-address.h (module 'internet'): void ns3::Ipv6InterfaceAddress::SetAddress(ns3::Ipv6Address address) [member function]
1719
    cls.add_method('SetAddress', 
1720
                   'void', 
1721
                   [param('ns3::Ipv6Address', 'address')])
1722
    ## ipv6-interface-address.h (module 'internet'): void ns3::Ipv6InterfaceAddress::SetNsDadUid(uint32_t uid) [member function]
1723
    cls.add_method('SetNsDadUid', 
1724
                   'void', 
1725
                   [param('uint32_t', 'uid')])
1726
    ## ipv6-interface-address.h (module 'internet'): void ns3::Ipv6InterfaceAddress::SetScope(ns3::Ipv6InterfaceAddress::Scope_e scope) [member function]
1727
    cls.add_method('SetScope', 
1728
                   'void', 
1729
                   [param('ns3::Ipv6InterfaceAddress::Scope_e', 'scope')])
1730
    ## ipv6-interface-address.h (module 'internet'): void ns3::Ipv6InterfaceAddress::SetState(ns3::Ipv6InterfaceAddress::State_e state) [member function]
1731
    cls.add_method('SetState', 
1732
                   'void', 
1733
                   [param('ns3::Ipv6InterfaceAddress::State_e', 'state')])
1734
    return
1735
1736
def register_Ns3Ipv6InterfaceContainer_methods(root_module, cls):
1737
    ## ipv6-interface-container.h (module 'internet'): ns3::Ipv6InterfaceContainer::Ipv6InterfaceContainer(ns3::Ipv6InterfaceContainer const & arg0) [copy constructor]
1738
    cls.add_constructor([param('ns3::Ipv6InterfaceContainer const &', 'arg0')])
1739
    ## ipv6-interface-container.h (module 'internet'): ns3::Ipv6InterfaceContainer::Ipv6InterfaceContainer() [constructor]
1740
    cls.add_constructor([])
1741
    ## ipv6-interface-container.h (module 'internet'): void ns3::Ipv6InterfaceContainer::Add(ns3::Ptr<ns3::Ipv6> ipv6, uint32_t interface) [member function]
1742
    cls.add_method('Add', 
1743
                   'void', 
1744
                   [param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface')])
1745
    ## ipv6-interface-container.h (module 'internet'): void ns3::Ipv6InterfaceContainer::Add(ns3::Ipv6InterfaceContainer & c) [member function]
1746
    cls.add_method('Add', 
1747
                   'void', 
1748
                   [param('ns3::Ipv6InterfaceContainer &', 'c')])
1749
    ## ipv6-interface-container.h (module 'internet'): void ns3::Ipv6InterfaceContainer::Add(std::string ipv6Name, uint32_t interface) [member function]
1750
    cls.add_method('Add', 
1751
                   'void', 
1752
                   [param('std::string', 'ipv6Name'), param('uint32_t', 'interface')])
1753
    ## ipv6-interface-container.h (module 'internet'): __gnu_cxx::__normal_iterator<const std::pair<ns3::Ptr<ns3::Ipv6>, unsigned int>*,std::vector<std::pair<ns3::Ptr<ns3::Ipv6>, unsigned int>, std::allocator<std::pair<ns3::Ptr<ns3::Ipv6>, unsigned int> > > > ns3::Ipv6InterfaceContainer::Begin() const [member function]
1754
    cls.add_method('Begin', 
1755
                   '__gnu_cxx::__normal_iterator< std::pair< ns3::Ptr< ns3::Ipv6 >, unsigned int > const, std::vector< std::pair< ns3::Ptr< ns3::Ipv6 >, unsigned int > > >', 
1756
                   [], 
1757
                   is_const=True)
1758
    ## ipv6-interface-container.h (module 'internet'): __gnu_cxx::__normal_iterator<const std::pair<ns3::Ptr<ns3::Ipv6>, unsigned int>*,std::vector<std::pair<ns3::Ptr<ns3::Ipv6>, unsigned int>, std::allocator<std::pair<ns3::Ptr<ns3::Ipv6>, unsigned int> > > > ns3::Ipv6InterfaceContainer::End() const [member function]
1759
    cls.add_method('End', 
1760
                   '__gnu_cxx::__normal_iterator< std::pair< ns3::Ptr< ns3::Ipv6 >, unsigned int > const, std::vector< std::pair< ns3::Ptr< ns3::Ipv6 >, unsigned int > > >', 
1761
                   [], 
1762
                   is_const=True)
1763
    ## ipv6-interface-container.h (module 'internet'): ns3::Ipv6Address ns3::Ipv6InterfaceContainer::GetAddress(uint32_t i, uint32_t j) const [member function]
1764
    cls.add_method('GetAddress', 
1765
                   'ns3::Ipv6Address', 
1766
                   [param('uint32_t', 'i'), param('uint32_t', 'j')], 
1767
                   is_const=True)
1768
    ## ipv6-interface-container.h (module 'internet'): uint32_t ns3::Ipv6InterfaceContainer::GetInterfaceIndex(uint32_t i) const [member function]
1769
    cls.add_method('GetInterfaceIndex', 
1770
                   'uint32_t', 
1771
                   [param('uint32_t', 'i')], 
1772
                   is_const=True)
1773
    ## ipv6-interface-container.h (module 'internet'): uint32_t ns3::Ipv6InterfaceContainer::GetN() const [member function]
1774
    cls.add_method('GetN', 
1775
                   'uint32_t', 
1776
                   [], 
1777
                   is_const=True)
1778
    ## ipv6-interface-container.h (module 'internet'): void ns3::Ipv6InterfaceContainer::SetDefaultRoute(uint32_t i, uint32_t router) [member function]
1779
    cls.add_method('SetDefaultRoute', 
1780
                   'void', 
1781
                   [param('uint32_t', 'i'), param('uint32_t', 'router')])
1782
    ## ipv6-interface-container.h (module 'internet'): void ns3::Ipv6InterfaceContainer::SetRouter(uint32_t i, bool router) [member function]
1783
    cls.add_method('SetRouter', 
1784
                   'void', 
1785
                   [param('uint32_t', 'i'), param('bool', 'router')])
1786
    return
1787
1788
def register_Ns3Ipv6Prefix_methods(root_module, cls):
678
def register_Ns3Ipv6Prefix_methods(root_module, cls):
1789
    cls.add_binary_comparison_operator('!=')
679
    cls.add_binary_comparison_operator('!=')
1790
    cls.add_output_stream_operator()
680
    cls.add_output_stream_operator()
 Lines 1877-1991    Link Here 
1877
                   is_const=True)
767
                   is_const=True)
1878
    return
768
    return
1879
769
1880
def register_Ns3NetDeviceContainer_methods(root_module, cls):
1881
    ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(ns3::NetDeviceContainer const & arg0) [copy constructor]
1882
    cls.add_constructor([param('ns3::NetDeviceContainer const &', 'arg0')])
1883
    ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer() [constructor]
1884
    cls.add_constructor([])
1885
    ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(ns3::Ptr<ns3::NetDevice> dev) [constructor]
1886
    cls.add_constructor([param('ns3::Ptr< ns3::NetDevice >', 'dev')])
1887
    ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(std::string devName) [constructor]
1888
    cls.add_constructor([param('std::string', 'devName')])
1889
    ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(ns3::NetDeviceContainer const & a, ns3::NetDeviceContainer const & b) [constructor]
1890
    cls.add_constructor([param('ns3::NetDeviceContainer const &', 'a'), param('ns3::NetDeviceContainer const &', 'b')])
1891
    ## net-device-container.h (module 'network'): void ns3::NetDeviceContainer::Add(ns3::NetDeviceContainer other) [member function]
1892
    cls.add_method('Add', 
1893
                   'void', 
1894
                   [param('ns3::NetDeviceContainer', 'other')])
1895
    ## net-device-container.h (module 'network'): void ns3::NetDeviceContainer::Add(ns3::Ptr<ns3::NetDevice> device) [member function]
1896
    cls.add_method('Add', 
1897
                   'void', 
1898
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')])
1899
    ## net-device-container.h (module 'network'): void ns3::NetDeviceContainer::Add(std::string deviceName) [member function]
1900
    cls.add_method('Add', 
1901
                   'void', 
1902
                   [param('std::string', 'deviceName')])
1903
    ## net-device-container.h (module 'network'): __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]
1904
    cls.add_method('Begin', 
1905
                   '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::NetDevice > const, std::vector< ns3::Ptr< ns3::NetDevice > > >', 
1906
                   [], 
1907
                   is_const=True)
1908
    ## net-device-container.h (module 'network'): __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]
1909
    cls.add_method('End', 
1910
                   '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::NetDevice > const, std::vector< ns3::Ptr< ns3::NetDevice > > >', 
1911
                   [], 
1912
                   is_const=True)
1913
    ## net-device-container.h (module 'network'): ns3::Ptr<ns3::NetDevice> ns3::NetDeviceContainer::Get(uint32_t i) const [member function]
1914
    cls.add_method('Get', 
1915
                   'ns3::Ptr< ns3::NetDevice >', 
1916
                   [param('uint32_t', 'i')], 
1917
                   is_const=True)
1918
    ## net-device-container.h (module 'network'): uint32_t ns3::NetDeviceContainer::GetN() const [member function]
1919
    cls.add_method('GetN', 
1920
                   'uint32_t', 
1921
                   [], 
1922
                   is_const=True)
1923
    return
1924
1925
def register_Ns3NodeContainer_methods(root_module, cls):
1926
    ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & arg0) [copy constructor]
1927
    cls.add_constructor([param('ns3::NodeContainer const &', 'arg0')])
1928
    ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer() [constructor]
1929
    cls.add_constructor([])
1930
    ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::Ptr<ns3::Node> node) [constructor]
1931
    cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node')])
1932
    ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(std::string nodeName) [constructor]
1933
    cls.add_constructor([param('std::string', 'nodeName')])
1934
    ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b) [constructor]
1935
    cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b')])
1936
    ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b, ns3::NodeContainer const & c) [constructor]
1937
    cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b'), param('ns3::NodeContainer const &', 'c')])
1938
    ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b, ns3::NodeContainer const & c, ns3::NodeContainer const & d) [constructor]
1939
    cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b'), param('ns3::NodeContainer const &', 'c'), param('ns3::NodeContainer const &', 'd')])
1940
    ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b, ns3::NodeContainer const & c, ns3::NodeContainer const & d, ns3::NodeContainer const & e) [constructor]
1941
    cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b'), param('ns3::NodeContainer const &', 'c'), param('ns3::NodeContainer const &', 'd'), param('ns3::NodeContainer const &', 'e')])
1942
    ## node-container.h (module 'network'): void ns3::NodeContainer::Add(ns3::NodeContainer other) [member function]
1943
    cls.add_method('Add', 
1944
                   'void', 
1945
                   [param('ns3::NodeContainer', 'other')])
1946
    ## node-container.h (module 'network'): void ns3::NodeContainer::Add(ns3::Ptr<ns3::Node> node) [member function]
1947
    cls.add_method('Add', 
1948
                   'void', 
1949
                   [param('ns3::Ptr< ns3::Node >', 'node')])
1950
    ## node-container.h (module 'network'): void ns3::NodeContainer::Add(std::string nodeName) [member function]
1951
    cls.add_method('Add', 
1952
                   'void', 
1953
                   [param('std::string', 'nodeName')])
1954
    ## node-container.h (module 'network'): __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]
1955
    cls.add_method('Begin', 
1956
                   '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > >', 
1957
                   [], 
1958
                   is_const=True)
1959
    ## node-container.h (module 'network'): void ns3::NodeContainer::Create(uint32_t n) [member function]
1960
    cls.add_method('Create', 
1961
                   'void', 
1962
                   [param('uint32_t', 'n')])
1963
    ## node-container.h (module 'network'): void ns3::NodeContainer::Create(uint32_t n, uint32_t systemId) [member function]
1964
    cls.add_method('Create', 
1965
                   'void', 
1966
                   [param('uint32_t', 'n'), param('uint32_t', 'systemId')])
1967
    ## node-container.h (module 'network'): __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]
1968
    cls.add_method('End', 
1969
                   '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > >', 
1970
                   [], 
1971
                   is_const=True)
1972
    ## node-container.h (module 'network'): ns3::Ptr<ns3::Node> ns3::NodeContainer::Get(uint32_t i) const [member function]
1973
    cls.add_method('Get', 
1974
                   'ns3::Ptr< ns3::Node >', 
1975
                   [param('uint32_t', 'i')], 
1976
                   is_const=True)
1977
    ## node-container.h (module 'network'): static ns3::NodeContainer ns3::NodeContainer::GetGlobal() [member function]
1978
    cls.add_method('GetGlobal', 
1979
                   'ns3::NodeContainer', 
1980
                   [], 
1981
                   is_static=True)
1982
    ## node-container.h (module 'network'): uint32_t ns3::NodeContainer::GetN() const [member function]
1983
    cls.add_method('GetN', 
1984
                   'uint32_t', 
1985
                   [], 
1986
                   is_const=True)
1987
    return
1988
1989
def register_Ns3NodeList_methods(root_module, cls):
770
def register_Ns3NodeList_methods(root_module, cls):
1990
    ## node-list.h (module 'network'): ns3::NodeList::NodeList() [constructor]
771
    ## node-list.h (module 'network'): ns3::NodeList::NodeList() [constructor]
1991
    cls.add_constructor([])
772
    cls.add_constructor([])
 Lines 2091-2715    Link Here 
2091
                   is_static=True)
872
                   is_static=True)
2092
    return
873
    return
2093
874
2094
def register_Ns3ObjectFactory_methods(root_module, cls):
2095
    cls.add_output_stream_operator()
2096
    ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(ns3::ObjectFactory const & arg0) [copy constructor]
2097
    cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')])
2098
    ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor]
2099
    cls.add_constructor([])
2100
    ## object-factory.h (module 'core'): ns3::Ptr<ns3::Object> ns3::ObjectFactory::Create() const [member function]
2101
    cls.add_method('Create', 
2102
                   'ns3::Ptr< ns3::Object >', 
2103
                   [], 
2104
                   is_const=True)
2105
    ## object-factory.h (module 'core'): ns3::TypeId ns3::ObjectFactory::GetTypeId() const [member function]
2106
    cls.add_method('GetTypeId', 
2107
                   'ns3::TypeId', 
2108
                   [], 
2109
                   is_const=True)
2110
    ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(std::string name, ns3::AttributeValue const & value) [member function]
2111
    cls.add_method('Set', 
2112
                   'void', 
2113
                   [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
2114
    ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(ns3::AttributeList const & list) [member function]
2115
    cls.add_method('Set', 
2116
                   'void', 
2117
                   [param('ns3::AttributeList const &', 'list')])
2118
    ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function]
2119
    cls.add_method('SetTypeId', 
2120
                   'void', 
2121
                   [param('ns3::TypeId', 'tid')])
2122
    ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(char const * tid) [member function]
2123
    cls.add_method('SetTypeId', 
2124
                   'void', 
2125
                   [param('char const *', 'tid')])
2126
    ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(std::string tid) [member function]
2127
    cls.add_method('SetTypeId', 
2128
                   'void', 
2129
                   [param('std::string', 'tid')])
2130
    return
2131
2132
def register_Ns3PacketMetadata_methods(root_module, cls):
2133
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::PacketMetadata(uint64_t uid, uint32_t size) [constructor]
2134
    cls.add_constructor([param('uint64_t', 'uid'), param('uint32_t', 'size')])
2135
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::PacketMetadata(ns3::PacketMetadata const & o) [copy constructor]
2136
    cls.add_constructor([param('ns3::PacketMetadata const &', 'o')])
2137
    ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddAtEnd(ns3::PacketMetadata const & o) [member function]
2138
    cls.add_method('AddAtEnd', 
2139
                   'void', 
2140
                   [param('ns3::PacketMetadata const &', 'o')])
2141
    ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddHeader(ns3::Header const & header, uint32_t size) [member function]
2142
    cls.add_method('AddHeader', 
2143
                   'void', 
2144
                   [param('ns3::Header const &', 'header'), param('uint32_t', 'size')])
2145
    ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddPaddingAtEnd(uint32_t end) [member function]
2146
    cls.add_method('AddPaddingAtEnd', 
2147
                   'void', 
2148
                   [param('uint32_t', 'end')])
2149
    ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddTrailer(ns3::Trailer const & trailer, uint32_t size) [member function]
2150
    cls.add_method('AddTrailer', 
2151
                   'void', 
2152
                   [param('ns3::Trailer const &', 'trailer'), param('uint32_t', 'size')])
2153
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator ns3::PacketMetadata::BeginItem(ns3::Buffer buffer) const [member function]
2154
    cls.add_method('BeginItem', 
2155
                   'ns3::PacketMetadata::ItemIterator', 
2156
                   [param('ns3::Buffer', 'buffer')], 
2157
                   is_const=True)
2158
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata ns3::PacketMetadata::CreateFragment(uint32_t start, uint32_t end) const [member function]
2159
    cls.add_method('CreateFragment', 
2160
                   'ns3::PacketMetadata', 
2161
                   [param('uint32_t', 'start'), param('uint32_t', 'end')], 
2162
                   is_const=True)
2163
    ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::Deserialize(uint8_t const * buffer, uint32_t size) [member function]
2164
    cls.add_method('Deserialize', 
2165
                   'uint32_t', 
2166
                   [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
2167
    ## packet-metadata.h (module 'network'): static void ns3::PacketMetadata::Enable() [member function]
2168
    cls.add_method('Enable', 
2169
                   'void', 
2170
                   [], 
2171
                   is_static=True)
2172
    ## packet-metadata.h (module 'network'): static void ns3::PacketMetadata::EnableChecking() [member function]
2173
    cls.add_method('EnableChecking', 
2174
                   'void', 
2175
                   [], 
2176
                   is_static=True)
2177
    ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::GetSerializedSize() const [member function]
2178
    cls.add_method('GetSerializedSize', 
2179
                   'uint32_t', 
2180
                   [], 
2181
                   is_const=True)
2182
    ## packet-metadata.h (module 'network'): uint64_t ns3::PacketMetadata::GetUid() const [member function]
2183
    cls.add_method('GetUid', 
2184
                   'uint64_t', 
2185
                   [], 
2186
                   is_const=True)
2187
    ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveAtEnd(uint32_t end) [member function]
2188
    cls.add_method('RemoveAtEnd', 
2189
                   'void', 
2190
                   [param('uint32_t', 'end')])
2191
    ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveAtStart(uint32_t start) [member function]
2192
    cls.add_method('RemoveAtStart', 
2193
                   'void', 
2194
                   [param('uint32_t', 'start')])
2195
    ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveHeader(ns3::Header const & header, uint32_t size) [member function]
2196
    cls.add_method('RemoveHeader', 
2197
                   'void', 
2198
                   [param('ns3::Header const &', 'header'), param('uint32_t', 'size')])
2199
    ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveTrailer(ns3::Trailer const & trailer, uint32_t size) [member function]
2200
    cls.add_method('RemoveTrailer', 
2201
                   'void', 
2202
                   [param('ns3::Trailer const &', 'trailer'), param('uint32_t', 'size')])
2203
    ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
2204
    cls.add_method('Serialize', 
2205
                   'uint32_t', 
2206
                   [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')], 
2207
                   is_const=True)
2208
    return
2209
2210
def register_Ns3PacketMetadataItem_methods(root_module, cls):
2211
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::Item() [constructor]
2212
    cls.add_constructor([])
2213
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::Item(ns3::PacketMetadata::Item const & arg0) [copy constructor]
2214
    cls.add_constructor([param('ns3::PacketMetadata::Item const &', 'arg0')])
2215
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::current [variable]
2216
    cls.add_instance_attribute('current', 'ns3::Buffer::Iterator', is_const=False)
2217
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentSize [variable]
2218
    cls.add_instance_attribute('currentSize', 'uint32_t', is_const=False)
2219
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentTrimedFromEnd [variable]
2220
    cls.add_instance_attribute('currentTrimedFromEnd', 'uint32_t', is_const=False)
2221
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentTrimedFromStart [variable]
2222
    cls.add_instance_attribute('currentTrimedFromStart', 'uint32_t', is_const=False)
2223
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::isFragment [variable]
2224
    cls.add_instance_attribute('isFragment', 'bool', is_const=False)
2225
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::tid [variable]
2226
    cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
2227
    return
2228
2229
def register_Ns3PacketMetadataItemIterator_methods(root_module, cls):
2230
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator::ItemIterator(ns3::PacketMetadata::ItemIterator const & arg0) [copy constructor]
2231
    cls.add_constructor([param('ns3::PacketMetadata::ItemIterator const &', 'arg0')])
2232
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator::ItemIterator(ns3::PacketMetadata const * metadata, ns3::Buffer buffer) [constructor]
2233
    cls.add_constructor([param('ns3::PacketMetadata const *', 'metadata'), param('ns3::Buffer', 'buffer')])
2234
    ## packet-metadata.h (module 'network'): bool ns3::PacketMetadata::ItemIterator::HasNext() const [member function]
2235
    cls.add_method('HasNext', 
2236
                   'bool', 
2237
                   [], 
2238
                   is_const=True)
2239
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item ns3::PacketMetadata::ItemIterator::Next() [member function]
2240
    cls.add_method('Next', 
2241
                   'ns3::PacketMetadata::Item', 
2242
                   [])
2243
    return
2244
2245
def register_Ns3PacketTagIterator_methods(root_module, cls):
2246
    ## packet.h (module 'network'): ns3::PacketTagIterator::PacketTagIterator(ns3::PacketTagIterator const & arg0) [copy constructor]
2247
    cls.add_constructor([param('ns3::PacketTagIterator const &', 'arg0')])
2248
    ## packet.h (module 'network'): bool ns3::PacketTagIterator::HasNext() const [member function]
2249
    cls.add_method('HasNext', 
2250
                   'bool', 
2251
                   [], 
2252
                   is_const=True)
2253
    ## packet.h (module 'network'): ns3::PacketTagIterator::Item ns3::PacketTagIterator::Next() [member function]
2254
    cls.add_method('Next', 
2255
                   'ns3::PacketTagIterator::Item', 
2256
                   [])
2257
    return
2258
2259
def register_Ns3PacketTagIteratorItem_methods(root_module, cls):
2260
    ## packet.h (module 'network'): ns3::PacketTagIterator::Item::Item(ns3::PacketTagIterator::Item const & arg0) [copy constructor]
2261
    cls.add_constructor([param('ns3::PacketTagIterator::Item const &', 'arg0')])
2262
    ## packet.h (module 'network'): void ns3::PacketTagIterator::Item::GetTag(ns3::Tag & tag) const [member function]
2263
    cls.add_method('GetTag', 
2264
                   'void', 
2265
                   [param('ns3::Tag &', 'tag')], 
2266
                   is_const=True)
2267
    ## packet.h (module 'network'): ns3::TypeId ns3::PacketTagIterator::Item::GetTypeId() const [member function]
2268
    cls.add_method('GetTypeId', 
2269
                   'ns3::TypeId', 
2270
                   [], 
2271
                   is_const=True)
2272
    return
2273
2274
def register_Ns3PacketTagList_methods(root_module, cls):
2275
    ## packet-tag-list.h (module 'network'): ns3::PacketTagList::PacketTagList() [constructor]
2276
    cls.add_constructor([])
2277
    ## packet-tag-list.h (module 'network'): ns3::PacketTagList::PacketTagList(ns3::PacketTagList const & o) [copy constructor]
2278
    cls.add_constructor([param('ns3::PacketTagList const &', 'o')])
2279
    ## packet-tag-list.h (module 'network'): void ns3::PacketTagList::Add(ns3::Tag const & tag) const [member function]
2280
    cls.add_method('Add', 
2281
                   'void', 
2282
                   [param('ns3::Tag const &', 'tag')], 
2283
                   is_const=True)
2284
    ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData const * ns3::PacketTagList::Head() const [member function]
2285
    cls.add_method('Head', 
2286
                   'ns3::PacketTagList::TagData const *', 
2287
                   [], 
2288
                   is_const=True)
2289
    ## packet-tag-list.h (module 'network'): bool ns3::PacketTagList::Peek(ns3::Tag & tag) const [member function]
2290
    cls.add_method('Peek', 
2291
                   'bool', 
2292
                   [param('ns3::Tag &', 'tag')], 
2293
                   is_const=True)
2294
    ## packet-tag-list.h (module 'network'): bool ns3::PacketTagList::Remove(ns3::Tag & tag) [member function]
2295
    cls.add_method('Remove', 
2296
                   'bool', 
2297
                   [param('ns3::Tag &', 'tag')])
2298
    ## packet-tag-list.h (module 'network'): void ns3::PacketTagList::RemoveAll() [member function]
2299
    cls.add_method('RemoveAll', 
2300
                   'void', 
2301
                   [])
2302
    return
2303
2304
def register_Ns3PacketTagListTagData_methods(root_module, cls):
2305
    ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::TagData() [constructor]
2306
    cls.add_constructor([])
2307
    ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::TagData(ns3::PacketTagList::TagData const & arg0) [copy constructor]
2308
    cls.add_constructor([param('ns3::PacketTagList::TagData const &', 'arg0')])
2309
    ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::count [variable]
2310
    cls.add_instance_attribute('count', 'uint32_t', is_const=False)
2311
    ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::data [variable]
2312
    cls.add_instance_attribute('data', 'uint8_t [ 20 ]', is_const=False)
2313
    ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::next [variable]
2314
    cls.add_instance_attribute('next', 'ns3::PacketTagList::TagData *', is_const=False)
2315
    ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::tid [variable]
2316
    cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
2317
    return
2318
2319
def register_Ns3PcapFile_methods(root_module, cls):
2320
    ## pcap-file.h (module 'network'): ns3::PcapFile::PcapFile() [constructor]
2321
    cls.add_constructor([])
2322
    ## pcap-file.h (module 'network'): void ns3::PcapFile::Clear() [member function]
2323
    cls.add_method('Clear', 
2324
                   'void', 
2325
                   [])
2326
    ## pcap-file.h (module 'network'): void ns3::PcapFile::Close() [member function]
2327
    cls.add_method('Close', 
2328
                   'void', 
2329
                   [])
2330
    ## pcap-file.h (module 'network'): static bool ns3::PcapFile::Diff(std::string const & f1, std::string const & f2, uint32_t & sec, uint32_t & usec, uint32_t snapLen=ns3::PcapFile::SNAPLEN_DEFAULT) [member function]
2331
    cls.add_method('Diff', 
2332
                   'bool', 
2333
                   [param('std::string const &', 'f1'), param('std::string const &', 'f2'), param('uint32_t &', 'sec'), param('uint32_t &', 'usec'), param('uint32_t', 'snapLen', default_value='ns3::PcapFile::SNAPLEN_DEFAULT')], 
2334
                   is_static=True)
2335
    ## pcap-file.h (module 'network'): bool ns3::PcapFile::Eof() const [member function]
2336
    cls.add_method('Eof', 
2337
                   'bool', 
2338
                   [], 
2339
                   is_const=True)
2340
    ## pcap-file.h (module 'network'): bool ns3::PcapFile::Fail() const [member function]
2341
    cls.add_method('Fail', 
2342
                   'bool', 
2343
                   [], 
2344
                   is_const=True)
2345
    ## pcap-file.h (module 'network'): uint32_t ns3::PcapFile::GetDataLinkType() [member function]
2346
    cls.add_method('GetDataLinkType', 
2347
                   'uint32_t', 
2348
                   [])
2349
    ## pcap-file.h (module 'network'): uint32_t ns3::PcapFile::GetMagic() [member function]
2350
    cls.add_method('GetMagic', 
2351
                   'uint32_t', 
2352
                   [])
2353
    ## pcap-file.h (module 'network'): uint32_t ns3::PcapFile::GetSigFigs() [member function]
2354
    cls.add_method('GetSigFigs', 
2355
                   'uint32_t', 
2356
                   [])
2357
    ## pcap-file.h (module 'network'): uint32_t ns3::PcapFile::GetSnapLen() [member function]
2358
    cls.add_method('GetSnapLen', 
2359
                   'uint32_t', 
2360
                   [])
2361
    ## pcap-file.h (module 'network'): bool ns3::PcapFile::GetSwapMode() [member function]
2362
    cls.add_method('GetSwapMode', 
2363
                   'bool', 
2364
                   [])
2365
    ## pcap-file.h (module 'network'): int32_t ns3::PcapFile::GetTimeZoneOffset() [member function]
2366
    cls.add_method('GetTimeZoneOffset', 
2367
                   'int32_t', 
2368
                   [])
2369
    ## pcap-file.h (module 'network'): uint16_t ns3::PcapFile::GetVersionMajor() [member function]
2370
    cls.add_method('GetVersionMajor', 
2371
                   'uint16_t', 
2372
                   [])
2373
    ## pcap-file.h (module 'network'): uint16_t ns3::PcapFile::GetVersionMinor() [member function]
2374
    cls.add_method('GetVersionMinor', 
2375
                   'uint16_t', 
2376
                   [])
2377
    ## pcap-file.h (module 'network'): void ns3::PcapFile::Init(uint32_t dataLinkType, uint32_t snapLen=ns3::PcapFile::SNAPLEN_DEFAULT, int32_t timeZoneCorrection=ns3::PcapFile::ZONE_DEFAULT, bool swapMode=false) [member function]
2378
    cls.add_method('Init', 
2379
                   'void', 
2380
                   [param('uint32_t', 'dataLinkType'), param('uint32_t', 'snapLen', default_value='ns3::PcapFile::SNAPLEN_DEFAULT'), param('int32_t', 'timeZoneCorrection', default_value='ns3::PcapFile::ZONE_DEFAULT'), param('bool', 'swapMode', default_value='false')])
2381
    ## pcap-file.h (module 'network'): void ns3::PcapFile::Open(std::string const & filename, std::_Ios_Openmode mode) [member function]
2382
    cls.add_method('Open', 
2383
                   'void', 
2384
                   [param('std::string const &', 'filename'), param('std::_Ios_Openmode', 'mode')])
2385
    ## pcap-file.h (module 'network'): void ns3::PcapFile::Read(uint8_t * const data, uint32_t maxBytes, uint32_t & tsSec, uint32_t & tsUsec, uint32_t & inclLen, uint32_t & origLen, uint32_t & readLen) [member function]
2386
    cls.add_method('Read', 
2387
                   'void', 
2388
                   [param('uint8_t * const', 'data'), param('uint32_t', 'maxBytes'), param('uint32_t &', 'tsSec'), param('uint32_t &', 'tsUsec'), param('uint32_t &', 'inclLen'), param('uint32_t &', 'origLen'), param('uint32_t &', 'readLen')])
2389
    ## pcap-file.h (module 'network'): void ns3::PcapFile::Write(uint32_t tsSec, uint32_t tsUsec, uint8_t const * const data, uint32_t totalLen) [member function]
2390
    cls.add_method('Write', 
2391
                   'void', 
2392
                   [param('uint32_t', 'tsSec'), param('uint32_t', 'tsUsec'), param('uint8_t const * const', 'data'), param('uint32_t', 'totalLen')])
2393
    ## pcap-file.h (module 'network'): void ns3::PcapFile::Write(uint32_t tsSec, uint32_t tsUsec, ns3::Ptr<const ns3::Packet> p) [member function]
2394
    cls.add_method('Write', 
2395
                   'void', 
2396
                   [param('uint32_t', 'tsSec'), param('uint32_t', 'tsUsec'), param('ns3::Ptr< ns3::Packet const >', 'p')])
2397
    ## pcap-file.h (module 'network'): void ns3::PcapFile::Write(uint32_t tsSec, uint32_t tsUsec, ns3::Header & header, ns3::Ptr<const ns3::Packet> p) [member function]
2398
    cls.add_method('Write', 
2399
                   'void', 
2400
                   [param('uint32_t', 'tsSec'), param('uint32_t', 'tsUsec'), param('ns3::Header &', 'header'), param('ns3::Ptr< ns3::Packet const >', 'p')])
2401
    ## pcap-file.h (module 'network'): ns3::PcapFile::SNAPLEN_DEFAULT [variable]
2402
    cls.add_static_attribute('SNAPLEN_DEFAULT', 'uint32_t const', is_const=True)
2403
    ## pcap-file.h (module 'network'): ns3::PcapFile::ZONE_DEFAULT [variable]
2404
    cls.add_static_attribute('ZONE_DEFAULT', 'int32_t const', is_const=True)
2405
    return
2406
2407
def register_Ns3PcapHelper_methods(root_module, cls):
2408
    ## trace-helper.h (module 'network'): ns3::PcapHelper::PcapHelper(ns3::PcapHelper const & arg0) [copy constructor]
2409
    cls.add_constructor([param('ns3::PcapHelper const &', 'arg0')])
2410
    ## trace-helper.h (module 'network'): ns3::PcapHelper::PcapHelper() [constructor]
2411
    cls.add_constructor([])
2412
    ## trace-helper.h (module 'network'): ns3::Ptr<ns3::PcapFileWrapper> ns3::PcapHelper::CreateFile(std::string filename, std::_Ios_Openmode filemode, uint32_t dataLinkType, uint32_t snapLen=65535, int32_t tzCorrection=0) [member function]
2413
    cls.add_method('CreateFile', 
2414
                   'ns3::Ptr< ns3::PcapFileWrapper >', 
2415
                   [param('std::string', 'filename'), param('std::_Ios_Openmode', 'filemode'), param('uint32_t', 'dataLinkType'), param('uint32_t', 'snapLen', default_value='65535'), param('int32_t', 'tzCorrection', default_value='0')])
2416
    ## trace-helper.h (module 'network'): std::string ns3::PcapHelper::GetFilenameFromDevice(std::string prefix, ns3::Ptr<ns3::NetDevice> device, bool useObjectNames=true) [member function]
2417
    cls.add_method('GetFilenameFromDevice', 
2418
                   'std::string', 
2419
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'device'), param('bool', 'useObjectNames', default_value='true')])
2420
    ## trace-helper.h (module 'network'): std::string ns3::PcapHelper::GetFilenameFromInterfacePair(std::string prefix, ns3::Ptr<ns3::Object> object, uint32_t interface, bool useObjectNames=true) [member function]
2421
    cls.add_method('GetFilenameFromInterfacePair', 
2422
                   'std::string', 
2423
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Object >', 'object'), param('uint32_t', 'interface'), param('bool', 'useObjectNames', default_value='true')])
2424
    return
2425
2426
def register_Ns3PcapHelperForDevice_methods(root_module, cls):
2427
    ## trace-helper.h (module 'network'): ns3::PcapHelperForDevice::PcapHelperForDevice(ns3::PcapHelperForDevice const & arg0) [copy constructor]
2428
    cls.add_constructor([param('ns3::PcapHelperForDevice const &', 'arg0')])
2429
    ## trace-helper.h (module 'network'): ns3::PcapHelperForDevice::PcapHelperForDevice() [constructor]
2430
    cls.add_constructor([])
2431
    ## trace-helper.h (module 'network'): void ns3::PcapHelperForDevice::EnablePcap(std::string prefix, ns3::Ptr<ns3::NetDevice> nd, bool promiscuous=false, bool explicitFilename=false) [member function]
2432
    cls.add_method('EnablePcap', 
2433
                   'void', 
2434
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'promiscuous', default_value='false'), param('bool', 'explicitFilename', default_value='false')])
2435
    ## trace-helper.h (module 'network'): void ns3::PcapHelperForDevice::EnablePcap(std::string prefix, std::string ndName, bool promiscuous=false, bool explicitFilename=false) [member function]
2436
    cls.add_method('EnablePcap', 
2437
                   'void', 
2438
                   [param('std::string', 'prefix'), param('std::string', 'ndName'), param('bool', 'promiscuous', default_value='false'), param('bool', 'explicitFilename', default_value='false')])
2439
    ## trace-helper.h (module 'network'): void ns3::PcapHelperForDevice::EnablePcap(std::string prefix, ns3::NetDeviceContainer d, bool promiscuous=false) [member function]
2440
    cls.add_method('EnablePcap', 
2441
                   'void', 
2442
                   [param('std::string', 'prefix'), param('ns3::NetDeviceContainer', 'd'), param('bool', 'promiscuous', default_value='false')])
2443
    ## trace-helper.h (module 'network'): void ns3::PcapHelperForDevice::EnablePcap(std::string prefix, ns3::NodeContainer n, bool promiscuous=false) [member function]
2444
    cls.add_method('EnablePcap', 
2445
                   'void', 
2446
                   [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n'), param('bool', 'promiscuous', default_value='false')])
2447
    ## trace-helper.h (module 'network'): void ns3::PcapHelperForDevice::EnablePcap(std::string prefix, uint32_t nodeid, uint32_t deviceid, bool promiscuous=false) [member function]
2448
    cls.add_method('EnablePcap', 
2449
                   'void', 
2450
                   [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid'), param('bool', 'promiscuous', default_value='false')])
2451
    ## trace-helper.h (module 'network'): void ns3::PcapHelperForDevice::EnablePcapAll(std::string prefix, bool promiscuous=false) [member function]
2452
    cls.add_method('EnablePcapAll', 
2453
                   'void', 
2454
                   [param('std::string', 'prefix'), param('bool', 'promiscuous', default_value='false')])
2455
    ## trace-helper.h (module 'network'): void ns3::PcapHelperForDevice::EnablePcapInternal(std::string prefix, ns3::Ptr<ns3::NetDevice> nd, bool promiscuous, bool explicitFilename) [member function]
2456
    cls.add_method('EnablePcapInternal', 
2457
                   'void', 
2458
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'promiscuous'), param('bool', 'explicitFilename')], 
2459
                   is_pure_virtual=True, is_virtual=True)
2460
    return
2461
2462
def register_Ns3PcapHelperForIpv4_methods(root_module, cls):
2463
    ## internet-trace-helper.h (module 'internet'): ns3::PcapHelperForIpv4::PcapHelperForIpv4(ns3::PcapHelperForIpv4 const & arg0) [copy constructor]
2464
    cls.add_constructor([param('ns3::PcapHelperForIpv4 const &', 'arg0')])
2465
    ## internet-trace-helper.h (module 'internet'): ns3::PcapHelperForIpv4::PcapHelperForIpv4() [constructor]
2466
    cls.add_constructor([])
2467
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv4::EnablePcapIpv4(std::string prefix, ns3::Ptr<ns3::Ipv4> ipv4, uint32_t interface, bool explicitFilename=false) [member function]
2468
    cls.add_method('EnablePcapIpv4', 
2469
                   'void', 
2470
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')])
2471
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv4::EnablePcapIpv4(std::string prefix, std::string ipv4Name, uint32_t interface, bool explicitFilename=false) [member function]
2472
    cls.add_method('EnablePcapIpv4', 
2473
                   'void', 
2474
                   [param('std::string', 'prefix'), param('std::string', 'ipv4Name'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')])
2475
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv4::EnablePcapIpv4(std::string prefix, ns3::Ipv4InterfaceContainer c) [member function]
2476
    cls.add_method('EnablePcapIpv4', 
2477
                   'void', 
2478
                   [param('std::string', 'prefix'), param('ns3::Ipv4InterfaceContainer', 'c')])
2479
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv4::EnablePcapIpv4(std::string prefix, ns3::NodeContainer n) [member function]
2480
    cls.add_method('EnablePcapIpv4', 
2481
                   'void', 
2482
                   [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')])
2483
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv4::EnablePcapIpv4(std::string prefix, uint32_t nodeid, uint32_t interface, bool explicitFilename) [member function]
2484
    cls.add_method('EnablePcapIpv4', 
2485
                   'void', 
2486
                   [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')])
2487
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv4::EnablePcapIpv4All(std::string prefix) [member function]
2488
    cls.add_method('EnablePcapIpv4All', 
2489
                   'void', 
2490
                   [param('std::string', 'prefix')])
2491
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv4::EnablePcapIpv4Internal(std::string prefix, ns3::Ptr<ns3::Ipv4> ipv4, uint32_t interface, bool explicitFilename) [member function]
2492
    cls.add_method('EnablePcapIpv4Internal', 
2493
                   'void', 
2494
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], 
2495
                   is_pure_virtual=True, is_virtual=True)
2496
    return
2497
2498
def register_Ns3PcapHelperForIpv6_methods(root_module, cls):
2499
    ## internet-trace-helper.h (module 'internet'): ns3::PcapHelperForIpv6::PcapHelperForIpv6(ns3::PcapHelperForIpv6 const & arg0) [copy constructor]
2500
    cls.add_constructor([param('ns3::PcapHelperForIpv6 const &', 'arg0')])
2501
    ## internet-trace-helper.h (module 'internet'): ns3::PcapHelperForIpv6::PcapHelperForIpv6() [constructor]
2502
    cls.add_constructor([])
2503
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, ns3::Ptr<ns3::Ipv6> ipv6, uint32_t interface, bool explicitFilename=false) [member function]
2504
    cls.add_method('EnablePcapIpv6', 
2505
                   'void', 
2506
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')])
2507
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, std::string ipv6Name, uint32_t interface, bool explicitFilename=false) [member function]
2508
    cls.add_method('EnablePcapIpv6', 
2509
                   'void', 
2510
                   [param('std::string', 'prefix'), param('std::string', 'ipv6Name'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')])
2511
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, ns3::Ipv6InterfaceContainer c) [member function]
2512
    cls.add_method('EnablePcapIpv6', 
2513
                   'void', 
2514
                   [param('std::string', 'prefix'), param('ns3::Ipv6InterfaceContainer', 'c')])
2515
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, ns3::NodeContainer n) [member function]
2516
    cls.add_method('EnablePcapIpv6', 
2517
                   'void', 
2518
                   [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')])
2519
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, uint32_t nodeid, uint32_t interface, bool explicitFilename) [member function]
2520
    cls.add_method('EnablePcapIpv6', 
2521
                   'void', 
2522
                   [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')])
2523
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv6::EnablePcapIpv6All(std::string prefix) [member function]
2524
    cls.add_method('EnablePcapIpv6All', 
2525
                   'void', 
2526
                   [param('std::string', 'prefix')])
2527
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv6::EnablePcapIpv6Internal(std::string prefix, ns3::Ptr<ns3::Ipv6> ipv6, uint32_t interface, bool explicitFilename) [member function]
2528
    cls.add_method('EnablePcapIpv6Internal', 
2529
                   'void', 
2530
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], 
2531
                   is_pure_virtual=True, is_virtual=True)
2532
    return
2533
2534
def register_Ns3PointToPointDumbbellHelper_methods(root_module, cls):
2535
    ## point-to-point-dumbbell-helper.h (module 'netanim'): ns3::PointToPointDumbbellHelper::PointToPointDumbbellHelper(ns3::PointToPointDumbbellHelper const & arg0) [copy constructor]
2536
    cls.add_constructor([param('ns3::PointToPointDumbbellHelper const &', 'arg0')])
2537
    ## point-to-point-dumbbell-helper.h (module 'netanim'): ns3::PointToPointDumbbellHelper::PointToPointDumbbellHelper(uint32_t nLeftLeaf, ns3::PointToPointHelper leftHelper, uint32_t nRightLeaf, ns3::PointToPointHelper rightHelper, ns3::PointToPointHelper bottleneckHelper) [constructor]
2538
    cls.add_constructor([param('uint32_t', 'nLeftLeaf'), param('ns3::PointToPointHelper', 'leftHelper'), param('uint32_t', 'nRightLeaf'), param('ns3::PointToPointHelper', 'rightHelper'), param('ns3::PointToPointHelper', 'bottleneckHelper')])
2539
    ## point-to-point-dumbbell-helper.h (module 'netanim'): void ns3::PointToPointDumbbellHelper::AssignIpv4Addresses(ns3::Ipv4AddressHelper leftIp, ns3::Ipv4AddressHelper rightIp, ns3::Ipv4AddressHelper routerIp) [member function]
2540
    cls.add_method('AssignIpv4Addresses', 
2541
                   'void', 
2542
                   [param('ns3::Ipv4AddressHelper', 'leftIp'), param('ns3::Ipv4AddressHelper', 'rightIp'), param('ns3::Ipv4AddressHelper', 'routerIp')])
2543
    ## point-to-point-dumbbell-helper.h (module 'netanim'): void ns3::PointToPointDumbbellHelper::BoundingBox(double ulx, double uly, double lrx, double lry) [member function]
2544
    cls.add_method('BoundingBox', 
2545
                   'void', 
2546
                   [param('double', 'ulx'), param('double', 'uly'), param('double', 'lrx'), param('double', 'lry')])
2547
    ## point-to-point-dumbbell-helper.h (module 'netanim'): ns3::Ptr<ns3::Node> ns3::PointToPointDumbbellHelper::GetLeft() const [member function]
2548
    cls.add_method('GetLeft', 
2549
                   'ns3::Ptr< ns3::Node >', 
2550
                   [], 
2551
                   is_const=True)
2552
    ## point-to-point-dumbbell-helper.h (module 'netanim'): ns3::Ptr<ns3::Node> ns3::PointToPointDumbbellHelper::GetLeft(uint32_t i) const [member function]
2553
    cls.add_method('GetLeft', 
2554
                   'ns3::Ptr< ns3::Node >', 
2555
                   [param('uint32_t', 'i')], 
2556
                   is_const=True)
2557
    ## point-to-point-dumbbell-helper.h (module 'netanim'): ns3::Ipv4Address ns3::PointToPointDumbbellHelper::GetLeftIpv4Address(uint32_t i) const [member function]
2558
    cls.add_method('GetLeftIpv4Address', 
2559
                   'ns3::Ipv4Address', 
2560
                   [param('uint32_t', 'i')], 
2561
                   is_const=True)
2562
    ## point-to-point-dumbbell-helper.h (module 'netanim'): ns3::Ptr<ns3::Node> ns3::PointToPointDumbbellHelper::GetRight() const [member function]
2563
    cls.add_method('GetRight', 
2564
                   'ns3::Ptr< ns3::Node >', 
2565
                   [], 
2566
                   is_const=True)
2567
    ## point-to-point-dumbbell-helper.h (module 'netanim'): ns3::Ptr<ns3::Node> ns3::PointToPointDumbbellHelper::GetRight(uint32_t i) const [member function]
2568
    cls.add_method('GetRight', 
2569
                   'ns3::Ptr< ns3::Node >', 
2570
                   [param('uint32_t', 'i')], 
2571
                   is_const=True)
2572
    ## point-to-point-dumbbell-helper.h (module 'netanim'): ns3::Ipv4Address ns3::PointToPointDumbbellHelper::GetRightIpv4Address(uint32_t i) const [member function]
2573
    cls.add_method('GetRightIpv4Address', 
2574
                   'ns3::Ipv4Address', 
2575
                   [param('uint32_t', 'i')], 
2576
                   is_const=True)
2577
    ## point-to-point-dumbbell-helper.h (module 'netanim'): void ns3::PointToPointDumbbellHelper::InstallStack(ns3::InternetStackHelper stack) [member function]
2578
    cls.add_method('InstallStack', 
2579
                   'void', 
2580
                   [param('ns3::InternetStackHelper', 'stack')])
2581
    ## point-to-point-dumbbell-helper.h (module 'netanim'): uint32_t ns3::PointToPointDumbbellHelper::LeftCount() const [member function]
2582
    cls.add_method('LeftCount', 
2583
                   'uint32_t', 
2584
                   [], 
2585
                   is_const=True)
2586
    ## point-to-point-dumbbell-helper.h (module 'netanim'): uint32_t ns3::PointToPointDumbbellHelper::RightCount() const [member function]
2587
    cls.add_method('RightCount', 
2588
                   'uint32_t', 
2589
                   [], 
2590
                   is_const=True)
2591
    return
2592
2593
def register_Ns3PointToPointGridHelper_methods(root_module, cls):
2594
    ## point-to-point-grid-helper.h (module 'netanim'): ns3::PointToPointGridHelper::PointToPointGridHelper(ns3::PointToPointGridHelper const & arg0) [copy constructor]
2595
    cls.add_constructor([param('ns3::PointToPointGridHelper const &', 'arg0')])
2596
    ## point-to-point-grid-helper.h (module 'netanim'): ns3::PointToPointGridHelper::PointToPointGridHelper(uint32_t nRows, uint32_t nCols, ns3::PointToPointHelper pointToPoint) [constructor]
2597
    cls.add_constructor([param('uint32_t', 'nRows'), param('uint32_t', 'nCols'), param('ns3::PointToPointHelper', 'pointToPoint')])
2598
    ## point-to-point-grid-helper.h (module 'netanim'): void ns3::PointToPointGridHelper::AssignIpv4Addresses(ns3::Ipv4AddressHelper rowIp, ns3::Ipv4AddressHelper colIp) [member function]
2599
    cls.add_method('AssignIpv4Addresses', 
2600
                   'void', 
2601
                   [param('ns3::Ipv4AddressHelper', 'rowIp'), param('ns3::Ipv4AddressHelper', 'colIp')])
2602
    ## point-to-point-grid-helper.h (module 'netanim'): void ns3::PointToPointGridHelper::BoundingBox(double ulx, double uly, double lrx, double lry) [member function]
2603
    cls.add_method('BoundingBox', 
2604
                   'void', 
2605
                   [param('double', 'ulx'), param('double', 'uly'), param('double', 'lrx'), param('double', 'lry')])
2606
    ## point-to-point-grid-helper.h (module 'netanim'): ns3::Ipv4Address ns3::PointToPointGridHelper::GetIpv4Address(uint32_t row, uint32_t col) [member function]
2607
    cls.add_method('GetIpv4Address', 
2608
                   'ns3::Ipv4Address', 
2609
                   [param('uint32_t', 'row'), param('uint32_t', 'col')])
2610
    ## point-to-point-grid-helper.h (module 'netanim'): ns3::Ptr<ns3::Node> ns3::PointToPointGridHelper::GetNode(uint32_t row, uint32_t col) [member function]
2611
    cls.add_method('GetNode', 
2612
                   'ns3::Ptr< ns3::Node >', 
2613
                   [param('uint32_t', 'row'), param('uint32_t', 'col')])
2614
    ## point-to-point-grid-helper.h (module 'netanim'): void ns3::PointToPointGridHelper::InstallStack(ns3::InternetStackHelper stack) [member function]
2615
    cls.add_method('InstallStack', 
2616
                   'void', 
2617
                   [param('ns3::InternetStackHelper', 'stack')])
2618
    return
2619
2620
def register_Ns3PointToPointHelper_methods(root_module, cls):
2621
    ## point-to-point-helper.h (module 'point-to-point'): ns3::PointToPointHelper::PointToPointHelper(ns3::PointToPointHelper const & arg0) [copy constructor]
2622
    cls.add_constructor([param('ns3::PointToPointHelper const &', 'arg0')])
2623
    ## point-to-point-helper.h (module 'point-to-point'): ns3::PointToPointHelper::PointToPointHelper() [constructor]
2624
    cls.add_constructor([])
2625
    ## point-to-point-helper.h (module 'point-to-point'): ns3::NetDeviceContainer ns3::PointToPointHelper::Install(ns3::NodeContainer c) [member function]
2626
    cls.add_method('Install', 
2627
                   'ns3::NetDeviceContainer', 
2628
                   [param('ns3::NodeContainer', 'c')])
2629
    ## point-to-point-helper.h (module 'point-to-point'): ns3::NetDeviceContainer ns3::PointToPointHelper::Install(ns3::Ptr<ns3::Node> a, ns3::Ptr<ns3::Node> b) [member function]
2630
    cls.add_method('Install', 
2631
                   'ns3::NetDeviceContainer', 
2632
                   [param('ns3::Ptr< ns3::Node >', 'a'), param('ns3::Ptr< ns3::Node >', 'b')])
2633
    ## point-to-point-helper.h (module 'point-to-point'): ns3::NetDeviceContainer ns3::PointToPointHelper::Install(ns3::Ptr<ns3::Node> a, std::string bName) [member function]
2634
    cls.add_method('Install', 
2635
                   'ns3::NetDeviceContainer', 
2636
                   [param('ns3::Ptr< ns3::Node >', 'a'), param('std::string', 'bName')])
2637
    ## point-to-point-helper.h (module 'point-to-point'): ns3::NetDeviceContainer ns3::PointToPointHelper::Install(std::string aName, ns3::Ptr<ns3::Node> b) [member function]
2638
    cls.add_method('Install', 
2639
                   'ns3::NetDeviceContainer', 
2640
                   [param('std::string', 'aName'), param('ns3::Ptr< ns3::Node >', 'b')])
2641
    ## point-to-point-helper.h (module 'point-to-point'): ns3::NetDeviceContainer ns3::PointToPointHelper::Install(std::string aNode, std::string bNode) [member function]
2642
    cls.add_method('Install', 
2643
                   'ns3::NetDeviceContainer', 
2644
                   [param('std::string', 'aNode'), param('std::string', 'bNode')])
2645
    ## point-to-point-helper.h (module 'point-to-point'): void ns3::PointToPointHelper::SetChannelAttribute(std::string name, ns3::AttributeValue const & value) [member function]
2646
    cls.add_method('SetChannelAttribute', 
2647
                   'void', 
2648
                   [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
2649
    ## point-to-point-helper.h (module 'point-to-point'): void ns3::PointToPointHelper::SetDeviceAttribute(std::string name, ns3::AttributeValue const & value) [member function]
2650
    cls.add_method('SetDeviceAttribute', 
2651
                   'void', 
2652
                   [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
2653
    ## point-to-point-helper.h (module 'point-to-point'): 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]
2654
    cls.add_method('SetQueue', 
2655
                   'void', 
2656
                   [param('std::string', 'type'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()')])
2657
    ## point-to-point-helper.h (module 'point-to-point'): void ns3::PointToPointHelper::EnableAsciiInternal(ns3::Ptr<ns3::OutputStreamWrapper> stream, std::string prefix, ns3::Ptr<ns3::NetDevice> nd, bool explicitFilename) [member function]
2658
    cls.add_method('EnableAsciiInternal', 
2659
                   'void', 
2660
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'explicitFilename')], 
2661
                   visibility='private', is_virtual=True)
2662
    ## point-to-point-helper.h (module 'point-to-point'): void ns3::PointToPointHelper::EnablePcapInternal(std::string prefix, ns3::Ptr<ns3::NetDevice> nd, bool promiscuous, bool explicitFilename) [member function]
2663
    cls.add_method('EnablePcapInternal', 
2664
                   'void', 
2665
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'promiscuous'), param('bool', 'explicitFilename')], 
2666
                   visibility='private', is_virtual=True)
2667
    return
2668
2669
def register_Ns3PointToPointStarHelper_methods(root_module, cls):
2670
    ## point-to-point-star-helper.h (module 'netanim'): ns3::PointToPointStarHelper::PointToPointStarHelper(ns3::PointToPointStarHelper const & arg0) [copy constructor]
2671
    cls.add_constructor([param('ns3::PointToPointStarHelper const &', 'arg0')])
2672
    ## point-to-point-star-helper.h (module 'netanim'): ns3::PointToPointStarHelper::PointToPointStarHelper(uint32_t numSpokes, ns3::PointToPointHelper p2pHelper) [constructor]
2673
    cls.add_constructor([param('uint32_t', 'numSpokes'), param('ns3::PointToPointHelper', 'p2pHelper')])
2674
    ## point-to-point-star-helper.h (module 'netanim'): void ns3::PointToPointStarHelper::AssignIpv4Addresses(ns3::Ipv4AddressHelper address) [member function]
2675
    cls.add_method('AssignIpv4Addresses', 
2676
                   'void', 
2677
                   [param('ns3::Ipv4AddressHelper', 'address')])
2678
    ## point-to-point-star-helper.h (module 'netanim'): void ns3::PointToPointStarHelper::BoundingBox(double ulx, double uly, double lrx, double lry) [member function]
2679
    cls.add_method('BoundingBox', 
2680
                   'void', 
2681
                   [param('double', 'ulx'), param('double', 'uly'), param('double', 'lrx'), param('double', 'lry')])
2682
    ## point-to-point-star-helper.h (module 'netanim'): ns3::Ptr<ns3::Node> ns3::PointToPointStarHelper::GetHub() const [member function]
2683
    cls.add_method('GetHub', 
2684
                   'ns3::Ptr< ns3::Node >', 
2685
                   [], 
2686
                   is_const=True)
2687
    ## point-to-point-star-helper.h (module 'netanim'): ns3::Ipv4Address ns3::PointToPointStarHelper::GetHubIpv4Address(uint32_t i) const [member function]
2688
    cls.add_method('GetHubIpv4Address', 
2689
                   'ns3::Ipv4Address', 
2690
                   [param('uint32_t', 'i')], 
2691
                   is_const=True)
2692
    ## point-to-point-star-helper.h (module 'netanim'): ns3::Ipv4Address ns3::PointToPointStarHelper::GetSpokeIpv4Address(uint32_t i) const [member function]
2693
    cls.add_method('GetSpokeIpv4Address', 
2694
                   'ns3::Ipv4Address', 
2695
                   [param('uint32_t', 'i')], 
2696
                   is_const=True)
2697
    ## point-to-point-star-helper.h (module 'netanim'): ns3::Ptr<ns3::Node> ns3::PointToPointStarHelper::GetSpokeNode(uint32_t i) const [member function]
2698
    cls.add_method('GetSpokeNode', 
2699
                   'ns3::Ptr< ns3::Node >', 
2700
                   [param('uint32_t', 'i')], 
2701
                   is_const=True)
2702
    ## point-to-point-star-helper.h (module 'netanim'): void ns3::PointToPointStarHelper::InstallStack(ns3::InternetStackHelper stack) [member function]
2703
    cls.add_method('InstallStack', 
2704
                   'void', 
2705
                   [param('ns3::InternetStackHelper', 'stack')])
2706
    ## point-to-point-star-helper.h (module 'netanim'): uint32_t ns3::PointToPointStarHelper::SpokeCount() const [member function]
2707
    cls.add_method('SpokeCount', 
2708
                   'uint32_t', 
2709
                   [], 
2710
                   is_const=True)
2711
    return
2712
2713
def register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, cls):
875
def register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, cls):
2714
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter>::SimpleRefCount() [constructor]
876
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter>::SimpleRefCount() [constructor]
2715
    cls.add_constructor([])
877
    cls.add_constructor([])
 Lines 2722-2849    Link Here 
2722
                   is_static=True)
884
                   is_static=True)
2723
    return
885
    return
2724
886
2725
def register_Ns3Simulator_methods(root_module, cls):
2726
    ## simulator.h (module 'core'): ns3::Simulator::Simulator(ns3::Simulator const & arg0) [copy constructor]
2727
    cls.add_constructor([param('ns3::Simulator const &', 'arg0')])
2728
    ## simulator.h (module 'core'): static void ns3::Simulator::Cancel(ns3::EventId const & id) [member function]
2729
    cls.add_method('Cancel', 
2730
                   'void', 
2731
                   [param('ns3::EventId const &', 'id')], 
2732
                   is_static=True)
2733
    ## simulator.h (module 'core'): static void ns3::Simulator::Destroy() [member function]
2734
    cls.add_method('Destroy', 
2735
                   'void', 
2736
                   [], 
2737
                   is_static=True)
2738
    ## simulator.h (module 'core'): static uint32_t ns3::Simulator::GetContext() [member function]
2739
    cls.add_method('GetContext', 
2740
                   'uint32_t', 
2741
                   [], 
2742
                   is_static=True)
2743
    ## simulator.h (module 'core'): static ns3::Time ns3::Simulator::GetDelayLeft(ns3::EventId const & id) [member function]
2744
    cls.add_method('GetDelayLeft', 
2745
                   'ns3::Time', 
2746
                   [param('ns3::EventId const &', 'id')], 
2747
                   is_static=True)
2748
    ## simulator.h (module 'core'): static ns3::Ptr<ns3::SimulatorImpl> ns3::Simulator::GetImplementation() [member function]
2749
    cls.add_method('GetImplementation', 
2750
                   'ns3::Ptr< ns3::SimulatorImpl >', 
2751
                   [], 
2752
                   is_static=True)
2753
    ## simulator.h (module 'core'): static ns3::Time ns3::Simulator::GetMaximumSimulationTime() [member function]
2754
    cls.add_method('GetMaximumSimulationTime', 
2755
                   'ns3::Time', 
2756
                   [], 
2757
                   is_static=True)
2758
    ## simulator.h (module 'core'): static uint32_t ns3::Simulator::GetSystemId() [member function]
2759
    cls.add_method('GetSystemId', 
2760
                   'uint32_t', 
2761
                   [], 
2762
                   is_static=True)
2763
    ## simulator.h (module 'core'): static bool ns3::Simulator::IsExpired(ns3::EventId const & id) [member function]
2764
    cls.add_method('IsExpired', 
2765
                   'bool', 
2766
                   [param('ns3::EventId const &', 'id')], 
2767
                   is_static=True)
2768
    ## simulator.h (module 'core'): static bool ns3::Simulator::IsFinished() [member function]
2769
    cls.add_method('IsFinished', 
2770
                   'bool', 
2771
                   [], 
2772
                   is_static=True)
2773
    ## simulator.h (module 'core'): static ns3::Time ns3::Simulator::Next() [member function]
2774
    cls.add_method('Next', 
2775
                   'ns3::Time', 
2776
                   [], 
2777
                   is_static=True, deprecated=True)
2778
    ## simulator.h (module 'core'): static ns3::Time ns3::Simulator::Now() [member function]
2779
    cls.add_method('Now', 
2780
                   'ns3::Time', 
2781
                   [], 
2782
                   is_static=True)
2783
    ## simulator.h (module 'core'): static void ns3::Simulator::Remove(ns3::EventId const & id) [member function]
2784
    cls.add_method('Remove', 
2785
                   'void', 
2786
                   [param('ns3::EventId const &', 'id')], 
2787
                   is_static=True)
2788
    ## simulator.h (module 'core'): static void ns3::Simulator::RunOneEvent() [member function]
2789
    cls.add_method('RunOneEvent', 
2790
                   'void', 
2791
                   [], 
2792
                   is_static=True, deprecated=True)
2793
    ## simulator.h (module 'core'): static void ns3::Simulator::SetImplementation(ns3::Ptr<ns3::SimulatorImpl> impl) [member function]
2794
    cls.add_method('SetImplementation', 
2795
                   'void', 
2796
                   [param('ns3::Ptr< ns3::SimulatorImpl >', 'impl')], 
2797
                   is_static=True)
2798
    ## simulator.h (module 'core'): static void ns3::Simulator::SetScheduler(ns3::ObjectFactory schedulerFactory) [member function]
2799
    cls.add_method('SetScheduler', 
2800
                   'void', 
2801
                   [param('ns3::ObjectFactory', 'schedulerFactory')], 
2802
                   is_static=True)
2803
    ## simulator.h (module 'core'): static void ns3::Simulator::Stop() [member function]
2804
    cls.add_method('Stop', 
2805
                   'void', 
2806
                   [], 
2807
                   is_static=True)
2808
    ## simulator.h (module 'core'): static void ns3::Simulator::Stop(ns3::Time const & time) [member function]
2809
    cls.add_method('Stop', 
2810
                   'void', 
2811
                   [param('ns3::Time const &', 'time')], 
2812
                   is_static=True)
2813
    return
2814
2815
def register_Ns3Tag_methods(root_module, cls):
2816
    ## tag.h (module 'network'): ns3::Tag::Tag() [constructor]
2817
    cls.add_constructor([])
2818
    ## tag.h (module 'network'): ns3::Tag::Tag(ns3::Tag const & arg0) [copy constructor]
2819
    cls.add_constructor([param('ns3::Tag const &', 'arg0')])
2820
    ## tag.h (module 'network'): void ns3::Tag::Deserialize(ns3::TagBuffer i) [member function]
2821
    cls.add_method('Deserialize', 
2822
                   'void', 
2823
                   [param('ns3::TagBuffer', 'i')], 
2824
                   is_pure_virtual=True, is_virtual=True)
2825
    ## tag.h (module 'network'): uint32_t ns3::Tag::GetSerializedSize() const [member function]
2826
    cls.add_method('GetSerializedSize', 
2827
                   'uint32_t', 
2828
                   [], 
2829
                   is_pure_virtual=True, is_const=True, is_virtual=True)
2830
    ## tag.h (module 'network'): static ns3::TypeId ns3::Tag::GetTypeId() [member function]
2831
    cls.add_method('GetTypeId', 
2832
                   'ns3::TypeId', 
2833
                   [], 
2834
                   is_static=True)
2835
    ## tag.h (module 'network'): void ns3::Tag::Print(std::ostream & os) const [member function]
2836
    cls.add_method('Print', 
2837
                   'void', 
2838
                   [param('std::ostream &', 'os')], 
2839
                   is_pure_virtual=True, is_const=True, is_virtual=True)
2840
    ## tag.h (module 'network'): void ns3::Tag::Serialize(ns3::TagBuffer i) const [member function]
2841
    cls.add_method('Serialize', 
2842
                   'void', 
2843
                   [param('ns3::TagBuffer', 'i')], 
2844
                   is_pure_virtual=True, is_const=True, is_virtual=True)
2845
    return
2846
2847
def register_Ns3TagBuffer_methods(root_module, cls):
887
def register_Ns3TagBuffer_methods(root_module, cls):
2848
    ## tag-buffer.h (module 'network'): ns3::TagBuffer::TagBuffer(ns3::TagBuffer const & arg0) [copy constructor]
888
    ## tag-buffer.h (module 'network'): ns3::TagBuffer::TagBuffer(ns3::TagBuffer const & arg0) [copy constructor]
2849
    cls.add_constructor([param('ns3::TagBuffer const &', 'arg0')])
889
    cls.add_constructor([param('ns3::TagBuffer const &', 'arg0')])
 Lines 3228-3607    Link Here 
3228
                   [param('ns3::int64x64_t const &', 'o')])
1268
                   [param('ns3::int64x64_t const &', 'o')])
3229
    return
1269
    return
3230
1270
3231
def register_Ns3Chunk_methods(root_module, cls):
3232
    ## chunk.h (module 'network'): ns3::Chunk::Chunk() [constructor]
3233
    cls.add_constructor([])
3234
    ## chunk.h (module 'network'): ns3::Chunk::Chunk(ns3::Chunk const & arg0) [copy constructor]
3235
    cls.add_constructor([param('ns3::Chunk const &', 'arg0')])
3236
    ## chunk.h (module 'network'): uint32_t ns3::Chunk::Deserialize(ns3::Buffer::Iterator start) [member function]
3237
    cls.add_method('Deserialize', 
3238
                   'uint32_t', 
3239
                   [param('ns3::Buffer::Iterator', 'start')], 
3240
                   is_pure_virtual=True, is_virtual=True)
3241
    ## chunk.h (module 'network'): static ns3::TypeId ns3::Chunk::GetTypeId() [member function]
3242
    cls.add_method('GetTypeId', 
3243
                   'ns3::TypeId', 
3244
                   [], 
3245
                   is_static=True)
3246
    ## chunk.h (module 'network'): void ns3::Chunk::Print(std::ostream & os) const [member function]
3247
    cls.add_method('Print', 
3248
                   'void', 
3249
                   [param('std::ostream &', 'os')], 
3250
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3251
    return
3252
3253
def register_Ns3Header_methods(root_module, cls):
3254
    cls.add_output_stream_operator()
3255
    ## header.h (module 'network'): ns3::Header::Header() [constructor]
3256
    cls.add_constructor([])
3257
    ## header.h (module 'network'): ns3::Header::Header(ns3::Header const & arg0) [copy constructor]
3258
    cls.add_constructor([param('ns3::Header const &', 'arg0')])
3259
    ## header.h (module 'network'): uint32_t ns3::Header::Deserialize(ns3::Buffer::Iterator start) [member function]
3260
    cls.add_method('Deserialize', 
3261
                   'uint32_t', 
3262
                   [param('ns3::Buffer::Iterator', 'start')], 
3263
                   is_pure_virtual=True, is_virtual=True)
3264
    ## header.h (module 'network'): uint32_t ns3::Header::GetSerializedSize() const [member function]
3265
    cls.add_method('GetSerializedSize', 
3266
                   'uint32_t', 
3267
                   [], 
3268
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3269
    ## header.h (module 'network'): static ns3::TypeId ns3::Header::GetTypeId() [member function]
3270
    cls.add_method('GetTypeId', 
3271
                   'ns3::TypeId', 
3272
                   [], 
3273
                   is_static=True)
3274
    ## header.h (module 'network'): void ns3::Header::Print(std::ostream & os) const [member function]
3275
    cls.add_method('Print', 
3276
                   'void', 
3277
                   [param('std::ostream &', 'os')], 
3278
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3279
    ## header.h (module 'network'): void ns3::Header::Serialize(ns3::Buffer::Iterator start) const [member function]
3280
    cls.add_method('Serialize', 
3281
                   'void', 
3282
                   [param('ns3::Buffer::Iterator', 'start')], 
3283
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3284
    return
3285
3286
def register_Ns3InternetStackHelper_methods(root_module, cls):
3287
    ## internet-stack-helper.h (module 'internet'): ns3::InternetStackHelper::InternetStackHelper() [constructor]
3288
    cls.add_constructor([])
3289
    ## internet-stack-helper.h (module 'internet'): ns3::InternetStackHelper::InternetStackHelper(ns3::InternetStackHelper const & arg0) [copy constructor]
3290
    cls.add_constructor([param('ns3::InternetStackHelper const &', 'arg0')])
3291
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::Install(std::string nodeName) const [member function]
3292
    cls.add_method('Install', 
3293
                   'void', 
3294
                   [param('std::string', 'nodeName')], 
3295
                   is_const=True)
3296
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::Install(ns3::Ptr<ns3::Node> node) const [member function]
3297
    cls.add_method('Install', 
3298
                   'void', 
3299
                   [param('ns3::Ptr< ns3::Node >', 'node')], 
3300
                   is_const=True)
3301
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::Install(ns3::NodeContainer c) const [member function]
3302
    cls.add_method('Install', 
3303
                   'void', 
3304
                   [param('ns3::NodeContainer', 'c')], 
3305
                   is_const=True)
3306
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::InstallAll() const [member function]
3307
    cls.add_method('InstallAll', 
3308
                   'void', 
3309
                   [], 
3310
                   is_const=True)
3311
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::Reset() [member function]
3312
    cls.add_method('Reset', 
3313
                   'void', 
3314
                   [])
3315
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::SetIpv4StackInstall(bool enable) [member function]
3316
    cls.add_method('SetIpv4StackInstall', 
3317
                   'void', 
3318
                   [param('bool', 'enable')])
3319
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::SetIpv6StackInstall(bool enable) [member function]
3320
    cls.add_method('SetIpv6StackInstall', 
3321
                   'void', 
3322
                   [param('bool', 'enable')])
3323
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::SetRoutingHelper(ns3::Ipv4RoutingHelper const & routing) [member function]
3324
    cls.add_method('SetRoutingHelper', 
3325
                   'void', 
3326
                   [param('ns3::Ipv4RoutingHelper const &', 'routing')])
3327
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::SetRoutingHelper(ns3::Ipv6RoutingHelper const & routing) [member function]
3328
    cls.add_method('SetRoutingHelper', 
3329
                   'void', 
3330
                   [param('ns3::Ipv6RoutingHelper const &', 'routing')])
3331
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::SetTcp(std::string tid) [member function]
3332
    cls.add_method('SetTcp', 
3333
                   'void', 
3334
                   [param('std::string', 'tid')])
3335
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::SetTcp(std::string tid, std::string attr, ns3::AttributeValue const & val) [member function]
3336
    cls.add_method('SetTcp', 
3337
                   'void', 
3338
                   [param('std::string', 'tid'), param('std::string', 'attr'), param('ns3::AttributeValue const &', 'val')])
3339
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::EnableAsciiIpv4Internal(ns3::Ptr<ns3::OutputStreamWrapper> stream, std::string prefix, ns3::Ptr<ns3::Ipv4> ipv4, uint32_t interface, bool explicitFilename) [member function]
3340
    cls.add_method('EnableAsciiIpv4Internal', 
3341
                   'void', 
3342
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], 
3343
                   visibility='private', is_virtual=True)
3344
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::EnableAsciiIpv6Internal(ns3::Ptr<ns3::OutputStreamWrapper> stream, std::string prefix, ns3::Ptr<ns3::Ipv6> ipv6, uint32_t interface, bool explicitFilename) [member function]
3345
    cls.add_method('EnableAsciiIpv6Internal', 
3346
                   'void', 
3347
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], 
3348
                   visibility='private', is_virtual=True)
3349
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::EnablePcapIpv4Internal(std::string prefix, ns3::Ptr<ns3::Ipv4> ipv4, uint32_t interface, bool explicitFilename) [member function]
3350
    cls.add_method('EnablePcapIpv4Internal', 
3351
                   'void', 
3352
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], 
3353
                   visibility='private', is_virtual=True)
3354
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::EnablePcapIpv6Internal(std::string prefix, ns3::Ptr<ns3::Ipv6> ipv6, uint32_t interface, bool explicitFilename) [member function]
3355
    cls.add_method('EnablePcapIpv6Internal', 
3356
                   'void', 
3357
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], 
3358
                   visibility='private', is_virtual=True)
3359
    return
3360
3361
def register_Ns3Ipv4Header_methods(root_module, cls):
3362
    ## ipv4-header.h (module 'internet'): ns3::Ipv4Header::Ipv4Header(ns3::Ipv4Header const & arg0) [copy constructor]
3363
    cls.add_constructor([param('ns3::Ipv4Header const &', 'arg0')])
3364
    ## ipv4-header.h (module 'internet'): ns3::Ipv4Header::Ipv4Header() [constructor]
3365
    cls.add_constructor([])
3366
    ## ipv4-header.h (module 'internet'): uint32_t ns3::Ipv4Header::Deserialize(ns3::Buffer::Iterator start) [member function]
3367
    cls.add_method('Deserialize', 
3368
                   'uint32_t', 
3369
                   [param('ns3::Buffer::Iterator', 'start')], 
3370
                   is_virtual=True)
3371
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::EnableChecksum() [member function]
3372
    cls.add_method('EnableChecksum', 
3373
                   'void', 
3374
                   [])
3375
    ## ipv4-header.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4Header::GetDestination() const [member function]
3376
    cls.add_method('GetDestination', 
3377
                   'ns3::Ipv4Address', 
3378
                   [], 
3379
                   is_const=True)
3380
    ## ipv4-header.h (module 'internet'): uint16_t ns3::Ipv4Header::GetFragmentOffset() const [member function]
3381
    cls.add_method('GetFragmentOffset', 
3382
                   'uint16_t', 
3383
                   [], 
3384
                   is_const=True)
3385
    ## ipv4-header.h (module 'internet'): uint16_t ns3::Ipv4Header::GetIdentification() const [member function]
3386
    cls.add_method('GetIdentification', 
3387
                   'uint16_t', 
3388
                   [], 
3389
                   is_const=True)
3390
    ## ipv4-header.h (module 'internet'): ns3::TypeId ns3::Ipv4Header::GetInstanceTypeId() const [member function]
3391
    cls.add_method('GetInstanceTypeId', 
3392
                   'ns3::TypeId', 
3393
                   [], 
3394
                   is_const=True, is_virtual=True)
3395
    ## ipv4-header.h (module 'internet'): uint16_t ns3::Ipv4Header::GetPayloadSize() const [member function]
3396
    cls.add_method('GetPayloadSize', 
3397
                   'uint16_t', 
3398
                   [], 
3399
                   is_const=True)
3400
    ## ipv4-header.h (module 'internet'): uint8_t ns3::Ipv4Header::GetProtocol() const [member function]
3401
    cls.add_method('GetProtocol', 
3402
                   'uint8_t', 
3403
                   [], 
3404
                   is_const=True)
3405
    ## ipv4-header.h (module 'internet'): uint32_t ns3::Ipv4Header::GetSerializedSize() const [member function]
3406
    cls.add_method('GetSerializedSize', 
3407
                   'uint32_t', 
3408
                   [], 
3409
                   is_const=True, is_virtual=True)
3410
    ## ipv4-header.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4Header::GetSource() const [member function]
3411
    cls.add_method('GetSource', 
3412
                   'ns3::Ipv4Address', 
3413
                   [], 
3414
                   is_const=True)
3415
    ## ipv4-header.h (module 'internet'): uint8_t ns3::Ipv4Header::GetTos() const [member function]
3416
    cls.add_method('GetTos', 
3417
                   'uint8_t', 
3418
                   [], 
3419
                   is_const=True)
3420
    ## ipv4-header.h (module 'internet'): uint8_t ns3::Ipv4Header::GetTtl() const [member function]
3421
    cls.add_method('GetTtl', 
3422
                   'uint8_t', 
3423
                   [], 
3424
                   is_const=True)
3425
    ## ipv4-header.h (module 'internet'): static ns3::TypeId ns3::Ipv4Header::GetTypeId() [member function]
3426
    cls.add_method('GetTypeId', 
3427
                   'ns3::TypeId', 
3428
                   [], 
3429
                   is_static=True)
3430
    ## ipv4-header.h (module 'internet'): bool ns3::Ipv4Header::IsChecksumOk() const [member function]
3431
    cls.add_method('IsChecksumOk', 
3432
                   'bool', 
3433
                   [], 
3434
                   is_const=True)
3435
    ## ipv4-header.h (module 'internet'): bool ns3::Ipv4Header::IsDontFragment() const [member function]
3436
    cls.add_method('IsDontFragment', 
3437
                   'bool', 
3438
                   [], 
3439
                   is_const=True)
3440
    ## ipv4-header.h (module 'internet'): bool ns3::Ipv4Header::IsLastFragment() const [member function]
3441
    cls.add_method('IsLastFragment', 
3442
                   'bool', 
3443
                   [], 
3444
                   is_const=True)
3445
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::Print(std::ostream & os) const [member function]
3446
    cls.add_method('Print', 
3447
                   'void', 
3448
                   [param('std::ostream &', 'os')], 
3449
                   is_const=True, is_virtual=True)
3450
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::Serialize(ns3::Buffer::Iterator start) const [member function]
3451
    cls.add_method('Serialize', 
3452
                   'void', 
3453
                   [param('ns3::Buffer::Iterator', 'start')], 
3454
                   is_const=True, is_virtual=True)
3455
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetDestination(ns3::Ipv4Address destination) [member function]
3456
    cls.add_method('SetDestination', 
3457
                   'void', 
3458
                   [param('ns3::Ipv4Address', 'destination')])
3459
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetDontFragment() [member function]
3460
    cls.add_method('SetDontFragment', 
3461
                   'void', 
3462
                   [])
3463
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetFragmentOffset(uint16_t offset) [member function]
3464
    cls.add_method('SetFragmentOffset', 
3465
                   'void', 
3466
                   [param('uint16_t', 'offset')])
3467
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetIdentification(uint16_t identification) [member function]
3468
    cls.add_method('SetIdentification', 
3469
                   'void', 
3470
                   [param('uint16_t', 'identification')])
3471
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetLastFragment() [member function]
3472
    cls.add_method('SetLastFragment', 
3473
                   'void', 
3474
                   [])
3475
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetMayFragment() [member function]
3476
    cls.add_method('SetMayFragment', 
3477
                   'void', 
3478
                   [])
3479
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetMoreFragments() [member function]
3480
    cls.add_method('SetMoreFragments', 
3481
                   'void', 
3482
                   [])
3483
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetPayloadSize(uint16_t size) [member function]
3484
    cls.add_method('SetPayloadSize', 
3485
                   'void', 
3486
                   [param('uint16_t', 'size')])
3487
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetProtocol(uint8_t num) [member function]
3488
    cls.add_method('SetProtocol', 
3489
                   'void', 
3490
                   [param('uint8_t', 'num')])
3491
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetSource(ns3::Ipv4Address source) [member function]
3492
    cls.add_method('SetSource', 
3493
                   'void', 
3494
                   [param('ns3::Ipv4Address', 'source')])
3495
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetTos(uint8_t tos) [member function]
3496
    cls.add_method('SetTos', 
3497
                   'void', 
3498
                   [param('uint8_t', 'tos')])
3499
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetTtl(uint8_t ttl) [member function]
3500
    cls.add_method('SetTtl', 
3501
                   'void', 
3502
                   [param('uint8_t', 'ttl')])
3503
    return
3504
3505
def register_Ns3Ipv6Header_methods(root_module, cls):
3506
    ## ipv6-header.h (module 'internet'): ns3::Ipv6Header::Ipv6Header(ns3::Ipv6Header const & arg0) [copy constructor]
3507
    cls.add_constructor([param('ns3::Ipv6Header const &', 'arg0')])
3508
    ## ipv6-header.h (module 'internet'): ns3::Ipv6Header::Ipv6Header() [constructor]
3509
    cls.add_constructor([])
3510
    ## ipv6-header.h (module 'internet'): uint32_t ns3::Ipv6Header::Deserialize(ns3::Buffer::Iterator start) [member function]
3511
    cls.add_method('Deserialize', 
3512
                   'uint32_t', 
3513
                   [param('ns3::Buffer::Iterator', 'start')], 
3514
                   is_virtual=True)
3515
    ## ipv6-header.h (module 'internet'): ns3::Ipv6Address ns3::Ipv6Header::GetDestinationAddress() const [member function]
3516
    cls.add_method('GetDestinationAddress', 
3517
                   'ns3::Ipv6Address', 
3518
                   [], 
3519
                   is_const=True)
3520
    ## ipv6-header.h (module 'internet'): uint32_t ns3::Ipv6Header::GetFlowLabel() const [member function]
3521
    cls.add_method('GetFlowLabel', 
3522
                   'uint32_t', 
3523
                   [], 
3524
                   is_const=True)
3525
    ## ipv6-header.h (module 'internet'): uint8_t ns3::Ipv6Header::GetHopLimit() const [member function]
3526
    cls.add_method('GetHopLimit', 
3527
                   'uint8_t', 
3528
                   [], 
3529
                   is_const=True)
3530
    ## ipv6-header.h (module 'internet'): ns3::TypeId ns3::Ipv6Header::GetInstanceTypeId() const [member function]
3531
    cls.add_method('GetInstanceTypeId', 
3532
                   'ns3::TypeId', 
3533
                   [], 
3534
                   is_const=True, is_virtual=True)
3535
    ## ipv6-header.h (module 'internet'): uint8_t ns3::Ipv6Header::GetNextHeader() const [member function]
3536
    cls.add_method('GetNextHeader', 
3537
                   'uint8_t', 
3538
                   [], 
3539
                   is_const=True)
3540
    ## ipv6-header.h (module 'internet'): uint16_t ns3::Ipv6Header::GetPayloadLength() const [member function]
3541
    cls.add_method('GetPayloadLength', 
3542
                   'uint16_t', 
3543
                   [], 
3544
                   is_const=True)
3545
    ## ipv6-header.h (module 'internet'): uint32_t ns3::Ipv6Header::GetSerializedSize() const [member function]
3546
    cls.add_method('GetSerializedSize', 
3547
                   'uint32_t', 
3548
                   [], 
3549
                   is_const=True, is_virtual=True)
3550
    ## ipv6-header.h (module 'internet'): ns3::Ipv6Address ns3::Ipv6Header::GetSourceAddress() const [member function]
3551
    cls.add_method('GetSourceAddress', 
3552
                   'ns3::Ipv6Address', 
3553
                   [], 
3554
                   is_const=True)
3555
    ## ipv6-header.h (module 'internet'): uint8_t ns3::Ipv6Header::GetTrafficClass() const [member function]
3556
    cls.add_method('GetTrafficClass', 
3557
                   'uint8_t', 
3558
                   [], 
3559
                   is_const=True)
3560
    ## ipv6-header.h (module 'internet'): static ns3::TypeId ns3::Ipv6Header::GetTypeId() [member function]
3561
    cls.add_method('GetTypeId', 
3562
                   'ns3::TypeId', 
3563
                   [], 
3564
                   is_static=True)
3565
    ## ipv6-header.h (module 'internet'): void ns3::Ipv6Header::Print(std::ostream & os) const [member function]
3566
    cls.add_method('Print', 
3567
                   'void', 
3568
                   [param('std::ostream &', 'os')], 
3569
                   is_const=True, is_virtual=True)
3570
    ## ipv6-header.h (module 'internet'): void ns3::Ipv6Header::Serialize(ns3::Buffer::Iterator start) const [member function]
3571
    cls.add_method('Serialize', 
3572
                   'void', 
3573
                   [param('ns3::Buffer::Iterator', 'start')], 
3574
                   is_const=True, is_virtual=True)
3575
    ## ipv6-header.h (module 'internet'): void ns3::Ipv6Header::SetDestinationAddress(ns3::Ipv6Address dst) [member function]
3576
    cls.add_method('SetDestinationAddress', 
3577
                   'void', 
3578
                   [param('ns3::Ipv6Address', 'dst')])
3579
    ## ipv6-header.h (module 'internet'): void ns3::Ipv6Header::SetFlowLabel(uint32_t flow) [member function]
3580
    cls.add_method('SetFlowLabel', 
3581
                   'void', 
3582
                   [param('uint32_t', 'flow')])
3583
    ## ipv6-header.h (module 'internet'): void ns3::Ipv6Header::SetHopLimit(uint8_t limit) [member function]
3584
    cls.add_method('SetHopLimit', 
3585
                   'void', 
3586
                   [param('uint8_t', 'limit')])
3587
    ## ipv6-header.h (module 'internet'): void ns3::Ipv6Header::SetNextHeader(uint8_t next) [member function]
3588
    cls.add_method('SetNextHeader', 
3589
                   'void', 
3590
                   [param('uint8_t', 'next')])
3591
    ## ipv6-header.h (module 'internet'): void ns3::Ipv6Header::SetPayloadLength(uint16_t len) [member function]
3592
    cls.add_method('SetPayloadLength', 
3593
                   'void', 
3594
                   [param('uint16_t', 'len')])
3595
    ## ipv6-header.h (module 'internet'): void ns3::Ipv6Header::SetSourceAddress(ns3::Ipv6Address src) [member function]
3596
    cls.add_method('SetSourceAddress', 
3597
                   'void', 
3598
                   [param('ns3::Ipv6Address', 'src')])
3599
    ## ipv6-header.h (module 'internet'): void ns3::Ipv6Header::SetTrafficClass(uint8_t traffic) [member function]
3600
    cls.add_method('SetTrafficClass', 
3601
                   'void', 
3602
                   [param('uint8_t', 'traffic')])
3603
    return
3604
3605
def register_Ns3Object_methods(root_module, cls):
1271
def register_Ns3Object_methods(root_module, cls):
3606
    ## object.h (module 'core'): ns3::Object::Object() [constructor]
1272
    ## object.h (module 'core'): ns3::Object::Object() [constructor]
3607
    cls.add_constructor([])
1273
    cls.add_constructor([])
 Lines 3668-3749    Link Here 
3668
                   [])
1334
                   [])
3669
    return
1335
    return
3670
1336
3671
def register_Ns3PcapFileWrapper_methods(root_module, cls):
3672
    ## pcap-file-wrapper.h (module 'network'): static ns3::TypeId ns3::PcapFileWrapper::GetTypeId() [member function]
3673
    cls.add_method('GetTypeId', 
3674
                   'ns3::TypeId', 
3675
                   [], 
3676
                   is_static=True)
3677
    ## pcap-file-wrapper.h (module 'network'): ns3::PcapFileWrapper::PcapFileWrapper() [constructor]
3678
    cls.add_constructor([])
3679
    ## pcap-file-wrapper.h (module 'network'): bool ns3::PcapFileWrapper::Fail() const [member function]
3680
    cls.add_method('Fail', 
3681
                   'bool', 
3682
                   [], 
3683
                   is_const=True)
3684
    ## pcap-file-wrapper.h (module 'network'): bool ns3::PcapFileWrapper::Eof() const [member function]
3685
    cls.add_method('Eof', 
3686
                   'bool', 
3687
                   [], 
3688
                   is_const=True)
3689
    ## pcap-file-wrapper.h (module 'network'): void ns3::PcapFileWrapper::Clear() [member function]
3690
    cls.add_method('Clear', 
3691
                   'void', 
3692
                   [])
3693
    ## pcap-file-wrapper.h (module 'network'): void ns3::PcapFileWrapper::Open(std::string const & filename, std::_Ios_Openmode mode) [member function]
3694
    cls.add_method('Open', 
3695
                   'void', 
3696
                   [param('std::string const &', 'filename'), param('std::_Ios_Openmode', 'mode')])
3697
    ## pcap-file-wrapper.h (module 'network'): void ns3::PcapFileWrapper::Close() [member function]
3698
    cls.add_method('Close', 
3699
                   'void', 
3700
                   [])
3701
    ## pcap-file-wrapper.h (module 'network'): void ns3::PcapFileWrapper::Init(uint32_t dataLinkType, uint32_t snapLen=std::numeric_limits<unsigned int>::max(), int32_t tzCorrection=ns3::PcapFile::ZONE_DEFAULT) [member function]
3702
    cls.add_method('Init', 
3703
                   'void', 
3704
                   [param('uint32_t', 'dataLinkType'), param('uint32_t', 'snapLen', default_value='std::numeric_limits<unsigned int>::max()'), param('int32_t', 'tzCorrection', default_value='ns3::PcapFile::ZONE_DEFAULT')])
3705
    ## pcap-file-wrapper.h (module 'network'): void ns3::PcapFileWrapper::Write(ns3::Time t, ns3::Ptr<const ns3::Packet> p) [member function]
3706
    cls.add_method('Write', 
3707
                   'void', 
3708
                   [param('ns3::Time', 't'), param('ns3::Ptr< ns3::Packet const >', 'p')])
3709
    ## pcap-file-wrapper.h (module 'network'): void ns3::PcapFileWrapper::Write(ns3::Time t, ns3::Header & header, ns3::Ptr<const ns3::Packet> p) [member function]
3710
    cls.add_method('Write', 
3711
                   'void', 
3712
                   [param('ns3::Time', 't'), param('ns3::Header &', 'header'), param('ns3::Ptr< ns3::Packet const >', 'p')])
3713
    ## pcap-file-wrapper.h (module 'network'): void ns3::PcapFileWrapper::Write(ns3::Time t, uint8_t const * buffer, uint32_t length) [member function]
3714
    cls.add_method('Write', 
3715
                   'void', 
3716
                   [param('ns3::Time', 't'), param('uint8_t const *', 'buffer'), param('uint32_t', 'length')])
3717
    ## pcap-file-wrapper.h (module 'network'): uint32_t ns3::PcapFileWrapper::GetMagic() [member function]
3718
    cls.add_method('GetMagic', 
3719
                   'uint32_t', 
3720
                   [])
3721
    ## pcap-file-wrapper.h (module 'network'): uint16_t ns3::PcapFileWrapper::GetVersionMajor() [member function]
3722
    cls.add_method('GetVersionMajor', 
3723
                   'uint16_t', 
3724
                   [])
3725
    ## pcap-file-wrapper.h (module 'network'): uint16_t ns3::PcapFileWrapper::GetVersionMinor() [member function]
3726
    cls.add_method('GetVersionMinor', 
3727
                   'uint16_t', 
3728
                   [])
3729
    ## pcap-file-wrapper.h (module 'network'): int32_t ns3::PcapFileWrapper::GetTimeZoneOffset() [member function]
3730
    cls.add_method('GetTimeZoneOffset', 
3731
                   'int32_t', 
3732
                   [])
3733
    ## pcap-file-wrapper.h (module 'network'): uint32_t ns3::PcapFileWrapper::GetSigFigs() [member function]
3734
    cls.add_method('GetSigFigs', 
3735
                   'uint32_t', 
3736
                   [])
3737
    ## pcap-file-wrapper.h (module 'network'): uint32_t ns3::PcapFileWrapper::GetSnapLen() [member function]
3738
    cls.add_method('GetSnapLen', 
3739
                   'uint32_t', 
3740
                   [])
3741
    ## pcap-file-wrapper.h (module 'network'): uint32_t ns3::PcapFileWrapper::GetDataLinkType() [member function]
3742
    cls.add_method('GetDataLinkType', 
3743
                   'uint32_t', 
3744
                   [])
3745
    return
3746
3747
def register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, cls):
1337
def register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, cls):
3748
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >::SimpleRefCount() [constructor]
1338
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >::SimpleRefCount() [constructor]
3749
    cls.add_constructor([])
1339
    cls.add_constructor([])
 Lines 3792-4233    Link Here 
3792
                   is_static=True)
1382
                   is_static=True)
3793
    return
1383
    return
3794
1384
3795
def register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__gt___methods(root_module, cls):
3796
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >::SimpleRefCount() [constructor]
3797
    cls.add_constructor([])
3798
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >::SimpleRefCount(ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> > const & o) [copy constructor]
3799
    cls.add_constructor([param('ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter< ns3::EventImpl > > const &', 'o')])
3800
    ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >::Cleanup() [member function]
3801
    cls.add_method('Cleanup', 
3802
                   'void', 
3803
                   [], 
3804
                   is_static=True)
3805
    return
3806
3807
def register_Ns3SimpleRefCount__Ns3Ipv4MulticastRoute_Ns3Empty_Ns3DefaultDeleter__lt__ns3Ipv4MulticastRoute__gt___methods(root_module, cls):
3808
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4MulticastRoute> >::SimpleRefCount() [constructor]
3809
    cls.add_constructor([])
3810
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4MulticastRoute> >::SimpleRefCount(ns3::SimpleRefCount<ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4MulticastRoute> > const & o) [copy constructor]
3811
    cls.add_constructor([param('ns3::SimpleRefCount< ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter< ns3::Ipv4MulticastRoute > > const &', 'o')])
3812
    ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4MulticastRoute> >::Cleanup() [member function]
3813
    cls.add_method('Cleanup', 
3814
                   'void', 
3815
                   [], 
3816
                   is_static=True)
3817
    return
3818
3819
def register_Ns3SimpleRefCount__Ns3Ipv4Route_Ns3Empty_Ns3DefaultDeleter__lt__ns3Ipv4Route__gt___methods(root_module, cls):
3820
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4Route> >::SimpleRefCount() [constructor]
3821
    cls.add_constructor([])
3822
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4Route> >::SimpleRefCount(ns3::SimpleRefCount<ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4Route> > const & o) [copy constructor]
3823
    cls.add_constructor([param('ns3::SimpleRefCount< ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter< ns3::Ipv4Route > > const &', 'o')])
3824
    ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4Route> >::Cleanup() [member function]
3825
    cls.add_method('Cleanup', 
3826
                   'void', 
3827
                   [], 
3828
                   is_static=True)
3829
    return
3830
3831
def register_Ns3SimpleRefCount__Ns3NixVector_Ns3Empty_Ns3DefaultDeleter__lt__ns3NixVector__gt___methods(root_module, cls):
3832
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >::SimpleRefCount() [constructor]
3833
    cls.add_constructor([])
3834
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >::SimpleRefCount(ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> > const & o) [copy constructor]
3835
    cls.add_constructor([param('ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter< ns3::NixVector > > const &', 'o')])
3836
    ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >::Cleanup() [member function]
3837
    cls.add_method('Cleanup', 
3838
                   'void', 
3839
                   [], 
3840
                   is_static=True)
3841
    return
3842
3843
def register_Ns3SimpleRefCount__Ns3OutputStreamWrapper_Ns3Empty_Ns3DefaultDeleter__lt__ns3OutputStreamWrapper__gt___methods(root_module, cls):
3844
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter<ns3::OutputStreamWrapper> >::SimpleRefCount() [constructor]
3845
    cls.add_constructor([])
3846
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter<ns3::OutputStreamWrapper> >::SimpleRefCount(ns3::SimpleRefCount<ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter<ns3::OutputStreamWrapper> > const & o) [copy constructor]
3847
    cls.add_constructor([param('ns3::SimpleRefCount< ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter< ns3::OutputStreamWrapper > > const &', 'o')])
3848
    ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter<ns3::OutputStreamWrapper> >::Cleanup() [member function]
3849
    cls.add_method('Cleanup', 
3850
                   'void', 
3851
                   [], 
3852
                   is_static=True)
3853
    return
3854
3855
def register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, cls):
3856
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >::SimpleRefCount() [constructor]
3857
    cls.add_constructor([])
3858
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >::SimpleRefCount(ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> > const & o) [copy constructor]
3859
    cls.add_constructor([param('ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter< ns3::Packet > > const &', 'o')])
3860
    ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >::Cleanup() [member function]
3861
    cls.add_method('Cleanup', 
3862
                   'void', 
3863
                   [], 
3864
                   is_static=True)
3865
    return
3866
3867
def register_Ns3Socket_methods(root_module, cls):
3868
    ## socket.h (module 'network'): ns3::Socket::Socket(ns3::Socket const & arg0) [copy constructor]
3869
    cls.add_constructor([param('ns3::Socket const &', 'arg0')])
3870
    ## socket.h (module 'network'): ns3::Socket::Socket() [constructor]
3871
    cls.add_constructor([])
3872
    ## socket.h (module 'network'): int ns3::Socket::Bind(ns3::Address const & address) [member function]
3873
    cls.add_method('Bind', 
3874
                   'int', 
3875
                   [param('ns3::Address const &', 'address')], 
3876
                   is_pure_virtual=True, is_virtual=True)
3877
    ## socket.h (module 'network'): int ns3::Socket::Bind() [member function]
3878
    cls.add_method('Bind', 
3879
                   'int', 
3880
                   [], 
3881
                   is_pure_virtual=True, is_virtual=True)
3882
    ## socket.h (module 'network'): void ns3::Socket::BindToNetDevice(ns3::Ptr<ns3::NetDevice> netdevice) [member function]
3883
    cls.add_method('BindToNetDevice', 
3884
                   'void', 
3885
                   [param('ns3::Ptr< ns3::NetDevice >', 'netdevice')], 
3886
                   is_virtual=True)
3887
    ## socket.h (module 'network'): int ns3::Socket::Close() [member function]
3888
    cls.add_method('Close', 
3889
                   'int', 
3890
                   [], 
3891
                   is_pure_virtual=True, is_virtual=True)
3892
    ## socket.h (module 'network'): int ns3::Socket::Connect(ns3::Address const & address) [member function]
3893
    cls.add_method('Connect', 
3894
                   'int', 
3895
                   [param('ns3::Address const &', 'address')], 
3896
                   is_pure_virtual=True, is_virtual=True)
3897
    ## socket.h (module 'network'): static ns3::Ptr<ns3::Socket> ns3::Socket::CreateSocket(ns3::Ptr<ns3::Node> node, ns3::TypeId tid) [member function]
3898
    cls.add_method('CreateSocket', 
3899
                   'ns3::Ptr< ns3::Socket >', 
3900
                   [param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::TypeId', 'tid')], 
3901
                   is_static=True)
3902
    ## socket.h (module 'network'): bool ns3::Socket::GetAllowBroadcast() const [member function]
3903
    cls.add_method('GetAllowBroadcast', 
3904
                   'bool', 
3905
                   [], 
3906
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3907
    ## socket.h (module 'network'): ns3::Ptr<ns3::NetDevice> ns3::Socket::GetBoundNetDevice() [member function]
3908
    cls.add_method('GetBoundNetDevice', 
3909
                   'ns3::Ptr< ns3::NetDevice >', 
3910
                   [])
3911
    ## socket.h (module 'network'): ns3::Socket::SocketErrno ns3::Socket::GetErrno() const [member function]
3912
    cls.add_method('GetErrno', 
3913
                   'ns3::Socket::SocketErrno', 
3914
                   [], 
3915
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3916
    ## socket.h (module 'network'): ns3::Ptr<ns3::Node> ns3::Socket::GetNode() const [member function]
3917
    cls.add_method('GetNode', 
3918
                   'ns3::Ptr< ns3::Node >', 
3919
                   [], 
3920
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3921
    ## socket.h (module 'network'): uint32_t ns3::Socket::GetRxAvailable() const [member function]
3922
    cls.add_method('GetRxAvailable', 
3923
                   'uint32_t', 
3924
                   [], 
3925
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3926
    ## socket.h (module 'network'): int ns3::Socket::GetSockName(ns3::Address & address) const [member function]
3927
    cls.add_method('GetSockName', 
3928
                   'int', 
3929
                   [param('ns3::Address &', 'address')], 
3930
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3931
    ## socket.h (module 'network'): ns3::Socket::SocketType ns3::Socket::GetSocketType() const [member function]
3932
    cls.add_method('GetSocketType', 
3933
                   'ns3::Socket::SocketType', 
3934
                   [], 
3935
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3936
    ## socket.h (module 'network'): uint32_t ns3::Socket::GetTxAvailable() const [member function]
3937
    cls.add_method('GetTxAvailable', 
3938
                   'uint32_t', 
3939
                   [], 
3940
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3941
    ## socket.h (module 'network'): int ns3::Socket::Listen() [member function]
3942
    cls.add_method('Listen', 
3943
                   'int', 
3944
                   [], 
3945
                   is_pure_virtual=True, is_virtual=True)
3946
    ## socket.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Socket::Recv(uint32_t maxSize, uint32_t flags) [member function]
3947
    cls.add_method('Recv', 
3948
                   'ns3::Ptr< ns3::Packet >', 
3949
                   [param('uint32_t', 'maxSize'), param('uint32_t', 'flags')], 
3950
                   is_pure_virtual=True, is_virtual=True)
3951
    ## socket.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Socket::Recv() [member function]
3952
    cls.add_method('Recv', 
3953
                   'ns3::Ptr< ns3::Packet >', 
3954
                   [])
3955
    ## socket.h (module 'network'): int ns3::Socket::Recv(uint8_t * buf, uint32_t size, uint32_t flags) [member function]
3956
    cls.add_method('Recv', 
3957
                   'int', 
3958
                   [param('uint8_t *', 'buf'), param('uint32_t', 'size'), param('uint32_t', 'flags')])
3959
    ## socket.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Socket::RecvFrom(uint32_t maxSize, uint32_t flags, ns3::Address & fromAddress) [member function]
3960
    cls.add_method('RecvFrom', 
3961
                   'ns3::Ptr< ns3::Packet >', 
3962
                   [param('uint32_t', 'maxSize'), param('uint32_t', 'flags'), param('ns3::Address &', 'fromAddress')], 
3963
                   is_pure_virtual=True, is_virtual=True)
3964
    ## socket.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Socket::RecvFrom(ns3::Address & fromAddress) [member function]
3965
    cls.add_method('RecvFrom', 
3966
                   'ns3::Ptr< ns3::Packet >', 
3967
                   [param('ns3::Address &', 'fromAddress')])
3968
    ## socket.h (module 'network'): int ns3::Socket::RecvFrom(uint8_t * buf, uint32_t size, uint32_t flags, ns3::Address & fromAddress) [member function]
3969
    cls.add_method('RecvFrom', 
3970
                   'int', 
3971
                   [param('uint8_t *', 'buf'), param('uint32_t', 'size'), param('uint32_t', 'flags'), param('ns3::Address &', 'fromAddress')])
3972
    ## socket.h (module 'network'): int ns3::Socket::Send(ns3::Ptr<ns3::Packet> p, uint32_t flags) [member function]
3973
    cls.add_method('Send', 
3974
                   'int', 
3975
                   [param('ns3::Ptr< ns3::Packet >', 'p'), param('uint32_t', 'flags')], 
3976
                   is_pure_virtual=True, is_virtual=True)
3977
    ## socket.h (module 'network'): int ns3::Socket::Send(ns3::Ptr<ns3::Packet> p) [member function]
3978
    cls.add_method('Send', 
3979
                   'int', 
3980
                   [param('ns3::Ptr< ns3::Packet >', 'p')])
3981
    ## socket.h (module 'network'): int ns3::Socket::Send(uint8_t const * buf, uint32_t size, uint32_t flags) [member function]
3982
    cls.add_method('Send', 
3983
                   'int', 
3984
                   [param('uint8_t const *', 'buf'), param('uint32_t', 'size'), param('uint32_t', 'flags')])
3985
    ## socket.h (module 'network'): int ns3::Socket::SendTo(ns3::Ptr<ns3::Packet> p, uint32_t flags, ns3::Address const & toAddress) [member function]
3986
    cls.add_method('SendTo', 
3987
                   'int', 
3988
                   [param('ns3::Ptr< ns3::Packet >', 'p'), param('uint32_t', 'flags'), param('ns3::Address const &', 'toAddress')], 
3989
                   is_pure_virtual=True, is_virtual=True)
3990
    ## socket.h (module 'network'): int ns3::Socket::SendTo(uint8_t const * buf, uint32_t size, uint32_t flags, ns3::Address const & address) [member function]
3991
    cls.add_method('SendTo', 
3992
                   'int', 
3993
                   [param('uint8_t const *', 'buf'), param('uint32_t', 'size'), param('uint32_t', 'flags'), param('ns3::Address const &', 'address')])
3994
    ## socket.h (module 'network'): 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]
3995
    cls.add_method('SetAcceptCallback', 
3996
                   'void', 
3997
                   [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')])
3998
    ## socket.h (module 'network'): bool ns3::Socket::SetAllowBroadcast(bool allowBroadcast) [member function]
3999
    cls.add_method('SetAllowBroadcast', 
4000
                   'bool', 
4001
                   [param('bool', 'allowBroadcast')], 
4002
                   is_pure_virtual=True, is_virtual=True)
4003
    ## socket.h (module 'network'): void ns3::Socket::SetCloseCallbacks(ns3::Callback<void, ns3::Ptr<ns3::Socket>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> normalClose, ns3::Callback<void, ns3::Ptr<ns3::Socket>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> errorClose) [member function]
4004
    cls.add_method('SetCloseCallbacks', 
4005
                   'void', 
4006
                   [param('ns3::Callback< void, ns3::Ptr< ns3::Socket >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'normalClose'), param('ns3::Callback< void, ns3::Ptr< ns3::Socket >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'errorClose')])
4007
    ## socket.h (module 'network'): 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]
4008
    cls.add_method('SetConnectCallback', 
4009
                   'void', 
4010
                   [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')])
4011
    ## socket.h (module 'network'): 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]
4012
    cls.add_method('SetDataSentCallback', 
4013
                   'void', 
4014
                   [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')])
4015
    ## socket.h (module 'network'): 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]
4016
    cls.add_method('SetRecvCallback', 
4017
                   'void', 
4018
                   [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')])
4019
    ## socket.h (module 'network'): void ns3::Socket::SetRecvPktInfo(bool flag) [member function]
4020
    cls.add_method('SetRecvPktInfo', 
4021
                   'void', 
4022
                   [param('bool', 'flag')])
4023
    ## socket.h (module 'network'): 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]
4024
    cls.add_method('SetSendCallback', 
4025
                   'void', 
4026
                   [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')])
4027
    ## socket.h (module 'network'): int ns3::Socket::ShutdownRecv() [member function]
4028
    cls.add_method('ShutdownRecv', 
4029
                   'int', 
4030
                   [], 
4031
                   is_pure_virtual=True, is_virtual=True)
4032
    ## socket.h (module 'network'): int ns3::Socket::ShutdownSend() [member function]
4033
    cls.add_method('ShutdownSend', 
4034
                   'int', 
4035
                   [], 
4036
                   is_pure_virtual=True, is_virtual=True)
4037
    ## socket.h (module 'network'): void ns3::Socket::DoDispose() [member function]
4038
    cls.add_method('DoDispose', 
4039
                   'void', 
4040
                   [], 
4041
                   visibility='protected', is_virtual=True)
4042
    ## socket.h (module 'network'): void ns3::Socket::NotifyConnectionFailed() [member function]
4043
    cls.add_method('NotifyConnectionFailed', 
4044
                   'void', 
4045
                   [], 
4046
                   visibility='protected')
4047
    ## socket.h (module 'network'): bool ns3::Socket::NotifyConnectionRequest(ns3::Address const & from) [member function]
4048
    cls.add_method('NotifyConnectionRequest', 
4049
                   'bool', 
4050
                   [param('ns3::Address const &', 'from')], 
4051
                   visibility='protected')
4052
    ## socket.h (module 'network'): void ns3::Socket::NotifyConnectionSucceeded() [member function]
4053
    cls.add_method('NotifyConnectionSucceeded', 
4054
                   'void', 
4055
                   [], 
4056
                   visibility='protected')
4057
    ## socket.h (module 'network'): void ns3::Socket::NotifyDataRecv() [member function]
4058
    cls.add_method('NotifyDataRecv', 
4059
                   'void', 
4060
                   [], 
4061
                   visibility='protected')
4062
    ## socket.h (module 'network'): void ns3::Socket::NotifyDataSent(uint32_t size) [member function]
4063
    cls.add_method('NotifyDataSent', 
4064
                   'void', 
4065
                   [param('uint32_t', 'size')], 
4066
                   visibility='protected')
4067
    ## socket.h (module 'network'): void ns3::Socket::NotifyErrorClose() [member function]
4068
    cls.add_method('NotifyErrorClose', 
4069
                   'void', 
4070
                   [], 
4071
                   visibility='protected')
4072
    ## socket.h (module 'network'): void ns3::Socket::NotifyNewConnectionCreated(ns3::Ptr<ns3::Socket> socket, ns3::Address const & from) [member function]
4073
    cls.add_method('NotifyNewConnectionCreated', 
4074
                   'void', 
4075
                   [param('ns3::Ptr< ns3::Socket >', 'socket'), param('ns3::Address const &', 'from')], 
4076
                   visibility='protected')
4077
    ## socket.h (module 'network'): void ns3::Socket::NotifyNormalClose() [member function]
4078
    cls.add_method('NotifyNormalClose', 
4079
                   'void', 
4080
                   [], 
4081
                   visibility='protected')
4082
    ## socket.h (module 'network'): void ns3::Socket::NotifySend(uint32_t spaceAvailable) [member function]
4083
    cls.add_method('NotifySend', 
4084
                   'void', 
4085
                   [param('uint32_t', 'spaceAvailable')], 
4086
                   visibility='protected')
4087
    return
4088
4089
def register_Ns3SocketAddressTag_methods(root_module, cls):
4090
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag(ns3::SocketAddressTag const & arg0) [copy constructor]
4091
    cls.add_constructor([param('ns3::SocketAddressTag const &', 'arg0')])
4092
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag() [constructor]
4093
    cls.add_constructor([])
4094
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Deserialize(ns3::TagBuffer i) [member function]
4095
    cls.add_method('Deserialize', 
4096
                   'void', 
4097
                   [param('ns3::TagBuffer', 'i')], 
4098
                   is_virtual=True)
4099
    ## socket.h (module 'network'): ns3::Address ns3::SocketAddressTag::GetAddress() const [member function]
4100
    cls.add_method('GetAddress', 
4101
                   'ns3::Address', 
4102
                   [], 
4103
                   is_const=True)
4104
    ## socket.h (module 'network'): ns3::TypeId ns3::SocketAddressTag::GetInstanceTypeId() const [member function]
4105
    cls.add_method('GetInstanceTypeId', 
4106
                   'ns3::TypeId', 
4107
                   [], 
4108
                   is_const=True, is_virtual=True)
4109
    ## socket.h (module 'network'): uint32_t ns3::SocketAddressTag::GetSerializedSize() const [member function]
4110
    cls.add_method('GetSerializedSize', 
4111
                   'uint32_t', 
4112
                   [], 
4113
                   is_const=True, is_virtual=True)
4114
    ## socket.h (module 'network'): static ns3::TypeId ns3::SocketAddressTag::GetTypeId() [member function]
4115
    cls.add_method('GetTypeId', 
4116
                   'ns3::TypeId', 
4117
                   [], 
4118
                   is_static=True)
4119
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Print(std::ostream & os) const [member function]
4120
    cls.add_method('Print', 
4121
                   'void', 
4122
                   [param('std::ostream &', 'os')], 
4123
                   is_const=True, is_virtual=True)
4124
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Serialize(ns3::TagBuffer i) const [member function]
4125
    cls.add_method('Serialize', 
4126
                   'void', 
4127
                   [param('ns3::TagBuffer', 'i')], 
4128
                   is_const=True, is_virtual=True)
4129
    ## socket.h (module 'network'): void ns3::SocketAddressTag::SetAddress(ns3::Address addr) [member function]
4130
    cls.add_method('SetAddress', 
4131
                   'void', 
4132
                   [param('ns3::Address', 'addr')])
4133
    return
4134
4135
def register_Ns3SocketIpTtlTag_methods(root_module, cls):
4136
    ## socket.h (module 'network'): ns3::SocketIpTtlTag::SocketIpTtlTag(ns3::SocketIpTtlTag const & arg0) [copy constructor]
4137
    cls.add_constructor([param('ns3::SocketIpTtlTag const &', 'arg0')])
4138
    ## socket.h (module 'network'): ns3::SocketIpTtlTag::SocketIpTtlTag() [constructor]
4139
    cls.add_constructor([])
4140
    ## socket.h (module 'network'): void ns3::SocketIpTtlTag::Deserialize(ns3::TagBuffer i) [member function]
4141
    cls.add_method('Deserialize', 
4142
                   'void', 
4143
                   [param('ns3::TagBuffer', 'i')], 
4144
                   is_virtual=True)
4145
    ## socket.h (module 'network'): ns3::TypeId ns3::SocketIpTtlTag::GetInstanceTypeId() const [member function]
4146
    cls.add_method('GetInstanceTypeId', 
4147
                   'ns3::TypeId', 
4148
                   [], 
4149
                   is_const=True, is_virtual=True)
4150
    ## socket.h (module 'network'): uint32_t ns3::SocketIpTtlTag::GetSerializedSize() const [member function]
4151
    cls.add_method('GetSerializedSize', 
4152
                   'uint32_t', 
4153
                   [], 
4154
                   is_const=True, is_virtual=True)
4155
    ## socket.h (module 'network'): uint8_t ns3::SocketIpTtlTag::GetTtl() const [member function]
4156
    cls.add_method('GetTtl', 
4157
                   'uint8_t', 
4158
                   [], 
4159
                   is_const=True)
4160
    ## socket.h (module 'network'): static ns3::TypeId ns3::SocketIpTtlTag::GetTypeId() [member function]
4161
    cls.add_method('GetTypeId', 
4162
                   'ns3::TypeId', 
4163
                   [], 
4164
                   is_static=True)
4165
    ## socket.h (module 'network'): void ns3::SocketIpTtlTag::Print(std::ostream & os) const [member function]
4166
    cls.add_method('Print', 
4167
                   'void', 
4168
                   [param('std::ostream &', 'os')], 
4169
                   is_const=True, is_virtual=True)
4170
    ## socket.h (module 'network'): void ns3::SocketIpTtlTag::Serialize(ns3::TagBuffer i) const [member function]
4171
    cls.add_method('Serialize', 
4172
                   'void', 
4173
                   [param('ns3::TagBuffer', 'i')], 
4174
                   is_const=True, is_virtual=True)
4175
    ## socket.h (module 'network'): void ns3::SocketIpTtlTag::SetTtl(uint8_t ttl) [member function]
4176
    cls.add_method('SetTtl', 
4177
                   'void', 
4178
                   [param('uint8_t', 'ttl')])
4179
    return
4180
4181
def register_Ns3SocketSetDontFragmentTag_methods(root_module, cls):
4182
    ## socket.h (module 'network'): ns3::SocketSetDontFragmentTag::SocketSetDontFragmentTag(ns3::SocketSetDontFragmentTag const & arg0) [copy constructor]
4183
    cls.add_constructor([param('ns3::SocketSetDontFragmentTag const &', 'arg0')])
4184
    ## socket.h (module 'network'): ns3::SocketSetDontFragmentTag::SocketSetDontFragmentTag() [constructor]
4185
    cls.add_constructor([])
4186
    ## socket.h (module 'network'): void ns3::SocketSetDontFragmentTag::Deserialize(ns3::TagBuffer i) [member function]
4187
    cls.add_method('Deserialize', 
4188
                   'void', 
4189
                   [param('ns3::TagBuffer', 'i')], 
4190
                   is_virtual=True)
4191
    ## socket.h (module 'network'): void ns3::SocketSetDontFragmentTag::Disable() [member function]
4192
    cls.add_method('Disable', 
4193
                   'void', 
4194
                   [])
4195
    ## socket.h (module 'network'): void ns3::SocketSetDontFragmentTag::Enable() [member function]
4196
    cls.add_method('Enable', 
4197
                   'void', 
4198
                   [])
4199
    ## socket.h (module 'network'): ns3::TypeId ns3::SocketSetDontFragmentTag::GetInstanceTypeId() const [member function]
4200
    cls.add_method('GetInstanceTypeId', 
4201
                   'ns3::TypeId', 
4202
                   [], 
4203
                   is_const=True, is_virtual=True)
4204
    ## socket.h (module 'network'): uint32_t ns3::SocketSetDontFragmentTag::GetSerializedSize() const [member function]
4205
    cls.add_method('GetSerializedSize', 
4206
                   'uint32_t', 
4207
                   [], 
4208
                   is_const=True, is_virtual=True)
4209
    ## socket.h (module 'network'): static ns3::TypeId ns3::SocketSetDontFragmentTag::GetTypeId() [member function]
4210
    cls.add_method('GetTypeId', 
4211
                   'ns3::TypeId', 
4212
                   [], 
4213
                   is_static=True)
4214
    ## socket.h (module 'network'): bool ns3::SocketSetDontFragmentTag::IsEnabled() const [member function]
4215
    cls.add_method('IsEnabled', 
4216
                   'bool', 
4217
                   [], 
4218
                   is_const=True)
4219
    ## socket.h (module 'network'): void ns3::SocketSetDontFragmentTag::Print(std::ostream & os) const [member function]
4220
    cls.add_method('Print', 
4221
                   'void', 
4222
                   [param('std::ostream &', 'os')], 
4223
                   is_const=True, is_virtual=True)
4224
    ## socket.h (module 'network'): void ns3::SocketSetDontFragmentTag::Serialize(ns3::TagBuffer i) const [member function]
4225
    cls.add_method('Serialize', 
4226
                   'void', 
4227
                   [param('ns3::TagBuffer', 'i')], 
4228
                   is_const=True, is_virtual=True)
4229
    return
4230
4231
def register_Ns3Time_methods(root_module, cls):
1385
def register_Ns3Time_methods(root_module, cls):
4232
    cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right'))
1386
    cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right'))
4233
    cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right'))
1387
    cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right'))
 Lines 4384-4422    Link Here 
4384
                   is_const=True)
1538
                   is_const=True)
4385
    return
1539
    return
4386
1540
4387
def register_Ns3Trailer_methods(root_module, cls):
4388
    cls.add_output_stream_operator()
4389
    ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor]
4390
    cls.add_constructor([])
4391
    ## trailer.h (module 'network'): ns3::Trailer::Trailer(ns3::Trailer const & arg0) [copy constructor]
4392
    cls.add_constructor([param('ns3::Trailer const &', 'arg0')])
4393
    ## trailer.h (module 'network'): uint32_t ns3::Trailer::Deserialize(ns3::Buffer::Iterator end) [member function]
4394
    cls.add_method('Deserialize', 
4395
                   'uint32_t', 
4396
                   [param('ns3::Buffer::Iterator', 'end')], 
4397
                   is_pure_virtual=True, is_virtual=True)
4398
    ## trailer.h (module 'network'): uint32_t ns3::Trailer::GetSerializedSize() const [member function]
4399
    cls.add_method('GetSerializedSize', 
4400
                   'uint32_t', 
4401
                   [], 
4402
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4403
    ## trailer.h (module 'network'): static ns3::TypeId ns3::Trailer::GetTypeId() [member function]
4404
    cls.add_method('GetTypeId', 
4405
                   'ns3::TypeId', 
4406
                   [], 
4407
                   is_static=True)
4408
    ## trailer.h (module 'network'): void ns3::Trailer::Print(std::ostream & os) const [member function]
4409
    cls.add_method('Print', 
4410
                   'void', 
4411
                   [param('std::ostream &', 'os')], 
4412
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4413
    ## trailer.h (module 'network'): void ns3::Trailer::Serialize(ns3::Buffer::Iterator start) const [member function]
4414
    cls.add_method('Serialize', 
4415
                   'void', 
4416
                   [param('ns3::Buffer::Iterator', 'start')], 
4417
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4418
    return
4419
4420
def register_Ns3AttributeAccessor_methods(root_module, cls):
1541
def register_Ns3AttributeAccessor_methods(root_module, cls):
4421
    ## attribute.h (module 'core'): ns3::AttributeAccessor::AttributeAccessor(ns3::AttributeAccessor const & arg0) [copy constructor]
1542
    ## attribute.h (module 'core'): ns3::AttributeAccessor::AttributeAccessor(ns3::AttributeAccessor const & arg0) [copy constructor]
4422
    cls.add_constructor([param('ns3::AttributeAccessor const &', 'arg0')])
1543
    cls.add_constructor([param('ns3::AttributeAccessor const &', 'arg0')])
 Lines 4572-4755    Link Here 
4572
                   is_const=True, visibility='private', is_virtual=True)
1693
                   is_const=True, visibility='private', is_virtual=True)
4573
    return
1694
    return
4574
1695
4575
def register_Ns3EventImpl_methods(root_module, cls):
4576
    ## event-impl.h (module 'core'): ns3::EventImpl::EventImpl(ns3::EventImpl const & arg0) [copy constructor]
4577
    cls.add_constructor([param('ns3::EventImpl const &', 'arg0')])
4578
    ## event-impl.h (module 'core'): ns3::EventImpl::EventImpl() [constructor]
4579
    cls.add_constructor([])
4580
    ## event-impl.h (module 'core'): void ns3::EventImpl::Cancel() [member function]
4581
    cls.add_method('Cancel', 
4582
                   'void', 
4583
                   [])
4584
    ## event-impl.h (module 'core'): void ns3::EventImpl::Invoke() [member function]
4585
    cls.add_method('Invoke', 
4586
                   'void', 
4587
                   [])
4588
    ## event-impl.h (module 'core'): bool ns3::EventImpl::IsCancelled() [member function]
4589
    cls.add_method('IsCancelled', 
4590
                   'bool', 
4591
                   [])
4592
    ## event-impl.h (module 'core'): void ns3::EventImpl::Notify() [member function]
4593
    cls.add_method('Notify', 
4594
                   'void', 
4595
                   [], 
4596
                   is_pure_virtual=True, visibility='protected', is_virtual=True)
4597
    return
4598
4599
def register_Ns3Ipv4_methods(root_module, cls):
4600
    ## ipv4.h (module 'internet'): ns3::Ipv4::Ipv4(ns3::Ipv4 const & arg0) [copy constructor]
4601
    cls.add_constructor([param('ns3::Ipv4 const &', 'arg0')])
4602
    ## ipv4.h (module 'internet'): ns3::Ipv4::Ipv4() [constructor]
4603
    cls.add_constructor([])
4604
    ## ipv4.h (module 'internet'): bool ns3::Ipv4::AddAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function]
4605
    cls.add_method('AddAddress', 
4606
                   'bool', 
4607
                   [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], 
4608
                   is_pure_virtual=True, is_virtual=True)
4609
    ## ipv4.h (module 'internet'): uint32_t ns3::Ipv4::AddInterface(ns3::Ptr<ns3::NetDevice> device) [member function]
4610
    cls.add_method('AddInterface', 
4611
                   'uint32_t', 
4612
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')], 
4613
                   is_pure_virtual=True, is_virtual=True)
4614
    ## ipv4.h (module 'internet'): ns3::Ipv4InterfaceAddress ns3::Ipv4::GetAddress(uint32_t interface, uint32_t addressIndex) const [member function]
4615
    cls.add_method('GetAddress', 
4616
                   'ns3::Ipv4InterfaceAddress', 
4617
                   [param('uint32_t', 'interface'), param('uint32_t', 'addressIndex')], 
4618
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4619
    ## ipv4.h (module 'internet'): int32_t ns3::Ipv4::GetInterfaceForAddress(ns3::Ipv4Address address) const [member function]
4620
    cls.add_method('GetInterfaceForAddress', 
4621
                   'int32_t', 
4622
                   [param('ns3::Ipv4Address', 'address')], 
4623
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4624
    ## ipv4.h (module 'internet'): int32_t ns3::Ipv4::GetInterfaceForDevice(ns3::Ptr<const ns3::NetDevice> device) const [member function]
4625
    cls.add_method('GetInterfaceForDevice', 
4626
                   'int32_t', 
4627
                   [param('ns3::Ptr< ns3::NetDevice const >', 'device')], 
4628
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4629
    ## ipv4.h (module 'internet'): int32_t ns3::Ipv4::GetInterfaceForPrefix(ns3::Ipv4Address address, ns3::Ipv4Mask mask) const [member function]
4630
    cls.add_method('GetInterfaceForPrefix', 
4631
                   'int32_t', 
4632
                   [param('ns3::Ipv4Address', 'address'), param('ns3::Ipv4Mask', 'mask')], 
4633
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4634
    ## ipv4.h (module 'internet'): uint16_t ns3::Ipv4::GetMetric(uint32_t interface) const [member function]
4635
    cls.add_method('GetMetric', 
4636
                   'uint16_t', 
4637
                   [param('uint32_t', 'interface')], 
4638
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4639
    ## ipv4.h (module 'internet'): uint16_t ns3::Ipv4::GetMtu(uint32_t interface) const [member function]
4640
    cls.add_method('GetMtu', 
4641
                   'uint16_t', 
4642
                   [param('uint32_t', 'interface')], 
4643
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4644
    ## ipv4.h (module 'internet'): uint32_t ns3::Ipv4::GetNAddresses(uint32_t interface) const [member function]
4645
    cls.add_method('GetNAddresses', 
4646
                   'uint32_t', 
4647
                   [param('uint32_t', 'interface')], 
4648
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4649
    ## ipv4.h (module 'internet'): uint32_t ns3::Ipv4::GetNInterfaces() const [member function]
4650
    cls.add_method('GetNInterfaces', 
4651
                   'uint32_t', 
4652
                   [], 
4653
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4654
    ## ipv4.h (module 'internet'): ns3::Ptr<ns3::NetDevice> ns3::Ipv4::GetNetDevice(uint32_t interface) [member function]
4655
    cls.add_method('GetNetDevice', 
4656
                   'ns3::Ptr< ns3::NetDevice >', 
4657
                   [param('uint32_t', 'interface')], 
4658
                   is_pure_virtual=True, is_virtual=True)
4659
    ## ipv4.h (module 'internet'): ns3::Ptr<ns3::Ipv4RoutingProtocol> ns3::Ipv4::GetRoutingProtocol() const [member function]
4660
    cls.add_method('GetRoutingProtocol', 
4661
                   'ns3::Ptr< ns3::Ipv4RoutingProtocol >', 
4662
                   [], 
4663
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4664
    ## ipv4.h (module 'internet'): static ns3::TypeId ns3::Ipv4::GetTypeId() [member function]
4665
    cls.add_method('GetTypeId', 
4666
                   'ns3::TypeId', 
4667
                   [], 
4668
                   is_static=True)
4669
    ## ipv4.h (module 'internet'): void ns3::Ipv4::Insert(ns3::Ptr<ns3::Ipv4L4Protocol> protocol) [member function]
4670
    cls.add_method('Insert', 
4671
                   'void', 
4672
                   [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')], 
4673
                   is_pure_virtual=True, is_virtual=True)
4674
    ## ipv4.h (module 'internet'): bool ns3::Ipv4::IsDestinationAddress(ns3::Ipv4Address address, uint32_t iif) const [member function]
4675
    cls.add_method('IsDestinationAddress', 
4676
                   'bool', 
4677
                   [param('ns3::Ipv4Address', 'address'), param('uint32_t', 'iif')], 
4678
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4679
    ## ipv4.h (module 'internet'): bool ns3::Ipv4::IsForwarding(uint32_t interface) const [member function]
4680
    cls.add_method('IsForwarding', 
4681
                   'bool', 
4682
                   [param('uint32_t', 'interface')], 
4683
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4684
    ## ipv4.h (module 'internet'): bool ns3::Ipv4::IsUp(uint32_t interface) const [member function]
4685
    cls.add_method('IsUp', 
4686
                   'bool', 
4687
                   [param('uint32_t', 'interface')], 
4688
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4689
    ## ipv4.h (module 'internet'): bool ns3::Ipv4::RemoveAddress(uint32_t interface, uint32_t addressIndex) [member function]
4690
    cls.add_method('RemoveAddress', 
4691
                   'bool', 
4692
                   [param('uint32_t', 'interface'), param('uint32_t', 'addressIndex')], 
4693
                   is_pure_virtual=True, is_virtual=True)
4694
    ## ipv4.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4::SelectSourceAddress(ns3::Ptr<const ns3::NetDevice> device, ns3::Ipv4Address dst, ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e scope) [member function]
4695
    cls.add_method('SelectSourceAddress', 
4696
                   'ns3::Ipv4Address', 
4697
                   [param('ns3::Ptr< ns3::NetDevice const >', 'device'), param('ns3::Ipv4Address', 'dst'), param('ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e', 'scope')], 
4698
                   is_pure_virtual=True, is_virtual=True)
4699
    ## ipv4.h (module 'internet'): void ns3::Ipv4::Send(ns3::Ptr<ns3::Packet> packet, ns3::Ipv4Address source, ns3::Ipv4Address destination, uint8_t protocol, ns3::Ptr<ns3::Ipv4Route> route) [member function]
4700
    cls.add_method('Send', 
4701
                   'void', 
4702
                   [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'destination'), param('uint8_t', 'protocol'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')], 
4703
                   is_pure_virtual=True, is_virtual=True)
4704
    ## ipv4.h (module 'internet'): void ns3::Ipv4::SetDown(uint32_t interface) [member function]
4705
    cls.add_method('SetDown', 
4706
                   'void', 
4707
                   [param('uint32_t', 'interface')], 
4708
                   is_pure_virtual=True, is_virtual=True)
4709
    ## ipv4.h (module 'internet'): void ns3::Ipv4::SetForwarding(uint32_t interface, bool val) [member function]
4710
    cls.add_method('SetForwarding', 
4711
                   'void', 
4712
                   [param('uint32_t', 'interface'), param('bool', 'val')], 
4713
                   is_pure_virtual=True, is_virtual=True)
4714
    ## ipv4.h (module 'internet'): void ns3::Ipv4::SetMetric(uint32_t interface, uint16_t metric) [member function]
4715
    cls.add_method('SetMetric', 
4716
                   'void', 
4717
                   [param('uint32_t', 'interface'), param('uint16_t', 'metric')], 
4718
                   is_pure_virtual=True, is_virtual=True)
4719
    ## ipv4.h (module 'internet'): void ns3::Ipv4::SetRoutingProtocol(ns3::Ptr<ns3::Ipv4RoutingProtocol> routingProtocol) [member function]
4720
    cls.add_method('SetRoutingProtocol', 
4721
                   'void', 
4722
                   [param('ns3::Ptr< ns3::Ipv4RoutingProtocol >', 'routingProtocol')], 
4723
                   is_pure_virtual=True, is_virtual=True)
4724
    ## ipv4.h (module 'internet'): void ns3::Ipv4::SetUp(uint32_t interface) [member function]
4725
    cls.add_method('SetUp', 
4726
                   'void', 
4727
                   [param('uint32_t', 'interface')], 
4728
                   is_pure_virtual=True, is_virtual=True)
4729
    ## ipv4.h (module 'internet'): ns3::Ipv4::IF_ANY [variable]
4730
    cls.add_static_attribute('IF_ANY', 'uint32_t const', is_const=True)
4731
    ## ipv4.h (module 'internet'): bool ns3::Ipv4::GetIpForward() const [member function]
4732
    cls.add_method('GetIpForward', 
4733
                   'bool', 
4734
                   [], 
4735
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
4736
    ## ipv4.h (module 'internet'): bool ns3::Ipv4::GetWeakEsModel() const [member function]
4737
    cls.add_method('GetWeakEsModel', 
4738
                   'bool', 
4739
                   [], 
4740
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
4741
    ## ipv4.h (module 'internet'): void ns3::Ipv4::SetIpForward(bool forward) [member function]
4742
    cls.add_method('SetIpForward', 
4743
                   'void', 
4744
                   [param('bool', 'forward')], 
4745
                   is_pure_virtual=True, visibility='private', is_virtual=True)
4746
    ## ipv4.h (module 'internet'): void ns3::Ipv4::SetWeakEsModel(bool model) [member function]
4747
    cls.add_method('SetWeakEsModel', 
4748
                   'void', 
4749
                   [param('bool', 'model')], 
4750
                   is_pure_virtual=True, visibility='private', is_virtual=True)
4751
    return
4752
4753
def register_Ns3Ipv4AddressChecker_methods(root_module, cls):
1696
def register_Ns3Ipv4AddressChecker_methods(root_module, cls):
4754
    ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker::Ipv4AddressChecker() [constructor]
1697
    ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker::Ipv4AddressChecker() [constructor]
4755
    cls.add_constructor([])
1698
    cls.add_constructor([])
 Lines 4790-5032    Link Here 
4790
                   [param('ns3::Ipv4Address const &', 'value')])
1733
                   [param('ns3::Ipv4Address const &', 'value')])
4791
    return
1734
    return
4792
1735
4793
def register_Ns3Ipv4L3Protocol_methods(root_module, cls):
4794
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::PROT_NUMBER [variable]
4795
    cls.add_static_attribute('PROT_NUMBER', 'uint16_t const', is_const=True)
4796
    ## ipv4-l3-protocol.h (module 'internet'): static ns3::TypeId ns3::Ipv4L3Protocol::GetTypeId() [member function]
4797
    cls.add_method('GetTypeId', 
4798
                   'ns3::TypeId', 
4799
                   [], 
4800
                   is_static=True)
4801
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::Ipv4L3Protocol() [constructor]
4802
    cls.add_constructor([])
4803
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetNode(ns3::Ptr<ns3::Node> node) [member function]
4804
    cls.add_method('SetNode', 
4805
                   'void', 
4806
                   [param('ns3::Ptr< ns3::Node >', 'node')])
4807
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetRoutingProtocol(ns3::Ptr<ns3::Ipv4RoutingProtocol> routingProtocol) [member function]
4808
    cls.add_method('SetRoutingProtocol', 
4809
                   'void', 
4810
                   [param('ns3::Ptr< ns3::Ipv4RoutingProtocol >', 'routingProtocol')], 
4811
                   is_virtual=True)
4812
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::Ipv4RoutingProtocol> ns3::Ipv4L3Protocol::GetRoutingProtocol() const [member function]
4813
    cls.add_method('GetRoutingProtocol', 
4814
                   'ns3::Ptr< ns3::Ipv4RoutingProtocol >', 
4815
                   [], 
4816
                   is_const=True, is_virtual=True)
4817
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::Socket> ns3::Ipv4L3Protocol::CreateRawSocket() [member function]
4818
    cls.add_method('CreateRawSocket', 
4819
                   'ns3::Ptr< ns3::Socket >', 
4820
                   [])
4821
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::DeleteRawSocket(ns3::Ptr<ns3::Socket> socket) [member function]
4822
    cls.add_method('DeleteRawSocket', 
4823
                   'void', 
4824
                   [param('ns3::Ptr< ns3::Socket >', 'socket')])
4825
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Insert(ns3::Ptr<ns3::Ipv4L4Protocol> protocol) [member function]
4826
    cls.add_method('Insert', 
4827
                   'void', 
4828
                   [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')], 
4829
                   is_virtual=True)
4830
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::Ipv4L4Protocol> ns3::Ipv4L3Protocol::GetProtocol(int protocolNumber) const [member function]
4831
    cls.add_method('GetProtocol', 
4832
                   'ns3::Ptr< ns3::Ipv4L4Protocol >', 
4833
                   [param('int', 'protocolNumber')], 
4834
                   is_const=True)
4835
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Remove(ns3::Ptr<ns3::Ipv4L4Protocol> protocol) [member function]
4836
    cls.add_method('Remove', 
4837
                   'void', 
4838
                   [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')])
4839
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetDefaultTtl(uint8_t ttl) [member function]
4840
    cls.add_method('SetDefaultTtl', 
4841
                   'void', 
4842
                   [param('uint8_t', 'ttl')])
4843
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Receive(ns3::Ptr<ns3::NetDevice> device, ns3::Ptr<const ns3::Packet> p, uint16_t protocol, ns3::Address const & from, ns3::Address const & to, ns3::NetDevice::PacketType packetType) [member function]
4844
    cls.add_method('Receive', 
4845
                   'void', 
4846
                   [param('ns3::Ptr< ns3::NetDevice >', 'device'), param('ns3::Ptr< ns3::Packet const >', 'p'), param('uint16_t', 'protocol'), param('ns3::Address const &', 'from'), param('ns3::Address const &', 'to'), param('ns3::NetDevice::PacketType', 'packetType')])
4847
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Send(ns3::Ptr<ns3::Packet> packet, ns3::Ipv4Address source, ns3::Ipv4Address destination, uint8_t protocol, ns3::Ptr<ns3::Ipv4Route> route) [member function]
4848
    cls.add_method('Send', 
4849
                   'void', 
4850
                   [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'destination'), param('uint8_t', 'protocol'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')], 
4851
                   is_virtual=True)
4852
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SendWithHeader(ns3::Ptr<ns3::Packet> packet, ns3::Ipv4Header ipHeader, ns3::Ptr<ns3::Ipv4Route> route) [member function]
4853
    cls.add_method('SendWithHeader', 
4854
                   'void', 
4855
                   [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Header', 'ipHeader'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')])
4856
    ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::AddInterface(ns3::Ptr<ns3::NetDevice> device) [member function]
4857
    cls.add_method('AddInterface', 
4858
                   'uint32_t', 
4859
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')], 
4860
                   is_virtual=True)
4861
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::Ipv4Interface> ns3::Ipv4L3Protocol::GetInterface(uint32_t i) const [member function]
4862
    cls.add_method('GetInterface', 
4863
                   'ns3::Ptr< ns3::Ipv4Interface >', 
4864
                   [param('uint32_t', 'i')], 
4865
                   is_const=True)
4866
    ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::GetNInterfaces() const [member function]
4867
    cls.add_method('GetNInterfaces', 
4868
                   'uint32_t', 
4869
                   [], 
4870
                   is_const=True, is_virtual=True)
4871
    ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForAddress(ns3::Ipv4Address addr) const [member function]
4872
    cls.add_method('GetInterfaceForAddress', 
4873
                   'int32_t', 
4874
                   [param('ns3::Ipv4Address', 'addr')], 
4875
                   is_const=True, is_virtual=True)
4876
    ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForPrefix(ns3::Ipv4Address addr, ns3::Ipv4Mask mask) const [member function]
4877
    cls.add_method('GetInterfaceForPrefix', 
4878
                   'int32_t', 
4879
                   [param('ns3::Ipv4Address', 'addr'), param('ns3::Ipv4Mask', 'mask')], 
4880
                   is_const=True, is_virtual=True)
4881
    ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForDevice(ns3::Ptr<const ns3::NetDevice> device) const [member function]
4882
    cls.add_method('GetInterfaceForDevice', 
4883
                   'int32_t', 
4884
                   [param('ns3::Ptr< ns3::NetDevice const >', 'device')], 
4885
                   is_const=True, is_virtual=True)
4886
    ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsDestinationAddress(ns3::Ipv4Address address, uint32_t iif) const [member function]
4887
    cls.add_method('IsDestinationAddress', 
4888
                   'bool', 
4889
                   [param('ns3::Ipv4Address', 'address'), param('uint32_t', 'iif')], 
4890
                   is_const=True, is_virtual=True)
4891
    ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::AddAddress(uint32_t i, ns3::Ipv4InterfaceAddress address) [member function]
4892
    cls.add_method('AddAddress', 
4893
                   'bool', 
4894
                   [param('uint32_t', 'i'), param('ns3::Ipv4InterfaceAddress', 'address')], 
4895
                   is_virtual=True)
4896
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4InterfaceAddress ns3::Ipv4L3Protocol::GetAddress(uint32_t interfaceIndex, uint32_t addressIndex) const [member function]
4897
    cls.add_method('GetAddress', 
4898
                   'ns3::Ipv4InterfaceAddress', 
4899
                   [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], 
4900
                   is_const=True, is_virtual=True)
4901
    ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::GetNAddresses(uint32_t interface) const [member function]
4902
    cls.add_method('GetNAddresses', 
4903
                   'uint32_t', 
4904
                   [param('uint32_t', 'interface')], 
4905
                   is_const=True, is_virtual=True)
4906
    ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::RemoveAddress(uint32_t interfaceIndex, uint32_t addressIndex) [member function]
4907
    cls.add_method('RemoveAddress', 
4908
                   'bool', 
4909
                   [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], 
4910
                   is_virtual=True)
4911
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4L3Protocol::SelectSourceAddress(ns3::Ptr<const ns3::NetDevice> device, ns3::Ipv4Address dst, ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e scope) [member function]
4912
    cls.add_method('SelectSourceAddress', 
4913
                   'ns3::Ipv4Address', 
4914
                   [param('ns3::Ptr< ns3::NetDevice const >', 'device'), param('ns3::Ipv4Address', 'dst'), param('ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e', 'scope')], 
4915
                   is_virtual=True)
4916
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetMetric(uint32_t i, uint16_t metric) [member function]
4917
    cls.add_method('SetMetric', 
4918
                   'void', 
4919
                   [param('uint32_t', 'i'), param('uint16_t', 'metric')], 
4920
                   is_virtual=True)
4921
    ## ipv4-l3-protocol.h (module 'internet'): uint16_t ns3::Ipv4L3Protocol::GetMetric(uint32_t i) const [member function]
4922
    cls.add_method('GetMetric', 
4923
                   'uint16_t', 
4924
                   [param('uint32_t', 'i')], 
4925
                   is_const=True, is_virtual=True)
4926
    ## ipv4-l3-protocol.h (module 'internet'): uint16_t ns3::Ipv4L3Protocol::GetMtu(uint32_t i) const [member function]
4927
    cls.add_method('GetMtu', 
4928
                   'uint16_t', 
4929
                   [param('uint32_t', 'i')], 
4930
                   is_const=True, is_virtual=True)
4931
    ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsUp(uint32_t i) const [member function]
4932
    cls.add_method('IsUp', 
4933
                   'bool', 
4934
                   [param('uint32_t', 'i')], 
4935
                   is_const=True, is_virtual=True)
4936
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetUp(uint32_t i) [member function]
4937
    cls.add_method('SetUp', 
4938
                   'void', 
4939
                   [param('uint32_t', 'i')], 
4940
                   is_virtual=True)
4941
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetDown(uint32_t i) [member function]
4942
    cls.add_method('SetDown', 
4943
                   'void', 
4944
                   [param('uint32_t', 'i')], 
4945
                   is_virtual=True)
4946
    ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsForwarding(uint32_t i) const [member function]
4947
    cls.add_method('IsForwarding', 
4948
                   'bool', 
4949
                   [param('uint32_t', 'i')], 
4950
                   is_const=True, is_virtual=True)
4951
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetForwarding(uint32_t i, bool val) [member function]
4952
    cls.add_method('SetForwarding', 
4953
                   'void', 
4954
                   [param('uint32_t', 'i'), param('bool', 'val')], 
4955
                   is_virtual=True)
4956
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::NetDevice> ns3::Ipv4L3Protocol::GetNetDevice(uint32_t i) [member function]
4957
    cls.add_method('GetNetDevice', 
4958
                   'ns3::Ptr< ns3::NetDevice >', 
4959
                   [param('uint32_t', 'i')], 
4960
                   is_virtual=True)
4961
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::DoDispose() [member function]
4962
    cls.add_method('DoDispose', 
4963
                   'void', 
4964
                   [], 
4965
                   visibility='protected', is_virtual=True)
4966
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::NotifyNewAggregate() [member function]
4967
    cls.add_method('NotifyNewAggregate', 
4968
                   'void', 
4969
                   [], 
4970
                   visibility='protected', is_virtual=True)
4971
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetIpForward(bool forward) [member function]
4972
    cls.add_method('SetIpForward', 
4973
                   'void', 
4974
                   [param('bool', 'forward')], 
4975
                   visibility='private', is_virtual=True)
4976
    ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::GetIpForward() const [member function]
4977
    cls.add_method('GetIpForward', 
4978
                   'bool', 
4979
                   [], 
4980
                   is_const=True, visibility='private', is_virtual=True)
4981
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetWeakEsModel(bool model) [member function]
4982
    cls.add_method('SetWeakEsModel', 
4983
                   'void', 
4984
                   [param('bool', 'model')], 
4985
                   visibility='private', is_virtual=True)
4986
    ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::GetWeakEsModel() const [member function]
4987
    cls.add_method('GetWeakEsModel', 
4988
                   'bool', 
4989
                   [], 
4990
                   is_const=True, visibility='private', is_virtual=True)
4991
    return
4992
4993
def register_Ns3Ipv4L4Protocol_methods(root_module, cls):
4994
    ## ipv4-l4-protocol.h (module 'internet'): ns3::Ipv4L4Protocol::Ipv4L4Protocol() [constructor]
4995
    cls.add_constructor([])
4996
    ## ipv4-l4-protocol.h (module 'internet'): ns3::Ipv4L4Protocol::Ipv4L4Protocol(ns3::Ipv4L4Protocol const & arg0) [copy constructor]
4997
    cls.add_constructor([param('ns3::Ipv4L4Protocol const &', 'arg0')])
4998
    ## ipv4-l4-protocol.h (module 'internet'): ns3::Callback<void,ns3::Ptr<ns3::Packet>,ns3::Ipv4Address,ns3::Ipv4Address,unsigned char,ns3::Ptr<ns3::Ipv4Route>,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ns3::Ipv4L4Protocol::GetDownTarget() const [member function]
4999
    cls.add_method('GetDownTarget', 
5000
                   'ns3::Callback< void, ns3::Ptr< ns3::Packet >, ns3::Ipv4Address, ns3::Ipv4Address, unsigned char, ns3::Ptr< ns3::Ipv4Route >, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 
5001
                   [], 
5002
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5003
    ## ipv4-l4-protocol.h (module 'internet'): int ns3::Ipv4L4Protocol::GetProtocolNumber() const [member function]
5004
    cls.add_method('GetProtocolNumber', 
5005
                   'int', 
5006
                   [], 
5007
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5008
    ## ipv4-l4-protocol.h (module 'internet'): static ns3::TypeId ns3::Ipv4L4Protocol::GetTypeId() [member function]
5009
    cls.add_method('GetTypeId', 
5010
                   'ns3::TypeId', 
5011
                   [], 
5012
                   is_static=True)
5013
    ## ipv4-l4-protocol.h (module 'internet'): ns3::Ipv4L4Protocol::RxStatus ns3::Ipv4L4Protocol::Receive(ns3::Ptr<ns3::Packet> p, ns3::Ipv4Header const & header, ns3::Ptr<ns3::Ipv4Interface> incomingInterface) [member function]
5014
    cls.add_method('Receive', 
5015
                   'ns3::Ipv4L4Protocol::RxStatus', 
5016
                   [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('ns3::Ptr< ns3::Ipv4Interface >', 'incomingInterface')], 
5017
                   is_pure_virtual=True, is_virtual=True)
5018
    ## ipv4-l4-protocol.h (module 'internet'): void ns3::Ipv4L4Protocol::ReceiveIcmp(ns3::Ipv4Address icmpSource, uint8_t icmpTtl, uint8_t icmpType, uint8_t icmpCode, uint32_t icmpInfo, ns3::Ipv4Address payloadSource, ns3::Ipv4Address payloadDestination, uint8_t const * payload) [member function]
5019
    cls.add_method('ReceiveIcmp', 
5020
                   'void', 
5021
                   [param('ns3::Ipv4Address', 'icmpSource'), param('uint8_t', 'icmpTtl'), param('uint8_t', 'icmpType'), param('uint8_t', 'icmpCode'), param('uint32_t', 'icmpInfo'), param('ns3::Ipv4Address', 'payloadSource'), param('ns3::Ipv4Address', 'payloadDestination'), param('uint8_t const *', 'payload')], 
5022
                   is_virtual=True)
5023
    ## ipv4-l4-protocol.h (module 'internet'): void ns3::Ipv4L4Protocol::SetDownTarget(ns3::Callback<void,ns3::Ptr<ns3::Packet>,ns3::Ipv4Address,ns3::Ipv4Address,unsigned char,ns3::Ptr<ns3::Ipv4Route>,ns3::empty,ns3::empty,ns3::empty,ns3::empty> cb) [member function]
5024
    cls.add_method('SetDownTarget', 
5025
                   'void', 
5026
                   [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, ns3::Ipv4Address, ns3::Ipv4Address, unsigned char, ns3::Ptr< ns3::Ipv4Route >, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], 
5027
                   is_pure_virtual=True, is_virtual=True)
5028
    return
5029
5030
def register_Ns3Ipv4MaskChecker_methods(root_module, cls):
1736
def register_Ns3Ipv4MaskChecker_methods(root_module, cls):
5031
    ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker::Ipv4MaskChecker() [constructor]
1737
    ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker::Ipv4MaskChecker() [constructor]
5032
    cls.add_constructor([])
1738
    cls.add_constructor([])
 Lines 5067-5349    Link Here 
5067
                   [param('ns3::Ipv4Mask const &', 'value')])
1773
                   [param('ns3::Ipv4Mask const &', 'value')])
5068
    return
1774
    return
5069
1775
5070
def register_Ns3Ipv4MulticastRoute_methods(root_module, cls):
5071
    ## ipv4-route.h (module 'internet'): ns3::Ipv4MulticastRoute::Ipv4MulticastRoute(ns3::Ipv4MulticastRoute const & arg0) [copy constructor]
5072
    cls.add_constructor([param('ns3::Ipv4MulticastRoute const &', 'arg0')])
5073
    ## ipv4-route.h (module 'internet'): ns3::Ipv4MulticastRoute::Ipv4MulticastRoute() [constructor]
5074
    cls.add_constructor([])
5075
    ## ipv4-route.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4MulticastRoute::GetGroup() const [member function]
5076
    cls.add_method('GetGroup', 
5077
                   'ns3::Ipv4Address', 
5078
                   [], 
5079
                   is_const=True)
5080
    ## ipv4-route.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4MulticastRoute::GetOrigin() const [member function]
5081
    cls.add_method('GetOrigin', 
5082
                   'ns3::Ipv4Address', 
5083
                   [], 
5084
                   is_const=True)
5085
    ## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetOutputTtl(uint32_t oif) const [member function]
5086
    cls.add_method('GetOutputTtl', 
5087
                   'uint32_t', 
5088
                   [param('uint32_t', 'oif')], 
5089
                   is_const=True)
5090
    ## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetParent() const [member function]
5091
    cls.add_method('GetParent', 
5092
                   'uint32_t', 
5093
                   [], 
5094
                   is_const=True)
5095
    ## ipv4-route.h (module 'internet'): void ns3::Ipv4MulticastRoute::SetGroup(ns3::Ipv4Address const group) [member function]
5096
    cls.add_method('SetGroup', 
5097
                   'void', 
5098
                   [param('ns3::Ipv4Address const', 'group')])
5099
    ## ipv4-route.h (module 'internet'): void ns3::Ipv4MulticastRoute::SetOrigin(ns3::Ipv4Address const origin) [member function]
5100
    cls.add_method('SetOrigin', 
5101
                   'void', 
5102
                   [param('ns3::Ipv4Address const', 'origin')])
5103
    ## ipv4-route.h (module 'internet'): void ns3::Ipv4MulticastRoute::SetOutputTtl(uint32_t oif, uint32_t ttl) [member function]
5104
    cls.add_method('SetOutputTtl', 
5105
                   'void', 
5106
                   [param('uint32_t', 'oif'), param('uint32_t', 'ttl')])
5107
    ## ipv4-route.h (module 'internet'): void ns3::Ipv4MulticastRoute::SetParent(uint32_t iif) [member function]
5108
    cls.add_method('SetParent', 
5109
                   'void', 
5110
                   [param('uint32_t', 'iif')])
5111
    ## ipv4-route.h (module 'internet'): ns3::Ipv4MulticastRoute::MAX_INTERFACES [variable]
5112
    cls.add_static_attribute('MAX_INTERFACES', 'uint32_t const', is_const=True)
5113
    ## ipv4-route.h (module 'internet'): ns3::Ipv4MulticastRoute::MAX_TTL [variable]
5114
    cls.add_static_attribute('MAX_TTL', 'uint32_t const', is_const=True)
5115
    return
5116
5117
def register_Ns3Ipv4Route_methods(root_module, cls):
5118
    cls.add_output_stream_operator()
5119
    ## ipv4-route.h (module 'internet'): ns3::Ipv4Route::Ipv4Route(ns3::Ipv4Route const & arg0) [copy constructor]
5120
    cls.add_constructor([param('ns3::Ipv4Route const &', 'arg0')])
5121
    ## ipv4-route.h (module 'internet'): ns3::Ipv4Route::Ipv4Route() [constructor]
5122
    cls.add_constructor([])
5123
    ## ipv4-route.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4Route::GetDestination() const [member function]
5124
    cls.add_method('GetDestination', 
5125
                   'ns3::Ipv4Address', 
5126
                   [], 
5127
                   is_const=True)
5128
    ## ipv4-route.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4Route::GetGateway() const [member function]
5129
    cls.add_method('GetGateway', 
5130
                   'ns3::Ipv4Address', 
5131
                   [], 
5132
                   is_const=True)
5133
    ## ipv4-route.h (module 'internet'): ns3::Ptr<ns3::NetDevice> ns3::Ipv4Route::GetOutputDevice() const [member function]
5134
    cls.add_method('GetOutputDevice', 
5135
                   'ns3::Ptr< ns3::NetDevice >', 
5136
                   [], 
5137
                   is_const=True)
5138
    ## ipv4-route.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4Route::GetSource() const [member function]
5139
    cls.add_method('GetSource', 
5140
                   'ns3::Ipv4Address', 
5141
                   [], 
5142
                   is_const=True)
5143
    ## ipv4-route.h (module 'internet'): void ns3::Ipv4Route::SetDestination(ns3::Ipv4Address dest) [member function]
5144
    cls.add_method('SetDestination', 
5145
                   'void', 
5146
                   [param('ns3::Ipv4Address', 'dest')])
5147
    ## ipv4-route.h (module 'internet'): void ns3::Ipv4Route::SetGateway(ns3::Ipv4Address gw) [member function]
5148
    cls.add_method('SetGateway', 
5149
                   'void', 
5150
                   [param('ns3::Ipv4Address', 'gw')])
5151
    ## ipv4-route.h (module 'internet'): void ns3::Ipv4Route::SetOutputDevice(ns3::Ptr<ns3::NetDevice> outputDevice) [member function]
5152
    cls.add_method('SetOutputDevice', 
5153
                   'void', 
5154
                   [param('ns3::Ptr< ns3::NetDevice >', 'outputDevice')])
5155
    ## ipv4-route.h (module 'internet'): void ns3::Ipv4Route::SetSource(ns3::Ipv4Address src) [member function]
5156
    cls.add_method('SetSource', 
5157
                   'void', 
5158
                   [param('ns3::Ipv4Address', 'src')])
5159
    return
5160
5161
def register_Ns3Ipv4RoutingProtocol_methods(root_module, cls):
5162
    ## ipv4-routing-protocol.h (module 'internet'): ns3::Ipv4RoutingProtocol::Ipv4RoutingProtocol() [constructor]
5163
    cls.add_constructor([])
5164
    ## ipv4-routing-protocol.h (module 'internet'): ns3::Ipv4RoutingProtocol::Ipv4RoutingProtocol(ns3::Ipv4RoutingProtocol const & arg0) [copy constructor]
5165
    cls.add_constructor([param('ns3::Ipv4RoutingProtocol const &', 'arg0')])
5166
    ## ipv4-routing-protocol.h (module 'internet'): static ns3::TypeId ns3::Ipv4RoutingProtocol::GetTypeId() [member function]
5167
    cls.add_method('GetTypeId', 
5168
                   'ns3::TypeId', 
5169
                   [], 
5170
                   is_static=True)
5171
    ## ipv4-routing-protocol.h (module 'internet'): void ns3::Ipv4RoutingProtocol::NotifyAddAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function]
5172
    cls.add_method('NotifyAddAddress', 
5173
                   'void', 
5174
                   [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], 
5175
                   is_pure_virtual=True, is_virtual=True)
5176
    ## ipv4-routing-protocol.h (module 'internet'): void ns3::Ipv4RoutingProtocol::NotifyInterfaceDown(uint32_t interface) [member function]
5177
    cls.add_method('NotifyInterfaceDown', 
5178
                   'void', 
5179
                   [param('uint32_t', 'interface')], 
5180
                   is_pure_virtual=True, is_virtual=True)
5181
    ## ipv4-routing-protocol.h (module 'internet'): void ns3::Ipv4RoutingProtocol::NotifyInterfaceUp(uint32_t interface) [member function]
5182
    cls.add_method('NotifyInterfaceUp', 
5183
                   'void', 
5184
                   [param('uint32_t', 'interface')], 
5185
                   is_pure_virtual=True, is_virtual=True)
5186
    ## ipv4-routing-protocol.h (module 'internet'): void ns3::Ipv4RoutingProtocol::NotifyRemoveAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function]
5187
    cls.add_method('NotifyRemoveAddress', 
5188
                   'void', 
5189
                   [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], 
5190
                   is_pure_virtual=True, is_virtual=True)
5191
    ## ipv4-routing-protocol.h (module 'internet'): void ns3::Ipv4RoutingProtocol::PrintRoutingTable(ns3::Ptr<ns3::OutputStreamWrapper> stream) const [member function]
5192
    cls.add_method('PrintRoutingTable', 
5193
                   'void', 
5194
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')], 
5195
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5196
    ## ipv4-routing-protocol.h (module 'internet'): bool ns3::Ipv4RoutingProtocol::RouteInput(ns3::Ptr<const ns3::Packet> p, ns3::Ipv4Header const & header, ns3::Ptr<const ns3::NetDevice> idev, ns3::Callback<void,ns3::Ptr<ns3::Ipv4Route>,ns3::Ptr<const ns3::Packet>,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ucb, ns3::Callback<void,ns3::Ptr<ns3::Ipv4MulticastRoute>,ns3::Ptr<const ns3::Packet>,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> mcb, ns3::Callback<void,ns3::Ptr<const ns3::Packet>,const ns3::Ipv4Header&,unsigned int,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> lcb, ns3::Callback<void,ns3::Ptr<const ns3::Packet>,const ns3::Ipv4Header&,ns3::Socket::SocketErrno,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ecb) [member function]
5197
    cls.add_method('RouteInput', 
5198
                   'bool', 
5199
                   [param('ns3::Ptr< ns3::Packet const >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('ns3::Ptr< ns3::NetDevice const >', 'idev'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv4Route >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ucb'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv4MulticastRoute >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'mcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'lcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ecb')], 
5200
                   is_pure_virtual=True, is_virtual=True)
5201
    ## ipv4-routing-protocol.h (module 'internet'): ns3::Ptr<ns3::Ipv4Route> ns3::Ipv4RoutingProtocol::RouteOutput(ns3::Ptr<ns3::Packet> p, ns3::Ipv4Header const & header, ns3::Ptr<ns3::NetDevice> oif, ns3::Socket::SocketErrno & sockerr) [member function]
5202
    cls.add_method('RouteOutput', 
5203
                   'ns3::Ptr< ns3::Ipv4Route >', 
5204
                   [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('ns3::Ptr< ns3::NetDevice >', 'oif'), param('ns3::Socket::SocketErrno &', 'sockerr')], 
5205
                   is_pure_virtual=True, is_virtual=True)
5206
    ## ipv4-routing-protocol.h (module 'internet'): void ns3::Ipv4RoutingProtocol::SetIpv4(ns3::Ptr<ns3::Ipv4> ipv4) [member function]
5207
    cls.add_method('SetIpv4', 
5208
                   'void', 
5209
                   [param('ns3::Ptr< ns3::Ipv4 >', 'ipv4')], 
5210
                   is_pure_virtual=True, is_virtual=True)
5211
    return
5212
5213
def register_Ns3Ipv6_methods(root_module, cls):
5214
    ## ipv6.h (module 'internet'): ns3::Ipv6::Ipv6(ns3::Ipv6 const & arg0) [copy constructor]
5215
    cls.add_constructor([param('ns3::Ipv6 const &', 'arg0')])
5216
    ## ipv6.h (module 'internet'): ns3::Ipv6::Ipv6() [constructor]
5217
    cls.add_constructor([])
5218
    ## ipv6.h (module 'internet'): bool ns3::Ipv6::AddAddress(uint32_t interface, ns3::Ipv6InterfaceAddress address) [member function]
5219
    cls.add_method('AddAddress', 
5220
                   'bool', 
5221
                   [param('uint32_t', 'interface'), param('ns3::Ipv6InterfaceAddress', 'address')], 
5222
                   is_pure_virtual=True, is_virtual=True)
5223
    ## ipv6.h (module 'internet'): uint32_t ns3::Ipv6::AddInterface(ns3::Ptr<ns3::NetDevice> device) [member function]
5224
    cls.add_method('AddInterface', 
5225
                   'uint32_t', 
5226
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')], 
5227
                   is_pure_virtual=True, is_virtual=True)
5228
    ## ipv6.h (module 'internet'): ns3::Ipv6InterfaceAddress ns3::Ipv6::GetAddress(uint32_t interface, uint32_t addressIndex) const [member function]
5229
    cls.add_method('GetAddress', 
5230
                   'ns3::Ipv6InterfaceAddress', 
5231
                   [param('uint32_t', 'interface'), param('uint32_t', 'addressIndex')], 
5232
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5233
    ## ipv6.h (module 'internet'): int32_t ns3::Ipv6::GetInterfaceForAddress(ns3::Ipv6Address address) const [member function]
5234
    cls.add_method('GetInterfaceForAddress', 
5235
                   'int32_t', 
5236
                   [param('ns3::Ipv6Address', 'address')], 
5237
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5238
    ## ipv6.h (module 'internet'): int32_t ns3::Ipv6::GetInterfaceForDevice(ns3::Ptr<const ns3::NetDevice> device) const [member function]
5239
    cls.add_method('GetInterfaceForDevice', 
5240
                   'int32_t', 
5241
                   [param('ns3::Ptr< ns3::NetDevice const >', 'device')], 
5242
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5243
    ## ipv6.h (module 'internet'): int32_t ns3::Ipv6::GetInterfaceForPrefix(ns3::Ipv6Address address, ns3::Ipv6Prefix mask) const [member function]
5244
    cls.add_method('GetInterfaceForPrefix', 
5245
                   'int32_t', 
5246
                   [param('ns3::Ipv6Address', 'address'), param('ns3::Ipv6Prefix', 'mask')], 
5247
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5248
    ## ipv6.h (module 'internet'): uint16_t ns3::Ipv6::GetMetric(uint32_t interface) const [member function]
5249
    cls.add_method('GetMetric', 
5250
                   'uint16_t', 
5251
                   [param('uint32_t', 'interface')], 
5252
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5253
    ## ipv6.h (module 'internet'): uint16_t ns3::Ipv6::GetMtu(uint32_t interface) const [member function]
5254
    cls.add_method('GetMtu', 
5255
                   'uint16_t', 
5256
                   [param('uint32_t', 'interface')], 
5257
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5258
    ## ipv6.h (module 'internet'): uint32_t ns3::Ipv6::GetNAddresses(uint32_t interface) const [member function]
5259
    cls.add_method('GetNAddresses', 
5260
                   'uint32_t', 
5261
                   [param('uint32_t', 'interface')], 
5262
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5263
    ## ipv6.h (module 'internet'): uint32_t ns3::Ipv6::GetNInterfaces() const [member function]
5264
    cls.add_method('GetNInterfaces', 
5265
                   'uint32_t', 
5266
                   [], 
5267
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5268
    ## ipv6.h (module 'internet'): ns3::Ptr<ns3::NetDevice> ns3::Ipv6::GetNetDevice(uint32_t interface) [member function]
5269
    cls.add_method('GetNetDevice', 
5270
                   'ns3::Ptr< ns3::NetDevice >', 
5271
                   [param('uint32_t', 'interface')], 
5272
                   is_pure_virtual=True, is_virtual=True)
5273
    ## ipv6.h (module 'internet'): ns3::Ptr<ns3::Ipv6RoutingProtocol> ns3::Ipv6::GetRoutingProtocol() const [member function]
5274
    cls.add_method('GetRoutingProtocol', 
5275
                   'ns3::Ptr< ns3::Ipv6RoutingProtocol >', 
5276
                   [], 
5277
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5278
    ## ipv6.h (module 'internet'): static ns3::TypeId ns3::Ipv6::GetTypeId() [member function]
5279
    cls.add_method('GetTypeId', 
5280
                   'ns3::TypeId', 
5281
                   [], 
5282
                   is_static=True)
5283
    ## ipv6.h (module 'internet'): bool ns3::Ipv6::IsForwarding(uint32_t interface) const [member function]
5284
    cls.add_method('IsForwarding', 
5285
                   'bool', 
5286
                   [param('uint32_t', 'interface')], 
5287
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5288
    ## ipv6.h (module 'internet'): bool ns3::Ipv6::IsUp(uint32_t interface) const [member function]
5289
    cls.add_method('IsUp', 
5290
                   'bool', 
5291
                   [param('uint32_t', 'interface')], 
5292
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5293
    ## ipv6.h (module 'internet'): void ns3::Ipv6::RegisterExtensions() [member function]
5294
    cls.add_method('RegisterExtensions', 
5295
                   'void', 
5296
                   [], 
5297
                   is_pure_virtual=True, is_virtual=True)
5298
    ## ipv6.h (module 'internet'): void ns3::Ipv6::RegisterOptions() [member function]
5299
    cls.add_method('RegisterOptions', 
5300
                   'void', 
5301
                   [], 
5302
                   is_pure_virtual=True, is_virtual=True)
5303
    ## ipv6.h (module 'internet'): bool ns3::Ipv6::RemoveAddress(uint32_t interface, uint32_t addressIndex) [member function]
5304
    cls.add_method('RemoveAddress', 
5305
                   'bool', 
5306
                   [param('uint32_t', 'interface'), param('uint32_t', 'addressIndex')], 
5307
                   is_pure_virtual=True, is_virtual=True)
5308
    ## ipv6.h (module 'internet'): void ns3::Ipv6::SetDown(uint32_t interface) [member function]
5309
    cls.add_method('SetDown', 
5310
                   'void', 
5311
                   [param('uint32_t', 'interface')], 
5312
                   is_pure_virtual=True, is_virtual=True)
5313
    ## ipv6.h (module 'internet'): void ns3::Ipv6::SetForwarding(uint32_t interface, bool val) [member function]
5314
    cls.add_method('SetForwarding', 
5315
                   'void', 
5316
                   [param('uint32_t', 'interface'), param('bool', 'val')], 
5317
                   is_pure_virtual=True, is_virtual=True)
5318
    ## ipv6.h (module 'internet'): void ns3::Ipv6::SetMetric(uint32_t interface, uint16_t metric) [member function]
5319
    cls.add_method('SetMetric', 
5320
                   'void', 
5321
                   [param('uint32_t', 'interface'), param('uint16_t', 'metric')], 
5322
                   is_pure_virtual=True, is_virtual=True)
5323
    ## ipv6.h (module 'internet'): void ns3::Ipv6::SetRoutingProtocol(ns3::Ptr<ns3::Ipv6RoutingProtocol> routingProtocol) [member function]
5324
    cls.add_method('SetRoutingProtocol', 
5325
                   'void', 
5326
                   [param('ns3::Ptr< ns3::Ipv6RoutingProtocol >', 'routingProtocol')], 
5327
                   is_pure_virtual=True, is_virtual=True)
5328
    ## ipv6.h (module 'internet'): void ns3::Ipv6::SetUp(uint32_t interface) [member function]
5329
    cls.add_method('SetUp', 
5330
                   'void', 
5331
                   [param('uint32_t', 'interface')], 
5332
                   is_pure_virtual=True, is_virtual=True)
5333
    ## ipv6.h (module 'internet'): ns3::Ipv6::IF_ANY [variable]
5334
    cls.add_static_attribute('IF_ANY', 'uint32_t const', is_const=True)
5335
    ## ipv6.h (module 'internet'): bool ns3::Ipv6::GetIpForward() const [member function]
5336
    cls.add_method('GetIpForward', 
5337
                   'bool', 
5338
                   [], 
5339
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
5340
    ## ipv6.h (module 'internet'): void ns3::Ipv6::SetIpForward(bool forward) [member function]
5341
    cls.add_method('SetIpForward', 
5342
                   'void', 
5343
                   [param('bool', 'forward')], 
5344
                   is_pure_virtual=True, visibility='private', is_virtual=True)
5345
    return
5346
5347
def register_Ns3Ipv6AddressChecker_methods(root_module, cls):
1776
def register_Ns3Ipv6AddressChecker_methods(root_module, cls):
5348
    ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker::Ipv6AddressChecker() [constructor]
1777
    ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker::Ipv6AddressChecker() [constructor]
5349
    cls.add_constructor([])
1778
    cls.add_constructor([])
 Lines 5384-5586    Link Here 
5384
                   [param('ns3::Ipv6Address const &', 'value')])
1813
                   [param('ns3::Ipv6Address const &', 'value')])
5385
    return
1814
    return
5386
1815
5387
def register_Ns3Ipv6L3Protocol_methods(root_module, cls):
5388
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ipv6L3Protocol::PROT_NUMBER [variable]
5389
    cls.add_static_attribute('PROT_NUMBER', 'uint16_t const', is_const=True)
5390
    ## ipv6-l3-protocol.h (module 'internet'): static ns3::TypeId ns3::Ipv6L3Protocol::GetTypeId() [member function]
5391
    cls.add_method('GetTypeId', 
5392
                   'ns3::TypeId', 
5393
                   [], 
5394
                   is_static=True)
5395
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ipv6L3Protocol::Ipv6L3Protocol() [constructor]
5396
    cls.add_constructor([])
5397
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::SetNode(ns3::Ptr<ns3::Node> node) [member function]
5398
    cls.add_method('SetNode', 
5399
                   'void', 
5400
                   [param('ns3::Ptr< ns3::Node >', 'node')])
5401
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::Insert(ns3::Ptr<ns3::Ipv6L4Protocol> protocol) [member function]
5402
    cls.add_method('Insert', 
5403
                   'void', 
5404
                   [param('ns3::Ptr< ns3::Ipv6L4Protocol >', 'protocol')])
5405
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::Remove(ns3::Ptr<ns3::Ipv6L4Protocol> protocol) [member function]
5406
    cls.add_method('Remove', 
5407
                   'void', 
5408
                   [param('ns3::Ptr< ns3::Ipv6L4Protocol >', 'protocol')])
5409
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::Ipv6L4Protocol> ns3::Ipv6L3Protocol::GetProtocol(int protocolNumber) const [member function]
5410
    cls.add_method('GetProtocol', 
5411
                   'ns3::Ptr< ns3::Ipv6L4Protocol >', 
5412
                   [param('int', 'protocolNumber')], 
5413
                   is_const=True)
5414
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::Socket> ns3::Ipv6L3Protocol::CreateRawSocket() [member function]
5415
    cls.add_method('CreateRawSocket', 
5416
                   'ns3::Ptr< ns3::Socket >', 
5417
                   [])
5418
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::DeleteRawSocket(ns3::Ptr<ns3::Socket> socket) [member function]
5419
    cls.add_method('DeleteRawSocket', 
5420
                   'void', 
5421
                   [param('ns3::Ptr< ns3::Socket >', 'socket')])
5422
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::SetDefaultTtl(uint8_t ttl) [member function]
5423
    cls.add_method('SetDefaultTtl', 
5424
                   'void', 
5425
                   [param('uint8_t', 'ttl')])
5426
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::Receive(ns3::Ptr<ns3::NetDevice> device, ns3::Ptr<const ns3::Packet> p, uint16_t protocol, ns3::Address const & from, ns3::Address const & to, ns3::NetDevice::PacketType packetType) [member function]
5427
    cls.add_method('Receive', 
5428
                   'void', 
5429
                   [param('ns3::Ptr< ns3::NetDevice >', 'device'), param('ns3::Ptr< ns3::Packet const >', 'p'), param('uint16_t', 'protocol'), param('ns3::Address const &', 'from'), param('ns3::Address const &', 'to'), param('ns3::NetDevice::PacketType', 'packetType')])
5430
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::Send(ns3::Ptr<ns3::Packet> packet, ns3::Ipv6Address source, ns3::Ipv6Address destination, uint8_t protocol, ns3::Ptr<ns3::Ipv6Route> route) [member function]
5431
    cls.add_method('Send', 
5432
                   'void', 
5433
                   [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv6Address', 'source'), param('ns3::Ipv6Address', 'destination'), param('uint8_t', 'protocol'), param('ns3::Ptr< ns3::Ipv6Route >', 'route')])
5434
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::SetRoutingProtocol(ns3::Ptr<ns3::Ipv6RoutingProtocol> routingProtocol) [member function]
5435
    cls.add_method('SetRoutingProtocol', 
5436
                   'void', 
5437
                   [param('ns3::Ptr< ns3::Ipv6RoutingProtocol >', 'routingProtocol')], 
5438
                   is_virtual=True)
5439
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::Ipv6RoutingProtocol> ns3::Ipv6L3Protocol::GetRoutingProtocol() const [member function]
5440
    cls.add_method('GetRoutingProtocol', 
5441
                   'ns3::Ptr< ns3::Ipv6RoutingProtocol >', 
5442
                   [], 
5443
                   is_const=True, is_virtual=True)
5444
    ## ipv6-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv6L3Protocol::AddInterface(ns3::Ptr<ns3::NetDevice> device) [member function]
5445
    cls.add_method('AddInterface', 
5446
                   'uint32_t', 
5447
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')], 
5448
                   is_virtual=True)
5449
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::Ipv6Interface> ns3::Ipv6L3Protocol::GetInterface(uint32_t i) const [member function]
5450
    cls.add_method('GetInterface', 
5451
                   'ns3::Ptr< ns3::Ipv6Interface >', 
5452
                   [param('uint32_t', 'i')], 
5453
                   is_const=True)
5454
    ## ipv6-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv6L3Protocol::GetNInterfaces() const [member function]
5455
    cls.add_method('GetNInterfaces', 
5456
                   'uint32_t', 
5457
                   [], 
5458
                   is_const=True, is_virtual=True)
5459
    ## ipv6-l3-protocol.h (module 'internet'): int32_t ns3::Ipv6L3Protocol::GetInterfaceForAddress(ns3::Ipv6Address addr) const [member function]
5460
    cls.add_method('GetInterfaceForAddress', 
5461
                   'int32_t', 
5462
                   [param('ns3::Ipv6Address', 'addr')], 
5463
                   is_const=True, is_virtual=True)
5464
    ## ipv6-l3-protocol.h (module 'internet'): int32_t ns3::Ipv6L3Protocol::GetInterfaceForPrefix(ns3::Ipv6Address addr, ns3::Ipv6Prefix mask) const [member function]
5465
    cls.add_method('GetInterfaceForPrefix', 
5466
                   'int32_t', 
5467
                   [param('ns3::Ipv6Address', 'addr'), param('ns3::Ipv6Prefix', 'mask')], 
5468
                   is_const=True, is_virtual=True)
5469
    ## ipv6-l3-protocol.h (module 'internet'): int32_t ns3::Ipv6L3Protocol::GetInterfaceForDevice(ns3::Ptr<const ns3::NetDevice> device) const [member function]
5470
    cls.add_method('GetInterfaceForDevice', 
5471
                   'int32_t', 
5472
                   [param('ns3::Ptr< ns3::NetDevice const >', 'device')], 
5473
                   is_const=True, is_virtual=True)
5474
    ## ipv6-l3-protocol.h (module 'internet'): bool ns3::Ipv6L3Protocol::AddAddress(uint32_t i, ns3::Ipv6InterfaceAddress address) [member function]
5475
    cls.add_method('AddAddress', 
5476
                   'bool', 
5477
                   [param('uint32_t', 'i'), param('ns3::Ipv6InterfaceAddress', 'address')], 
5478
                   is_virtual=True)
5479
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ipv6InterfaceAddress ns3::Ipv6L3Protocol::GetAddress(uint32_t interfaceIndex, uint32_t addressIndex) const [member function]
5480
    cls.add_method('GetAddress', 
5481
                   'ns3::Ipv6InterfaceAddress', 
5482
                   [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], 
5483
                   is_const=True, is_virtual=True)
5484
    ## ipv6-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv6L3Protocol::GetNAddresses(uint32_t interface) const [member function]
5485
    cls.add_method('GetNAddresses', 
5486
                   'uint32_t', 
5487
                   [param('uint32_t', 'interface')], 
5488
                   is_const=True, is_virtual=True)
5489
    ## ipv6-l3-protocol.h (module 'internet'): bool ns3::Ipv6L3Protocol::RemoveAddress(uint32_t interfaceIndex, uint32_t addressIndex) [member function]
5490
    cls.add_method('RemoveAddress', 
5491
                   'bool', 
5492
                   [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], 
5493
                   is_virtual=True)
5494
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::SetMetric(uint32_t i, uint16_t metric) [member function]
5495
    cls.add_method('SetMetric', 
5496
                   'void', 
5497
                   [param('uint32_t', 'i'), param('uint16_t', 'metric')], 
5498
                   is_virtual=True)
5499
    ## ipv6-l3-protocol.h (module 'internet'): uint16_t ns3::Ipv6L3Protocol::GetMetric(uint32_t i) const [member function]
5500
    cls.add_method('GetMetric', 
5501
                   'uint16_t', 
5502
                   [param('uint32_t', 'i')], 
5503
                   is_const=True, is_virtual=True)
5504
    ## ipv6-l3-protocol.h (module 'internet'): uint16_t ns3::Ipv6L3Protocol::GetMtu(uint32_t i) const [member function]
5505
    cls.add_method('GetMtu', 
5506
                   'uint16_t', 
5507
                   [param('uint32_t', 'i')], 
5508
                   is_const=True, is_virtual=True)
5509
    ## ipv6-l3-protocol.h (module 'internet'): bool ns3::Ipv6L3Protocol::IsUp(uint32_t i) const [member function]
5510
    cls.add_method('IsUp', 
5511
                   'bool', 
5512
                   [param('uint32_t', 'i')], 
5513
                   is_const=True, is_virtual=True)
5514
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::SetUp(uint32_t i) [member function]
5515
    cls.add_method('SetUp', 
5516
                   'void', 
5517
                   [param('uint32_t', 'i')], 
5518
                   is_virtual=True)
5519
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::SetDown(uint32_t i) [member function]
5520
    cls.add_method('SetDown', 
5521
                   'void', 
5522
                   [param('uint32_t', 'i')], 
5523
                   is_virtual=True)
5524
    ## ipv6-l3-protocol.h (module 'internet'): bool ns3::Ipv6L3Protocol::IsForwarding(uint32_t i) const [member function]
5525
    cls.add_method('IsForwarding', 
5526
                   'bool', 
5527
                   [param('uint32_t', 'i')], 
5528
                   is_const=True, is_virtual=True)
5529
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::SetForwarding(uint32_t i, bool val) [member function]
5530
    cls.add_method('SetForwarding', 
5531
                   'void', 
5532
                   [param('uint32_t', 'i'), param('bool', 'val')], 
5533
                   is_virtual=True)
5534
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::NetDevice> ns3::Ipv6L3Protocol::GetNetDevice(uint32_t i) [member function]
5535
    cls.add_method('GetNetDevice', 
5536
                   'ns3::Ptr< ns3::NetDevice >', 
5537
                   [param('uint32_t', 'i')], 
5538
                   is_virtual=True)
5539
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::Icmpv6L4Protocol> ns3::Ipv6L3Protocol::GetIcmpv6() const [member function]
5540
    cls.add_method('GetIcmpv6', 
5541
                   'ns3::Ptr< ns3::Icmpv6L4Protocol >', 
5542
                   [], 
5543
                   is_const=True)
5544
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::AddAutoconfiguredAddress(uint32_t interface, ns3::Ipv6Address network, ns3::Ipv6Prefix mask, uint8_t flags, uint32_t validTime, uint32_t preferredTime, ns3::Ipv6Address defaultRouter=ns3::Ipv6Address::GetZero( )) [member function]
5545
    cls.add_method('AddAutoconfiguredAddress', 
5546
                   'void', 
5547
                   [param('uint32_t', 'interface'), param('ns3::Ipv6Address', 'network'), param('ns3::Ipv6Prefix', 'mask'), param('uint8_t', 'flags'), param('uint32_t', 'validTime'), param('uint32_t', 'preferredTime'), param('ns3::Ipv6Address', 'defaultRouter', default_value='ns3::Ipv6Address::GetZero( )')])
5548
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::RemoveAutoconfiguredAddress(uint32_t interface, ns3::Ipv6Address network, ns3::Ipv6Prefix mask, ns3::Ipv6Address defaultRouter) [member function]
5549
    cls.add_method('RemoveAutoconfiguredAddress', 
5550
                   'void', 
5551
                   [param('uint32_t', 'interface'), param('ns3::Ipv6Address', 'network'), param('ns3::Ipv6Prefix', 'mask'), param('ns3::Ipv6Address', 'defaultRouter')])
5552
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::RegisterExtensions() [member function]
5553
    cls.add_method('RegisterExtensions', 
5554
                   'void', 
5555
                   [], 
5556
                   is_virtual=True)
5557
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::RegisterOptions() [member function]
5558
    cls.add_method('RegisterOptions', 
5559
                   'void', 
5560
                   [], 
5561
                   is_virtual=True)
5562
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::DoDispose() [member function]
5563
    cls.add_method('DoDispose', 
5564
                   'void', 
5565
                   [], 
5566
                   visibility='protected', is_virtual=True)
5567
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::NotifyNewAggregate() [member function]
5568
    cls.add_method('NotifyNewAggregate', 
5569
                   'void', 
5570
                   [], 
5571
                   visibility='protected', is_virtual=True)
5572
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::SetIpForward(bool forward) [member function]
5573
    cls.add_method('SetIpForward', 
5574
                   'void', 
5575
                   [param('bool', 'forward')], 
5576
                   visibility='private', is_virtual=True)
5577
    ## ipv6-l3-protocol.h (module 'internet'): bool ns3::Ipv6L3Protocol::GetIpForward() const [member function]
5578
    cls.add_method('GetIpForward', 
5579
                   'bool', 
5580
                   [], 
5581
                   is_const=True, visibility='private', is_virtual=True)
5582
    return
5583
5584
def register_Ns3Ipv6PrefixChecker_methods(root_module, cls):
1816
def register_Ns3Ipv6PrefixChecker_methods(root_module, cls):
5585
    ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker::Ipv6PrefixChecker() [constructor]
1817
    ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker::Ipv6PrefixChecker() [constructor]
5586
    cls.add_constructor([])
1818
    cls.add_constructor([])
 Lines 5753-6116    Link Here 
5753
                   is_pure_virtual=True, is_const=True, is_virtual=True)
1985
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5754
    return
1986
    return
5755
1987
5756
def register_Ns3NixVector_methods(root_module, cls):
5757
    cls.add_output_stream_operator()
5758
    ## nix-vector.h (module 'network'): ns3::NixVector::NixVector() [constructor]
5759
    cls.add_constructor([])
5760
    ## nix-vector.h (module 'network'): ns3::NixVector::NixVector(ns3::NixVector const & o) [copy constructor]
5761
    cls.add_constructor([param('ns3::NixVector const &', 'o')])
5762
    ## nix-vector.h (module 'network'): void ns3::NixVector::AddNeighborIndex(uint32_t newBits, uint32_t numberOfBits) [member function]
5763
    cls.add_method('AddNeighborIndex', 
5764
                   'void', 
5765
                   [param('uint32_t', 'newBits'), param('uint32_t', 'numberOfBits')])
5766
    ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::BitCount(uint32_t numberOfNeighbors) const [member function]
5767
    cls.add_method('BitCount', 
5768
                   'uint32_t', 
5769
                   [param('uint32_t', 'numberOfNeighbors')], 
5770
                   is_const=True)
5771
    ## nix-vector.h (module 'network'): ns3::Ptr<ns3::NixVector> ns3::NixVector::Copy() const [member function]
5772
    cls.add_method('Copy', 
5773
                   'ns3::Ptr< ns3::NixVector >', 
5774
                   [], 
5775
                   is_const=True)
5776
    ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::Deserialize(uint32_t const * buffer, uint32_t size) [member function]
5777
    cls.add_method('Deserialize', 
5778
                   'uint32_t', 
5779
                   [param('uint32_t const *', 'buffer'), param('uint32_t', 'size')])
5780
    ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::ExtractNeighborIndex(uint32_t numberOfBits) [member function]
5781
    cls.add_method('ExtractNeighborIndex', 
5782
                   'uint32_t', 
5783
                   [param('uint32_t', 'numberOfBits')])
5784
    ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::GetRemainingBits() [member function]
5785
    cls.add_method('GetRemainingBits', 
5786
                   'uint32_t', 
5787
                   [])
5788
    ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::GetSerializedSize() const [member function]
5789
    cls.add_method('GetSerializedSize', 
5790
                   'uint32_t', 
5791
                   [], 
5792
                   is_const=True)
5793
    ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::Serialize(uint32_t * buffer, uint32_t maxSize) const [member function]
5794
    cls.add_method('Serialize', 
5795
                   'uint32_t', 
5796
                   [param('uint32_t *', 'buffer'), param('uint32_t', 'maxSize')], 
5797
                   is_const=True)
5798
    return
5799
5800
def register_Ns3Node_methods(root_module, cls):
5801
    ## node.h (module 'network'): ns3::Node::Node(ns3::Node const & arg0) [copy constructor]
5802
    cls.add_constructor([param('ns3::Node const &', 'arg0')])
5803
    ## node.h (module 'network'): ns3::Node::Node() [constructor]
5804
    cls.add_constructor([])
5805
    ## node.h (module 'network'): ns3::Node::Node(uint32_t systemId) [constructor]
5806
    cls.add_constructor([param('uint32_t', 'systemId')])
5807
    ## node.h (module 'network'): uint32_t ns3::Node::AddApplication(ns3::Ptr<ns3::Application> application) [member function]
5808
    cls.add_method('AddApplication', 
5809
                   'uint32_t', 
5810
                   [param('ns3::Ptr< ns3::Application >', 'application')])
5811
    ## node.h (module 'network'): uint32_t ns3::Node::AddDevice(ns3::Ptr<ns3::NetDevice> device) [member function]
5812
    cls.add_method('AddDevice', 
5813
                   'uint32_t', 
5814
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')])
5815
    ## node.h (module 'network'): static bool ns3::Node::ChecksumEnabled() [member function]
5816
    cls.add_method('ChecksumEnabled', 
5817
                   'bool', 
5818
                   [], 
5819
                   is_static=True)
5820
    ## node.h (module 'network'): ns3::Ptr<ns3::Application> ns3::Node::GetApplication(uint32_t index) const [member function]
5821
    cls.add_method('GetApplication', 
5822
                   'ns3::Ptr< ns3::Application >', 
5823
                   [param('uint32_t', 'index')], 
5824
                   is_const=True)
5825
    ## node.h (module 'network'): ns3::Ptr<ns3::NetDevice> ns3::Node::GetDevice(uint32_t index) const [member function]
5826
    cls.add_method('GetDevice', 
5827
                   'ns3::Ptr< ns3::NetDevice >', 
5828
                   [param('uint32_t', 'index')], 
5829
                   is_const=True)
5830
    ## node.h (module 'network'): uint32_t ns3::Node::GetId() const [member function]
5831
    cls.add_method('GetId', 
5832
                   'uint32_t', 
5833
                   [], 
5834
                   is_const=True)
5835
    ## node.h (module 'network'): uint32_t ns3::Node::GetNApplications() const [member function]
5836
    cls.add_method('GetNApplications', 
5837
                   'uint32_t', 
5838
                   [], 
5839
                   is_const=True)
5840
    ## node.h (module 'network'): uint32_t ns3::Node::GetNDevices() const [member function]
5841
    cls.add_method('GetNDevices', 
5842
                   'uint32_t', 
5843
                   [], 
5844
                   is_const=True)
5845
    ## node.h (module 'network'): uint32_t ns3::Node::GetSystemId() const [member function]
5846
    cls.add_method('GetSystemId', 
5847
                   'uint32_t', 
5848
                   [], 
5849
                   is_const=True)
5850
    ## node.h (module 'network'): static ns3::TypeId ns3::Node::GetTypeId() [member function]
5851
    cls.add_method('GetTypeId', 
5852
                   'ns3::TypeId', 
5853
                   [], 
5854
                   is_static=True)
5855
    ## node.h (module 'network'): void ns3::Node::RegisterProtocolHandler(ns3::Callback<void, ns3::Ptr<ns3::NetDevice>, ns3::Ptr<ns3::Packet const>, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> handler, uint16_t protocolType, ns3::Ptr<ns3::NetDevice> device, bool promiscuous=false) [member function]
5856
    cls.add_method('RegisterProtocolHandler', 
5857
                   'void', 
5858
                   [param('ns3::Callback< void, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::Address const &, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty >', 'handler'), param('uint16_t', 'protocolType'), param('ns3::Ptr< ns3::NetDevice >', 'device'), param('bool', 'promiscuous', default_value='false')])
5859
    ## node.h (module 'network'): void ns3::Node::UnregisterProtocolHandler(ns3::Callback<void, ns3::Ptr<ns3::NetDevice>, ns3::Ptr<ns3::Packet const>, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> handler) [member function]
5860
    cls.add_method('UnregisterProtocolHandler', 
5861
                   'void', 
5862
                   [param('ns3::Callback< void, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::Address const &, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty >', 'handler')])
5863
    ## node.h (module 'network'): void ns3::Node::DoDispose() [member function]
5864
    cls.add_method('DoDispose', 
5865
                   'void', 
5866
                   [], 
5867
                   visibility='protected', is_virtual=True)
5868
    ## node.h (module 'network'): void ns3::Node::DoStart() [member function]
5869
    cls.add_method('DoStart', 
5870
                   'void', 
5871
                   [], 
5872
                   visibility='protected', is_virtual=True)
5873
    ## node.h (module 'network'): void ns3::Node::NotifyDeviceAdded(ns3::Ptr<ns3::NetDevice> device) [member function]
5874
    cls.add_method('NotifyDeviceAdded', 
5875
                   'void', 
5876
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')], 
5877
                   visibility='private', is_virtual=True)
5878
    return
5879
5880
def register_Ns3ObjectFactoryChecker_methods(root_module, cls):
5881
    ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker::ObjectFactoryChecker() [constructor]
5882
    cls.add_constructor([])
5883
    ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker::ObjectFactoryChecker(ns3::ObjectFactoryChecker const & arg0) [copy constructor]
5884
    cls.add_constructor([param('ns3::ObjectFactoryChecker const &', 'arg0')])
5885
    return
5886
5887
def register_Ns3ObjectFactoryValue_methods(root_module, cls):
5888
    ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue() [constructor]
5889
    cls.add_constructor([])
5890
    ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue(ns3::ObjectFactoryValue const & arg0) [copy constructor]
5891
    cls.add_constructor([param('ns3::ObjectFactoryValue const &', 'arg0')])
5892
    ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue(ns3::ObjectFactory const & value) [constructor]
5893
    cls.add_constructor([param('ns3::ObjectFactory const &', 'value')])
5894
    ## object-factory.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::ObjectFactoryValue::Copy() const [member function]
5895
    cls.add_method('Copy', 
5896
                   'ns3::Ptr< ns3::AttributeValue >', 
5897
                   [], 
5898
                   is_const=True, is_virtual=True)
5899
    ## object-factory.h (module 'core'): bool ns3::ObjectFactoryValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
5900
    cls.add_method('DeserializeFromString', 
5901
                   'bool', 
5902
                   [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
5903
                   is_virtual=True)
5904
    ## object-factory.h (module 'core'): ns3::ObjectFactory ns3::ObjectFactoryValue::Get() const [member function]
5905
    cls.add_method('Get', 
5906
                   'ns3::ObjectFactory', 
5907
                   [], 
5908
                   is_const=True)
5909
    ## object-factory.h (module 'core'): std::string ns3::ObjectFactoryValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
5910
    cls.add_method('SerializeToString', 
5911
                   'std::string', 
5912
                   [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
5913
                   is_const=True, is_virtual=True)
5914
    ## object-factory.h (module 'core'): void ns3::ObjectFactoryValue::Set(ns3::ObjectFactory const & value) [member function]
5915
    cls.add_method('Set', 
5916
                   'void', 
5917
                   [param('ns3::ObjectFactory const &', 'value')])
5918
    return
5919
5920
def register_Ns3OutputStreamWrapper_methods(root_module, cls):
5921
    ## output-stream-wrapper.h (module 'network'): ns3::OutputStreamWrapper::OutputStreamWrapper(ns3::OutputStreamWrapper const & arg0) [copy constructor]
5922
    cls.add_constructor([param('ns3::OutputStreamWrapper const &', 'arg0')])
5923
    ## output-stream-wrapper.h (module 'network'): ns3::OutputStreamWrapper::OutputStreamWrapper(std::string filename, std::_Ios_Openmode filemode) [constructor]
5924
    cls.add_constructor([param('std::string', 'filename'), param('std::_Ios_Openmode', 'filemode')])
5925
    ## output-stream-wrapper.h (module 'network'): ns3::OutputStreamWrapper::OutputStreamWrapper(std::ostream * os) [constructor]
5926
    cls.add_constructor([param('std::ostream *', 'os')])
5927
    ## output-stream-wrapper.h (module 'network'): std::ostream * ns3::OutputStreamWrapper::GetStream() [member function]
5928
    cls.add_method('GetStream', 
5929
                   'std::ostream *', 
5930
                   [])
5931
    return
5932
5933
def register_Ns3Packet_methods(root_module, cls):
5934
    cls.add_output_stream_operator()
5935
    ## packet.h (module 'network'): ns3::Packet::Packet() [constructor]
5936
    cls.add_constructor([])
5937
    ## packet.h (module 'network'): ns3::Packet::Packet(ns3::Packet const & o) [copy constructor]
5938
    cls.add_constructor([param('ns3::Packet const &', 'o')])
5939
    ## packet.h (module 'network'): ns3::Packet::Packet(uint32_t size) [constructor]
5940
    cls.add_constructor([param('uint32_t', 'size')])
5941
    ## packet.h (module 'network'): ns3::Packet::Packet(uint8_t const * buffer, uint32_t size, bool magic) [constructor]
5942
    cls.add_constructor([param('uint8_t const *', 'buffer'), param('uint32_t', 'size'), param('bool', 'magic')])
5943
    ## packet.h (module 'network'): ns3::Packet::Packet(uint8_t const * buffer, uint32_t size) [constructor]
5944
    cls.add_constructor([param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
5945
    ## packet.h (module 'network'): void ns3::Packet::AddAtEnd(ns3::Ptr<const ns3::Packet> packet) [member function]
5946
    cls.add_method('AddAtEnd', 
5947
                   'void', 
5948
                   [param('ns3::Ptr< ns3::Packet const >', 'packet')])
5949
    ## packet.h (module 'network'): void ns3::Packet::AddByteTag(ns3::Tag const & tag) const [member function]
5950
    cls.add_method('AddByteTag', 
5951
                   'void', 
5952
                   [param('ns3::Tag const &', 'tag')], 
5953
                   is_const=True)
5954
    ## packet.h (module 'network'): void ns3::Packet::AddHeader(ns3::Header const & header) [member function]
5955
    cls.add_method('AddHeader', 
5956
                   'void', 
5957
                   [param('ns3::Header const &', 'header')])
5958
    ## packet.h (module 'network'): void ns3::Packet::AddPacketTag(ns3::Tag const & tag) const [member function]
5959
    cls.add_method('AddPacketTag', 
5960
                   'void', 
5961
                   [param('ns3::Tag const &', 'tag')], 
5962
                   is_const=True)
5963
    ## packet.h (module 'network'): void ns3::Packet::AddPaddingAtEnd(uint32_t size) [member function]
5964
    cls.add_method('AddPaddingAtEnd', 
5965
                   'void', 
5966
                   [param('uint32_t', 'size')])
5967
    ## packet.h (module 'network'): void ns3::Packet::AddTrailer(ns3::Trailer const & trailer) [member function]
5968
    cls.add_method('AddTrailer', 
5969
                   'void', 
5970
                   [param('ns3::Trailer const &', 'trailer')])
5971
    ## packet.h (module 'network'): ns3::PacketMetadata::ItemIterator ns3::Packet::BeginItem() const [member function]
5972
    cls.add_method('BeginItem', 
5973
                   'ns3::PacketMetadata::ItemIterator', 
5974
                   [], 
5975
                   is_const=True)
5976
    ## packet.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Packet::Copy() const [member function]
5977
    cls.add_method('Copy', 
5978
                   'ns3::Ptr< ns3::Packet >', 
5979
                   [], 
5980
                   is_const=True)
5981
    ## packet.h (module 'network'): uint32_t ns3::Packet::CopyData(uint8_t * buffer, uint32_t size) const [member function]
5982
    cls.add_method('CopyData', 
5983
                   'uint32_t', 
5984
                   [param('uint8_t *', 'buffer'), param('uint32_t', 'size')], 
5985
                   is_const=True)
5986
    ## packet.h (module 'network'): void ns3::Packet::CopyData(std::ostream * os, uint32_t size) const [member function]
5987
    cls.add_method('CopyData', 
5988
                   'void', 
5989
                   [param('std::ostream *', 'os'), param('uint32_t', 'size')], 
5990
                   is_const=True)
5991
    ## packet.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Packet::CreateFragment(uint32_t start, uint32_t length) const [member function]
5992
    cls.add_method('CreateFragment', 
5993
                   'ns3::Ptr< ns3::Packet >', 
5994
                   [param('uint32_t', 'start'), param('uint32_t', 'length')], 
5995
                   is_const=True)
5996
    ## packet.h (module 'network'): static void ns3::Packet::EnableChecking() [member function]
5997
    cls.add_method('EnableChecking', 
5998
                   'void', 
5999
                   [], 
6000
                   is_static=True)
6001
    ## packet.h (module 'network'): static void ns3::Packet::EnablePrinting() [member function]
6002
    cls.add_method('EnablePrinting', 
6003
                   'void', 
6004
                   [], 
6005
                   is_static=True)
6006
    ## packet.h (module 'network'): bool ns3::Packet::FindFirstMatchingByteTag(ns3::Tag & tag) const [member function]
6007
    cls.add_method('FindFirstMatchingByteTag', 
6008
                   'bool', 
6009
                   [param('ns3::Tag &', 'tag')], 
6010
                   is_const=True)
6011
    ## packet.h (module 'network'): ns3::ByteTagIterator ns3::Packet::GetByteTagIterator() const [member function]
6012
    cls.add_method('GetByteTagIterator', 
6013
                   'ns3::ByteTagIterator', 
6014
                   [], 
6015
                   is_const=True)
6016
    ## packet.h (module 'network'): ns3::Ptr<ns3::NixVector> ns3::Packet::GetNixVector() const [member function]
6017
    cls.add_method('GetNixVector', 
6018
                   'ns3::Ptr< ns3::NixVector >', 
6019
                   [], 
6020
                   is_const=True)
6021
    ## packet.h (module 'network'): ns3::PacketTagIterator ns3::Packet::GetPacketTagIterator() const [member function]
6022
    cls.add_method('GetPacketTagIterator', 
6023
                   'ns3::PacketTagIterator', 
6024
                   [], 
6025
                   is_const=True)
6026
    ## packet.h (module 'network'): uint32_t ns3::Packet::GetSerializedSize() const [member function]
6027
    cls.add_method('GetSerializedSize', 
6028
                   'uint32_t', 
6029
                   [], 
6030
                   is_const=True)
6031
    ## packet.h (module 'network'): uint32_t ns3::Packet::GetSize() const [member function]
6032
    cls.add_method('GetSize', 
6033
                   'uint32_t', 
6034
                   [], 
6035
                   is_const=True)
6036
    ## packet.h (module 'network'): uint64_t ns3::Packet::GetUid() const [member function]
6037
    cls.add_method('GetUid', 
6038
                   'uint64_t', 
6039
                   [], 
6040
                   is_const=True)
6041
    ## packet.h (module 'network'): uint8_t const * ns3::Packet::PeekData() const [member function]
6042
    cls.add_method('PeekData', 
6043
                   'uint8_t const *', 
6044
                   [], 
6045
                   deprecated=True, is_const=True)
6046
    ## packet.h (module 'network'): uint32_t ns3::Packet::PeekHeader(ns3::Header & header) const [member function]
6047
    cls.add_method('PeekHeader', 
6048
                   'uint32_t', 
6049
                   [param('ns3::Header &', 'header')], 
6050
                   is_const=True)
6051
    ## packet.h (module 'network'): bool ns3::Packet::PeekPacketTag(ns3::Tag & tag) const [member function]
6052
    cls.add_method('PeekPacketTag', 
6053
                   'bool', 
6054
                   [param('ns3::Tag &', 'tag')], 
6055
                   is_const=True)
6056
    ## packet.h (module 'network'): uint32_t ns3::Packet::PeekTrailer(ns3::Trailer & trailer) [member function]
6057
    cls.add_method('PeekTrailer', 
6058
                   'uint32_t', 
6059
                   [param('ns3::Trailer &', 'trailer')])
6060
    ## packet.h (module 'network'): void ns3::Packet::Print(std::ostream & os) const [member function]
6061
    cls.add_method('Print', 
6062
                   'void', 
6063
                   [param('std::ostream &', 'os')], 
6064
                   is_const=True)
6065
    ## packet.h (module 'network'): void ns3::Packet::PrintByteTags(std::ostream & os) const [member function]
6066
    cls.add_method('PrintByteTags', 
6067
                   'void', 
6068
                   [param('std::ostream &', 'os')], 
6069
                   is_const=True)
6070
    ## packet.h (module 'network'): void ns3::Packet::PrintPacketTags(std::ostream & os) const [member function]
6071
    cls.add_method('PrintPacketTags', 
6072
                   'void', 
6073
                   [param('std::ostream &', 'os')], 
6074
                   is_const=True)
6075
    ## packet.h (module 'network'): void ns3::Packet::RemoveAllByteTags() [member function]
6076
    cls.add_method('RemoveAllByteTags', 
6077
                   'void', 
6078
                   [])
6079
    ## packet.h (module 'network'): void ns3::Packet::RemoveAllPacketTags() [member function]
6080
    cls.add_method('RemoveAllPacketTags', 
6081
                   'void', 
6082
                   [])
6083
    ## packet.h (module 'network'): void ns3::Packet::RemoveAtEnd(uint32_t size) [member function]
6084
    cls.add_method('RemoveAtEnd', 
6085
                   'void', 
6086
                   [param('uint32_t', 'size')])
6087
    ## packet.h (module 'network'): void ns3::Packet::RemoveAtStart(uint32_t size) [member function]
6088
    cls.add_method('RemoveAtStart', 
6089
                   'void', 
6090
                   [param('uint32_t', 'size')])
6091
    ## packet.h (module 'network'): uint32_t ns3::Packet::RemoveHeader(ns3::Header & header) [member function]
6092
    cls.add_method('RemoveHeader', 
6093
                   'uint32_t', 
6094
                   [param('ns3::Header &', 'header')])
6095
    ## packet.h (module 'network'): bool ns3::Packet::RemovePacketTag(ns3::Tag & tag) [member function]
6096
    cls.add_method('RemovePacketTag', 
6097
                   'bool', 
6098
                   [param('ns3::Tag &', 'tag')])
6099
    ## packet.h (module 'network'): uint32_t ns3::Packet::RemoveTrailer(ns3::Trailer & trailer) [member function]
6100
    cls.add_method('RemoveTrailer', 
6101
                   'uint32_t', 
6102
                   [param('ns3::Trailer &', 'trailer')])
6103
    ## packet.h (module 'network'): uint32_t ns3::Packet::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
6104
    cls.add_method('Serialize', 
6105
                   'uint32_t', 
6106
                   [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')], 
6107
                   is_const=True)
6108
    ## packet.h (module 'network'): void ns3::Packet::SetNixVector(ns3::Ptr<ns3::NixVector> arg0) [member function]
6109
    cls.add_method('SetNixVector', 
6110
                   'void', 
6111
                   [param('ns3::Ptr< ns3::NixVector >', 'arg0')])
6112
    return
6113
6114
def register_Ns3TimeChecker_methods(root_module, cls):
1988
def register_Ns3TimeChecker_methods(root_module, cls):
6115
    ## nstime.h (module 'core'): ns3::TimeChecker::TimeChecker() [constructor]
1989
    ## nstime.h (module 'core'): ns3::TimeChecker::TimeChecker() [constructor]
6116
    cls.add_constructor([])
1990
    cls.add_constructor([])
(-)a/src/netanim/bindings/modulegen__gcc_LP64.py (-4126 lines)
 Lines 28-145    Link Here 
28
    module.add_enum('MaxSize_e', ['MAX_SIZE'], outer_class=root_module['ns3::Address'], import_from_module='ns.network')
28
    module.add_enum('MaxSize_e', ['MAX_SIZE'], outer_class=root_module['ns3::Address'], import_from_module='ns.network')
29
    ## animation-interface.h (module 'netanim'): ns3::AnimationInterface [class]
29
    ## animation-interface.h (module 'netanim'): ns3::AnimationInterface [class]
30
    module.add_class('AnimationInterface')
30
    module.add_class('AnimationInterface')
31
    ## trace-helper.h (module 'network'): ns3::AsciiTraceHelper [class]
32
    module.add_class('AsciiTraceHelper', import_from_module='ns.network')
33
    ## trace-helper.h (module 'network'): ns3::AsciiTraceHelperForDevice [class]
34
    module.add_class('AsciiTraceHelperForDevice', allow_subclassing=True, import_from_module='ns.network')
35
    ## internet-trace-helper.h (module 'internet'): ns3::AsciiTraceHelperForIpv4 [class]
36
    module.add_class('AsciiTraceHelperForIpv4', allow_subclassing=True, import_from_module='ns.internet')
37
    ## internet-trace-helper.h (module 'internet'): ns3::AsciiTraceHelperForIpv6 [class]
38
    module.add_class('AsciiTraceHelperForIpv6', allow_subclassing=True, import_from_module='ns.internet')
39
    ## attribute-list.h (module 'core'): ns3::AttributeList [class]
31
    ## attribute-list.h (module 'core'): ns3::AttributeList [class]
40
    module.add_class('AttributeList', import_from_module='ns.core')
32
    module.add_class('AttributeList', import_from_module='ns.core')
41
    ## buffer.h (module 'network'): ns3::Buffer [class]
42
    module.add_class('Buffer', import_from_module='ns.network')
43
    ## buffer.h (module 'network'): ns3::Buffer::Iterator [class]
44
    module.add_class('Iterator', import_from_module='ns.network', outer_class=root_module['ns3::Buffer'])
45
    ## packet.h (module 'network'): ns3::ByteTagIterator [class]
46
    module.add_class('ByteTagIterator', import_from_module='ns.network')
47
    ## packet.h (module 'network'): ns3::ByteTagIterator::Item [class]
48
    module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::ByteTagIterator'])
49
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList [class]
50
    module.add_class('ByteTagList', import_from_module='ns.network')
51
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator [class]
52
    module.add_class('Iterator', import_from_module='ns.network', outer_class=root_module['ns3::ByteTagList'])
53
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item [struct]
54
    module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::ByteTagList::Iterator'])
55
    ## callback.h (module 'core'): ns3::CallbackBase [class]
33
    ## callback.h (module 'core'): ns3::CallbackBase [class]
56
    module.add_class('CallbackBase', import_from_module='ns.core')
34
    module.add_class('CallbackBase', import_from_module='ns.core')
57
    ## event-id.h (module 'core'): ns3::EventId [class]
58
    module.add_class('EventId', import_from_module='ns.core')
59
    ## ipv4-address.h (module 'network'): ns3::Ipv4Address [class]
35
    ## ipv4-address.h (module 'network'): ns3::Ipv4Address [class]
60
    module.add_class('Ipv4Address', import_from_module='ns.network')
36
    module.add_class('Ipv4Address', import_from_module='ns.network')
61
    ## ipv4-address.h (module 'network'): ns3::Ipv4Address [class]
37
    ## ipv4-address.h (module 'network'): ns3::Ipv4Address [class]
62
    root_module['ns3::Ipv4Address'].implicitly_converts_to(root_module['ns3::Address'])
38
    root_module['ns3::Ipv4Address'].implicitly_converts_to(root_module['ns3::Address'])
63
    ## ipv4-address-helper.h (module 'internet'): ns3::Ipv4AddressHelper [class]
64
    module.add_class('Ipv4AddressHelper', import_from_module='ns.internet')
65
    ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4InterfaceAddress [class]
66
    module.add_class('Ipv4InterfaceAddress', import_from_module='ns.internet')
67
    ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e [enumeration]
68
    module.add_enum('InterfaceAddressScope_e', ['HOST', 'LINK', 'GLOBAL'], outer_class=root_module['ns3::Ipv4InterfaceAddress'], import_from_module='ns.internet')
69
    ## ipv4-interface-container.h (module 'internet'): ns3::Ipv4InterfaceContainer [class]
70
    module.add_class('Ipv4InterfaceContainer', import_from_module='ns.internet')
71
    ## ipv4-address.h (module 'network'): ns3::Ipv4Mask [class]
39
    ## ipv4-address.h (module 'network'): ns3::Ipv4Mask [class]
72
    module.add_class('Ipv4Mask', import_from_module='ns.network')
40
    module.add_class('Ipv4Mask', import_from_module='ns.network')
73
    ## ipv6-address.h (module 'network'): ns3::Ipv6Address [class]
41
    ## ipv6-address.h (module 'network'): ns3::Ipv6Address [class]
74
    module.add_class('Ipv6Address', import_from_module='ns.network')
42
    module.add_class('Ipv6Address', import_from_module='ns.network')
75
    ## ipv6-address.h (module 'network'): ns3::Ipv6Address [class]
43
    ## ipv6-address.h (module 'network'): ns3::Ipv6Address [class]
76
    root_module['ns3::Ipv6Address'].implicitly_converts_to(root_module['ns3::Address'])
44
    root_module['ns3::Ipv6Address'].implicitly_converts_to(root_module['ns3::Address'])
77
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress [class]
78
    module.add_class('Ipv6InterfaceAddress', import_from_module='ns.internet')
79
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress::State_e [enumeration]
80
    module.add_enum('State_e', ['TENTATIVE', 'DEPRECATED', 'PREFERRED', 'PERMANENT', 'HOMEADDRESS', 'TENTATIVE_OPTIMISTIC', 'INVALID'], outer_class=root_module['ns3::Ipv6InterfaceAddress'], import_from_module='ns.internet')
81
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress::Scope_e [enumeration]
82
    module.add_enum('Scope_e', ['HOST', 'LINKLOCAL', 'GLOBAL'], outer_class=root_module['ns3::Ipv6InterfaceAddress'], import_from_module='ns.internet')
83
    ## ipv6-interface-container.h (module 'internet'): ns3::Ipv6InterfaceContainer [class]
84
    module.add_class('Ipv6InterfaceContainer', import_from_module='ns.internet')
85
    ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix [class]
45
    ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix [class]
86
    module.add_class('Ipv6Prefix', import_from_module='ns.network')
46
    module.add_class('Ipv6Prefix', import_from_module='ns.network')
87
    ## log.h (module 'core'): ns3::LogComponent [class]
47
    ## log.h (module 'core'): ns3::LogComponent [class]
88
    module.add_class('LogComponent', import_from_module='ns.core')
48
    module.add_class('LogComponent', import_from_module='ns.core')
89
    ## net-device-container.h (module 'network'): ns3::NetDeviceContainer [class]
90
    module.add_class('NetDeviceContainer', import_from_module='ns.network')
91
    ## node-container.h (module 'network'): ns3::NodeContainer [class]
92
    module.add_class('NodeContainer', import_from_module='ns.network')
93
    ## node-list.h (module 'network'): ns3::NodeList [class]
49
    ## node-list.h (module 'network'): ns3::NodeList [class]
94
    module.add_class('NodeList', import_from_module='ns.network')
50
    module.add_class('NodeList', import_from_module='ns.network')
95
    ## object-base.h (module 'core'): ns3::ObjectBase [class]
51
    ## object-base.h (module 'core'): ns3::ObjectBase [class]
96
    module.add_class('ObjectBase', allow_subclassing=True, import_from_module='ns.core')
52
    module.add_class('ObjectBase', allow_subclassing=True, import_from_module='ns.core')
97
    ## object.h (module 'core'): ns3::ObjectDeleter [struct]
53
    ## object.h (module 'core'): ns3::ObjectDeleter [struct]
98
    module.add_class('ObjectDeleter', import_from_module='ns.core')
54
    module.add_class('ObjectDeleter', import_from_module='ns.core')
99
    ## object-factory.h (module 'core'): ns3::ObjectFactory [class]
100
    module.add_class('ObjectFactory', import_from_module='ns.core')
101
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata [class]
102
    module.add_class('PacketMetadata', import_from_module='ns.network')
103
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item [struct]
104
    module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::PacketMetadata'])
105
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item [enumeration]
106
    module.add_enum('', ['PAYLOAD', 'HEADER', 'TRAILER'], outer_class=root_module['ns3::PacketMetadata::Item'], import_from_module='ns.network')
107
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator [class]
108
    module.add_class('ItemIterator', import_from_module='ns.network', outer_class=root_module['ns3::PacketMetadata'])
109
    ## packet.h (module 'network'): ns3::PacketTagIterator [class]
110
    module.add_class('PacketTagIterator', import_from_module='ns.network')
111
    ## packet.h (module 'network'): ns3::PacketTagIterator::Item [class]
112
    module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::PacketTagIterator'])
113
    ## packet-tag-list.h (module 'network'): ns3::PacketTagList [class]
114
    module.add_class('PacketTagList', import_from_module='ns.network')
115
    ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData [struct]
116
    module.add_class('TagData', import_from_module='ns.network', outer_class=root_module['ns3::PacketTagList'])
117
    ## pcap-file.h (module 'network'): ns3::PcapFile [class]
118
    module.add_class('PcapFile', import_from_module='ns.network')
119
    ## trace-helper.h (module 'network'): ns3::PcapHelper [class]
120
    module.add_class('PcapHelper', import_from_module='ns.network')
121
    ## trace-helper.h (module 'network'): ns3::PcapHelper [enumeration]
122
    module.add_enum('', ['DLT_NULL', 'DLT_EN10MB', 'DLT_PPP', 'DLT_RAW', 'DLT_IEEE802_11', 'DLT_PRISM_HEADER', 'DLT_IEEE802_11_RADIO'], outer_class=root_module['ns3::PcapHelper'], import_from_module='ns.network')
123
    ## trace-helper.h (module 'network'): ns3::PcapHelperForDevice [class]
124
    module.add_class('PcapHelperForDevice', allow_subclassing=True, import_from_module='ns.network')
125
    ## internet-trace-helper.h (module 'internet'): ns3::PcapHelperForIpv4 [class]
126
    module.add_class('PcapHelperForIpv4', allow_subclassing=True, import_from_module='ns.internet')
127
    ## internet-trace-helper.h (module 'internet'): ns3::PcapHelperForIpv6 [class]
128
    module.add_class('PcapHelperForIpv6', allow_subclassing=True, import_from_module='ns.internet')
129
    ## point-to-point-dumbbell-helper.h (module 'netanim'): ns3::PointToPointDumbbellHelper [class]
130
    module.add_class('PointToPointDumbbellHelper')
131
    ## point-to-point-grid-helper.h (module 'netanim'): ns3::PointToPointGridHelper [class]
132
    module.add_class('PointToPointGridHelper')
133
    ## point-to-point-helper.h (module 'point-to-point'): ns3::PointToPointHelper [class]
134
    module.add_class('PointToPointHelper', import_from_module='ns.point_to_point', parent=[root_module['ns3::PcapHelperForDevice'], root_module['ns3::AsciiTraceHelperForDevice']])
135
    ## point-to-point-star-helper.h (module 'netanim'): ns3::PointToPointStarHelper [class]
136
    module.add_class('PointToPointStarHelper')
137
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter> [class]
55
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter> [class]
138
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Object', 'ns3::ObjectBase', 'ns3::ObjectDeleter'], parent=root_module['ns3::ObjectBase'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
56
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Object', 'ns3::ObjectBase', 'ns3::ObjectDeleter'], parent=root_module['ns3::ObjectBase'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
139
    ## simulator.h (module 'core'): ns3::Simulator [class]
140
    module.add_class('Simulator', is_singleton=True, import_from_module='ns.core')
141
    ## tag.h (module 'network'): ns3::Tag [class]
142
    module.add_class('Tag', import_from_module='ns.network', parent=root_module['ns3::ObjectBase'])
143
    ## tag-buffer.h (module 'network'): ns3::TagBuffer [class]
57
    ## tag-buffer.h (module 'network'): ns3::TagBuffer [class]
144
    module.add_class('TagBuffer', import_from_module='ns.network')
58
    module.add_class('TagBuffer', import_from_module='ns.network')
145
    ## type-id.h (module 'core'): ns3::TypeId [class]
59
    ## type-id.h (module 'core'): ns3::TypeId [class]
 Lines 154-177    Link Here 
154
    module.add_class('empty', import_from_module='ns.core')
68
    module.add_class('empty', import_from_module='ns.core')
155
    ## int64x64-double.h (module 'core'): ns3::int64x64_t [class]
69
    ## int64x64-double.h (module 'core'): ns3::int64x64_t [class]
156
    module.add_class('int64x64_t', import_from_module='ns.core')
70
    module.add_class('int64x64_t', import_from_module='ns.core')
157
    ## chunk.h (module 'network'): ns3::Chunk [class]
158
    module.add_class('Chunk', import_from_module='ns.network', parent=root_module['ns3::ObjectBase'])
159
    ## header.h (module 'network'): ns3::Header [class]
160
    module.add_class('Header', import_from_module='ns.network', parent=root_module['ns3::Chunk'])
161
    ## internet-stack-helper.h (module 'internet'): ns3::InternetStackHelper [class]
162
    module.add_class('InternetStackHelper', import_from_module='ns.internet', parent=[root_module['ns3::PcapHelperForIpv4'], root_module['ns3::PcapHelperForIpv6'], root_module['ns3::AsciiTraceHelperForIpv4'], root_module['ns3::AsciiTraceHelperForIpv6']])
163
    ## ipv4-header.h (module 'internet'): ns3::Ipv4Header [class]
164
    module.add_class('Ipv4Header', import_from_module='ns.internet', parent=root_module['ns3::Header'])
165
    ## ipv6-header.h (module 'internet'): ns3::Ipv6Header [class]
166
    module.add_class('Ipv6Header', import_from_module='ns.internet', parent=root_module['ns3::Header'])
167
    ## ipv6-header.h (module 'internet'): ns3::Ipv6Header::NextHeader_e [enumeration]
168
    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'], import_from_module='ns.internet')
169
    ## object.h (module 'core'): ns3::Object [class]
71
    ## object.h (module 'core'): ns3::Object [class]
170
    module.add_class('Object', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >'])
72
    module.add_class('Object', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >'])
171
    ## object.h (module 'core'): ns3::Object::AggregateIterator [class]
73
    ## object.h (module 'core'): ns3::Object::AggregateIterator [class]
172
    module.add_class('AggregateIterator', import_from_module='ns.core', outer_class=root_module['ns3::Object'])
74
    module.add_class('AggregateIterator', import_from_module='ns.core', outer_class=root_module['ns3::Object'])
173
    ## pcap-file-wrapper.h (module 'network'): ns3::PcapFileWrapper [class]
174
    module.add_class('PcapFileWrapper', import_from_module='ns.network', parent=root_module['ns3::Object'])
175
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> > [class]
75
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> > [class]
176
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::AttributeAccessor', 'ns3::empty', 'ns3::DefaultDeleter<ns3::AttributeAccessor>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
76
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::AttributeAccessor', 'ns3::empty', 'ns3::DefaultDeleter<ns3::AttributeAccessor>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
177
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> > [class]
77
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> > [class]
 Lines 180-217    Link Here 
180
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::AttributeValue', 'ns3::empty', 'ns3::DefaultDeleter<ns3::AttributeValue>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
80
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::AttributeValue', 'ns3::empty', 'ns3::DefaultDeleter<ns3::AttributeValue>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
181
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> > [class]
81
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> > [class]
182
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::CallbackImplBase', 'ns3::empty', 'ns3::DefaultDeleter<ns3::CallbackImplBase>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
82
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::CallbackImplBase', 'ns3::empty', 'ns3::DefaultDeleter<ns3::CallbackImplBase>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
183
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> > [class]
184
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::EventImpl', 'ns3::empty', 'ns3::DefaultDeleter<ns3::EventImpl>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
185
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4MulticastRoute> > [class]
186
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Ipv4MulticastRoute', 'ns3::empty', 'ns3::DefaultDeleter<ns3::Ipv4MulticastRoute>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
187
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4Route> > [class]
188
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Ipv4Route', 'ns3::empty', 'ns3::DefaultDeleter<ns3::Ipv4Route>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
189
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> > [class]
190
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::NixVector', 'ns3::empty', 'ns3::DefaultDeleter<ns3::NixVector>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
191
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter<ns3::OutputStreamWrapper> > [class]
192
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::OutputStreamWrapper', 'ns3::empty', 'ns3::DefaultDeleter<ns3::OutputStreamWrapper>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
193
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> > [class]
194
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Packet', 'ns3::empty', 'ns3::DefaultDeleter<ns3::Packet>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
195
    ## socket.h (module 'network'): ns3::Socket [class]
196
    module.add_class('Socket', import_from_module='ns.network', parent=root_module['ns3::Object'])
197
    ## socket.h (module 'network'): ns3::Socket::SocketErrno [enumeration]
198
    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', 'ERROR_NODEV', 'ERROR_ADDRNOTAVAIL', 'SOCKET_ERRNO_LAST'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
199
    ## socket.h (module 'network'): ns3::Socket::SocketType [enumeration]
200
    module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
201
    ## socket.h (module 'network'): ns3::SocketAddressTag [class]
202
    module.add_class('SocketAddressTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
203
    ## socket.h (module 'network'): ns3::SocketIpTtlTag [class]
204
    module.add_class('SocketIpTtlTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
205
    ## socket.h (module 'network'): ns3::SocketSetDontFragmentTag [class]
206
    module.add_class('SocketSetDontFragmentTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
207
    ## nstime.h (module 'core'): ns3::Time [class]
83
    ## nstime.h (module 'core'): ns3::Time [class]
208
    module.add_class('Time', import_from_module='ns.core')
84
    module.add_class('Time', import_from_module='ns.core')
209
    ## nstime.h (module 'core'): ns3::Time::Unit [enumeration]
85
    ## nstime.h (module 'core'): ns3::Time::Unit [enumeration]
210
    module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core')
86
    module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core')
211
    ## nstime.h (module 'core'): ns3::Time [class]
87
    ## nstime.h (module 'core'): ns3::Time [class]
212
    root_module['ns3::Time'].implicitly_converts_to(root_module['ns3::int64x64_t'])
88
    root_module['ns3::Time'].implicitly_converts_to(root_module['ns3::int64x64_t'])
213
    ## trailer.h (module 'network'): ns3::Trailer [class]
214
    module.add_class('Trailer', import_from_module='ns.network', parent=root_module['ns3::Chunk'])
215
    ## attribute.h (module 'core'): ns3::AttributeAccessor [class]
89
    ## attribute.h (module 'core'): ns3::AttributeAccessor [class]
216
    module.add_class('AttributeAccessor', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >'])
90
    module.add_class('AttributeAccessor', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >'])
217
    ## attribute.h (module 'core'): ns3::AttributeChecker [class]
91
    ## attribute.h (module 'core'): ns3::AttributeChecker [class]
 Lines 226-267    Link Here 
226
    module.add_class('CallbackValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
100
    module.add_class('CallbackValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
227
    ## attribute.h (module 'core'): ns3::EmptyAttributeValue [class]
101
    ## attribute.h (module 'core'): ns3::EmptyAttributeValue [class]
228
    module.add_class('EmptyAttributeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
102
    module.add_class('EmptyAttributeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
229
    ## event-impl.h (module 'core'): ns3::EventImpl [class]
230
    module.add_class('EventImpl', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >'])
231
    ## ipv4.h (module 'internet'): ns3::Ipv4 [class]
232
    module.add_class('Ipv4', import_from_module='ns.internet', parent=root_module['ns3::Object'])
233
    ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker [class]
103
    ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker [class]
234
    module.add_class('Ipv4AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
104
    module.add_class('Ipv4AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
235
    ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue [class]
105
    ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue [class]
236
    module.add_class('Ipv4AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
106
    module.add_class('Ipv4AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
237
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol [class]
238
    module.add_class('Ipv4L3Protocol', import_from_module='ns.internet', parent=root_module['ns3::Ipv4'])
239
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::DropReason [enumeration]
240
    module.add_enum('DropReason', ['DROP_TTL_EXPIRED', 'DROP_NO_ROUTE', 'DROP_BAD_CHECKSUM', 'DROP_INTERFACE_DOWN', 'DROP_ROUTE_ERROR'], outer_class=root_module['ns3::Ipv4L3Protocol'], import_from_module='ns.internet')
241
    ## ipv4-l4-protocol.h (module 'internet'): ns3::Ipv4L4Protocol [class]
242
    module.add_class('Ipv4L4Protocol', import_from_module='ns.internet', parent=root_module['ns3::Object'])
243
    ## ipv4-l4-protocol.h (module 'internet'): ns3::Ipv4L4Protocol::RxStatus [enumeration]
244
    module.add_enum('RxStatus', ['RX_OK', 'RX_CSUM_FAILED', 'RX_ENDPOINT_CLOSED', 'RX_ENDPOINT_UNREACH'], outer_class=root_module['ns3::Ipv4L4Protocol'], import_from_module='ns.internet')
245
    ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker [class]
107
    ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker [class]
246
    module.add_class('Ipv4MaskChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
108
    module.add_class('Ipv4MaskChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
247
    ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue [class]
109
    ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue [class]
248
    module.add_class('Ipv4MaskValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
110
    module.add_class('Ipv4MaskValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
249
    ## ipv4-route.h (module 'internet'): ns3::Ipv4MulticastRoute [class]
250
    module.add_class('Ipv4MulticastRoute', import_from_module='ns.internet', parent=root_module['ns3::SimpleRefCount< ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4MulticastRoute> >'])
251
    ## ipv4-route.h (module 'internet'): ns3::Ipv4Route [class]
252
    module.add_class('Ipv4Route', import_from_module='ns.internet', parent=root_module['ns3::SimpleRefCount< ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4Route> >'])
253
    ## ipv4-routing-protocol.h (module 'internet'): ns3::Ipv4RoutingProtocol [class]
254
    module.add_class('Ipv4RoutingProtocol', import_from_module='ns.internet', parent=root_module['ns3::Object'])
255
    ## ipv6.h (module 'internet'): ns3::Ipv6 [class]
256
    module.add_class('Ipv6', import_from_module='ns.internet', parent=root_module['ns3::Object'])
257
    ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker [class]
111
    ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker [class]
258
    module.add_class('Ipv6AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
112
    module.add_class('Ipv6AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
259
    ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue [class]
113
    ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue [class]
260
    module.add_class('Ipv6AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
114
    module.add_class('Ipv6AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
261
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ipv6L3Protocol [class]
262
    module.add_class('Ipv6L3Protocol', import_from_module='ns.internet', parent=root_module['ns3::Ipv6'])
263
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ipv6L3Protocol::DropReason [enumeration]
264
    module.add_enum('DropReason', ['DROP_TTL_EXPIRED', 'DROP_NO_ROUTE', 'DROP_INTERFACE_DOWN', 'DROP_ROUTE_ERROR', 'DROP_UNKNOWN_PROTOCOL'], outer_class=root_module['ns3::Ipv6L3Protocol'], import_from_module='ns.internet')
265
    ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker [class]
115
    ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker [class]
266
    module.add_class('Ipv6PrefixChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
116
    module.add_class('Ipv6PrefixChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
267
    ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue [class]
117
    ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue [class]
 Lines 270-287    Link Here 
270
    module.add_class('NetDevice', import_from_module='ns.network', parent=root_module['ns3::Object'])
120
    module.add_class('NetDevice', import_from_module='ns.network', parent=root_module['ns3::Object'])
271
    ## net-device.h (module 'network'): ns3::NetDevice::PacketType [enumeration]
121
    ## net-device.h (module 'network'): ns3::NetDevice::PacketType [enumeration]
272
    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'], import_from_module='ns.network')
122
    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'], import_from_module='ns.network')
273
    ## nix-vector.h (module 'network'): ns3::NixVector [class]
274
    module.add_class('NixVector', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >'])
275
    ## node.h (module 'network'): ns3::Node [class]
276
    module.add_class('Node', import_from_module='ns.network', parent=root_module['ns3::Object'])
277
    ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker [class]
278
    module.add_class('ObjectFactoryChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
279
    ## object-factory.h (module 'core'): ns3::ObjectFactoryValue [class]
280
    module.add_class('ObjectFactoryValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
281
    ## output-stream-wrapper.h (module 'network'): ns3::OutputStreamWrapper [class]
282
    module.add_class('OutputStreamWrapper', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter<ns3::OutputStreamWrapper> >'])
283
    ## packet.h (module 'network'): ns3::Packet [class]
284
    module.add_class('Packet', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >'])
285
    ## nstime.h (module 'core'): ns3::TimeChecker [class]
123
    ## nstime.h (module 'core'): ns3::TimeChecker [class]
286
    module.add_class('TimeChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
124
    module.add_class('TimeChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
287
    ## nstime.h (module 'core'): ns3::TimeValue [class]
125
    ## nstime.h (module 'core'): ns3::TimeValue [class]
 Lines 314-398    Link Here 
314
def register_methods(root_module):
152
def register_methods(root_module):
315
    register_Ns3Address_methods(root_module, root_module['ns3::Address'])
153
    register_Ns3Address_methods(root_module, root_module['ns3::Address'])
316
    register_Ns3AnimationInterface_methods(root_module, root_module['ns3::AnimationInterface'])
154
    register_Ns3AnimationInterface_methods(root_module, root_module['ns3::AnimationInterface'])
317
    register_Ns3AsciiTraceHelper_methods(root_module, root_module['ns3::AsciiTraceHelper'])
318
    register_Ns3AsciiTraceHelperForDevice_methods(root_module, root_module['ns3::AsciiTraceHelperForDevice'])
319
    register_Ns3AsciiTraceHelperForIpv4_methods(root_module, root_module['ns3::AsciiTraceHelperForIpv4'])
320
    register_Ns3AsciiTraceHelperForIpv6_methods(root_module, root_module['ns3::AsciiTraceHelperForIpv6'])
321
    register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList'])
155
    register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList'])
322
    register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer'])
323
    register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator'])
324
    register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator'])
325
    register_Ns3ByteTagIteratorItem_methods(root_module, root_module['ns3::ByteTagIterator::Item'])
326
    register_Ns3ByteTagList_methods(root_module, root_module['ns3::ByteTagList'])
327
    register_Ns3ByteTagListIterator_methods(root_module, root_module['ns3::ByteTagList::Iterator'])
328
    register_Ns3ByteTagListIteratorItem_methods(root_module, root_module['ns3::ByteTagList::Iterator::Item'])
329
    register_Ns3CallbackBase_methods(root_module, root_module['ns3::CallbackBase'])
156
    register_Ns3CallbackBase_methods(root_module, root_module['ns3::CallbackBase'])
330
    register_Ns3EventId_methods(root_module, root_module['ns3::EventId'])
331
    register_Ns3Ipv4Address_methods(root_module, root_module['ns3::Ipv4Address'])
157
    register_Ns3Ipv4Address_methods(root_module, root_module['ns3::Ipv4Address'])
332
    register_Ns3Ipv4AddressHelper_methods(root_module, root_module['ns3::Ipv4AddressHelper'])
333
    register_Ns3Ipv4InterfaceAddress_methods(root_module, root_module['ns3::Ipv4InterfaceAddress'])
334
    register_Ns3Ipv4InterfaceContainer_methods(root_module, root_module['ns3::Ipv4InterfaceContainer'])
335
    register_Ns3Ipv4Mask_methods(root_module, root_module['ns3::Ipv4Mask'])
158
    register_Ns3Ipv4Mask_methods(root_module, root_module['ns3::Ipv4Mask'])
336
    register_Ns3Ipv6Address_methods(root_module, root_module['ns3::Ipv6Address'])
159
    register_Ns3Ipv6Address_methods(root_module, root_module['ns3::Ipv6Address'])
337
    register_Ns3Ipv6InterfaceAddress_methods(root_module, root_module['ns3::Ipv6InterfaceAddress'])
338
    register_Ns3Ipv6InterfaceContainer_methods(root_module, root_module['ns3::Ipv6InterfaceContainer'])
339
    register_Ns3Ipv6Prefix_methods(root_module, root_module['ns3::Ipv6Prefix'])
160
    register_Ns3Ipv6Prefix_methods(root_module, root_module['ns3::Ipv6Prefix'])
340
    register_Ns3LogComponent_methods(root_module, root_module['ns3::LogComponent'])
161
    register_Ns3LogComponent_methods(root_module, root_module['ns3::LogComponent'])
341
    register_Ns3NetDeviceContainer_methods(root_module, root_module['ns3::NetDeviceContainer'])
342
    register_Ns3NodeContainer_methods(root_module, root_module['ns3::NodeContainer'])
343
    register_Ns3NodeList_methods(root_module, root_module['ns3::NodeList'])
162
    register_Ns3NodeList_methods(root_module, root_module['ns3::NodeList'])
344
    register_Ns3ObjectBase_methods(root_module, root_module['ns3::ObjectBase'])
163
    register_Ns3ObjectBase_methods(root_module, root_module['ns3::ObjectBase'])
345
    register_Ns3ObjectDeleter_methods(root_module, root_module['ns3::ObjectDeleter'])
164
    register_Ns3ObjectDeleter_methods(root_module, root_module['ns3::ObjectDeleter'])
346
    register_Ns3ObjectFactory_methods(root_module, root_module['ns3::ObjectFactory'])
347
    register_Ns3PacketMetadata_methods(root_module, root_module['ns3::PacketMetadata'])
348
    register_Ns3PacketMetadataItem_methods(root_module, root_module['ns3::PacketMetadata::Item'])
349
    register_Ns3PacketMetadataItemIterator_methods(root_module, root_module['ns3::PacketMetadata::ItemIterator'])
350
    register_Ns3PacketTagIterator_methods(root_module, root_module['ns3::PacketTagIterator'])
351
    register_Ns3PacketTagIteratorItem_methods(root_module, root_module['ns3::PacketTagIterator::Item'])
352
    register_Ns3PacketTagList_methods(root_module, root_module['ns3::PacketTagList'])
353
    register_Ns3PacketTagListTagData_methods(root_module, root_module['ns3::PacketTagList::TagData'])
354
    register_Ns3PcapFile_methods(root_module, root_module['ns3::PcapFile'])
355
    register_Ns3PcapHelper_methods(root_module, root_module['ns3::PcapHelper'])
356
    register_Ns3PcapHelperForDevice_methods(root_module, root_module['ns3::PcapHelperForDevice'])
357
    register_Ns3PcapHelperForIpv4_methods(root_module, root_module['ns3::PcapHelperForIpv4'])
358
    register_Ns3PcapHelperForIpv6_methods(root_module, root_module['ns3::PcapHelperForIpv6'])
359
    register_Ns3PointToPointDumbbellHelper_methods(root_module, root_module['ns3::PointToPointDumbbellHelper'])
360
    register_Ns3PointToPointGridHelper_methods(root_module, root_module['ns3::PointToPointGridHelper'])
361
    register_Ns3PointToPointHelper_methods(root_module, root_module['ns3::PointToPointHelper'])
362
    register_Ns3PointToPointStarHelper_methods(root_module, root_module['ns3::PointToPointStarHelper'])
363
    register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >'])
165
    register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >'])
364
    register_Ns3Simulator_methods(root_module, root_module['ns3::Simulator'])
365
    register_Ns3Tag_methods(root_module, root_module['ns3::Tag'])
366
    register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer'])
166
    register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer'])
367
    register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId'])
167
    register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId'])
368
    register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo'])
168
    register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo'])
369
    register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList'])
169
    register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList'])
370
    register_Ns3Empty_methods(root_module, root_module['ns3::empty'])
170
    register_Ns3Empty_methods(root_module, root_module['ns3::empty'])
371
    register_Ns3Int64x64_t_methods(root_module, root_module['ns3::int64x64_t'])
171
    register_Ns3Int64x64_t_methods(root_module, root_module['ns3::int64x64_t'])
372
    register_Ns3Chunk_methods(root_module, root_module['ns3::Chunk'])
373
    register_Ns3Header_methods(root_module, root_module['ns3::Header'])
374
    register_Ns3InternetStackHelper_methods(root_module, root_module['ns3::InternetStackHelper'])
375
    register_Ns3Ipv4Header_methods(root_module, root_module['ns3::Ipv4Header'])
376
    register_Ns3Ipv6Header_methods(root_module, root_module['ns3::Ipv6Header'])
377
    register_Ns3Object_methods(root_module, root_module['ns3::Object'])
172
    register_Ns3Object_methods(root_module, root_module['ns3::Object'])
378
    register_Ns3ObjectAggregateIterator_methods(root_module, root_module['ns3::Object::AggregateIterator'])
173
    register_Ns3ObjectAggregateIterator_methods(root_module, root_module['ns3::Object::AggregateIterator'])
379
    register_Ns3PcapFileWrapper_methods(root_module, root_module['ns3::PcapFileWrapper'])
380
    register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >'])
174
    register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >'])
381
    register_Ns3SimpleRefCount__Ns3AttributeChecker_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeChecker__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >'])
175
    register_Ns3SimpleRefCount__Ns3AttributeChecker_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeChecker__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >'])
382
    register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeValue__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >'])
176
    register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeValue__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >'])
383
    register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__lt__ns3CallbackImplBase__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >'])
177
    register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__lt__ns3CallbackImplBase__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >'])
384
    register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >'])
385
    register_Ns3SimpleRefCount__Ns3Ipv4MulticastRoute_Ns3Empty_Ns3DefaultDeleter__lt__ns3Ipv4MulticastRoute__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4MulticastRoute> >'])
386
    register_Ns3SimpleRefCount__Ns3Ipv4Route_Ns3Empty_Ns3DefaultDeleter__lt__ns3Ipv4Route__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4Route> >'])
387
    register_Ns3SimpleRefCount__Ns3NixVector_Ns3Empty_Ns3DefaultDeleter__lt__ns3NixVector__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >'])
388
    register_Ns3SimpleRefCount__Ns3OutputStreamWrapper_Ns3Empty_Ns3DefaultDeleter__lt__ns3OutputStreamWrapper__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter<ns3::OutputStreamWrapper> >'])
389
    register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >'])
390
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
391
    register_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag'])
392
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
393
    register_Ns3SocketSetDontFragmentTag_methods(root_module, root_module['ns3::SocketSetDontFragmentTag'])
394
    register_Ns3Time_methods(root_module, root_module['ns3::Time'])
178
    register_Ns3Time_methods(root_module, root_module['ns3::Time'])
395
    register_Ns3Trailer_methods(root_module, root_module['ns3::Trailer'])
396
    register_Ns3AttributeAccessor_methods(root_module, root_module['ns3::AttributeAccessor'])
179
    register_Ns3AttributeAccessor_methods(root_module, root_module['ns3::AttributeAccessor'])
397
    register_Ns3AttributeChecker_methods(root_module, root_module['ns3::AttributeChecker'])
180
    register_Ns3AttributeChecker_methods(root_module, root_module['ns3::AttributeChecker'])
398
    register_Ns3AttributeValue_methods(root_module, root_module['ns3::AttributeValue'])
181
    register_Ns3AttributeValue_methods(root_module, root_module['ns3::AttributeValue'])
 Lines 400-429    Link Here 
400
    register_Ns3CallbackImplBase_methods(root_module, root_module['ns3::CallbackImplBase'])
183
    register_Ns3CallbackImplBase_methods(root_module, root_module['ns3::CallbackImplBase'])
401
    register_Ns3CallbackValue_methods(root_module, root_module['ns3::CallbackValue'])
184
    register_Ns3CallbackValue_methods(root_module, root_module['ns3::CallbackValue'])
402
    register_Ns3EmptyAttributeValue_methods(root_module, root_module['ns3::EmptyAttributeValue'])
185
    register_Ns3EmptyAttributeValue_methods(root_module, root_module['ns3::EmptyAttributeValue'])
403
    register_Ns3EventImpl_methods(root_module, root_module['ns3::EventImpl'])
404
    register_Ns3Ipv4_methods(root_module, root_module['ns3::Ipv4'])
405
    register_Ns3Ipv4AddressChecker_methods(root_module, root_module['ns3::Ipv4AddressChecker'])
186
    register_Ns3Ipv4AddressChecker_methods(root_module, root_module['ns3::Ipv4AddressChecker'])
406
    register_Ns3Ipv4AddressValue_methods(root_module, root_module['ns3::Ipv4AddressValue'])
187
    register_Ns3Ipv4AddressValue_methods(root_module, root_module['ns3::Ipv4AddressValue'])
407
    register_Ns3Ipv4L3Protocol_methods(root_module, root_module['ns3::Ipv4L3Protocol'])
408
    register_Ns3Ipv4L4Protocol_methods(root_module, root_module['ns3::Ipv4L4Protocol'])
409
    register_Ns3Ipv4MaskChecker_methods(root_module, root_module['ns3::Ipv4MaskChecker'])
188
    register_Ns3Ipv4MaskChecker_methods(root_module, root_module['ns3::Ipv4MaskChecker'])
410
    register_Ns3Ipv4MaskValue_methods(root_module, root_module['ns3::Ipv4MaskValue'])
189
    register_Ns3Ipv4MaskValue_methods(root_module, root_module['ns3::Ipv4MaskValue'])
411
    register_Ns3Ipv4MulticastRoute_methods(root_module, root_module['ns3::Ipv4MulticastRoute'])
412
    register_Ns3Ipv4Route_methods(root_module, root_module['ns3::Ipv4Route'])
413
    register_Ns3Ipv4RoutingProtocol_methods(root_module, root_module['ns3::Ipv4RoutingProtocol'])
414
    register_Ns3Ipv6_methods(root_module, root_module['ns3::Ipv6'])
415
    register_Ns3Ipv6AddressChecker_methods(root_module, root_module['ns3::Ipv6AddressChecker'])
190
    register_Ns3Ipv6AddressChecker_methods(root_module, root_module['ns3::Ipv6AddressChecker'])
416
    register_Ns3Ipv6AddressValue_methods(root_module, root_module['ns3::Ipv6AddressValue'])
191
    register_Ns3Ipv6AddressValue_methods(root_module, root_module['ns3::Ipv6AddressValue'])
417
    register_Ns3Ipv6L3Protocol_methods(root_module, root_module['ns3::Ipv6L3Protocol'])
418
    register_Ns3Ipv6PrefixChecker_methods(root_module, root_module['ns3::Ipv6PrefixChecker'])
192
    register_Ns3Ipv6PrefixChecker_methods(root_module, root_module['ns3::Ipv6PrefixChecker'])
419
    register_Ns3Ipv6PrefixValue_methods(root_module, root_module['ns3::Ipv6PrefixValue'])
193
    register_Ns3Ipv6PrefixValue_methods(root_module, root_module['ns3::Ipv6PrefixValue'])
420
    register_Ns3NetDevice_methods(root_module, root_module['ns3::NetDevice'])
194
    register_Ns3NetDevice_methods(root_module, root_module['ns3::NetDevice'])
421
    register_Ns3NixVector_methods(root_module, root_module['ns3::NixVector'])
422
    register_Ns3Node_methods(root_module, root_module['ns3::Node'])
423
    register_Ns3ObjectFactoryChecker_methods(root_module, root_module['ns3::ObjectFactoryChecker'])
424
    register_Ns3ObjectFactoryValue_methods(root_module, root_module['ns3::ObjectFactoryValue'])
425
    register_Ns3OutputStreamWrapper_methods(root_module, root_module['ns3::OutputStreamWrapper'])
426
    register_Ns3Packet_methods(root_module, root_module['ns3::Packet'])
427
    register_Ns3TimeChecker_methods(root_module, root_module['ns3::TimeChecker'])
195
    register_Ns3TimeChecker_methods(root_module, root_module['ns3::TimeChecker'])
428
    register_Ns3TimeValue_methods(root_module, root_module['ns3::TimeValue'])
196
    register_Ns3TimeValue_methods(root_module, root_module['ns3::TimeValue'])
429
    register_Ns3TypeIdChecker_methods(root_module, root_module['ns3::TypeIdChecker'])
197
    register_Ns3TypeIdChecker_methods(root_module, root_module['ns3::TypeIdChecker'])
 Lines 525-769    Link Here 
525
                   [])
293
                   [])
526
    return
294
    return
527
295
528
def register_Ns3AsciiTraceHelper_methods(root_module, cls):
529
    ## trace-helper.h (module 'network'): ns3::AsciiTraceHelper::AsciiTraceHelper(ns3::AsciiTraceHelper const & arg0) [copy constructor]
530
    cls.add_constructor([param('ns3::AsciiTraceHelper const &', 'arg0')])
531
    ## trace-helper.h (module 'network'): ns3::AsciiTraceHelper::AsciiTraceHelper() [constructor]
532
    cls.add_constructor([])
533
    ## trace-helper.h (module 'network'): ns3::Ptr<ns3::OutputStreamWrapper> ns3::AsciiTraceHelper::CreateFileStream(std::string filename, std::_Ios_Openmode filemode=std::ios_base::out) [member function]
534
    cls.add_method('CreateFileStream', 
535
                   'ns3::Ptr< ns3::OutputStreamWrapper >', 
536
                   [param('std::string', 'filename'), param('std::_Ios_Openmode', 'filemode', default_value='std::ios_base::out')])
537
    ## trace-helper.h (module 'network'): static void ns3::AsciiTraceHelper::DefaultDequeueSinkWithContext(ns3::Ptr<ns3::OutputStreamWrapper> file, std::string context, ns3::Ptr<const ns3::Packet> p) [member function]
538
    cls.add_method('DefaultDequeueSinkWithContext', 
539
                   'void', 
540
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')], 
541
                   is_static=True)
542
    ## trace-helper.h (module 'network'): static void ns3::AsciiTraceHelper::DefaultDequeueSinkWithoutContext(ns3::Ptr<ns3::OutputStreamWrapper> file, ns3::Ptr<const ns3::Packet> p) [member function]
543
    cls.add_method('DefaultDequeueSinkWithoutContext', 
544
                   'void', 
545
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('ns3::Ptr< ns3::Packet const >', 'p')], 
546
                   is_static=True)
547
    ## trace-helper.h (module 'network'): static void ns3::AsciiTraceHelper::DefaultDropSinkWithContext(ns3::Ptr<ns3::OutputStreamWrapper> file, std::string context, ns3::Ptr<const ns3::Packet> p) [member function]
548
    cls.add_method('DefaultDropSinkWithContext', 
549
                   'void', 
550
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')], 
551
                   is_static=True)
552
    ## trace-helper.h (module 'network'): static void ns3::AsciiTraceHelper::DefaultDropSinkWithoutContext(ns3::Ptr<ns3::OutputStreamWrapper> file, ns3::Ptr<const ns3::Packet> p) [member function]
553
    cls.add_method('DefaultDropSinkWithoutContext', 
554
                   'void', 
555
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('ns3::Ptr< ns3::Packet const >', 'p')], 
556
                   is_static=True)
557
    ## trace-helper.h (module 'network'): static void ns3::AsciiTraceHelper::DefaultEnqueueSinkWithContext(ns3::Ptr<ns3::OutputStreamWrapper> file, std::string context, ns3::Ptr<const ns3::Packet> p) [member function]
558
    cls.add_method('DefaultEnqueueSinkWithContext', 
559
                   'void', 
560
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')], 
561
                   is_static=True)
562
    ## trace-helper.h (module 'network'): static void ns3::AsciiTraceHelper::DefaultEnqueueSinkWithoutContext(ns3::Ptr<ns3::OutputStreamWrapper> file, ns3::Ptr<const ns3::Packet> p) [member function]
563
    cls.add_method('DefaultEnqueueSinkWithoutContext', 
564
                   'void', 
565
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('ns3::Ptr< ns3::Packet const >', 'p')], 
566
                   is_static=True)
567
    ## trace-helper.h (module 'network'): static void ns3::AsciiTraceHelper::DefaultReceiveSinkWithContext(ns3::Ptr<ns3::OutputStreamWrapper> file, std::string context, ns3::Ptr<const ns3::Packet> p) [member function]
568
    cls.add_method('DefaultReceiveSinkWithContext', 
569
                   'void', 
570
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')], 
571
                   is_static=True)
572
    ## trace-helper.h (module 'network'): static void ns3::AsciiTraceHelper::DefaultReceiveSinkWithoutContext(ns3::Ptr<ns3::OutputStreamWrapper> file, ns3::Ptr<const ns3::Packet> p) [member function]
573
    cls.add_method('DefaultReceiveSinkWithoutContext', 
574
                   'void', 
575
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('ns3::Ptr< ns3::Packet const >', 'p')], 
576
                   is_static=True)
577
    ## trace-helper.h (module 'network'): std::string ns3::AsciiTraceHelper::GetFilenameFromDevice(std::string prefix, ns3::Ptr<ns3::NetDevice> device, bool useObjectNames=true) [member function]
578
    cls.add_method('GetFilenameFromDevice', 
579
                   'std::string', 
580
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'device'), param('bool', 'useObjectNames', default_value='true')])
581
    ## trace-helper.h (module 'network'): std::string ns3::AsciiTraceHelper::GetFilenameFromInterfacePair(std::string prefix, ns3::Ptr<ns3::Object> object, uint32_t interface, bool useObjectNames=true) [member function]
582
    cls.add_method('GetFilenameFromInterfacePair', 
583
                   'std::string', 
584
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Object >', 'object'), param('uint32_t', 'interface'), param('bool', 'useObjectNames', default_value='true')])
585
    return
586
587
def register_Ns3AsciiTraceHelperForDevice_methods(root_module, cls):
588
    ## trace-helper.h (module 'network'): ns3::AsciiTraceHelperForDevice::AsciiTraceHelperForDevice(ns3::AsciiTraceHelperForDevice const & arg0) [copy constructor]
589
    cls.add_constructor([param('ns3::AsciiTraceHelperForDevice const &', 'arg0')])
590
    ## trace-helper.h (module 'network'): ns3::AsciiTraceHelperForDevice::AsciiTraceHelperForDevice() [constructor]
591
    cls.add_constructor([])
592
    ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, ns3::Ptr<ns3::NetDevice> nd, bool explicitFilename=false) [member function]
593
    cls.add_method('EnableAscii', 
594
                   'void', 
595
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'explicitFilename', default_value='false')])
596
    ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr<ns3::OutputStreamWrapper> stream, ns3::Ptr<ns3::NetDevice> nd) [member function]
597
    cls.add_method('EnableAscii', 
598
                   'void', 
599
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::Ptr< ns3::NetDevice >', 'nd')])
600
    ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, std::string ndName, bool explicitFilename=false) [member function]
601
    cls.add_method('EnableAscii', 
602
                   'void', 
603
                   [param('std::string', 'prefix'), param('std::string', 'ndName'), param('bool', 'explicitFilename', default_value='false')])
604
    ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr<ns3::OutputStreamWrapper> stream, std::string ndName) [member function]
605
    cls.add_method('EnableAscii', 
606
                   'void', 
607
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'ndName')])
608
    ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, ns3::NetDeviceContainer d) [member function]
609
    cls.add_method('EnableAscii', 
610
                   'void', 
611
                   [param('std::string', 'prefix'), param('ns3::NetDeviceContainer', 'd')])
612
    ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr<ns3::OutputStreamWrapper> stream, ns3::NetDeviceContainer d) [member function]
613
    cls.add_method('EnableAscii', 
614
                   'void', 
615
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::NetDeviceContainer', 'd')])
616
    ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, ns3::NodeContainer n) [member function]
617
    cls.add_method('EnableAscii', 
618
                   'void', 
619
                   [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')])
620
    ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr<ns3::OutputStreamWrapper> stream, ns3::NodeContainer n) [member function]
621
    cls.add_method('EnableAscii', 
622
                   'void', 
623
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::NodeContainer', 'n')])
624
    ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, uint32_t nodeid, uint32_t deviceid, bool explicitFilename) [member function]
625
    cls.add_method('EnableAscii', 
626
                   'void', 
627
                   [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid'), param('bool', 'explicitFilename')])
628
    ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr<ns3::OutputStreamWrapper> stream, uint32_t nodeid, uint32_t deviceid) [member function]
629
    cls.add_method('EnableAscii', 
630
                   'void', 
631
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid')])
632
    ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAsciiAll(std::string prefix) [member function]
633
    cls.add_method('EnableAsciiAll', 
634
                   'void', 
635
                   [param('std::string', 'prefix')])
636
    ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAsciiAll(ns3::Ptr<ns3::OutputStreamWrapper> stream) [member function]
637
    cls.add_method('EnableAsciiAll', 
638
                   'void', 
639
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')])
640
    ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAsciiInternal(ns3::Ptr<ns3::OutputStreamWrapper> stream, std::string prefix, ns3::Ptr<ns3::NetDevice> nd, bool explicitFilename) [member function]
641
    cls.add_method('EnableAsciiInternal', 
642
                   'void', 
643
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'explicitFilename')], 
644
                   is_pure_virtual=True, is_virtual=True)
645
    return
646
647
def register_Ns3AsciiTraceHelperForIpv4_methods(root_module, cls):
648
    ## internet-trace-helper.h (module 'internet'): ns3::AsciiTraceHelperForIpv4::AsciiTraceHelperForIpv4(ns3::AsciiTraceHelperForIpv4 const & arg0) [copy constructor]
649
    cls.add_constructor([param('ns3::AsciiTraceHelperForIpv4 const &', 'arg0')])
650
    ## internet-trace-helper.h (module 'internet'): ns3::AsciiTraceHelperForIpv4::AsciiTraceHelperForIpv4() [constructor]
651
    cls.add_constructor([])
652
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, ns3::Ptr<ns3::Ipv4> ipv4, uint32_t interface, bool explicitFilename=false) [member function]
653
    cls.add_method('EnableAsciiIpv4', 
654
                   'void', 
655
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')])
656
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr<ns3::OutputStreamWrapper> stream, ns3::Ptr<ns3::Ipv4> ipv4, uint32_t interface) [member function]
657
    cls.add_method('EnableAsciiIpv4', 
658
                   'void', 
659
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface')])
660
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, std::string ipv4Name, uint32_t interface, bool explicitFilename=false) [member function]
661
    cls.add_method('EnableAsciiIpv4', 
662
                   'void', 
663
                   [param('std::string', 'prefix'), param('std::string', 'ipv4Name'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')])
664
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr<ns3::OutputStreamWrapper> stream, std::string ipv4Name, uint32_t interface) [member function]
665
    cls.add_method('EnableAsciiIpv4', 
666
                   'void', 
667
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'ipv4Name'), param('uint32_t', 'interface')])
668
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, ns3::Ipv4InterfaceContainer c) [member function]
669
    cls.add_method('EnableAsciiIpv4', 
670
                   'void', 
671
                   [param('std::string', 'prefix'), param('ns3::Ipv4InterfaceContainer', 'c')])
672
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr<ns3::OutputStreamWrapper> stream, ns3::Ipv4InterfaceContainer c) [member function]
673
    cls.add_method('EnableAsciiIpv4', 
674
                   'void', 
675
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::Ipv4InterfaceContainer', 'c')])
676
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, ns3::NodeContainer n) [member function]
677
    cls.add_method('EnableAsciiIpv4', 
678
                   'void', 
679
                   [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')])
680
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr<ns3::OutputStreamWrapper> stream, ns3::NodeContainer n) [member function]
681
    cls.add_method('EnableAsciiIpv4', 
682
                   'void', 
683
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::NodeContainer', 'n')])
684
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, uint32_t nodeid, uint32_t deviceid, bool explicitFilename) [member function]
685
    cls.add_method('EnableAsciiIpv4', 
686
                   'void', 
687
                   [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid'), param('bool', 'explicitFilename')])
688
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr<ns3::OutputStreamWrapper> stream, uint32_t nodeid, uint32_t interface, bool explicitFilename) [member function]
689
    cls.add_method('EnableAsciiIpv4', 
690
                   'void', 
691
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('uint32_t', 'nodeid'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')])
692
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4All(std::string prefix) [member function]
693
    cls.add_method('EnableAsciiIpv4All', 
694
                   'void', 
695
                   [param('std::string', 'prefix')])
696
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4All(ns3::Ptr<ns3::OutputStreamWrapper> stream) [member function]
697
    cls.add_method('EnableAsciiIpv4All', 
698
                   'void', 
699
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')])
700
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4Internal(ns3::Ptr<ns3::OutputStreamWrapper> stream, std::string prefix, ns3::Ptr<ns3::Ipv4> ipv4, uint32_t interface, bool explicitFilename) [member function]
701
    cls.add_method('EnableAsciiIpv4Internal', 
702
                   'void', 
703
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], 
704
                   is_pure_virtual=True, is_virtual=True)
705
    return
706
707
def register_Ns3AsciiTraceHelperForIpv6_methods(root_module, cls):
708
    ## internet-trace-helper.h (module 'internet'): ns3::AsciiTraceHelperForIpv6::AsciiTraceHelperForIpv6(ns3::AsciiTraceHelperForIpv6 const & arg0) [copy constructor]
709
    cls.add_constructor([param('ns3::AsciiTraceHelperForIpv6 const &', 'arg0')])
710
    ## internet-trace-helper.h (module 'internet'): ns3::AsciiTraceHelperForIpv6::AsciiTraceHelperForIpv6() [constructor]
711
    cls.add_constructor([])
712
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, ns3::Ptr<ns3::Ipv6> ipv6, uint32_t interface, bool explicitFilename=false) [member function]
713
    cls.add_method('EnableAsciiIpv6', 
714
                   'void', 
715
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')])
716
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr<ns3::OutputStreamWrapper> stream, ns3::Ptr<ns3::Ipv6> ipv6, uint32_t interface) [member function]
717
    cls.add_method('EnableAsciiIpv6', 
718
                   'void', 
719
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface')])
720
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, std::string ipv6Name, uint32_t interface, bool explicitFilename=false) [member function]
721
    cls.add_method('EnableAsciiIpv6', 
722
                   'void', 
723
                   [param('std::string', 'prefix'), param('std::string', 'ipv6Name'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')])
724
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr<ns3::OutputStreamWrapper> stream, std::string ipv6Name, uint32_t interface) [member function]
725
    cls.add_method('EnableAsciiIpv6', 
726
                   'void', 
727
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'ipv6Name'), param('uint32_t', 'interface')])
728
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, ns3::Ipv6InterfaceContainer c) [member function]
729
    cls.add_method('EnableAsciiIpv6', 
730
                   'void', 
731
                   [param('std::string', 'prefix'), param('ns3::Ipv6InterfaceContainer', 'c')])
732
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr<ns3::OutputStreamWrapper> stream, ns3::Ipv6InterfaceContainer c) [member function]
733
    cls.add_method('EnableAsciiIpv6', 
734
                   'void', 
735
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::Ipv6InterfaceContainer', 'c')])
736
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, ns3::NodeContainer n) [member function]
737
    cls.add_method('EnableAsciiIpv6', 
738
                   'void', 
739
                   [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')])
740
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr<ns3::OutputStreamWrapper> stream, ns3::NodeContainer n) [member function]
741
    cls.add_method('EnableAsciiIpv6', 
742
                   'void', 
743
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::NodeContainer', 'n')])
744
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, uint32_t nodeid, uint32_t interface, bool explicitFilename) [member function]
745
    cls.add_method('EnableAsciiIpv6', 
746
                   'void', 
747
                   [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')])
748
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr<ns3::OutputStreamWrapper> stream, uint32_t nodeid, uint32_t interface) [member function]
749
    cls.add_method('EnableAsciiIpv6', 
750
                   'void', 
751
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('uint32_t', 'nodeid'), param('uint32_t', 'interface')])
752
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6All(std::string prefix) [member function]
753
    cls.add_method('EnableAsciiIpv6All', 
754
                   'void', 
755
                   [param('std::string', 'prefix')])
756
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6All(ns3::Ptr<ns3::OutputStreamWrapper> stream) [member function]
757
    cls.add_method('EnableAsciiIpv6All', 
758
                   'void', 
759
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')])
760
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6Internal(ns3::Ptr<ns3::OutputStreamWrapper> stream, std::string prefix, ns3::Ptr<ns3::Ipv6> ipv6, uint32_t interface, bool explicitFilename) [member function]
761
    cls.add_method('EnableAsciiIpv6Internal', 
762
                   'void', 
763
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], 
764
                   is_pure_virtual=True, is_virtual=True)
765
    return
766
767
def register_Ns3AttributeList_methods(root_module, cls):
296
def register_Ns3AttributeList_methods(root_module, cls):
768
    ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor]
297
    ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor]
769
    cls.add_constructor([])
298
    cls.add_constructor([])
 Lines 801-1155    Link Here 
801
                   [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
330
                   [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
802
    return
331
    return
803
332
804
def register_Ns3Buffer_methods(root_module, cls):
805
    ## buffer.h (module 'network'): ns3::Buffer::Buffer() [constructor]
806
    cls.add_constructor([])
807
    ## buffer.h (module 'network'): ns3::Buffer::Buffer(uint32_t dataSize) [constructor]
808
    cls.add_constructor([param('uint32_t', 'dataSize')])
809
    ## buffer.h (module 'network'): ns3::Buffer::Buffer(uint32_t dataSize, bool initialize) [constructor]
810
    cls.add_constructor([param('uint32_t', 'dataSize'), param('bool', 'initialize')])
811
    ## buffer.h (module 'network'): ns3::Buffer::Buffer(ns3::Buffer const & o) [copy constructor]
812
    cls.add_constructor([param('ns3::Buffer const &', 'o')])
813
    ## buffer.h (module 'network'): bool ns3::Buffer::AddAtEnd(uint32_t end) [member function]
814
    cls.add_method('AddAtEnd', 
815
                   'bool', 
816
                   [param('uint32_t', 'end')])
817
    ## buffer.h (module 'network'): void ns3::Buffer::AddAtEnd(ns3::Buffer const & o) [member function]
818
    cls.add_method('AddAtEnd', 
819
                   'void', 
820
                   [param('ns3::Buffer const &', 'o')])
821
    ## buffer.h (module 'network'): bool ns3::Buffer::AddAtStart(uint32_t start) [member function]
822
    cls.add_method('AddAtStart', 
823
                   'bool', 
824
                   [param('uint32_t', 'start')])
825
    ## buffer.h (module 'network'): ns3::Buffer::Iterator ns3::Buffer::Begin() const [member function]
826
    cls.add_method('Begin', 
827
                   'ns3::Buffer::Iterator', 
828
                   [], 
829
                   is_const=True)
830
    ## buffer.h (module 'network'): void ns3::Buffer::CopyData(std::ostream * os, uint32_t size) const [member function]
831
    cls.add_method('CopyData', 
832
                   'void', 
833
                   [param('std::ostream *', 'os'), param('uint32_t', 'size')], 
834
                   is_const=True)
835
    ## buffer.h (module 'network'): uint32_t ns3::Buffer::CopyData(uint8_t * buffer, uint32_t size) const [member function]
836
    cls.add_method('CopyData', 
837
                   'uint32_t', 
838
                   [param('uint8_t *', 'buffer'), param('uint32_t', 'size')], 
839
                   is_const=True)
840
    ## buffer.h (module 'network'): ns3::Buffer ns3::Buffer::CreateFragment(uint32_t start, uint32_t length) const [member function]
841
    cls.add_method('CreateFragment', 
842
                   'ns3::Buffer', 
843
                   [param('uint32_t', 'start'), param('uint32_t', 'length')], 
844
                   is_const=True)
845
    ## buffer.h (module 'network'): ns3::Buffer ns3::Buffer::CreateFullCopy() const [member function]
846
    cls.add_method('CreateFullCopy', 
847
                   'ns3::Buffer', 
848
                   [], 
849
                   is_const=True)
850
    ## buffer.h (module 'network'): uint32_t ns3::Buffer::Deserialize(uint8_t const * buffer, uint32_t size) [member function]
851
    cls.add_method('Deserialize', 
852
                   'uint32_t', 
853
                   [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
854
    ## buffer.h (module 'network'): ns3::Buffer::Iterator ns3::Buffer::End() const [member function]
855
    cls.add_method('End', 
856
                   'ns3::Buffer::Iterator', 
857
                   [], 
858
                   is_const=True)
859
    ## buffer.h (module 'network'): int32_t ns3::Buffer::GetCurrentEndOffset() const [member function]
860
    cls.add_method('GetCurrentEndOffset', 
861
                   'int32_t', 
862
                   [], 
863
                   is_const=True)
864
    ## buffer.h (module 'network'): int32_t ns3::Buffer::GetCurrentStartOffset() const [member function]
865
    cls.add_method('GetCurrentStartOffset', 
866
                   'int32_t', 
867
                   [], 
868
                   is_const=True)
869
    ## buffer.h (module 'network'): uint32_t ns3::Buffer::GetSerializedSize() const [member function]
870
    cls.add_method('GetSerializedSize', 
871
                   'uint32_t', 
872
                   [], 
873
                   is_const=True)
874
    ## buffer.h (module 'network'): uint32_t ns3::Buffer::GetSize() const [member function]
875
    cls.add_method('GetSize', 
876
                   'uint32_t', 
877
                   [], 
878
                   is_const=True)
879
    ## buffer.h (module 'network'): uint8_t const * ns3::Buffer::PeekData() const [member function]
880
    cls.add_method('PeekData', 
881
                   'uint8_t const *', 
882
                   [], 
883
                   is_const=True)
884
    ## buffer.h (module 'network'): void ns3::Buffer::RemoveAtEnd(uint32_t end) [member function]
885
    cls.add_method('RemoveAtEnd', 
886
                   'void', 
887
                   [param('uint32_t', 'end')])
888
    ## buffer.h (module 'network'): void ns3::Buffer::RemoveAtStart(uint32_t start) [member function]
889
    cls.add_method('RemoveAtStart', 
890
                   'void', 
891
                   [param('uint32_t', 'start')])
892
    ## buffer.h (module 'network'): uint32_t ns3::Buffer::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
893
    cls.add_method('Serialize', 
894
                   'uint32_t', 
895
                   [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')], 
896
                   is_const=True)
897
    return
898
899
def register_Ns3BufferIterator_methods(root_module, cls):
900
    ## buffer.h (module 'network'): ns3::Buffer::Iterator::Iterator(ns3::Buffer::Iterator const & arg0) [copy constructor]
901
    cls.add_constructor([param('ns3::Buffer::Iterator const &', 'arg0')])
902
    ## buffer.h (module 'network'): ns3::Buffer::Iterator::Iterator() [constructor]
903
    cls.add_constructor([])
904
    ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::CalculateIpChecksum(uint16_t size) [member function]
905
    cls.add_method('CalculateIpChecksum', 
906
                   'uint16_t', 
907
                   [param('uint16_t', 'size')])
908
    ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::CalculateIpChecksum(uint16_t size, uint32_t initialChecksum) [member function]
909
    cls.add_method('CalculateIpChecksum', 
910
                   'uint16_t', 
911
                   [param('uint16_t', 'size'), param('uint32_t', 'initialChecksum')])
912
    ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::GetDistanceFrom(ns3::Buffer::Iterator const & o) const [member function]
913
    cls.add_method('GetDistanceFrom', 
914
                   'uint32_t', 
915
                   [param('ns3::Buffer::Iterator const &', 'o')], 
916
                   is_const=True)
917
    ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::GetSize() const [member function]
918
    cls.add_method('GetSize', 
919
                   'uint32_t', 
920
                   [], 
921
                   is_const=True)
922
    ## buffer.h (module 'network'): bool ns3::Buffer::Iterator::IsEnd() const [member function]
923
    cls.add_method('IsEnd', 
924
                   'bool', 
925
                   [], 
926
                   is_const=True)
927
    ## buffer.h (module 'network'): bool ns3::Buffer::Iterator::IsStart() const [member function]
928
    cls.add_method('IsStart', 
929
                   'bool', 
930
                   [], 
931
                   is_const=True)
932
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Next() [member function]
933
    cls.add_method('Next', 
934
                   'void', 
935
                   [])
936
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Next(uint32_t delta) [member function]
937
    cls.add_method('Next', 
938
                   'void', 
939
                   [param('uint32_t', 'delta')])
940
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Prev() [member function]
941
    cls.add_method('Prev', 
942
                   'void', 
943
                   [])
944
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Prev(uint32_t delta) [member function]
945
    cls.add_method('Prev', 
946
                   'void', 
947
                   [param('uint32_t', 'delta')])
948
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Read(uint8_t * buffer, uint32_t size) [member function]
949
    cls.add_method('Read', 
950
                   'void', 
951
                   [param('uint8_t *', 'buffer'), param('uint32_t', 'size')])
952
    ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadLsbtohU16() [member function]
953
    cls.add_method('ReadLsbtohU16', 
954
                   'uint16_t', 
955
                   [])
956
    ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadLsbtohU32() [member function]
957
    cls.add_method('ReadLsbtohU32', 
958
                   'uint32_t', 
959
                   [])
960
    ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadLsbtohU64() [member function]
961
    cls.add_method('ReadLsbtohU64', 
962
                   'uint64_t', 
963
                   [])
964
    ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadNtohU16() [member function]
965
    cls.add_method('ReadNtohU16', 
966
                   'uint16_t', 
967
                   [])
968
    ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadNtohU32() [member function]
969
    cls.add_method('ReadNtohU32', 
970
                   'uint32_t', 
971
                   [])
972
    ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadNtohU64() [member function]
973
    cls.add_method('ReadNtohU64', 
974
                   'uint64_t', 
975
                   [])
976
    ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadU16() [member function]
977
    cls.add_method('ReadU16', 
978
                   'uint16_t', 
979
                   [])
980
    ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadU32() [member function]
981
    cls.add_method('ReadU32', 
982
                   'uint32_t', 
983
                   [])
984
    ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadU64() [member function]
985
    cls.add_method('ReadU64', 
986
                   'uint64_t', 
987
                   [])
988
    ## buffer.h (module 'network'): uint8_t ns3::Buffer::Iterator::ReadU8() [member function]
989
    cls.add_method('ReadU8', 
990
                   'uint8_t', 
991
                   [])
992
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Write(uint8_t const * buffer, uint32_t size) [member function]
993
    cls.add_method('Write', 
994
                   'void', 
995
                   [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
996
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Write(ns3::Buffer::Iterator start, ns3::Buffer::Iterator end) [member function]
997
    cls.add_method('Write', 
998
                   'void', 
999
                   [param('ns3::Buffer::Iterator', 'start'), param('ns3::Buffer::Iterator', 'end')])
1000
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU16(uint16_t data) [member function]
1001
    cls.add_method('WriteHtolsbU16', 
1002
                   'void', 
1003
                   [param('uint16_t', 'data')])
1004
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU32(uint32_t data) [member function]
1005
    cls.add_method('WriteHtolsbU32', 
1006
                   'void', 
1007
                   [param('uint32_t', 'data')])
1008
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU64(uint64_t data) [member function]
1009
    cls.add_method('WriteHtolsbU64', 
1010
                   'void', 
1011
                   [param('uint64_t', 'data')])
1012
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU16(uint16_t data) [member function]
1013
    cls.add_method('WriteHtonU16', 
1014
                   'void', 
1015
                   [param('uint16_t', 'data')])
1016
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU32(uint32_t data) [member function]
1017
    cls.add_method('WriteHtonU32', 
1018
                   'void', 
1019
                   [param('uint32_t', 'data')])
1020
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU64(uint64_t data) [member function]
1021
    cls.add_method('WriteHtonU64', 
1022
                   'void', 
1023
                   [param('uint64_t', 'data')])
1024
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU16(uint16_t data) [member function]
1025
    cls.add_method('WriteU16', 
1026
                   'void', 
1027
                   [param('uint16_t', 'data')])
1028
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU32(uint32_t data) [member function]
1029
    cls.add_method('WriteU32', 
1030
                   'void', 
1031
                   [param('uint32_t', 'data')])
1032
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU64(uint64_t data) [member function]
1033
    cls.add_method('WriteU64', 
1034
                   'void', 
1035
                   [param('uint64_t', 'data')])
1036
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU8(uint8_t data) [member function]
1037
    cls.add_method('WriteU8', 
1038
                   'void', 
1039
                   [param('uint8_t', 'data')])
1040
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU8(uint8_t data, uint32_t len) [member function]
1041
    cls.add_method('WriteU8', 
1042
                   'void', 
1043
                   [param('uint8_t', 'data'), param('uint32_t', 'len')])
1044
    return
1045
1046
def register_Ns3ByteTagIterator_methods(root_module, cls):
1047
    ## packet.h (module 'network'): ns3::ByteTagIterator::ByteTagIterator(ns3::ByteTagIterator const & arg0) [copy constructor]
1048
    cls.add_constructor([param('ns3::ByteTagIterator const &', 'arg0')])
1049
    ## packet.h (module 'network'): bool ns3::ByteTagIterator::HasNext() const [member function]
1050
    cls.add_method('HasNext', 
1051
                   'bool', 
1052
                   [], 
1053
                   is_const=True)
1054
    ## packet.h (module 'network'): ns3::ByteTagIterator::Item ns3::ByteTagIterator::Next() [member function]
1055
    cls.add_method('Next', 
1056
                   'ns3::ByteTagIterator::Item', 
1057
                   [])
1058
    return
1059
1060
def register_Ns3ByteTagIteratorItem_methods(root_module, cls):
1061
    ## packet.h (module 'network'): ns3::ByteTagIterator::Item::Item(ns3::ByteTagIterator::Item const & arg0) [copy constructor]
1062
    cls.add_constructor([param('ns3::ByteTagIterator::Item const &', 'arg0')])
1063
    ## packet.h (module 'network'): uint32_t ns3::ByteTagIterator::Item::GetEnd() const [member function]
1064
    cls.add_method('GetEnd', 
1065
                   'uint32_t', 
1066
                   [], 
1067
                   is_const=True)
1068
    ## packet.h (module 'network'): uint32_t ns3::ByteTagIterator::Item::GetStart() const [member function]
1069
    cls.add_method('GetStart', 
1070
                   'uint32_t', 
1071
                   [], 
1072
                   is_const=True)
1073
    ## packet.h (module 'network'): void ns3::ByteTagIterator::Item::GetTag(ns3::Tag & tag) const [member function]
1074
    cls.add_method('GetTag', 
1075
                   'void', 
1076
                   [param('ns3::Tag &', 'tag')], 
1077
                   is_const=True)
1078
    ## packet.h (module 'network'): ns3::TypeId ns3::ByteTagIterator::Item::GetTypeId() const [member function]
1079
    cls.add_method('GetTypeId', 
1080
                   'ns3::TypeId', 
1081
                   [], 
1082
                   is_const=True)
1083
    return
1084
1085
def register_Ns3ByteTagList_methods(root_module, cls):
1086
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::ByteTagList() [constructor]
1087
    cls.add_constructor([])
1088
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::ByteTagList(ns3::ByteTagList const & o) [copy constructor]
1089
    cls.add_constructor([param('ns3::ByteTagList const &', 'o')])
1090
    ## byte-tag-list.h (module 'network'): ns3::TagBuffer ns3::ByteTagList::Add(ns3::TypeId tid, uint32_t bufferSize, int32_t start, int32_t end) [member function]
1091
    cls.add_method('Add', 
1092
                   'ns3::TagBuffer', 
1093
                   [param('ns3::TypeId', 'tid'), param('uint32_t', 'bufferSize'), param('int32_t', 'start'), param('int32_t', 'end')])
1094
    ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::Add(ns3::ByteTagList const & o) [member function]
1095
    cls.add_method('Add', 
1096
                   'void', 
1097
                   [param('ns3::ByteTagList const &', 'o')])
1098
    ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::AddAtEnd(int32_t adjustment, int32_t appendOffset) [member function]
1099
    cls.add_method('AddAtEnd', 
1100
                   'void', 
1101
                   [param('int32_t', 'adjustment'), param('int32_t', 'appendOffset')])
1102
    ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::AddAtStart(int32_t adjustment, int32_t prependOffset) [member function]
1103
    cls.add_method('AddAtStart', 
1104
                   'void', 
1105
                   [param('int32_t', 'adjustment'), param('int32_t', 'prependOffset')])
1106
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator ns3::ByteTagList::Begin(int32_t offsetStart, int32_t offsetEnd) const [member function]
1107
    cls.add_method('Begin', 
1108
                   'ns3::ByteTagList::Iterator', 
1109
                   [param('int32_t', 'offsetStart'), param('int32_t', 'offsetEnd')], 
1110
                   is_const=True)
1111
    ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::RemoveAll() [member function]
1112
    cls.add_method('RemoveAll', 
1113
                   'void', 
1114
                   [])
1115
    return
1116
1117
def register_Ns3ByteTagListIterator_methods(root_module, cls):
1118
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Iterator(ns3::ByteTagList::Iterator const & arg0) [copy constructor]
1119
    cls.add_constructor([param('ns3::ByteTagList::Iterator const &', 'arg0')])
1120
    ## byte-tag-list.h (module 'network'): uint32_t ns3::ByteTagList::Iterator::GetOffsetStart() const [member function]
1121
    cls.add_method('GetOffsetStart', 
1122
                   'uint32_t', 
1123
                   [], 
1124
                   is_const=True)
1125
    ## byte-tag-list.h (module 'network'): bool ns3::ByteTagList::Iterator::HasNext() const [member function]
1126
    cls.add_method('HasNext', 
1127
                   'bool', 
1128
                   [], 
1129
                   is_const=True)
1130
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item ns3::ByteTagList::Iterator::Next() [member function]
1131
    cls.add_method('Next', 
1132
                   'ns3::ByteTagList::Iterator::Item', 
1133
                   [])
1134
    return
1135
1136
def register_Ns3ByteTagListIteratorItem_methods(root_module, cls):
1137
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::Item(ns3::ByteTagList::Iterator::Item const & arg0) [copy constructor]
1138
    cls.add_constructor([param('ns3::ByteTagList::Iterator::Item const &', 'arg0')])
1139
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::Item(ns3::TagBuffer buf) [constructor]
1140
    cls.add_constructor([param('ns3::TagBuffer', 'buf')])
1141
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::buf [variable]
1142
    cls.add_instance_attribute('buf', 'ns3::TagBuffer', is_const=False)
1143
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::end [variable]
1144
    cls.add_instance_attribute('end', 'int32_t', is_const=False)
1145
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::size [variable]
1146
    cls.add_instance_attribute('size', 'uint32_t', is_const=False)
1147
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::start [variable]
1148
    cls.add_instance_attribute('start', 'int32_t', is_const=False)
1149
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::tid [variable]
1150
    cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
1151
    return
1152
1153
def register_Ns3CallbackBase_methods(root_module, cls):
333
def register_Ns3CallbackBase_methods(root_module, cls):
1154
    ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase(ns3::CallbackBase const & arg0) [copy constructor]
334
    ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase(ns3::CallbackBase const & arg0) [copy constructor]
1155
    cls.add_constructor([param('ns3::CallbackBase const &', 'arg0')])
335
    cls.add_constructor([param('ns3::CallbackBase const &', 'arg0')])
 Lines 1170-1220    Link Here 
1170
                   is_static=True, visibility='protected')
350
                   is_static=True, visibility='protected')
1171
    return
351
    return
1172
352
1173
def register_Ns3EventId_methods(root_module, cls):
1174
    cls.add_binary_comparison_operator('!=')
1175
    cls.add_binary_comparison_operator('==')
1176
    ## event-id.h (module 'core'): ns3::EventId::EventId(ns3::EventId const & arg0) [copy constructor]
1177
    cls.add_constructor([param('ns3::EventId const &', 'arg0')])
1178
    ## event-id.h (module 'core'): ns3::EventId::EventId() [constructor]
1179
    cls.add_constructor([])
1180
    ## event-id.h (module 'core'): ns3::EventId::EventId(ns3::Ptr<ns3::EventImpl> const & impl, uint64_t ts, uint32_t context, uint32_t uid) [constructor]
1181
    cls.add_constructor([param('ns3::Ptr< ns3::EventImpl > const &', 'impl'), param('uint64_t', 'ts'), param('uint32_t', 'context'), param('uint32_t', 'uid')])
1182
    ## event-id.h (module 'core'): void ns3::EventId::Cancel() [member function]
1183
    cls.add_method('Cancel', 
1184
                   'void', 
1185
                   [])
1186
    ## event-id.h (module 'core'): uint32_t ns3::EventId::GetContext() const [member function]
1187
    cls.add_method('GetContext', 
1188
                   'uint32_t', 
1189
                   [], 
1190
                   is_const=True)
1191
    ## event-id.h (module 'core'): uint64_t ns3::EventId::GetTs() const [member function]
1192
    cls.add_method('GetTs', 
1193
                   'uint64_t', 
1194
                   [], 
1195
                   is_const=True)
1196
    ## event-id.h (module 'core'): uint32_t ns3::EventId::GetUid() const [member function]
1197
    cls.add_method('GetUid', 
1198
                   'uint32_t', 
1199
                   [], 
1200
                   is_const=True)
1201
    ## event-id.h (module 'core'): bool ns3::EventId::IsExpired() const [member function]
1202
    cls.add_method('IsExpired', 
1203
                   'bool', 
1204
                   [], 
1205
                   is_const=True)
1206
    ## event-id.h (module 'core'): bool ns3::EventId::IsRunning() const [member function]
1207
    cls.add_method('IsRunning', 
1208
                   'bool', 
1209
                   [], 
1210
                   is_const=True)
1211
    ## event-id.h (module 'core'): ns3::EventImpl * ns3::EventId::PeekEventImpl() const [member function]
1212
    cls.add_method('PeekEventImpl', 
1213
                   'ns3::EventImpl *', 
1214
                   [], 
1215
                   is_const=True)
1216
    return
1217
1218
def register_Ns3Ipv4Address_methods(root_module, cls):
353
def register_Ns3Ipv4Address_methods(root_module, cls):
1219
    cls.add_binary_comparison_operator('<')
354
    cls.add_binary_comparison_operator('<')
1220
    cls.add_binary_comparison_operator('!=')
355
    cls.add_binary_comparison_operator('!=')
 Lines 1323-1466    Link Here 
1323
                   [param('char const *', 'address')])
458
                   [param('char const *', 'address')])
1324
    return
459
    return
1325
460
1326
def register_Ns3Ipv4AddressHelper_methods(root_module, cls):
1327
    ## ipv4-address-helper.h (module 'internet'): ns3::Ipv4AddressHelper::Ipv4AddressHelper(ns3::Ipv4AddressHelper const & arg0) [copy constructor]
1328
    cls.add_constructor([param('ns3::Ipv4AddressHelper const &', 'arg0')])
1329
    ## ipv4-address-helper.h (module 'internet'): ns3::Ipv4AddressHelper::Ipv4AddressHelper() [constructor]
1330
    cls.add_constructor([])
1331
    ## ipv4-address-helper.h (module 'internet'): ns3::Ipv4AddressHelper::Ipv4AddressHelper(ns3::Ipv4Address network, ns3::Ipv4Mask mask, ns3::Ipv4Address base="0.0.0.1") [constructor]
1332
    cls.add_constructor([param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'mask'), param('ns3::Ipv4Address', 'base', default_value='"0.0.0.1"')])
1333
    ## ipv4-address-helper.h (module 'internet'): ns3::Ipv4InterfaceContainer ns3::Ipv4AddressHelper::Assign(ns3::NetDeviceContainer const & c) [member function]
1334
    cls.add_method('Assign', 
1335
                   'ns3::Ipv4InterfaceContainer', 
1336
                   [param('ns3::NetDeviceContainer const &', 'c')])
1337
    ## ipv4-address-helper.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4AddressHelper::NewAddress() [member function]
1338
    cls.add_method('NewAddress', 
1339
                   'ns3::Ipv4Address', 
1340
                   [])
1341
    ## ipv4-address-helper.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4AddressHelper::NewNetwork() [member function]
1342
    cls.add_method('NewNetwork', 
1343
                   'ns3::Ipv4Address', 
1344
                   [])
1345
    ## ipv4-address-helper.h (module 'internet'): void ns3::Ipv4AddressHelper::SetBase(ns3::Ipv4Address network, ns3::Ipv4Mask mask, ns3::Ipv4Address base="0.0.0.1") [member function]
1346
    cls.add_method('SetBase', 
1347
                   'void', 
1348
                   [param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'mask'), param('ns3::Ipv4Address', 'base', default_value='"0.0.0.1"')])
1349
    return
1350
1351
def register_Ns3Ipv4InterfaceAddress_methods(root_module, cls):
1352
    cls.add_binary_comparison_operator('!=')
1353
    cls.add_output_stream_operator()
1354
    cls.add_binary_comparison_operator('==')
1355
    ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4InterfaceAddress::Ipv4InterfaceAddress() [constructor]
1356
    cls.add_constructor([])
1357
    ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4InterfaceAddress::Ipv4InterfaceAddress(ns3::Ipv4Address local, ns3::Ipv4Mask mask) [constructor]
1358
    cls.add_constructor([param('ns3::Ipv4Address', 'local'), param('ns3::Ipv4Mask', 'mask')])
1359
    ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4InterfaceAddress::Ipv4InterfaceAddress(ns3::Ipv4InterfaceAddress const & o) [copy constructor]
1360
    cls.add_constructor([param('ns3::Ipv4InterfaceAddress const &', 'o')])
1361
    ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4InterfaceAddress::GetBroadcast() const [member function]
1362
    cls.add_method('GetBroadcast', 
1363
                   'ns3::Ipv4Address', 
1364
                   [], 
1365
                   is_const=True)
1366
    ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4InterfaceAddress::GetLocal() const [member function]
1367
    cls.add_method('GetLocal', 
1368
                   'ns3::Ipv4Address', 
1369
                   [], 
1370
                   is_const=True)
1371
    ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4Mask ns3::Ipv4InterfaceAddress::GetMask() const [member function]
1372
    cls.add_method('GetMask', 
1373
                   'ns3::Ipv4Mask', 
1374
                   [], 
1375
                   is_const=True)
1376
    ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e ns3::Ipv4InterfaceAddress::GetScope() const [member function]
1377
    cls.add_method('GetScope', 
1378
                   'ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e', 
1379
                   [], 
1380
                   is_const=True)
1381
    ## ipv4-interface-address.h (module 'internet'): bool ns3::Ipv4InterfaceAddress::IsSecondary() const [member function]
1382
    cls.add_method('IsSecondary', 
1383
                   'bool', 
1384
                   [], 
1385
                   is_const=True)
1386
    ## ipv4-interface-address.h (module 'internet'): void ns3::Ipv4InterfaceAddress::SetBroadcast(ns3::Ipv4Address broadcast) [member function]
1387
    cls.add_method('SetBroadcast', 
1388
                   'void', 
1389
                   [param('ns3::Ipv4Address', 'broadcast')])
1390
    ## ipv4-interface-address.h (module 'internet'): void ns3::Ipv4InterfaceAddress::SetLocal(ns3::Ipv4Address local) [member function]
1391
    cls.add_method('SetLocal', 
1392
                   'void', 
1393
                   [param('ns3::Ipv4Address', 'local')])
1394
    ## ipv4-interface-address.h (module 'internet'): void ns3::Ipv4InterfaceAddress::SetMask(ns3::Ipv4Mask mask) [member function]
1395
    cls.add_method('SetMask', 
1396
                   'void', 
1397
                   [param('ns3::Ipv4Mask', 'mask')])
1398
    ## ipv4-interface-address.h (module 'internet'): void ns3::Ipv4InterfaceAddress::SetPrimary() [member function]
1399
    cls.add_method('SetPrimary', 
1400
                   'void', 
1401
                   [])
1402
    ## ipv4-interface-address.h (module 'internet'): void ns3::Ipv4InterfaceAddress::SetScope(ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e scope) [member function]
1403
    cls.add_method('SetScope', 
1404
                   'void', 
1405
                   [param('ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e', 'scope')])
1406
    ## ipv4-interface-address.h (module 'internet'): void ns3::Ipv4InterfaceAddress::SetSecondary() [member function]
1407
    cls.add_method('SetSecondary', 
1408
                   'void', 
1409
                   [])
1410
    return
1411
1412
def register_Ns3Ipv4InterfaceContainer_methods(root_module, cls):
1413
    ## ipv4-interface-container.h (module 'internet'): ns3::Ipv4InterfaceContainer::Ipv4InterfaceContainer(ns3::Ipv4InterfaceContainer const & arg0) [copy constructor]
1414
    cls.add_constructor([param('ns3::Ipv4InterfaceContainer const &', 'arg0')])
1415
    ## ipv4-interface-container.h (module 'internet'): ns3::Ipv4InterfaceContainer::Ipv4InterfaceContainer() [constructor]
1416
    cls.add_constructor([])
1417
    ## ipv4-interface-container.h (module 'internet'): void ns3::Ipv4InterfaceContainer::Add(ns3::Ipv4InterfaceContainer other) [member function]
1418
    cls.add_method('Add', 
1419
                   'void', 
1420
                   [param('ns3::Ipv4InterfaceContainer', 'other')])
1421
    ## ipv4-interface-container.h (module 'internet'): void ns3::Ipv4InterfaceContainer::Add(ns3::Ptr<ns3::Ipv4> ipv4, uint32_t interface) [member function]
1422
    cls.add_method('Add', 
1423
                   'void', 
1424
                   [param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface')])
1425
    ## ipv4-interface-container.h (module 'internet'): void ns3::Ipv4InterfaceContainer::Add(std::pair<ns3::Ptr<ns3::Ipv4>,unsigned int> ipInterfacePair) [member function]
1426
    cls.add_method('Add', 
1427
                   'void', 
1428
                   [param('std::pair< ns3::Ptr< ns3::Ipv4 >, unsigned int >', 'ipInterfacePair')])
1429
    ## ipv4-interface-container.h (module 'internet'): void ns3::Ipv4InterfaceContainer::Add(std::string ipv4Name, uint32_t interface) [member function]
1430
    cls.add_method('Add', 
1431
                   'void', 
1432
                   [param('std::string', 'ipv4Name'), param('uint32_t', 'interface')])
1433
    ## ipv4-interface-container.h (module 'internet'): __gnu_cxx::__normal_iterator<const std::pair<ns3::Ptr<ns3::Ipv4>, unsigned int>*,std::vector<std::pair<ns3::Ptr<ns3::Ipv4>, unsigned int>, std::allocator<std::pair<ns3::Ptr<ns3::Ipv4>, unsigned int> > > > ns3::Ipv4InterfaceContainer::Begin() const [member function]
1434
    cls.add_method('Begin', 
1435
                   '__gnu_cxx::__normal_iterator< std::pair< ns3::Ptr< ns3::Ipv4 >, unsigned int > const, std::vector< std::pair< ns3::Ptr< ns3::Ipv4 >, unsigned int > > >', 
1436
                   [], 
1437
                   is_const=True)
1438
    ## ipv4-interface-container.h (module 'internet'): __gnu_cxx::__normal_iterator<const std::pair<ns3::Ptr<ns3::Ipv4>, unsigned int>*,std::vector<std::pair<ns3::Ptr<ns3::Ipv4>, unsigned int>, std::allocator<std::pair<ns3::Ptr<ns3::Ipv4>, unsigned int> > > > ns3::Ipv4InterfaceContainer::End() const [member function]
1439
    cls.add_method('End', 
1440
                   '__gnu_cxx::__normal_iterator< std::pair< ns3::Ptr< ns3::Ipv4 >, unsigned int > const, std::vector< std::pair< ns3::Ptr< ns3::Ipv4 >, unsigned int > > >', 
1441
                   [], 
1442
                   is_const=True)
1443
    ## ipv4-interface-container.h (module 'internet'): std::pair<ns3::Ptr<ns3::Ipv4>,unsigned int> ns3::Ipv4InterfaceContainer::Get(uint32_t i) const [member function]
1444
    cls.add_method('Get', 
1445
                   'std::pair< ns3::Ptr< ns3::Ipv4 >, unsigned int >', 
1446
                   [param('uint32_t', 'i')], 
1447
                   is_const=True)
1448
    ## ipv4-interface-container.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4InterfaceContainer::GetAddress(uint32_t i, uint32_t j=0) const [member function]
1449
    cls.add_method('GetAddress', 
1450
                   'ns3::Ipv4Address', 
1451
                   [param('uint32_t', 'i'), param('uint32_t', 'j', default_value='0')], 
1452
                   is_const=True)
1453
    ## ipv4-interface-container.h (module 'internet'): uint32_t ns3::Ipv4InterfaceContainer::GetN() const [member function]
1454
    cls.add_method('GetN', 
1455
                   'uint32_t', 
1456
                   [], 
1457
                   is_const=True)
1458
    ## ipv4-interface-container.h (module 'internet'): void ns3::Ipv4InterfaceContainer::SetMetric(uint32_t i, uint16_t metric) [member function]
1459
    cls.add_method('SetMetric', 
1460
                   'void', 
1461
                   [param('uint32_t', 'i'), param('uint16_t', 'metric')])
1462
    return
1463
1464
def register_Ns3Ipv4Mask_methods(root_module, cls):
461
def register_Ns3Ipv4Mask_methods(root_module, cls):
1465
    cls.add_binary_comparison_operator('!=')
462
    cls.add_binary_comparison_operator('!=')
1466
    cls.add_output_stream_operator()
463
    cls.add_output_stream_operator()
 Lines 1678-1790    Link Here 
1678
                   [param('uint8_t *', 'address')])
675
                   [param('uint8_t *', 'address')])
1679
    return
676
    return
1680
677
1681
def register_Ns3Ipv6InterfaceAddress_methods(root_module, cls):
1682
    cls.add_binary_comparison_operator('!=')
1683
    cls.add_output_stream_operator()
1684
    cls.add_binary_comparison_operator('==')
1685
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress::Ipv6InterfaceAddress() [constructor]
1686
    cls.add_constructor([])
1687
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress::Ipv6InterfaceAddress(ns3::Ipv6Address address) [constructor]
1688
    cls.add_constructor([param('ns3::Ipv6Address', 'address')])
1689
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress::Ipv6InterfaceAddress(ns3::Ipv6Address address, ns3::Ipv6Prefix prefix) [constructor]
1690
    cls.add_constructor([param('ns3::Ipv6Address', 'address'), param('ns3::Ipv6Prefix', 'prefix')])
1691
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress::Ipv6InterfaceAddress(ns3::Ipv6InterfaceAddress const & o) [copy constructor]
1692
    cls.add_constructor([param('ns3::Ipv6InterfaceAddress const &', 'o')])
1693
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6Address ns3::Ipv6InterfaceAddress::GetAddress() const [member function]
1694
    cls.add_method('GetAddress', 
1695
                   'ns3::Ipv6Address', 
1696
                   [], 
1697
                   is_const=True)
1698
    ## ipv6-interface-address.h (module 'internet'): uint32_t ns3::Ipv6InterfaceAddress::GetNsDadUid() const [member function]
1699
    cls.add_method('GetNsDadUid', 
1700
                   'uint32_t', 
1701
                   [], 
1702
                   is_const=True)
1703
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6Prefix ns3::Ipv6InterfaceAddress::GetPrefix() const [member function]
1704
    cls.add_method('GetPrefix', 
1705
                   'ns3::Ipv6Prefix', 
1706
                   [], 
1707
                   is_const=True)
1708
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress::Scope_e ns3::Ipv6InterfaceAddress::GetScope() const [member function]
1709
    cls.add_method('GetScope', 
1710
                   'ns3::Ipv6InterfaceAddress::Scope_e', 
1711
                   [], 
1712
                   is_const=True)
1713
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress::State_e ns3::Ipv6InterfaceAddress::GetState() const [member function]
1714
    cls.add_method('GetState', 
1715
                   'ns3::Ipv6InterfaceAddress::State_e', 
1716
                   [], 
1717
                   is_const=True)
1718
    ## ipv6-interface-address.h (module 'internet'): void ns3::Ipv6InterfaceAddress::SetAddress(ns3::Ipv6Address address) [member function]
1719
    cls.add_method('SetAddress', 
1720
                   'void', 
1721
                   [param('ns3::Ipv6Address', 'address')])
1722
    ## ipv6-interface-address.h (module 'internet'): void ns3::Ipv6InterfaceAddress::SetNsDadUid(uint32_t uid) [member function]
1723
    cls.add_method('SetNsDadUid', 
1724
                   'void', 
1725
                   [param('uint32_t', 'uid')])
1726
    ## ipv6-interface-address.h (module 'internet'): void ns3::Ipv6InterfaceAddress::SetScope(ns3::Ipv6InterfaceAddress::Scope_e scope) [member function]
1727
    cls.add_method('SetScope', 
1728
                   'void', 
1729
                   [param('ns3::Ipv6InterfaceAddress::Scope_e', 'scope')])
1730
    ## ipv6-interface-address.h (module 'internet'): void ns3::Ipv6InterfaceAddress::SetState(ns3::Ipv6InterfaceAddress::State_e state) [member function]
1731
    cls.add_method('SetState', 
1732
                   'void', 
1733
                   [param('ns3::Ipv6InterfaceAddress::State_e', 'state')])
1734
    return
1735
1736
def register_Ns3Ipv6InterfaceContainer_methods(root_module, cls):
1737
    ## ipv6-interface-container.h (module 'internet'): ns3::Ipv6InterfaceContainer::Ipv6InterfaceContainer(ns3::Ipv6InterfaceContainer const & arg0) [copy constructor]
1738
    cls.add_constructor([param('ns3::Ipv6InterfaceContainer const &', 'arg0')])
1739
    ## ipv6-interface-container.h (module 'internet'): ns3::Ipv6InterfaceContainer::Ipv6InterfaceContainer() [constructor]
1740
    cls.add_constructor([])
1741
    ## ipv6-interface-container.h (module 'internet'): void ns3::Ipv6InterfaceContainer::Add(ns3::Ptr<ns3::Ipv6> ipv6, uint32_t interface) [member function]
1742
    cls.add_method('Add', 
1743
                   'void', 
1744
                   [param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface')])
1745
    ## ipv6-interface-container.h (module 'internet'): void ns3::Ipv6InterfaceContainer::Add(ns3::Ipv6InterfaceContainer & c) [member function]
1746
    cls.add_method('Add', 
1747
                   'void', 
1748
                   [param('ns3::Ipv6InterfaceContainer &', 'c')])
1749
    ## ipv6-interface-container.h (module 'internet'): void ns3::Ipv6InterfaceContainer::Add(std::string ipv6Name, uint32_t interface) [member function]
1750
    cls.add_method('Add', 
1751
                   'void', 
1752
                   [param('std::string', 'ipv6Name'), param('uint32_t', 'interface')])
1753
    ## ipv6-interface-container.h (module 'internet'): __gnu_cxx::__normal_iterator<const std::pair<ns3::Ptr<ns3::Ipv6>, unsigned int>*,std::vector<std::pair<ns3::Ptr<ns3::Ipv6>, unsigned int>, std::allocator<std::pair<ns3::Ptr<ns3::Ipv6>, unsigned int> > > > ns3::Ipv6InterfaceContainer::Begin() const [member function]
1754
    cls.add_method('Begin', 
1755
                   '__gnu_cxx::__normal_iterator< std::pair< ns3::Ptr< ns3::Ipv6 >, unsigned int > const, std::vector< std::pair< ns3::Ptr< ns3::Ipv6 >, unsigned int > > >', 
1756
                   [], 
1757
                   is_const=True)
1758
    ## ipv6-interface-container.h (module 'internet'): __gnu_cxx::__normal_iterator<const std::pair<ns3::Ptr<ns3::Ipv6>, unsigned int>*,std::vector<std::pair<ns3::Ptr<ns3::Ipv6>, unsigned int>, std::allocator<std::pair<ns3::Ptr<ns3::Ipv6>, unsigned int> > > > ns3::Ipv6InterfaceContainer::End() const [member function]
1759
    cls.add_method('End', 
1760
                   '__gnu_cxx::__normal_iterator< std::pair< ns3::Ptr< ns3::Ipv6 >, unsigned int > const, std::vector< std::pair< ns3::Ptr< ns3::Ipv6 >, unsigned int > > >', 
1761
                   [], 
1762
                   is_const=True)
1763
    ## ipv6-interface-container.h (module 'internet'): ns3::Ipv6Address ns3::Ipv6InterfaceContainer::GetAddress(uint32_t i, uint32_t j) const [member function]
1764
    cls.add_method('GetAddress', 
1765
                   'ns3::Ipv6Address', 
1766
                   [param('uint32_t', 'i'), param('uint32_t', 'j')], 
1767
                   is_const=True)
1768
    ## ipv6-interface-container.h (module 'internet'): uint32_t ns3::Ipv6InterfaceContainer::GetInterfaceIndex(uint32_t i) const [member function]
1769
    cls.add_method('GetInterfaceIndex', 
1770
                   'uint32_t', 
1771
                   [param('uint32_t', 'i')], 
1772
                   is_const=True)
1773
    ## ipv6-interface-container.h (module 'internet'): uint32_t ns3::Ipv6InterfaceContainer::GetN() const [member function]
1774
    cls.add_method('GetN', 
1775
                   'uint32_t', 
1776
                   [], 
1777
                   is_const=True)
1778
    ## ipv6-interface-container.h (module 'internet'): void ns3::Ipv6InterfaceContainer::SetDefaultRoute(uint32_t i, uint32_t router) [member function]
1779
    cls.add_method('SetDefaultRoute', 
1780
                   'void', 
1781
                   [param('uint32_t', 'i'), param('uint32_t', 'router')])
1782
    ## ipv6-interface-container.h (module 'internet'): void ns3::Ipv6InterfaceContainer::SetRouter(uint32_t i, bool router) [member function]
1783
    cls.add_method('SetRouter', 
1784
                   'void', 
1785
                   [param('uint32_t', 'i'), param('bool', 'router')])
1786
    return
1787
1788
def register_Ns3Ipv6Prefix_methods(root_module, cls):
678
def register_Ns3Ipv6Prefix_methods(root_module, cls):
1789
    cls.add_binary_comparison_operator('!=')
679
    cls.add_binary_comparison_operator('!=')
1790
    cls.add_output_stream_operator()
680
    cls.add_output_stream_operator()
 Lines 1877-1991    Link Here 
1877
                   is_const=True)
767
                   is_const=True)
1878
    return
768
    return
1879
769
1880
def register_Ns3NetDeviceContainer_methods(root_module, cls):
1881
    ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(ns3::NetDeviceContainer const & arg0) [copy constructor]
1882
    cls.add_constructor([param('ns3::NetDeviceContainer const &', 'arg0')])
1883
    ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer() [constructor]
1884
    cls.add_constructor([])
1885
    ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(ns3::Ptr<ns3::NetDevice> dev) [constructor]
1886
    cls.add_constructor([param('ns3::Ptr< ns3::NetDevice >', 'dev')])
1887
    ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(std::string devName) [constructor]
1888
    cls.add_constructor([param('std::string', 'devName')])
1889
    ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(ns3::NetDeviceContainer const & a, ns3::NetDeviceContainer const & b) [constructor]
1890
    cls.add_constructor([param('ns3::NetDeviceContainer const &', 'a'), param('ns3::NetDeviceContainer const &', 'b')])
1891
    ## net-device-container.h (module 'network'): void ns3::NetDeviceContainer::Add(ns3::NetDeviceContainer other) [member function]
1892
    cls.add_method('Add', 
1893
                   'void', 
1894
                   [param('ns3::NetDeviceContainer', 'other')])
1895
    ## net-device-container.h (module 'network'): void ns3::NetDeviceContainer::Add(ns3::Ptr<ns3::NetDevice> device) [member function]
1896
    cls.add_method('Add', 
1897
                   'void', 
1898
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')])
1899
    ## net-device-container.h (module 'network'): void ns3::NetDeviceContainer::Add(std::string deviceName) [member function]
1900
    cls.add_method('Add', 
1901
                   'void', 
1902
                   [param('std::string', 'deviceName')])
1903
    ## net-device-container.h (module 'network'): __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]
1904
    cls.add_method('Begin', 
1905
                   '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::NetDevice > const, std::vector< ns3::Ptr< ns3::NetDevice > > >', 
1906
                   [], 
1907
                   is_const=True)
1908
    ## net-device-container.h (module 'network'): __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]
1909
    cls.add_method('End', 
1910
                   '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::NetDevice > const, std::vector< ns3::Ptr< ns3::NetDevice > > >', 
1911
                   [], 
1912
                   is_const=True)
1913
    ## net-device-container.h (module 'network'): ns3::Ptr<ns3::NetDevice> ns3::NetDeviceContainer::Get(uint32_t i) const [member function]
1914
    cls.add_method('Get', 
1915
                   'ns3::Ptr< ns3::NetDevice >', 
1916
                   [param('uint32_t', 'i')], 
1917
                   is_const=True)
1918
    ## net-device-container.h (module 'network'): uint32_t ns3::NetDeviceContainer::GetN() const [member function]
1919
    cls.add_method('GetN', 
1920
                   'uint32_t', 
1921
                   [], 
1922
                   is_const=True)
1923
    return
1924
1925
def register_Ns3NodeContainer_methods(root_module, cls):
1926
    ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & arg0) [copy constructor]
1927
    cls.add_constructor([param('ns3::NodeContainer const &', 'arg0')])
1928
    ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer() [constructor]
1929
    cls.add_constructor([])
1930
    ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::Ptr<ns3::Node> node) [constructor]
1931
    cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node')])
1932
    ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(std::string nodeName) [constructor]
1933
    cls.add_constructor([param('std::string', 'nodeName')])
1934
    ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b) [constructor]
1935
    cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b')])
1936
    ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b, ns3::NodeContainer const & c) [constructor]
1937
    cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b'), param('ns3::NodeContainer const &', 'c')])
1938
    ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b, ns3::NodeContainer const & c, ns3::NodeContainer const & d) [constructor]
1939
    cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b'), param('ns3::NodeContainer const &', 'c'), param('ns3::NodeContainer const &', 'd')])
1940
    ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b, ns3::NodeContainer const & c, ns3::NodeContainer const & d, ns3::NodeContainer const & e) [constructor]
1941
    cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b'), param('ns3::NodeContainer const &', 'c'), param('ns3::NodeContainer const &', 'd'), param('ns3::NodeContainer const &', 'e')])
1942
    ## node-container.h (module 'network'): void ns3::NodeContainer::Add(ns3::NodeContainer other) [member function]
1943
    cls.add_method('Add', 
1944
                   'void', 
1945
                   [param('ns3::NodeContainer', 'other')])
1946
    ## node-container.h (module 'network'): void ns3::NodeContainer::Add(ns3::Ptr<ns3::Node> node) [member function]
1947
    cls.add_method('Add', 
1948
                   'void', 
1949
                   [param('ns3::Ptr< ns3::Node >', 'node')])
1950
    ## node-container.h (module 'network'): void ns3::NodeContainer::Add(std::string nodeName) [member function]
1951
    cls.add_method('Add', 
1952
                   'void', 
1953
                   [param('std::string', 'nodeName')])
1954
    ## node-container.h (module 'network'): __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]
1955
    cls.add_method('Begin', 
1956
                   '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > >', 
1957
                   [], 
1958
                   is_const=True)
1959
    ## node-container.h (module 'network'): void ns3::NodeContainer::Create(uint32_t n) [member function]
1960
    cls.add_method('Create', 
1961
                   'void', 
1962
                   [param('uint32_t', 'n')])
1963
    ## node-container.h (module 'network'): void ns3::NodeContainer::Create(uint32_t n, uint32_t systemId) [member function]
1964
    cls.add_method('Create', 
1965
                   'void', 
1966
                   [param('uint32_t', 'n'), param('uint32_t', 'systemId')])
1967
    ## node-container.h (module 'network'): __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]
1968
    cls.add_method('End', 
1969
                   '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > >', 
1970
                   [], 
1971
                   is_const=True)
1972
    ## node-container.h (module 'network'): ns3::Ptr<ns3::Node> ns3::NodeContainer::Get(uint32_t i) const [member function]
1973
    cls.add_method('Get', 
1974
                   'ns3::Ptr< ns3::Node >', 
1975
                   [param('uint32_t', 'i')], 
1976
                   is_const=True)
1977
    ## node-container.h (module 'network'): static ns3::NodeContainer ns3::NodeContainer::GetGlobal() [member function]
1978
    cls.add_method('GetGlobal', 
1979
                   'ns3::NodeContainer', 
1980
                   [], 
1981
                   is_static=True)
1982
    ## node-container.h (module 'network'): uint32_t ns3::NodeContainer::GetN() const [member function]
1983
    cls.add_method('GetN', 
1984
                   'uint32_t', 
1985
                   [], 
1986
                   is_const=True)
1987
    return
1988
1989
def register_Ns3NodeList_methods(root_module, cls):
770
def register_Ns3NodeList_methods(root_module, cls):
1990
    ## node-list.h (module 'network'): ns3::NodeList::NodeList() [constructor]
771
    ## node-list.h (module 'network'): ns3::NodeList::NodeList() [constructor]
1991
    cls.add_constructor([])
772
    cls.add_constructor([])
 Lines 2091-2715    Link Here 
2091
                   is_static=True)
872
                   is_static=True)
2092
    return
873
    return
2093
874
2094
def register_Ns3ObjectFactory_methods(root_module, cls):
2095
    cls.add_output_stream_operator()
2096
    ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(ns3::ObjectFactory const & arg0) [copy constructor]
2097
    cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')])
2098
    ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor]
2099
    cls.add_constructor([])
2100
    ## object-factory.h (module 'core'): ns3::Ptr<ns3::Object> ns3::ObjectFactory::Create() const [member function]
2101
    cls.add_method('Create', 
2102
                   'ns3::Ptr< ns3::Object >', 
2103
                   [], 
2104
                   is_const=True)
2105
    ## object-factory.h (module 'core'): ns3::TypeId ns3::ObjectFactory::GetTypeId() const [member function]
2106
    cls.add_method('GetTypeId', 
2107
                   'ns3::TypeId', 
2108
                   [], 
2109
                   is_const=True)
2110
    ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(std::string name, ns3::AttributeValue const & value) [member function]
2111
    cls.add_method('Set', 
2112
                   'void', 
2113
                   [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
2114
    ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(ns3::AttributeList const & list) [member function]
2115
    cls.add_method('Set', 
2116
                   'void', 
2117
                   [param('ns3::AttributeList const &', 'list')])
2118
    ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function]
2119
    cls.add_method('SetTypeId', 
2120
                   'void', 
2121
                   [param('ns3::TypeId', 'tid')])
2122
    ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(char const * tid) [member function]
2123
    cls.add_method('SetTypeId', 
2124
                   'void', 
2125
                   [param('char const *', 'tid')])
2126
    ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(std::string tid) [member function]
2127
    cls.add_method('SetTypeId', 
2128
                   'void', 
2129
                   [param('std::string', 'tid')])
2130
    return
2131
2132
def register_Ns3PacketMetadata_methods(root_module, cls):
2133
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::PacketMetadata(uint64_t uid, uint32_t size) [constructor]
2134
    cls.add_constructor([param('uint64_t', 'uid'), param('uint32_t', 'size')])
2135
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::PacketMetadata(ns3::PacketMetadata const & o) [copy constructor]
2136
    cls.add_constructor([param('ns3::PacketMetadata const &', 'o')])
2137
    ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddAtEnd(ns3::PacketMetadata const & o) [member function]
2138
    cls.add_method('AddAtEnd', 
2139
                   'void', 
2140
                   [param('ns3::PacketMetadata const &', 'o')])
2141
    ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddHeader(ns3::Header const & header, uint32_t size) [member function]
2142
    cls.add_method('AddHeader', 
2143
                   'void', 
2144
                   [param('ns3::Header const &', 'header'), param('uint32_t', 'size')])
2145
    ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddPaddingAtEnd(uint32_t end) [member function]
2146
    cls.add_method('AddPaddingAtEnd', 
2147
                   'void', 
2148
                   [param('uint32_t', 'end')])
2149
    ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddTrailer(ns3::Trailer const & trailer, uint32_t size) [member function]
2150
    cls.add_method('AddTrailer', 
2151
                   'void', 
2152
                   [param('ns3::Trailer const &', 'trailer'), param('uint32_t', 'size')])
2153
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator ns3::PacketMetadata::BeginItem(ns3::Buffer buffer) const [member function]
2154
    cls.add_method('BeginItem', 
2155
                   'ns3::PacketMetadata::ItemIterator', 
2156
                   [param('ns3::Buffer', 'buffer')], 
2157
                   is_const=True)
2158
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata ns3::PacketMetadata::CreateFragment(uint32_t start, uint32_t end) const [member function]
2159
    cls.add_method('CreateFragment', 
2160
                   'ns3::PacketMetadata', 
2161
                   [param('uint32_t', 'start'), param('uint32_t', 'end')], 
2162
                   is_const=True)
2163
    ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::Deserialize(uint8_t const * buffer, uint32_t size) [member function]
2164
    cls.add_method('Deserialize', 
2165
                   'uint32_t', 
2166
                   [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
2167
    ## packet-metadata.h (module 'network'): static void ns3::PacketMetadata::Enable() [member function]
2168
    cls.add_method('Enable', 
2169
                   'void', 
2170
                   [], 
2171
                   is_static=True)
2172
    ## packet-metadata.h (module 'network'): static void ns3::PacketMetadata::EnableChecking() [member function]
2173
    cls.add_method('EnableChecking', 
2174
                   'void', 
2175
                   [], 
2176
                   is_static=True)
2177
    ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::GetSerializedSize() const [member function]
2178
    cls.add_method('GetSerializedSize', 
2179
                   'uint32_t', 
2180
                   [], 
2181
                   is_const=True)
2182
    ## packet-metadata.h (module 'network'): uint64_t ns3::PacketMetadata::GetUid() const [member function]
2183
    cls.add_method('GetUid', 
2184
                   'uint64_t', 
2185
                   [], 
2186
                   is_const=True)
2187
    ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveAtEnd(uint32_t end) [member function]
2188
    cls.add_method('RemoveAtEnd', 
2189
                   'void', 
2190
                   [param('uint32_t', 'end')])
2191
    ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveAtStart(uint32_t start) [member function]
2192
    cls.add_method('RemoveAtStart', 
2193
                   'void', 
2194
                   [param('uint32_t', 'start')])
2195
    ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveHeader(ns3::Header const & header, uint32_t size) [member function]
2196
    cls.add_method('RemoveHeader', 
2197
                   'void', 
2198
                   [param('ns3::Header const &', 'header'), param('uint32_t', 'size')])
2199
    ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveTrailer(ns3::Trailer const & trailer, uint32_t size) [member function]
2200
    cls.add_method('RemoveTrailer', 
2201
                   'void', 
2202
                   [param('ns3::Trailer const &', 'trailer'), param('uint32_t', 'size')])
2203
    ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
2204
    cls.add_method('Serialize', 
2205
                   'uint32_t', 
2206
                   [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')], 
2207
                   is_const=True)
2208
    return
2209
2210
def register_Ns3PacketMetadataItem_methods(root_module, cls):
2211
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::Item() [constructor]
2212
    cls.add_constructor([])
2213
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::Item(ns3::PacketMetadata::Item const & arg0) [copy constructor]
2214
    cls.add_constructor([param('ns3::PacketMetadata::Item const &', 'arg0')])
2215
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::current [variable]
2216
    cls.add_instance_attribute('current', 'ns3::Buffer::Iterator', is_const=False)
2217
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentSize [variable]
2218
    cls.add_instance_attribute('currentSize', 'uint32_t', is_const=False)
2219
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentTrimedFromEnd [variable]
2220
    cls.add_instance_attribute('currentTrimedFromEnd', 'uint32_t', is_const=False)
2221
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentTrimedFromStart [variable]
2222
    cls.add_instance_attribute('currentTrimedFromStart', 'uint32_t', is_const=False)
2223
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::isFragment [variable]
2224
    cls.add_instance_attribute('isFragment', 'bool', is_const=False)
2225
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::tid [variable]
2226
    cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
2227
    return
2228
2229
def register_Ns3PacketMetadataItemIterator_methods(root_module, cls):
2230
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator::ItemIterator(ns3::PacketMetadata::ItemIterator const & arg0) [copy constructor]
2231
    cls.add_constructor([param('ns3::PacketMetadata::ItemIterator const &', 'arg0')])
2232
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator::ItemIterator(ns3::PacketMetadata const * metadata, ns3::Buffer buffer) [constructor]
2233
    cls.add_constructor([param('ns3::PacketMetadata const *', 'metadata'), param('ns3::Buffer', 'buffer')])
2234
    ## packet-metadata.h (module 'network'): bool ns3::PacketMetadata::ItemIterator::HasNext() const [member function]
2235
    cls.add_method('HasNext', 
2236
                   'bool', 
2237
                   [], 
2238
                   is_const=True)
2239
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item ns3::PacketMetadata::ItemIterator::Next() [member function]
2240
    cls.add_method('Next', 
2241
                   'ns3::PacketMetadata::Item', 
2242
                   [])
2243
    return
2244
2245
def register_Ns3PacketTagIterator_methods(root_module, cls):
2246
    ## packet.h (module 'network'): ns3::PacketTagIterator::PacketTagIterator(ns3::PacketTagIterator const & arg0) [copy constructor]
2247
    cls.add_constructor([param('ns3::PacketTagIterator const &', 'arg0')])
2248
    ## packet.h (module 'network'): bool ns3::PacketTagIterator::HasNext() const [member function]
2249
    cls.add_method('HasNext', 
2250
                   'bool', 
2251
                   [], 
2252
                   is_const=True)
2253
    ## packet.h (module 'network'): ns3::PacketTagIterator::Item ns3::PacketTagIterator::Next() [member function]
2254
    cls.add_method('Next', 
2255
                   'ns3::PacketTagIterator::Item', 
2256
                   [])
2257
    return
2258
2259
def register_Ns3PacketTagIteratorItem_methods(root_module, cls):
2260
    ## packet.h (module 'network'): ns3::PacketTagIterator::Item::Item(ns3::PacketTagIterator::Item const & arg0) [copy constructor]
2261
    cls.add_constructor([param('ns3::PacketTagIterator::Item const &', 'arg0')])
2262
    ## packet.h (module 'network'): void ns3::PacketTagIterator::Item::GetTag(ns3::Tag & tag) const [member function]
2263
    cls.add_method('GetTag', 
2264
                   'void', 
2265
                   [param('ns3::Tag &', 'tag')], 
2266
                   is_const=True)
2267
    ## packet.h (module 'network'): ns3::TypeId ns3::PacketTagIterator::Item::GetTypeId() const [member function]
2268
    cls.add_method('GetTypeId', 
2269
                   'ns3::TypeId', 
2270
                   [], 
2271
                   is_const=True)
2272
    return
2273
2274
def register_Ns3PacketTagList_methods(root_module, cls):
2275
    ## packet-tag-list.h (module 'network'): ns3::PacketTagList::PacketTagList() [constructor]
2276
    cls.add_constructor([])
2277
    ## packet-tag-list.h (module 'network'): ns3::PacketTagList::PacketTagList(ns3::PacketTagList const & o) [copy constructor]
2278
    cls.add_constructor([param('ns3::PacketTagList const &', 'o')])
2279
    ## packet-tag-list.h (module 'network'): void ns3::PacketTagList::Add(ns3::Tag const & tag) const [member function]
2280
    cls.add_method('Add', 
2281
                   'void', 
2282
                   [param('ns3::Tag const &', 'tag')], 
2283
                   is_const=True)
2284
    ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData const * ns3::PacketTagList::Head() const [member function]
2285
    cls.add_method('Head', 
2286
                   'ns3::PacketTagList::TagData const *', 
2287
                   [], 
2288
                   is_const=True)
2289
    ## packet-tag-list.h (module 'network'): bool ns3::PacketTagList::Peek(ns3::Tag & tag) const [member function]
2290
    cls.add_method('Peek', 
2291
                   'bool', 
2292
                   [param('ns3::Tag &', 'tag')], 
2293
                   is_const=True)
2294
    ## packet-tag-list.h (module 'network'): bool ns3::PacketTagList::Remove(ns3::Tag & tag) [member function]
2295
    cls.add_method('Remove', 
2296
                   'bool', 
2297
                   [param('ns3::Tag &', 'tag')])
2298
    ## packet-tag-list.h (module 'network'): void ns3::PacketTagList::RemoveAll() [member function]
2299
    cls.add_method('RemoveAll', 
2300
                   'void', 
2301
                   [])
2302
    return
2303
2304
def register_Ns3PacketTagListTagData_methods(root_module, cls):
2305
    ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::TagData() [constructor]
2306
    cls.add_constructor([])
2307
    ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::TagData(ns3::PacketTagList::TagData const & arg0) [copy constructor]
2308
    cls.add_constructor([param('ns3::PacketTagList::TagData const &', 'arg0')])
2309
    ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::count [variable]
2310
    cls.add_instance_attribute('count', 'uint32_t', is_const=False)
2311
    ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::data [variable]
2312
    cls.add_instance_attribute('data', 'uint8_t [ 20 ]', is_const=False)
2313
    ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::next [variable]
2314
    cls.add_instance_attribute('next', 'ns3::PacketTagList::TagData *', is_const=False)
2315
    ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::tid [variable]
2316
    cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
2317
    return
2318
2319
def register_Ns3PcapFile_methods(root_module, cls):
2320
    ## pcap-file.h (module 'network'): ns3::PcapFile::PcapFile() [constructor]
2321
    cls.add_constructor([])
2322
    ## pcap-file.h (module 'network'): void ns3::PcapFile::Clear() [member function]
2323
    cls.add_method('Clear', 
2324
                   'void', 
2325
                   [])
2326
    ## pcap-file.h (module 'network'): void ns3::PcapFile::Close() [member function]
2327
    cls.add_method('Close', 
2328
                   'void', 
2329
                   [])
2330
    ## pcap-file.h (module 'network'): static bool ns3::PcapFile::Diff(std::string const & f1, std::string const & f2, uint32_t & sec, uint32_t & usec, uint32_t snapLen=ns3::PcapFile::SNAPLEN_DEFAULT) [member function]
2331
    cls.add_method('Diff', 
2332
                   'bool', 
2333
                   [param('std::string const &', 'f1'), param('std::string const &', 'f2'), param('uint32_t &', 'sec'), param('uint32_t &', 'usec'), param('uint32_t', 'snapLen', default_value='ns3::PcapFile::SNAPLEN_DEFAULT')], 
2334
                   is_static=True)
2335
    ## pcap-file.h (module 'network'): bool ns3::PcapFile::Eof() const [member function]
2336
    cls.add_method('Eof', 
2337
                   'bool', 
2338
                   [], 
2339
                   is_const=True)
2340
    ## pcap-file.h (module 'network'): bool ns3::PcapFile::Fail() const [member function]
2341
    cls.add_method('Fail', 
2342
                   'bool', 
2343
                   [], 
2344
                   is_const=True)
2345
    ## pcap-file.h (module 'network'): uint32_t ns3::PcapFile::GetDataLinkType() [member function]
2346
    cls.add_method('GetDataLinkType', 
2347
                   'uint32_t', 
2348
                   [])
2349
    ## pcap-file.h (module 'network'): uint32_t ns3::PcapFile::GetMagic() [member function]
2350
    cls.add_method('GetMagic', 
2351
                   'uint32_t', 
2352
                   [])
2353
    ## pcap-file.h (module 'network'): uint32_t ns3::PcapFile::GetSigFigs() [member function]
2354
    cls.add_method('GetSigFigs', 
2355
                   'uint32_t', 
2356
                   [])
2357
    ## pcap-file.h (module 'network'): uint32_t ns3::PcapFile::GetSnapLen() [member function]
2358
    cls.add_method('GetSnapLen', 
2359
                   'uint32_t', 
2360
                   [])
2361
    ## pcap-file.h (module 'network'): bool ns3::PcapFile::GetSwapMode() [member function]
2362
    cls.add_method('GetSwapMode', 
2363
                   'bool', 
2364
                   [])
2365
    ## pcap-file.h (module 'network'): int32_t ns3::PcapFile::GetTimeZoneOffset() [member function]
2366
    cls.add_method('GetTimeZoneOffset', 
2367
                   'int32_t', 
2368
                   [])
2369
    ## pcap-file.h (module 'network'): uint16_t ns3::PcapFile::GetVersionMajor() [member function]
2370
    cls.add_method('GetVersionMajor', 
2371
                   'uint16_t', 
2372
                   [])
2373
    ## pcap-file.h (module 'network'): uint16_t ns3::PcapFile::GetVersionMinor() [member function]
2374
    cls.add_method('GetVersionMinor', 
2375
                   'uint16_t', 
2376
                   [])
2377
    ## pcap-file.h (module 'network'): void ns3::PcapFile::Init(uint32_t dataLinkType, uint32_t snapLen=ns3::PcapFile::SNAPLEN_DEFAULT, int32_t timeZoneCorrection=ns3::PcapFile::ZONE_DEFAULT, bool swapMode=false) [member function]
2378
    cls.add_method('Init', 
2379
                   'void', 
2380
                   [param('uint32_t', 'dataLinkType'), param('uint32_t', 'snapLen', default_value='ns3::PcapFile::SNAPLEN_DEFAULT'), param('int32_t', 'timeZoneCorrection', default_value='ns3::PcapFile::ZONE_DEFAULT'), param('bool', 'swapMode', default_value='false')])
2381
    ## pcap-file.h (module 'network'): void ns3::PcapFile::Open(std::string const & filename, std::_Ios_Openmode mode) [member function]
2382
    cls.add_method('Open', 
2383
                   'void', 
2384
                   [param('std::string const &', 'filename'), param('std::_Ios_Openmode', 'mode')])
2385
    ## pcap-file.h (module 'network'): void ns3::PcapFile::Read(uint8_t * const data, uint32_t maxBytes, uint32_t & tsSec, uint32_t & tsUsec, uint32_t & inclLen, uint32_t & origLen, uint32_t & readLen) [member function]
2386
    cls.add_method('Read', 
2387
                   'void', 
2388
                   [param('uint8_t * const', 'data'), param('uint32_t', 'maxBytes'), param('uint32_t &', 'tsSec'), param('uint32_t &', 'tsUsec'), param('uint32_t &', 'inclLen'), param('uint32_t &', 'origLen'), param('uint32_t &', 'readLen')])
2389
    ## pcap-file.h (module 'network'): void ns3::PcapFile::Write(uint32_t tsSec, uint32_t tsUsec, uint8_t const * const data, uint32_t totalLen) [member function]
2390
    cls.add_method('Write', 
2391
                   'void', 
2392
                   [param('uint32_t', 'tsSec'), param('uint32_t', 'tsUsec'), param('uint8_t const * const', 'data'), param('uint32_t', 'totalLen')])
2393
    ## pcap-file.h (module 'network'): void ns3::PcapFile::Write(uint32_t tsSec, uint32_t tsUsec, ns3::Ptr<const ns3::Packet> p) [member function]
2394
    cls.add_method('Write', 
2395
                   'void', 
2396
                   [param('uint32_t', 'tsSec'), param('uint32_t', 'tsUsec'), param('ns3::Ptr< ns3::Packet const >', 'p')])
2397
    ## pcap-file.h (module 'network'): void ns3::PcapFile::Write(uint32_t tsSec, uint32_t tsUsec, ns3::Header & header, ns3::Ptr<const ns3::Packet> p) [member function]
2398
    cls.add_method('Write', 
2399
                   'void', 
2400
                   [param('uint32_t', 'tsSec'), param('uint32_t', 'tsUsec'), param('ns3::Header &', 'header'), param('ns3::Ptr< ns3::Packet const >', 'p')])
2401
    ## pcap-file.h (module 'network'): ns3::PcapFile::SNAPLEN_DEFAULT [variable]
2402
    cls.add_static_attribute('SNAPLEN_DEFAULT', 'uint32_t const', is_const=True)
2403
    ## pcap-file.h (module 'network'): ns3::PcapFile::ZONE_DEFAULT [variable]
2404
    cls.add_static_attribute('ZONE_DEFAULT', 'int32_t const', is_const=True)
2405
    return
2406
2407
def register_Ns3PcapHelper_methods(root_module, cls):
2408
    ## trace-helper.h (module 'network'): ns3::PcapHelper::PcapHelper(ns3::PcapHelper const & arg0) [copy constructor]
2409
    cls.add_constructor([param('ns3::PcapHelper const &', 'arg0')])
2410
    ## trace-helper.h (module 'network'): ns3::PcapHelper::PcapHelper() [constructor]
2411
    cls.add_constructor([])
2412
    ## trace-helper.h (module 'network'): ns3::Ptr<ns3::PcapFileWrapper> ns3::PcapHelper::CreateFile(std::string filename, std::_Ios_Openmode filemode, uint32_t dataLinkType, uint32_t snapLen=65535, int32_t tzCorrection=0) [member function]
2413
    cls.add_method('CreateFile', 
2414
                   'ns3::Ptr< ns3::PcapFileWrapper >', 
2415
                   [param('std::string', 'filename'), param('std::_Ios_Openmode', 'filemode'), param('uint32_t', 'dataLinkType'), param('uint32_t', 'snapLen', default_value='65535'), param('int32_t', 'tzCorrection', default_value='0')])
2416
    ## trace-helper.h (module 'network'): std::string ns3::PcapHelper::GetFilenameFromDevice(std::string prefix, ns3::Ptr<ns3::NetDevice> device, bool useObjectNames=true) [member function]
2417
    cls.add_method('GetFilenameFromDevice', 
2418
                   'std::string', 
2419
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'device'), param('bool', 'useObjectNames', default_value='true')])
2420
    ## trace-helper.h (module 'network'): std::string ns3::PcapHelper::GetFilenameFromInterfacePair(std::string prefix, ns3::Ptr<ns3::Object> object, uint32_t interface, bool useObjectNames=true) [member function]
2421
    cls.add_method('GetFilenameFromInterfacePair', 
2422
                   'std::string', 
2423
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Object >', 'object'), param('uint32_t', 'interface'), param('bool', 'useObjectNames', default_value='true')])
2424
    return
2425
2426
def register_Ns3PcapHelperForDevice_methods(root_module, cls):
2427
    ## trace-helper.h (module 'network'): ns3::PcapHelperForDevice::PcapHelperForDevice(ns3::PcapHelperForDevice const & arg0) [copy constructor]
2428
    cls.add_constructor([param('ns3::PcapHelperForDevice const &', 'arg0')])
2429
    ## trace-helper.h (module 'network'): ns3::PcapHelperForDevice::PcapHelperForDevice() [constructor]
2430
    cls.add_constructor([])
2431
    ## trace-helper.h (module 'network'): void ns3::PcapHelperForDevice::EnablePcap(std::string prefix, ns3::Ptr<ns3::NetDevice> nd, bool promiscuous=false, bool explicitFilename=false) [member function]
2432
    cls.add_method('EnablePcap', 
2433
                   'void', 
2434
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'promiscuous', default_value='false'), param('bool', 'explicitFilename', default_value='false')])
2435
    ## trace-helper.h (module 'network'): void ns3::PcapHelperForDevice::EnablePcap(std::string prefix, std::string ndName, bool promiscuous=false, bool explicitFilename=false) [member function]
2436
    cls.add_method('EnablePcap', 
2437
                   'void', 
2438
                   [param('std::string', 'prefix'), param('std::string', 'ndName'), param('bool', 'promiscuous', default_value='false'), param('bool', 'explicitFilename', default_value='false')])
2439
    ## trace-helper.h (module 'network'): void ns3::PcapHelperForDevice::EnablePcap(std::string prefix, ns3::NetDeviceContainer d, bool promiscuous=false) [member function]
2440
    cls.add_method('EnablePcap', 
2441
                   'void', 
2442
                   [param('std::string', 'prefix'), param('ns3::NetDeviceContainer', 'd'), param('bool', 'promiscuous', default_value='false')])
2443
    ## trace-helper.h (module 'network'): void ns3::PcapHelperForDevice::EnablePcap(std::string prefix, ns3::NodeContainer n, bool promiscuous=false) [member function]
2444
    cls.add_method('EnablePcap', 
2445
                   'void', 
2446
                   [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n'), param('bool', 'promiscuous', default_value='false')])
2447
    ## trace-helper.h (module 'network'): void ns3::PcapHelperForDevice::EnablePcap(std::string prefix, uint32_t nodeid, uint32_t deviceid, bool promiscuous=false) [member function]
2448
    cls.add_method('EnablePcap', 
2449
                   'void', 
2450
                   [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid'), param('bool', 'promiscuous', default_value='false')])
2451
    ## trace-helper.h (module 'network'): void ns3::PcapHelperForDevice::EnablePcapAll(std::string prefix, bool promiscuous=false) [member function]
2452
    cls.add_method('EnablePcapAll', 
2453
                   'void', 
2454
                   [param('std::string', 'prefix'), param('bool', 'promiscuous', default_value='false')])
2455
    ## trace-helper.h (module 'network'): void ns3::PcapHelperForDevice::EnablePcapInternal(std::string prefix, ns3::Ptr<ns3::NetDevice> nd, bool promiscuous, bool explicitFilename) [member function]
2456
    cls.add_method('EnablePcapInternal', 
2457
                   'void', 
2458
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'promiscuous'), param('bool', 'explicitFilename')], 
2459
                   is_pure_virtual=True, is_virtual=True)
2460
    return
2461
2462
def register_Ns3PcapHelperForIpv4_methods(root_module, cls):
2463
    ## internet-trace-helper.h (module 'internet'): ns3::PcapHelperForIpv4::PcapHelperForIpv4(ns3::PcapHelperForIpv4 const & arg0) [copy constructor]
2464
    cls.add_constructor([param('ns3::PcapHelperForIpv4 const &', 'arg0')])
2465
    ## internet-trace-helper.h (module 'internet'): ns3::PcapHelperForIpv4::PcapHelperForIpv4() [constructor]
2466
    cls.add_constructor([])
2467
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv4::EnablePcapIpv4(std::string prefix, ns3::Ptr<ns3::Ipv4> ipv4, uint32_t interface, bool explicitFilename=false) [member function]
2468
    cls.add_method('EnablePcapIpv4', 
2469
                   'void', 
2470
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')])
2471
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv4::EnablePcapIpv4(std::string prefix, std::string ipv4Name, uint32_t interface, bool explicitFilename=false) [member function]
2472
    cls.add_method('EnablePcapIpv4', 
2473
                   'void', 
2474
                   [param('std::string', 'prefix'), param('std::string', 'ipv4Name'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')])
2475
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv4::EnablePcapIpv4(std::string prefix, ns3::Ipv4InterfaceContainer c) [member function]
2476
    cls.add_method('EnablePcapIpv4', 
2477
                   'void', 
2478
                   [param('std::string', 'prefix'), param('ns3::Ipv4InterfaceContainer', 'c')])
2479
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv4::EnablePcapIpv4(std::string prefix, ns3::NodeContainer n) [member function]
2480
    cls.add_method('EnablePcapIpv4', 
2481
                   'void', 
2482
                   [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')])
2483
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv4::EnablePcapIpv4(std::string prefix, uint32_t nodeid, uint32_t interface, bool explicitFilename) [member function]
2484
    cls.add_method('EnablePcapIpv4', 
2485
                   'void', 
2486
                   [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')])
2487
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv4::EnablePcapIpv4All(std::string prefix) [member function]
2488
    cls.add_method('EnablePcapIpv4All', 
2489
                   'void', 
2490
                   [param('std::string', 'prefix')])
2491
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv4::EnablePcapIpv4Internal(std::string prefix, ns3::Ptr<ns3::Ipv4> ipv4, uint32_t interface, bool explicitFilename) [member function]
2492
    cls.add_method('EnablePcapIpv4Internal', 
2493
                   'void', 
2494
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], 
2495
                   is_pure_virtual=True, is_virtual=True)
2496
    return
2497
2498
def register_Ns3PcapHelperForIpv6_methods(root_module, cls):
2499
    ## internet-trace-helper.h (module 'internet'): ns3::PcapHelperForIpv6::PcapHelperForIpv6(ns3::PcapHelperForIpv6 const & arg0) [copy constructor]
2500
    cls.add_constructor([param('ns3::PcapHelperForIpv6 const &', 'arg0')])
2501
    ## internet-trace-helper.h (module 'internet'): ns3::PcapHelperForIpv6::PcapHelperForIpv6() [constructor]
2502
    cls.add_constructor([])
2503
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, ns3::Ptr<ns3::Ipv6> ipv6, uint32_t interface, bool explicitFilename=false) [member function]
2504
    cls.add_method('EnablePcapIpv6', 
2505
                   'void', 
2506
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')])
2507
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, std::string ipv6Name, uint32_t interface, bool explicitFilename=false) [member function]
2508
    cls.add_method('EnablePcapIpv6', 
2509
                   'void', 
2510
                   [param('std::string', 'prefix'), param('std::string', 'ipv6Name'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')])
2511
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, ns3::Ipv6InterfaceContainer c) [member function]
2512
    cls.add_method('EnablePcapIpv6', 
2513
                   'void', 
2514
                   [param('std::string', 'prefix'), param('ns3::Ipv6InterfaceContainer', 'c')])
2515
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, ns3::NodeContainer n) [member function]
2516
    cls.add_method('EnablePcapIpv6', 
2517
                   'void', 
2518
                   [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')])
2519
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, uint32_t nodeid, uint32_t interface, bool explicitFilename) [member function]
2520
    cls.add_method('EnablePcapIpv6', 
2521
                   'void', 
2522
                   [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')])
2523
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv6::EnablePcapIpv6All(std::string prefix) [member function]
2524
    cls.add_method('EnablePcapIpv6All', 
2525
                   'void', 
2526
                   [param('std::string', 'prefix')])
2527
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv6::EnablePcapIpv6Internal(std::string prefix, ns3::Ptr<ns3::Ipv6> ipv6, uint32_t interface, bool explicitFilename) [member function]
2528
    cls.add_method('EnablePcapIpv6Internal', 
2529
                   'void', 
2530
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], 
2531
                   is_pure_virtual=True, is_virtual=True)
2532
    return
2533
2534
def register_Ns3PointToPointDumbbellHelper_methods(root_module, cls):
2535
    ## point-to-point-dumbbell-helper.h (module 'netanim'): ns3::PointToPointDumbbellHelper::PointToPointDumbbellHelper(ns3::PointToPointDumbbellHelper const & arg0) [copy constructor]
2536
    cls.add_constructor([param('ns3::PointToPointDumbbellHelper const &', 'arg0')])
2537
    ## point-to-point-dumbbell-helper.h (module 'netanim'): ns3::PointToPointDumbbellHelper::PointToPointDumbbellHelper(uint32_t nLeftLeaf, ns3::PointToPointHelper leftHelper, uint32_t nRightLeaf, ns3::PointToPointHelper rightHelper, ns3::PointToPointHelper bottleneckHelper) [constructor]
2538
    cls.add_constructor([param('uint32_t', 'nLeftLeaf'), param('ns3::PointToPointHelper', 'leftHelper'), param('uint32_t', 'nRightLeaf'), param('ns3::PointToPointHelper', 'rightHelper'), param('ns3::PointToPointHelper', 'bottleneckHelper')])
2539
    ## point-to-point-dumbbell-helper.h (module 'netanim'): void ns3::PointToPointDumbbellHelper::AssignIpv4Addresses(ns3::Ipv4AddressHelper leftIp, ns3::Ipv4AddressHelper rightIp, ns3::Ipv4AddressHelper routerIp) [member function]
2540
    cls.add_method('AssignIpv4Addresses', 
2541
                   'void', 
2542
                   [param('ns3::Ipv4AddressHelper', 'leftIp'), param('ns3::Ipv4AddressHelper', 'rightIp'), param('ns3::Ipv4AddressHelper', 'routerIp')])
2543
    ## point-to-point-dumbbell-helper.h (module 'netanim'): void ns3::PointToPointDumbbellHelper::BoundingBox(double ulx, double uly, double lrx, double lry) [member function]
2544
    cls.add_method('BoundingBox', 
2545
                   'void', 
2546
                   [param('double', 'ulx'), param('double', 'uly'), param('double', 'lrx'), param('double', 'lry')])
2547
    ## point-to-point-dumbbell-helper.h (module 'netanim'): ns3::Ptr<ns3::Node> ns3::PointToPointDumbbellHelper::GetLeft() const [member function]
2548
    cls.add_method('GetLeft', 
2549
                   'ns3::Ptr< ns3::Node >', 
2550
                   [], 
2551
                   is_const=True)
2552
    ## point-to-point-dumbbell-helper.h (module 'netanim'): ns3::Ptr<ns3::Node> ns3::PointToPointDumbbellHelper::GetLeft(uint32_t i) const [member function]
2553
    cls.add_method('GetLeft', 
2554
                   'ns3::Ptr< ns3::Node >', 
2555
                   [param('uint32_t', 'i')], 
2556
                   is_const=True)
2557
    ## point-to-point-dumbbell-helper.h (module 'netanim'): ns3::Ipv4Address ns3::PointToPointDumbbellHelper::GetLeftIpv4Address(uint32_t i) const [member function]
2558
    cls.add_method('GetLeftIpv4Address', 
2559
                   'ns3::Ipv4Address', 
2560
                   [param('uint32_t', 'i')], 
2561
                   is_const=True)
2562
    ## point-to-point-dumbbell-helper.h (module 'netanim'): ns3::Ptr<ns3::Node> ns3::PointToPointDumbbellHelper::GetRight() const [member function]
2563
    cls.add_method('GetRight', 
2564
                   'ns3::Ptr< ns3::Node >', 
2565
                   [], 
2566
                   is_const=True)
2567
    ## point-to-point-dumbbell-helper.h (module 'netanim'): ns3::Ptr<ns3::Node> ns3::PointToPointDumbbellHelper::GetRight(uint32_t i) const [member function]
2568
    cls.add_method('GetRight', 
2569
                   'ns3::Ptr< ns3::Node >', 
2570
                   [param('uint32_t', 'i')], 
2571
                   is_const=True)
2572
    ## point-to-point-dumbbell-helper.h (module 'netanim'): ns3::Ipv4Address ns3::PointToPointDumbbellHelper::GetRightIpv4Address(uint32_t i) const [member function]
2573
    cls.add_method('GetRightIpv4Address', 
2574
                   'ns3::Ipv4Address', 
2575
                   [param('uint32_t', 'i')], 
2576
                   is_const=True)
2577
    ## point-to-point-dumbbell-helper.h (module 'netanim'): void ns3::PointToPointDumbbellHelper::InstallStack(ns3::InternetStackHelper stack) [member function]
2578
    cls.add_method('InstallStack', 
2579
                   'void', 
2580
                   [param('ns3::InternetStackHelper', 'stack')])
2581
    ## point-to-point-dumbbell-helper.h (module 'netanim'): uint32_t ns3::PointToPointDumbbellHelper::LeftCount() const [member function]
2582
    cls.add_method('LeftCount', 
2583
                   'uint32_t', 
2584
                   [], 
2585
                   is_const=True)
2586
    ## point-to-point-dumbbell-helper.h (module 'netanim'): uint32_t ns3::PointToPointDumbbellHelper::RightCount() const [member function]
2587
    cls.add_method('RightCount', 
2588
                   'uint32_t', 
2589
                   [], 
2590
                   is_const=True)
2591
    return
2592
2593
def register_Ns3PointToPointGridHelper_methods(root_module, cls):
2594
    ## point-to-point-grid-helper.h (module 'netanim'): ns3::PointToPointGridHelper::PointToPointGridHelper(ns3::PointToPointGridHelper const & arg0) [copy constructor]
2595
    cls.add_constructor([param('ns3::PointToPointGridHelper const &', 'arg0')])
2596
    ## point-to-point-grid-helper.h (module 'netanim'): ns3::PointToPointGridHelper::PointToPointGridHelper(uint32_t nRows, uint32_t nCols, ns3::PointToPointHelper pointToPoint) [constructor]
2597
    cls.add_constructor([param('uint32_t', 'nRows'), param('uint32_t', 'nCols'), param('ns3::PointToPointHelper', 'pointToPoint')])
2598
    ## point-to-point-grid-helper.h (module 'netanim'): void ns3::PointToPointGridHelper::AssignIpv4Addresses(ns3::Ipv4AddressHelper rowIp, ns3::Ipv4AddressHelper colIp) [member function]
2599
    cls.add_method('AssignIpv4Addresses', 
2600
                   'void', 
2601
                   [param('ns3::Ipv4AddressHelper', 'rowIp'), param('ns3::Ipv4AddressHelper', 'colIp')])
2602
    ## point-to-point-grid-helper.h (module 'netanim'): void ns3::PointToPointGridHelper::BoundingBox(double ulx, double uly, double lrx, double lry) [member function]
2603
    cls.add_method('BoundingBox', 
2604
                   'void', 
2605
                   [param('double', 'ulx'), param('double', 'uly'), param('double', 'lrx'), param('double', 'lry')])
2606
    ## point-to-point-grid-helper.h (module 'netanim'): ns3::Ipv4Address ns3::PointToPointGridHelper::GetIpv4Address(uint32_t row, uint32_t col) [member function]
2607
    cls.add_method('GetIpv4Address', 
2608
                   'ns3::Ipv4Address', 
2609
                   [param('uint32_t', 'row'), param('uint32_t', 'col')])
2610
    ## point-to-point-grid-helper.h (module 'netanim'): ns3::Ptr<ns3::Node> ns3::PointToPointGridHelper::GetNode(uint32_t row, uint32_t col) [member function]
2611
    cls.add_method('GetNode', 
2612
                   'ns3::Ptr< ns3::Node >', 
2613
                   [param('uint32_t', 'row'), param('uint32_t', 'col')])
2614
    ## point-to-point-grid-helper.h (module 'netanim'): void ns3::PointToPointGridHelper::InstallStack(ns3::InternetStackHelper stack) [member function]
2615
    cls.add_method('InstallStack', 
2616
                   'void', 
2617
                   [param('ns3::InternetStackHelper', 'stack')])
2618
    return
2619
2620
def register_Ns3PointToPointHelper_methods(root_module, cls):
2621
    ## point-to-point-helper.h (module 'point-to-point'): ns3::PointToPointHelper::PointToPointHelper(ns3::PointToPointHelper const & arg0) [copy constructor]
2622
    cls.add_constructor([param('ns3::PointToPointHelper const &', 'arg0')])
2623
    ## point-to-point-helper.h (module 'point-to-point'): ns3::PointToPointHelper::PointToPointHelper() [constructor]
2624
    cls.add_constructor([])
2625
    ## point-to-point-helper.h (module 'point-to-point'): ns3::NetDeviceContainer ns3::PointToPointHelper::Install(ns3::NodeContainer c) [member function]
2626
    cls.add_method('Install', 
2627
                   'ns3::NetDeviceContainer', 
2628
                   [param('ns3::NodeContainer', 'c')])
2629
    ## point-to-point-helper.h (module 'point-to-point'): ns3::NetDeviceContainer ns3::PointToPointHelper::Install(ns3::Ptr<ns3::Node> a, ns3::Ptr<ns3::Node> b) [member function]
2630
    cls.add_method('Install', 
2631
                   'ns3::NetDeviceContainer', 
2632
                   [param('ns3::Ptr< ns3::Node >', 'a'), param('ns3::Ptr< ns3::Node >', 'b')])
2633
    ## point-to-point-helper.h (module 'point-to-point'): ns3::NetDeviceContainer ns3::PointToPointHelper::Install(ns3::Ptr<ns3::Node> a, std::string bName) [member function]
2634
    cls.add_method('Install', 
2635
                   'ns3::NetDeviceContainer', 
2636
                   [param('ns3::Ptr< ns3::Node >', 'a'), param('std::string', 'bName')])
2637
    ## point-to-point-helper.h (module 'point-to-point'): ns3::NetDeviceContainer ns3::PointToPointHelper::Install(std::string aName, ns3::Ptr<ns3::Node> b) [member function]
2638
    cls.add_method('Install', 
2639
                   'ns3::NetDeviceContainer', 
2640
                   [param('std::string', 'aName'), param('ns3::Ptr< ns3::Node >', 'b')])
2641
    ## point-to-point-helper.h (module 'point-to-point'): ns3::NetDeviceContainer ns3::PointToPointHelper::Install(std::string aNode, std::string bNode) [member function]
2642
    cls.add_method('Install', 
2643
                   'ns3::NetDeviceContainer', 
2644
                   [param('std::string', 'aNode'), param('std::string', 'bNode')])
2645
    ## point-to-point-helper.h (module 'point-to-point'): void ns3::PointToPointHelper::SetChannelAttribute(std::string name, ns3::AttributeValue const & value) [member function]
2646
    cls.add_method('SetChannelAttribute', 
2647
                   'void', 
2648
                   [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
2649
    ## point-to-point-helper.h (module 'point-to-point'): void ns3::PointToPointHelper::SetDeviceAttribute(std::string name, ns3::AttributeValue const & value) [member function]
2650
    cls.add_method('SetDeviceAttribute', 
2651
                   'void', 
2652
                   [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
2653
    ## point-to-point-helper.h (module 'point-to-point'): 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]
2654
    cls.add_method('SetQueue', 
2655
                   'void', 
2656
                   [param('std::string', 'type'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()')])
2657
    ## point-to-point-helper.h (module 'point-to-point'): void ns3::PointToPointHelper::EnableAsciiInternal(ns3::Ptr<ns3::OutputStreamWrapper> stream, std::string prefix, ns3::Ptr<ns3::NetDevice> nd, bool explicitFilename) [member function]
2658
    cls.add_method('EnableAsciiInternal', 
2659
                   'void', 
2660
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'explicitFilename')], 
2661
                   visibility='private', is_virtual=True)
2662
    ## point-to-point-helper.h (module 'point-to-point'): void ns3::PointToPointHelper::EnablePcapInternal(std::string prefix, ns3::Ptr<ns3::NetDevice> nd, bool promiscuous, bool explicitFilename) [member function]
2663
    cls.add_method('EnablePcapInternal', 
2664
                   'void', 
2665
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'promiscuous'), param('bool', 'explicitFilename')], 
2666
                   visibility='private', is_virtual=True)
2667
    return
2668
2669
def register_Ns3PointToPointStarHelper_methods(root_module, cls):
2670
    ## point-to-point-star-helper.h (module 'netanim'): ns3::PointToPointStarHelper::PointToPointStarHelper(ns3::PointToPointStarHelper const & arg0) [copy constructor]
2671
    cls.add_constructor([param('ns3::PointToPointStarHelper const &', 'arg0')])
2672
    ## point-to-point-star-helper.h (module 'netanim'): ns3::PointToPointStarHelper::PointToPointStarHelper(uint32_t numSpokes, ns3::PointToPointHelper p2pHelper) [constructor]
2673
    cls.add_constructor([param('uint32_t', 'numSpokes'), param('ns3::PointToPointHelper', 'p2pHelper')])
2674
    ## point-to-point-star-helper.h (module 'netanim'): void ns3::PointToPointStarHelper::AssignIpv4Addresses(ns3::Ipv4AddressHelper address) [member function]
2675
    cls.add_method('AssignIpv4Addresses', 
2676
                   'void', 
2677
                   [param('ns3::Ipv4AddressHelper', 'address')])
2678
    ## point-to-point-star-helper.h (module 'netanim'): void ns3::PointToPointStarHelper::BoundingBox(double ulx, double uly, double lrx, double lry) [member function]
2679
    cls.add_method('BoundingBox', 
2680
                   'void', 
2681
                   [param('double', 'ulx'), param('double', 'uly'), param('double', 'lrx'), param('double', 'lry')])
2682
    ## point-to-point-star-helper.h (module 'netanim'): ns3::Ptr<ns3::Node> ns3::PointToPointStarHelper::GetHub() const [member function]
2683
    cls.add_method('GetHub', 
2684
                   'ns3::Ptr< ns3::Node >', 
2685
                   [], 
2686
                   is_const=True)
2687
    ## point-to-point-star-helper.h (module 'netanim'): ns3::Ipv4Address ns3::PointToPointStarHelper::GetHubIpv4Address(uint32_t i) const [member function]
2688
    cls.add_method('GetHubIpv4Address', 
2689
                   'ns3::Ipv4Address', 
2690
                   [param('uint32_t', 'i')], 
2691
                   is_const=True)
2692
    ## point-to-point-star-helper.h (module 'netanim'): ns3::Ipv4Address ns3::PointToPointStarHelper::GetSpokeIpv4Address(uint32_t i) const [member function]
2693
    cls.add_method('GetSpokeIpv4Address', 
2694
                   'ns3::Ipv4Address', 
2695
                   [param('uint32_t', 'i')], 
2696
                   is_const=True)
2697
    ## point-to-point-star-helper.h (module 'netanim'): ns3::Ptr<ns3::Node> ns3::PointToPointStarHelper::GetSpokeNode(uint32_t i) const [member function]
2698
    cls.add_method('GetSpokeNode', 
2699
                   'ns3::Ptr< ns3::Node >', 
2700
                   [param('uint32_t', 'i')], 
2701
                   is_const=True)
2702
    ## point-to-point-star-helper.h (module 'netanim'): void ns3::PointToPointStarHelper::InstallStack(ns3::InternetStackHelper stack) [member function]
2703
    cls.add_method('InstallStack', 
2704
                   'void', 
2705
                   [param('ns3::InternetStackHelper', 'stack')])
2706
    ## point-to-point-star-helper.h (module 'netanim'): uint32_t ns3::PointToPointStarHelper::SpokeCount() const [member function]
2707
    cls.add_method('SpokeCount', 
2708
                   'uint32_t', 
2709
                   [], 
2710
                   is_const=True)
2711
    return
2712
2713
def register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, cls):
875
def register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, cls):
2714
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter>::SimpleRefCount() [constructor]
876
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter>::SimpleRefCount() [constructor]
2715
    cls.add_constructor([])
877
    cls.add_constructor([])
 Lines 2722-2849    Link Here 
2722
                   is_static=True)
884
                   is_static=True)
2723
    return
885
    return
2724
886
2725
def register_Ns3Simulator_methods(root_module, cls):
2726
    ## simulator.h (module 'core'): ns3::Simulator::Simulator(ns3::Simulator const & arg0) [copy constructor]
2727
    cls.add_constructor([param('ns3::Simulator const &', 'arg0')])
2728
    ## simulator.h (module 'core'): static void ns3::Simulator::Cancel(ns3::EventId const & id) [member function]
2729
    cls.add_method('Cancel', 
2730
                   'void', 
2731
                   [param('ns3::EventId const &', 'id')], 
2732
                   is_static=True)
2733
    ## simulator.h (module 'core'): static void ns3::Simulator::Destroy() [member function]
2734
    cls.add_method('Destroy', 
2735
                   'void', 
2736
                   [], 
2737
                   is_static=True)
2738
    ## simulator.h (module 'core'): static uint32_t ns3::Simulator::GetContext() [member function]
2739
    cls.add_method('GetContext', 
2740
                   'uint32_t', 
2741
                   [], 
2742
                   is_static=True)
2743
    ## simulator.h (module 'core'): static ns3::Time ns3::Simulator::GetDelayLeft(ns3::EventId const & id) [member function]
2744
    cls.add_method('GetDelayLeft', 
2745
                   'ns3::Time', 
2746
                   [param('ns3::EventId const &', 'id')], 
2747
                   is_static=True)
2748
    ## simulator.h (module 'core'): static ns3::Ptr<ns3::SimulatorImpl> ns3::Simulator::GetImplementation() [member function]
2749
    cls.add_method('GetImplementation', 
2750
                   'ns3::Ptr< ns3::SimulatorImpl >', 
2751
                   [], 
2752
                   is_static=True)
2753
    ## simulator.h (module 'core'): static ns3::Time ns3::Simulator::GetMaximumSimulationTime() [member function]
2754
    cls.add_method('GetMaximumSimulationTime', 
2755
                   'ns3::Time', 
2756
                   [], 
2757
                   is_static=True)
2758
    ## simulator.h (module 'core'): static uint32_t ns3::Simulator::GetSystemId() [member function]
2759
    cls.add_method('GetSystemId', 
2760
                   'uint32_t', 
2761
                   [], 
2762
                   is_static=True)
2763
    ## simulator.h (module 'core'): static bool ns3::Simulator::IsExpired(ns3::EventId const & id) [member function]
2764
    cls.add_method('IsExpired', 
2765
                   'bool', 
2766
                   [param('ns3::EventId const &', 'id')], 
2767
                   is_static=True)
2768
    ## simulator.h (module 'core'): static bool ns3::Simulator::IsFinished() [member function]
2769
    cls.add_method('IsFinished', 
2770
                   'bool', 
2771
                   [], 
2772
                   is_static=True)
2773
    ## simulator.h (module 'core'): static ns3::Time ns3::Simulator::Next() [member function]
2774
    cls.add_method('Next', 
2775
                   'ns3::Time', 
2776
                   [], 
2777
                   is_static=True, deprecated=True)
2778
    ## simulator.h (module 'core'): static ns3::Time ns3::Simulator::Now() [member function]
2779
    cls.add_method('Now', 
2780
                   'ns3::Time', 
2781
                   [], 
2782
                   is_static=True)
2783
    ## simulator.h (module 'core'): static void ns3::Simulator::Remove(ns3::EventId const & id) [member function]
2784
    cls.add_method('Remove', 
2785
                   'void', 
2786
                   [param('ns3::EventId const &', 'id')], 
2787
                   is_static=True)
2788
    ## simulator.h (module 'core'): static void ns3::Simulator::RunOneEvent() [member function]
2789
    cls.add_method('RunOneEvent', 
2790
                   'void', 
2791
                   [], 
2792
                   is_static=True, deprecated=True)
2793
    ## simulator.h (module 'core'): static void ns3::Simulator::SetImplementation(ns3::Ptr<ns3::SimulatorImpl> impl) [member function]
2794
    cls.add_method('SetImplementation', 
2795
                   'void', 
2796
                   [param('ns3::Ptr< ns3::SimulatorImpl >', 'impl')], 
2797
                   is_static=True)
2798
    ## simulator.h (module 'core'): static void ns3::Simulator::SetScheduler(ns3::ObjectFactory schedulerFactory) [member function]
2799
    cls.add_method('SetScheduler', 
2800
                   'void', 
2801
                   [param('ns3::ObjectFactory', 'schedulerFactory')], 
2802
                   is_static=True)
2803
    ## simulator.h (module 'core'): static void ns3::Simulator::Stop() [member function]
2804
    cls.add_method('Stop', 
2805
                   'void', 
2806
                   [], 
2807
                   is_static=True)
2808
    ## simulator.h (module 'core'): static void ns3::Simulator::Stop(ns3::Time const & time) [member function]
2809
    cls.add_method('Stop', 
2810
                   'void', 
2811
                   [param('ns3::Time const &', 'time')], 
2812
                   is_static=True)
2813
    return
2814
2815
def register_Ns3Tag_methods(root_module, cls):
2816
    ## tag.h (module 'network'): ns3::Tag::Tag() [constructor]
2817
    cls.add_constructor([])
2818
    ## tag.h (module 'network'): ns3::Tag::Tag(ns3::Tag const & arg0) [copy constructor]
2819
    cls.add_constructor([param('ns3::Tag const &', 'arg0')])
2820
    ## tag.h (module 'network'): void ns3::Tag::Deserialize(ns3::TagBuffer i) [member function]
2821
    cls.add_method('Deserialize', 
2822
                   'void', 
2823
                   [param('ns3::TagBuffer', 'i')], 
2824
                   is_pure_virtual=True, is_virtual=True)
2825
    ## tag.h (module 'network'): uint32_t ns3::Tag::GetSerializedSize() const [member function]
2826
    cls.add_method('GetSerializedSize', 
2827
                   'uint32_t', 
2828
                   [], 
2829
                   is_pure_virtual=True, is_const=True, is_virtual=True)
2830
    ## tag.h (module 'network'): static ns3::TypeId ns3::Tag::GetTypeId() [member function]
2831
    cls.add_method('GetTypeId', 
2832
                   'ns3::TypeId', 
2833
                   [], 
2834
                   is_static=True)
2835
    ## tag.h (module 'network'): void ns3::Tag::Print(std::ostream & os) const [member function]
2836
    cls.add_method('Print', 
2837
                   'void', 
2838
                   [param('std::ostream &', 'os')], 
2839
                   is_pure_virtual=True, is_const=True, is_virtual=True)
2840
    ## tag.h (module 'network'): void ns3::Tag::Serialize(ns3::TagBuffer i) const [member function]
2841
    cls.add_method('Serialize', 
2842
                   'void', 
2843
                   [param('ns3::TagBuffer', 'i')], 
2844
                   is_pure_virtual=True, is_const=True, is_virtual=True)
2845
    return
2846
2847
def register_Ns3TagBuffer_methods(root_module, cls):
887
def register_Ns3TagBuffer_methods(root_module, cls):
2848
    ## tag-buffer.h (module 'network'): ns3::TagBuffer::TagBuffer(ns3::TagBuffer const & arg0) [copy constructor]
888
    ## tag-buffer.h (module 'network'): ns3::TagBuffer::TagBuffer(ns3::TagBuffer const & arg0) [copy constructor]
2849
    cls.add_constructor([param('ns3::TagBuffer const &', 'arg0')])
889
    cls.add_constructor([param('ns3::TagBuffer const &', 'arg0')])
 Lines 3228-3607    Link Here 
3228
                   [param('ns3::int64x64_t const &', 'o')])
1268
                   [param('ns3::int64x64_t const &', 'o')])
3229
    return
1269
    return
3230
1270
3231
def register_Ns3Chunk_methods(root_module, cls):
3232
    ## chunk.h (module 'network'): ns3::Chunk::Chunk() [constructor]
3233
    cls.add_constructor([])
3234
    ## chunk.h (module 'network'): ns3::Chunk::Chunk(ns3::Chunk const & arg0) [copy constructor]
3235
    cls.add_constructor([param('ns3::Chunk const &', 'arg0')])
3236
    ## chunk.h (module 'network'): uint32_t ns3::Chunk::Deserialize(ns3::Buffer::Iterator start) [member function]
3237
    cls.add_method('Deserialize', 
3238
                   'uint32_t', 
3239
                   [param('ns3::Buffer::Iterator', 'start')], 
3240
                   is_pure_virtual=True, is_virtual=True)
3241
    ## chunk.h (module 'network'): static ns3::TypeId ns3::Chunk::GetTypeId() [member function]
3242
    cls.add_method('GetTypeId', 
3243
                   'ns3::TypeId', 
3244
                   [], 
3245
                   is_static=True)
3246
    ## chunk.h (module 'network'): void ns3::Chunk::Print(std::ostream & os) const [member function]
3247
    cls.add_method('Print', 
3248
                   'void', 
3249
                   [param('std::ostream &', 'os')], 
3250
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3251
    return
3252
3253
def register_Ns3Header_methods(root_module, cls):
3254
    cls.add_output_stream_operator()
3255
    ## header.h (module 'network'): ns3::Header::Header() [constructor]
3256
    cls.add_constructor([])
3257
    ## header.h (module 'network'): ns3::Header::Header(ns3::Header const & arg0) [copy constructor]
3258
    cls.add_constructor([param('ns3::Header const &', 'arg0')])
3259
    ## header.h (module 'network'): uint32_t ns3::Header::Deserialize(ns3::Buffer::Iterator start) [member function]
3260
    cls.add_method('Deserialize', 
3261
                   'uint32_t', 
3262
                   [param('ns3::Buffer::Iterator', 'start')], 
3263
                   is_pure_virtual=True, is_virtual=True)
3264
    ## header.h (module 'network'): uint32_t ns3::Header::GetSerializedSize() const [member function]
3265
    cls.add_method('GetSerializedSize', 
3266
                   'uint32_t', 
3267
                   [], 
3268
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3269
    ## header.h (module 'network'): static ns3::TypeId ns3::Header::GetTypeId() [member function]
3270
    cls.add_method('GetTypeId', 
3271
                   'ns3::TypeId', 
3272
                   [], 
3273
                   is_static=True)
3274
    ## header.h (module 'network'): void ns3::Header::Print(std::ostream & os) const [member function]
3275
    cls.add_method('Print', 
3276
                   'void', 
3277
                   [param('std::ostream &', 'os')], 
3278
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3279
    ## header.h (module 'network'): void ns3::Header::Serialize(ns3::Buffer::Iterator start) const [member function]
3280
    cls.add_method('Serialize', 
3281
                   'void', 
3282
                   [param('ns3::Buffer::Iterator', 'start')], 
3283
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3284
    return
3285
3286
def register_Ns3InternetStackHelper_methods(root_module, cls):
3287
    ## internet-stack-helper.h (module 'internet'): ns3::InternetStackHelper::InternetStackHelper() [constructor]
3288
    cls.add_constructor([])
3289
    ## internet-stack-helper.h (module 'internet'): ns3::InternetStackHelper::InternetStackHelper(ns3::InternetStackHelper const & arg0) [copy constructor]
3290
    cls.add_constructor([param('ns3::InternetStackHelper const &', 'arg0')])
3291
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::Install(std::string nodeName) const [member function]
3292
    cls.add_method('Install', 
3293
                   'void', 
3294
                   [param('std::string', 'nodeName')], 
3295
                   is_const=True)
3296
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::Install(ns3::Ptr<ns3::Node> node) const [member function]
3297
    cls.add_method('Install', 
3298
                   'void', 
3299
                   [param('ns3::Ptr< ns3::Node >', 'node')], 
3300
                   is_const=True)
3301
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::Install(ns3::NodeContainer c) const [member function]
3302
    cls.add_method('Install', 
3303
                   'void', 
3304
                   [param('ns3::NodeContainer', 'c')], 
3305
                   is_const=True)
3306
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::InstallAll() const [member function]
3307
    cls.add_method('InstallAll', 
3308
                   'void', 
3309
                   [], 
3310
                   is_const=True)
3311
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::Reset() [member function]
3312
    cls.add_method('Reset', 
3313
                   'void', 
3314
                   [])
3315
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::SetIpv4StackInstall(bool enable) [member function]
3316
    cls.add_method('SetIpv4StackInstall', 
3317
                   'void', 
3318
                   [param('bool', 'enable')])
3319
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::SetIpv6StackInstall(bool enable) [member function]
3320
    cls.add_method('SetIpv6StackInstall', 
3321
                   'void', 
3322
                   [param('bool', 'enable')])
3323
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::SetRoutingHelper(ns3::Ipv4RoutingHelper const & routing) [member function]
3324
    cls.add_method('SetRoutingHelper', 
3325
                   'void', 
3326
                   [param('ns3::Ipv4RoutingHelper const &', 'routing')])
3327
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::SetRoutingHelper(ns3::Ipv6RoutingHelper const & routing) [member function]
3328
    cls.add_method('SetRoutingHelper', 
3329
                   'void', 
3330
                   [param('ns3::Ipv6RoutingHelper const &', 'routing')])
3331
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::SetTcp(std::string tid) [member function]
3332
    cls.add_method('SetTcp', 
3333
                   'void', 
3334
                   [param('std::string', 'tid')])
3335
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::SetTcp(std::string tid, std::string attr, ns3::AttributeValue const & val) [member function]
3336
    cls.add_method('SetTcp', 
3337
                   'void', 
3338
                   [param('std::string', 'tid'), param('std::string', 'attr'), param('ns3::AttributeValue const &', 'val')])
3339
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::EnableAsciiIpv4Internal(ns3::Ptr<ns3::OutputStreamWrapper> stream, std::string prefix, ns3::Ptr<ns3::Ipv4> ipv4, uint32_t interface, bool explicitFilename) [member function]
3340
    cls.add_method('EnableAsciiIpv4Internal', 
3341
                   'void', 
3342
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], 
3343
                   visibility='private', is_virtual=True)
3344
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::EnableAsciiIpv6Internal(ns3::Ptr<ns3::OutputStreamWrapper> stream, std::string prefix, ns3::Ptr<ns3::Ipv6> ipv6, uint32_t interface, bool explicitFilename) [member function]
3345
    cls.add_method('EnableAsciiIpv6Internal', 
3346
                   'void', 
3347
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], 
3348
                   visibility='private', is_virtual=True)
3349
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::EnablePcapIpv4Internal(std::string prefix, ns3::Ptr<ns3::Ipv4> ipv4, uint32_t interface, bool explicitFilename) [member function]
3350
    cls.add_method('EnablePcapIpv4Internal', 
3351
                   'void', 
3352
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], 
3353
                   visibility='private', is_virtual=True)
3354
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::EnablePcapIpv6Internal(std::string prefix, ns3::Ptr<ns3::Ipv6> ipv6, uint32_t interface, bool explicitFilename) [member function]
3355
    cls.add_method('EnablePcapIpv6Internal', 
3356
                   'void', 
3357
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], 
3358
                   visibility='private', is_virtual=True)
3359
    return
3360
3361
def register_Ns3Ipv4Header_methods(root_module, cls):
3362
    ## ipv4-header.h (module 'internet'): ns3::Ipv4Header::Ipv4Header(ns3::Ipv4Header const & arg0) [copy constructor]
3363
    cls.add_constructor([param('ns3::Ipv4Header const &', 'arg0')])
3364
    ## ipv4-header.h (module 'internet'): ns3::Ipv4Header::Ipv4Header() [constructor]
3365
    cls.add_constructor([])
3366
    ## ipv4-header.h (module 'internet'): uint32_t ns3::Ipv4Header::Deserialize(ns3::Buffer::Iterator start) [member function]
3367
    cls.add_method('Deserialize', 
3368
                   'uint32_t', 
3369
                   [param('ns3::Buffer::Iterator', 'start')], 
3370
                   is_virtual=True)
3371
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::EnableChecksum() [member function]
3372
    cls.add_method('EnableChecksum', 
3373
                   'void', 
3374
                   [])
3375
    ## ipv4-header.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4Header::GetDestination() const [member function]
3376
    cls.add_method('GetDestination', 
3377
                   'ns3::Ipv4Address', 
3378
                   [], 
3379
                   is_const=True)
3380
    ## ipv4-header.h (module 'internet'): uint16_t ns3::Ipv4Header::GetFragmentOffset() const [member function]
3381
    cls.add_method('GetFragmentOffset', 
3382
                   'uint16_t', 
3383
                   [], 
3384
                   is_const=True)
3385
    ## ipv4-header.h (module 'internet'): uint16_t ns3::Ipv4Header::GetIdentification() const [member function]
3386
    cls.add_method('GetIdentification', 
3387
                   'uint16_t', 
3388
                   [], 
3389
                   is_const=True)
3390
    ## ipv4-header.h (module 'internet'): ns3::TypeId ns3::Ipv4Header::GetInstanceTypeId() const [member function]
3391
    cls.add_method('GetInstanceTypeId', 
3392
                   'ns3::TypeId', 
3393
                   [], 
3394
                   is_const=True, is_virtual=True)
3395
    ## ipv4-header.h (module 'internet'): uint16_t ns3::Ipv4Header::GetPayloadSize() const [member function]
3396
    cls.add_method('GetPayloadSize', 
3397
                   'uint16_t', 
3398
                   [], 
3399
                   is_const=True)
3400
    ## ipv4-header.h (module 'internet'): uint8_t ns3::Ipv4Header::GetProtocol() const [member function]
3401
    cls.add_method('GetProtocol', 
3402
                   'uint8_t', 
3403
                   [], 
3404
                   is_const=True)
3405
    ## ipv4-header.h (module 'internet'): uint32_t ns3::Ipv4Header::GetSerializedSize() const [member function]
3406
    cls.add_method('GetSerializedSize', 
3407
                   'uint32_t', 
3408
                   [], 
3409
                   is_const=True, is_virtual=True)
3410
    ## ipv4-header.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4Header::GetSource() const [member function]
3411
    cls.add_method('GetSource', 
3412
                   'ns3::Ipv4Address', 
3413
                   [], 
3414
                   is_const=True)
3415
    ## ipv4-header.h (module 'internet'): uint8_t ns3::Ipv4Header::GetTos() const [member function]
3416
    cls.add_method('GetTos', 
3417
                   'uint8_t', 
3418
                   [], 
3419
                   is_const=True)
3420
    ## ipv4-header.h (module 'internet'): uint8_t ns3::Ipv4Header::GetTtl() const [member function]
3421
    cls.add_method('GetTtl', 
3422
                   'uint8_t', 
3423
                   [], 
3424
                   is_const=True)
3425
    ## ipv4-header.h (module 'internet'): static ns3::TypeId ns3::Ipv4Header::GetTypeId() [member function]
3426
    cls.add_method('GetTypeId', 
3427
                   'ns3::TypeId', 
3428
                   [], 
3429
                   is_static=True)
3430
    ## ipv4-header.h (module 'internet'): bool ns3::Ipv4Header::IsChecksumOk() const [member function]
3431
    cls.add_method('IsChecksumOk', 
3432
                   'bool', 
3433
                   [], 
3434
                   is_const=True)
3435
    ## ipv4-header.h (module 'internet'): bool ns3::Ipv4Header::IsDontFragment() const [member function]
3436
    cls.add_method('IsDontFragment', 
3437
                   'bool', 
3438
                   [], 
3439
                   is_const=True)
3440
    ## ipv4-header.h (module 'internet'): bool ns3::Ipv4Header::IsLastFragment() const [member function]
3441
    cls.add_method('IsLastFragment', 
3442
                   'bool', 
3443
                   [], 
3444
                   is_const=True)
3445
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::Print(std::ostream & os) const [member function]
3446
    cls.add_method('Print', 
3447
                   'void', 
3448
                   [param('std::ostream &', 'os')], 
3449
                   is_const=True, is_virtual=True)
3450
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::Serialize(ns3::Buffer::Iterator start) const [member function]
3451
    cls.add_method('Serialize', 
3452
                   'void', 
3453
                   [param('ns3::Buffer::Iterator', 'start')], 
3454
                   is_const=True, is_virtual=True)
3455
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetDestination(ns3::Ipv4Address destination) [member function]
3456
    cls.add_method('SetDestination', 
3457
                   'void', 
3458
                   [param('ns3::Ipv4Address', 'destination')])
3459
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetDontFragment() [member function]
3460
    cls.add_method('SetDontFragment', 
3461
                   'void', 
3462
                   [])
3463
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetFragmentOffset(uint16_t offset) [member function]
3464
    cls.add_method('SetFragmentOffset', 
3465
                   'void', 
3466
                   [param('uint16_t', 'offset')])
3467
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetIdentification(uint16_t identification) [member function]
3468
    cls.add_method('SetIdentification', 
3469
                   'void', 
3470
                   [param('uint16_t', 'identification')])
3471
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetLastFragment() [member function]
3472
    cls.add_method('SetLastFragment', 
3473
                   'void', 
3474
                   [])
3475
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetMayFragment() [member function]
3476
    cls.add_method('SetMayFragment', 
3477
                   'void', 
3478
                   [])
3479
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetMoreFragments() [member function]
3480
    cls.add_method('SetMoreFragments', 
3481
                   'void', 
3482
                   [])
3483
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetPayloadSize(uint16_t size) [member function]
3484
    cls.add_method('SetPayloadSize', 
3485
                   'void', 
3486
                   [param('uint16_t', 'size')])
3487
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetProtocol(uint8_t num) [member function]
3488
    cls.add_method('SetProtocol', 
3489
                   'void', 
3490
                   [param('uint8_t', 'num')])
3491
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetSource(ns3::Ipv4Address source) [member function]
3492
    cls.add_method('SetSource', 
3493
                   'void', 
3494
                   [param('ns3::Ipv4Address', 'source')])
3495
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetTos(uint8_t tos) [member function]
3496
    cls.add_method('SetTos', 
3497
                   'void', 
3498
                   [param('uint8_t', 'tos')])
3499
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetTtl(uint8_t ttl) [member function]
3500
    cls.add_method('SetTtl', 
3501
                   'void', 
3502
                   [param('uint8_t', 'ttl')])
3503
    return
3504
3505
def register_Ns3Ipv6Header_methods(root_module, cls):
3506
    ## ipv6-header.h (module 'internet'): ns3::Ipv6Header::Ipv6Header(ns3::Ipv6Header const & arg0) [copy constructor]
3507
    cls.add_constructor([param('ns3::Ipv6Header const &', 'arg0')])
3508
    ## ipv6-header.h (module 'internet'): ns3::Ipv6Header::Ipv6Header() [constructor]
3509
    cls.add_constructor([])
3510
    ## ipv6-header.h (module 'internet'): uint32_t ns3::Ipv6Header::Deserialize(ns3::Buffer::Iterator start) [member function]
3511
    cls.add_method('Deserialize', 
3512
                   'uint32_t', 
3513
                   [param('ns3::Buffer::Iterator', 'start')], 
3514
                   is_virtual=True)
3515
    ## ipv6-header.h (module 'internet'): ns3::Ipv6Address ns3::Ipv6Header::GetDestinationAddress() const [member function]
3516
    cls.add_method('GetDestinationAddress', 
3517
                   'ns3::Ipv6Address', 
3518
                   [], 
3519
                   is_const=True)
3520
    ## ipv6-header.h (module 'internet'): uint32_t ns3::Ipv6Header::GetFlowLabel() const [member function]
3521
    cls.add_method('GetFlowLabel', 
3522
                   'uint32_t', 
3523
                   [], 
3524
                   is_const=True)
3525
    ## ipv6-header.h (module 'internet'): uint8_t ns3::Ipv6Header::GetHopLimit() const [member function]
3526
    cls.add_method('GetHopLimit', 
3527
                   'uint8_t', 
3528
                   [], 
3529
                   is_const=True)
3530
    ## ipv6-header.h (module 'internet'): ns3::TypeId ns3::Ipv6Header::GetInstanceTypeId() const [member function]
3531
    cls.add_method('GetInstanceTypeId', 
3532
                   'ns3::TypeId', 
3533
                   [], 
3534
                   is_const=True, is_virtual=True)
3535
    ## ipv6-header.h (module 'internet'): uint8_t ns3::Ipv6Header::GetNextHeader() const [member function]
3536
    cls.add_method('GetNextHeader', 
3537
                   'uint8_t', 
3538
                   [], 
3539
                   is_const=True)
3540
    ## ipv6-header.h (module 'internet'): uint16_t ns3::Ipv6Header::GetPayloadLength() const [member function]
3541
    cls.add_method('GetPayloadLength', 
3542
                   'uint16_t', 
3543
                   [], 
3544
                   is_const=True)
3545
    ## ipv6-header.h (module 'internet'): uint32_t ns3::Ipv6Header::GetSerializedSize() const [member function]
3546
    cls.add_method('GetSerializedSize', 
3547
                   'uint32_t', 
3548
                   [], 
3549
                   is_const=True, is_virtual=True)
3550
    ## ipv6-header.h (module 'internet'): ns3::Ipv6Address ns3::Ipv6Header::GetSourceAddress() const [member function]
3551
    cls.add_method('GetSourceAddress', 
3552
                   'ns3::Ipv6Address', 
3553
                   [], 
3554
                   is_const=True)
3555
    ## ipv6-header.h (module 'internet'): uint8_t ns3::Ipv6Header::GetTrafficClass() const [member function]
3556
    cls.add_method('GetTrafficClass', 
3557
                   'uint8_t', 
3558
                   [], 
3559
                   is_const=True)
3560
    ## ipv6-header.h (module 'internet'): static ns3::TypeId ns3::Ipv6Header::GetTypeId() [member function]
3561
    cls.add_method('GetTypeId', 
3562
                   'ns3::TypeId', 
3563
                   [], 
3564
                   is_static=True)
3565
    ## ipv6-header.h (module 'internet'): void ns3::Ipv6Header::Print(std::ostream & os) const [member function]
3566
    cls.add_method('Print', 
3567
                   'void', 
3568
                   [param('std::ostream &', 'os')], 
3569
                   is_const=True, is_virtual=True)
3570
    ## ipv6-header.h (module 'internet'): void ns3::Ipv6Header::Serialize(ns3::Buffer::Iterator start) const [member function]
3571
    cls.add_method('Serialize', 
3572
                   'void', 
3573
                   [param('ns3::Buffer::Iterator', 'start')], 
3574
                   is_const=True, is_virtual=True)
3575
    ## ipv6-header.h (module 'internet'): void ns3::Ipv6Header::SetDestinationAddress(ns3::Ipv6Address dst) [member function]
3576
    cls.add_method('SetDestinationAddress', 
3577
                   'void', 
3578
                   [param('ns3::Ipv6Address', 'dst')])
3579
    ## ipv6-header.h (module 'internet'): void ns3::Ipv6Header::SetFlowLabel(uint32_t flow) [member function]
3580
    cls.add_method('SetFlowLabel', 
3581
                   'void', 
3582
                   [param('uint32_t', 'flow')])
3583
    ## ipv6-header.h (module 'internet'): void ns3::Ipv6Header::SetHopLimit(uint8_t limit) [member function]
3584
    cls.add_method('SetHopLimit', 
3585
                   'void', 
3586
                   [param('uint8_t', 'limit')])
3587
    ## ipv6-header.h (module 'internet'): void ns3::Ipv6Header::SetNextHeader(uint8_t next) [member function]
3588
    cls.add_method('SetNextHeader', 
3589
                   'void', 
3590
                   [param('uint8_t', 'next')])
3591
    ## ipv6-header.h (module 'internet'): void ns3::Ipv6Header::SetPayloadLength(uint16_t len) [member function]
3592
    cls.add_method('SetPayloadLength', 
3593
                   'void', 
3594
                   [param('uint16_t', 'len')])
3595
    ## ipv6-header.h (module 'internet'): void ns3::Ipv6Header::SetSourceAddress(ns3::Ipv6Address src) [member function]
3596
    cls.add_method('SetSourceAddress', 
3597
                   'void', 
3598
                   [param('ns3::Ipv6Address', 'src')])
3599
    ## ipv6-header.h (module 'internet'): void ns3::Ipv6Header::SetTrafficClass(uint8_t traffic) [member function]
3600
    cls.add_method('SetTrafficClass', 
3601
                   'void', 
3602
                   [param('uint8_t', 'traffic')])
3603
    return
3604
3605
def register_Ns3Object_methods(root_module, cls):
1271
def register_Ns3Object_methods(root_module, cls):
3606
    ## object.h (module 'core'): ns3::Object::Object() [constructor]
1272
    ## object.h (module 'core'): ns3::Object::Object() [constructor]
3607
    cls.add_constructor([])
1273
    cls.add_constructor([])
 Lines 3668-3749    Link Here 
3668
                   [])
1334
                   [])
3669
    return
1335
    return
3670
1336
3671
def register_Ns3PcapFileWrapper_methods(root_module, cls):
3672
    ## pcap-file-wrapper.h (module 'network'): static ns3::TypeId ns3::PcapFileWrapper::GetTypeId() [member function]
3673
    cls.add_method('GetTypeId', 
3674
                   'ns3::TypeId', 
3675
                   [], 
3676
                   is_static=True)
3677
    ## pcap-file-wrapper.h (module 'network'): ns3::PcapFileWrapper::PcapFileWrapper() [constructor]
3678
    cls.add_constructor([])
3679
    ## pcap-file-wrapper.h (module 'network'): bool ns3::PcapFileWrapper::Fail() const [member function]
3680
    cls.add_method('Fail', 
3681
                   'bool', 
3682
                   [], 
3683
                   is_const=True)
3684
    ## pcap-file-wrapper.h (module 'network'): bool ns3::PcapFileWrapper::Eof() const [member function]
3685
    cls.add_method('Eof', 
3686
                   'bool', 
3687
                   [], 
3688
                   is_const=True)
3689
    ## pcap-file-wrapper.h (module 'network'): void ns3::PcapFileWrapper::Clear() [member function]
3690
    cls.add_method('Clear', 
3691
                   'void', 
3692
                   [])
3693
    ## pcap-file-wrapper.h (module 'network'): void ns3::PcapFileWrapper::Open(std::string const & filename, std::_Ios_Openmode mode) [member function]
3694
    cls.add_method('Open', 
3695
                   'void', 
3696
                   [param('std::string const &', 'filename'), param('std::_Ios_Openmode', 'mode')])
3697
    ## pcap-file-wrapper.h (module 'network'): void ns3::PcapFileWrapper::Close() [member function]
3698
    cls.add_method('Close', 
3699
                   'void', 
3700
                   [])
3701
    ## pcap-file-wrapper.h (module 'network'): void ns3::PcapFileWrapper::Init(uint32_t dataLinkType, uint32_t snapLen=std::numeric_limits<unsigned int>::max(), int32_t tzCorrection=ns3::PcapFile::ZONE_DEFAULT) [member function]
3702
    cls.add_method('Init', 
3703
                   'void', 
3704
                   [param('uint32_t', 'dataLinkType'), param('uint32_t', 'snapLen', default_value='std::numeric_limits<unsigned int>::max()'), param('int32_t', 'tzCorrection', default_value='ns3::PcapFile::ZONE_DEFAULT')])
3705
    ## pcap-file-wrapper.h (module 'network'): void ns3::PcapFileWrapper::Write(ns3::Time t, ns3::Ptr<const ns3::Packet> p) [member function]
3706
    cls.add_method('Write', 
3707
                   'void', 
3708
                   [param('ns3::Time', 't'), param('ns3::Ptr< ns3::Packet const >', 'p')])
3709
    ## pcap-file-wrapper.h (module 'network'): void ns3::PcapFileWrapper::Write(ns3::Time t, ns3::Header & header, ns3::Ptr<const ns3::Packet> p) [member function]
3710
    cls.add_method('Write', 
3711
                   'void', 
3712
                   [param('ns3::Time', 't'), param('ns3::Header &', 'header'), param('ns3::Ptr< ns3::Packet const >', 'p')])
3713
    ## pcap-file-wrapper.h (module 'network'): void ns3::PcapFileWrapper::Write(ns3::Time t, uint8_t const * buffer, uint32_t length) [member function]
3714
    cls.add_method('Write', 
3715
                   'void', 
3716
                   [param('ns3::Time', 't'), param('uint8_t const *', 'buffer'), param('uint32_t', 'length')])
3717
    ## pcap-file-wrapper.h (module 'network'): uint32_t ns3::PcapFileWrapper::GetMagic() [member function]
3718
    cls.add_method('GetMagic', 
3719
                   'uint32_t', 
3720
                   [])
3721
    ## pcap-file-wrapper.h (module 'network'): uint16_t ns3::PcapFileWrapper::GetVersionMajor() [member function]
3722
    cls.add_method('GetVersionMajor', 
3723
                   'uint16_t', 
3724
                   [])
3725
    ## pcap-file-wrapper.h (module 'network'): uint16_t ns3::PcapFileWrapper::GetVersionMinor() [member function]
3726
    cls.add_method('GetVersionMinor', 
3727
                   'uint16_t', 
3728
                   [])
3729
    ## pcap-file-wrapper.h (module 'network'): int32_t ns3::PcapFileWrapper::GetTimeZoneOffset() [member function]
3730
    cls.add_method('GetTimeZoneOffset', 
3731
                   'int32_t', 
3732
                   [])
3733
    ## pcap-file-wrapper.h (module 'network'): uint32_t ns3::PcapFileWrapper::GetSigFigs() [member function]
3734
    cls.add_method('GetSigFigs', 
3735
                   'uint32_t', 
3736
                   [])
3737
    ## pcap-file-wrapper.h (module 'network'): uint32_t ns3::PcapFileWrapper::GetSnapLen() [member function]
3738
    cls.add_method('GetSnapLen', 
3739
                   'uint32_t', 
3740
                   [])
3741
    ## pcap-file-wrapper.h (module 'network'): uint32_t ns3::PcapFileWrapper::GetDataLinkType() [member function]
3742
    cls.add_method('GetDataLinkType', 
3743
                   'uint32_t', 
3744
                   [])
3745
    return
3746
3747
def register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, cls):
1337
def register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, cls):
3748
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >::SimpleRefCount() [constructor]
1338
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >::SimpleRefCount() [constructor]
3749
    cls.add_constructor([])
1339
    cls.add_constructor([])
 Lines 3792-4233    Link Here 
3792
                   is_static=True)
1382
                   is_static=True)
3793
    return
1383
    return
3794
1384
3795
def register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__gt___methods(root_module, cls):
3796
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >::SimpleRefCount() [constructor]
3797
    cls.add_constructor([])
3798
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >::SimpleRefCount(ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> > const & o) [copy constructor]
3799
    cls.add_constructor([param('ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter< ns3::EventImpl > > const &', 'o')])
3800
    ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >::Cleanup() [member function]
3801
    cls.add_method('Cleanup', 
3802
                   'void', 
3803
                   [], 
3804
                   is_static=True)
3805
    return
3806
3807
def register_Ns3SimpleRefCount__Ns3Ipv4MulticastRoute_Ns3Empty_Ns3DefaultDeleter__lt__ns3Ipv4MulticastRoute__gt___methods(root_module, cls):
3808
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4MulticastRoute> >::SimpleRefCount() [constructor]
3809
    cls.add_constructor([])
3810
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4MulticastRoute> >::SimpleRefCount(ns3::SimpleRefCount<ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4MulticastRoute> > const & o) [copy constructor]
3811
    cls.add_constructor([param('ns3::SimpleRefCount< ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter< ns3::Ipv4MulticastRoute > > const &', 'o')])
3812
    ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4MulticastRoute> >::Cleanup() [member function]
3813
    cls.add_method('Cleanup', 
3814
                   'void', 
3815
                   [], 
3816
                   is_static=True)
3817
    return
3818
3819
def register_Ns3SimpleRefCount__Ns3Ipv4Route_Ns3Empty_Ns3DefaultDeleter__lt__ns3Ipv4Route__gt___methods(root_module, cls):
3820
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4Route> >::SimpleRefCount() [constructor]
3821
    cls.add_constructor([])
3822
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4Route> >::SimpleRefCount(ns3::SimpleRefCount<ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4Route> > const & o) [copy constructor]
3823
    cls.add_constructor([param('ns3::SimpleRefCount< ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter< ns3::Ipv4Route > > const &', 'o')])
3824
    ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4Route> >::Cleanup() [member function]
3825
    cls.add_method('Cleanup', 
3826
                   'void', 
3827
                   [], 
3828
                   is_static=True)
3829
    return
3830
3831
def register_Ns3SimpleRefCount__Ns3NixVector_Ns3Empty_Ns3DefaultDeleter__lt__ns3NixVector__gt___methods(root_module, cls):
3832
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >::SimpleRefCount() [constructor]
3833
    cls.add_constructor([])
3834
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >::SimpleRefCount(ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> > const & o) [copy constructor]
3835
    cls.add_constructor([param('ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter< ns3::NixVector > > const &', 'o')])
3836
    ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >::Cleanup() [member function]
3837
    cls.add_method('Cleanup', 
3838
                   'void', 
3839
                   [], 
3840
                   is_static=True)
3841
    return
3842
3843
def register_Ns3SimpleRefCount__Ns3OutputStreamWrapper_Ns3Empty_Ns3DefaultDeleter__lt__ns3OutputStreamWrapper__gt___methods(root_module, cls):
3844
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter<ns3::OutputStreamWrapper> >::SimpleRefCount() [constructor]
3845
    cls.add_constructor([])
3846
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter<ns3::OutputStreamWrapper> >::SimpleRefCount(ns3::SimpleRefCount<ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter<ns3::OutputStreamWrapper> > const & o) [copy constructor]
3847
    cls.add_constructor([param('ns3::SimpleRefCount< ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter< ns3::OutputStreamWrapper > > const &', 'o')])
3848
    ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter<ns3::OutputStreamWrapper> >::Cleanup() [member function]
3849
    cls.add_method('Cleanup', 
3850
                   'void', 
3851
                   [], 
3852
                   is_static=True)
3853
    return
3854
3855
def register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, cls):
3856
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >::SimpleRefCount() [constructor]
3857
    cls.add_constructor([])
3858
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >::SimpleRefCount(ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> > const & o) [copy constructor]
3859
    cls.add_constructor([param('ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter< ns3::Packet > > const &', 'o')])
3860
    ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >::Cleanup() [member function]
3861
    cls.add_method('Cleanup', 
3862
                   'void', 
3863
                   [], 
3864
                   is_static=True)
3865
    return
3866
3867
def register_Ns3Socket_methods(root_module, cls):
3868
    ## socket.h (module 'network'): ns3::Socket::Socket(ns3::Socket const & arg0) [copy constructor]
3869
    cls.add_constructor([param('ns3::Socket const &', 'arg0')])
3870
    ## socket.h (module 'network'): ns3::Socket::Socket() [constructor]
3871
    cls.add_constructor([])
3872
    ## socket.h (module 'network'): int ns3::Socket::Bind(ns3::Address const & address) [member function]
3873
    cls.add_method('Bind', 
3874
                   'int', 
3875
                   [param('ns3::Address const &', 'address')], 
3876
                   is_pure_virtual=True, is_virtual=True)
3877
    ## socket.h (module 'network'): int ns3::Socket::Bind() [member function]
3878
    cls.add_method('Bind', 
3879
                   'int', 
3880
                   [], 
3881
                   is_pure_virtual=True, is_virtual=True)
3882
    ## socket.h (module 'network'): void ns3::Socket::BindToNetDevice(ns3::Ptr<ns3::NetDevice> netdevice) [member function]
3883
    cls.add_method('BindToNetDevice', 
3884
                   'void', 
3885
                   [param('ns3::Ptr< ns3::NetDevice >', 'netdevice')], 
3886
                   is_virtual=True)
3887
    ## socket.h (module 'network'): int ns3::Socket::Close() [member function]
3888
    cls.add_method('Close', 
3889
                   'int', 
3890
                   [], 
3891
                   is_pure_virtual=True, is_virtual=True)
3892
    ## socket.h (module 'network'): int ns3::Socket::Connect(ns3::Address const & address) [member function]
3893
    cls.add_method('Connect', 
3894
                   'int', 
3895
                   [param('ns3::Address const &', 'address')], 
3896
                   is_pure_virtual=True, is_virtual=True)
3897
    ## socket.h (module 'network'): static ns3::Ptr<ns3::Socket> ns3::Socket::CreateSocket(ns3::Ptr<ns3::Node> node, ns3::TypeId tid) [member function]
3898
    cls.add_method('CreateSocket', 
3899
                   'ns3::Ptr< ns3::Socket >', 
3900
                   [param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::TypeId', 'tid')], 
3901
                   is_static=True)
3902
    ## socket.h (module 'network'): bool ns3::Socket::GetAllowBroadcast() const [member function]
3903
    cls.add_method('GetAllowBroadcast', 
3904
                   'bool', 
3905
                   [], 
3906
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3907
    ## socket.h (module 'network'): ns3::Ptr<ns3::NetDevice> ns3::Socket::GetBoundNetDevice() [member function]
3908
    cls.add_method('GetBoundNetDevice', 
3909
                   'ns3::Ptr< ns3::NetDevice >', 
3910
                   [])
3911
    ## socket.h (module 'network'): ns3::Socket::SocketErrno ns3::Socket::GetErrno() const [member function]
3912
    cls.add_method('GetErrno', 
3913
                   'ns3::Socket::SocketErrno', 
3914
                   [], 
3915
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3916
    ## socket.h (module 'network'): ns3::Ptr<ns3::Node> ns3::Socket::GetNode() const [member function]
3917
    cls.add_method('GetNode', 
3918
                   'ns3::Ptr< ns3::Node >', 
3919
                   [], 
3920
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3921
    ## socket.h (module 'network'): uint32_t ns3::Socket::GetRxAvailable() const [member function]
3922
    cls.add_method('GetRxAvailable', 
3923
                   'uint32_t', 
3924
                   [], 
3925
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3926
    ## socket.h (module 'network'): int ns3::Socket::GetSockName(ns3::Address & address) const [member function]
3927
    cls.add_method('GetSockName', 
3928
                   'int', 
3929
                   [param('ns3::Address &', 'address')], 
3930
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3931
    ## socket.h (module 'network'): ns3::Socket::SocketType ns3::Socket::GetSocketType() const [member function]
3932
    cls.add_method('GetSocketType', 
3933
                   'ns3::Socket::SocketType', 
3934
                   [], 
3935
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3936
    ## socket.h (module 'network'): uint32_t ns3::Socket::GetTxAvailable() const [member function]
3937
    cls.add_method('GetTxAvailable', 
3938
                   'uint32_t', 
3939
                   [], 
3940
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3941
    ## socket.h (module 'network'): int ns3::Socket::Listen() [member function]
3942
    cls.add_method('Listen', 
3943
                   'int', 
3944
                   [], 
3945
                   is_pure_virtual=True, is_virtual=True)
3946
    ## socket.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Socket::Recv(uint32_t maxSize, uint32_t flags) [member function]
3947
    cls.add_method('Recv', 
3948
                   'ns3::Ptr< ns3::Packet >', 
3949
                   [param('uint32_t', 'maxSize'), param('uint32_t', 'flags')], 
3950
                   is_pure_virtual=True, is_virtual=True)
3951
    ## socket.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Socket::Recv() [member function]
3952
    cls.add_method('Recv', 
3953
                   'ns3::Ptr< ns3::Packet >', 
3954
                   [])
3955
    ## socket.h (module 'network'): int ns3::Socket::Recv(uint8_t * buf, uint32_t size, uint32_t flags) [member function]
3956
    cls.add_method('Recv', 
3957
                   'int', 
3958
                   [param('uint8_t *', 'buf'), param('uint32_t', 'size'), param('uint32_t', 'flags')])
3959
    ## socket.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Socket::RecvFrom(uint32_t maxSize, uint32_t flags, ns3::Address & fromAddress) [member function]
3960
    cls.add_method('RecvFrom', 
3961
                   'ns3::Ptr< ns3::Packet >', 
3962
                   [param('uint32_t', 'maxSize'), param('uint32_t', 'flags'), param('ns3::Address &', 'fromAddress')], 
3963
                   is_pure_virtual=True, is_virtual=True)
3964
    ## socket.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Socket::RecvFrom(ns3::Address & fromAddress) [member function]
3965
    cls.add_method('RecvFrom', 
3966
                   'ns3::Ptr< ns3::Packet >', 
3967
                   [param('ns3::Address &', 'fromAddress')])
3968
    ## socket.h (module 'network'): int ns3::Socket::RecvFrom(uint8_t * buf, uint32_t size, uint32_t flags, ns3::Address & fromAddress) [member function]
3969
    cls.add_method('RecvFrom', 
3970
                   'int', 
3971
                   [param('uint8_t *', 'buf'), param('uint32_t', 'size'), param('uint32_t', 'flags'), param('ns3::Address &', 'fromAddress')])
3972
    ## socket.h (module 'network'): int ns3::Socket::Send(ns3::Ptr<ns3::Packet> p, uint32_t flags) [member function]
3973
    cls.add_method('Send', 
3974
                   'int', 
3975
                   [param('ns3::Ptr< ns3::Packet >', 'p'), param('uint32_t', 'flags')], 
3976
                   is_pure_virtual=True, is_virtual=True)
3977
    ## socket.h (module 'network'): int ns3::Socket::Send(ns3::Ptr<ns3::Packet> p) [member function]
3978
    cls.add_method('Send', 
3979
                   'int', 
3980
                   [param('ns3::Ptr< ns3::Packet >', 'p')])
3981
    ## socket.h (module 'network'): int ns3::Socket::Send(uint8_t const * buf, uint32_t size, uint32_t flags) [member function]
3982
    cls.add_method('Send', 
3983
                   'int', 
3984
                   [param('uint8_t const *', 'buf'), param('uint32_t', 'size'), param('uint32_t', 'flags')])
3985
    ## socket.h (module 'network'): int ns3::Socket::SendTo(ns3::Ptr<ns3::Packet> p, uint32_t flags, ns3::Address const & toAddress) [member function]
3986
    cls.add_method('SendTo', 
3987
                   'int', 
3988
                   [param('ns3::Ptr< ns3::Packet >', 'p'), param('uint32_t', 'flags'), param('ns3::Address const &', 'toAddress')], 
3989
                   is_pure_virtual=True, is_virtual=True)
3990
    ## socket.h (module 'network'): int ns3::Socket::SendTo(uint8_t const * buf, uint32_t size, uint32_t flags, ns3::Address const & address) [member function]
3991
    cls.add_method('SendTo', 
3992
                   'int', 
3993
                   [param('uint8_t const *', 'buf'), param('uint32_t', 'size'), param('uint32_t', 'flags'), param('ns3::Address const &', 'address')])
3994
    ## socket.h (module 'network'): 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]
3995
    cls.add_method('SetAcceptCallback', 
3996
                   'void', 
3997
                   [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')])
3998
    ## socket.h (module 'network'): bool ns3::Socket::SetAllowBroadcast(bool allowBroadcast) [member function]
3999
    cls.add_method('SetAllowBroadcast', 
4000
                   'bool', 
4001
                   [param('bool', 'allowBroadcast')], 
4002
                   is_pure_virtual=True, is_virtual=True)
4003
    ## socket.h (module 'network'): void ns3::Socket::SetCloseCallbacks(ns3::Callback<void, ns3::Ptr<ns3::Socket>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> normalClose, ns3::Callback<void, ns3::Ptr<ns3::Socket>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> errorClose) [member function]
4004
    cls.add_method('SetCloseCallbacks', 
4005
                   'void', 
4006
                   [param('ns3::Callback< void, ns3::Ptr< ns3::Socket >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'normalClose'), param('ns3::Callback< void, ns3::Ptr< ns3::Socket >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'errorClose')])
4007
    ## socket.h (module 'network'): 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]
4008
    cls.add_method('SetConnectCallback', 
4009
                   'void', 
4010
                   [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')])
4011
    ## socket.h (module 'network'): 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]
4012
    cls.add_method('SetDataSentCallback', 
4013
                   'void', 
4014
                   [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')])
4015
    ## socket.h (module 'network'): 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]
4016
    cls.add_method('SetRecvCallback', 
4017
                   'void', 
4018
                   [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')])
4019
    ## socket.h (module 'network'): void ns3::Socket::SetRecvPktInfo(bool flag) [member function]
4020
    cls.add_method('SetRecvPktInfo', 
4021
                   'void', 
4022
                   [param('bool', 'flag')])
4023
    ## socket.h (module 'network'): 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]
4024
    cls.add_method('SetSendCallback', 
4025
                   'void', 
4026
                   [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')])
4027
    ## socket.h (module 'network'): int ns3::Socket::ShutdownRecv() [member function]
4028
    cls.add_method('ShutdownRecv', 
4029
                   'int', 
4030
                   [], 
4031
                   is_pure_virtual=True, is_virtual=True)
4032
    ## socket.h (module 'network'): int ns3::Socket::ShutdownSend() [member function]
4033
    cls.add_method('ShutdownSend', 
4034
                   'int', 
4035
                   [], 
4036
                   is_pure_virtual=True, is_virtual=True)
4037
    ## socket.h (module 'network'): void ns3::Socket::DoDispose() [member function]
4038
    cls.add_method('DoDispose', 
4039
                   'void', 
4040
                   [], 
4041
                   visibility='protected', is_virtual=True)
4042
    ## socket.h (module 'network'): void ns3::Socket::NotifyConnectionFailed() [member function]
4043
    cls.add_method('NotifyConnectionFailed', 
4044
                   'void', 
4045
                   [], 
4046
                   visibility='protected')
4047
    ## socket.h (module 'network'): bool ns3::Socket::NotifyConnectionRequest(ns3::Address const & from) [member function]
4048
    cls.add_method('NotifyConnectionRequest', 
4049
                   'bool', 
4050
                   [param('ns3::Address const &', 'from')], 
4051
                   visibility='protected')
4052
    ## socket.h (module 'network'): void ns3::Socket::NotifyConnectionSucceeded() [member function]
4053
    cls.add_method('NotifyConnectionSucceeded', 
4054
                   'void', 
4055
                   [], 
4056
                   visibility='protected')
4057
    ## socket.h (module 'network'): void ns3::Socket::NotifyDataRecv() [member function]
4058
    cls.add_method('NotifyDataRecv', 
4059
                   'void', 
4060
                   [], 
4061
                   visibility='protected')
4062
    ## socket.h (module 'network'): void ns3::Socket::NotifyDataSent(uint32_t size) [member function]
4063
    cls.add_method('NotifyDataSent', 
4064
                   'void', 
4065
                   [param('uint32_t', 'size')], 
4066
                   visibility='protected')
4067
    ## socket.h (module 'network'): void ns3::Socket::NotifyErrorClose() [member function]
4068
    cls.add_method('NotifyErrorClose', 
4069
                   'void', 
4070
                   [], 
4071
                   visibility='protected')
4072
    ## socket.h (module 'network'): void ns3::Socket::NotifyNewConnectionCreated(ns3::Ptr<ns3::Socket> socket, ns3::Address const & from) [member function]
4073
    cls.add_method('NotifyNewConnectionCreated', 
4074
                   'void', 
4075
                   [param('ns3::Ptr< ns3::Socket >', 'socket'), param('ns3::Address const &', 'from')], 
4076
                   visibility='protected')
4077
    ## socket.h (module 'network'): void ns3::Socket::NotifyNormalClose() [member function]
4078
    cls.add_method('NotifyNormalClose', 
4079
                   'void', 
4080
                   [], 
4081
                   visibility='protected')
4082
    ## socket.h (module 'network'): void ns3::Socket::NotifySend(uint32_t spaceAvailable) [member function]
4083
    cls.add_method('NotifySend', 
4084
                   'void', 
4085
                   [param('uint32_t', 'spaceAvailable')], 
4086
                   visibility='protected')
4087
    return
4088
4089
def register_Ns3SocketAddressTag_methods(root_module, cls):
4090
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag(ns3::SocketAddressTag const & arg0) [copy constructor]
4091
    cls.add_constructor([param('ns3::SocketAddressTag const &', 'arg0')])
4092
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag() [constructor]
4093
    cls.add_constructor([])
4094
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Deserialize(ns3::TagBuffer i) [member function]
4095
    cls.add_method('Deserialize', 
4096
                   'void', 
4097
                   [param('ns3::TagBuffer', 'i')], 
4098
                   is_virtual=True)
4099
    ## socket.h (module 'network'): ns3::Address ns3::SocketAddressTag::GetAddress() const [member function]
4100
    cls.add_method('GetAddress', 
4101
                   'ns3::Address', 
4102
                   [], 
4103
                   is_const=True)
4104
    ## socket.h (module 'network'): ns3::TypeId ns3::SocketAddressTag::GetInstanceTypeId() const [member function]
4105
    cls.add_method('GetInstanceTypeId', 
4106
                   'ns3::TypeId', 
4107
                   [], 
4108
                   is_const=True, is_virtual=True)
4109
    ## socket.h (module 'network'): uint32_t ns3::SocketAddressTag::GetSerializedSize() const [member function]
4110
    cls.add_method('GetSerializedSize', 
4111
                   'uint32_t', 
4112
                   [], 
4113
                   is_const=True, is_virtual=True)
4114
    ## socket.h (module 'network'): static ns3::TypeId ns3::SocketAddressTag::GetTypeId() [member function]
4115
    cls.add_method('GetTypeId', 
4116
                   'ns3::TypeId', 
4117
                   [], 
4118
                   is_static=True)
4119
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Print(std::ostream & os) const [member function]
4120
    cls.add_method('Print', 
4121
                   'void', 
4122
                   [param('std::ostream &', 'os')], 
4123
                   is_const=True, is_virtual=True)
4124
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Serialize(ns3::TagBuffer i) const [member function]
4125
    cls.add_method('Serialize', 
4126
                   'void', 
4127
                   [param('ns3::TagBuffer', 'i')], 
4128
                   is_const=True, is_virtual=True)
4129
    ## socket.h (module 'network'): void ns3::SocketAddressTag::SetAddress(ns3::Address addr) [member function]
4130
    cls.add_method('SetAddress', 
4131
                   'void', 
4132
                   [param('ns3::Address', 'addr')])
4133
    return
4134
4135
def register_Ns3SocketIpTtlTag_methods(root_module, cls):
4136
    ## socket.h (module 'network'): ns3::SocketIpTtlTag::SocketIpTtlTag(ns3::SocketIpTtlTag const & arg0) [copy constructor]
4137
    cls.add_constructor([param('ns3::SocketIpTtlTag const &', 'arg0')])
4138
    ## socket.h (module 'network'): ns3::SocketIpTtlTag::SocketIpTtlTag() [constructor]
4139
    cls.add_constructor([])
4140
    ## socket.h (module 'network'): void ns3::SocketIpTtlTag::Deserialize(ns3::TagBuffer i) [member function]
4141
    cls.add_method('Deserialize', 
4142
                   'void', 
4143
                   [param('ns3::TagBuffer', 'i')], 
4144
                   is_virtual=True)
4145
    ## socket.h (module 'network'): ns3::TypeId ns3::SocketIpTtlTag::GetInstanceTypeId() const [member function]
4146
    cls.add_method('GetInstanceTypeId', 
4147
                   'ns3::TypeId', 
4148
                   [], 
4149
                   is_const=True, is_virtual=True)
4150
    ## socket.h (module 'network'): uint32_t ns3::SocketIpTtlTag::GetSerializedSize() const [member function]
4151
    cls.add_method('GetSerializedSize', 
4152
                   'uint32_t', 
4153
                   [], 
4154
                   is_const=True, is_virtual=True)
4155
    ## socket.h (module 'network'): uint8_t ns3::SocketIpTtlTag::GetTtl() const [member function]
4156
    cls.add_method('GetTtl', 
4157
                   'uint8_t', 
4158
                   [], 
4159
                   is_const=True)
4160
    ## socket.h (module 'network'): static ns3::TypeId ns3::SocketIpTtlTag::GetTypeId() [member function]
4161
    cls.add_method('GetTypeId', 
4162
                   'ns3::TypeId', 
4163
                   [], 
4164
                   is_static=True)
4165
    ## socket.h (module 'network'): void ns3::SocketIpTtlTag::Print(std::ostream & os) const [member function]
4166
    cls.add_method('Print', 
4167
                   'void', 
4168
                   [param('std::ostream &', 'os')], 
4169
                   is_const=True, is_virtual=True)
4170
    ## socket.h (module 'network'): void ns3::SocketIpTtlTag::Serialize(ns3::TagBuffer i) const [member function]
4171
    cls.add_method('Serialize', 
4172
                   'void', 
4173
                   [param('ns3::TagBuffer', 'i')], 
4174
                   is_const=True, is_virtual=True)
4175
    ## socket.h (module 'network'): void ns3::SocketIpTtlTag::SetTtl(uint8_t ttl) [member function]
4176
    cls.add_method('SetTtl', 
4177
                   'void', 
4178
                   [param('uint8_t', 'ttl')])
4179
    return
4180
4181
def register_Ns3SocketSetDontFragmentTag_methods(root_module, cls):
4182
    ## socket.h (module 'network'): ns3::SocketSetDontFragmentTag::SocketSetDontFragmentTag(ns3::SocketSetDontFragmentTag const & arg0) [copy constructor]
4183
    cls.add_constructor([param('ns3::SocketSetDontFragmentTag const &', 'arg0')])
4184
    ## socket.h (module 'network'): ns3::SocketSetDontFragmentTag::SocketSetDontFragmentTag() [constructor]
4185
    cls.add_constructor([])
4186
    ## socket.h (module 'network'): void ns3::SocketSetDontFragmentTag::Deserialize(ns3::TagBuffer i) [member function]
4187
    cls.add_method('Deserialize', 
4188
                   'void', 
4189
                   [param('ns3::TagBuffer', 'i')], 
4190
                   is_virtual=True)
4191
    ## socket.h (module 'network'): void ns3::SocketSetDontFragmentTag::Disable() [member function]
4192
    cls.add_method('Disable', 
4193
                   'void', 
4194
                   [])
4195
    ## socket.h (module 'network'): void ns3::SocketSetDontFragmentTag::Enable() [member function]
4196
    cls.add_method('Enable', 
4197
                   'void', 
4198
                   [])
4199
    ## socket.h (module 'network'): ns3::TypeId ns3::SocketSetDontFragmentTag::GetInstanceTypeId() const [member function]
4200
    cls.add_method('GetInstanceTypeId', 
4201
                   'ns3::TypeId', 
4202
                   [], 
4203
                   is_const=True, is_virtual=True)
4204
    ## socket.h (module 'network'): uint32_t ns3::SocketSetDontFragmentTag::GetSerializedSize() const [member function]
4205
    cls.add_method('GetSerializedSize', 
4206
                   'uint32_t', 
4207
                   [], 
4208
                   is_const=True, is_virtual=True)
4209
    ## socket.h (module 'network'): static ns3::TypeId ns3::SocketSetDontFragmentTag::GetTypeId() [member function]
4210
    cls.add_method('GetTypeId', 
4211
                   'ns3::TypeId', 
4212
                   [], 
4213
                   is_static=True)
4214
    ## socket.h (module 'network'): bool ns3::SocketSetDontFragmentTag::IsEnabled() const [member function]
4215
    cls.add_method('IsEnabled', 
4216
                   'bool', 
4217
                   [], 
4218
                   is_const=True)
4219
    ## socket.h (module 'network'): void ns3::SocketSetDontFragmentTag::Print(std::ostream & os) const [member function]
4220
    cls.add_method('Print', 
4221
                   'void', 
4222
                   [param('std::ostream &', 'os')], 
4223
                   is_const=True, is_virtual=True)
4224
    ## socket.h (module 'network'): void ns3::SocketSetDontFragmentTag::Serialize(ns3::TagBuffer i) const [member function]
4225
    cls.add_method('Serialize', 
4226
                   'void', 
4227
                   [param('ns3::TagBuffer', 'i')], 
4228
                   is_const=True, is_virtual=True)
4229
    return
4230
4231
def register_Ns3Time_methods(root_module, cls):
1385
def register_Ns3Time_methods(root_module, cls):
4232
    cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right'))
1386
    cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right'))
4233
    cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right'))
1387
    cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right'))
 Lines 4384-4422    Link Here 
4384
                   is_const=True)
1538
                   is_const=True)
4385
    return
1539
    return
4386
1540
4387
def register_Ns3Trailer_methods(root_module, cls):
4388
    cls.add_output_stream_operator()
4389
    ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor]
4390
    cls.add_constructor([])
4391
    ## trailer.h (module 'network'): ns3::Trailer::Trailer(ns3::Trailer const & arg0) [copy constructor]
4392
    cls.add_constructor([param('ns3::Trailer const &', 'arg0')])
4393
    ## trailer.h (module 'network'): uint32_t ns3::Trailer::Deserialize(ns3::Buffer::Iterator end) [member function]
4394
    cls.add_method('Deserialize', 
4395
                   'uint32_t', 
4396
                   [param('ns3::Buffer::Iterator', 'end')], 
4397
                   is_pure_virtual=True, is_virtual=True)
4398
    ## trailer.h (module 'network'): uint32_t ns3::Trailer::GetSerializedSize() const [member function]
4399
    cls.add_method('GetSerializedSize', 
4400
                   'uint32_t', 
4401
                   [], 
4402
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4403
    ## trailer.h (module 'network'): static ns3::TypeId ns3::Trailer::GetTypeId() [member function]
4404
    cls.add_method('GetTypeId', 
4405
                   'ns3::TypeId', 
4406
                   [], 
4407
                   is_static=True)
4408
    ## trailer.h (module 'network'): void ns3::Trailer::Print(std::ostream & os) const [member function]
4409
    cls.add_method('Print', 
4410
                   'void', 
4411
                   [param('std::ostream &', 'os')], 
4412
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4413
    ## trailer.h (module 'network'): void ns3::Trailer::Serialize(ns3::Buffer::Iterator start) const [member function]
4414
    cls.add_method('Serialize', 
4415
                   'void', 
4416
                   [param('ns3::Buffer::Iterator', 'start')], 
4417
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4418
    return
4419
4420
def register_Ns3AttributeAccessor_methods(root_module, cls):
1541
def register_Ns3AttributeAccessor_methods(root_module, cls):
4421
    ## attribute.h (module 'core'): ns3::AttributeAccessor::AttributeAccessor(ns3::AttributeAccessor const & arg0) [copy constructor]
1542
    ## attribute.h (module 'core'): ns3::AttributeAccessor::AttributeAccessor(ns3::AttributeAccessor const & arg0) [copy constructor]
4422
    cls.add_constructor([param('ns3::AttributeAccessor const &', 'arg0')])
1543
    cls.add_constructor([param('ns3::AttributeAccessor const &', 'arg0')])
 Lines 4572-4755    Link Here 
4572
                   is_const=True, visibility='private', is_virtual=True)
1693
                   is_const=True, visibility='private', is_virtual=True)
4573
    return
1694
    return
4574
1695
4575
def register_Ns3EventImpl_methods(root_module, cls):
4576
    ## event-impl.h (module 'core'): ns3::EventImpl::EventImpl(ns3::EventImpl const & arg0) [copy constructor]
4577
    cls.add_constructor([param('ns3::EventImpl const &', 'arg0')])
4578
    ## event-impl.h (module 'core'): ns3::EventImpl::EventImpl() [constructor]
4579
    cls.add_constructor([])
4580
    ## event-impl.h (module 'core'): void ns3::EventImpl::Cancel() [member function]
4581
    cls.add_method('Cancel', 
4582
                   'void', 
4583
                   [])
4584
    ## event-impl.h (module 'core'): void ns3::EventImpl::Invoke() [member function]
4585
    cls.add_method('Invoke', 
4586
                   'void', 
4587
                   [])
4588
    ## event-impl.h (module 'core'): bool ns3::EventImpl::IsCancelled() [member function]
4589
    cls.add_method('IsCancelled', 
4590
                   'bool', 
4591
                   [])
4592
    ## event-impl.h (module 'core'): void ns3::EventImpl::Notify() [member function]
4593
    cls.add_method('Notify', 
4594
                   'void', 
4595
                   [], 
4596
                   is_pure_virtual=True, visibility='protected', is_virtual=True)
4597
    return
4598
4599
def register_Ns3Ipv4_methods(root_module, cls):
4600
    ## ipv4.h (module 'internet'): ns3::Ipv4::Ipv4(ns3::Ipv4 const & arg0) [copy constructor]
4601
    cls.add_constructor([param('ns3::Ipv4 const &', 'arg0')])
4602
    ## ipv4.h (module 'internet'): ns3::Ipv4::Ipv4() [constructor]
4603
    cls.add_constructor([])
4604
    ## ipv4.h (module 'internet'): bool ns3::Ipv4::AddAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function]
4605
    cls.add_method('AddAddress', 
4606
                   'bool', 
4607
                   [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], 
4608
                   is_pure_virtual=True, is_virtual=True)
4609
    ## ipv4.h (module 'internet'): uint32_t ns3::Ipv4::AddInterface(ns3::Ptr<ns3::NetDevice> device) [member function]
4610
    cls.add_method('AddInterface', 
4611
                   'uint32_t', 
4612
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')], 
4613
                   is_pure_virtual=True, is_virtual=True)
4614
    ## ipv4.h (module 'internet'): ns3::Ipv4InterfaceAddress ns3::Ipv4::GetAddress(uint32_t interface, uint32_t addressIndex) const [member function]
4615
    cls.add_method('GetAddress', 
4616
                   'ns3::Ipv4InterfaceAddress', 
4617
                   [param('uint32_t', 'interface'), param('uint32_t', 'addressIndex')], 
4618
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4619
    ## ipv4.h (module 'internet'): int32_t ns3::Ipv4::GetInterfaceForAddress(ns3::Ipv4Address address) const [member function]
4620
    cls.add_method('GetInterfaceForAddress', 
4621
                   'int32_t', 
4622
                   [param('ns3::Ipv4Address', 'address')], 
4623
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4624
    ## ipv4.h (module 'internet'): int32_t ns3::Ipv4::GetInterfaceForDevice(ns3::Ptr<const ns3::NetDevice> device) const [member function]
4625
    cls.add_method('GetInterfaceForDevice', 
4626
                   'int32_t', 
4627
                   [param('ns3::Ptr< ns3::NetDevice const >', 'device')], 
4628
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4629
    ## ipv4.h (module 'internet'): int32_t ns3::Ipv4::GetInterfaceForPrefix(ns3::Ipv4Address address, ns3::Ipv4Mask mask) const [member function]
4630
    cls.add_method('GetInterfaceForPrefix', 
4631
                   'int32_t', 
4632
                   [param('ns3::Ipv4Address', 'address'), param('ns3::Ipv4Mask', 'mask')], 
4633
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4634
    ## ipv4.h (module 'internet'): uint16_t ns3::Ipv4::GetMetric(uint32_t interface) const [member function]
4635
    cls.add_method('GetMetric', 
4636
                   'uint16_t', 
4637
                   [param('uint32_t', 'interface')], 
4638
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4639
    ## ipv4.h (module 'internet'): uint16_t ns3::Ipv4::GetMtu(uint32_t interface) const [member function]
4640
    cls.add_method('GetMtu', 
4641
                   'uint16_t', 
4642
                   [param('uint32_t', 'interface')], 
4643
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4644
    ## ipv4.h (module 'internet'): uint32_t ns3::Ipv4::GetNAddresses(uint32_t interface) const [member function]
4645
    cls.add_method('GetNAddresses', 
4646
                   'uint32_t', 
4647
                   [param('uint32_t', 'interface')], 
4648
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4649
    ## ipv4.h (module 'internet'): uint32_t ns3::Ipv4::GetNInterfaces() const [member function]
4650
    cls.add_method('GetNInterfaces', 
4651
                   'uint32_t', 
4652
                   [], 
4653
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4654
    ## ipv4.h (module 'internet'): ns3::Ptr<ns3::NetDevice> ns3::Ipv4::GetNetDevice(uint32_t interface) [member function]
4655
    cls.add_method('GetNetDevice', 
4656
                   'ns3::Ptr< ns3::NetDevice >', 
4657
                   [param('uint32_t', 'interface')], 
4658
                   is_pure_virtual=True, is_virtual=True)
4659
    ## ipv4.h (module 'internet'): ns3::Ptr<ns3::Ipv4RoutingProtocol> ns3::Ipv4::GetRoutingProtocol() const [member function]
4660
    cls.add_method('GetRoutingProtocol', 
4661
                   'ns3::Ptr< ns3::Ipv4RoutingProtocol >', 
4662
                   [], 
4663
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4664
    ## ipv4.h (module 'internet'): static ns3::TypeId ns3::Ipv4::GetTypeId() [member function]
4665
    cls.add_method('GetTypeId', 
4666
                   'ns3::TypeId', 
4667
                   [], 
4668
                   is_static=True)
4669
    ## ipv4.h (module 'internet'): void ns3::Ipv4::Insert(ns3::Ptr<ns3::Ipv4L4Protocol> protocol) [member function]
4670
    cls.add_method('Insert', 
4671
                   'void', 
4672
                   [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')], 
4673
                   is_pure_virtual=True, is_virtual=True)
4674
    ## ipv4.h (module 'internet'): bool ns3::Ipv4::IsDestinationAddress(ns3::Ipv4Address address, uint32_t iif) const [member function]
4675
    cls.add_method('IsDestinationAddress', 
4676
                   'bool', 
4677
                   [param('ns3::Ipv4Address', 'address'), param('uint32_t', 'iif')], 
4678
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4679
    ## ipv4.h (module 'internet'): bool ns3::Ipv4::IsForwarding(uint32_t interface) const [member function]
4680
    cls.add_method('IsForwarding', 
4681
                   'bool', 
4682
                   [param('uint32_t', 'interface')], 
4683
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4684
    ## ipv4.h (module 'internet'): bool ns3::Ipv4::IsUp(uint32_t interface) const [member function]
4685
    cls.add_method('IsUp', 
4686
                   'bool', 
4687
                   [param('uint32_t', 'interface')], 
4688
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4689
    ## ipv4.h (module 'internet'): bool ns3::Ipv4::RemoveAddress(uint32_t interface, uint32_t addressIndex) [member function]
4690
    cls.add_method('RemoveAddress', 
4691
                   'bool', 
4692
                   [param('uint32_t', 'interface'), param('uint32_t', 'addressIndex')], 
4693
                   is_pure_virtual=True, is_virtual=True)
4694
    ## ipv4.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4::SelectSourceAddress(ns3::Ptr<const ns3::NetDevice> device, ns3::Ipv4Address dst, ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e scope) [member function]
4695
    cls.add_method('SelectSourceAddress', 
4696
                   'ns3::Ipv4Address', 
4697
                   [param('ns3::Ptr< ns3::NetDevice const >', 'device'), param('ns3::Ipv4Address', 'dst'), param('ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e', 'scope')], 
4698
                   is_pure_virtual=True, is_virtual=True)
4699
    ## ipv4.h (module 'internet'): void ns3::Ipv4::Send(ns3::Ptr<ns3::Packet> packet, ns3::Ipv4Address source, ns3::Ipv4Address destination, uint8_t protocol, ns3::Ptr<ns3::Ipv4Route> route) [member function]
4700
    cls.add_method('Send', 
4701
                   'void', 
4702
                   [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'destination'), param('uint8_t', 'protocol'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')], 
4703
                   is_pure_virtual=True, is_virtual=True)
4704
    ## ipv4.h (module 'internet'): void ns3::Ipv4::SetDown(uint32_t interface) [member function]
4705
    cls.add_method('SetDown', 
4706
                   'void', 
4707
                   [param('uint32_t', 'interface')], 
4708
                   is_pure_virtual=True, is_virtual=True)
4709
    ## ipv4.h (module 'internet'): void ns3::Ipv4::SetForwarding(uint32_t interface, bool val) [member function]
4710
    cls.add_method('SetForwarding', 
4711
                   'void', 
4712
                   [param('uint32_t', 'interface'), param('bool', 'val')], 
4713
                   is_pure_virtual=True, is_virtual=True)
4714
    ## ipv4.h (module 'internet'): void ns3::Ipv4::SetMetric(uint32_t interface, uint16_t metric) [member function]
4715
    cls.add_method('SetMetric', 
4716
                   'void', 
4717
                   [param('uint32_t', 'interface'), param('uint16_t', 'metric')], 
4718
                   is_pure_virtual=True, is_virtual=True)
4719
    ## ipv4.h (module 'internet'): void ns3::Ipv4::SetRoutingProtocol(ns3::Ptr<ns3::Ipv4RoutingProtocol> routingProtocol) [member function]
4720
    cls.add_method('SetRoutingProtocol', 
4721
                   'void', 
4722
                   [param('ns3::Ptr< ns3::Ipv4RoutingProtocol >', 'routingProtocol')], 
4723
                   is_pure_virtual=True, is_virtual=True)
4724
    ## ipv4.h (module 'internet'): void ns3::Ipv4::SetUp(uint32_t interface) [member function]
4725
    cls.add_method('SetUp', 
4726
                   'void', 
4727
                   [param('uint32_t', 'interface')], 
4728
                   is_pure_virtual=True, is_virtual=True)
4729
    ## ipv4.h (module 'internet'): ns3::Ipv4::IF_ANY [variable]
4730
    cls.add_static_attribute('IF_ANY', 'uint32_t const', is_const=True)
4731
    ## ipv4.h (module 'internet'): bool ns3::Ipv4::GetIpForward() const [member function]
4732
    cls.add_method('GetIpForward', 
4733
                   'bool', 
4734
                   [], 
4735
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
4736
    ## ipv4.h (module 'internet'): bool ns3::Ipv4::GetWeakEsModel() const [member function]
4737
    cls.add_method('GetWeakEsModel', 
4738
                   'bool', 
4739
                   [], 
4740
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
4741
    ## ipv4.h (module 'internet'): void ns3::Ipv4::SetIpForward(bool forward) [member function]
4742
    cls.add_method('SetIpForward', 
4743
                   'void', 
4744
                   [param('bool', 'forward')], 
4745
                   is_pure_virtual=True, visibility='private', is_virtual=True)
4746
    ## ipv4.h (module 'internet'): void ns3::Ipv4::SetWeakEsModel(bool model) [member function]
4747
    cls.add_method('SetWeakEsModel', 
4748
                   'void', 
4749
                   [param('bool', 'model')], 
4750
                   is_pure_virtual=True, visibility='private', is_virtual=True)
4751
    return
4752
4753
def register_Ns3Ipv4AddressChecker_methods(root_module, cls):
1696
def register_Ns3Ipv4AddressChecker_methods(root_module, cls):
4754
    ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker::Ipv4AddressChecker() [constructor]
1697
    ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker::Ipv4AddressChecker() [constructor]
4755
    cls.add_constructor([])
1698
    cls.add_constructor([])
 Lines 4790-5032    Link Here 
4790
                   [param('ns3::Ipv4Address const &', 'value')])
1733
                   [param('ns3::Ipv4Address const &', 'value')])
4791
    return
1734
    return
4792
1735
4793
def register_Ns3Ipv4L3Protocol_methods(root_module, cls):
4794
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::PROT_NUMBER [variable]
4795
    cls.add_static_attribute('PROT_NUMBER', 'uint16_t const', is_const=True)
4796
    ## ipv4-l3-protocol.h (module 'internet'): static ns3::TypeId ns3::Ipv4L3Protocol::GetTypeId() [member function]
4797
    cls.add_method('GetTypeId', 
4798
                   'ns3::TypeId', 
4799
                   [], 
4800
                   is_static=True)
4801
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::Ipv4L3Protocol() [constructor]
4802
    cls.add_constructor([])
4803
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetNode(ns3::Ptr<ns3::Node> node) [member function]
4804
    cls.add_method('SetNode', 
4805
                   'void', 
4806
                   [param('ns3::Ptr< ns3::Node >', 'node')])
4807
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetRoutingProtocol(ns3::Ptr<ns3::Ipv4RoutingProtocol> routingProtocol) [member function]
4808
    cls.add_method('SetRoutingProtocol', 
4809
                   'void', 
4810
                   [param('ns3::Ptr< ns3::Ipv4RoutingProtocol >', 'routingProtocol')], 
4811
                   is_virtual=True)
4812
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::Ipv4RoutingProtocol> ns3::Ipv4L3Protocol::GetRoutingProtocol() const [member function]
4813
    cls.add_method('GetRoutingProtocol', 
4814
                   'ns3::Ptr< ns3::Ipv4RoutingProtocol >', 
4815
                   [], 
4816
                   is_const=True, is_virtual=True)
4817
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::Socket> ns3::Ipv4L3Protocol::CreateRawSocket() [member function]
4818
    cls.add_method('CreateRawSocket', 
4819
                   'ns3::Ptr< ns3::Socket >', 
4820
                   [])
4821
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::DeleteRawSocket(ns3::Ptr<ns3::Socket> socket) [member function]
4822
    cls.add_method('DeleteRawSocket', 
4823
                   'void', 
4824
                   [param('ns3::Ptr< ns3::Socket >', 'socket')])
4825
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Insert(ns3::Ptr<ns3::Ipv4L4Protocol> protocol) [member function]
4826
    cls.add_method('Insert', 
4827
                   'void', 
4828
                   [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')], 
4829
                   is_virtual=True)
4830
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::Ipv4L4Protocol> ns3::Ipv4L3Protocol::GetProtocol(int protocolNumber) const [member function]
4831
    cls.add_method('GetProtocol', 
4832
                   'ns3::Ptr< ns3::Ipv4L4Protocol >', 
4833
                   [param('int', 'protocolNumber')], 
4834
                   is_const=True)
4835
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Remove(ns3::Ptr<ns3::Ipv4L4Protocol> protocol) [member function]
4836
    cls.add_method('Remove', 
4837
                   'void', 
4838
                   [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')])
4839
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetDefaultTtl(uint8_t ttl) [member function]
4840
    cls.add_method('SetDefaultTtl', 
4841
                   'void', 
4842
                   [param('uint8_t', 'ttl')])
4843
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Receive(ns3::Ptr<ns3::NetDevice> device, ns3::Ptr<const ns3::Packet> p, uint16_t protocol, ns3::Address const & from, ns3::Address const & to, ns3::NetDevice::PacketType packetType) [member function]
4844
    cls.add_method('Receive', 
4845
                   'void', 
4846
                   [param('ns3::Ptr< ns3::NetDevice >', 'device'), param('ns3::Ptr< ns3::Packet const >', 'p'), param('uint16_t', 'protocol'), param('ns3::Address const &', 'from'), param('ns3::Address const &', 'to'), param('ns3::NetDevice::PacketType', 'packetType')])
4847
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Send(ns3::Ptr<ns3::Packet> packet, ns3::Ipv4Address source, ns3::Ipv4Address destination, uint8_t protocol, ns3::Ptr<ns3::Ipv4Route> route) [member function]
4848
    cls.add_method('Send', 
4849
                   'void', 
4850
                   [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'destination'), param('uint8_t', 'protocol'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')], 
4851
                   is_virtual=True)
4852
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SendWithHeader(ns3::Ptr<ns3::Packet> packet, ns3::Ipv4Header ipHeader, ns3::Ptr<ns3::Ipv4Route> route) [member function]
4853
    cls.add_method('SendWithHeader', 
4854
                   'void', 
4855
                   [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Header', 'ipHeader'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')])
4856
    ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::AddInterface(ns3::Ptr<ns3::NetDevice> device) [member function]
4857
    cls.add_method('AddInterface', 
4858
                   'uint32_t', 
4859
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')], 
4860
                   is_virtual=True)
4861
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::Ipv4Interface> ns3::Ipv4L3Protocol::GetInterface(uint32_t i) const [member function]
4862
    cls.add_method('GetInterface', 
4863
                   'ns3::Ptr< ns3::Ipv4Interface >', 
4864
                   [param('uint32_t', 'i')], 
4865
                   is_const=True)
4866
    ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::GetNInterfaces() const [member function]
4867
    cls.add_method('GetNInterfaces', 
4868
                   'uint32_t', 
4869
                   [], 
4870
                   is_const=True, is_virtual=True)
4871
    ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForAddress(ns3::Ipv4Address addr) const [member function]
4872
    cls.add_method('GetInterfaceForAddress', 
4873
                   'int32_t', 
4874
                   [param('ns3::Ipv4Address', 'addr')], 
4875
                   is_const=True, is_virtual=True)
4876
    ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForPrefix(ns3::Ipv4Address addr, ns3::Ipv4Mask mask) const [member function]
4877
    cls.add_method('GetInterfaceForPrefix', 
4878
                   'int32_t', 
4879
                   [param('ns3::Ipv4Address', 'addr'), param('ns3::Ipv4Mask', 'mask')], 
4880
                   is_const=True, is_virtual=True)
4881
    ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForDevice(ns3::Ptr<const ns3::NetDevice> device) const [member function]
4882
    cls.add_method('GetInterfaceForDevice', 
4883
                   'int32_t', 
4884
                   [param('ns3::Ptr< ns3::NetDevice const >', 'device')], 
4885
                   is_const=True, is_virtual=True)
4886
    ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsDestinationAddress(ns3::Ipv4Address address, uint32_t iif) const [member function]
4887
    cls.add_method('IsDestinationAddress', 
4888
                   'bool', 
4889
                   [param('ns3::Ipv4Address', 'address'), param('uint32_t', 'iif')], 
4890
                   is_const=True, is_virtual=True)
4891
    ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::AddAddress(uint32_t i, ns3::Ipv4InterfaceAddress address) [member function]
4892
    cls.add_method('AddAddress', 
4893
                   'bool', 
4894
                   [param('uint32_t', 'i'), param('ns3::Ipv4InterfaceAddress', 'address')], 
4895
                   is_virtual=True)
4896
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4InterfaceAddress ns3::Ipv4L3Protocol::GetAddress(uint32_t interfaceIndex, uint32_t addressIndex) const [member function]
4897
    cls.add_method('GetAddress', 
4898
                   'ns3::Ipv4InterfaceAddress', 
4899
                   [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], 
4900
                   is_const=True, is_virtual=True)
4901
    ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::GetNAddresses(uint32_t interface) const [member function]
4902
    cls.add_method('GetNAddresses', 
4903
                   'uint32_t', 
4904
                   [param('uint32_t', 'interface')], 
4905
                   is_const=True, is_virtual=True)
4906
    ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::RemoveAddress(uint32_t interfaceIndex, uint32_t addressIndex) [member function]
4907
    cls.add_method('RemoveAddress', 
4908
                   'bool', 
4909
                   [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], 
4910
                   is_virtual=True)
4911
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4L3Protocol::SelectSourceAddress(ns3::Ptr<const ns3::NetDevice> device, ns3::Ipv4Address dst, ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e scope) [member function]
4912
    cls.add_method('SelectSourceAddress', 
4913
                   'ns3::Ipv4Address', 
4914
                   [param('ns3::Ptr< ns3::NetDevice const >', 'device'), param('ns3::Ipv4Address', 'dst'), param('ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e', 'scope')], 
4915
                   is_virtual=True)
4916
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetMetric(uint32_t i, uint16_t metric) [member function]
4917
    cls.add_method('SetMetric', 
4918
                   'void', 
4919
                   [param('uint32_t', 'i'), param('uint16_t', 'metric')], 
4920
                   is_virtual=True)
4921
    ## ipv4-l3-protocol.h (module 'internet'): uint16_t ns3::Ipv4L3Protocol::GetMetric(uint32_t i) const [member function]
4922
    cls.add_method('GetMetric', 
4923
                   'uint16_t', 
4924
                   [param('uint32_t', 'i')], 
4925
                   is_const=True, is_virtual=True)
4926
    ## ipv4-l3-protocol.h (module 'internet'): uint16_t ns3::Ipv4L3Protocol::GetMtu(uint32_t i) const [member function]
4927
    cls.add_method('GetMtu', 
4928
                   'uint16_t', 
4929
                   [param('uint32_t', 'i')], 
4930
                   is_const=True, is_virtual=True)
4931
    ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsUp(uint32_t i) const [member function]
4932
    cls.add_method('IsUp', 
4933
                   'bool', 
4934
                   [param('uint32_t', 'i')], 
4935
                   is_const=True, is_virtual=True)
4936
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetUp(uint32_t i) [member function]
4937
    cls.add_method('SetUp', 
4938
                   'void', 
4939
                   [param('uint32_t', 'i')], 
4940
                   is_virtual=True)
4941
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetDown(uint32_t i) [member function]
4942
    cls.add_method('SetDown', 
4943
                   'void', 
4944
                   [param('uint32_t', 'i')], 
4945
                   is_virtual=True)
4946
    ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsForwarding(uint32_t i) const [member function]
4947
    cls.add_method('IsForwarding', 
4948
                   'bool', 
4949
                   [param('uint32_t', 'i')], 
4950
                   is_const=True, is_virtual=True)
4951
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetForwarding(uint32_t i, bool val) [member function]
4952
    cls.add_method('SetForwarding', 
4953
                   'void', 
4954
                   [param('uint32_t', 'i'), param('bool', 'val')], 
4955
                   is_virtual=True)
4956
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::NetDevice> ns3::Ipv4L3Protocol::GetNetDevice(uint32_t i) [member function]
4957
    cls.add_method('GetNetDevice', 
4958
                   'ns3::Ptr< ns3::NetDevice >', 
4959
                   [param('uint32_t', 'i')], 
4960
                   is_virtual=True)
4961
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::DoDispose() [member function]
4962
    cls.add_method('DoDispose', 
4963
                   'void', 
4964
                   [], 
4965
                   visibility='protected', is_virtual=True)
4966
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::NotifyNewAggregate() [member function]
4967
    cls.add_method('NotifyNewAggregate', 
4968
                   'void', 
4969
                   [], 
4970
                   visibility='protected', is_virtual=True)
4971
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetIpForward(bool forward) [member function]
4972
    cls.add_method('SetIpForward', 
4973
                   'void', 
4974
                   [param('bool', 'forward')], 
4975
                   visibility='private', is_virtual=True)
4976
    ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::GetIpForward() const [member function]
4977
    cls.add_method('GetIpForward', 
4978
                   'bool', 
4979
                   [], 
4980
                   is_const=True, visibility='private', is_virtual=True)
4981
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetWeakEsModel(bool model) [member function]
4982
    cls.add_method('SetWeakEsModel', 
4983
                   'void', 
4984
                   [param('bool', 'model')], 
4985
                   visibility='private', is_virtual=True)
4986
    ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::GetWeakEsModel() const [member function]
4987
    cls.add_method('GetWeakEsModel', 
4988
                   'bool', 
4989
                   [], 
4990
                   is_const=True, visibility='private', is_virtual=True)
4991
    return
4992
4993
def register_Ns3Ipv4L4Protocol_methods(root_module, cls):
4994
    ## ipv4-l4-protocol.h (module 'internet'): ns3::Ipv4L4Protocol::Ipv4L4Protocol() [constructor]
4995
    cls.add_constructor([])
4996
    ## ipv4-l4-protocol.h (module 'internet'): ns3::Ipv4L4Protocol::Ipv4L4Protocol(ns3::Ipv4L4Protocol const & arg0) [copy constructor]
4997
    cls.add_constructor([param('ns3::Ipv4L4Protocol const &', 'arg0')])
4998
    ## ipv4-l4-protocol.h (module 'internet'): ns3::Callback<void,ns3::Ptr<ns3::Packet>,ns3::Ipv4Address,ns3::Ipv4Address,unsigned char,ns3::Ptr<ns3::Ipv4Route>,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ns3::Ipv4L4Protocol::GetDownTarget() const [member function]
4999
    cls.add_method('GetDownTarget', 
5000
                   'ns3::Callback< void, ns3::Ptr< ns3::Packet >, ns3::Ipv4Address, ns3::Ipv4Address, unsigned char, ns3::Ptr< ns3::Ipv4Route >, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 
5001
                   [], 
5002
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5003
    ## ipv4-l4-protocol.h (module 'internet'): int ns3::Ipv4L4Protocol::GetProtocolNumber() const [member function]
5004
    cls.add_method('GetProtocolNumber', 
5005
                   'int', 
5006
                   [], 
5007
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5008
    ## ipv4-l4-protocol.h (module 'internet'): static ns3::TypeId ns3::Ipv4L4Protocol::GetTypeId() [member function]
5009
    cls.add_method('GetTypeId', 
5010
                   'ns3::TypeId', 
5011
                   [], 
5012
                   is_static=True)
5013
    ## ipv4-l4-protocol.h (module 'internet'): ns3::Ipv4L4Protocol::RxStatus ns3::Ipv4L4Protocol::Receive(ns3::Ptr<ns3::Packet> p, ns3::Ipv4Header const & header, ns3::Ptr<ns3::Ipv4Interface> incomingInterface) [member function]
5014
    cls.add_method('Receive', 
5015
                   'ns3::Ipv4L4Protocol::RxStatus', 
5016
                   [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('ns3::Ptr< ns3::Ipv4Interface >', 'incomingInterface')], 
5017
                   is_pure_virtual=True, is_virtual=True)
5018
    ## ipv4-l4-protocol.h (module 'internet'): void ns3::Ipv4L4Protocol::ReceiveIcmp(ns3::Ipv4Address icmpSource, uint8_t icmpTtl, uint8_t icmpType, uint8_t icmpCode, uint32_t icmpInfo, ns3::Ipv4Address payloadSource, ns3::Ipv4Address payloadDestination, uint8_t const * payload) [member function]
5019
    cls.add_method('ReceiveIcmp', 
5020
                   'void', 
5021
                   [param('ns3::Ipv4Address', 'icmpSource'), param('uint8_t', 'icmpTtl'), param('uint8_t', 'icmpType'), param('uint8_t', 'icmpCode'), param('uint32_t', 'icmpInfo'), param('ns3::Ipv4Address', 'payloadSource'), param('ns3::Ipv4Address', 'payloadDestination'), param('uint8_t const *', 'payload')], 
5022
                   is_virtual=True)
5023
    ## ipv4-l4-protocol.h (module 'internet'): void ns3::Ipv4L4Protocol::SetDownTarget(ns3::Callback<void,ns3::Ptr<ns3::Packet>,ns3::Ipv4Address,ns3::Ipv4Address,unsigned char,ns3::Ptr<ns3::Ipv4Route>,ns3::empty,ns3::empty,ns3::empty,ns3::empty> cb) [member function]
5024
    cls.add_method('SetDownTarget', 
5025
                   'void', 
5026
                   [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, ns3::Ipv4Address, ns3::Ipv4Address, unsigned char, ns3::Ptr< ns3::Ipv4Route >, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], 
5027
                   is_pure_virtual=True, is_virtual=True)
5028
    return
5029
5030
def register_Ns3Ipv4MaskChecker_methods(root_module, cls):
1736
def register_Ns3Ipv4MaskChecker_methods(root_module, cls):
5031
    ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker::Ipv4MaskChecker() [constructor]
1737
    ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker::Ipv4MaskChecker() [constructor]
5032
    cls.add_constructor([])
1738
    cls.add_constructor([])
 Lines 5067-5349    Link Here 
5067
                   [param('ns3::Ipv4Mask const &', 'value')])
1773
                   [param('ns3::Ipv4Mask const &', 'value')])
5068
    return
1774
    return
5069
1775
5070
def register_Ns3Ipv4MulticastRoute_methods(root_module, cls):
5071
    ## ipv4-route.h (module 'internet'): ns3::Ipv4MulticastRoute::Ipv4MulticastRoute(ns3::Ipv4MulticastRoute const & arg0) [copy constructor]
5072
    cls.add_constructor([param('ns3::Ipv4MulticastRoute const &', 'arg0')])
5073
    ## ipv4-route.h (module 'internet'): ns3::Ipv4MulticastRoute::Ipv4MulticastRoute() [constructor]
5074
    cls.add_constructor([])
5075
    ## ipv4-route.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4MulticastRoute::GetGroup() const [member function]
5076
    cls.add_method('GetGroup', 
5077
                   'ns3::Ipv4Address', 
5078
                   [], 
5079
                   is_const=True)
5080
    ## ipv4-route.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4MulticastRoute::GetOrigin() const [member function]
5081
    cls.add_method('GetOrigin', 
5082
                   'ns3::Ipv4Address', 
5083
                   [], 
5084
                   is_const=True)
5085
    ## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetOutputTtl(uint32_t oif) const [member function]
5086
    cls.add_method('GetOutputTtl', 
5087
                   'uint32_t', 
5088
                   [param('uint32_t', 'oif')], 
5089
                   is_const=True)
5090
    ## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetParent() const [member function]
5091
    cls.add_method('GetParent', 
5092
                   'uint32_t', 
5093
                   [], 
5094
                   is_const=True)
5095
    ## ipv4-route.h (module 'internet'): void ns3::Ipv4MulticastRoute::SetGroup(ns3::Ipv4Address const group) [member function]
5096
    cls.add_method('SetGroup', 
5097
                   'void', 
5098
                   [param('ns3::Ipv4Address const', 'group')])
5099
    ## ipv4-route.h (module 'internet'): void ns3::Ipv4MulticastRoute::SetOrigin(ns3::Ipv4Address const origin) [member function]
5100
    cls.add_method('SetOrigin', 
5101
                   'void', 
5102
                   [param('ns3::Ipv4Address const', 'origin')])
5103
    ## ipv4-route.h (module 'internet'): void ns3::Ipv4MulticastRoute::SetOutputTtl(uint32_t oif, uint32_t ttl) [member function]
5104
    cls.add_method('SetOutputTtl', 
5105
                   'void', 
5106
                   [param('uint32_t', 'oif'), param('uint32_t', 'ttl')])
5107
    ## ipv4-route.h (module 'internet'): void ns3::Ipv4MulticastRoute::SetParent(uint32_t iif) [member function]
5108
    cls.add_method('SetParent', 
5109
                   'void', 
5110
                   [param('uint32_t', 'iif')])
5111
    ## ipv4-route.h (module 'internet'): ns3::Ipv4MulticastRoute::MAX_INTERFACES [variable]
5112
    cls.add_static_attribute('MAX_INTERFACES', 'uint32_t const', is_const=True)
5113
    ## ipv4-route.h (module 'internet'): ns3::Ipv4MulticastRoute::MAX_TTL [variable]
5114
    cls.add_static_attribute('MAX_TTL', 'uint32_t const', is_const=True)
5115
    return
5116
5117
def register_Ns3Ipv4Route_methods(root_module, cls):
5118
    cls.add_output_stream_operator()
5119
    ## ipv4-route.h (module 'internet'): ns3::Ipv4Route::Ipv4Route(ns3::Ipv4Route const & arg0) [copy constructor]
5120
    cls.add_constructor([param('ns3::Ipv4Route const &', 'arg0')])
5121
    ## ipv4-route.h (module 'internet'): ns3::Ipv4Route::Ipv4Route() [constructor]
5122
    cls.add_constructor([])
5123
    ## ipv4-route.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4Route::GetDestination() const [member function]
5124
    cls.add_method('GetDestination', 
5125
                   'ns3::Ipv4Address', 
5126
                   [], 
5127
                   is_const=True)
5128
    ## ipv4-route.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4Route::GetGateway() const [member function]
5129
    cls.add_method('GetGateway', 
5130
                   'ns3::Ipv4Address', 
5131
                   [], 
5132
                   is_const=True)
5133
    ## ipv4-route.h (module 'internet'): ns3::Ptr<ns3::NetDevice> ns3::Ipv4Route::GetOutputDevice() const [member function]
5134
    cls.add_method('GetOutputDevice', 
5135
                   'ns3::Ptr< ns3::NetDevice >', 
5136
                   [], 
5137
                   is_const=True)
5138
    ## ipv4-route.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4Route::GetSource() const [member function]
5139
    cls.add_method('GetSource', 
5140
                   'ns3::Ipv4Address', 
5141
                   [], 
5142
                   is_const=True)
5143
    ## ipv4-route.h (module 'internet'): void ns3::Ipv4Route::SetDestination(ns3::Ipv4Address dest) [member function]
5144
    cls.add_method('SetDestination', 
5145
                   'void', 
5146
                   [param('ns3::Ipv4Address', 'dest')])
5147
    ## ipv4-route.h (module 'internet'): void ns3::Ipv4Route::SetGateway(ns3::Ipv4Address gw) [member function]
5148
    cls.add_method('SetGateway', 
5149
                   'void', 
5150
                   [param('ns3::Ipv4Address', 'gw')])
5151
    ## ipv4-route.h (module 'internet'): void ns3::Ipv4Route::SetOutputDevice(ns3::Ptr<ns3::NetDevice> outputDevice) [member function]
5152
    cls.add_method('SetOutputDevice', 
5153
                   'void', 
5154
                   [param('ns3::Ptr< ns3::NetDevice >', 'outputDevice')])
5155
    ## ipv4-route.h (module 'internet'): void ns3::Ipv4Route::SetSource(ns3::Ipv4Address src) [member function]
5156
    cls.add_method('SetSource', 
5157
                   'void', 
5158
                   [param('ns3::Ipv4Address', 'src')])
5159
    return
5160
5161
def register_Ns3Ipv4RoutingProtocol_methods(root_module, cls):
5162
    ## ipv4-routing-protocol.h (module 'internet'): ns3::Ipv4RoutingProtocol::Ipv4RoutingProtocol() [constructor]
5163
    cls.add_constructor([])
5164
    ## ipv4-routing-protocol.h (module 'internet'): ns3::Ipv4RoutingProtocol::Ipv4RoutingProtocol(ns3::Ipv4RoutingProtocol const & arg0) [copy constructor]
5165
    cls.add_constructor([param('ns3::Ipv4RoutingProtocol const &', 'arg0')])
5166
    ## ipv4-routing-protocol.h (module 'internet'): static ns3::TypeId ns3::Ipv4RoutingProtocol::GetTypeId() [member function]
5167
    cls.add_method('GetTypeId', 
5168
                   'ns3::TypeId', 
5169
                   [], 
5170
                   is_static=True)
5171
    ## ipv4-routing-protocol.h (module 'internet'): void ns3::Ipv4RoutingProtocol::NotifyAddAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function]
5172
    cls.add_method('NotifyAddAddress', 
5173
                   'void', 
5174
                   [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], 
5175
                   is_pure_virtual=True, is_virtual=True)
5176
    ## ipv4-routing-protocol.h (module 'internet'): void ns3::Ipv4RoutingProtocol::NotifyInterfaceDown(uint32_t interface) [member function]
5177
    cls.add_method('NotifyInterfaceDown', 
5178
                   'void', 
5179
                   [param('uint32_t', 'interface')], 
5180
                   is_pure_virtual=True, is_virtual=True)
5181
    ## ipv4-routing-protocol.h (module 'internet'): void ns3::Ipv4RoutingProtocol::NotifyInterfaceUp(uint32_t interface) [member function]
5182
    cls.add_method('NotifyInterfaceUp', 
5183
                   'void', 
5184
                   [param('uint32_t', 'interface')], 
5185
                   is_pure_virtual=True, is_virtual=True)
5186
    ## ipv4-routing-protocol.h (module 'internet'): void ns3::Ipv4RoutingProtocol::NotifyRemoveAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function]
5187
    cls.add_method('NotifyRemoveAddress', 
5188
                   'void', 
5189
                   [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], 
5190
                   is_pure_virtual=True, is_virtual=True)
5191
    ## ipv4-routing-protocol.h (module 'internet'): void ns3::Ipv4RoutingProtocol::PrintRoutingTable(ns3::Ptr<ns3::OutputStreamWrapper> stream) const [member function]
5192
    cls.add_method('PrintRoutingTable', 
5193
                   'void', 
5194
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')], 
5195
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5196
    ## ipv4-routing-protocol.h (module 'internet'): bool ns3::Ipv4RoutingProtocol::RouteInput(ns3::Ptr<const ns3::Packet> p, ns3::Ipv4Header const & header, ns3::Ptr<const ns3::NetDevice> idev, ns3::Callback<void,ns3::Ptr<ns3::Ipv4Route>,ns3::Ptr<const ns3::Packet>,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ucb, ns3::Callback<void,ns3::Ptr<ns3::Ipv4MulticastRoute>,ns3::Ptr<const ns3::Packet>,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> mcb, ns3::Callback<void,ns3::Ptr<const ns3::Packet>,const ns3::Ipv4Header&,unsigned int,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> lcb, ns3::Callback<void,ns3::Ptr<const ns3::Packet>,const ns3::Ipv4Header&,ns3::Socket::SocketErrno,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ecb) [member function]
5197
    cls.add_method('RouteInput', 
5198
                   'bool', 
5199
                   [param('ns3::Ptr< ns3::Packet const >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('ns3::Ptr< ns3::NetDevice const >', 'idev'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv4Route >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ucb'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv4MulticastRoute >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'mcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'lcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ecb')], 
5200
                   is_pure_virtual=True, is_virtual=True)
5201
    ## ipv4-routing-protocol.h (module 'internet'): ns3::Ptr<ns3::Ipv4Route> ns3::Ipv4RoutingProtocol::RouteOutput(ns3::Ptr<ns3::Packet> p, ns3::Ipv4Header const & header, ns3::Ptr<ns3::NetDevice> oif, ns3::Socket::SocketErrno & sockerr) [member function]
5202
    cls.add_method('RouteOutput', 
5203
                   'ns3::Ptr< ns3::Ipv4Route >', 
5204
                   [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('ns3::Ptr< ns3::NetDevice >', 'oif'), param('ns3::Socket::SocketErrno &', 'sockerr')], 
5205
                   is_pure_virtual=True, is_virtual=True)
5206
    ## ipv4-routing-protocol.h (module 'internet'): void ns3::Ipv4RoutingProtocol::SetIpv4(ns3::Ptr<ns3::Ipv4> ipv4) [member function]
5207
    cls.add_method('SetIpv4', 
5208
                   'void', 
5209
                   [param('ns3::Ptr< ns3::Ipv4 >', 'ipv4')], 
5210
                   is_pure_virtual=True, is_virtual=True)
5211
    return
5212
5213
def register_Ns3Ipv6_methods(root_module, cls):
5214
    ## ipv6.h (module 'internet'): ns3::Ipv6::Ipv6(ns3::Ipv6 const & arg0) [copy constructor]
5215
    cls.add_constructor([param('ns3::Ipv6 const &', 'arg0')])
5216
    ## ipv6.h (module 'internet'): ns3::Ipv6::Ipv6() [constructor]
5217
    cls.add_constructor([])
5218
    ## ipv6.h (module 'internet'): bool ns3::Ipv6::AddAddress(uint32_t interface, ns3::Ipv6InterfaceAddress address) [member function]
5219
    cls.add_method('AddAddress', 
5220
                   'bool', 
5221
                   [param('uint32_t', 'interface'), param('ns3::Ipv6InterfaceAddress', 'address')], 
5222
                   is_pure_virtual=True, is_virtual=True)
5223
    ## ipv6.h (module 'internet'): uint32_t ns3::Ipv6::AddInterface(ns3::Ptr<ns3::NetDevice> device) [member function]
5224
    cls.add_method('AddInterface', 
5225
                   'uint32_t', 
5226
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')], 
5227
                   is_pure_virtual=True, is_virtual=True)
5228
    ## ipv6.h (module 'internet'): ns3::Ipv6InterfaceAddress ns3::Ipv6::GetAddress(uint32_t interface, uint32_t addressIndex) const [member function]
5229
    cls.add_method('GetAddress', 
5230
                   'ns3::Ipv6InterfaceAddress', 
5231
                   [param('uint32_t', 'interface'), param('uint32_t', 'addressIndex')], 
5232
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5233
    ## ipv6.h (module 'internet'): int32_t ns3::Ipv6::GetInterfaceForAddress(ns3::Ipv6Address address) const [member function]
5234
    cls.add_method('GetInterfaceForAddress', 
5235
                   'int32_t', 
5236
                   [param('ns3::Ipv6Address', 'address')], 
5237
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5238
    ## ipv6.h (module 'internet'): int32_t ns3::Ipv6::GetInterfaceForDevice(ns3::Ptr<const ns3::NetDevice> device) const [member function]
5239
    cls.add_method('GetInterfaceForDevice', 
5240
                   'int32_t', 
5241
                   [param('ns3::Ptr< ns3::NetDevice const >', 'device')], 
5242
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5243
    ## ipv6.h (module 'internet'): int32_t ns3::Ipv6::GetInterfaceForPrefix(ns3::Ipv6Address address, ns3::Ipv6Prefix mask) const [member function]
5244
    cls.add_method('GetInterfaceForPrefix', 
5245
                   'int32_t', 
5246
                   [param('ns3::Ipv6Address', 'address'), param('ns3::Ipv6Prefix', 'mask')], 
5247
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5248
    ## ipv6.h (module 'internet'): uint16_t ns3::Ipv6::GetMetric(uint32_t interface) const [member function]
5249
    cls.add_method('GetMetric', 
5250
                   'uint16_t', 
5251
                   [param('uint32_t', 'interface')], 
5252
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5253
    ## ipv6.h (module 'internet'): uint16_t ns3::Ipv6::GetMtu(uint32_t interface) const [member function]
5254
    cls.add_method('GetMtu', 
5255
                   'uint16_t', 
5256
                   [param('uint32_t', 'interface')], 
5257
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5258
    ## ipv6.h (module 'internet'): uint32_t ns3::Ipv6::GetNAddresses(uint32_t interface) const [member function]
5259
    cls.add_method('GetNAddresses', 
5260
                   'uint32_t', 
5261
                   [param('uint32_t', 'interface')], 
5262
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5263
    ## ipv6.h (module 'internet'): uint32_t ns3::Ipv6::GetNInterfaces() const [member function]
5264
    cls.add_method('GetNInterfaces', 
5265
                   'uint32_t', 
5266
                   [], 
5267
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5268
    ## ipv6.h (module 'internet'): ns3::Ptr<ns3::NetDevice> ns3::Ipv6::GetNetDevice(uint32_t interface) [member function]
5269
    cls.add_method('GetNetDevice', 
5270
                   'ns3::Ptr< ns3::NetDevice >', 
5271
                   [param('uint32_t', 'interface')], 
5272
                   is_pure_virtual=True, is_virtual=True)
5273
    ## ipv6.h (module 'internet'): ns3::Ptr<ns3::Ipv6RoutingProtocol> ns3::Ipv6::GetRoutingProtocol() const [member function]
5274
    cls.add_method('GetRoutingProtocol', 
5275
                   'ns3::Ptr< ns3::Ipv6RoutingProtocol >', 
5276
                   [], 
5277
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5278
    ## ipv6.h (module 'internet'): static ns3::TypeId ns3::Ipv6::GetTypeId() [member function]
5279
    cls.add_method('GetTypeId', 
5280
                   'ns3::TypeId', 
5281
                   [], 
5282
                   is_static=True)
5283
    ## ipv6.h (module 'internet'): bool ns3::Ipv6::IsForwarding(uint32_t interface) const [member function]
5284
    cls.add_method('IsForwarding', 
5285
                   'bool', 
5286
                   [param('uint32_t', 'interface')], 
5287
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5288
    ## ipv6.h (module 'internet'): bool ns3::Ipv6::IsUp(uint32_t interface) const [member function]
5289
    cls.add_method('IsUp', 
5290
                   'bool', 
5291
                   [param('uint32_t', 'interface')], 
5292
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5293
    ## ipv6.h (module 'internet'): void ns3::Ipv6::RegisterExtensions() [member function]
5294
    cls.add_method('RegisterExtensions', 
5295
                   'void', 
5296
                   [], 
5297
                   is_pure_virtual=True, is_virtual=True)
5298
    ## ipv6.h (module 'internet'): void ns3::Ipv6::RegisterOptions() [member function]
5299
    cls.add_method('RegisterOptions', 
5300
                   'void', 
5301
                   [], 
5302
                   is_pure_virtual=True, is_virtual=True)
5303
    ## ipv6.h (module 'internet'): bool ns3::Ipv6::RemoveAddress(uint32_t interface, uint32_t addressIndex) [member function]
5304
    cls.add_method('RemoveAddress', 
5305
                   'bool', 
5306
                   [param('uint32_t', 'interface'), param('uint32_t', 'addressIndex')], 
5307
                   is_pure_virtual=True, is_virtual=True)
5308
    ## ipv6.h (module 'internet'): void ns3::Ipv6::SetDown(uint32_t interface) [member function]
5309
    cls.add_method('SetDown', 
5310
                   'void', 
5311
                   [param('uint32_t', 'interface')], 
5312
                   is_pure_virtual=True, is_virtual=True)
5313
    ## ipv6.h (module 'internet'): void ns3::Ipv6::SetForwarding(uint32_t interface, bool val) [member function]
5314
    cls.add_method('SetForwarding', 
5315
                   'void', 
5316
                   [param('uint32_t', 'interface'), param('bool', 'val')], 
5317
                   is_pure_virtual=True, is_virtual=True)
5318
    ## ipv6.h (module 'internet'): void ns3::Ipv6::SetMetric(uint32_t interface, uint16_t metric) [member function]
5319
    cls.add_method('SetMetric', 
5320
                   'void', 
5321
                   [param('uint32_t', 'interface'), param('uint16_t', 'metric')], 
5322
                   is_pure_virtual=True, is_virtual=True)
5323
    ## ipv6.h (module 'internet'): void ns3::Ipv6::SetRoutingProtocol(ns3::Ptr<ns3::Ipv6RoutingProtocol> routingProtocol) [member function]
5324
    cls.add_method('SetRoutingProtocol', 
5325
                   'void', 
5326
                   [param('ns3::Ptr< ns3::Ipv6RoutingProtocol >', 'routingProtocol')], 
5327
                   is_pure_virtual=True, is_virtual=True)
5328
    ## ipv6.h (module 'internet'): void ns3::Ipv6::SetUp(uint32_t interface) [member function]
5329
    cls.add_method('SetUp', 
5330
                   'void', 
5331
                   [param('uint32_t', 'interface')], 
5332
                   is_pure_virtual=True, is_virtual=True)
5333
    ## ipv6.h (module 'internet'): ns3::Ipv6::IF_ANY [variable]
5334
    cls.add_static_attribute('IF_ANY', 'uint32_t const', is_const=True)
5335
    ## ipv6.h (module 'internet'): bool ns3::Ipv6::GetIpForward() const [member function]
5336
    cls.add_method('GetIpForward', 
5337
                   'bool', 
5338
                   [], 
5339
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
5340
    ## ipv6.h (module 'internet'): void ns3::Ipv6::SetIpForward(bool forward) [member function]
5341
    cls.add_method('SetIpForward', 
5342
                   'void', 
5343
                   [param('bool', 'forward')], 
5344
                   is_pure_virtual=True, visibility='private', is_virtual=True)
5345
    return
5346
5347
def register_Ns3Ipv6AddressChecker_methods(root_module, cls):
1776
def register_Ns3Ipv6AddressChecker_methods(root_module, cls):
5348
    ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker::Ipv6AddressChecker() [constructor]
1777
    ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker::Ipv6AddressChecker() [constructor]
5349
    cls.add_constructor([])
1778
    cls.add_constructor([])
 Lines 5384-5586    Link Here 
5384
                   [param('ns3::Ipv6Address const &', 'value')])
1813
                   [param('ns3::Ipv6Address const &', 'value')])
5385
    return
1814
    return
5386
1815
5387
def register_Ns3Ipv6L3Protocol_methods(root_module, cls):
5388
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ipv6L3Protocol::PROT_NUMBER [variable]
5389
    cls.add_static_attribute('PROT_NUMBER', 'uint16_t const', is_const=True)
5390
    ## ipv6-l3-protocol.h (module 'internet'): static ns3::TypeId ns3::Ipv6L3Protocol::GetTypeId() [member function]
5391
    cls.add_method('GetTypeId', 
5392
                   'ns3::TypeId', 
5393
                   [], 
5394
                   is_static=True)
5395
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ipv6L3Protocol::Ipv6L3Protocol() [constructor]
5396
    cls.add_constructor([])
5397
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::SetNode(ns3::Ptr<ns3::Node> node) [member function]
5398
    cls.add_method('SetNode', 
5399
                   'void', 
5400
                   [param('ns3::Ptr< ns3::Node >', 'node')])
5401
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::Insert(ns3::Ptr<ns3::Ipv6L4Protocol> protocol) [member function]
5402
    cls.add_method('Insert', 
5403
                   'void', 
5404
                   [param('ns3::Ptr< ns3::Ipv6L4Protocol >', 'protocol')])
5405
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::Remove(ns3::Ptr<ns3::Ipv6L4Protocol> protocol) [member function]
5406
    cls.add_method('Remove', 
5407
                   'void', 
5408
                   [param('ns3::Ptr< ns3::Ipv6L4Protocol >', 'protocol')])
5409
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::Ipv6L4Protocol> ns3::Ipv6L3Protocol::GetProtocol(int protocolNumber) const [member function]
5410
    cls.add_method('GetProtocol', 
5411
                   'ns3::Ptr< ns3::Ipv6L4Protocol >', 
5412
                   [param('int', 'protocolNumber')], 
5413
                   is_const=True)
5414
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::Socket> ns3::Ipv6L3Protocol::CreateRawSocket() [member function]
5415
    cls.add_method('CreateRawSocket', 
5416
                   'ns3::Ptr< ns3::Socket >', 
5417
                   [])
5418
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::DeleteRawSocket(ns3::Ptr<ns3::Socket> socket) [member function]
5419
    cls.add_method('DeleteRawSocket', 
5420
                   'void', 
5421
                   [param('ns3::Ptr< ns3::Socket >', 'socket')])
5422
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::SetDefaultTtl(uint8_t ttl) [member function]
5423
    cls.add_method('SetDefaultTtl', 
5424
                   'void', 
5425
                   [param('uint8_t', 'ttl')])
5426
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::Receive(ns3::Ptr<ns3::NetDevice> device, ns3::Ptr<const ns3::Packet> p, uint16_t protocol, ns3::Address const & from, ns3::Address const & to, ns3::NetDevice::PacketType packetType) [member function]
5427
    cls.add_method('Receive', 
5428
                   'void', 
5429
                   [param('ns3::Ptr< ns3::NetDevice >', 'device'), param('ns3::Ptr< ns3::Packet const >', 'p'), param('uint16_t', 'protocol'), param('ns3::Address const &', 'from'), param('ns3::Address const &', 'to'), param('ns3::NetDevice::PacketType', 'packetType')])
5430
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::Send(ns3::Ptr<ns3::Packet> packet, ns3::Ipv6Address source, ns3::Ipv6Address destination, uint8_t protocol, ns3::Ptr<ns3::Ipv6Route> route) [member function]
5431
    cls.add_method('Send', 
5432
                   'void', 
5433
                   [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv6Address', 'source'), param('ns3::Ipv6Address', 'destination'), param('uint8_t', 'protocol'), param('ns3::Ptr< ns3::Ipv6Route >', 'route')])
5434
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::SetRoutingProtocol(ns3::Ptr<ns3::Ipv6RoutingProtocol> routingProtocol) [member function]
5435
    cls.add_method('SetRoutingProtocol', 
5436
                   'void', 
5437
                   [param('ns3::Ptr< ns3::Ipv6RoutingProtocol >', 'routingProtocol')], 
5438
                   is_virtual=True)
5439
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::Ipv6RoutingProtocol> ns3::Ipv6L3Protocol::GetRoutingProtocol() const [member function]
5440
    cls.add_method('GetRoutingProtocol', 
5441
                   'ns3::Ptr< ns3::Ipv6RoutingProtocol >', 
5442
                   [], 
5443
                   is_const=True, is_virtual=True)
5444
    ## ipv6-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv6L3Protocol::AddInterface(ns3::Ptr<ns3::NetDevice> device) [member function]
5445
    cls.add_method('AddInterface', 
5446
                   'uint32_t', 
5447
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')], 
5448
                   is_virtual=True)
5449
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::Ipv6Interface> ns3::Ipv6L3Protocol::GetInterface(uint32_t i) const [member function]
5450
    cls.add_method('GetInterface', 
5451
                   'ns3::Ptr< ns3::Ipv6Interface >', 
5452
                   [param('uint32_t', 'i')], 
5453
                   is_const=True)
5454
    ## ipv6-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv6L3Protocol::GetNInterfaces() const [member function]
5455
    cls.add_method('GetNInterfaces', 
5456
                   'uint32_t', 
5457
                   [], 
5458
                   is_const=True, is_virtual=True)
5459
    ## ipv6-l3-protocol.h (module 'internet'): int32_t ns3::Ipv6L3Protocol::GetInterfaceForAddress(ns3::Ipv6Address addr) const [member function]
5460
    cls.add_method('GetInterfaceForAddress', 
5461
                   'int32_t', 
5462
                   [param('ns3::Ipv6Address', 'addr')], 
5463
                   is_const=True, is_virtual=True)
5464
    ## ipv6-l3-protocol.h (module 'internet'): int32_t ns3::Ipv6L3Protocol::GetInterfaceForPrefix(ns3::Ipv6Address addr, ns3::Ipv6Prefix mask) const [member function]
5465
    cls.add_method('GetInterfaceForPrefix', 
5466
                   'int32_t', 
5467
                   [param('ns3::Ipv6Address', 'addr'), param('ns3::Ipv6Prefix', 'mask')], 
5468
                   is_const=True, is_virtual=True)
5469
    ## ipv6-l3-protocol.h (module 'internet'): int32_t ns3::Ipv6L3Protocol::GetInterfaceForDevice(ns3::Ptr<const ns3::NetDevice> device) const [member function]
5470
    cls.add_method('GetInterfaceForDevice', 
5471
                   'int32_t', 
5472
                   [param('ns3::Ptr< ns3::NetDevice const >', 'device')], 
5473
                   is_const=True, is_virtual=True)
5474
    ## ipv6-l3-protocol.h (module 'internet'): bool ns3::Ipv6L3Protocol::AddAddress(uint32_t i, ns3::Ipv6InterfaceAddress address) [member function]
5475
    cls.add_method('AddAddress', 
5476
                   'bool', 
5477
                   [param('uint32_t', 'i'), param('ns3::Ipv6InterfaceAddress', 'address')], 
5478
                   is_virtual=True)
5479
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ipv6InterfaceAddress ns3::Ipv6L3Protocol::GetAddress(uint32_t interfaceIndex, uint32_t addressIndex) const [member function]
5480
    cls.add_method('GetAddress', 
5481
                   'ns3::Ipv6InterfaceAddress', 
5482
                   [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], 
5483
                   is_const=True, is_virtual=True)
5484
    ## ipv6-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv6L3Protocol::GetNAddresses(uint32_t interface) const [member function]
5485
    cls.add_method('GetNAddresses', 
5486
                   'uint32_t', 
5487
                   [param('uint32_t', 'interface')], 
5488
                   is_const=True, is_virtual=True)
5489
    ## ipv6-l3-protocol.h (module 'internet'): bool ns3::Ipv6L3Protocol::RemoveAddress(uint32_t interfaceIndex, uint32_t addressIndex) [member function]
5490
    cls.add_method('RemoveAddress', 
5491
                   'bool', 
5492
                   [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], 
5493
                   is_virtual=True)
5494
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::SetMetric(uint32_t i, uint16_t metric) [member function]
5495
    cls.add_method('SetMetric', 
5496
                   'void', 
5497
                   [param('uint32_t', 'i'), param('uint16_t', 'metric')], 
5498
                   is_virtual=True)
5499
    ## ipv6-l3-protocol.h (module 'internet'): uint16_t ns3::Ipv6L3Protocol::GetMetric(uint32_t i) const [member function]
5500
    cls.add_method('GetMetric', 
5501
                   'uint16_t', 
5502
                   [param('uint32_t', 'i')], 
5503
                   is_const=True, is_virtual=True)
5504
    ## ipv6-l3-protocol.h (module 'internet'): uint16_t ns3::Ipv6L3Protocol::GetMtu(uint32_t i) const [member function]
5505
    cls.add_method('GetMtu', 
5506
                   'uint16_t', 
5507
                   [param('uint32_t', 'i')], 
5508
                   is_const=True, is_virtual=True)
5509
    ## ipv6-l3-protocol.h (module 'internet'): bool ns3::Ipv6L3Protocol::IsUp(uint32_t i) const [member function]
5510
    cls.add_method('IsUp', 
5511
                   'bool', 
5512
                   [param('uint32_t', 'i')], 
5513
                   is_const=True, is_virtual=True)
5514
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::SetUp(uint32_t i) [member function]
5515
    cls.add_method('SetUp', 
5516
                   'void', 
5517
                   [param('uint32_t', 'i')], 
5518
                   is_virtual=True)
5519
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::SetDown(uint32_t i) [member function]
5520
    cls.add_method('SetDown', 
5521
                   'void', 
5522
                   [param('uint32_t', 'i')], 
5523
                   is_virtual=True)
5524
    ## ipv6-l3-protocol.h (module 'internet'): bool ns3::Ipv6L3Protocol::IsForwarding(uint32_t i) const [member function]
5525
    cls.add_method('IsForwarding', 
5526
                   'bool', 
5527
                   [param('uint32_t', 'i')], 
5528
                   is_const=True, is_virtual=True)
5529
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::SetForwarding(uint32_t i, bool val) [member function]
5530
    cls.add_method('SetForwarding', 
5531
                   'void', 
5532
                   [param('uint32_t', 'i'), param('bool', 'val')], 
5533
                   is_virtual=True)
5534
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::NetDevice> ns3::Ipv6L3Protocol::GetNetDevice(uint32_t i) [member function]
5535
    cls.add_method('GetNetDevice', 
5536
                   'ns3::Ptr< ns3::NetDevice >', 
5537
                   [param('uint32_t', 'i')], 
5538
                   is_virtual=True)
5539
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::Icmpv6L4Protocol> ns3::Ipv6L3Protocol::GetIcmpv6() const [member function]
5540
    cls.add_method('GetIcmpv6', 
5541
                   'ns3::Ptr< ns3::Icmpv6L4Protocol >', 
5542
                   [], 
5543
                   is_const=True)
5544
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::AddAutoconfiguredAddress(uint32_t interface, ns3::Ipv6Address network, ns3::Ipv6Prefix mask, uint8_t flags, uint32_t validTime, uint32_t preferredTime, ns3::Ipv6Address defaultRouter=ns3::Ipv6Address::GetZero( )) [member function]
5545
    cls.add_method('AddAutoconfiguredAddress', 
5546
                   'void', 
5547
                   [param('uint32_t', 'interface'), param('ns3::Ipv6Address', 'network'), param('ns3::Ipv6Prefix', 'mask'), param('uint8_t', 'flags'), param('uint32_t', 'validTime'), param('uint32_t', 'preferredTime'), param('ns3::Ipv6Address', 'defaultRouter', default_value='ns3::Ipv6Address::GetZero( )')])
5548
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::RemoveAutoconfiguredAddress(uint32_t interface, ns3::Ipv6Address network, ns3::Ipv6Prefix mask, ns3::Ipv6Address defaultRouter) [member function]
5549
    cls.add_method('RemoveAutoconfiguredAddress', 
5550
                   'void', 
5551
                   [param('uint32_t', 'interface'), param('ns3::Ipv6Address', 'network'), param('ns3::Ipv6Prefix', 'mask'), param('ns3::Ipv6Address', 'defaultRouter')])
5552
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::RegisterExtensions() [member function]
5553
    cls.add_method('RegisterExtensions', 
5554
                   'void', 
5555
                   [], 
5556
                   is_virtual=True)
5557
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::RegisterOptions() [member function]
5558
    cls.add_method('RegisterOptions', 
5559
                   'void', 
5560
                   [], 
5561
                   is_virtual=True)
5562
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::DoDispose() [member function]
5563
    cls.add_method('DoDispose', 
5564
                   'void', 
5565
                   [], 
5566
                   visibility='protected', is_virtual=True)
5567
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::NotifyNewAggregate() [member function]
5568
    cls.add_method('NotifyNewAggregate', 
5569
                   'void', 
5570
                   [], 
5571
                   visibility='protected', is_virtual=True)
5572
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::SetIpForward(bool forward) [member function]
5573
    cls.add_method('SetIpForward', 
5574
                   'void', 
5575
                   [param('bool', 'forward')], 
5576
                   visibility='private', is_virtual=True)
5577
    ## ipv6-l3-protocol.h (module 'internet'): bool ns3::Ipv6L3Protocol::GetIpForward() const [member function]
5578
    cls.add_method('GetIpForward', 
5579
                   'bool', 
5580
                   [], 
5581
                   is_const=True, visibility='private', is_virtual=True)
5582
    return
5583
5584
def register_Ns3Ipv6PrefixChecker_methods(root_module, cls):
1816
def register_Ns3Ipv6PrefixChecker_methods(root_module, cls):
5585
    ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker::Ipv6PrefixChecker() [constructor]
1817
    ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker::Ipv6PrefixChecker() [constructor]
5586
    cls.add_constructor([])
1818
    cls.add_constructor([])
 Lines 5753-6116    Link Here 
5753
                   is_pure_virtual=True, is_const=True, is_virtual=True)
1985
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5754
    return
1986
    return
5755
1987
5756
def register_Ns3NixVector_methods(root_module, cls):
5757
    cls.add_output_stream_operator()
5758
    ## nix-vector.h (module 'network'): ns3::NixVector::NixVector() [constructor]
5759
    cls.add_constructor([])
5760
    ## nix-vector.h (module 'network'): ns3::NixVector::NixVector(ns3::NixVector const & o) [copy constructor]
5761
    cls.add_constructor([param('ns3::NixVector const &', 'o')])
5762
    ## nix-vector.h (module 'network'): void ns3::NixVector::AddNeighborIndex(uint32_t newBits, uint32_t numberOfBits) [member function]
5763
    cls.add_method('AddNeighborIndex', 
5764
                   'void', 
5765
                   [param('uint32_t', 'newBits'), param('uint32_t', 'numberOfBits')])
5766
    ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::BitCount(uint32_t numberOfNeighbors) const [member function]
5767
    cls.add_method('BitCount', 
5768
                   'uint32_t', 
5769
                   [param('uint32_t', 'numberOfNeighbors')], 
5770
                   is_const=True)
5771
    ## nix-vector.h (module 'network'): ns3::Ptr<ns3::NixVector> ns3::NixVector::Copy() const [member function]
5772
    cls.add_method('Copy', 
5773
                   'ns3::Ptr< ns3::NixVector >', 
5774
                   [], 
5775
                   is_const=True)
5776
    ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::Deserialize(uint32_t const * buffer, uint32_t size) [member function]
5777
    cls.add_method('Deserialize', 
5778
                   'uint32_t', 
5779
                   [param('uint32_t const *', 'buffer'), param('uint32_t', 'size')])
5780
    ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::ExtractNeighborIndex(uint32_t numberOfBits) [member function]
5781
    cls.add_method('ExtractNeighborIndex', 
5782
                   'uint32_t', 
5783
                   [param('uint32_t', 'numberOfBits')])
5784
    ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::GetRemainingBits() [member function]
5785
    cls.add_method('GetRemainingBits', 
5786
                   'uint32_t', 
5787
                   [])
5788
    ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::GetSerializedSize() const [member function]
5789
    cls.add_method('GetSerializedSize', 
5790
                   'uint32_t', 
5791
                   [], 
5792
                   is_const=True)
5793
    ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::Serialize(uint32_t * buffer, uint32_t maxSize) const [member function]
5794
    cls.add_method('Serialize', 
5795
                   'uint32_t', 
5796
                   [param('uint32_t *', 'buffer'), param('uint32_t', 'maxSize')], 
5797
                   is_const=True)
5798
    return
5799
5800
def register_Ns3Node_methods(root_module, cls):
5801
    ## node.h (module 'network'): ns3::Node::Node(ns3::Node const & arg0) [copy constructor]
5802
    cls.add_constructor([param('ns3::Node const &', 'arg0')])
5803
    ## node.h (module 'network'): ns3::Node::Node() [constructor]
5804
    cls.add_constructor([])
5805
    ## node.h (module 'network'): ns3::Node::Node(uint32_t systemId) [constructor]
5806
    cls.add_constructor([param('uint32_t', 'systemId')])
5807
    ## node.h (module 'network'): uint32_t ns3::Node::AddApplication(ns3::Ptr<ns3::Application> application) [member function]
5808
    cls.add_method('AddApplication', 
5809
                   'uint32_t', 
5810
                   [param('ns3::Ptr< ns3::Application >', 'application')])
5811
    ## node.h (module 'network'): uint32_t ns3::Node::AddDevice(ns3::Ptr<ns3::NetDevice> device) [member function]
5812
    cls.add_method('AddDevice', 
5813
                   'uint32_t', 
5814
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')])
5815
    ## node.h (module 'network'): static bool ns3::Node::ChecksumEnabled() [member function]
5816
    cls.add_method('ChecksumEnabled', 
5817
                   'bool', 
5818
                   [], 
5819
                   is_static=True)
5820
    ## node.h (module 'network'): ns3::Ptr<ns3::Application> ns3::Node::GetApplication(uint32_t index) const [member function]
5821
    cls.add_method('GetApplication', 
5822
                   'ns3::Ptr< ns3::Application >', 
5823
                   [param('uint32_t', 'index')], 
5824
                   is_const=True)
5825
    ## node.h (module 'network'): ns3::Ptr<ns3::NetDevice> ns3::Node::GetDevice(uint32_t index) const [member function]
5826
    cls.add_method('GetDevice', 
5827
                   'ns3::Ptr< ns3::NetDevice >', 
5828
                   [param('uint32_t', 'index')], 
5829
                   is_const=True)
5830
    ## node.h (module 'network'): uint32_t ns3::Node::GetId() const [member function]
5831
    cls.add_method('GetId', 
5832
                   'uint32_t', 
5833
                   [], 
5834
                   is_const=True)
5835
    ## node.h (module 'network'): uint32_t ns3::Node::GetNApplications() const [member function]
5836
    cls.add_method('GetNApplications', 
5837
                   'uint32_t', 
5838
                   [], 
5839
                   is_const=True)
5840
    ## node.h (module 'network'): uint32_t ns3::Node::GetNDevices() const [member function]
5841
    cls.add_method('GetNDevices', 
5842
                   'uint32_t', 
5843
                   [], 
5844
                   is_const=True)
5845
    ## node.h (module 'network'): uint32_t ns3::Node::GetSystemId() const [member function]
5846
    cls.add_method('GetSystemId', 
5847
                   'uint32_t', 
5848
                   [], 
5849
                   is_const=True)
5850
    ## node.h (module 'network'): static ns3::TypeId ns3::Node::GetTypeId() [member function]
5851
    cls.add_method('GetTypeId', 
5852
                   'ns3::TypeId', 
5853
                   [], 
5854
                   is_static=True)
5855
    ## node.h (module 'network'): void ns3::Node::RegisterProtocolHandler(ns3::Callback<void, ns3::Ptr<ns3::NetDevice>, ns3::Ptr<ns3::Packet const>, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> handler, uint16_t protocolType, ns3::Ptr<ns3::NetDevice> device, bool promiscuous=false) [member function]
5856
    cls.add_method('RegisterProtocolHandler', 
5857
                   'void', 
5858
                   [param('ns3::Callback< void, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::Address const &, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty >', 'handler'), param('uint16_t', 'protocolType'), param('ns3::Ptr< ns3::NetDevice >', 'device'), param('bool', 'promiscuous', default_value='false')])
5859
    ## node.h (module 'network'): void ns3::Node::UnregisterProtocolHandler(ns3::Callback<void, ns3::Ptr<ns3::NetDevice>, ns3::Ptr<ns3::Packet const>, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> handler) [member function]
5860
    cls.add_method('UnregisterProtocolHandler', 
5861
                   'void', 
5862
                   [param('ns3::Callback< void, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::Address const &, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty >', 'handler')])
5863
    ## node.h (module 'network'): void ns3::Node::DoDispose() [member function]
5864
    cls.add_method('DoDispose', 
5865
                   'void', 
5866
                   [], 
5867
                   visibility='protected', is_virtual=True)
5868
    ## node.h (module 'network'): void ns3::Node::DoStart() [member function]
5869
    cls.add_method('DoStart', 
5870
                   'void', 
5871
                   [], 
5872
                   visibility='protected', is_virtual=True)
5873
    ## node.h (module 'network'): void ns3::Node::NotifyDeviceAdded(ns3::Ptr<ns3::NetDevice> device) [member function]
5874
    cls.add_method('NotifyDeviceAdded', 
5875
                   'void', 
5876
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')], 
5877
                   visibility='private', is_virtual=True)
5878
    return
5879
5880
def register_Ns3ObjectFactoryChecker_methods(root_module, cls):
5881
    ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker::ObjectFactoryChecker() [constructor]
5882
    cls.add_constructor([])
5883
    ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker::ObjectFactoryChecker(ns3::ObjectFactoryChecker const & arg0) [copy constructor]
5884
    cls.add_constructor([param('ns3::ObjectFactoryChecker const &', 'arg0')])
5885
    return
5886
5887
def register_Ns3ObjectFactoryValue_methods(root_module, cls):
5888
    ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue() [constructor]
5889
    cls.add_constructor([])
5890
    ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue(ns3::ObjectFactoryValue const & arg0) [copy constructor]
5891
    cls.add_constructor([param('ns3::ObjectFactoryValue const &', 'arg0')])
5892
    ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue(ns3::ObjectFactory const & value) [constructor]
5893
    cls.add_constructor([param('ns3::ObjectFactory const &', 'value')])
5894
    ## object-factory.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::ObjectFactoryValue::Copy() const [member function]
5895
    cls.add_method('Copy', 
5896
                   'ns3::Ptr< ns3::AttributeValue >', 
5897
                   [], 
5898
                   is_const=True, is_virtual=True)
5899
    ## object-factory.h (module 'core'): bool ns3::ObjectFactoryValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
5900
    cls.add_method('DeserializeFromString', 
5901
                   'bool', 
5902
                   [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
5903
                   is_virtual=True)
5904
    ## object-factory.h (module 'core'): ns3::ObjectFactory ns3::ObjectFactoryValue::Get() const [member function]
5905
    cls.add_method('Get', 
5906
                   'ns3::ObjectFactory', 
5907
                   [], 
5908
                   is_const=True)
5909
    ## object-factory.h (module 'core'): std::string ns3::ObjectFactoryValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
5910
    cls.add_method('SerializeToString', 
5911
                   'std::string', 
5912
                   [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
5913
                   is_const=True, is_virtual=True)
5914
    ## object-factory.h (module 'core'): void ns3::ObjectFactoryValue::Set(ns3::ObjectFactory const & value) [member function]
5915
    cls.add_method('Set', 
5916
                   'void', 
5917
                   [param('ns3::ObjectFactory const &', 'value')])
5918
    return
5919
5920
def register_Ns3OutputStreamWrapper_methods(root_module, cls):
5921
    ## output-stream-wrapper.h (module 'network'): ns3::OutputStreamWrapper::OutputStreamWrapper(ns3::OutputStreamWrapper const & arg0) [copy constructor]
5922
    cls.add_constructor([param('ns3::OutputStreamWrapper const &', 'arg0')])
5923
    ## output-stream-wrapper.h (module 'network'): ns3::OutputStreamWrapper::OutputStreamWrapper(std::string filename, std::_Ios_Openmode filemode) [constructor]
5924
    cls.add_constructor([param('std::string', 'filename'), param('std::_Ios_Openmode', 'filemode')])
5925
    ## output-stream-wrapper.h (module 'network'): ns3::OutputStreamWrapper::OutputStreamWrapper(std::ostream * os) [constructor]
5926
    cls.add_constructor([param('std::ostream *', 'os')])
5927
    ## output-stream-wrapper.h (module 'network'): std::ostream * ns3::OutputStreamWrapper::GetStream() [member function]
5928
    cls.add_method('GetStream', 
5929
                   'std::ostream *', 
5930
                   [])
5931
    return
5932
5933
def register_Ns3Packet_methods(root_module, cls):
5934
    cls.add_output_stream_operator()
5935
    ## packet.h (module 'network'): ns3::Packet::Packet() [constructor]
5936
    cls.add_constructor([])
5937
    ## packet.h (module 'network'): ns3::Packet::Packet(ns3::Packet const & o) [copy constructor]
5938
    cls.add_constructor([param('ns3::Packet const &', 'o')])
5939
    ## packet.h (module 'network'): ns3::Packet::Packet(uint32_t size) [constructor]
5940
    cls.add_constructor([param('uint32_t', 'size')])
5941
    ## packet.h (module 'network'): ns3::Packet::Packet(uint8_t const * buffer, uint32_t size, bool magic) [constructor]
5942
    cls.add_constructor([param('uint8_t const *', 'buffer'), param('uint32_t', 'size'), param('bool', 'magic')])
5943
    ## packet.h (module 'network'): ns3::Packet::Packet(uint8_t const * buffer, uint32_t size) [constructor]
5944
    cls.add_constructor([param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
5945
    ## packet.h (module 'network'): void ns3::Packet::AddAtEnd(ns3::Ptr<const ns3::Packet> packet) [member function]
5946
    cls.add_method('AddAtEnd', 
5947
                   'void', 
5948
                   [param('ns3::Ptr< ns3::Packet const >', 'packet')])
5949
    ## packet.h (module 'network'): void ns3::Packet::AddByteTag(ns3::Tag const & tag) const [member function]
5950
    cls.add_method('AddByteTag', 
5951
                   'void', 
5952
                   [param('ns3::Tag const &', 'tag')], 
5953
                   is_const=True)
5954
    ## packet.h (module 'network'): void ns3::Packet::AddHeader(ns3::Header const & header) [member function]
5955
    cls.add_method('AddHeader', 
5956
                   'void', 
5957
                   [param('ns3::Header const &', 'header')])
5958
    ## packet.h (module 'network'): void ns3::Packet::AddPacketTag(ns3::Tag const & tag) const [member function]
5959
    cls.add_method('AddPacketTag', 
5960
                   'void', 
5961
                   [param('ns3::Tag const &', 'tag')], 
5962
                   is_const=True)
5963
    ## packet.h (module 'network'): void ns3::Packet::AddPaddingAtEnd(uint32_t size) [member function]
5964
    cls.add_method('AddPaddingAtEnd', 
5965
                   'void', 
5966
                   [param('uint32_t', 'size')])
5967
    ## packet.h (module 'network'): void ns3::Packet::AddTrailer(ns3::Trailer const & trailer) [member function]
5968
    cls.add_method('AddTrailer', 
5969
                   'void', 
5970
                   [param('ns3::Trailer const &', 'trailer')])
5971
    ## packet.h (module 'network'): ns3::PacketMetadata::ItemIterator ns3::Packet::BeginItem() const [member function]
5972
    cls.add_method('BeginItem', 
5973
                   'ns3::PacketMetadata::ItemIterator', 
5974
                   [], 
5975
                   is_const=True)
5976
    ## packet.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Packet::Copy() const [member function]
5977
    cls.add_method('Copy', 
5978
                   'ns3::Ptr< ns3::Packet >', 
5979
                   [], 
5980
                   is_const=True)
5981
    ## packet.h (module 'network'): uint32_t ns3::Packet::CopyData(uint8_t * buffer, uint32_t size) const [member function]
5982
    cls.add_method('CopyData', 
5983
                   'uint32_t', 
5984
                   [param('uint8_t *', 'buffer'), param('uint32_t', 'size')], 
5985
                   is_const=True)
5986
    ## packet.h (module 'network'): void ns3::Packet::CopyData(std::ostream * os, uint32_t size) const [member function]
5987
    cls.add_method('CopyData', 
5988
                   'void', 
5989
                   [param('std::ostream *', 'os'), param('uint32_t', 'size')], 
5990
                   is_const=True)
5991
    ## packet.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Packet::CreateFragment(uint32_t start, uint32_t length) const [member function]
5992
    cls.add_method('CreateFragment', 
5993
                   'ns3::Ptr< ns3::Packet >', 
5994
                   [param('uint32_t', 'start'), param('uint32_t', 'length')], 
5995
                   is_const=True)
5996
    ## packet.h (module 'network'): static void ns3::Packet::EnableChecking() [member function]
5997
    cls.add_method('EnableChecking', 
5998
                   'void', 
5999
                   [], 
6000
                   is_static=True)
6001
    ## packet.h (module 'network'): static void ns3::Packet::EnablePrinting() [member function]
6002
    cls.add_method('EnablePrinting', 
6003
                   'void', 
6004
                   [], 
6005
                   is_static=True)
6006
    ## packet.h (module 'network'): bool ns3::Packet::FindFirstMatchingByteTag(ns3::Tag & tag) const [member function]
6007
    cls.add_method('FindFirstMatchingByteTag', 
6008
                   'bool', 
6009
                   [param('ns3::Tag &', 'tag')], 
6010
                   is_const=True)
6011
    ## packet.h (module 'network'): ns3::ByteTagIterator ns3::Packet::GetByteTagIterator() const [member function]
6012
    cls.add_method('GetByteTagIterator', 
6013
                   'ns3::ByteTagIterator', 
6014
                   [], 
6015
                   is_const=True)
6016
    ## packet.h (module 'network'): ns3::Ptr<ns3::NixVector> ns3::Packet::GetNixVector() const [member function]
6017
    cls.add_method('GetNixVector', 
6018
                   'ns3::Ptr< ns3::NixVector >', 
6019
                   [], 
6020
                   is_const=True)
6021
    ## packet.h (module 'network'): ns3::PacketTagIterator ns3::Packet::GetPacketTagIterator() const [member function]
6022
    cls.add_method('GetPacketTagIterator', 
6023
                   'ns3::PacketTagIterator', 
6024
                   [], 
6025
                   is_const=True)
6026
    ## packet.h (module 'network'): uint32_t ns3::Packet::GetSerializedSize() const [member function]
6027
    cls.add_method('GetSerializedSize', 
6028
                   'uint32_t', 
6029
                   [], 
6030
                   is_const=True)
6031
    ## packet.h (module 'network'): uint32_t ns3::Packet::GetSize() const [member function]
6032
    cls.add_method('GetSize', 
6033
                   'uint32_t', 
6034
                   [], 
6035
                   is_const=True)
6036
    ## packet.h (module 'network'): uint64_t ns3::Packet::GetUid() const [member function]
6037
    cls.add_method('GetUid', 
6038
                   'uint64_t', 
6039
                   [], 
6040
                   is_const=True)
6041
    ## packet.h (module 'network'): uint8_t const * ns3::Packet::PeekData() const [member function]
6042
    cls.add_method('PeekData', 
6043
                   'uint8_t const *', 
6044
                   [], 
6045
                   deprecated=True, is_const=True)
6046
    ## packet.h (module 'network'): uint32_t ns3::Packet::PeekHeader(ns3::Header & header) const [member function]
6047
    cls.add_method('PeekHeader', 
6048
                   'uint32_t', 
6049
                   [param('ns3::Header &', 'header')], 
6050
                   is_const=True)
6051
    ## packet.h (module 'network'): bool ns3::Packet::PeekPacketTag(ns3::Tag & tag) const [member function]
6052
    cls.add_method('PeekPacketTag', 
6053
                   'bool', 
6054
                   [param('ns3::Tag &', 'tag')], 
6055
                   is_const=True)
6056
    ## packet.h (module 'network'): uint32_t ns3::Packet::PeekTrailer(ns3::Trailer & trailer) [member function]
6057
    cls.add_method('PeekTrailer', 
6058
                   'uint32_t', 
6059
                   [param('ns3::Trailer &', 'trailer')])
6060
    ## packet.h (module 'network'): void ns3::Packet::Print(std::ostream & os) const [member function]
6061
    cls.add_method('Print', 
6062
                   'void', 
6063
                   [param('std::ostream &', 'os')], 
6064
                   is_const=True)
6065
    ## packet.h (module 'network'): void ns3::Packet::PrintByteTags(std::ostream & os) const [member function]
6066
    cls.add_method('PrintByteTags', 
6067
                   'void', 
6068
                   [param('std::ostream &', 'os')], 
6069
                   is_const=True)
6070
    ## packet.h (module 'network'): void ns3::Packet::PrintPacketTags(std::ostream & os) const [member function]
6071
    cls.add_method('PrintPacketTags', 
6072
                   'void', 
6073
                   [param('std::ostream &', 'os')], 
6074
                   is_const=True)
6075
    ## packet.h (module 'network'): void ns3::Packet::RemoveAllByteTags() [member function]
6076
    cls.add_method('RemoveAllByteTags', 
6077
                   'void', 
6078
                   [])
6079
    ## packet.h (module 'network'): void ns3::Packet::RemoveAllPacketTags() [member function]
6080
    cls.add_method('RemoveAllPacketTags', 
6081
                   'void', 
6082
                   [])
6083
    ## packet.h (module 'network'): void ns3::Packet::RemoveAtEnd(uint32_t size) [member function]
6084
    cls.add_method('RemoveAtEnd', 
6085
                   'void', 
6086
                   [param('uint32_t', 'size')])
6087
    ## packet.h (module 'network'): void ns3::Packet::RemoveAtStart(uint32_t size) [member function]
6088
    cls.add_method('RemoveAtStart', 
6089
                   'void', 
6090
                   [param('uint32_t', 'size')])
6091
    ## packet.h (module 'network'): uint32_t ns3::Packet::RemoveHeader(ns3::Header & header) [member function]
6092
    cls.add_method('RemoveHeader', 
6093
                   'uint32_t', 
6094
                   [param('ns3::Header &', 'header')])
6095
    ## packet.h (module 'network'): bool ns3::Packet::RemovePacketTag(ns3::Tag & tag) [member function]
6096
    cls.add_method('RemovePacketTag', 
6097
                   'bool', 
6098
                   [param('ns3::Tag &', 'tag')])
6099
    ## packet.h (module 'network'): uint32_t ns3::Packet::RemoveTrailer(ns3::Trailer & trailer) [member function]
6100
    cls.add_method('RemoveTrailer', 
6101
                   'uint32_t', 
6102
                   [param('ns3::Trailer &', 'trailer')])
6103
    ## packet.h (module 'network'): uint32_t ns3::Packet::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
6104
    cls.add_method('Serialize', 
6105
                   'uint32_t', 
6106
                   [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')], 
6107
                   is_const=True)
6108
    ## packet.h (module 'network'): void ns3::Packet::SetNixVector(ns3::Ptr<ns3::NixVector> arg0) [member function]
6109
    cls.add_method('SetNixVector', 
6110
                   'void', 
6111
                   [param('ns3::Ptr< ns3::NixVector >', 'arg0')])
6112
    return
6113
6114
def register_Ns3TimeChecker_methods(root_module, cls):
1988
def register_Ns3TimeChecker_methods(root_module, cls):
6115
    ## nstime.h (module 'core'): ns3::TimeChecker::TimeChecker() [constructor]
1989
    ## nstime.h (module 'core'): ns3::TimeChecker::TimeChecker() [constructor]
6116
    cls.add_constructor([])
1990
    cls.add_constructor([])

Return to bug 1105