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

(-)a/src/netanim/examples/dumbbell-animation.cc (-1 / +1 lines)
 Lines 24-30    Link Here 
24
#include "ns3/point-to-point-module.h"
24
#include "ns3/point-to-point-module.h"
25
#include "ns3/netanim-module.h"
25
#include "ns3/netanim-module.h"
26
#include "ns3/applications-module.h"
26
#include "ns3/applications-module.h"
27
#include "ns3/ipv4-global-routing-helper.h"
27
#include "ns3/point-to-point-layout-module.h"
28
28
29
using namespace ns3;
29
using namespace ns3;
30
30
(-)a/src/netanim/examples/grid-animation.cc (-1 / +1 lines)
 Lines 24-30    Link Here 
24
#include "ns3/point-to-point-module.h"
24
#include "ns3/point-to-point-module.h"
25
#include "ns3/netanim-module.h"
25
#include "ns3/netanim-module.h"
26
#include "ns3/applications-module.h"
26
#include "ns3/applications-module.h"
27
#include "ns3/ipv4-global-routing-helper.h"
27
#include "ns3/point-to-point-layout-module.h"
28
28
29
using namespace ns3;
29
using namespace ns3;
30
30
(-)a/src/netanim/examples/star-animation.cc (-1 / +1 lines)
 Lines 21-27    Link Here 
21
#include "ns3/internet-module.h"
21
#include "ns3/internet-module.h"
22
#include "ns3/point-to-point-module.h"
22
#include "ns3/point-to-point-module.h"
23
#include "ns3/applications-module.h"
23
#include "ns3/applications-module.h"
24
#include "ns3/ipv4-global-routing-helper.h"
24
#include "ns3/point-to-point-layout-module.h"
25
25
26
// Network topology (default)
26
// Network topology (default)
27
//
27
//
(-)a/src/netanim/examples/wscript (-3 / +3 lines)
 Lines 2-14    Link Here 
2
2
3
def build(bld):
3
def build(bld):
4
    obj = bld.create_ns3_program('dumbbell-animation',
4
    obj = bld.create_ns3_program('dumbbell-animation',
5
                                 ['netanim', 'applications'])
5
                                 ['netanim', 'applications', 'point-to-point-layout'])
6
    obj.source = 'dumbbell-animation.cc'
6
    obj.source = 'dumbbell-animation.cc'
7
7
8
    obj = bld.create_ns3_program('grid-animation',
8
    obj = bld.create_ns3_program('grid-animation',
9
                                 ['netanim', 'applications'])
9
                                 ['netanim', 'applications', 'point-to-point-layout'])
10
    obj.source = 'grid-animation.cc'
10
    obj.source = 'grid-animation.cc'
11
11
12
    obj = bld.create_ns3_program('star-animation',
12
    obj = bld.create_ns3_program('star-animation',
13
                                 ['netanim', 'applications'])
13
                                 ['netanim', 'applications', 'point-to-point-layout'])
14
    obj.source = 'star-animation.cc'
14
    obj.source = 'star-animation.cc'
(-)a/src/netanim/helper/point-to-point-dumbbell-helper.cc (-267 lines)
Removed 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
 * Author: George F. Riley<riley@ece.gatech.edu>
17
 */
18
19
// Implement an object to create a dumbbell topology.
20
21
#include <iostream>
22
#include <sstream>
23
24
// ns3 includes
25
#include "ns3/animation-interface.h"
26
#include "ns3/point-to-point-dumbbell-helper.h"
27
#include "ns3/constant-position-mobility-model.h"
28
29
#include "ns3/node-list.h"
30
#include "ns3/point-to-point-net-device.h"
31
#include "ns3/vector.h"
32
33
NS_LOG_COMPONENT_DEFINE("PointToPointDumbbellHelper");
34
35
namespace ns3 {
36
  
37
PointToPointDumbbellHelper::PointToPointDumbbellHelper (uint32_t nLeftLeaf,
38
                   PointToPointHelper leftHelper,
39
                   uint32_t nRightLeaf,
40
                   PointToPointHelper rightHelper,
41
                   PointToPointHelper bottleneckHelper)
42
{
43
  // Create the bottleneck routers
44
  m_routers.Create (2);
45
  // Create the leaf nodes
46
  m_leftLeaf.Create (nLeftLeaf);
47
  m_rightLeaf.Create (nRightLeaf);
48
49
  // Add the link connecting routers
50
  m_routerDevices = bottleneckHelper.Install (m_routers);
51
  // Add the left side links
52
  for (uint32_t i = 0; i < nLeftLeaf; ++i)
53
    {
54
      NetDeviceContainer c = leftHelper.Install (m_routers.Get (0),
55
                                                m_leftLeaf.Get (i));
56
      m_leftRouterDevices.Add (c.Get (0));
57
      m_leftLeafDevices.Add (c.Get(1));
58
    }
59
  // Add the right side links
60
  for (uint32_t i = 0; i < nRightLeaf; ++i)
61
    {
62
      NetDeviceContainer c = rightHelper.Install (m_routers.Get (1),
63
                                                m_rightLeaf.Get (i));
64
      m_rightRouterDevices.Add (c.Get (0));
65
      m_rightLeafDevices.Add (c.Get (1));
66
    }
67
}
68
69
PointToPointDumbbellHelper::~PointToPointDumbbellHelper ()
70
{}
71
72
Ptr<Node> PointToPointDumbbellHelper::GetLeft () const
73
{ // Get the left side bottleneck router
74
  return m_routers.Get (0);
75
}
76
77
Ptr<Node> PointToPointDumbbellHelper::GetLeft (uint32_t i) const
78
{ // Get the i'th left side leaf
79
  return m_leftLeaf.Get (i);
80
}
81
82
Ptr<Node> PointToPointDumbbellHelper::GetRight () const
83
{ // Get the right side bottleneck router
84
  return m_routers.Get (1);
85
}
86
87
Ptr<Node> PointToPointDumbbellHelper::GetRight (uint32_t i) const
88
{ // Get the i'th right side leaf
89
  return m_rightLeaf.Get (i);
90
}
91
92
Ipv4Address PointToPointDumbbellHelper::GetLeftIpv4Address (uint32_t i) const
93
{
94
  return m_leftLeafInterfaces.GetAddress (i);
95
}
96
97
Ipv4Address PointToPointDumbbellHelper::GetRightIpv4Address (uint32_t i) const
98
{
99
  return m_rightLeafInterfaces.GetAddress (i);
100
}
101
102
uint32_t  PointToPointDumbbellHelper::LeftCount () const
103
{ // Number of left side nodes
104
  return m_leftLeaf.GetN ();
105
}
106
107
uint32_t  PointToPointDumbbellHelper::RightCount () const
108
{ // Number of right side nodes
109
  return m_rightLeaf.GetN ();
110
}
111
112
void PointToPointDumbbellHelper::InstallStack (InternetStackHelper stack)
113
{
114
  stack.Install (m_routers);
115
  stack.Install (m_leftLeaf);
116
  stack.Install (m_rightLeaf);
117
}
118
119
void PointToPointDumbbellHelper::AssignIpv4Addresses (Ipv4AddressHelper leftIp,
120
                               Ipv4AddressHelper rightIp,
121
                               Ipv4AddressHelper routerIp)
122
{
123
  // Assign the router network
124
  m_routerInterfaces = routerIp.Assign (m_routerDevices);
125
  // Assign to left side 
126
  for (uint32_t i = 0; i < LeftCount (); ++i)
127
    {
128
      NetDeviceContainer ndc;
129
      ndc.Add (m_leftLeafDevices.Get (i));
130
      ndc.Add (m_leftRouterDevices.Get (i));
131
      Ipv4InterfaceContainer ifc = leftIp.Assign(ndc);
132
      m_leftLeafInterfaces.Add (ifc.Get (0));
133
      m_leftRouterInterfaces.Add (ifc.Get (1));
134
      leftIp.NewNetwork ();
135
    }
136
  // Assign to right side
137
  for (uint32_t i = 0; i < RightCount (); ++i)
138
    {
139
      NetDeviceContainer ndc;
140
      ndc.Add (m_rightLeafDevices.Get (i));
141
      ndc.Add (m_rightRouterDevices.Get (i));
142
      Ipv4InterfaceContainer ifc = rightIp.Assign (ndc);
143
      m_rightLeafInterfaces.Add (ifc.Get (0));
144
      m_rightRouterInterfaces.Add (ifc.Get (1));
145
      rightIp.NewNetwork ();
146
    }
147
}
148
149
150
void PointToPointDumbbellHelper::BoundingBox (double ulx, double uly, // Upper left x/y
151
                           double lrx, double lry) // Lower right y
152
{
153
  double xDist;
154
  double yDist;
155
  if (lrx > ulx)
156
    {
157
      xDist = lrx - ulx;
158
    }
159
  else
160
    {
161
      xDist = ulx - lrx;
162
    }
163
  if (lry > uly)
164
    {
165
      yDist = lry - uly;
166
    }
167
  else
168
    {
169
      yDist = uly - lry;
170
    }
171
172
  double xAdder = xDist / 3.0;
173
  double  thetaL = M_PI / (LeftCount () + 1.0);
174
  double  thetaR = M_PI / (RightCount () + 1.0);
175
176
  // Place the left router
177
  Ptr<Node> lr = GetLeft ();
178
  Ptr<ConstantPositionMobilityModel> loc = lr->GetObject<ConstantPositionMobilityModel> ();
179
  if (loc == 0)
180
    {
181
      loc = CreateObject<ConstantPositionMobilityModel> ();
182
      lr->AggregateObject (loc);
183
    }
184
  Vector lrl (ulx + xAdder, uly + yDist/2.0, 0);
185
  loc->SetPosition (lrl);
186
  
187
  // Place the right router
188
  Ptr<Node> rr = GetRight ();
189
  loc = rr->GetObject<ConstantPositionMobilityModel> ();
190
  if (loc == 0)
191
    {
192
      loc = CreateObject<ConstantPositionMobilityModel> ();
193
      rr->AggregateObject (loc);
194
    }
195
  Vector rrl (ulx + xAdder * 2, uly + yDist/2.0, 0); // Right router location
196
  loc->SetPosition (rrl);
197
198
  // Place the left leaf nodes
199
  double theta = -M_PI_2 + thetaL;
200
  for (uint32_t l = 0; l < LeftCount (); ++l)
201
    {
202
      // Make them in a circular pattern to make all line lengths the same
203
      // Special case when theta = 0, to be sure we get a straight line
204
      if ((LeftCount () % 2) == 1)
205
        { // Count is odd, see if we are in middle
206
          if (l == (LeftCount () / 2))
207
            {
208
              theta = 0.0;
209
            }
210
        }
211
      Ptr<Node> ln = GetLeft (l);
212
      loc = ln->GetObject<ConstantPositionMobilityModel> ();
213
      if (loc == 0)
214
        {
215
          loc = CreateObject<ConstantPositionMobilityModel> ();
216
          ln->AggregateObject (loc);
217
        }
218
      Vector lnl (lrl.x - cos (theta) * xAdder,
219
                   lrl.y + sin (theta) * xAdder, 0);  // Left Node Location
220
      // Insure did not exceed bounding box
221
      if (lnl.y < uly) 
222
        {
223
          lnl.y = uly; // Set to upper right y
224
        }
225
      if (lnl.y > lry) 
226
        {
227
          lnl.y = lry; // Set to lower right y
228
        }
229
      loc->SetPosition (lnl);
230
      theta += thetaL;
231
    }
232
  // Place the right nodes
233
  theta = -M_PI_2 + thetaR;
234
  for (uint32_t r = 0; r < RightCount (); ++r)
235
    {
236
      // Special case when theta = 0, to be sure we get a straight line
237
      if ((RightCount () % 2) == 1)
238
        { // Count is odd, see if we are in middle
239
          if (r == (RightCount () / 2))
240
            {
241
              theta = 0.0;
242
            }
243
        }
244
      Ptr<Node> rn = GetRight (r);
245
      loc = rn->GetObject<ConstantPositionMobilityModel> ();
246
      if (loc == 0)
247
        {
248
          loc = CreateObject<ConstantPositionMobilityModel> ();
249
          rn->AggregateObject (loc);
250
        }
251
      Vector rnl (rrl.x + cos (theta) * xAdder, // Right node location
252
                   rrl.y + sin (theta) * xAdder, 0);
253
      // Insure did not exceed bounding box
254
      if (rnl.y < uly) 
255
        {
256
          rnl.y = uly; // Set to upper right y
257
        }
258
      if (rnl.y > lry) 
259
        {
260
          rnl.y = lry; // Set to lower right y
261
        }
262
      loc->SetPosition (rnl);
263
      theta += thetaR;
264
    }
265
}
266
  
267
} // namespace ns3
(-)a/src/netanim/helper/point-to-point-dumbbell-helper.h (-160 lines)
Removed 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
 * Author: George F. Riley<riley@ece.gatech.edu>
17
 */
18
19
// Define an object to create a dumbbell topology.
20
21
#ifndef POINT_TO_POINT_DUMBBELL_HELPER_H
22
#define POINT_TO_POINT_DUMBBELL_HELPER_H
23
24
#include <string>
25
26
#include "point-to-point-helper.h"
27
#include "ipv4-address-helper.h"
28
#include "internet-stack-helper.h"
29
#include "ipv4-interface-container.h"
30
31
namespace ns3 {
32
  
33
/**
34
 * \brief A helper to make it easier to create a dumbbell topology
35
 * with p2p links
36
 */
37
class PointToPointDumbbellHelper
38
{
39
public:
40
  /**
41
   * Create a PointToPointDumbbellHelper in order to easily create
42
   * dumbbell topologies using p2p links
43
   *
44
   * \param nLeftLeaf number of left side leaf nodes in the dumbbell
45
   *
46
   * \param leftHelper PointToPointHelper used to install the links 
47
   *                   between the left leaf nodes and the left-most 
48
   *                   router
49
   *
50
   * \param nRightLeaf number of right side leaf nodes in the dumbbell
51
   *
52
   * \param rightHelper PointToPointHelper used to install the links 
53
   *                    between the right leaf nodes and the right-most 
54
   *                    router
55
   *
56
   * \param bottleneckHelper PointToPointHelper used to install the link 
57
   *                         between the inner-routers, usually known as 
58
   *                         the bottleneck link
59
   */
60
  PointToPointDumbbellHelper (uint32_t nLeftLeaf,
61
                              PointToPointHelper leftHelper,
62
                              uint32_t nRightLeaf,
63
                              PointToPointHelper rightHelper,
64
                              PointToPointHelper bottleneckHelper);
65
66
  ~PointToPointDumbbellHelper ();
67
68
public:
69
  /**
70
   * \returns pointer to the node of the left side bottleneck
71
   *          router
72
   */
73
  Ptr<Node> GetLeft () const;
74
  
75
  /**
76
   * \returns pointer to the i'th left side leaf node
77
   */
78
  Ptr<Node> GetLeft (uint32_t i) const;
79
80
  /**
81
   * \returns pointer to the node of the right side bottleneck
82
   *          router
83
   */
84
  Ptr<Node> GetRight () const;
85
86
  /**
87
   * \returns pointer to the i'th left side leaf node
88
   */
89
  Ptr<Node> GetRight (uint32_t i) const;
90
91
  /**
92
   * \returns an Ipv4Address of the i'th left leaf
93
   */
94
  Ipv4Address GetLeftIpv4Address (uint32_t i ) const; // Get left leaf address
95
96
  /**
97
   * \returns an Ipv4Address of the i'th right leaf
98
   */
99
  Ipv4Address GetRightIpv4Address (uint32_t i) const; // Get right leaf address
100
101
  /**
102
   * \returns total number of left side leaf nodes
103
   */
104
  uint32_t  LeftCount () const;
105
106
  /**
107
   * \returns total number of right side leaf nodes
108
   */
109
  uint32_t  RightCount () const;
110
111
  /**
112
   * \param stack an InternetStackHelper which is used to install 
113
   *              on every node in the dumbbell
114
   */
115
  void      InstallStack (InternetStackHelper stack);
116
117
  /**
118
   * \param leftIp Ipv4AddressHelper to assign Ipv4 addresses to the
119
   *               interfaces on the left side of the dumbbell
120
   *
121
   * \param rightIp Ipv4AddressHelper to assign Ipv4 addresses to the
122
   *                interfaces on the right side of the dumbbell
123
   *
124
   * \param routerIp Ipv4AddressHelper to assign Ipv4 addresses to the 
125
   *                 interfaces on the bottleneck link
126
   */
127
  void      AssignIpv4Addresses (Ipv4AddressHelper leftIp,
128
                                 Ipv4AddressHelper rightIp,
129
                                 Ipv4AddressHelper routerIp);
130
131
  /**
132
   * Sets up the node canvas locations for every node in the dumbbell.
133
   * This is needed for use with the animation interface
134
   *
135
   * \param ulx upper left x value
136
   * \param uly upper left y value
137
   * \param lrx lower right x value
138
   * \param lry lower right y value
139
   */
140
  void      BoundingBox (double ulx, double uly, double lrx, double lry);
141
  
142
private:
143
  NodeContainer          m_leftLeaf;
144
  NetDeviceContainer     m_leftLeafDevices;
145
  NodeContainer          m_rightLeaf;
146
  NetDeviceContainer     m_rightLeafDevices;
147
  NodeContainer          m_routers;
148
  NetDeviceContainer     m_routerDevices; // just two connecting the routers
149
  NetDeviceContainer     m_leftRouterDevices;
150
  NetDeviceContainer     m_rightRouterDevices;
151
  Ipv4InterfaceContainer m_leftLeafInterfaces;
152
  Ipv4InterfaceContainer m_leftRouterInterfaces;
153
  Ipv4InterfaceContainer m_rightLeafInterfaces;
154
  Ipv4InterfaceContainer m_rightRouterInterfaces;
155
  Ipv4InterfaceContainer m_routerInterfaces;
156
};
157
158
} // namespace ns3
159
160
#endif /* POINT_TO_POINT_DUMBBELL_HELPER_H */
(-)a/src/netanim/helper/point-to-point-grid-helper.cc (-216 lines)
Removed 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
 * Author: Josh Pelkey <jpelkey@gatech.edu>
17
 */
18
19
#include "ns3/point-to-point-grid-helper.h"
20
#include "ns3/animation-interface.h"
21
#include "ns3/internet-stack-helper.h"
22
#include "ns3/point-to-point-helper.h"
23
#include "ns3/constant-position-mobility-model.h"
24
#include "ns3/string.h"
25
#include "ns3/vector.h"
26
#include "ns3/log.h"
27
28
NS_LOG_COMPONENT_DEFINE("PointToPointGridHelper");
29
30
namespace ns3 {
31
  
32
PointToPointGridHelper::PointToPointGridHelper (uint32_t nRows, 
33
                                                uint32_t nCols, 
34
                                                PointToPointHelper pointToPoint)
35
  : m_xSize (nCols), m_ySize (nRows)
36
{
37
  // Bounds check
38
  if (m_xSize < 1 || m_ySize < 1 || (m_xSize < 2 && m_ySize < 2))
39
    {
40
      NS_FATAL_ERROR ("Need more nodes for grid.");
41
    }
42
43
  InternetStackHelper stack;
44
45
  for (uint32_t y = 0; y < nRows; ++y)
46
  {
47
    NodeContainer rowNodes;
48
    NetDeviceContainer rowDevices;
49
    NetDeviceContainer colDevices;
50
51
    for (uint32_t x = 0; x < nCols; ++x)
52
    {
53
      rowNodes.Create (1);
54
55
      // install p2p links across the row
56
      if (x > 0)
57
      {
58
        rowDevices.Add (pointToPoint.
59
            Install (rowNodes.Get (x-1), rowNodes.Get (x)));
60
      }
61
62
      // install vertical p2p links
63
      if (y > 0)
64
      {
65
        colDevices.Add(pointToPoint.
66
                      Install ((m_nodes.at (y-1)).Get (x), rowNodes.Get (x)));
67
      }
68
    }
69
70
    m_nodes.push_back (rowNodes);
71
    m_rowDevices.push_back (rowDevices);
72
73
    if (y > 0)
74
      m_colDevices.push_back (colDevices);
75
  }
76
}
77
78
PointToPointGridHelper::~PointToPointGridHelper ()
79
{}
80
81
void
82
PointToPointGridHelper::InstallStack (InternetStackHelper stack)
83
{
84
  for (uint32_t i = 0; i < m_nodes.size (); ++i)
85
    {
86
      NodeContainer rowNodes = m_nodes[i];
87
      for (uint32_t j = 0; j < rowNodes.GetN (); ++j)
88
        {
89
          stack.Install (rowNodes.Get (j));
90
        }
91
    }
92
}
93
94
void
95
PointToPointGridHelper::AssignIpv4Addresses (Ipv4AddressHelper rowIp, Ipv4AddressHelper colIp)
96
{
97
  // Assign addresses to all row devices in the grid.
98
  // These devices are stored in a vector.  Each row 
99
  // of the grid has all the row devices in one entry 
100
  // of the vector.  These entries come in pairs.
101
  for (uint32_t i = 0; i < m_rowDevices.size (); ++i)
102
    {
103
      Ipv4InterfaceContainer rowInterfaces; 
104
      NetDeviceContainer rowContainer = m_rowDevices[i];
105
      for (uint32_t j = 0; j < rowContainer.GetN (); j+=2)
106
        {
107
          rowInterfaces.Add (rowIp.Assign (rowContainer.Get (j))); 
108
          rowInterfaces.Add (rowIp.Assign (rowContainer.Get (j+1)));
109
          rowIp.NewNetwork ();
110
        }
111
      m_rowInterfaces.push_back (rowInterfaces);
112
    }
113
114
  // Assign addresses to all col devices in the grid.
115
  // These devices are stored in a vector.  Each col 
116
  // of the grid has all the col devices in one entry 
117
  // of the vector.  These entries come in pairs.
118
  for (uint32_t i = 0; i < m_colDevices.size (); ++i)
119
    {
120
      Ipv4InterfaceContainer colInterfaces; 
121
      NetDeviceContainer colContainer = m_colDevices[i];
122
      for (uint32_t j = 0; j < colContainer.GetN (); j+=2)
123
        {
124
          colInterfaces.Add (colIp.Assign (colContainer.Get (j))); 
125
          colInterfaces.Add (colIp.Assign (colContainer.Get (j+1)));
126
          colIp.NewNetwork ();
127
        }
128
      m_colInterfaces.push_back (colInterfaces);
129
    }
130
}
131
132
void
133
PointToPointGridHelper::BoundingBox (double ulx, double uly,
134
                         double lrx, double lry)
135
{
136
  double xDist; 
137
  double yDist; 
138
  if (lrx > ulx)
139
    {
140
      xDist = lrx - ulx;
141
    }
142
  else
143
    {
144
      xDist = ulx - lrx;
145
    }
146
  if (lry > uly)
147
    {
148
      yDist = lry - uly;
149
    }
150
  else
151
    {
152
      yDist = uly - lry;
153
    }
154
  double xAdder = xDist / m_xSize;
155
  double yAdder = yDist / m_ySize;
156
  double yLoc = yDist / 2;
157
  for (uint32_t i = 0; i < m_ySize; ++i)
158
  {
159
    double xLoc = xDist / 2;
160
    for (uint32_t j = 0; j < m_xSize; ++j)
161
    {
162
      Ptr<Node> node = GetNode (i, j);
163
      Ptr<ConstantPositionMobilityModel> loc = node->GetObject<ConstantPositionMobilityModel> ();
164
      if (loc ==0)
165
      {
166
        loc = CreateObject<ConstantPositionMobilityModel> ();
167
        node->AggregateObject (loc);
168
      }
169
      Vector locVec (xLoc, yLoc, 0);
170
      loc->SetPosition (locVec);
171
172
      xLoc += xAdder;
173
    }
174
    yLoc += yAdder;
175
  }
176
}
177
178
Ptr<Node> 
179
PointToPointGridHelper::GetNode (uint32_t row, uint32_t col)
180
{
181
  if (row > m_nodes.size () - 1 || 
182
      col > m_nodes.at (row).GetN () - 1) 
183
    {
184
       NS_FATAL_ERROR ("Index out of bounds in PointToPointGridHelper::GetNode.");
185
    }
186
187
  return (m_nodes.at (row)).Get (col);
188
}
189
190
Ipv4Address
191
PointToPointGridHelper::GetIpv4Address (uint32_t row, uint32_t col)
192
{
193
  if (row > m_nodes.size () - 1 || 
194
      col > m_nodes.at (row).GetN () - 1) 
195
    {
196
       NS_FATAL_ERROR ("Index out of bounds in PointToPointGridHelper::GetIpv4Address.");
197
    }
198
199
  // Right now this just gets one of the addresses of the
200
  // specified node.  The exact device can't be specified.
201
  // If you picture the grid, the address returned is the 
202
  // address of the left (row) device of all nodes, with 
203
  // the exception of the left-most nodes in the grid; 
204
  // in which case the right (row) device address is 
205
  // returned
206
  if (col == 0)
207
  {
208
    return (m_rowInterfaces.at (row)).GetAddress (0);
209
  }
210
  else
211
  {
212
    return (m_rowInterfaces.at (row)).GetAddress ((2*col)-1);
213
  }
214
}
215
216
} // namespace ns3
(-)a/src/netanim/helper/point-to-point-grid-helper.h (-125 lines)
Removed 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
 * Author: Josh Pelkey <jpelkey@gatech.edu>
17
 */
18
19
#ifndef POINT_TO_POINT_GRID_HELPER_H
20
#define POINT_TO_POINT_GRID_HELPER_H
21
22
#include <vector>
23
24
#include "internet-stack-helper.h"
25
#include "point-to-point-helper.h"
26
#include "ipv4-address-helper.h"
27
#include "ipv4-interface-container.h"
28
#include "net-device-container.h"
29
30
namespace ns3 {
31
  
32
/**
33
 * \brief A helper to make it easier to create a grid topology
34
 * with p2p links
35
 */
36
class PointToPointGridHelper 
37
{
38
public: 
39
  /**
40
   * Create a PointToPointGridHelper in order to easily create
41
   * grid topologies using p2p links
42
   *
43
   * \param nRows total number of rows in the grid
44
   *
45
   * \param nCols total number of colums in the grid
46
   *
47
   * \param pointToPoint the PointToPointHelper which is used 
48
   *                     to connect all of the nodes together 
49
   *                     in the grid
50
   */
51
  PointToPointGridHelper (uint32_t nRows, 
52
                          uint32_t nCols, 
53
                          PointToPointHelper pointToPoint);
54
55
  ~PointToPointGridHelper ();
56
57
  /**
58
   * \param row the row address of the node desired
59
   *
60
   * \param col the column address of the node desired
61
   *
62
   * \returns a pointer to the node specified by the 
63
   *          (row, col) address
64
   */
65
  Ptr<Node> GetNode (uint32_t row, uint32_t col);
66
67
  /**
68
   * This returns an Ipv4 address at the node specified by 
69
   * the (row, col) address.  Technically, a node will have 
70
   * multiple interfaces in the grid; therefore, it also has 
71
   * multiple Ipv4 addresses.  This method only returns one of 
72
   * the addresses. If you picture the grid, the address returned 
73
   * is the left row device of all the nodes, except the left-most 
74
   * grid nodes, which returns the right row device.
75
   *
76
   * \param row the row address of the node desired
77
   *
78
   * \param col the column address of the node desired
79
   *
80
   * \returns Ipv4Address of one of the interfaces of the node 
81
   *          specified by the (row, col) address
82
   */
83
  Ipv4Address GetIpv4Address (uint32_t row, uint32_t col);
84
85
  /**
86
   * \param stack an InternetStackHelper which is used to install 
87
   *              on every node in the grid
88
   */
89
  void InstallStack (InternetStackHelper stack);
90
91
  /**
92
   * Assigns Ipv4 addresses to all the row and column interfaces
93
   *
94
   * \param rowIp the Ipv4AddressHelper used to assign Ipv4 addresses 
95
   *              to all of the row interfaces in the grid
96
   *
97
   * \param colIp the Ipv4AddressHelper used to assign Ipv4 addresses 
98
   *              to all of the row interfaces in the grid
99
   */
100
  void AssignIpv4Addresses (Ipv4AddressHelper rowIp, Ipv4AddressHelper colIp);
101
102
  /**
103
   * Sets up the node canvas locations for every node in the grid.
104
   * This is needed for use with the animation interface
105
   *
106
   * \param ulx upper left x value
107
   * \param uly upper left y value
108
   * \param lrx lower right x value
109
   * \param lry lower right y value
110
   */
111
  void BoundingBox (double ulx, double uly, double lrx, double lry);
112
113
private:
114
  uint32_t m_xSize;
115
  uint32_t m_ySize;
116
  std::vector<NetDeviceContainer> m_rowDevices;
117
  std::vector<NetDeviceContainer> m_colDevices;
118
  std::vector<Ipv4InterfaceContainer> m_rowInterfaces;
119
  std::vector<Ipv4InterfaceContainer> m_colInterfaces;
120
  std::vector<NodeContainer> m_nodes;
121
};
122
123
} // namespace ns3
124
      
125
#endif /* POINT_TO_POINT_GRID_HELPER_H */
(-)a/src/netanim/helper/point-to-point-star-helper.cc (-159 lines)
Removed 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/point-to-point-star-helper.h"
23
#include "ns3/constant-position-mobility-model.h"
24
25
#include "ns3/node-list.h"
26
#include "ns3/point-to-point-net-device.h"
27
#include "ns3/vector.h"
28
29
NS_LOG_COMPONENT_DEFINE("PointToPointStarHelper");
30
31
namespace ns3 {
32
  
33
PointToPointStarHelper::PointToPointStarHelper (uint32_t numSpokes,
34
                   PointToPointHelper p2pHelper)
35
{
36
  m_hub.Create (1);
37
  m_spokes.Create (numSpokes);
38
39
  for (uint32_t i = 0; i < m_spokes.GetN (); ++i)
40
    {
41
      NetDeviceContainer nd = p2pHelper.Install (m_hub.Get (0), m_spokes.Get (i));
42
      m_hubDevices.Add (nd.Get (0));
43
      m_spokeDevices.Add (nd.Get (1));
44
    }
45
}
46
47
PointToPointStarHelper::~PointToPointStarHelper ()
48
{}
49
50
Ptr<Node> 
51
PointToPointStarHelper::GetHub () const
52
{
53
  return m_hub.Get (0);
54
}
55
56
Ptr<Node> 
57
PointToPointStarHelper::GetSpokeNode (uint32_t i) const
58
{
59
  return m_spokes.Get (i);
60
}
61
62
Ipv4Address 
63
PointToPointStarHelper::GetHubIpv4Address (uint32_t i) const
64
{
65
  return m_hubInterfaces.GetAddress (i);
66
}
67
68
Ipv4Address 
69
PointToPointStarHelper::GetSpokeIpv4Address (uint32_t i) const
70
{
71
  return m_spokeInterfaces.GetAddress (i);
72
}
73
74
uint32_t  
75
PointToPointStarHelper::SpokeCount () const
76
{
77
  return m_spokes.GetN ();
78
}
79
80
void 
81
PointToPointStarHelper::InstallStack (InternetStackHelper stack)
82
{
83
  stack.Install (m_hub);
84
  stack.Install (m_spokes);
85
}
86
87
void 
88
PointToPointStarHelper::AssignIpv4Addresses (Ipv4AddressHelper address)
89
{
90
  for (uint32_t i = 0; i < m_spokes.GetN (); ++i)
91
    {
92
      m_hubInterfaces.Add (address.Assign (m_hubDevices.Get (i)));
93
      m_spokeInterfaces.Add (address.Assign (m_spokeDevices.Get (i)));
94
      address.NewNetwork ();
95
    }
96
}
97
98
void 
99
PointToPointStarHelper::BoundingBox (double ulx, double uly,
100
                                     double lrx, double lry)
101
{
102
  double xDist;
103
  double yDist;
104
  if (lrx > ulx)
105
    {
106
      xDist = lrx - ulx;
107
    }
108
  else
109
    {
110
      xDist = ulx - lrx;
111
    }
112
  if (lry > uly)
113
    {
114
      yDist = lry - uly;
115
    }
116
  else
117
    {
118
      yDist = uly - lry;
119
    }
120
121
  // Place the hub
122
  Ptr<Node> hub = m_hub.Get (0);
123
  Ptr<ConstantPositionMobilityModel> hubLoc =  hub->GetObject<ConstantPositionMobilityModel> ();
124
  if (hubLoc == 0)
125
    {
126
      hubLoc = CreateObject<ConstantPositionMobilityModel> ();
127
      hub->AggregateObject (hubLoc);
128
    }
129
  Vector hubVec (ulx + xDist/2.0, uly + yDist/2.0, 0);
130
  hubLoc->SetPosition (hubVec);
131
132
  double spokeDist;
133
  if (xDist > yDist)
134
    {
135
      spokeDist = yDist/4.0;
136
    }
137
  else
138
    {
139
      spokeDist = xDist/4.0;
140
    }
141
142
  double theta = 2*M_PI/m_spokes.GetN ();
143
  for (uint32_t i = 0; i < m_spokes.GetN (); ++i)
144
    {
145
      Ptr<Node> spokeNode = m_spokes.Get (i);
146
      Ptr<ConstantPositionMobilityModel> spokeLoc = spokeNode->GetObject<ConstantPositionMobilityModel> ();
147
      if (spokeLoc == 0)
148
        {
149
          spokeLoc = CreateObject<ConstantPositionMobilityModel> ();
150
          spokeNode->AggregateObject (spokeLoc);
151
        }
152
        Vector spokeVec (hubVec.x + cos (theta*i) * spokeDist, 
153
                         hubVec.y + sin (theta*i) * spokeDist,
154
                         0);
155
        spokeLoc->SetPosition (spokeVec);
156
    }
157
}
158
159
} // namespace ns3
(-)a/src/netanim/helper/point-to-point-star-helper.h (-122 lines)
Removed 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 POINT_TO_POINT_STAR_HELPER_H
20
#define POINT_TO_POINT_STAR_HELPER_H
21
22
#include <string>
23
24
#include "point-to-point-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 PointToPoint links
34
 */
35
class PointToPointStarHelper
36
{
37
public:
38
  /**
39
   * Create a PointToPointStarHelper in order to easily create
40
   * star topologies using p2p 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 p2pHelper the link helper for p2p links, 
47
   *        used to link nodes together
48
   */
49
  PointToPointStarHelper (uint32_t numSpokes, 
50
                          PointToPointHelper p2pHelper);
51
52
  ~PointToPointStarHelper ();
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
   * \param i index into the hub interfaces
70
   *
71
   * \returns Ipv4Address according to indexed hub interface
72
   */
73
  Ipv4Address GetHubIpv4Address (uint32_t i) const;
74
75
  /**
76
   * \param i index into the spoke interfaces
77
   *
78
   * \returns Ipv4Address according to indexed spoke interface
79
   */
80
  Ipv4Address GetSpokeIpv4Address (uint32_t i) const;
81
82
  /**
83
   * \returns the total number of spokes in the star
84
   */
85
  uint32_t SpokeCount () const;
86
87
  /**
88
   * \param stack an InternetStackHelper which is used to install 
89
   *              on every node in the star
90
   */
91
  void InstallStack (InternetStackHelper stack);
92
93
  /**
94
   * \param address an Ipv4AddressHelper which is used to install 
95
   *                Ipv4 addresses on all the node interfaces in 
96
   *                the star
97
   */
98
  void AssignIpv4Addresses (Ipv4AddressHelper address);
99
100
  /**
101
   * Sets up the node canvas locations for every node in the star. 
102
   * This is needed for use with the animation interface
103
   *
104
   * \param ulx upper left x value
105
   * \param uly upper left y value
106
   * \param lrx lower right x value
107
   * \param lry lower right y value
108
   */
109
  void BoundingBox (double ulx, double uly, double lrx, double lry);
110
111
private:
112
  NodeContainer m_hub;
113
  NetDeviceContainer m_hubDevices;
114
  NodeContainer m_spokes;
115
  NetDeviceContainer m_spokeDevices;
116
  Ipv4InterfaceContainer m_hubInterfaces;
117
  Ipv4InterfaceContainer m_spokeInterfaces;
118
};
119
120
} // namespace ns3
121
122
#endif /* POINT_TO_POINT_STAR_HELPER_H */
(-)a/src/netanim/model/animation-interface.cc (-2 lines)
 Lines 21-28    Link Here 
21
#include <stdio.h>
21
#include <stdio.h>
22
#include <sstream>
22
#include <sstream>
23
23
24
#include "ns3/netanim-config.h"
25
26
// Socket related includes
24
// Socket related includes
27
#if defined(HAVE_SYS_SOCKET_H) && defined(HAVE_NETINET_IN_H)
25
#if defined(HAVE_SYS_SOCKET_H) && defined(HAVE_NETINET_IN_H)
28
#include <sys/socket.h>
26
#include <sys/socket.h>
(-)a/src/netanim/wscript (-8 / +1 lines)
 Lines 1-22    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
    module = bld.create_ns3_module('netanim', ['internet', 'point-to-point', 'mobility'])
4
    module = bld.create_ns3_module('netanim', ['internet', 'mobility'])
5
    module.includes = '.'
5
    module.includes = '.'
6
    module.source = [
6
    module.source = [
7
        'model/animation-interface.cc',
7
        'model/animation-interface.cc',
8
        'helper/point-to-point-dumbbell-helper.cc',
9
        'helper/point-to-point-grid-helper.cc',
10
        'helper/point-to-point-star-helper.cc',
11
        ]
8
        ]
12
9
13
    headers = bld.new_task_gen('ns3header')
10
    headers = bld.new_task_gen('ns3header')
14
    headers.module = 'netanim'
11
    headers.module = 'netanim'
15
    headers.source = [
12
    headers.source = [
16
        'model/animation-interface.h',
13
        'model/animation-interface.h',
17
        'helper/point-to-point-dumbbell-helper.h',
18
        'helper/point-to-point-grid-helper.h',
19
        'helper/point-to-point-star-helper.h',
20
        ]
14
        ]
21
15
22
    if (bld.env['ENABLE_EXAMPLES']):
16
    if (bld.env['ENABLE_EXAMPLES']):
 Lines 28-32    Link Here 
28
def configure(conf):
22
def configure(conf):
29
    conf.check(header_name='sys/socket.h', define_name='HAVE_SYS_SOCKET_H')
23
    conf.check(header_name='sys/socket.h', define_name='HAVE_SYS_SOCKET_H')
30
    conf.check(header_name='netinet/in.h', define_name='HAVE_NETINET_IN_H')
24
    conf.check(header_name='netinet/in.h', define_name='HAVE_NETINET_IN_H')
31
    conf.write_config_header('ns3/netanim-config.h', top=True)
32
25
(-)a/src/network/bindings/modulegen__gcc_ILP32.py (-3 / +3 lines)
 Lines 390-398    Link Here 
390
    typehandlers.add_type_alias('ns3::SequenceNumber< unsigned short, short >', 'ns3::SequenceNumber16')
390
    typehandlers.add_type_alias('ns3::SequenceNumber< unsigned short, short >', 'ns3::SequenceNumber16')
391
    typehandlers.add_type_alias('ns3::SequenceNumber< unsigned short, short >*', 'ns3::SequenceNumber16*')
391
    typehandlers.add_type_alias('ns3::SequenceNumber< unsigned short, short >*', 'ns3::SequenceNumber16*')
392
    typehandlers.add_type_alias('ns3::SequenceNumber< unsigned short, short >&', 'ns3::SequenceNumber16&')
392
    typehandlers.add_type_alias('ns3::SequenceNumber< unsigned short, short >&', 'ns3::SequenceNumber16&')
393
    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')
394
    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*')
395
    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&')
396
    typehandlers.add_type_alias('ns3::SequenceNumber< unsigned int, int >', 'ns3::SequenceNumber32')
393
    typehandlers.add_type_alias('ns3::SequenceNumber< unsigned int, int >', 'ns3::SequenceNumber32')
397
    typehandlers.add_type_alias('ns3::SequenceNumber< unsigned int, int >*', 'ns3::SequenceNumber32*')
394
    typehandlers.add_type_alias('ns3::SequenceNumber< unsigned int, int >*', 'ns3::SequenceNumber32*')
398
    typehandlers.add_type_alias('ns3::SequenceNumber< unsigned int, int >&', 'ns3::SequenceNumber32&')
395
    typehandlers.add_type_alias('ns3::SequenceNumber< unsigned int, int >&', 'ns3::SequenceNumber32&')
 Lines 402-407    Link Here 
402
    typehandlers.add_type_alias('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ns3::GenericPhyRxEndErrorCallback')
399
    typehandlers.add_type_alias('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ns3::GenericPhyRxEndErrorCallback')
403
    typehandlers.add_type_alias('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >*', 'ns3::GenericPhyRxEndErrorCallback*')
400
    typehandlers.add_type_alias('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >*', 'ns3::GenericPhyRxEndErrorCallback*')
404
    typehandlers.add_type_alias('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >&', 'ns3::GenericPhyRxEndErrorCallback&')
401
    typehandlers.add_type_alias('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >&', 'ns3::GenericPhyRxEndErrorCallback&')
402
    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')
403
    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*')
404
    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&')
405
    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')
405
    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')
406
    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*')
406
    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*')
407
    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&')
407
    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/network/bindings/modulegen__gcc_LP64.py (-3 / +3 lines)
 Lines 390-398    Link Here 
390
    typehandlers.add_type_alias('ns3::SequenceNumber< unsigned short, short >', 'ns3::SequenceNumber16')
390
    typehandlers.add_type_alias('ns3::SequenceNumber< unsigned short, short >', 'ns3::SequenceNumber16')
391
    typehandlers.add_type_alias('ns3::SequenceNumber< unsigned short, short >*', 'ns3::SequenceNumber16*')
391
    typehandlers.add_type_alias('ns3::SequenceNumber< unsigned short, short >*', 'ns3::SequenceNumber16*')
392
    typehandlers.add_type_alias('ns3::SequenceNumber< unsigned short, short >&', 'ns3::SequenceNumber16&')
392
    typehandlers.add_type_alias('ns3::SequenceNumber< unsigned short, short >&', 'ns3::SequenceNumber16&')
393
    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')
394
    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*')
395
    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&')
396
    typehandlers.add_type_alias('ns3::SequenceNumber< unsigned int, int >', 'ns3::SequenceNumber32')
393
    typehandlers.add_type_alias('ns3::SequenceNumber< unsigned int, int >', 'ns3::SequenceNumber32')
397
    typehandlers.add_type_alias('ns3::SequenceNumber< unsigned int, int >*', 'ns3::SequenceNumber32*')
394
    typehandlers.add_type_alias('ns3::SequenceNumber< unsigned int, int >*', 'ns3::SequenceNumber32*')
398
    typehandlers.add_type_alias('ns3::SequenceNumber< unsigned int, int >&', 'ns3::SequenceNumber32&')
395
    typehandlers.add_type_alias('ns3::SequenceNumber< unsigned int, int >&', 'ns3::SequenceNumber32&')
 Lines 402-407    Link Here 
402
    typehandlers.add_type_alias('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ns3::GenericPhyRxEndErrorCallback')
399
    typehandlers.add_type_alias('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ns3::GenericPhyRxEndErrorCallback')
403
    typehandlers.add_type_alias('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >*', 'ns3::GenericPhyRxEndErrorCallback*')
400
    typehandlers.add_type_alias('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >*', 'ns3::GenericPhyRxEndErrorCallback*')
404
    typehandlers.add_type_alias('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >&', 'ns3::GenericPhyRxEndErrorCallback&')
401
    typehandlers.add_type_alias('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >&', 'ns3::GenericPhyRxEndErrorCallback&')
402
    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')
403
    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*')
404
    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&')
405
    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')
405
    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')
406
    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*')
406
    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*')
407
    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&')
407
    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/olsr/examples/olsr-hna.cc (-3 / +1 lines)
 Lines 56-66    Link Here 
56
#include "ns3/config-store-module.h"
56
#include "ns3/config-store-module.h"
57
#include "ns3/wifi-module.h"
57
#include "ns3/wifi-module.h"
58
#include "ns3/csma-module.h"
58
#include "ns3/csma-module.h"
59
#include "ns3/ipv4-list-routing.h"
59
#include "ns3/internet-module.h"
60
#include "ns3/olsr-routing-protocol.h"
60
#include "ns3/olsr-routing-protocol.h"
61
#include "ns3/olsr-helper.h"
61
#include "ns3/olsr-helper.h"
62
#include "ns3/ipv4-static-routing-helper.h"
63
#include "ns3/ipv4-list-routing-helper.h"
64
62
65
#include <iostream>
63
#include <iostream>
66
#include <fstream>
64
#include <fstream>
(-)e9ca5b2838e7 (+7 lines)
Added Link Here 
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
]
(-)e9ca5b2838e7 (+6146 lines)
Added Link Here 
1
from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers
2
3
4
import pybindgen.settings
5
import warnings
6
7
class ErrorHandler(pybindgen.settings.ErrorHandler):
8
    def handle_error(self, wrapper, exception, traceback_):
9
        warnings.warn("exception %r in wrapper %s" % (exception, wrapper))
10
        return True
11
pybindgen.settings.error_handler = ErrorHandler()
12
13
14
import sys
15
16
def module_init():
17
    root_module = Module('ns.point_to_point_layout', cpp_namespace='::ns3')
18
    return root_module
19
20
def register_types(module):
21
    root_module = module.get_root()
22
    
23
    ## address.h (module 'network'): ns3::Address [class]
24
    module.add_class('Address', import_from_module='ns.network')
25
    ## address.h (module 'network'): ns3::Address::MaxSize_e [enumeration]
26
    module.add_enum('MaxSize_e', ['MAX_SIZE'], outer_class=root_module['ns3::Address'], import_from_module='ns.network')
27
    ## trace-helper.h (module 'network'): ns3::AsciiTraceHelper [class]
28
    module.add_class('AsciiTraceHelper', import_from_module='ns.network')
29
    ## trace-helper.h (module 'network'): ns3::AsciiTraceHelperForDevice [class]
30
    module.add_class('AsciiTraceHelperForDevice', allow_subclassing=True, import_from_module='ns.network')
31
    ## internet-trace-helper.h (module 'internet'): ns3::AsciiTraceHelperForIpv4 [class]
32
    module.add_class('AsciiTraceHelperForIpv4', allow_subclassing=True, import_from_module='ns.internet')
33
    ## internet-trace-helper.h (module 'internet'): ns3::AsciiTraceHelperForIpv6 [class]
34
    module.add_class('AsciiTraceHelperForIpv6', allow_subclassing=True, import_from_module='ns.internet')
35
    ## attribute-list.h (module 'core'): ns3::AttributeList [class]
36
    module.add_class('AttributeList', import_from_module='ns.core')
37
    ## buffer.h (module 'network'): ns3::Buffer [class]
38
    module.add_class('Buffer', import_from_module='ns.network')
39
    ## buffer.h (module 'network'): ns3::Buffer::Iterator [class]
40
    module.add_class('Iterator', import_from_module='ns.network', outer_class=root_module['ns3::Buffer'])
41
    ## packet.h (module 'network'): ns3::ByteTagIterator [class]
42
    module.add_class('ByteTagIterator', import_from_module='ns.network')
43
    ## packet.h (module 'network'): ns3::ByteTagIterator::Item [class]
44
    module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::ByteTagIterator'])
45
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList [class]
46
    module.add_class('ByteTagList', import_from_module='ns.network')
47
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator [class]
48
    module.add_class('Iterator', import_from_module='ns.network', outer_class=root_module['ns3::ByteTagList'])
49
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item [struct]
50
    module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::ByteTagList::Iterator'])
51
    ## callback.h (module 'core'): ns3::CallbackBase [class]
52
    module.add_class('CallbackBase', import_from_module='ns.core')
53
    ## event-id.h (module 'core'): ns3::EventId [class]
54
    module.add_class('EventId', import_from_module='ns.core')
55
    ## ipv4-address.h (module 'network'): ns3::Ipv4Address [class]
56
    module.add_class('Ipv4Address', import_from_module='ns.network')
57
    ## ipv4-address.h (module 'network'): ns3::Ipv4Address [class]
58
    root_module['ns3::Ipv4Address'].implicitly_converts_to(root_module['ns3::Address'])
59
    ## ipv4-address-helper.h (module 'internet'): ns3::Ipv4AddressHelper [class]
60
    module.add_class('Ipv4AddressHelper', import_from_module='ns.internet')
61
    ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4InterfaceAddress [class]
62
    module.add_class('Ipv4InterfaceAddress', import_from_module='ns.internet')
63
    ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e [enumeration]
64
    module.add_enum('InterfaceAddressScope_e', ['HOST', 'LINK', 'GLOBAL'], outer_class=root_module['ns3::Ipv4InterfaceAddress'], import_from_module='ns.internet')
65
    ## ipv4-interface-container.h (module 'internet'): ns3::Ipv4InterfaceContainer [class]
66
    module.add_class('Ipv4InterfaceContainer', import_from_module='ns.internet')
67
    ## ipv4-address.h (module 'network'): ns3::Ipv4Mask [class]
68
    module.add_class('Ipv4Mask', import_from_module='ns.network')
69
    ## ipv6-address.h (module 'network'): ns3::Ipv6Address [class]
70
    module.add_class('Ipv6Address', import_from_module='ns.network')
71
    ## ipv6-address.h (module 'network'): ns3::Ipv6Address [class]
72
    root_module['ns3::Ipv6Address'].implicitly_converts_to(root_module['ns3::Address'])
73
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress [class]
74
    module.add_class('Ipv6InterfaceAddress', import_from_module='ns.internet')
75
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress::State_e [enumeration]
76
    module.add_enum('State_e', ['TENTATIVE', 'DEPRECATED', 'PREFERRED', 'PERMANENT', 'HOMEADDRESS', 'TENTATIVE_OPTIMISTIC', 'INVALID'], outer_class=root_module['ns3::Ipv6InterfaceAddress'], import_from_module='ns.internet')
77
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress::Scope_e [enumeration]
78
    module.add_enum('Scope_e', ['HOST', 'LINKLOCAL', 'GLOBAL'], outer_class=root_module['ns3::Ipv6InterfaceAddress'], import_from_module='ns.internet')
79
    ## ipv6-interface-container.h (module 'internet'): ns3::Ipv6InterfaceContainer [class]
80
    module.add_class('Ipv6InterfaceContainer', import_from_module='ns.internet')
81
    ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix [class]
82
    module.add_class('Ipv6Prefix', import_from_module='ns.network')
83
    ## net-device-container.h (module 'network'): ns3::NetDeviceContainer [class]
84
    module.add_class('NetDeviceContainer', import_from_module='ns.network')
85
    ## node-container.h (module 'network'): ns3::NodeContainer [class]
86
    module.add_class('NodeContainer', import_from_module='ns.network')
87
    ## object-base.h (module 'core'): ns3::ObjectBase [class]
88
    module.add_class('ObjectBase', allow_subclassing=True, import_from_module='ns.core')
89
    ## object.h (module 'core'): ns3::ObjectDeleter [struct]
90
    module.add_class('ObjectDeleter', import_from_module='ns.core')
91
    ## object-factory.h (module 'core'): ns3::ObjectFactory [class]
92
    module.add_class('ObjectFactory', import_from_module='ns.core')
93
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata [class]
94
    module.add_class('PacketMetadata', import_from_module='ns.network')
95
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item [struct]
96
    module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::PacketMetadata'])
97
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item [enumeration]
98
    module.add_enum('', ['PAYLOAD', 'HEADER', 'TRAILER'], outer_class=root_module['ns3::PacketMetadata::Item'], import_from_module='ns.network')
99
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator [class]
100
    module.add_class('ItemIterator', import_from_module='ns.network', outer_class=root_module['ns3::PacketMetadata'])
101
    ## packet.h (module 'network'): ns3::PacketTagIterator [class]
102
    module.add_class('PacketTagIterator', import_from_module='ns.network')
103
    ## packet.h (module 'network'): ns3::PacketTagIterator::Item [class]
104
    module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::PacketTagIterator'])
105
    ## packet-tag-list.h (module 'network'): ns3::PacketTagList [class]
106
    module.add_class('PacketTagList', import_from_module='ns.network')
107
    ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData [struct]
108
    module.add_class('TagData', import_from_module='ns.network', outer_class=root_module['ns3::PacketTagList'])
109
    ## pcap-file.h (module 'network'): ns3::PcapFile [class]
110
    module.add_class('PcapFile', import_from_module='ns.network')
111
    ## trace-helper.h (module 'network'): ns3::PcapHelper [class]
112
    module.add_class('PcapHelper', import_from_module='ns.network')
113
    ## trace-helper.h (module 'network'): ns3::PcapHelper [enumeration]
114
    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')
115
    ## trace-helper.h (module 'network'): ns3::PcapHelperForDevice [class]
116
    module.add_class('PcapHelperForDevice', allow_subclassing=True, import_from_module='ns.network')
117
    ## internet-trace-helper.h (module 'internet'): ns3::PcapHelperForIpv4 [class]
118
    module.add_class('PcapHelperForIpv4', allow_subclassing=True, import_from_module='ns.internet')
119
    ## internet-trace-helper.h (module 'internet'): ns3::PcapHelperForIpv6 [class]
120
    module.add_class('PcapHelperForIpv6', allow_subclassing=True, import_from_module='ns.internet')
121
    ## point-to-point-dumbbell.h (module 'point-to-point-layout'): ns3::PointToPointDumbbellHelper [class]
122
    module.add_class('PointToPointDumbbellHelper')
123
    ## point-to-point-grid.h (module 'point-to-point-layout'): ns3::PointToPointGridHelper [class]
124
    module.add_class('PointToPointGridHelper')
125
    ## point-to-point-helper.h (module 'point-to-point'): ns3::PointToPointHelper [class]
126
    module.add_class('PointToPointHelper', import_from_module='ns.point_to_point', parent=[root_module['ns3::PcapHelperForDevice'], root_module['ns3::AsciiTraceHelperForDevice']])
127
    ## point-to-point-star.h (module 'point-to-point-layout'): ns3::PointToPointStarHelper [class]
128
    module.add_class('PointToPointStarHelper')
129
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter> [class]
130
    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'))
131
    ## simulator.h (module 'core'): ns3::Simulator [class]
132
    module.add_class('Simulator', is_singleton=True, import_from_module='ns.core')
133
    ## tag.h (module 'network'): ns3::Tag [class]
134
    module.add_class('Tag', import_from_module='ns.network', parent=root_module['ns3::ObjectBase'])
135
    ## tag-buffer.h (module 'network'): ns3::TagBuffer [class]
136
    module.add_class('TagBuffer', import_from_module='ns.network')
137
    ## type-id.h (module 'core'): ns3::TypeId [class]
138
    module.add_class('TypeId', import_from_module='ns.core')
139
    ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration]
140
    module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core')
141
    ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct]
142
    module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId'])
143
    ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class]
144
    module.add_class('UnsafeAttributeList', import_from_module='ns.core')
145
    ## empty.h (module 'core'): ns3::empty [class]
146
    module.add_class('empty', import_from_module='ns.core')
147
    ## int64x64-double.h (module 'core'): ns3::int64x64_t [class]
148
    module.add_class('int64x64_t', import_from_module='ns.core')
149
    ## chunk.h (module 'network'): ns3::Chunk [class]
150
    module.add_class('Chunk', import_from_module='ns.network', parent=root_module['ns3::ObjectBase'])
151
    ## header.h (module 'network'): ns3::Header [class]
152
    module.add_class('Header', import_from_module='ns.network', parent=root_module['ns3::Chunk'])
153
    ## internet-stack-helper.h (module 'internet'): ns3::InternetStackHelper [class]
154
    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']])
155
    ## ipv4-header.h (module 'internet'): ns3::Ipv4Header [class]
156
    module.add_class('Ipv4Header', import_from_module='ns.internet', parent=root_module['ns3::Header'])
157
    ## ipv6-header.h (module 'internet'): ns3::Ipv6Header [class]
158
    module.add_class('Ipv6Header', import_from_module='ns.internet', parent=root_module['ns3::Header'])
159
    ## ipv6-header.h (module 'internet'): ns3::Ipv6Header::NextHeader_e [enumeration]
160
    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')
161
    ## object.h (module 'core'): ns3::Object [class]
162
    module.add_class('Object', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >'])
163
    ## object.h (module 'core'): ns3::Object::AggregateIterator [class]
164
    module.add_class('AggregateIterator', import_from_module='ns.core', outer_class=root_module['ns3::Object'])
165
    ## pcap-file-wrapper.h (module 'network'): ns3::PcapFileWrapper [class]
166
    module.add_class('PcapFileWrapper', import_from_module='ns.network', parent=root_module['ns3::Object'])
167
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> > [class]
168
    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'))
169
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> > [class]
170
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::AttributeChecker', 'ns3::empty', 'ns3::DefaultDeleter<ns3::AttributeChecker>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
171
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> > [class]
172
    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'))
173
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> > [class]
174
    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'))
175
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> > [class]
176
    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'))
177
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4MulticastRoute> > [class]
178
    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'))
179
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4Route> > [class]
180
    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'))
181
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> > [class]
182
    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'))
183
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter<ns3::OutputStreamWrapper> > [class]
184
    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'))
185
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> > [class]
186
    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'))
187
    ## socket.h (module 'network'): ns3::Socket [class]
188
    module.add_class('Socket', import_from_module='ns.network', parent=root_module['ns3::Object'])
189
    ## socket.h (module 'network'): ns3::Socket::SocketErrno [enumeration]
190
    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')
191
    ## socket.h (module 'network'): ns3::Socket::SocketType [enumeration]
192
    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')
193
    ## socket.h (module 'network'): ns3::SocketAddressTag [class]
194
    module.add_class('SocketAddressTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
195
    ## socket.h (module 'network'): ns3::SocketIpTtlTag [class]
196
    module.add_class('SocketIpTtlTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
197
    ## socket.h (module 'network'): ns3::SocketSetDontFragmentTag [class]
198
    module.add_class('SocketSetDontFragmentTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
199
    ## nstime.h (module 'core'): ns3::Time [class]
200
    module.add_class('Time', import_from_module='ns.core')
201
    ## nstime.h (module 'core'): ns3::Time::Unit [enumeration]
202
    module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core')
203
    ## nstime.h (module 'core'): ns3::Time [class]
204
    root_module['ns3::Time'].implicitly_converts_to(root_module['ns3::int64x64_t'])
205
    ## trailer.h (module 'network'): ns3::Trailer [class]
206
    module.add_class('Trailer', import_from_module='ns.network', parent=root_module['ns3::Chunk'])
207
    ## attribute.h (module 'core'): ns3::AttributeAccessor [class]
208
    module.add_class('AttributeAccessor', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >'])
209
    ## attribute.h (module 'core'): ns3::AttributeChecker [class]
210
    module.add_class('AttributeChecker', allow_subclassing=False, automatic_type_narrowing=True, import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >'])
211
    ## attribute.h (module 'core'): ns3::AttributeValue [class]
212
    module.add_class('AttributeValue', allow_subclassing=False, automatic_type_narrowing=True, import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >'])
213
    ## callback.h (module 'core'): ns3::CallbackChecker [class]
214
    module.add_class('CallbackChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
215
    ## callback.h (module 'core'): ns3::CallbackImplBase [class]
216
    module.add_class('CallbackImplBase', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >'])
217
    ## callback.h (module 'core'): ns3::CallbackValue [class]
218
    module.add_class('CallbackValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
219
    ## attribute.h (module 'core'): ns3::EmptyAttributeValue [class]
220
    module.add_class('EmptyAttributeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
221
    ## event-impl.h (module 'core'): ns3::EventImpl [class]
222
    module.add_class('EventImpl', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >'])
223
    ## ipv4.h (module 'internet'): ns3::Ipv4 [class]
224
    module.add_class('Ipv4', import_from_module='ns.internet', parent=root_module['ns3::Object'])
225
    ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker [class]
226
    module.add_class('Ipv4AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
227
    ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue [class]
228
    module.add_class('Ipv4AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
229
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol [class]
230
    module.add_class('Ipv4L3Protocol', import_from_module='ns.internet', parent=root_module['ns3::Ipv4'])
231
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::DropReason [enumeration]
232
    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')
233
    ## ipv4-l4-protocol.h (module 'internet'): ns3::Ipv4L4Protocol [class]
234
    module.add_class('Ipv4L4Protocol', import_from_module='ns.internet', parent=root_module['ns3::Object'])
235
    ## ipv4-l4-protocol.h (module 'internet'): ns3::Ipv4L4Protocol::RxStatus [enumeration]
236
    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')
237
    ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker [class]
238
    module.add_class('Ipv4MaskChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
239
    ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue [class]
240
    module.add_class('Ipv4MaskValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
241
    ## ipv4-route.h (module 'internet'): ns3::Ipv4MulticastRoute [class]
242
    module.add_class('Ipv4MulticastRoute', import_from_module='ns.internet', parent=root_module['ns3::SimpleRefCount< ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4MulticastRoute> >'])
243
    ## ipv4-route.h (module 'internet'): ns3::Ipv4Route [class]
244
    module.add_class('Ipv4Route', import_from_module='ns.internet', parent=root_module['ns3::SimpleRefCount< ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4Route> >'])
245
    ## ipv4-routing-protocol.h (module 'internet'): ns3::Ipv4RoutingProtocol [class]
246
    module.add_class('Ipv4RoutingProtocol', import_from_module='ns.internet', parent=root_module['ns3::Object'])
247
    ## ipv6.h (module 'internet'): ns3::Ipv6 [class]
248
    module.add_class('Ipv6', import_from_module='ns.internet', parent=root_module['ns3::Object'])
249
    ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker [class]
250
    module.add_class('Ipv6AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
251
    ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue [class]
252
    module.add_class('Ipv6AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
253
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ipv6L3Protocol [class]
254
    module.add_class('Ipv6L3Protocol', import_from_module='ns.internet', parent=root_module['ns3::Ipv6'])
255
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ipv6L3Protocol::DropReason [enumeration]
256
    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')
257
    ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker [class]
258
    module.add_class('Ipv6PrefixChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
259
    ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue [class]
260
    module.add_class('Ipv6PrefixValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
261
    ## net-device.h (module 'network'): ns3::NetDevice [class]
262
    module.add_class('NetDevice', import_from_module='ns.network', parent=root_module['ns3::Object'])
263
    ## net-device.h (module 'network'): ns3::NetDevice::PacketType [enumeration]
264
    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')
265
    ## nix-vector.h (module 'network'): ns3::NixVector [class]
266
    module.add_class('NixVector', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >'])
267
    ## node.h (module 'network'): ns3::Node [class]
268
    module.add_class('Node', import_from_module='ns.network', parent=root_module['ns3::Object'])
269
    ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker [class]
270
    module.add_class('ObjectFactoryChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
271
    ## object-factory.h (module 'core'): ns3::ObjectFactoryValue [class]
272
    module.add_class('ObjectFactoryValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
273
    ## output-stream-wrapper.h (module 'network'): ns3::OutputStreamWrapper [class]
274
    module.add_class('OutputStreamWrapper', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter<ns3::OutputStreamWrapper> >'])
275
    ## packet.h (module 'network'): ns3::Packet [class]
276
    module.add_class('Packet', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >'])
277
    ## nstime.h (module 'core'): ns3::TimeChecker [class]
278
    module.add_class('TimeChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
279
    ## nstime.h (module 'core'): ns3::TimeValue [class]
280
    module.add_class('TimeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
281
    ## type-id.h (module 'core'): ns3::TypeIdChecker [class]
282
    module.add_class('TypeIdChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
283
    ## type-id.h (module 'core'): ns3::TypeIdValue [class]
284
    module.add_class('TypeIdValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
285
    ## address.h (module 'network'): ns3::AddressChecker [class]
286
    module.add_class('AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
287
    ## address.h (module 'network'): ns3::AddressValue [class]
288
    module.add_class('AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
289
    
290
    ## Register a nested module for the namespace FatalImpl
291
    
292
    nested_module = module.add_cpp_namespace('FatalImpl')
293
    register_types_ns3_FatalImpl(nested_module)
294
    
295
296
def register_types_ns3_FatalImpl(module):
297
    root_module = module.get_root()
298
    
299
300
def register_methods(root_module):
301
    register_Ns3Address_methods(root_module, root_module['ns3::Address'])
302
    register_Ns3AsciiTraceHelper_methods(root_module, root_module['ns3::AsciiTraceHelper'])
303
    register_Ns3AsciiTraceHelperForDevice_methods(root_module, root_module['ns3::AsciiTraceHelperForDevice'])
304
    register_Ns3AsciiTraceHelperForIpv4_methods(root_module, root_module['ns3::AsciiTraceHelperForIpv4'])
305
    register_Ns3AsciiTraceHelperForIpv6_methods(root_module, root_module['ns3::AsciiTraceHelperForIpv6'])
306
    register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList'])
307
    register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer'])
308
    register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator'])
309
    register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator'])
310
    register_Ns3ByteTagIteratorItem_methods(root_module, root_module['ns3::ByteTagIterator::Item'])
311
    register_Ns3ByteTagList_methods(root_module, root_module['ns3::ByteTagList'])
312
    register_Ns3ByteTagListIterator_methods(root_module, root_module['ns3::ByteTagList::Iterator'])
313
    register_Ns3ByteTagListIteratorItem_methods(root_module, root_module['ns3::ByteTagList::Iterator::Item'])
314
    register_Ns3CallbackBase_methods(root_module, root_module['ns3::CallbackBase'])
315
    register_Ns3EventId_methods(root_module, root_module['ns3::EventId'])
316
    register_Ns3Ipv4Address_methods(root_module, root_module['ns3::Ipv4Address'])
317
    register_Ns3Ipv4AddressHelper_methods(root_module, root_module['ns3::Ipv4AddressHelper'])
318
    register_Ns3Ipv4InterfaceAddress_methods(root_module, root_module['ns3::Ipv4InterfaceAddress'])
319
    register_Ns3Ipv4InterfaceContainer_methods(root_module, root_module['ns3::Ipv4InterfaceContainer'])
320
    register_Ns3Ipv4Mask_methods(root_module, root_module['ns3::Ipv4Mask'])
321
    register_Ns3Ipv6Address_methods(root_module, root_module['ns3::Ipv6Address'])
322
    register_Ns3Ipv6InterfaceAddress_methods(root_module, root_module['ns3::Ipv6InterfaceAddress'])
323
    register_Ns3Ipv6InterfaceContainer_methods(root_module, root_module['ns3::Ipv6InterfaceContainer'])
324
    register_Ns3Ipv6Prefix_methods(root_module, root_module['ns3::Ipv6Prefix'])
325
    register_Ns3NetDeviceContainer_methods(root_module, root_module['ns3::NetDeviceContainer'])
326
    register_Ns3NodeContainer_methods(root_module, root_module['ns3::NodeContainer'])
327
    register_Ns3ObjectBase_methods(root_module, root_module['ns3::ObjectBase'])
328
    register_Ns3ObjectDeleter_methods(root_module, root_module['ns3::ObjectDeleter'])
329
    register_Ns3ObjectFactory_methods(root_module, root_module['ns3::ObjectFactory'])
330
    register_Ns3PacketMetadata_methods(root_module, root_module['ns3::PacketMetadata'])
331
    register_Ns3PacketMetadataItem_methods(root_module, root_module['ns3::PacketMetadata::Item'])
332
    register_Ns3PacketMetadataItemIterator_methods(root_module, root_module['ns3::PacketMetadata::ItemIterator'])
333
    register_Ns3PacketTagIterator_methods(root_module, root_module['ns3::PacketTagIterator'])
334
    register_Ns3PacketTagIteratorItem_methods(root_module, root_module['ns3::PacketTagIterator::Item'])
335
    register_Ns3PacketTagList_methods(root_module, root_module['ns3::PacketTagList'])
336
    register_Ns3PacketTagListTagData_methods(root_module, root_module['ns3::PacketTagList::TagData'])
337
    register_Ns3PcapFile_methods(root_module, root_module['ns3::PcapFile'])
338
    register_Ns3PcapHelper_methods(root_module, root_module['ns3::PcapHelper'])
339
    register_Ns3PcapHelperForDevice_methods(root_module, root_module['ns3::PcapHelperForDevice'])
340
    register_Ns3PcapHelperForIpv4_methods(root_module, root_module['ns3::PcapHelperForIpv4'])
341
    register_Ns3PcapHelperForIpv6_methods(root_module, root_module['ns3::PcapHelperForIpv6'])
342
    register_Ns3PointToPointDumbbellHelper_methods(root_module, root_module['ns3::PointToPointDumbbellHelper'])
343
    register_Ns3PointToPointGridHelper_methods(root_module, root_module['ns3::PointToPointGridHelper'])
344
    register_Ns3PointToPointHelper_methods(root_module, root_module['ns3::PointToPointHelper'])
345
    register_Ns3PointToPointStarHelper_methods(root_module, root_module['ns3::PointToPointStarHelper'])
346
    register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >'])
347
    register_Ns3Simulator_methods(root_module, root_module['ns3::Simulator'])
348
    register_Ns3Tag_methods(root_module, root_module['ns3::Tag'])
349
    register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer'])
350
    register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId'])
351
    register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo'])
352
    register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList'])
353
    register_Ns3Empty_methods(root_module, root_module['ns3::empty'])
354
    register_Ns3Int64x64_t_methods(root_module, root_module['ns3::int64x64_t'])
355
    register_Ns3Chunk_methods(root_module, root_module['ns3::Chunk'])
356
    register_Ns3Header_methods(root_module, root_module['ns3::Header'])
357
    register_Ns3InternetStackHelper_methods(root_module, root_module['ns3::InternetStackHelper'])
358
    register_Ns3Ipv4Header_methods(root_module, root_module['ns3::Ipv4Header'])
359
    register_Ns3Ipv6Header_methods(root_module, root_module['ns3::Ipv6Header'])
360
    register_Ns3Object_methods(root_module, root_module['ns3::Object'])
361
    register_Ns3ObjectAggregateIterator_methods(root_module, root_module['ns3::Object::AggregateIterator'])
362
    register_Ns3PcapFileWrapper_methods(root_module, root_module['ns3::PcapFileWrapper'])
363
    register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >'])
364
    register_Ns3SimpleRefCount__Ns3AttributeChecker_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeChecker__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >'])
365
    register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeValue__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >'])
366
    register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__lt__ns3CallbackImplBase__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >'])
367
    register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >'])
368
    register_Ns3SimpleRefCount__Ns3Ipv4MulticastRoute_Ns3Empty_Ns3DefaultDeleter__lt__ns3Ipv4MulticastRoute__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4MulticastRoute> >'])
369
    register_Ns3SimpleRefCount__Ns3Ipv4Route_Ns3Empty_Ns3DefaultDeleter__lt__ns3Ipv4Route__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4Route> >'])
370
    register_Ns3SimpleRefCount__Ns3NixVector_Ns3Empty_Ns3DefaultDeleter__lt__ns3NixVector__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >'])
371
    register_Ns3SimpleRefCount__Ns3OutputStreamWrapper_Ns3Empty_Ns3DefaultDeleter__lt__ns3OutputStreamWrapper__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter<ns3::OutputStreamWrapper> >'])
372
    register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >'])
373
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
374
    register_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag'])
375
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
376
    register_Ns3SocketSetDontFragmentTag_methods(root_module, root_module['ns3::SocketSetDontFragmentTag'])
377
    register_Ns3Time_methods(root_module, root_module['ns3::Time'])
378
    register_Ns3Trailer_methods(root_module, root_module['ns3::Trailer'])
379
    register_Ns3AttributeAccessor_methods(root_module, root_module['ns3::AttributeAccessor'])
380
    register_Ns3AttributeChecker_methods(root_module, root_module['ns3::AttributeChecker'])
381
    register_Ns3AttributeValue_methods(root_module, root_module['ns3::AttributeValue'])
382
    register_Ns3CallbackChecker_methods(root_module, root_module['ns3::CallbackChecker'])
383
    register_Ns3CallbackImplBase_methods(root_module, root_module['ns3::CallbackImplBase'])
384
    register_Ns3CallbackValue_methods(root_module, root_module['ns3::CallbackValue'])
385
    register_Ns3EmptyAttributeValue_methods(root_module, root_module['ns3::EmptyAttributeValue'])
386
    register_Ns3EventImpl_methods(root_module, root_module['ns3::EventImpl'])
387
    register_Ns3Ipv4_methods(root_module, root_module['ns3::Ipv4'])
388
    register_Ns3Ipv4AddressChecker_methods(root_module, root_module['ns3::Ipv4AddressChecker'])
389
    register_Ns3Ipv4AddressValue_methods(root_module, root_module['ns3::Ipv4AddressValue'])
390
    register_Ns3Ipv4L3Protocol_methods(root_module, root_module['ns3::Ipv4L3Protocol'])
391
    register_Ns3Ipv4L4Protocol_methods(root_module, root_module['ns3::Ipv4L4Protocol'])
392
    register_Ns3Ipv4MaskChecker_methods(root_module, root_module['ns3::Ipv4MaskChecker'])
393
    register_Ns3Ipv4MaskValue_methods(root_module, root_module['ns3::Ipv4MaskValue'])
394
    register_Ns3Ipv4MulticastRoute_methods(root_module, root_module['ns3::Ipv4MulticastRoute'])
395
    register_Ns3Ipv4Route_methods(root_module, root_module['ns3::Ipv4Route'])
396
    register_Ns3Ipv4RoutingProtocol_methods(root_module, root_module['ns3::Ipv4RoutingProtocol'])
397
    register_Ns3Ipv6_methods(root_module, root_module['ns3::Ipv6'])
398
    register_Ns3Ipv6AddressChecker_methods(root_module, root_module['ns3::Ipv6AddressChecker'])
399
    register_Ns3Ipv6AddressValue_methods(root_module, root_module['ns3::Ipv6AddressValue'])
400
    register_Ns3Ipv6L3Protocol_methods(root_module, root_module['ns3::Ipv6L3Protocol'])
401
    register_Ns3Ipv6PrefixChecker_methods(root_module, root_module['ns3::Ipv6PrefixChecker'])
402
    register_Ns3Ipv6PrefixValue_methods(root_module, root_module['ns3::Ipv6PrefixValue'])
403
    register_Ns3NetDevice_methods(root_module, root_module['ns3::NetDevice'])
404
    register_Ns3NixVector_methods(root_module, root_module['ns3::NixVector'])
405
    register_Ns3Node_methods(root_module, root_module['ns3::Node'])
406
    register_Ns3ObjectFactoryChecker_methods(root_module, root_module['ns3::ObjectFactoryChecker'])
407
    register_Ns3ObjectFactoryValue_methods(root_module, root_module['ns3::ObjectFactoryValue'])
408
    register_Ns3OutputStreamWrapper_methods(root_module, root_module['ns3::OutputStreamWrapper'])
409
    register_Ns3Packet_methods(root_module, root_module['ns3::Packet'])
410
    register_Ns3TimeChecker_methods(root_module, root_module['ns3::TimeChecker'])
411
    register_Ns3TimeValue_methods(root_module, root_module['ns3::TimeValue'])
412
    register_Ns3TypeIdChecker_methods(root_module, root_module['ns3::TypeIdChecker'])
413
    register_Ns3TypeIdValue_methods(root_module, root_module['ns3::TypeIdValue'])
414
    register_Ns3AddressChecker_methods(root_module, root_module['ns3::AddressChecker'])
415
    register_Ns3AddressValue_methods(root_module, root_module['ns3::AddressValue'])
416
    return
417
418
def register_Ns3Address_methods(root_module, cls):
419
    cls.add_binary_comparison_operator('<')
420
    cls.add_binary_comparison_operator('!=')
421
    cls.add_output_stream_operator()
422
    cls.add_binary_comparison_operator('==')
423
    ## address.h (module 'network'): ns3::Address::Address() [constructor]
424
    cls.add_constructor([])
425
    ## address.h (module 'network'): ns3::Address::Address(uint8_t type, uint8_t const * buffer, uint8_t len) [constructor]
426
    cls.add_constructor([param('uint8_t', 'type'), param('uint8_t const *', 'buffer'), param('uint8_t', 'len')])
427
    ## address.h (module 'network'): ns3::Address::Address(ns3::Address const & address) [copy constructor]
428
    cls.add_constructor([param('ns3::Address const &', 'address')])
429
    ## address.h (module 'network'): bool ns3::Address::CheckCompatible(uint8_t type, uint8_t len) const [member function]
430
    cls.add_method('CheckCompatible', 
431
                   'bool', 
432
                   [param('uint8_t', 'type'), param('uint8_t', 'len')], 
433
                   is_const=True)
434
    ## address.h (module 'network'): uint32_t ns3::Address::CopyAllFrom(uint8_t const * buffer, uint8_t len) [member function]
435
    cls.add_method('CopyAllFrom', 
436
                   'uint32_t', 
437
                   [param('uint8_t const *', 'buffer'), param('uint8_t', 'len')])
438
    ## address.h (module 'network'): uint32_t ns3::Address::CopyAllTo(uint8_t * buffer, uint8_t len) const [member function]
439
    cls.add_method('CopyAllTo', 
440
                   'uint32_t', 
441
                   [param('uint8_t *', 'buffer'), param('uint8_t', 'len')], 
442
                   is_const=True)
443
    ## address.h (module 'network'): uint32_t ns3::Address::CopyFrom(uint8_t const * buffer, uint8_t len) [member function]
444
    cls.add_method('CopyFrom', 
445
                   'uint32_t', 
446
                   [param('uint8_t const *', 'buffer'), param('uint8_t', 'len')])
447
    ## address.h (module 'network'): uint32_t ns3::Address::CopyTo(uint8_t * buffer) const [member function]
448
    cls.add_method('CopyTo', 
449
                   'uint32_t', 
450
                   [param('uint8_t *', 'buffer')], 
451
                   is_const=True)
452
    ## address.h (module 'network'): void ns3::Address::Deserialize(ns3::TagBuffer buffer) [member function]
453
    cls.add_method('Deserialize', 
454
                   'void', 
455
                   [param('ns3::TagBuffer', 'buffer')])
456
    ## address.h (module 'network'): uint8_t ns3::Address::GetLength() const [member function]
457
    cls.add_method('GetLength', 
458
                   'uint8_t', 
459
                   [], 
460
                   is_const=True)
461
    ## address.h (module 'network'): uint32_t ns3::Address::GetSerializedSize() const [member function]
462
    cls.add_method('GetSerializedSize', 
463
                   'uint32_t', 
464
                   [], 
465
                   is_const=True)
466
    ## address.h (module 'network'): bool ns3::Address::IsInvalid() const [member function]
467
    cls.add_method('IsInvalid', 
468
                   'bool', 
469
                   [], 
470
                   is_const=True)
471
    ## address.h (module 'network'): bool ns3::Address::IsMatchingType(uint8_t type) const [member function]
472
    cls.add_method('IsMatchingType', 
473
                   'bool', 
474
                   [param('uint8_t', 'type')], 
475
                   is_const=True)
476
    ## address.h (module 'network'): static uint8_t ns3::Address::Register() [member function]
477
    cls.add_method('Register', 
478
                   'uint8_t', 
479
                   [], 
480
                   is_static=True)
481
    ## address.h (module 'network'): void ns3::Address::Serialize(ns3::TagBuffer buffer) const [member function]
482
    cls.add_method('Serialize', 
483
                   'void', 
484
                   [param('ns3::TagBuffer', 'buffer')], 
485
                   is_const=True)
486
    return
487
488
def register_Ns3AsciiTraceHelper_methods(root_module, cls):
489
    ## trace-helper.h (module 'network'): ns3::AsciiTraceHelper::AsciiTraceHelper(ns3::AsciiTraceHelper const & arg0) [copy constructor]
490
    cls.add_constructor([param('ns3::AsciiTraceHelper const &', 'arg0')])
491
    ## trace-helper.h (module 'network'): ns3::AsciiTraceHelper::AsciiTraceHelper() [constructor]
492
    cls.add_constructor([])
493
    ## 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]
494
    cls.add_method('CreateFileStream', 
495
                   'ns3::Ptr< ns3::OutputStreamWrapper >', 
496
                   [param('std::string', 'filename'), param('std::_Ios_Openmode', 'filemode', default_value='std::ios_base::out')])
497
    ## 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]
498
    cls.add_method('DefaultDequeueSinkWithContext', 
499
                   'void', 
500
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')], 
501
                   is_static=True)
502
    ## trace-helper.h (module 'network'): static void ns3::AsciiTraceHelper::DefaultDequeueSinkWithoutContext(ns3::Ptr<ns3::OutputStreamWrapper> file, ns3::Ptr<const ns3::Packet> p) [member function]
503
    cls.add_method('DefaultDequeueSinkWithoutContext', 
504
                   'void', 
505
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('ns3::Ptr< ns3::Packet const >', 'p')], 
506
                   is_static=True)
507
    ## 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]
508
    cls.add_method('DefaultDropSinkWithContext', 
509
                   'void', 
510
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')], 
511
                   is_static=True)
512
    ## trace-helper.h (module 'network'): static void ns3::AsciiTraceHelper::DefaultDropSinkWithoutContext(ns3::Ptr<ns3::OutputStreamWrapper> file, ns3::Ptr<const ns3::Packet> p) [member function]
513
    cls.add_method('DefaultDropSinkWithoutContext', 
514
                   'void', 
515
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('ns3::Ptr< ns3::Packet const >', 'p')], 
516
                   is_static=True)
517
    ## 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]
518
    cls.add_method('DefaultEnqueueSinkWithContext', 
519
                   'void', 
520
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')], 
521
                   is_static=True)
522
    ## trace-helper.h (module 'network'): static void ns3::AsciiTraceHelper::DefaultEnqueueSinkWithoutContext(ns3::Ptr<ns3::OutputStreamWrapper> file, ns3::Ptr<const ns3::Packet> p) [member function]
523
    cls.add_method('DefaultEnqueueSinkWithoutContext', 
524
                   'void', 
525
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('ns3::Ptr< ns3::Packet const >', 'p')], 
526
                   is_static=True)
527
    ## 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]
528
    cls.add_method('DefaultReceiveSinkWithContext', 
529
                   'void', 
530
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')], 
531
                   is_static=True)
532
    ## trace-helper.h (module 'network'): static void ns3::AsciiTraceHelper::DefaultReceiveSinkWithoutContext(ns3::Ptr<ns3::OutputStreamWrapper> file, ns3::Ptr<const ns3::Packet> p) [member function]
533
    cls.add_method('DefaultReceiveSinkWithoutContext', 
534
                   'void', 
535
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('ns3::Ptr< ns3::Packet const >', 'p')], 
536
                   is_static=True)
537
    ## trace-helper.h (module 'network'): std::string ns3::AsciiTraceHelper::GetFilenameFromDevice(std::string prefix, ns3::Ptr<ns3::NetDevice> device, bool useObjectNames=true) [member function]
538
    cls.add_method('GetFilenameFromDevice', 
539
                   'std::string', 
540
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'device'), param('bool', 'useObjectNames', default_value='true')])
541
    ## 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]
542
    cls.add_method('GetFilenameFromInterfacePair', 
543
                   'std::string', 
544
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Object >', 'object'), param('uint32_t', 'interface'), param('bool', 'useObjectNames', default_value='true')])
545
    return
546
547
def register_Ns3AsciiTraceHelperForDevice_methods(root_module, cls):
548
    ## trace-helper.h (module 'network'): ns3::AsciiTraceHelperForDevice::AsciiTraceHelperForDevice(ns3::AsciiTraceHelperForDevice const & arg0) [copy constructor]
549
    cls.add_constructor([param('ns3::AsciiTraceHelperForDevice const &', 'arg0')])
550
    ## trace-helper.h (module 'network'): ns3::AsciiTraceHelperForDevice::AsciiTraceHelperForDevice() [constructor]
551
    cls.add_constructor([])
552
    ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, ns3::Ptr<ns3::NetDevice> nd, bool explicitFilename=false) [member function]
553
    cls.add_method('EnableAscii', 
554
                   'void', 
555
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'explicitFilename', default_value='false')])
556
    ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr<ns3::OutputStreamWrapper> stream, ns3::Ptr<ns3::NetDevice> nd) [member function]
557
    cls.add_method('EnableAscii', 
558
                   'void', 
559
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::Ptr< ns3::NetDevice >', 'nd')])
560
    ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, std::string ndName, bool explicitFilename=false) [member function]
561
    cls.add_method('EnableAscii', 
562
                   'void', 
563
                   [param('std::string', 'prefix'), param('std::string', 'ndName'), param('bool', 'explicitFilename', default_value='false')])
564
    ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr<ns3::OutputStreamWrapper> stream, std::string ndName) [member function]
565
    cls.add_method('EnableAscii', 
566
                   'void', 
567
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'ndName')])
568
    ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, ns3::NetDeviceContainer d) [member function]
569
    cls.add_method('EnableAscii', 
570
                   'void', 
571
                   [param('std::string', 'prefix'), param('ns3::NetDeviceContainer', 'd')])
572
    ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr<ns3::OutputStreamWrapper> stream, ns3::NetDeviceContainer d) [member function]
573
    cls.add_method('EnableAscii', 
574
                   'void', 
575
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::NetDeviceContainer', 'd')])
576
    ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, ns3::NodeContainer n) [member function]
577
    cls.add_method('EnableAscii', 
578
                   'void', 
579
                   [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')])
580
    ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr<ns3::OutputStreamWrapper> stream, ns3::NodeContainer n) [member function]
581
    cls.add_method('EnableAscii', 
582
                   'void', 
583
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::NodeContainer', 'n')])
584
    ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, uint32_t nodeid, uint32_t deviceid, bool explicitFilename) [member function]
585
    cls.add_method('EnableAscii', 
586
                   'void', 
587
                   [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid'), param('bool', 'explicitFilename')])
588
    ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr<ns3::OutputStreamWrapper> stream, uint32_t nodeid, uint32_t deviceid) [member function]
589
    cls.add_method('EnableAscii', 
590
                   'void', 
591
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid')])
592
    ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAsciiAll(std::string prefix) [member function]
593
    cls.add_method('EnableAsciiAll', 
594
                   'void', 
595
                   [param('std::string', 'prefix')])
596
    ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAsciiAll(ns3::Ptr<ns3::OutputStreamWrapper> stream) [member function]
597
    cls.add_method('EnableAsciiAll', 
598
                   'void', 
599
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')])
600
    ## 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]
601
    cls.add_method('EnableAsciiInternal', 
602
                   'void', 
603
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'explicitFilename')], 
604
                   is_pure_virtual=True, is_virtual=True)
605
    return
606
607
def register_Ns3AsciiTraceHelperForIpv4_methods(root_module, cls):
608
    ## internet-trace-helper.h (module 'internet'): ns3::AsciiTraceHelperForIpv4::AsciiTraceHelperForIpv4(ns3::AsciiTraceHelperForIpv4 const & arg0) [copy constructor]
609
    cls.add_constructor([param('ns3::AsciiTraceHelperForIpv4 const &', 'arg0')])
610
    ## internet-trace-helper.h (module 'internet'): ns3::AsciiTraceHelperForIpv4::AsciiTraceHelperForIpv4() [constructor]
611
    cls.add_constructor([])
612
    ## 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]
613
    cls.add_method('EnableAsciiIpv4', 
614
                   'void', 
615
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')])
616
    ## 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]
617
    cls.add_method('EnableAsciiIpv4', 
618
                   'void', 
619
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface')])
620
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, std::string ipv4Name, uint32_t interface, bool explicitFilename=false) [member function]
621
    cls.add_method('EnableAsciiIpv4', 
622
                   'void', 
623
                   [param('std::string', 'prefix'), param('std::string', 'ipv4Name'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')])
624
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr<ns3::OutputStreamWrapper> stream, std::string ipv4Name, uint32_t interface) [member function]
625
    cls.add_method('EnableAsciiIpv4', 
626
                   'void', 
627
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'ipv4Name'), param('uint32_t', 'interface')])
628
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, ns3::Ipv4InterfaceContainer c) [member function]
629
    cls.add_method('EnableAsciiIpv4', 
630
                   'void', 
631
                   [param('std::string', 'prefix'), param('ns3::Ipv4InterfaceContainer', 'c')])
632
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr<ns3::OutputStreamWrapper> stream, ns3::Ipv4InterfaceContainer c) [member function]
633
    cls.add_method('EnableAsciiIpv4', 
634
                   'void', 
635
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::Ipv4InterfaceContainer', 'c')])
636
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, ns3::NodeContainer n) [member function]
637
    cls.add_method('EnableAsciiIpv4', 
638
                   'void', 
639
                   [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')])
640
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr<ns3::OutputStreamWrapper> stream, ns3::NodeContainer n) [member function]
641
    cls.add_method('EnableAsciiIpv4', 
642
                   'void', 
643
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::NodeContainer', 'n')])
644
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, uint32_t nodeid, uint32_t deviceid, bool explicitFilename) [member function]
645
    cls.add_method('EnableAsciiIpv4', 
646
                   'void', 
647
                   [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid'), param('bool', 'explicitFilename')])
648
    ## 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]
649
    cls.add_method('EnableAsciiIpv4', 
650
                   'void', 
651
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('uint32_t', 'nodeid'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')])
652
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4All(std::string prefix) [member function]
653
    cls.add_method('EnableAsciiIpv4All', 
654
                   'void', 
655
                   [param('std::string', 'prefix')])
656
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4All(ns3::Ptr<ns3::OutputStreamWrapper> stream) [member function]
657
    cls.add_method('EnableAsciiIpv4All', 
658
                   'void', 
659
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')])
660
    ## 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]
661
    cls.add_method('EnableAsciiIpv4Internal', 
662
                   'void', 
663
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], 
664
                   is_pure_virtual=True, is_virtual=True)
665
    return
666
667
def register_Ns3AsciiTraceHelperForIpv6_methods(root_module, cls):
668
    ## internet-trace-helper.h (module 'internet'): ns3::AsciiTraceHelperForIpv6::AsciiTraceHelperForIpv6(ns3::AsciiTraceHelperForIpv6 const & arg0) [copy constructor]
669
    cls.add_constructor([param('ns3::AsciiTraceHelperForIpv6 const &', 'arg0')])
670
    ## internet-trace-helper.h (module 'internet'): ns3::AsciiTraceHelperForIpv6::AsciiTraceHelperForIpv6() [constructor]
671
    cls.add_constructor([])
672
    ## 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]
673
    cls.add_method('EnableAsciiIpv6', 
674
                   'void', 
675
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')])
676
    ## 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]
677
    cls.add_method('EnableAsciiIpv6', 
678
                   'void', 
679
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface')])
680
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, std::string ipv6Name, uint32_t interface, bool explicitFilename=false) [member function]
681
    cls.add_method('EnableAsciiIpv6', 
682
                   'void', 
683
                   [param('std::string', 'prefix'), param('std::string', 'ipv6Name'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')])
684
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr<ns3::OutputStreamWrapper> stream, std::string ipv6Name, uint32_t interface) [member function]
685
    cls.add_method('EnableAsciiIpv6', 
686
                   'void', 
687
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'ipv6Name'), param('uint32_t', 'interface')])
688
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, ns3::Ipv6InterfaceContainer c) [member function]
689
    cls.add_method('EnableAsciiIpv6', 
690
                   'void', 
691
                   [param('std::string', 'prefix'), param('ns3::Ipv6InterfaceContainer', 'c')])
692
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr<ns3::OutputStreamWrapper> stream, ns3::Ipv6InterfaceContainer c) [member function]
693
    cls.add_method('EnableAsciiIpv6', 
694
                   'void', 
695
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::Ipv6InterfaceContainer', 'c')])
696
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, ns3::NodeContainer n) [member function]
697
    cls.add_method('EnableAsciiIpv6', 
698
                   'void', 
699
                   [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')])
700
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr<ns3::OutputStreamWrapper> stream, ns3::NodeContainer n) [member function]
701
    cls.add_method('EnableAsciiIpv6', 
702
                   'void', 
703
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::NodeContainer', 'n')])
704
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, uint32_t nodeid, uint32_t interface, bool explicitFilename) [member function]
705
    cls.add_method('EnableAsciiIpv6', 
706
                   'void', 
707
                   [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')])
708
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr<ns3::OutputStreamWrapper> stream, uint32_t nodeid, uint32_t interface) [member function]
709
    cls.add_method('EnableAsciiIpv6', 
710
                   'void', 
711
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('uint32_t', 'nodeid'), param('uint32_t', 'interface')])
712
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6All(std::string prefix) [member function]
713
    cls.add_method('EnableAsciiIpv6All', 
714
                   'void', 
715
                   [param('std::string', 'prefix')])
716
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6All(ns3::Ptr<ns3::OutputStreamWrapper> stream) [member function]
717
    cls.add_method('EnableAsciiIpv6All', 
718
                   'void', 
719
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')])
720
    ## 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]
721
    cls.add_method('EnableAsciiIpv6Internal', 
722
                   'void', 
723
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], 
724
                   is_pure_virtual=True, is_virtual=True)
725
    return
726
727
def register_Ns3AttributeList_methods(root_module, cls):
728
    ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor]
729
    cls.add_constructor([])
730
    ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor]
731
    cls.add_constructor([param('ns3::AttributeList const &', 'o')])
732
    ## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function]
733
    cls.add_method('DeserializeFromString', 
734
                   'bool', 
735
                   [param('std::string', 'value')])
736
    ## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function]
737
    cls.add_method('GetGlobal', 
738
                   'ns3::AttributeList *', 
739
                   [], 
740
                   is_static=True)
741
    ## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function]
742
    cls.add_method('Reset', 
743
                   'void', 
744
                   [])
745
    ## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function]
746
    cls.add_method('SerializeToString', 
747
                   'std::string', 
748
                   [], 
749
                   is_const=True)
750
    ## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function]
751
    cls.add_method('Set', 
752
                   'void', 
753
                   [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
754
    ## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function]
755
    cls.add_method('SetFailSafe', 
756
                   'bool', 
757
                   [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
758
    ## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function]
759
    cls.add_method('SetWithTid', 
760
                   'void', 
761
                   [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
762
    return
763
764
def register_Ns3Buffer_methods(root_module, cls):
765
    ## buffer.h (module 'network'): ns3::Buffer::Buffer() [constructor]
766
    cls.add_constructor([])
767
    ## buffer.h (module 'network'): ns3::Buffer::Buffer(uint32_t dataSize) [constructor]
768
    cls.add_constructor([param('uint32_t', 'dataSize')])
769
    ## buffer.h (module 'network'): ns3::Buffer::Buffer(uint32_t dataSize, bool initialize) [constructor]
770
    cls.add_constructor([param('uint32_t', 'dataSize'), param('bool', 'initialize')])
771
    ## buffer.h (module 'network'): ns3::Buffer::Buffer(ns3::Buffer const & o) [copy constructor]
772
    cls.add_constructor([param('ns3::Buffer const &', 'o')])
773
    ## buffer.h (module 'network'): bool ns3::Buffer::AddAtEnd(uint32_t end) [member function]
774
    cls.add_method('AddAtEnd', 
775
                   'bool', 
776
                   [param('uint32_t', 'end')])
777
    ## buffer.h (module 'network'): void ns3::Buffer::AddAtEnd(ns3::Buffer const & o) [member function]
778
    cls.add_method('AddAtEnd', 
779
                   'void', 
780
                   [param('ns3::Buffer const &', 'o')])
781
    ## buffer.h (module 'network'): bool ns3::Buffer::AddAtStart(uint32_t start) [member function]
782
    cls.add_method('AddAtStart', 
783
                   'bool', 
784
                   [param('uint32_t', 'start')])
785
    ## buffer.h (module 'network'): ns3::Buffer::Iterator ns3::Buffer::Begin() const [member function]
786
    cls.add_method('Begin', 
787
                   'ns3::Buffer::Iterator', 
788
                   [], 
789
                   is_const=True)
790
    ## buffer.h (module 'network'): void ns3::Buffer::CopyData(std::ostream * os, uint32_t size) const [member function]
791
    cls.add_method('CopyData', 
792
                   'void', 
793
                   [param('std::ostream *', 'os'), param('uint32_t', 'size')], 
794
                   is_const=True)
795
    ## buffer.h (module 'network'): uint32_t ns3::Buffer::CopyData(uint8_t * buffer, uint32_t size) const [member function]
796
    cls.add_method('CopyData', 
797
                   'uint32_t', 
798
                   [param('uint8_t *', 'buffer'), param('uint32_t', 'size')], 
799
                   is_const=True)
800
    ## buffer.h (module 'network'): ns3::Buffer ns3::Buffer::CreateFragment(uint32_t start, uint32_t length) const [member function]
801
    cls.add_method('CreateFragment', 
802
                   'ns3::Buffer', 
803
                   [param('uint32_t', 'start'), param('uint32_t', 'length')], 
804
                   is_const=True)
805
    ## buffer.h (module 'network'): ns3::Buffer ns3::Buffer::CreateFullCopy() const [member function]
806
    cls.add_method('CreateFullCopy', 
807
                   'ns3::Buffer', 
808
                   [], 
809
                   is_const=True)
810
    ## buffer.h (module 'network'): uint32_t ns3::Buffer::Deserialize(uint8_t const * buffer, uint32_t size) [member function]
811
    cls.add_method('Deserialize', 
812
                   'uint32_t', 
813
                   [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
814
    ## buffer.h (module 'network'): ns3::Buffer::Iterator ns3::Buffer::End() const [member function]
815
    cls.add_method('End', 
816
                   'ns3::Buffer::Iterator', 
817
                   [], 
818
                   is_const=True)
819
    ## buffer.h (module 'network'): int32_t ns3::Buffer::GetCurrentEndOffset() const [member function]
820
    cls.add_method('GetCurrentEndOffset', 
821
                   'int32_t', 
822
                   [], 
823
                   is_const=True)
824
    ## buffer.h (module 'network'): int32_t ns3::Buffer::GetCurrentStartOffset() const [member function]
825
    cls.add_method('GetCurrentStartOffset', 
826
                   'int32_t', 
827
                   [], 
828
                   is_const=True)
829
    ## buffer.h (module 'network'): uint32_t ns3::Buffer::GetSerializedSize() const [member function]
830
    cls.add_method('GetSerializedSize', 
831
                   'uint32_t', 
832
                   [], 
833
                   is_const=True)
834
    ## buffer.h (module 'network'): uint32_t ns3::Buffer::GetSize() const [member function]
835
    cls.add_method('GetSize', 
836
                   'uint32_t', 
837
                   [], 
838
                   is_const=True)
839
    ## buffer.h (module 'network'): uint8_t const * ns3::Buffer::PeekData() const [member function]
840
    cls.add_method('PeekData', 
841
                   'uint8_t const *', 
842
                   [], 
843
                   is_const=True)
844
    ## buffer.h (module 'network'): void ns3::Buffer::RemoveAtEnd(uint32_t end) [member function]
845
    cls.add_method('RemoveAtEnd', 
846
                   'void', 
847
                   [param('uint32_t', 'end')])
848
    ## buffer.h (module 'network'): void ns3::Buffer::RemoveAtStart(uint32_t start) [member function]
849
    cls.add_method('RemoveAtStart', 
850
                   'void', 
851
                   [param('uint32_t', 'start')])
852
    ## buffer.h (module 'network'): uint32_t ns3::Buffer::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
853
    cls.add_method('Serialize', 
854
                   'uint32_t', 
855
                   [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')], 
856
                   is_const=True)
857
    return
858
859
def register_Ns3BufferIterator_methods(root_module, cls):
860
    ## buffer.h (module 'network'): ns3::Buffer::Iterator::Iterator(ns3::Buffer::Iterator const & arg0) [copy constructor]
861
    cls.add_constructor([param('ns3::Buffer::Iterator const &', 'arg0')])
862
    ## buffer.h (module 'network'): ns3::Buffer::Iterator::Iterator() [constructor]
863
    cls.add_constructor([])
864
    ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::CalculateIpChecksum(uint16_t size) [member function]
865
    cls.add_method('CalculateIpChecksum', 
866
                   'uint16_t', 
867
                   [param('uint16_t', 'size')])
868
    ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::CalculateIpChecksum(uint16_t size, uint32_t initialChecksum) [member function]
869
    cls.add_method('CalculateIpChecksum', 
870
                   'uint16_t', 
871
                   [param('uint16_t', 'size'), param('uint32_t', 'initialChecksum')])
872
    ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::GetDistanceFrom(ns3::Buffer::Iterator const & o) const [member function]
873
    cls.add_method('GetDistanceFrom', 
874
                   'uint32_t', 
875
                   [param('ns3::Buffer::Iterator const &', 'o')], 
876
                   is_const=True)
877
    ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::GetSize() const [member function]
878
    cls.add_method('GetSize', 
879
                   'uint32_t', 
880
                   [], 
881
                   is_const=True)
882
    ## buffer.h (module 'network'): bool ns3::Buffer::Iterator::IsEnd() const [member function]
883
    cls.add_method('IsEnd', 
884
                   'bool', 
885
                   [], 
886
                   is_const=True)
887
    ## buffer.h (module 'network'): bool ns3::Buffer::Iterator::IsStart() const [member function]
888
    cls.add_method('IsStart', 
889
                   'bool', 
890
                   [], 
891
                   is_const=True)
892
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Next() [member function]
893
    cls.add_method('Next', 
894
                   'void', 
895
                   [])
896
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Next(uint32_t delta) [member function]
897
    cls.add_method('Next', 
898
                   'void', 
899
                   [param('uint32_t', 'delta')])
900
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Prev() [member function]
901
    cls.add_method('Prev', 
902
                   'void', 
903
                   [])
904
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Prev(uint32_t delta) [member function]
905
    cls.add_method('Prev', 
906
                   'void', 
907
                   [param('uint32_t', 'delta')])
908
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Read(uint8_t * buffer, uint32_t size) [member function]
909
    cls.add_method('Read', 
910
                   'void', 
911
                   [param('uint8_t *', 'buffer'), param('uint32_t', 'size')])
912
    ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadLsbtohU16() [member function]
913
    cls.add_method('ReadLsbtohU16', 
914
                   'uint16_t', 
915
                   [])
916
    ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadLsbtohU32() [member function]
917
    cls.add_method('ReadLsbtohU32', 
918
                   'uint32_t', 
919
                   [])
920
    ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadLsbtohU64() [member function]
921
    cls.add_method('ReadLsbtohU64', 
922
                   'uint64_t', 
923
                   [])
924
    ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadNtohU16() [member function]
925
    cls.add_method('ReadNtohU16', 
926
                   'uint16_t', 
927
                   [])
928
    ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadNtohU32() [member function]
929
    cls.add_method('ReadNtohU32', 
930
                   'uint32_t', 
931
                   [])
932
    ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadNtohU64() [member function]
933
    cls.add_method('ReadNtohU64', 
934
                   'uint64_t', 
935
                   [])
936
    ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadU16() [member function]
937
    cls.add_method('ReadU16', 
938
                   'uint16_t', 
939
                   [])
940
    ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadU32() [member function]
941
    cls.add_method('ReadU32', 
942
                   'uint32_t', 
943
                   [])
944
    ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadU64() [member function]
945
    cls.add_method('ReadU64', 
946
                   'uint64_t', 
947
                   [])
948
    ## buffer.h (module 'network'): uint8_t ns3::Buffer::Iterator::ReadU8() [member function]
949
    cls.add_method('ReadU8', 
950
                   'uint8_t', 
951
                   [])
952
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Write(uint8_t const * buffer, uint32_t size) [member function]
953
    cls.add_method('Write', 
954
                   'void', 
955
                   [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
956
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Write(ns3::Buffer::Iterator start, ns3::Buffer::Iterator end) [member function]
957
    cls.add_method('Write', 
958
                   'void', 
959
                   [param('ns3::Buffer::Iterator', 'start'), param('ns3::Buffer::Iterator', 'end')])
960
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU16(uint16_t data) [member function]
961
    cls.add_method('WriteHtolsbU16', 
962
                   'void', 
963
                   [param('uint16_t', 'data')])
964
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU32(uint32_t data) [member function]
965
    cls.add_method('WriteHtolsbU32', 
966
                   'void', 
967
                   [param('uint32_t', 'data')])
968
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU64(uint64_t data) [member function]
969
    cls.add_method('WriteHtolsbU64', 
970
                   'void', 
971
                   [param('uint64_t', 'data')])
972
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU16(uint16_t data) [member function]
973
    cls.add_method('WriteHtonU16', 
974
                   'void', 
975
                   [param('uint16_t', 'data')])
976
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU32(uint32_t data) [member function]
977
    cls.add_method('WriteHtonU32', 
978
                   'void', 
979
                   [param('uint32_t', 'data')])
980
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU64(uint64_t data) [member function]
981
    cls.add_method('WriteHtonU64', 
982
                   'void', 
983
                   [param('uint64_t', 'data')])
984
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU16(uint16_t data) [member function]
985
    cls.add_method('WriteU16', 
986
                   'void', 
987
                   [param('uint16_t', 'data')])
988
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU32(uint32_t data) [member function]
989
    cls.add_method('WriteU32', 
990
                   'void', 
991
                   [param('uint32_t', 'data')])
992
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU64(uint64_t data) [member function]
993
    cls.add_method('WriteU64', 
994
                   'void', 
995
                   [param('uint64_t', 'data')])
996
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU8(uint8_t data) [member function]
997
    cls.add_method('WriteU8', 
998
                   'void', 
999
                   [param('uint8_t', 'data')])
1000
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU8(uint8_t data, uint32_t len) [member function]
1001
    cls.add_method('WriteU8', 
1002
                   'void', 
1003
                   [param('uint8_t', 'data'), param('uint32_t', 'len')])
1004
    return
1005
1006
def register_Ns3ByteTagIterator_methods(root_module, cls):
1007
    ## packet.h (module 'network'): ns3::ByteTagIterator::ByteTagIterator(ns3::ByteTagIterator const & arg0) [copy constructor]
1008
    cls.add_constructor([param('ns3::ByteTagIterator const &', 'arg0')])
1009
    ## packet.h (module 'network'): bool ns3::ByteTagIterator::HasNext() const [member function]
1010
    cls.add_method('HasNext', 
1011
                   'bool', 
1012
                   [], 
1013
                   is_const=True)
1014
    ## packet.h (module 'network'): ns3::ByteTagIterator::Item ns3::ByteTagIterator::Next() [member function]
1015
    cls.add_method('Next', 
1016
                   'ns3::ByteTagIterator::Item', 
1017
                   [])
1018
    return
1019
1020
def register_Ns3ByteTagIteratorItem_methods(root_module, cls):
1021
    ## packet.h (module 'network'): ns3::ByteTagIterator::Item::Item(ns3::ByteTagIterator::Item const & arg0) [copy constructor]
1022
    cls.add_constructor([param('ns3::ByteTagIterator::Item const &', 'arg0')])
1023
    ## packet.h (module 'network'): uint32_t ns3::ByteTagIterator::Item::GetEnd() const [member function]
1024
    cls.add_method('GetEnd', 
1025
                   'uint32_t', 
1026
                   [], 
1027
                   is_const=True)
1028
    ## packet.h (module 'network'): uint32_t ns3::ByteTagIterator::Item::GetStart() const [member function]
1029
    cls.add_method('GetStart', 
1030
                   'uint32_t', 
1031
                   [], 
1032
                   is_const=True)
1033
    ## packet.h (module 'network'): void ns3::ByteTagIterator::Item::GetTag(ns3::Tag & tag) const [member function]
1034
    cls.add_method('GetTag', 
1035
                   'void', 
1036
                   [param('ns3::Tag &', 'tag')], 
1037
                   is_const=True)
1038
    ## packet.h (module 'network'): ns3::TypeId ns3::ByteTagIterator::Item::GetTypeId() const [member function]
1039
    cls.add_method('GetTypeId', 
1040
                   'ns3::TypeId', 
1041
                   [], 
1042
                   is_const=True)
1043
    return
1044
1045
def register_Ns3ByteTagList_methods(root_module, cls):
1046
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::ByteTagList() [constructor]
1047
    cls.add_constructor([])
1048
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::ByteTagList(ns3::ByteTagList const & o) [copy constructor]
1049
    cls.add_constructor([param('ns3::ByteTagList const &', 'o')])
1050
    ## 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]
1051
    cls.add_method('Add', 
1052
                   'ns3::TagBuffer', 
1053
                   [param('ns3::TypeId', 'tid'), param('uint32_t', 'bufferSize'), param('int32_t', 'start'), param('int32_t', 'end')])
1054
    ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::Add(ns3::ByteTagList const & o) [member function]
1055
    cls.add_method('Add', 
1056
                   'void', 
1057
                   [param('ns3::ByteTagList const &', 'o')])
1058
    ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::AddAtEnd(int32_t adjustment, int32_t appendOffset) [member function]
1059
    cls.add_method('AddAtEnd', 
1060
                   'void', 
1061
                   [param('int32_t', 'adjustment'), param('int32_t', 'appendOffset')])
1062
    ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::AddAtStart(int32_t adjustment, int32_t prependOffset) [member function]
1063
    cls.add_method('AddAtStart', 
1064
                   'void', 
1065
                   [param('int32_t', 'adjustment'), param('int32_t', 'prependOffset')])
1066
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator ns3::ByteTagList::Begin(int32_t offsetStart, int32_t offsetEnd) const [member function]
1067
    cls.add_method('Begin', 
1068
                   'ns3::ByteTagList::Iterator', 
1069
                   [param('int32_t', 'offsetStart'), param('int32_t', 'offsetEnd')], 
1070
                   is_const=True)
1071
    ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::RemoveAll() [member function]
1072
    cls.add_method('RemoveAll', 
1073
                   'void', 
1074
                   [])
1075
    return
1076
1077
def register_Ns3ByteTagListIterator_methods(root_module, cls):
1078
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Iterator(ns3::ByteTagList::Iterator const & arg0) [copy constructor]
1079
    cls.add_constructor([param('ns3::ByteTagList::Iterator const &', 'arg0')])
1080
    ## byte-tag-list.h (module 'network'): uint32_t ns3::ByteTagList::Iterator::GetOffsetStart() const [member function]
1081
    cls.add_method('GetOffsetStart', 
1082
                   'uint32_t', 
1083
                   [], 
1084
                   is_const=True)
1085
    ## byte-tag-list.h (module 'network'): bool ns3::ByteTagList::Iterator::HasNext() const [member function]
1086
    cls.add_method('HasNext', 
1087
                   'bool', 
1088
                   [], 
1089
                   is_const=True)
1090
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item ns3::ByteTagList::Iterator::Next() [member function]
1091
    cls.add_method('Next', 
1092
                   'ns3::ByteTagList::Iterator::Item', 
1093
                   [])
1094
    return
1095
1096
def register_Ns3ByteTagListIteratorItem_methods(root_module, cls):
1097
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::Item(ns3::ByteTagList::Iterator::Item const & arg0) [copy constructor]
1098
    cls.add_constructor([param('ns3::ByteTagList::Iterator::Item const &', 'arg0')])
1099
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::Item(ns3::TagBuffer buf) [constructor]
1100
    cls.add_constructor([param('ns3::TagBuffer', 'buf')])
1101
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::buf [variable]
1102
    cls.add_instance_attribute('buf', 'ns3::TagBuffer', is_const=False)
1103
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::end [variable]
1104
    cls.add_instance_attribute('end', 'int32_t', is_const=False)
1105
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::size [variable]
1106
    cls.add_instance_attribute('size', 'uint32_t', is_const=False)
1107
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::start [variable]
1108
    cls.add_instance_attribute('start', 'int32_t', is_const=False)
1109
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::tid [variable]
1110
    cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
1111
    return
1112
1113
def register_Ns3CallbackBase_methods(root_module, cls):
1114
    ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase(ns3::CallbackBase const & arg0) [copy constructor]
1115
    cls.add_constructor([param('ns3::CallbackBase const &', 'arg0')])
1116
    ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase() [constructor]
1117
    cls.add_constructor([])
1118
    ## callback.h (module 'core'): ns3::Ptr<ns3::CallbackImplBase> ns3::CallbackBase::GetImpl() const [member function]
1119
    cls.add_method('GetImpl', 
1120
                   'ns3::Ptr< ns3::CallbackImplBase >', 
1121
                   [], 
1122
                   is_const=True)
1123
    ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase(ns3::Ptr<ns3::CallbackImplBase> impl) [constructor]
1124
    cls.add_constructor([param('ns3::Ptr< ns3::CallbackImplBase >', 'impl')], 
1125
                        visibility='protected')
1126
    ## callback.h (module 'core'): static std::string ns3::CallbackBase::Demangle(std::string const & mangled) [member function]
1127
    cls.add_method('Demangle', 
1128
                   'std::string', 
1129
                   [param('std::string const &', 'mangled')], 
1130
                   is_static=True, visibility='protected')
1131
    return
1132
1133
def register_Ns3EventId_methods(root_module, cls):
1134
    cls.add_binary_comparison_operator('!=')
1135
    cls.add_binary_comparison_operator('==')
1136
    ## event-id.h (module 'core'): ns3::EventId::EventId(ns3::EventId const & arg0) [copy constructor]
1137
    cls.add_constructor([param('ns3::EventId const &', 'arg0')])
1138
    ## event-id.h (module 'core'): ns3::EventId::EventId() [constructor]
1139
    cls.add_constructor([])
1140
    ## event-id.h (module 'core'): ns3::EventId::EventId(ns3::Ptr<ns3::EventImpl> const & impl, uint64_t ts, uint32_t context, uint32_t uid) [constructor]
1141
    cls.add_constructor([param('ns3::Ptr< ns3::EventImpl > const &', 'impl'), param('uint64_t', 'ts'), param('uint32_t', 'context'), param('uint32_t', 'uid')])
1142
    ## event-id.h (module 'core'): void ns3::EventId::Cancel() [member function]
1143
    cls.add_method('Cancel', 
1144
                   'void', 
1145
                   [])
1146
    ## event-id.h (module 'core'): uint32_t ns3::EventId::GetContext() const [member function]
1147
    cls.add_method('GetContext', 
1148
                   'uint32_t', 
1149
                   [], 
1150
                   is_const=True)
1151
    ## event-id.h (module 'core'): uint64_t ns3::EventId::GetTs() const [member function]
1152
    cls.add_method('GetTs', 
1153
                   'uint64_t', 
1154
                   [], 
1155
                   is_const=True)
1156
    ## event-id.h (module 'core'): uint32_t ns3::EventId::GetUid() const [member function]
1157
    cls.add_method('GetUid', 
1158
                   'uint32_t', 
1159
                   [], 
1160
                   is_const=True)
1161
    ## event-id.h (module 'core'): bool ns3::EventId::IsExpired() const [member function]
1162
    cls.add_method('IsExpired', 
1163
                   'bool', 
1164
                   [], 
1165
                   is_const=True)
1166
    ## event-id.h (module 'core'): bool ns3::EventId::IsRunning() const [member function]
1167
    cls.add_method('IsRunning', 
1168
                   'bool', 
1169
                   [], 
1170
                   is_const=True)
1171
    ## event-id.h (module 'core'): ns3::EventImpl * ns3::EventId::PeekEventImpl() const [member function]
1172
    cls.add_method('PeekEventImpl', 
1173
                   'ns3::EventImpl *', 
1174
                   [], 
1175
                   is_const=True)
1176
    return
1177
1178
def register_Ns3Ipv4Address_methods(root_module, cls):
1179
    cls.add_binary_comparison_operator('<')
1180
    cls.add_binary_comparison_operator('!=')
1181
    cls.add_output_stream_operator()
1182
    cls.add_binary_comparison_operator('==')
1183
    ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address(ns3::Ipv4Address const & arg0) [copy constructor]
1184
    cls.add_constructor([param('ns3::Ipv4Address const &', 'arg0')])
1185
    ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address() [constructor]
1186
    cls.add_constructor([])
1187
    ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address(uint32_t address) [constructor]
1188
    cls.add_constructor([param('uint32_t', 'address')])
1189
    ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address(char const * address) [constructor]
1190
    cls.add_constructor([param('char const *', 'address')])
1191
    ## ipv4-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv4Address::CombineMask(ns3::Ipv4Mask const & mask) const [member function]
1192
    cls.add_method('CombineMask', 
1193
                   'ns3::Ipv4Address', 
1194
                   [param('ns3::Ipv4Mask const &', 'mask')], 
1195
                   is_const=True)
1196
    ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::ConvertFrom(ns3::Address const & address) [member function]
1197
    cls.add_method('ConvertFrom', 
1198
                   'ns3::Ipv4Address', 
1199
                   [param('ns3::Address const &', 'address')], 
1200
                   is_static=True)
1201
    ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::Deserialize(uint8_t const * buf) [member function]
1202
    cls.add_method('Deserialize', 
1203
                   'ns3::Ipv4Address', 
1204
                   [param('uint8_t const *', 'buf')], 
1205
                   is_static=True)
1206
    ## ipv4-address.h (module 'network'): uint32_t ns3::Ipv4Address::Get() const [member function]
1207
    cls.add_method('Get', 
1208
                   'uint32_t', 
1209
                   [], 
1210
                   is_const=True)
1211
    ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetAny() [member function]
1212
    cls.add_method('GetAny', 
1213
                   'ns3::Ipv4Address', 
1214
                   [], 
1215
                   is_static=True)
1216
    ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetBroadcast() [member function]
1217
    cls.add_method('GetBroadcast', 
1218
                   'ns3::Ipv4Address', 
1219
                   [], 
1220
                   is_static=True)
1221
    ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetLoopback() [member function]
1222
    cls.add_method('GetLoopback', 
1223
                   'ns3::Ipv4Address', 
1224
                   [], 
1225
                   is_static=True)
1226
    ## ipv4-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv4Address::GetSubnetDirectedBroadcast(ns3::Ipv4Mask const & mask) const [member function]
1227
    cls.add_method('GetSubnetDirectedBroadcast', 
1228
                   'ns3::Ipv4Address', 
1229
                   [param('ns3::Ipv4Mask const &', 'mask')], 
1230
                   is_const=True)
1231
    ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetZero() [member function]
1232
    cls.add_method('GetZero', 
1233
                   'ns3::Ipv4Address', 
1234
                   [], 
1235
                   is_static=True)
1236
    ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsBroadcast() const [member function]
1237
    cls.add_method('IsBroadcast', 
1238
                   'bool', 
1239
                   [], 
1240
                   is_const=True)
1241
    ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsEqual(ns3::Ipv4Address const & other) const [member function]
1242
    cls.add_method('IsEqual', 
1243
                   'bool', 
1244
                   [param('ns3::Ipv4Address const &', 'other')], 
1245
                   is_const=True)
1246
    ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsLocalMulticast() const [member function]
1247
    cls.add_method('IsLocalMulticast', 
1248
                   'bool', 
1249
                   [], 
1250
                   is_const=True)
1251
    ## ipv4-address.h (module 'network'): static bool ns3::Ipv4Address::IsMatchingType(ns3::Address const & address) [member function]
1252
    cls.add_method('IsMatchingType', 
1253
                   'bool', 
1254
                   [param('ns3::Address const &', 'address')], 
1255
                   is_static=True)
1256
    ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsMulticast() const [member function]
1257
    cls.add_method('IsMulticast', 
1258
                   'bool', 
1259
                   [], 
1260
                   is_const=True)
1261
    ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsSubnetDirectedBroadcast(ns3::Ipv4Mask const & mask) const [member function]
1262
    cls.add_method('IsSubnetDirectedBroadcast', 
1263
                   'bool', 
1264
                   [param('ns3::Ipv4Mask const &', 'mask')], 
1265
                   is_const=True)
1266
    ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Print(std::ostream & os) const [member function]
1267
    cls.add_method('Print', 
1268
                   'void', 
1269
                   [param('std::ostream &', 'os')], 
1270
                   is_const=True)
1271
    ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Serialize(uint8_t * buf) const [member function]
1272
    cls.add_method('Serialize', 
1273
                   'void', 
1274
                   [param('uint8_t *', 'buf')], 
1275
                   is_const=True)
1276
    ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Set(uint32_t address) [member function]
1277
    cls.add_method('Set', 
1278
                   'void', 
1279
                   [param('uint32_t', 'address')])
1280
    ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Set(char const * address) [member function]
1281
    cls.add_method('Set', 
1282
                   'void', 
1283
                   [param('char const *', 'address')])
1284
    return
1285
1286
def register_Ns3Ipv4AddressHelper_methods(root_module, cls):
1287
    ## ipv4-address-helper.h (module 'internet'): ns3::Ipv4AddressHelper::Ipv4AddressHelper(ns3::Ipv4AddressHelper const & arg0) [copy constructor]
1288
    cls.add_constructor([param('ns3::Ipv4AddressHelper const &', 'arg0')])
1289
    ## ipv4-address-helper.h (module 'internet'): ns3::Ipv4AddressHelper::Ipv4AddressHelper() [constructor]
1290
    cls.add_constructor([])
1291
    ## ipv4-address-helper.h (module 'internet'): ns3::Ipv4AddressHelper::Ipv4AddressHelper(ns3::Ipv4Address network, ns3::Ipv4Mask mask, ns3::Ipv4Address base="0.0.0.1") [constructor]
1292
    cls.add_constructor([param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'mask'), param('ns3::Ipv4Address', 'base', default_value='"0.0.0.1"')])
1293
    ## ipv4-address-helper.h (module 'internet'): ns3::Ipv4InterfaceContainer ns3::Ipv4AddressHelper::Assign(ns3::NetDeviceContainer const & c) [member function]
1294
    cls.add_method('Assign', 
1295
                   'ns3::Ipv4InterfaceContainer', 
1296
                   [param('ns3::NetDeviceContainer const &', 'c')])
1297
    ## ipv4-address-helper.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4AddressHelper::NewAddress() [member function]
1298
    cls.add_method('NewAddress', 
1299
                   'ns3::Ipv4Address', 
1300
                   [])
1301
    ## ipv4-address-helper.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4AddressHelper::NewNetwork() [member function]
1302
    cls.add_method('NewNetwork', 
1303
                   'ns3::Ipv4Address', 
1304
                   [])
1305
    ## 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]
1306
    cls.add_method('SetBase', 
1307
                   'void', 
1308
                   [param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'mask'), param('ns3::Ipv4Address', 'base', default_value='"0.0.0.1"')])
1309
    return
1310
1311
def register_Ns3Ipv4InterfaceAddress_methods(root_module, cls):
1312
    cls.add_binary_comparison_operator('!=')
1313
    cls.add_output_stream_operator()
1314
    cls.add_binary_comparison_operator('==')
1315
    ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4InterfaceAddress::Ipv4InterfaceAddress() [constructor]
1316
    cls.add_constructor([])
1317
    ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4InterfaceAddress::Ipv4InterfaceAddress(ns3::Ipv4Address local, ns3::Ipv4Mask mask) [constructor]
1318
    cls.add_constructor([param('ns3::Ipv4Address', 'local'), param('ns3::Ipv4Mask', 'mask')])
1319
    ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4InterfaceAddress::Ipv4InterfaceAddress(ns3::Ipv4InterfaceAddress const & o) [copy constructor]
1320
    cls.add_constructor([param('ns3::Ipv4InterfaceAddress const &', 'o')])
1321
    ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4InterfaceAddress::GetBroadcast() const [member function]
1322
    cls.add_method('GetBroadcast', 
1323
                   'ns3::Ipv4Address', 
1324
                   [], 
1325
                   is_const=True)
1326
    ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4InterfaceAddress::GetLocal() const [member function]
1327
    cls.add_method('GetLocal', 
1328
                   'ns3::Ipv4Address', 
1329
                   [], 
1330
                   is_const=True)
1331
    ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4Mask ns3::Ipv4InterfaceAddress::GetMask() const [member function]
1332
    cls.add_method('GetMask', 
1333
                   'ns3::Ipv4Mask', 
1334
                   [], 
1335
                   is_const=True)
1336
    ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e ns3::Ipv4InterfaceAddress::GetScope() const [member function]
1337
    cls.add_method('GetScope', 
1338
                   'ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e', 
1339
                   [], 
1340
                   is_const=True)
1341
    ## ipv4-interface-address.h (module 'internet'): bool ns3::Ipv4InterfaceAddress::IsSecondary() const [member function]
1342
    cls.add_method('IsSecondary', 
1343
                   'bool', 
1344
                   [], 
1345
                   is_const=True)
1346
    ## ipv4-interface-address.h (module 'internet'): void ns3::Ipv4InterfaceAddress::SetBroadcast(ns3::Ipv4Address broadcast) [member function]
1347
    cls.add_method('SetBroadcast', 
1348
                   'void', 
1349
                   [param('ns3::Ipv4Address', 'broadcast')])
1350
    ## ipv4-interface-address.h (module 'internet'): void ns3::Ipv4InterfaceAddress::SetLocal(ns3::Ipv4Address local) [member function]
1351
    cls.add_method('SetLocal', 
1352
                   'void', 
1353
                   [param('ns3::Ipv4Address', 'local')])
1354
    ## ipv4-interface-address.h (module 'internet'): void ns3::Ipv4InterfaceAddress::SetMask(ns3::Ipv4Mask mask) [member function]
1355
    cls.add_method('SetMask', 
1356
                   'void', 
1357
                   [param('ns3::Ipv4Mask', 'mask')])
1358
    ## ipv4-interface-address.h (module 'internet'): void ns3::Ipv4InterfaceAddress::SetPrimary() [member function]
1359
    cls.add_method('SetPrimary', 
1360
                   'void', 
1361
                   [])
1362
    ## ipv4-interface-address.h (module 'internet'): void ns3::Ipv4InterfaceAddress::SetScope(ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e scope) [member function]
1363
    cls.add_method('SetScope', 
1364
                   'void', 
1365
                   [param('ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e', 'scope')])
1366
    ## ipv4-interface-address.h (module 'internet'): void ns3::Ipv4InterfaceAddress::SetSecondary() [member function]
1367
    cls.add_method('SetSecondary', 
1368
                   'void', 
1369
                   [])
1370
    return
1371
1372
def register_Ns3Ipv4InterfaceContainer_methods(root_module, cls):
1373
    ## ipv4-interface-container.h (module 'internet'): ns3::Ipv4InterfaceContainer::Ipv4InterfaceContainer(ns3::Ipv4InterfaceContainer const & arg0) [copy constructor]
1374
    cls.add_constructor([param('ns3::Ipv4InterfaceContainer const &', 'arg0')])
1375
    ## ipv4-interface-container.h (module 'internet'): ns3::Ipv4InterfaceContainer::Ipv4InterfaceContainer() [constructor]
1376
    cls.add_constructor([])
1377
    ## ipv4-interface-container.h (module 'internet'): void ns3::Ipv4InterfaceContainer::Add(ns3::Ipv4InterfaceContainer other) [member function]
1378
    cls.add_method('Add', 
1379
                   'void', 
1380
                   [param('ns3::Ipv4InterfaceContainer', 'other')])
1381
    ## ipv4-interface-container.h (module 'internet'): void ns3::Ipv4InterfaceContainer::Add(ns3::Ptr<ns3::Ipv4> ipv4, uint32_t interface) [member function]
1382
    cls.add_method('Add', 
1383
                   'void', 
1384
                   [param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface')])
1385
    ## ipv4-interface-container.h (module 'internet'): void ns3::Ipv4InterfaceContainer::Add(std::pair<ns3::Ptr<ns3::Ipv4>,unsigned int> ipInterfacePair) [member function]
1386
    cls.add_method('Add', 
1387
                   'void', 
1388
                   [param('std::pair< ns3::Ptr< ns3::Ipv4 >, unsigned int >', 'ipInterfacePair')])
1389
    ## ipv4-interface-container.h (module 'internet'): void ns3::Ipv4InterfaceContainer::Add(std::string ipv4Name, uint32_t interface) [member function]
1390
    cls.add_method('Add', 
1391
                   'void', 
1392
                   [param('std::string', 'ipv4Name'), param('uint32_t', 'interface')])
1393
    ## 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]
1394
    cls.add_method('Begin', 
1395
                   '__gnu_cxx::__normal_iterator< std::pair< ns3::Ptr< ns3::Ipv4 >, unsigned int > const, std::vector< std::pair< ns3::Ptr< ns3::Ipv4 >, unsigned int > > >', 
1396
                   [], 
1397
                   is_const=True)
1398
    ## 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]
1399
    cls.add_method('End', 
1400
                   '__gnu_cxx::__normal_iterator< std::pair< ns3::Ptr< ns3::Ipv4 >, unsigned int > const, std::vector< std::pair< ns3::Ptr< ns3::Ipv4 >, unsigned int > > >', 
1401
                   [], 
1402
                   is_const=True)
1403
    ## ipv4-interface-container.h (module 'internet'): std::pair<ns3::Ptr<ns3::Ipv4>,unsigned int> ns3::Ipv4InterfaceContainer::Get(uint32_t i) const [member function]
1404
    cls.add_method('Get', 
1405
                   'std::pair< ns3::Ptr< ns3::Ipv4 >, unsigned int >', 
1406
                   [param('uint32_t', 'i')], 
1407
                   is_const=True)
1408
    ## ipv4-interface-container.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4InterfaceContainer::GetAddress(uint32_t i, uint32_t j=0) const [member function]
1409
    cls.add_method('GetAddress', 
1410
                   'ns3::Ipv4Address', 
1411
                   [param('uint32_t', 'i'), param('uint32_t', 'j', default_value='0')], 
1412
                   is_const=True)
1413
    ## ipv4-interface-container.h (module 'internet'): uint32_t ns3::Ipv4InterfaceContainer::GetN() const [member function]
1414
    cls.add_method('GetN', 
1415
                   'uint32_t', 
1416
                   [], 
1417
                   is_const=True)
1418
    ## ipv4-interface-container.h (module 'internet'): void ns3::Ipv4InterfaceContainer::SetMetric(uint32_t i, uint16_t metric) [member function]
1419
    cls.add_method('SetMetric', 
1420
                   'void', 
1421
                   [param('uint32_t', 'i'), param('uint16_t', 'metric')])
1422
    return
1423
1424
def register_Ns3Ipv4Mask_methods(root_module, cls):
1425
    cls.add_binary_comparison_operator('!=')
1426
    cls.add_output_stream_operator()
1427
    cls.add_binary_comparison_operator('==')
1428
    ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask(ns3::Ipv4Mask const & arg0) [copy constructor]
1429
    cls.add_constructor([param('ns3::Ipv4Mask const &', 'arg0')])
1430
    ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask() [constructor]
1431
    cls.add_constructor([])
1432
    ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask(uint32_t mask) [constructor]
1433
    cls.add_constructor([param('uint32_t', 'mask')])
1434
    ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask(char const * mask) [constructor]
1435
    cls.add_constructor([param('char const *', 'mask')])
1436
    ## ipv4-address.h (module 'network'): uint32_t ns3::Ipv4Mask::Get() const [member function]
1437
    cls.add_method('Get', 
1438
                   'uint32_t', 
1439
                   [], 
1440
                   is_const=True)
1441
    ## ipv4-address.h (module 'network'): uint32_t ns3::Ipv4Mask::GetInverse() const [member function]
1442
    cls.add_method('GetInverse', 
1443
                   'uint32_t', 
1444
                   [], 
1445
                   is_const=True)
1446
    ## ipv4-address.h (module 'network'): static ns3::Ipv4Mask ns3::Ipv4Mask::GetLoopback() [member function]
1447
    cls.add_method('GetLoopback', 
1448
                   'ns3::Ipv4Mask', 
1449
                   [], 
1450
                   is_static=True)
1451
    ## ipv4-address.h (module 'network'): static ns3::Ipv4Mask ns3::Ipv4Mask::GetOnes() [member function]
1452
    cls.add_method('GetOnes', 
1453
                   'ns3::Ipv4Mask', 
1454
                   [], 
1455
                   is_static=True)
1456
    ## ipv4-address.h (module 'network'): uint16_t ns3::Ipv4Mask::GetPrefixLength() const [member function]
1457
    cls.add_method('GetPrefixLength', 
1458
                   'uint16_t', 
1459
                   [], 
1460
                   is_const=True)
1461
    ## ipv4-address.h (module 'network'): static ns3::Ipv4Mask ns3::Ipv4Mask::GetZero() [member function]
1462
    cls.add_method('GetZero', 
1463
                   'ns3::Ipv4Mask', 
1464
                   [], 
1465
                   is_static=True)
1466
    ## ipv4-address.h (module 'network'): bool ns3::Ipv4Mask::IsEqual(ns3::Ipv4Mask other) const [member function]
1467
    cls.add_method('IsEqual', 
1468
                   'bool', 
1469
                   [param('ns3::Ipv4Mask', 'other')], 
1470
                   is_const=True)
1471
    ## ipv4-address.h (module 'network'): bool ns3::Ipv4Mask::IsMatch(ns3::Ipv4Address a, ns3::Ipv4Address b) const [member function]
1472
    cls.add_method('IsMatch', 
1473
                   'bool', 
1474
                   [param('ns3::Ipv4Address', 'a'), param('ns3::Ipv4Address', 'b')], 
1475
                   is_const=True)
1476
    ## ipv4-address.h (module 'network'): void ns3::Ipv4Mask::Print(std::ostream & os) const [member function]
1477
    cls.add_method('Print', 
1478
                   'void', 
1479
                   [param('std::ostream &', 'os')], 
1480
                   is_const=True)
1481
    ## ipv4-address.h (module 'network'): void ns3::Ipv4Mask::Set(uint32_t mask) [member function]
1482
    cls.add_method('Set', 
1483
                   'void', 
1484
                   [param('uint32_t', 'mask')])
1485
    return
1486
1487
def register_Ns3Ipv6Address_methods(root_module, cls):
1488
    cls.add_binary_comparison_operator('<')
1489
    cls.add_binary_comparison_operator('!=')
1490
    cls.add_output_stream_operator()
1491
    cls.add_binary_comparison_operator('==')
1492
    ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address() [constructor]
1493
    cls.add_constructor([])
1494
    ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(char const * address) [constructor]
1495
    cls.add_constructor([param('char const *', 'address')])
1496
    ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(uint8_t * address) [constructor]
1497
    cls.add_constructor([param('uint8_t *', 'address')])
1498
    ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(ns3::Ipv6Address const & addr) [copy constructor]
1499
    cls.add_constructor([param('ns3::Ipv6Address const &', 'addr')])
1500
    ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(ns3::Ipv6Address const * addr) [constructor]
1501
    cls.add_constructor([param('ns3::Ipv6Address const *', 'addr')])
1502
    ## ipv6-address.h (module 'network'): ns3::Ipv6Address ns3::Ipv6Address::CombinePrefix(ns3::Ipv6Prefix const & prefix) [member function]
1503
    cls.add_method('CombinePrefix', 
1504
                   'ns3::Ipv6Address', 
1505
                   [param('ns3::Ipv6Prefix const &', 'prefix')])
1506
    ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::ConvertFrom(ns3::Address const & address) [member function]
1507
    cls.add_method('ConvertFrom', 
1508
                   'ns3::Ipv6Address', 
1509
                   [param('ns3::Address const &', 'address')], 
1510
                   is_static=True)
1511
    ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::Deserialize(uint8_t const * buf) [member function]
1512
    cls.add_method('Deserialize', 
1513
                   'ns3::Ipv6Address', 
1514
                   [param('uint8_t const *', 'buf')], 
1515
                   is_static=True)
1516
    ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAllHostsMulticast() [member function]
1517
    cls.add_method('GetAllHostsMulticast', 
1518
                   'ns3::Ipv6Address', 
1519
                   [], 
1520
                   is_static=True)
1521
    ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAllNodesMulticast() [member function]
1522
    cls.add_method('GetAllNodesMulticast', 
1523
                   'ns3::Ipv6Address', 
1524
                   [], 
1525
                   is_static=True)
1526
    ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAllRoutersMulticast() [member function]
1527
    cls.add_method('GetAllRoutersMulticast', 
1528
                   'ns3::Ipv6Address', 
1529
                   [], 
1530
                   is_static=True)
1531
    ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAny() [member function]
1532
    cls.add_method('GetAny', 
1533
                   'ns3::Ipv6Address', 
1534
                   [], 
1535
                   is_static=True)
1536
    ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::GetBytes(uint8_t * buf) const [member function]
1537
    cls.add_method('GetBytes', 
1538
                   'void', 
1539
                   [param('uint8_t *', 'buf')], 
1540
                   is_const=True)
1541
    ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetLoopback() [member function]
1542
    cls.add_method('GetLoopback', 
1543
                   'ns3::Ipv6Address', 
1544
                   [], 
1545
                   is_static=True)
1546
    ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetOnes() [member function]
1547
    cls.add_method('GetOnes', 
1548
                   'ns3::Ipv6Address', 
1549
                   [], 
1550
                   is_static=True)
1551
    ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetZero() [member function]
1552
    cls.add_method('GetZero', 
1553
                   'ns3::Ipv6Address', 
1554
                   [], 
1555
                   is_static=True)
1556
    ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAllHostsMulticast() const [member function]
1557
    cls.add_method('IsAllHostsMulticast', 
1558
                   'bool', 
1559
                   [], 
1560
                   is_const=True)
1561
    ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAllNodesMulticast() const [member function]
1562
    cls.add_method('IsAllNodesMulticast', 
1563
                   'bool', 
1564
                   [], 
1565
                   is_const=True)
1566
    ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAllRoutersMulticast() const [member function]
1567
    cls.add_method('IsAllRoutersMulticast', 
1568
                   'bool', 
1569
                   [], 
1570
                   is_const=True)
1571
    ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAny() const [member function]
1572
    cls.add_method('IsAny', 
1573
                   'bool', 
1574
                   [], 
1575
                   is_const=True)
1576
    ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsEqual(ns3::Ipv6Address const & other) const [member function]
1577
    cls.add_method('IsEqual', 
1578
                   'bool', 
1579
                   [param('ns3::Ipv6Address const &', 'other')], 
1580
                   is_const=True)
1581
    ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsLinkLocal() const [member function]
1582
    cls.add_method('IsLinkLocal', 
1583
                   'bool', 
1584
                   [], 
1585
                   is_const=True)
1586
    ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsLocalhost() const [member function]
1587
    cls.add_method('IsLocalhost', 
1588
                   'bool', 
1589
                   [], 
1590
                   is_const=True)
1591
    ## ipv6-address.h (module 'network'): static bool ns3::Ipv6Address::IsMatchingType(ns3::Address const & address) [member function]
1592
    cls.add_method('IsMatchingType', 
1593
                   'bool', 
1594
                   [param('ns3::Address const &', 'address')], 
1595
                   is_static=True)
1596
    ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsMulticast() const [member function]
1597
    cls.add_method('IsMulticast', 
1598
                   'bool', 
1599
                   [], 
1600
                   is_const=True)
1601
    ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsSolicitedMulticast() const [member function]
1602
    cls.add_method('IsSolicitedMulticast', 
1603
                   'bool', 
1604
                   [], 
1605
                   is_const=True)
1606
    ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeAutoconfiguredAddress(ns3::Mac48Address addr, ns3::Ipv6Address prefix) [member function]
1607
    cls.add_method('MakeAutoconfiguredAddress', 
1608
                   'ns3::Ipv6Address', 
1609
                   [param('ns3::Mac48Address', 'addr'), param('ns3::Ipv6Address', 'prefix')], 
1610
                   is_static=True)
1611
    ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeAutoconfiguredLinkLocalAddress(ns3::Mac48Address mac) [member function]
1612
    cls.add_method('MakeAutoconfiguredLinkLocalAddress', 
1613
                   'ns3::Ipv6Address', 
1614
                   [param('ns3::Mac48Address', 'mac')], 
1615
                   is_static=True)
1616
    ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeSolicitedAddress(ns3::Ipv6Address addr) [member function]
1617
    cls.add_method('MakeSolicitedAddress', 
1618
                   'ns3::Ipv6Address', 
1619
                   [param('ns3::Ipv6Address', 'addr')], 
1620
                   is_static=True)
1621
    ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Print(std::ostream & os) const [member function]
1622
    cls.add_method('Print', 
1623
                   'void', 
1624
                   [param('std::ostream &', 'os')], 
1625
                   is_const=True)
1626
    ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Serialize(uint8_t * buf) const [member function]
1627
    cls.add_method('Serialize', 
1628
                   'void', 
1629
                   [param('uint8_t *', 'buf')], 
1630
                   is_const=True)
1631
    ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Set(char const * address) [member function]
1632
    cls.add_method('Set', 
1633
                   'void', 
1634
                   [param('char const *', 'address')])
1635
    ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Set(uint8_t * address) [member function]
1636
    cls.add_method('Set', 
1637
                   'void', 
1638
                   [param('uint8_t *', 'address')])
1639
    return
1640
1641
def register_Ns3Ipv6InterfaceAddress_methods(root_module, cls):
1642
    cls.add_binary_comparison_operator('!=')
1643
    cls.add_output_stream_operator()
1644
    cls.add_binary_comparison_operator('==')
1645
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress::Ipv6InterfaceAddress() [constructor]
1646
    cls.add_constructor([])
1647
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress::Ipv6InterfaceAddress(ns3::Ipv6Address address) [constructor]
1648
    cls.add_constructor([param('ns3::Ipv6Address', 'address')])
1649
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress::Ipv6InterfaceAddress(ns3::Ipv6Address address, ns3::Ipv6Prefix prefix) [constructor]
1650
    cls.add_constructor([param('ns3::Ipv6Address', 'address'), param('ns3::Ipv6Prefix', 'prefix')])
1651
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress::Ipv6InterfaceAddress(ns3::Ipv6InterfaceAddress const & o) [copy constructor]
1652
    cls.add_constructor([param('ns3::Ipv6InterfaceAddress const &', 'o')])
1653
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6Address ns3::Ipv6InterfaceAddress::GetAddress() const [member function]
1654
    cls.add_method('GetAddress', 
1655
                   'ns3::Ipv6Address', 
1656
                   [], 
1657
                   is_const=True)
1658
    ## ipv6-interface-address.h (module 'internet'): uint32_t ns3::Ipv6InterfaceAddress::GetNsDadUid() const [member function]
1659
    cls.add_method('GetNsDadUid', 
1660
                   'uint32_t', 
1661
                   [], 
1662
                   is_const=True)
1663
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6Prefix ns3::Ipv6InterfaceAddress::GetPrefix() const [member function]
1664
    cls.add_method('GetPrefix', 
1665
                   'ns3::Ipv6Prefix', 
1666
                   [], 
1667
                   is_const=True)
1668
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress::Scope_e ns3::Ipv6InterfaceAddress::GetScope() const [member function]
1669
    cls.add_method('GetScope', 
1670
                   'ns3::Ipv6InterfaceAddress::Scope_e', 
1671
                   [], 
1672
                   is_const=True)
1673
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress::State_e ns3::Ipv6InterfaceAddress::GetState() const [member function]
1674
    cls.add_method('GetState', 
1675
                   'ns3::Ipv6InterfaceAddress::State_e', 
1676
                   [], 
1677
                   is_const=True)
1678
    ## ipv6-interface-address.h (module 'internet'): void ns3::Ipv6InterfaceAddress::SetAddress(ns3::Ipv6Address address) [member function]
1679
    cls.add_method('SetAddress', 
1680
                   'void', 
1681
                   [param('ns3::Ipv6Address', 'address')])
1682
    ## ipv6-interface-address.h (module 'internet'): void ns3::Ipv6InterfaceAddress::SetNsDadUid(uint32_t uid) [member function]
1683
    cls.add_method('SetNsDadUid', 
1684
                   'void', 
1685
                   [param('uint32_t', 'uid')])
1686
    ## ipv6-interface-address.h (module 'internet'): void ns3::Ipv6InterfaceAddress::SetScope(ns3::Ipv6InterfaceAddress::Scope_e scope) [member function]
1687
    cls.add_method('SetScope', 
1688
                   'void', 
1689
                   [param('ns3::Ipv6InterfaceAddress::Scope_e', 'scope')])
1690
    ## ipv6-interface-address.h (module 'internet'): void ns3::Ipv6InterfaceAddress::SetState(ns3::Ipv6InterfaceAddress::State_e state) [member function]
1691
    cls.add_method('SetState', 
1692
                   'void', 
1693
                   [param('ns3::Ipv6InterfaceAddress::State_e', 'state')])
1694
    return
1695
1696
def register_Ns3Ipv6InterfaceContainer_methods(root_module, cls):
1697
    ## ipv6-interface-container.h (module 'internet'): ns3::Ipv6InterfaceContainer::Ipv6InterfaceContainer(ns3::Ipv6InterfaceContainer const & arg0) [copy constructor]
1698
    cls.add_constructor([param('ns3::Ipv6InterfaceContainer const &', 'arg0')])
1699
    ## ipv6-interface-container.h (module 'internet'): ns3::Ipv6InterfaceContainer::Ipv6InterfaceContainer() [constructor]
1700
    cls.add_constructor([])
1701
    ## ipv6-interface-container.h (module 'internet'): void ns3::Ipv6InterfaceContainer::Add(ns3::Ptr<ns3::Ipv6> ipv6, uint32_t interface) [member function]
1702
    cls.add_method('Add', 
1703
                   'void', 
1704
                   [param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface')])
1705
    ## ipv6-interface-container.h (module 'internet'): void ns3::Ipv6InterfaceContainer::Add(ns3::Ipv6InterfaceContainer & c) [member function]
1706
    cls.add_method('Add', 
1707
                   'void', 
1708
                   [param('ns3::Ipv6InterfaceContainer &', 'c')])
1709
    ## ipv6-interface-container.h (module 'internet'): void ns3::Ipv6InterfaceContainer::Add(std::string ipv6Name, uint32_t interface) [member function]
1710
    cls.add_method('Add', 
1711
                   'void', 
1712
                   [param('std::string', 'ipv6Name'), param('uint32_t', 'interface')])
1713
    ## 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]
1714
    cls.add_method('Begin', 
1715
                   '__gnu_cxx::__normal_iterator< std::pair< ns3::Ptr< ns3::Ipv6 >, unsigned int > const, std::vector< std::pair< ns3::Ptr< ns3::Ipv6 >, unsigned int > > >', 
1716
                   [], 
1717
                   is_const=True)
1718
    ## 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]
1719
    cls.add_method('End', 
1720
                   '__gnu_cxx::__normal_iterator< std::pair< ns3::Ptr< ns3::Ipv6 >, unsigned int > const, std::vector< std::pair< ns3::Ptr< ns3::Ipv6 >, unsigned int > > >', 
1721
                   [], 
1722
                   is_const=True)
1723
    ## ipv6-interface-container.h (module 'internet'): ns3::Ipv6Address ns3::Ipv6InterfaceContainer::GetAddress(uint32_t i, uint32_t j) const [member function]
1724
    cls.add_method('GetAddress', 
1725
                   'ns3::Ipv6Address', 
1726
                   [param('uint32_t', 'i'), param('uint32_t', 'j')], 
1727
                   is_const=True)
1728
    ## ipv6-interface-container.h (module 'internet'): uint32_t ns3::Ipv6InterfaceContainer::GetInterfaceIndex(uint32_t i) const [member function]
1729
    cls.add_method('GetInterfaceIndex', 
1730
                   'uint32_t', 
1731
                   [param('uint32_t', 'i')], 
1732
                   is_const=True)
1733
    ## ipv6-interface-container.h (module 'internet'): uint32_t ns3::Ipv6InterfaceContainer::GetN() const [member function]
1734
    cls.add_method('GetN', 
1735
                   'uint32_t', 
1736
                   [], 
1737
                   is_const=True)
1738
    ## ipv6-interface-container.h (module 'internet'): void ns3::Ipv6InterfaceContainer::SetDefaultRoute(uint32_t i, uint32_t router) [member function]
1739
    cls.add_method('SetDefaultRoute', 
1740
                   'void', 
1741
                   [param('uint32_t', 'i'), param('uint32_t', 'router')])
1742
    ## ipv6-interface-container.h (module 'internet'): void ns3::Ipv6InterfaceContainer::SetRouter(uint32_t i, bool router) [member function]
1743
    cls.add_method('SetRouter', 
1744
                   'void', 
1745
                   [param('uint32_t', 'i'), param('bool', 'router')])
1746
    return
1747
1748
def register_Ns3Ipv6Prefix_methods(root_module, cls):
1749
    cls.add_binary_comparison_operator('!=')
1750
    cls.add_output_stream_operator()
1751
    cls.add_binary_comparison_operator('==')
1752
    ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix() [constructor]
1753
    cls.add_constructor([])
1754
    ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(uint8_t * prefix) [constructor]
1755
    cls.add_constructor([param('uint8_t *', 'prefix')])
1756
    ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(char const * prefix) [constructor]
1757
    cls.add_constructor([param('char const *', 'prefix')])
1758
    ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(uint8_t prefix) [constructor]
1759
    cls.add_constructor([param('uint8_t', 'prefix')])
1760
    ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(ns3::Ipv6Prefix const & prefix) [copy constructor]
1761
    cls.add_constructor([param('ns3::Ipv6Prefix const &', 'prefix')])
1762
    ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(ns3::Ipv6Prefix const * prefix) [constructor]
1763
    cls.add_constructor([param('ns3::Ipv6Prefix const *', 'prefix')])
1764
    ## ipv6-address.h (module 'network'): void ns3::Ipv6Prefix::GetBytes(uint8_t * buf) const [member function]
1765
    cls.add_method('GetBytes', 
1766
                   'void', 
1767
                   [param('uint8_t *', 'buf')], 
1768
                   is_const=True)
1769
    ## ipv6-address.h (module 'network'): static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetLoopback() [member function]
1770
    cls.add_method('GetLoopback', 
1771
                   'ns3::Ipv6Prefix', 
1772
                   [], 
1773
                   is_static=True)
1774
    ## ipv6-address.h (module 'network'): static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetOnes() [member function]
1775
    cls.add_method('GetOnes', 
1776
                   'ns3::Ipv6Prefix', 
1777
                   [], 
1778
                   is_static=True)
1779
    ## ipv6-address.h (module 'network'): uint8_t ns3::Ipv6Prefix::GetPrefixLength() const [member function]
1780
    cls.add_method('GetPrefixLength', 
1781
                   'uint8_t', 
1782
                   [], 
1783
                   is_const=True)
1784
    ## ipv6-address.h (module 'network'): static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetZero() [member function]
1785
    cls.add_method('GetZero', 
1786
                   'ns3::Ipv6Prefix', 
1787
                   [], 
1788
                   is_static=True)
1789
    ## ipv6-address.h (module 'network'): bool ns3::Ipv6Prefix::IsEqual(ns3::Ipv6Prefix const & other) const [member function]
1790
    cls.add_method('IsEqual', 
1791
                   'bool', 
1792
                   [param('ns3::Ipv6Prefix const &', 'other')], 
1793
                   is_const=True)
1794
    ## ipv6-address.h (module 'network'): bool ns3::Ipv6Prefix::IsMatch(ns3::Ipv6Address a, ns3::Ipv6Address b) const [member function]
1795
    cls.add_method('IsMatch', 
1796
                   'bool', 
1797
                   [param('ns3::Ipv6Address', 'a'), param('ns3::Ipv6Address', 'b')], 
1798
                   is_const=True)
1799
    ## ipv6-address.h (module 'network'): void ns3::Ipv6Prefix::Print(std::ostream & os) const [member function]
1800
    cls.add_method('Print', 
1801
                   'void', 
1802
                   [param('std::ostream &', 'os')], 
1803
                   is_const=True)
1804
    return
1805
1806
def register_Ns3NetDeviceContainer_methods(root_module, cls):
1807
    ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(ns3::NetDeviceContainer const & arg0) [copy constructor]
1808
    cls.add_constructor([param('ns3::NetDeviceContainer const &', 'arg0')])
1809
    ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer() [constructor]
1810
    cls.add_constructor([])
1811
    ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(ns3::Ptr<ns3::NetDevice> dev) [constructor]
1812
    cls.add_constructor([param('ns3::Ptr< ns3::NetDevice >', 'dev')])
1813
    ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(std::string devName) [constructor]
1814
    cls.add_constructor([param('std::string', 'devName')])
1815
    ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(ns3::NetDeviceContainer const & a, ns3::NetDeviceContainer const & b) [constructor]
1816
    cls.add_constructor([param('ns3::NetDeviceContainer const &', 'a'), param('ns3::NetDeviceContainer const &', 'b')])
1817
    ## net-device-container.h (module 'network'): void ns3::NetDeviceContainer::Add(ns3::NetDeviceContainer other) [member function]
1818
    cls.add_method('Add', 
1819
                   'void', 
1820
                   [param('ns3::NetDeviceContainer', 'other')])
1821
    ## net-device-container.h (module 'network'): void ns3::NetDeviceContainer::Add(ns3::Ptr<ns3::NetDevice> device) [member function]
1822
    cls.add_method('Add', 
1823
                   'void', 
1824
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')])
1825
    ## net-device-container.h (module 'network'): void ns3::NetDeviceContainer::Add(std::string deviceName) [member function]
1826
    cls.add_method('Add', 
1827
                   'void', 
1828
                   [param('std::string', 'deviceName')])
1829
    ## 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]
1830
    cls.add_method('Begin', 
1831
                   '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::NetDevice > const, std::vector< ns3::Ptr< ns3::NetDevice > > >', 
1832
                   [], 
1833
                   is_const=True)
1834
    ## 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]
1835
    cls.add_method('End', 
1836
                   '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::NetDevice > const, std::vector< ns3::Ptr< ns3::NetDevice > > >', 
1837
                   [], 
1838
                   is_const=True)
1839
    ## net-device-container.h (module 'network'): ns3::Ptr<ns3::NetDevice> ns3::NetDeviceContainer::Get(uint32_t i) const [member function]
1840
    cls.add_method('Get', 
1841
                   'ns3::Ptr< ns3::NetDevice >', 
1842
                   [param('uint32_t', 'i')], 
1843
                   is_const=True)
1844
    ## net-device-container.h (module 'network'): uint32_t ns3::NetDeviceContainer::GetN() const [member function]
1845
    cls.add_method('GetN', 
1846
                   'uint32_t', 
1847
                   [], 
1848
                   is_const=True)
1849
    return
1850
1851
def register_Ns3NodeContainer_methods(root_module, cls):
1852
    ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & arg0) [copy constructor]
1853
    cls.add_constructor([param('ns3::NodeContainer const &', 'arg0')])
1854
    ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer() [constructor]
1855
    cls.add_constructor([])
1856
    ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::Ptr<ns3::Node> node) [constructor]
1857
    cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node')])
1858
    ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(std::string nodeName) [constructor]
1859
    cls.add_constructor([param('std::string', 'nodeName')])
1860
    ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b) [constructor]
1861
    cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b')])
1862
    ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b, ns3::NodeContainer const & c) [constructor]
1863
    cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b'), param('ns3::NodeContainer const &', 'c')])
1864
    ## 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]
1865
    cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b'), param('ns3::NodeContainer const &', 'c'), param('ns3::NodeContainer const &', 'd')])
1866
    ## 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]
1867
    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')])
1868
    ## node-container.h (module 'network'): void ns3::NodeContainer::Add(ns3::NodeContainer other) [member function]
1869
    cls.add_method('Add', 
1870
                   'void', 
1871
                   [param('ns3::NodeContainer', 'other')])
1872
    ## node-container.h (module 'network'): void ns3::NodeContainer::Add(ns3::Ptr<ns3::Node> node) [member function]
1873
    cls.add_method('Add', 
1874
                   'void', 
1875
                   [param('ns3::Ptr< ns3::Node >', 'node')])
1876
    ## node-container.h (module 'network'): void ns3::NodeContainer::Add(std::string nodeName) [member function]
1877
    cls.add_method('Add', 
1878
                   'void', 
1879
                   [param('std::string', 'nodeName')])
1880
    ## 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]
1881
    cls.add_method('Begin', 
1882
                   '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > >', 
1883
                   [], 
1884
                   is_const=True)
1885
    ## node-container.h (module 'network'): void ns3::NodeContainer::Create(uint32_t n) [member function]
1886
    cls.add_method('Create', 
1887
                   'void', 
1888
                   [param('uint32_t', 'n')])
1889
    ## node-container.h (module 'network'): void ns3::NodeContainer::Create(uint32_t n, uint32_t systemId) [member function]
1890
    cls.add_method('Create', 
1891
                   'void', 
1892
                   [param('uint32_t', 'n'), param('uint32_t', 'systemId')])
1893
    ## 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]
1894
    cls.add_method('End', 
1895
                   '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > >', 
1896
                   [], 
1897
                   is_const=True)
1898
    ## node-container.h (module 'network'): ns3::Ptr<ns3::Node> ns3::NodeContainer::Get(uint32_t i) const [member function]
1899
    cls.add_method('Get', 
1900
                   'ns3::Ptr< ns3::Node >', 
1901
                   [param('uint32_t', 'i')], 
1902
                   is_const=True)
1903
    ## node-container.h (module 'network'): static ns3::NodeContainer ns3::NodeContainer::GetGlobal() [member function]
1904
    cls.add_method('GetGlobal', 
1905
                   'ns3::NodeContainer', 
1906
                   [], 
1907
                   is_static=True)
1908
    ## node-container.h (module 'network'): uint32_t ns3::NodeContainer::GetN() const [member function]
1909
    cls.add_method('GetN', 
1910
                   'uint32_t', 
1911
                   [], 
1912
                   is_const=True)
1913
    return
1914
1915
def register_Ns3ObjectBase_methods(root_module, cls):
1916
    ## object-base.h (module 'core'): ns3::ObjectBase::ObjectBase() [constructor]
1917
    cls.add_constructor([])
1918
    ## object-base.h (module 'core'): ns3::ObjectBase::ObjectBase(ns3::ObjectBase const & arg0) [copy constructor]
1919
    cls.add_constructor([param('ns3::ObjectBase const &', 'arg0')])
1920
    ## object-base.h (module 'core'): void ns3::ObjectBase::GetAttribute(std::string name, ns3::AttributeValue & value) const [member function]
1921
    cls.add_method('GetAttribute', 
1922
                   'void', 
1923
                   [param('std::string', 'name'), param('ns3::AttributeValue &', 'value')], 
1924
                   is_const=True)
1925
    ## object-base.h (module 'core'): bool ns3::ObjectBase::GetAttributeFailSafe(std::string name, ns3::AttributeValue & attribute) const [member function]
1926
    cls.add_method('GetAttributeFailSafe', 
1927
                   'bool', 
1928
                   [param('std::string', 'name'), param('ns3::AttributeValue &', 'attribute')], 
1929
                   is_const=True)
1930
    ## object-base.h (module 'core'): ns3::TypeId ns3::ObjectBase::GetInstanceTypeId() const [member function]
1931
    cls.add_method('GetInstanceTypeId', 
1932
                   'ns3::TypeId', 
1933
                   [], 
1934
                   is_pure_virtual=True, is_const=True, is_virtual=True)
1935
    ## object-base.h (module 'core'): static ns3::TypeId ns3::ObjectBase::GetTypeId() [member function]
1936
    cls.add_method('GetTypeId', 
1937
                   'ns3::TypeId', 
1938
                   [], 
1939
                   is_static=True)
1940
    ## object-base.h (module 'core'): void ns3::ObjectBase::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function]
1941
    cls.add_method('SetAttribute', 
1942
                   'void', 
1943
                   [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
1944
    ## object-base.h (module 'core'): bool ns3::ObjectBase::SetAttributeFailSafe(std::string name, ns3::AttributeValue const & value) [member function]
1945
    cls.add_method('SetAttributeFailSafe', 
1946
                   'bool', 
1947
                   [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
1948
    ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceConnect(std::string name, std::string context, ns3::CallbackBase const & cb) [member function]
1949
    cls.add_method('TraceConnect', 
1950
                   'bool', 
1951
                   [param('std::string', 'name'), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')])
1952
    ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceConnectWithoutContext(std::string name, ns3::CallbackBase const & cb) [member function]
1953
    cls.add_method('TraceConnectWithoutContext', 
1954
                   'bool', 
1955
                   [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')])
1956
    ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceDisconnect(std::string name, std::string context, ns3::CallbackBase const & cb) [member function]
1957
    cls.add_method('TraceDisconnect', 
1958
                   'bool', 
1959
                   [param('std::string', 'name'), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')])
1960
    ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceDisconnectWithoutContext(std::string name, ns3::CallbackBase const & cb) [member function]
1961
    cls.add_method('TraceDisconnectWithoutContext', 
1962
                   'bool', 
1963
                   [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')])
1964
    ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function]
1965
    cls.add_method('ConstructSelf', 
1966
                   'void', 
1967
                   [param('ns3::AttributeList const &', 'attributes')], 
1968
                   visibility='protected')
1969
    ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function]
1970
    cls.add_method('NotifyConstructionCompleted', 
1971
                   'void', 
1972
                   [], 
1973
                   visibility='protected', is_virtual=True)
1974
    return
1975
1976
def register_Ns3ObjectDeleter_methods(root_module, cls):
1977
    ## object.h (module 'core'): ns3::ObjectDeleter::ObjectDeleter() [constructor]
1978
    cls.add_constructor([])
1979
    ## object.h (module 'core'): ns3::ObjectDeleter::ObjectDeleter(ns3::ObjectDeleter const & arg0) [copy constructor]
1980
    cls.add_constructor([param('ns3::ObjectDeleter const &', 'arg0')])
1981
    ## object.h (module 'core'): static void ns3::ObjectDeleter::Delete(ns3::Object * object) [member function]
1982
    cls.add_method('Delete', 
1983
                   'void', 
1984
                   [param('ns3::Object *', 'object')], 
1985
                   is_static=True)
1986
    return
1987
1988
def register_Ns3ObjectFactory_methods(root_module, cls):
1989
    cls.add_output_stream_operator()
1990
    ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(ns3::ObjectFactory const & arg0) [copy constructor]
1991
    cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')])
1992
    ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor]
1993
    cls.add_constructor([])
1994
    ## object-factory.h (module 'core'): ns3::Ptr<ns3::Object> ns3::ObjectFactory::Create() const [member function]
1995
    cls.add_method('Create', 
1996
                   'ns3::Ptr< ns3::Object >', 
1997
                   [], 
1998
                   is_const=True)
1999
    ## object-factory.h (module 'core'): ns3::TypeId ns3::ObjectFactory::GetTypeId() const [member function]
2000
    cls.add_method('GetTypeId', 
2001
                   'ns3::TypeId', 
2002
                   [], 
2003
                   is_const=True)
2004
    ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(std::string name, ns3::AttributeValue const & value) [member function]
2005
    cls.add_method('Set', 
2006
                   'void', 
2007
                   [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
2008
    ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(ns3::AttributeList const & list) [member function]
2009
    cls.add_method('Set', 
2010
                   'void', 
2011
                   [param('ns3::AttributeList const &', 'list')])
2012
    ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function]
2013
    cls.add_method('SetTypeId', 
2014
                   'void', 
2015
                   [param('ns3::TypeId', 'tid')])
2016
    ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(char const * tid) [member function]
2017
    cls.add_method('SetTypeId', 
2018
                   'void', 
2019
                   [param('char const *', 'tid')])
2020
    ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(std::string tid) [member function]
2021
    cls.add_method('SetTypeId', 
2022
                   'void', 
2023
                   [param('std::string', 'tid')])
2024
    return
2025
2026
def register_Ns3PacketMetadata_methods(root_module, cls):
2027
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::PacketMetadata(uint64_t uid, uint32_t size) [constructor]
2028
    cls.add_constructor([param('uint64_t', 'uid'), param('uint32_t', 'size')])
2029
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::PacketMetadata(ns3::PacketMetadata const & o) [copy constructor]
2030
    cls.add_constructor([param('ns3::PacketMetadata const &', 'o')])
2031
    ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddAtEnd(ns3::PacketMetadata const & o) [member function]
2032
    cls.add_method('AddAtEnd', 
2033
                   'void', 
2034
                   [param('ns3::PacketMetadata const &', 'o')])
2035
    ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddHeader(ns3::Header const & header, uint32_t size) [member function]
2036
    cls.add_method('AddHeader', 
2037
                   'void', 
2038
                   [param('ns3::Header const &', 'header'), param('uint32_t', 'size')])
2039
    ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddPaddingAtEnd(uint32_t end) [member function]
2040
    cls.add_method('AddPaddingAtEnd', 
2041
                   'void', 
2042
                   [param('uint32_t', 'end')])
2043
    ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddTrailer(ns3::Trailer const & trailer, uint32_t size) [member function]
2044
    cls.add_method('AddTrailer', 
2045
                   'void', 
2046
                   [param('ns3::Trailer const &', 'trailer'), param('uint32_t', 'size')])
2047
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator ns3::PacketMetadata::BeginItem(ns3::Buffer buffer) const [member function]
2048
    cls.add_method('BeginItem', 
2049
                   'ns3::PacketMetadata::ItemIterator', 
2050
                   [param('ns3::Buffer', 'buffer')], 
2051
                   is_const=True)
2052
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata ns3::PacketMetadata::CreateFragment(uint32_t start, uint32_t end) const [member function]
2053
    cls.add_method('CreateFragment', 
2054
                   'ns3::PacketMetadata', 
2055
                   [param('uint32_t', 'start'), param('uint32_t', 'end')], 
2056
                   is_const=True)
2057
    ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::Deserialize(uint8_t const * buffer, uint32_t size) [member function]
2058
    cls.add_method('Deserialize', 
2059
                   'uint32_t', 
2060
                   [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
2061
    ## packet-metadata.h (module 'network'): static void ns3::PacketMetadata::Enable() [member function]
2062
    cls.add_method('Enable', 
2063
                   'void', 
2064
                   [], 
2065
                   is_static=True)
2066
    ## packet-metadata.h (module 'network'): static void ns3::PacketMetadata::EnableChecking() [member function]
2067
    cls.add_method('EnableChecking', 
2068
                   'void', 
2069
                   [], 
2070
                   is_static=True)
2071
    ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::GetSerializedSize() const [member function]
2072
    cls.add_method('GetSerializedSize', 
2073
                   'uint32_t', 
2074
                   [], 
2075
                   is_const=True)
2076
    ## packet-metadata.h (module 'network'): uint64_t ns3::PacketMetadata::GetUid() const [member function]
2077
    cls.add_method('GetUid', 
2078
                   'uint64_t', 
2079
                   [], 
2080
                   is_const=True)
2081
    ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveAtEnd(uint32_t end) [member function]
2082
    cls.add_method('RemoveAtEnd', 
2083
                   'void', 
2084
                   [param('uint32_t', 'end')])
2085
    ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveAtStart(uint32_t start) [member function]
2086
    cls.add_method('RemoveAtStart', 
2087
                   'void', 
2088
                   [param('uint32_t', 'start')])
2089
    ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveHeader(ns3::Header const & header, uint32_t size) [member function]
2090
    cls.add_method('RemoveHeader', 
2091
                   'void', 
2092
                   [param('ns3::Header const &', 'header'), param('uint32_t', 'size')])
2093
    ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveTrailer(ns3::Trailer const & trailer, uint32_t size) [member function]
2094
    cls.add_method('RemoveTrailer', 
2095
                   'void', 
2096
                   [param('ns3::Trailer const &', 'trailer'), param('uint32_t', 'size')])
2097
    ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
2098
    cls.add_method('Serialize', 
2099
                   'uint32_t', 
2100
                   [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')], 
2101
                   is_const=True)
2102
    return
2103
2104
def register_Ns3PacketMetadataItem_methods(root_module, cls):
2105
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::Item() [constructor]
2106
    cls.add_constructor([])
2107
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::Item(ns3::PacketMetadata::Item const & arg0) [copy constructor]
2108
    cls.add_constructor([param('ns3::PacketMetadata::Item const &', 'arg0')])
2109
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::current [variable]
2110
    cls.add_instance_attribute('current', 'ns3::Buffer::Iterator', is_const=False)
2111
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentSize [variable]
2112
    cls.add_instance_attribute('currentSize', 'uint32_t', is_const=False)
2113
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentTrimedFromEnd [variable]
2114
    cls.add_instance_attribute('currentTrimedFromEnd', 'uint32_t', is_const=False)
2115
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentTrimedFromStart [variable]
2116
    cls.add_instance_attribute('currentTrimedFromStart', 'uint32_t', is_const=False)
2117
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::isFragment [variable]
2118
    cls.add_instance_attribute('isFragment', 'bool', is_const=False)
2119
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::tid [variable]
2120
    cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
2121
    return
2122
2123
def register_Ns3PacketMetadataItemIterator_methods(root_module, cls):
2124
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator::ItemIterator(ns3::PacketMetadata::ItemIterator const & arg0) [copy constructor]
2125
    cls.add_constructor([param('ns3::PacketMetadata::ItemIterator const &', 'arg0')])
2126
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator::ItemIterator(ns3::PacketMetadata const * metadata, ns3::Buffer buffer) [constructor]
2127
    cls.add_constructor([param('ns3::PacketMetadata const *', 'metadata'), param('ns3::Buffer', 'buffer')])
2128
    ## packet-metadata.h (module 'network'): bool ns3::PacketMetadata::ItemIterator::HasNext() const [member function]
2129
    cls.add_method('HasNext', 
2130
                   'bool', 
2131
                   [], 
2132
                   is_const=True)
2133
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item ns3::PacketMetadata::ItemIterator::Next() [member function]
2134
    cls.add_method('Next', 
2135
                   'ns3::PacketMetadata::Item', 
2136
                   [])
2137
    return
2138
2139
def register_Ns3PacketTagIterator_methods(root_module, cls):
2140
    ## packet.h (module 'network'): ns3::PacketTagIterator::PacketTagIterator(ns3::PacketTagIterator const & arg0) [copy constructor]
2141
    cls.add_constructor([param('ns3::PacketTagIterator const &', 'arg0')])
2142
    ## packet.h (module 'network'): bool ns3::PacketTagIterator::HasNext() const [member function]
2143
    cls.add_method('HasNext', 
2144
                   'bool', 
2145
                   [], 
2146
                   is_const=True)
2147
    ## packet.h (module 'network'): ns3::PacketTagIterator::Item ns3::PacketTagIterator::Next() [member function]
2148
    cls.add_method('Next', 
2149
                   'ns3::PacketTagIterator::Item', 
2150
                   [])
2151
    return
2152
2153
def register_Ns3PacketTagIteratorItem_methods(root_module, cls):
2154
    ## packet.h (module 'network'): ns3::PacketTagIterator::Item::Item(ns3::PacketTagIterator::Item const & arg0) [copy constructor]
2155
    cls.add_constructor([param('ns3::PacketTagIterator::Item const &', 'arg0')])
2156
    ## packet.h (module 'network'): void ns3::PacketTagIterator::Item::GetTag(ns3::Tag & tag) const [member function]
2157
    cls.add_method('GetTag', 
2158
                   'void', 
2159
                   [param('ns3::Tag &', 'tag')], 
2160
                   is_const=True)
2161
    ## packet.h (module 'network'): ns3::TypeId ns3::PacketTagIterator::Item::GetTypeId() const [member function]
2162
    cls.add_method('GetTypeId', 
2163
                   'ns3::TypeId', 
2164
                   [], 
2165
                   is_const=True)
2166
    return
2167
2168
def register_Ns3PacketTagList_methods(root_module, cls):
2169
    ## packet-tag-list.h (module 'network'): ns3::PacketTagList::PacketTagList() [constructor]
2170
    cls.add_constructor([])
2171
    ## packet-tag-list.h (module 'network'): ns3::PacketTagList::PacketTagList(ns3::PacketTagList const & o) [copy constructor]
2172
    cls.add_constructor([param('ns3::PacketTagList const &', 'o')])
2173
    ## packet-tag-list.h (module 'network'): void ns3::PacketTagList::Add(ns3::Tag const & tag) const [member function]
2174
    cls.add_method('Add', 
2175
                   'void', 
2176
                   [param('ns3::Tag const &', 'tag')], 
2177
                   is_const=True)
2178
    ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData const * ns3::PacketTagList::Head() const [member function]
2179
    cls.add_method('Head', 
2180
                   'ns3::PacketTagList::TagData const *', 
2181
                   [], 
2182
                   is_const=True)
2183
    ## packet-tag-list.h (module 'network'): bool ns3::PacketTagList::Peek(ns3::Tag & tag) const [member function]
2184
    cls.add_method('Peek', 
2185
                   'bool', 
2186
                   [param('ns3::Tag &', 'tag')], 
2187
                   is_const=True)
2188
    ## packet-tag-list.h (module 'network'): bool ns3::PacketTagList::Remove(ns3::Tag & tag) [member function]
2189
    cls.add_method('Remove', 
2190
                   'bool', 
2191
                   [param('ns3::Tag &', 'tag')])
2192
    ## packet-tag-list.h (module 'network'): void ns3::PacketTagList::RemoveAll() [member function]
2193
    cls.add_method('RemoveAll', 
2194
                   'void', 
2195
                   [])
2196
    return
2197
2198
def register_Ns3PacketTagListTagData_methods(root_module, cls):
2199
    ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::TagData() [constructor]
2200
    cls.add_constructor([])
2201
    ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::TagData(ns3::PacketTagList::TagData const & arg0) [copy constructor]
2202
    cls.add_constructor([param('ns3::PacketTagList::TagData const &', 'arg0')])
2203
    ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::count [variable]
2204
    cls.add_instance_attribute('count', 'uint32_t', is_const=False)
2205
    ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::data [variable]
2206
    cls.add_instance_attribute('data', 'uint8_t [ 20 ]', is_const=False)
2207
    ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::next [variable]
2208
    cls.add_instance_attribute('next', 'ns3::PacketTagList::TagData *', is_const=False)
2209
    ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::tid [variable]
2210
    cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
2211
    return
2212
2213
def register_Ns3PcapFile_methods(root_module, cls):
2214
    ## pcap-file.h (module 'network'): ns3::PcapFile::PcapFile() [constructor]
2215
    cls.add_constructor([])
2216
    ## pcap-file.h (module 'network'): void ns3::PcapFile::Clear() [member function]
2217
    cls.add_method('Clear', 
2218
                   'void', 
2219
                   [])
2220
    ## pcap-file.h (module 'network'): void ns3::PcapFile::Close() [member function]
2221
    cls.add_method('Close', 
2222
                   'void', 
2223
                   [])
2224
    ## 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]
2225
    cls.add_method('Diff', 
2226
                   'bool', 
2227
                   [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')], 
2228
                   is_static=True)
2229
    ## pcap-file.h (module 'network'): bool ns3::PcapFile::Eof() const [member function]
2230
    cls.add_method('Eof', 
2231
                   'bool', 
2232
                   [], 
2233
                   is_const=True)
2234
    ## pcap-file.h (module 'network'): bool ns3::PcapFile::Fail() const [member function]
2235
    cls.add_method('Fail', 
2236
                   'bool', 
2237
                   [], 
2238
                   is_const=True)
2239
    ## pcap-file.h (module 'network'): uint32_t ns3::PcapFile::GetDataLinkType() [member function]
2240
    cls.add_method('GetDataLinkType', 
2241
                   'uint32_t', 
2242
                   [])
2243
    ## pcap-file.h (module 'network'): uint32_t ns3::PcapFile::GetMagic() [member function]
2244
    cls.add_method('GetMagic', 
2245
                   'uint32_t', 
2246
                   [])
2247
    ## pcap-file.h (module 'network'): uint32_t ns3::PcapFile::GetSigFigs() [member function]
2248
    cls.add_method('GetSigFigs', 
2249
                   'uint32_t', 
2250
                   [])
2251
    ## pcap-file.h (module 'network'): uint32_t ns3::PcapFile::GetSnapLen() [member function]
2252
    cls.add_method('GetSnapLen', 
2253
                   'uint32_t', 
2254
                   [])
2255
    ## pcap-file.h (module 'network'): bool ns3::PcapFile::GetSwapMode() [member function]
2256
    cls.add_method('GetSwapMode', 
2257
                   'bool', 
2258
                   [])
2259
    ## pcap-file.h (module 'network'): int32_t ns3::PcapFile::GetTimeZoneOffset() [member function]
2260
    cls.add_method('GetTimeZoneOffset', 
2261
                   'int32_t', 
2262
                   [])
2263
    ## pcap-file.h (module 'network'): uint16_t ns3::PcapFile::GetVersionMajor() [member function]
2264
    cls.add_method('GetVersionMajor', 
2265
                   'uint16_t', 
2266
                   [])
2267
    ## pcap-file.h (module 'network'): uint16_t ns3::PcapFile::GetVersionMinor() [member function]
2268
    cls.add_method('GetVersionMinor', 
2269
                   'uint16_t', 
2270
                   [])
2271
    ## 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]
2272
    cls.add_method('Init', 
2273
                   'void', 
2274
                   [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')])
2275
    ## pcap-file.h (module 'network'): void ns3::PcapFile::Open(std::string const & filename, std::_Ios_Openmode mode) [member function]
2276
    cls.add_method('Open', 
2277
                   'void', 
2278
                   [param('std::string const &', 'filename'), param('std::_Ios_Openmode', 'mode')])
2279
    ## 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]
2280
    cls.add_method('Read', 
2281
                   'void', 
2282
                   [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')])
2283
    ## 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]
2284
    cls.add_method('Write', 
2285
                   'void', 
2286
                   [param('uint32_t', 'tsSec'), param('uint32_t', 'tsUsec'), param('uint8_t const * const', 'data'), param('uint32_t', 'totalLen')])
2287
    ## pcap-file.h (module 'network'): void ns3::PcapFile::Write(uint32_t tsSec, uint32_t tsUsec, ns3::Ptr<const ns3::Packet> p) [member function]
2288
    cls.add_method('Write', 
2289
                   'void', 
2290
                   [param('uint32_t', 'tsSec'), param('uint32_t', 'tsUsec'), param('ns3::Ptr< ns3::Packet const >', 'p')])
2291
    ## 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]
2292
    cls.add_method('Write', 
2293
                   'void', 
2294
                   [param('uint32_t', 'tsSec'), param('uint32_t', 'tsUsec'), param('ns3::Header &', 'header'), param('ns3::Ptr< ns3::Packet const >', 'p')])
2295
    ## pcap-file.h (module 'network'): ns3::PcapFile::SNAPLEN_DEFAULT [variable]
2296
    cls.add_static_attribute('SNAPLEN_DEFAULT', 'uint32_t const', is_const=True)
2297
    ## pcap-file.h (module 'network'): ns3::PcapFile::ZONE_DEFAULT [variable]
2298
    cls.add_static_attribute('ZONE_DEFAULT', 'int32_t const', is_const=True)
2299
    return
2300
2301
def register_Ns3PcapHelper_methods(root_module, cls):
2302
    ## trace-helper.h (module 'network'): ns3::PcapHelper::PcapHelper(ns3::PcapHelper const & arg0) [copy constructor]
2303
    cls.add_constructor([param('ns3::PcapHelper const &', 'arg0')])
2304
    ## trace-helper.h (module 'network'): ns3::PcapHelper::PcapHelper() [constructor]
2305
    cls.add_constructor([])
2306
    ## 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]
2307
    cls.add_method('CreateFile', 
2308
                   'ns3::Ptr< ns3::PcapFileWrapper >', 
2309
                   [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')])
2310
    ## trace-helper.h (module 'network'): std::string ns3::PcapHelper::GetFilenameFromDevice(std::string prefix, ns3::Ptr<ns3::NetDevice> device, bool useObjectNames=true) [member function]
2311
    cls.add_method('GetFilenameFromDevice', 
2312
                   'std::string', 
2313
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'device'), param('bool', 'useObjectNames', default_value='true')])
2314
    ## 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]
2315
    cls.add_method('GetFilenameFromInterfacePair', 
2316
                   'std::string', 
2317
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Object >', 'object'), param('uint32_t', 'interface'), param('bool', 'useObjectNames', default_value='true')])
2318
    return
2319
2320
def register_Ns3PcapHelperForDevice_methods(root_module, cls):
2321
    ## trace-helper.h (module 'network'): ns3::PcapHelperForDevice::PcapHelperForDevice(ns3::PcapHelperForDevice const & arg0) [copy constructor]
2322
    cls.add_constructor([param('ns3::PcapHelperForDevice const &', 'arg0')])
2323
    ## trace-helper.h (module 'network'): ns3::PcapHelperForDevice::PcapHelperForDevice() [constructor]
2324
    cls.add_constructor([])
2325
    ## 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]
2326
    cls.add_method('EnablePcap', 
2327
                   'void', 
2328
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'promiscuous', default_value='false'), param('bool', 'explicitFilename', default_value='false')])
2329
    ## trace-helper.h (module 'network'): void ns3::PcapHelperForDevice::EnablePcap(std::string prefix, std::string ndName, bool promiscuous=false, bool explicitFilename=false) [member function]
2330
    cls.add_method('EnablePcap', 
2331
                   'void', 
2332
                   [param('std::string', 'prefix'), param('std::string', 'ndName'), param('bool', 'promiscuous', default_value='false'), param('bool', 'explicitFilename', default_value='false')])
2333
    ## trace-helper.h (module 'network'): void ns3::PcapHelperForDevice::EnablePcap(std::string prefix, ns3::NetDeviceContainer d, bool promiscuous=false) [member function]
2334
    cls.add_method('EnablePcap', 
2335
                   'void', 
2336
                   [param('std::string', 'prefix'), param('ns3::NetDeviceContainer', 'd'), param('bool', 'promiscuous', default_value='false')])
2337
    ## trace-helper.h (module 'network'): void ns3::PcapHelperForDevice::EnablePcap(std::string prefix, ns3::NodeContainer n, bool promiscuous=false) [member function]
2338
    cls.add_method('EnablePcap', 
2339
                   'void', 
2340
                   [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n'), param('bool', 'promiscuous', default_value='false')])
2341
    ## trace-helper.h (module 'network'): void ns3::PcapHelperForDevice::EnablePcap(std::string prefix, uint32_t nodeid, uint32_t deviceid, bool promiscuous=false) [member function]
2342
    cls.add_method('EnablePcap', 
2343
                   'void', 
2344
                   [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid'), param('bool', 'promiscuous', default_value='false')])
2345
    ## trace-helper.h (module 'network'): void ns3::PcapHelperForDevice::EnablePcapAll(std::string prefix, bool promiscuous=false) [member function]
2346
    cls.add_method('EnablePcapAll', 
2347
                   'void', 
2348
                   [param('std::string', 'prefix'), param('bool', 'promiscuous', default_value='false')])
2349
    ## trace-helper.h (module 'network'): void ns3::PcapHelperForDevice::EnablePcapInternal(std::string prefix, ns3::Ptr<ns3::NetDevice> nd, bool promiscuous, bool explicitFilename) [member function]
2350
    cls.add_method('EnablePcapInternal', 
2351
                   'void', 
2352
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'promiscuous'), param('bool', 'explicitFilename')], 
2353
                   is_pure_virtual=True, is_virtual=True)
2354
    return
2355
2356
def register_Ns3PcapHelperForIpv4_methods(root_module, cls):
2357
    ## internet-trace-helper.h (module 'internet'): ns3::PcapHelperForIpv4::PcapHelperForIpv4(ns3::PcapHelperForIpv4 const & arg0) [copy constructor]
2358
    cls.add_constructor([param('ns3::PcapHelperForIpv4 const &', 'arg0')])
2359
    ## internet-trace-helper.h (module 'internet'): ns3::PcapHelperForIpv4::PcapHelperForIpv4() [constructor]
2360
    cls.add_constructor([])
2361
    ## 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]
2362
    cls.add_method('EnablePcapIpv4', 
2363
                   'void', 
2364
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')])
2365
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv4::EnablePcapIpv4(std::string prefix, std::string ipv4Name, uint32_t interface, bool explicitFilename=false) [member function]
2366
    cls.add_method('EnablePcapIpv4', 
2367
                   'void', 
2368
                   [param('std::string', 'prefix'), param('std::string', 'ipv4Name'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')])
2369
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv4::EnablePcapIpv4(std::string prefix, ns3::Ipv4InterfaceContainer c) [member function]
2370
    cls.add_method('EnablePcapIpv4', 
2371
                   'void', 
2372
                   [param('std::string', 'prefix'), param('ns3::Ipv4InterfaceContainer', 'c')])
2373
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv4::EnablePcapIpv4(std::string prefix, ns3::NodeContainer n) [member function]
2374
    cls.add_method('EnablePcapIpv4', 
2375
                   'void', 
2376
                   [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')])
2377
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv4::EnablePcapIpv4(std::string prefix, uint32_t nodeid, uint32_t interface, bool explicitFilename) [member function]
2378
    cls.add_method('EnablePcapIpv4', 
2379
                   'void', 
2380
                   [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')])
2381
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv4::EnablePcapIpv4All(std::string prefix) [member function]
2382
    cls.add_method('EnablePcapIpv4All', 
2383
                   'void', 
2384
                   [param('std::string', 'prefix')])
2385
    ## 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]
2386
    cls.add_method('EnablePcapIpv4Internal', 
2387
                   'void', 
2388
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], 
2389
                   is_pure_virtual=True, is_virtual=True)
2390
    return
2391
2392
def register_Ns3PcapHelperForIpv6_methods(root_module, cls):
2393
    ## internet-trace-helper.h (module 'internet'): ns3::PcapHelperForIpv6::PcapHelperForIpv6(ns3::PcapHelperForIpv6 const & arg0) [copy constructor]
2394
    cls.add_constructor([param('ns3::PcapHelperForIpv6 const &', 'arg0')])
2395
    ## internet-trace-helper.h (module 'internet'): ns3::PcapHelperForIpv6::PcapHelperForIpv6() [constructor]
2396
    cls.add_constructor([])
2397
    ## 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]
2398
    cls.add_method('EnablePcapIpv6', 
2399
                   'void', 
2400
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')])
2401
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, std::string ipv6Name, uint32_t interface, bool explicitFilename=false) [member function]
2402
    cls.add_method('EnablePcapIpv6', 
2403
                   'void', 
2404
                   [param('std::string', 'prefix'), param('std::string', 'ipv6Name'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')])
2405
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, ns3::Ipv6InterfaceContainer c) [member function]
2406
    cls.add_method('EnablePcapIpv6', 
2407
                   'void', 
2408
                   [param('std::string', 'prefix'), param('ns3::Ipv6InterfaceContainer', 'c')])
2409
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, ns3::NodeContainer n) [member function]
2410
    cls.add_method('EnablePcapIpv6', 
2411
                   'void', 
2412
                   [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')])
2413
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, uint32_t nodeid, uint32_t interface, bool explicitFilename) [member function]
2414
    cls.add_method('EnablePcapIpv6', 
2415
                   'void', 
2416
                   [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')])
2417
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv6::EnablePcapIpv6All(std::string prefix) [member function]
2418
    cls.add_method('EnablePcapIpv6All', 
2419
                   'void', 
2420
                   [param('std::string', 'prefix')])
2421
    ## 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]
2422
    cls.add_method('EnablePcapIpv6Internal', 
2423
                   'void', 
2424
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], 
2425
                   is_pure_virtual=True, is_virtual=True)
2426
    return
2427
2428
def register_Ns3PointToPointDumbbellHelper_methods(root_module, cls):
2429
    ## point-to-point-dumbbell.h (module 'point-to-point-layout'): ns3::PointToPointDumbbellHelper::PointToPointDumbbellHelper(ns3::PointToPointDumbbellHelper const & arg0) [copy constructor]
2430
    cls.add_constructor([param('ns3::PointToPointDumbbellHelper const &', 'arg0')])
2431
    ## point-to-point-dumbbell.h (module 'point-to-point-layout'): ns3::PointToPointDumbbellHelper::PointToPointDumbbellHelper(uint32_t nLeftLeaf, ns3::PointToPointHelper leftHelper, uint32_t nRightLeaf, ns3::PointToPointHelper rightHelper, ns3::PointToPointHelper bottleneckHelper) [constructor]
2432
    cls.add_constructor([param('uint32_t', 'nLeftLeaf'), param('ns3::PointToPointHelper', 'leftHelper'), param('uint32_t', 'nRightLeaf'), param('ns3::PointToPointHelper', 'rightHelper'), param('ns3::PointToPointHelper', 'bottleneckHelper')])
2433
    ## point-to-point-dumbbell.h (module 'point-to-point-layout'): void ns3::PointToPointDumbbellHelper::AssignIpv4Addresses(ns3::Ipv4AddressHelper leftIp, ns3::Ipv4AddressHelper rightIp, ns3::Ipv4AddressHelper routerIp) [member function]
2434
    cls.add_method('AssignIpv4Addresses', 
2435
                   'void', 
2436
                   [param('ns3::Ipv4AddressHelper', 'leftIp'), param('ns3::Ipv4AddressHelper', 'rightIp'), param('ns3::Ipv4AddressHelper', 'routerIp')])
2437
    ## point-to-point-dumbbell.h (module 'point-to-point-layout'): void ns3::PointToPointDumbbellHelper::BoundingBox(double ulx, double uly, double lrx, double lry) [member function]
2438
    cls.add_method('BoundingBox', 
2439
                   'void', 
2440
                   [param('double', 'ulx'), param('double', 'uly'), param('double', 'lrx'), param('double', 'lry')])
2441
    ## point-to-point-dumbbell.h (module 'point-to-point-layout'): ns3::Ptr<ns3::Node> ns3::PointToPointDumbbellHelper::GetLeft() const [member function]
2442
    cls.add_method('GetLeft', 
2443
                   'ns3::Ptr< ns3::Node >', 
2444
                   [], 
2445
                   is_const=True)
2446
    ## point-to-point-dumbbell.h (module 'point-to-point-layout'): ns3::Ptr<ns3::Node> ns3::PointToPointDumbbellHelper::GetLeft(uint32_t i) const [member function]
2447
    cls.add_method('GetLeft', 
2448
                   'ns3::Ptr< ns3::Node >', 
2449
                   [param('uint32_t', 'i')], 
2450
                   is_const=True)
2451
    ## point-to-point-dumbbell.h (module 'point-to-point-layout'): ns3::Ipv4Address ns3::PointToPointDumbbellHelper::GetLeftIpv4Address(uint32_t i) const [member function]
2452
    cls.add_method('GetLeftIpv4Address', 
2453
                   'ns3::Ipv4Address', 
2454
                   [param('uint32_t', 'i')], 
2455
                   is_const=True)
2456
    ## point-to-point-dumbbell.h (module 'point-to-point-layout'): ns3::Ptr<ns3::Node> ns3::PointToPointDumbbellHelper::GetRight() const [member function]
2457
    cls.add_method('GetRight', 
2458
                   'ns3::Ptr< ns3::Node >', 
2459
                   [], 
2460
                   is_const=True)
2461
    ## point-to-point-dumbbell.h (module 'point-to-point-layout'): ns3::Ptr<ns3::Node> ns3::PointToPointDumbbellHelper::GetRight(uint32_t i) const [member function]
2462
    cls.add_method('GetRight', 
2463
                   'ns3::Ptr< ns3::Node >', 
2464
                   [param('uint32_t', 'i')], 
2465
                   is_const=True)
2466
    ## point-to-point-dumbbell.h (module 'point-to-point-layout'): ns3::Ipv4Address ns3::PointToPointDumbbellHelper::GetRightIpv4Address(uint32_t i) const [member function]
2467
    cls.add_method('GetRightIpv4Address', 
2468
                   'ns3::Ipv4Address', 
2469
                   [param('uint32_t', 'i')], 
2470
                   is_const=True)
2471
    ## point-to-point-dumbbell.h (module 'point-to-point-layout'): void ns3::PointToPointDumbbellHelper::InstallStack(ns3::InternetStackHelper stack) [member function]
2472
    cls.add_method('InstallStack', 
2473
                   'void', 
2474
                   [param('ns3::InternetStackHelper', 'stack')])
2475
    ## point-to-point-dumbbell.h (module 'point-to-point-layout'): uint32_t ns3::PointToPointDumbbellHelper::LeftCount() const [member function]
2476
    cls.add_method('LeftCount', 
2477
                   'uint32_t', 
2478
                   [], 
2479
                   is_const=True)
2480
    ## point-to-point-dumbbell.h (module 'point-to-point-layout'): uint32_t ns3::PointToPointDumbbellHelper::RightCount() const [member function]
2481
    cls.add_method('RightCount', 
2482
                   'uint32_t', 
2483
                   [], 
2484
                   is_const=True)
2485
    return
2486
2487
def register_Ns3PointToPointGridHelper_methods(root_module, cls):
2488
    ## point-to-point-grid.h (module 'point-to-point-layout'): ns3::PointToPointGridHelper::PointToPointGridHelper(ns3::PointToPointGridHelper const & arg0) [copy constructor]
2489
    cls.add_constructor([param('ns3::PointToPointGridHelper const &', 'arg0')])
2490
    ## point-to-point-grid.h (module 'point-to-point-layout'): ns3::PointToPointGridHelper::PointToPointGridHelper(uint32_t nRows, uint32_t nCols, ns3::PointToPointHelper pointToPoint) [constructor]
2491
    cls.add_constructor([param('uint32_t', 'nRows'), param('uint32_t', 'nCols'), param('ns3::PointToPointHelper', 'pointToPoint')])
2492
    ## point-to-point-grid.h (module 'point-to-point-layout'): void ns3::PointToPointGridHelper::AssignIpv4Addresses(ns3::Ipv4AddressHelper rowIp, ns3::Ipv4AddressHelper colIp) [member function]
2493
    cls.add_method('AssignIpv4Addresses', 
2494
                   'void', 
2495
                   [param('ns3::Ipv4AddressHelper', 'rowIp'), param('ns3::Ipv4AddressHelper', 'colIp')])
2496
    ## point-to-point-grid.h (module 'point-to-point-layout'): void ns3::PointToPointGridHelper::BoundingBox(double ulx, double uly, double lrx, double lry) [member function]
2497
    cls.add_method('BoundingBox', 
2498
                   'void', 
2499
                   [param('double', 'ulx'), param('double', 'uly'), param('double', 'lrx'), param('double', 'lry')])
2500
    ## point-to-point-grid.h (module 'point-to-point-layout'): ns3::Ipv4Address ns3::PointToPointGridHelper::GetIpv4Address(uint32_t row, uint32_t col) [member function]
2501
    cls.add_method('GetIpv4Address', 
2502
                   'ns3::Ipv4Address', 
2503
                   [param('uint32_t', 'row'), param('uint32_t', 'col')])
2504
    ## point-to-point-grid.h (module 'point-to-point-layout'): ns3::Ptr<ns3::Node> ns3::PointToPointGridHelper::GetNode(uint32_t row, uint32_t col) [member function]
2505
    cls.add_method('GetNode', 
2506
                   'ns3::Ptr< ns3::Node >', 
2507
                   [param('uint32_t', 'row'), param('uint32_t', 'col')])
2508
    ## point-to-point-grid.h (module 'point-to-point-layout'): void ns3::PointToPointGridHelper::InstallStack(ns3::InternetStackHelper stack) [member function]
2509
    cls.add_method('InstallStack', 
2510
                   'void', 
2511
                   [param('ns3::InternetStackHelper', 'stack')])
2512
    return
2513
2514
def register_Ns3PointToPointHelper_methods(root_module, cls):
2515
    ## point-to-point-helper.h (module 'point-to-point'): ns3::PointToPointHelper::PointToPointHelper(ns3::PointToPointHelper const & arg0) [copy constructor]
2516
    cls.add_constructor([param('ns3::PointToPointHelper const &', 'arg0')])
2517
    ## point-to-point-helper.h (module 'point-to-point'): ns3::PointToPointHelper::PointToPointHelper() [constructor]
2518
    cls.add_constructor([])
2519
    ## point-to-point-helper.h (module 'point-to-point'): ns3::NetDeviceContainer ns3::PointToPointHelper::Install(ns3::NodeContainer c) [member function]
2520
    cls.add_method('Install', 
2521
                   'ns3::NetDeviceContainer', 
2522
                   [param('ns3::NodeContainer', 'c')])
2523
    ## 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]
2524
    cls.add_method('Install', 
2525
                   'ns3::NetDeviceContainer', 
2526
                   [param('ns3::Ptr< ns3::Node >', 'a'), param('ns3::Ptr< ns3::Node >', 'b')])
2527
    ## point-to-point-helper.h (module 'point-to-point'): ns3::NetDeviceContainer ns3::PointToPointHelper::Install(ns3::Ptr<ns3::Node> a, std::string bName) [member function]
2528
    cls.add_method('Install', 
2529
                   'ns3::NetDeviceContainer', 
2530
                   [param('ns3::Ptr< ns3::Node >', 'a'), param('std::string', 'bName')])
2531
    ## point-to-point-helper.h (module 'point-to-point'): ns3::NetDeviceContainer ns3::PointToPointHelper::Install(std::string aName, ns3::Ptr<ns3::Node> b) [member function]
2532
    cls.add_method('Install', 
2533
                   'ns3::NetDeviceContainer', 
2534
                   [param('std::string', 'aName'), param('ns3::Ptr< ns3::Node >', 'b')])
2535
    ## point-to-point-helper.h (module 'point-to-point'): ns3::NetDeviceContainer ns3::PointToPointHelper::Install(std::string aNode, std::string bNode) [member function]
2536
    cls.add_method('Install', 
2537
                   'ns3::NetDeviceContainer', 
2538
                   [param('std::string', 'aNode'), param('std::string', 'bNode')])
2539
    ## point-to-point-helper.h (module 'point-to-point'): void ns3::PointToPointHelper::SetChannelAttribute(std::string name, ns3::AttributeValue const & value) [member function]
2540
    cls.add_method('SetChannelAttribute', 
2541
                   'void', 
2542
                   [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
2543
    ## point-to-point-helper.h (module 'point-to-point'): void ns3::PointToPointHelper::SetDeviceAttribute(std::string name, ns3::AttributeValue const & value) [member function]
2544
    cls.add_method('SetDeviceAttribute', 
2545
                   'void', 
2546
                   [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
2547
    ## 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]
2548
    cls.add_method('SetQueue', 
2549
                   'void', 
2550
                   [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()')])
2551
    ## 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]
2552
    cls.add_method('EnableAsciiInternal', 
2553
                   'void', 
2554
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'explicitFilename')], 
2555
                   visibility='private', is_virtual=True)
2556
    ## 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]
2557
    cls.add_method('EnablePcapInternal', 
2558
                   'void', 
2559
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'promiscuous'), param('bool', 'explicitFilename')], 
2560
                   visibility='private', is_virtual=True)
2561
    return
2562
2563
def register_Ns3PointToPointStarHelper_methods(root_module, cls):
2564
    ## point-to-point-star.h (module 'point-to-point-layout'): ns3::PointToPointStarHelper::PointToPointStarHelper(ns3::PointToPointStarHelper const & arg0) [copy constructor]
2565
    cls.add_constructor([param('ns3::PointToPointStarHelper const &', 'arg0')])
2566
    ## point-to-point-star.h (module 'point-to-point-layout'): ns3::PointToPointStarHelper::PointToPointStarHelper(uint32_t numSpokes, ns3::PointToPointHelper p2pHelper) [constructor]
2567
    cls.add_constructor([param('uint32_t', 'numSpokes'), param('ns3::PointToPointHelper', 'p2pHelper')])
2568
    ## point-to-point-star.h (module 'point-to-point-layout'): void ns3::PointToPointStarHelper::AssignIpv4Addresses(ns3::Ipv4AddressHelper address) [member function]
2569
    cls.add_method('AssignIpv4Addresses', 
2570
                   'void', 
2571
                   [param('ns3::Ipv4AddressHelper', 'address')])
2572
    ## point-to-point-star.h (module 'point-to-point-layout'): void ns3::PointToPointStarHelper::BoundingBox(double ulx, double uly, double lrx, double lry) [member function]
2573
    cls.add_method('BoundingBox', 
2574
                   'void', 
2575
                   [param('double', 'ulx'), param('double', 'uly'), param('double', 'lrx'), param('double', 'lry')])
2576
    ## point-to-point-star.h (module 'point-to-point-layout'): ns3::Ptr<ns3::Node> ns3::PointToPointStarHelper::GetHub() const [member function]
2577
    cls.add_method('GetHub', 
2578
                   'ns3::Ptr< ns3::Node >', 
2579
                   [], 
2580
                   is_const=True)
2581
    ## point-to-point-star.h (module 'point-to-point-layout'): ns3::Ipv4Address ns3::PointToPointStarHelper::GetHubIpv4Address(uint32_t i) const [member function]
2582
    cls.add_method('GetHubIpv4Address', 
2583
                   'ns3::Ipv4Address', 
2584
                   [param('uint32_t', 'i')], 
2585
                   is_const=True)
2586
    ## point-to-point-star.h (module 'point-to-point-layout'): ns3::Ipv4Address ns3::PointToPointStarHelper::GetSpokeIpv4Address(uint32_t i) const [member function]
2587
    cls.add_method('GetSpokeIpv4Address', 
2588
                   'ns3::Ipv4Address', 
2589
                   [param('uint32_t', 'i')], 
2590
                   is_const=True)
2591
    ## point-to-point-star.h (module 'point-to-point-layout'): ns3::Ptr<ns3::Node> ns3::PointToPointStarHelper::GetSpokeNode(uint32_t i) const [member function]
2592
    cls.add_method('GetSpokeNode', 
2593
                   'ns3::Ptr< ns3::Node >', 
2594
                   [param('uint32_t', 'i')], 
2595
                   is_const=True)
2596
    ## point-to-point-star.h (module 'point-to-point-layout'): void ns3::PointToPointStarHelper::InstallStack(ns3::InternetStackHelper stack) [member function]
2597
    cls.add_method('InstallStack', 
2598
                   'void', 
2599
                   [param('ns3::InternetStackHelper', 'stack')])
2600
    ## point-to-point-star.h (module 'point-to-point-layout'): uint32_t ns3::PointToPointStarHelper::SpokeCount() const [member function]
2601
    cls.add_method('SpokeCount', 
2602
                   'uint32_t', 
2603
                   [], 
2604
                   is_const=True)
2605
    return
2606
2607
def register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, cls):
2608
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter>::SimpleRefCount() [constructor]
2609
    cls.add_constructor([])
2610
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter>::SimpleRefCount(ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter> const & o) [copy constructor]
2611
    cls.add_constructor([param('ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter > const &', 'o')])
2612
    ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter>::Cleanup() [member function]
2613
    cls.add_method('Cleanup', 
2614
                   'void', 
2615
                   [], 
2616
                   is_static=True)
2617
    return
2618
2619
def register_Ns3Simulator_methods(root_module, cls):
2620
    ## simulator.h (module 'core'): ns3::Simulator::Simulator(ns3::Simulator const & arg0) [copy constructor]
2621
    cls.add_constructor([param('ns3::Simulator const &', 'arg0')])
2622
    ## simulator.h (module 'core'): static void ns3::Simulator::Cancel(ns3::EventId const & id) [member function]
2623
    cls.add_method('Cancel', 
2624
                   'void', 
2625
                   [param('ns3::EventId const &', 'id')], 
2626
                   is_static=True)
2627
    ## simulator.h (module 'core'): static void ns3::Simulator::Destroy() [member function]
2628
    cls.add_method('Destroy', 
2629
                   'void', 
2630
                   [], 
2631
                   is_static=True)
2632
    ## simulator.h (module 'core'): static uint32_t ns3::Simulator::GetContext() [member function]
2633
    cls.add_method('GetContext', 
2634
                   'uint32_t', 
2635
                   [], 
2636
                   is_static=True)
2637
    ## simulator.h (module 'core'): static ns3::Time ns3::Simulator::GetDelayLeft(ns3::EventId const & id) [member function]
2638
    cls.add_method('GetDelayLeft', 
2639
                   'ns3::Time', 
2640
                   [param('ns3::EventId const &', 'id')], 
2641
                   is_static=True)
2642
    ## simulator.h (module 'core'): static ns3::Ptr<ns3::SimulatorImpl> ns3::Simulator::GetImplementation() [member function]
2643
    cls.add_method('GetImplementation', 
2644
                   'ns3::Ptr< ns3::SimulatorImpl >', 
2645
                   [], 
2646
                   is_static=True)
2647
    ## simulator.h (module 'core'): static ns3::Time ns3::Simulator::GetMaximumSimulationTime() [member function]
2648
    cls.add_method('GetMaximumSimulationTime', 
2649
                   'ns3::Time', 
2650
                   [], 
2651
                   is_static=True)
2652
    ## simulator.h (module 'core'): static uint32_t ns3::Simulator::GetSystemId() [member function]
2653
    cls.add_method('GetSystemId', 
2654
                   'uint32_t', 
2655
                   [], 
2656
                   is_static=True)
2657
    ## simulator.h (module 'core'): static bool ns3::Simulator::IsExpired(ns3::EventId const & id) [member function]
2658
    cls.add_method('IsExpired', 
2659
                   'bool', 
2660
                   [param('ns3::EventId const &', 'id')], 
2661
                   is_static=True)
2662
    ## simulator.h (module 'core'): static bool ns3::Simulator::IsFinished() [member function]
2663
    cls.add_method('IsFinished', 
2664
                   'bool', 
2665
                   [], 
2666
                   is_static=True)
2667
    ## simulator.h (module 'core'): static ns3::Time ns3::Simulator::Next() [member function]
2668
    cls.add_method('Next', 
2669
                   'ns3::Time', 
2670
                   [], 
2671
                   is_static=True, deprecated=True)
2672
    ## simulator.h (module 'core'): static ns3::Time ns3::Simulator::Now() [member function]
2673
    cls.add_method('Now', 
2674
                   'ns3::Time', 
2675
                   [], 
2676
                   is_static=True)
2677
    ## simulator.h (module 'core'): static void ns3::Simulator::Remove(ns3::EventId const & id) [member function]
2678
    cls.add_method('Remove', 
2679
                   'void', 
2680
                   [param('ns3::EventId const &', 'id')], 
2681
                   is_static=True)
2682
    ## simulator.h (module 'core'): static void ns3::Simulator::RunOneEvent() [member function]
2683
    cls.add_method('RunOneEvent', 
2684
                   'void', 
2685
                   [], 
2686
                   is_static=True, deprecated=True)
2687
    ## simulator.h (module 'core'): static void ns3::Simulator::SetImplementation(ns3::Ptr<ns3::SimulatorImpl> impl) [member function]
2688
    cls.add_method('SetImplementation', 
2689
                   'void', 
2690
                   [param('ns3::Ptr< ns3::SimulatorImpl >', 'impl')], 
2691
                   is_static=True)
2692
    ## simulator.h (module 'core'): static void ns3::Simulator::SetScheduler(ns3::ObjectFactory schedulerFactory) [member function]
2693
    cls.add_method('SetScheduler', 
2694
                   'void', 
2695
                   [param('ns3::ObjectFactory', 'schedulerFactory')], 
2696
                   is_static=True)
2697
    ## simulator.h (module 'core'): static void ns3::Simulator::Stop() [member function]
2698
    cls.add_method('Stop', 
2699
                   'void', 
2700
                   [], 
2701
                   is_static=True)
2702
    ## simulator.h (module 'core'): static void ns3::Simulator::Stop(ns3::Time const & time) [member function]
2703
    cls.add_method('Stop', 
2704
                   'void', 
2705
                   [param('ns3::Time const &', 'time')], 
2706
                   is_static=True)
2707
    return
2708
2709
def register_Ns3Tag_methods(root_module, cls):
2710
    ## tag.h (module 'network'): ns3::Tag::Tag() [constructor]
2711
    cls.add_constructor([])
2712
    ## tag.h (module 'network'): ns3::Tag::Tag(ns3::Tag const & arg0) [copy constructor]
2713
    cls.add_constructor([param('ns3::Tag const &', 'arg0')])
2714
    ## tag.h (module 'network'): void ns3::Tag::Deserialize(ns3::TagBuffer i) [member function]
2715
    cls.add_method('Deserialize', 
2716
                   'void', 
2717
                   [param('ns3::TagBuffer', 'i')], 
2718
                   is_pure_virtual=True, is_virtual=True)
2719
    ## tag.h (module 'network'): uint32_t ns3::Tag::GetSerializedSize() const [member function]
2720
    cls.add_method('GetSerializedSize', 
2721
                   'uint32_t', 
2722
                   [], 
2723
                   is_pure_virtual=True, is_const=True, is_virtual=True)
2724
    ## tag.h (module 'network'): static ns3::TypeId ns3::Tag::GetTypeId() [member function]
2725
    cls.add_method('GetTypeId', 
2726
                   'ns3::TypeId', 
2727
                   [], 
2728
                   is_static=True)
2729
    ## tag.h (module 'network'): void ns3::Tag::Print(std::ostream & os) const [member function]
2730
    cls.add_method('Print', 
2731
                   'void', 
2732
                   [param('std::ostream &', 'os')], 
2733
                   is_pure_virtual=True, is_const=True, is_virtual=True)
2734
    ## tag.h (module 'network'): void ns3::Tag::Serialize(ns3::TagBuffer i) const [member function]
2735
    cls.add_method('Serialize', 
2736
                   'void', 
2737
                   [param('ns3::TagBuffer', 'i')], 
2738
                   is_pure_virtual=True, is_const=True, is_virtual=True)
2739
    return
2740
2741
def register_Ns3TagBuffer_methods(root_module, cls):
2742
    ## tag-buffer.h (module 'network'): ns3::TagBuffer::TagBuffer(ns3::TagBuffer const & arg0) [copy constructor]
2743
    cls.add_constructor([param('ns3::TagBuffer const &', 'arg0')])
2744
    ## tag-buffer.h (module 'network'): ns3::TagBuffer::TagBuffer(uint8_t * start, uint8_t * end) [constructor]
2745
    cls.add_constructor([param('uint8_t *', 'start'), param('uint8_t *', 'end')])
2746
    ## tag-buffer.h (module 'network'): void ns3::TagBuffer::CopyFrom(ns3::TagBuffer o) [member function]
2747
    cls.add_method('CopyFrom', 
2748
                   'void', 
2749
                   [param('ns3::TagBuffer', 'o')])
2750
    ## tag-buffer.h (module 'network'): void ns3::TagBuffer::Read(uint8_t * buffer, uint32_t size) [member function]
2751
    cls.add_method('Read', 
2752
                   'void', 
2753
                   [param('uint8_t *', 'buffer'), param('uint32_t', 'size')])
2754
    ## tag-buffer.h (module 'network'): double ns3::TagBuffer::ReadDouble() [member function]
2755
    cls.add_method('ReadDouble', 
2756
                   'double', 
2757
                   [])
2758
    ## tag-buffer.h (module 'network'): uint16_t ns3::TagBuffer::ReadU16() [member function]
2759
    cls.add_method('ReadU16', 
2760
                   'uint16_t', 
2761
                   [])
2762
    ## tag-buffer.h (module 'network'): uint32_t ns3::TagBuffer::ReadU32() [member function]
2763
    cls.add_method('ReadU32', 
2764
                   'uint32_t', 
2765
                   [])
2766
    ## tag-buffer.h (module 'network'): uint64_t ns3::TagBuffer::ReadU64() [member function]
2767
    cls.add_method('ReadU64', 
2768
                   'uint64_t', 
2769
                   [])
2770
    ## tag-buffer.h (module 'network'): uint8_t ns3::TagBuffer::ReadU8() [member function]
2771
    cls.add_method('ReadU8', 
2772
                   'uint8_t', 
2773
                   [])
2774
    ## tag-buffer.h (module 'network'): void ns3::TagBuffer::TrimAtEnd(uint32_t trim) [member function]
2775
    cls.add_method('TrimAtEnd', 
2776
                   'void', 
2777
                   [param('uint32_t', 'trim')])
2778
    ## tag-buffer.h (module 'network'): void ns3::TagBuffer::Write(uint8_t const * buffer, uint32_t size) [member function]
2779
    cls.add_method('Write', 
2780
                   'void', 
2781
                   [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
2782
    ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteDouble(double v) [member function]
2783
    cls.add_method('WriteDouble', 
2784
                   'void', 
2785
                   [param('double', 'v')])
2786
    ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU16(uint16_t data) [member function]
2787
    cls.add_method('WriteU16', 
2788
                   'void', 
2789
                   [param('uint16_t', 'data')])
2790
    ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU32(uint32_t data) [member function]
2791
    cls.add_method('WriteU32', 
2792
                   'void', 
2793
                   [param('uint32_t', 'data')])
2794
    ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU64(uint64_t v) [member function]
2795
    cls.add_method('WriteU64', 
2796
                   'void', 
2797
                   [param('uint64_t', 'v')])
2798
    ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU8(uint8_t v) [member function]
2799
    cls.add_method('WriteU8', 
2800
                   'void', 
2801
                   [param('uint8_t', 'v')])
2802
    return
2803
2804
def register_Ns3TypeId_methods(root_module, cls):
2805
    cls.add_binary_comparison_operator('<')
2806
    cls.add_binary_comparison_operator('!=')
2807
    cls.add_output_stream_operator()
2808
    cls.add_binary_comparison_operator('==')
2809
    ## type-id.h (module 'core'): ns3::TypeId::TypeId(char const * name) [constructor]
2810
    cls.add_constructor([param('char const *', 'name')])
2811
    ## type-id.h (module 'core'): ns3::TypeId::TypeId() [constructor]
2812
    cls.add_constructor([])
2813
    ## type-id.h (module 'core'): ns3::TypeId::TypeId(ns3::TypeId const & o) [copy constructor]
2814
    cls.add_constructor([param('ns3::TypeId const &', 'o')])
2815
    ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddAttribute(std::string name, std::string help, ns3::AttributeValue const & initialValue, ns3::Ptr<ns3::AttributeAccessor const> accessor, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
2816
    cls.add_method('AddAttribute', 
2817
                   'ns3::TypeId', 
2818
                   [param('std::string', 'name'), param('std::string', 'help'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')])
2819
    ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddAttribute(std::string name, std::string help, uint32_t flags, ns3::AttributeValue const & initialValue, ns3::Ptr<ns3::AttributeAccessor const> accessor, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
2820
    cls.add_method('AddAttribute', 
2821
                   'ns3::TypeId', 
2822
                   [param('std::string', 'name'), param('std::string', 'help'), param('uint32_t', 'flags'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')])
2823
    ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr<const ns3::TraceSourceAccessor> accessor) [member function]
2824
    cls.add_method('AddTraceSource', 
2825
                   'ns3::TypeId', 
2826
                   [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')])
2827
    ## type-id.h (module 'core'): ns3::Ptr<ns3::AttributeAccessor const> ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function]
2828
    cls.add_method('GetAttributeAccessor', 
2829
                   'ns3::Ptr< ns3::AttributeAccessor const >', 
2830
                   [param('uint32_t', 'i')], 
2831
                   is_const=True)
2832
    ## type-id.h (module 'core'): ns3::Ptr<ns3::AttributeChecker const> ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function]
2833
    cls.add_method('GetAttributeChecker', 
2834
                   'ns3::Ptr< ns3::AttributeChecker const >', 
2835
                   [param('uint32_t', 'i')], 
2836
                   is_const=True)
2837
    ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function]
2838
    cls.add_method('GetAttributeFlags', 
2839
                   'uint32_t', 
2840
                   [param('uint32_t', 'i')], 
2841
                   is_const=True)
2842
    ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function]
2843
    cls.add_method('GetAttributeFullName', 
2844
                   'std::string', 
2845
                   [param('uint32_t', 'i')], 
2846
                   is_const=True)
2847
    ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function]
2848
    cls.add_method('GetAttributeHelp', 
2849
                   'std::string', 
2850
                   [param('uint32_t', 'i')], 
2851
                   is_const=True)
2852
    ## type-id.h (module 'core'): ns3::Ptr<ns3::AttributeValue const> ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function]
2853
    cls.add_method('GetAttributeInitialValue', 
2854
                   'ns3::Ptr< ns3::AttributeValue const >', 
2855
                   [param('uint32_t', 'i')], 
2856
                   is_const=True)
2857
    ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function]
2858
    cls.add_method('GetAttributeN', 
2859
                   'uint32_t', 
2860
                   [], 
2861
                   is_const=True)
2862
    ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function]
2863
    cls.add_method('GetAttributeName', 
2864
                   'std::string', 
2865
                   [param('uint32_t', 'i')], 
2866
                   is_const=True)
2867
    ## type-id.h (module 'core'): ns3::Callback<ns3::ObjectBase*,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ns3::TypeId::GetConstructor() const [member function]
2868
    cls.add_method('GetConstructor', 
2869
                   'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 
2870
                   [], 
2871
                   is_const=True)
2872
    ## type-id.h (module 'core'): std::string ns3::TypeId::GetGroupName() const [member function]
2873
    cls.add_method('GetGroupName', 
2874
                   'std::string', 
2875
                   [], 
2876
                   is_const=True)
2877
    ## type-id.h (module 'core'): std::string ns3::TypeId::GetName() const [member function]
2878
    cls.add_method('GetName', 
2879
                   'std::string', 
2880
                   [], 
2881
                   is_const=True)
2882
    ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::GetParent() const [member function]
2883
    cls.add_method('GetParent', 
2884
                   'ns3::TypeId', 
2885
                   [], 
2886
                   is_const=True)
2887
    ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::GetRegistered(uint32_t i) [member function]
2888
    cls.add_method('GetRegistered', 
2889
                   'ns3::TypeId', 
2890
                   [param('uint32_t', 'i')], 
2891
                   is_static=True)
2892
    ## type-id.h (module 'core'): static uint32_t ns3::TypeId::GetRegisteredN() [member function]
2893
    cls.add_method('GetRegisteredN', 
2894
                   'uint32_t', 
2895
                   [], 
2896
                   is_static=True)
2897
    ## type-id.h (module 'core'): ns3::Ptr<const ns3::TraceSourceAccessor> ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function]
2898
    cls.add_method('GetTraceSourceAccessor', 
2899
                   'ns3::Ptr< ns3::TraceSourceAccessor const >', 
2900
                   [param('uint32_t', 'i')], 
2901
                   is_const=True)
2902
    ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function]
2903
    cls.add_method('GetTraceSourceHelp', 
2904
                   'std::string', 
2905
                   [param('uint32_t', 'i')], 
2906
                   is_const=True)
2907
    ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function]
2908
    cls.add_method('GetTraceSourceN', 
2909
                   'uint32_t', 
2910
                   [], 
2911
                   is_const=True)
2912
    ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function]
2913
    cls.add_method('GetTraceSourceName', 
2914
                   'std::string', 
2915
                   [param('uint32_t', 'i')], 
2916
                   is_const=True)
2917
    ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function]
2918
    cls.add_method('GetUid', 
2919
                   'uint16_t', 
2920
                   [], 
2921
                   is_const=True)
2922
    ## type-id.h (module 'core'): bool ns3::TypeId::HasConstructor() const [member function]
2923
    cls.add_method('HasConstructor', 
2924
                   'bool', 
2925
                   [], 
2926
                   is_const=True)
2927
    ## type-id.h (module 'core'): bool ns3::TypeId::HasParent() const [member function]
2928
    cls.add_method('HasParent', 
2929
                   'bool', 
2930
                   [], 
2931
                   is_const=True)
2932
    ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::HideFromDocumentation() [member function]
2933
    cls.add_method('HideFromDocumentation', 
2934
                   'ns3::TypeId', 
2935
                   [])
2936
    ## type-id.h (module 'core'): bool ns3::TypeId::IsChildOf(ns3::TypeId other) const [member function]
2937
    cls.add_method('IsChildOf', 
2938
                   'bool', 
2939
                   [param('ns3::TypeId', 'other')], 
2940
                   is_const=True)
2941
    ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function]
2942
    cls.add_method('LookupAttributeByFullName', 
2943
                   'bool', 
2944
                   [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], 
2945
                   is_static=True)
2946
    ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function]
2947
    cls.add_method('LookupAttributeByName', 
2948
                   'bool', 
2949
                   [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], 
2950
                   is_const=True)
2951
    ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function]
2952
    cls.add_method('LookupByName', 
2953
                   'ns3::TypeId', 
2954
                   [param('std::string', 'name')], 
2955
                   is_static=True)
2956
    ## type-id.h (module 'core'): ns3::Ptr<const ns3::TraceSourceAccessor> ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function]
2957
    cls.add_method('LookupTraceSourceByName', 
2958
                   'ns3::Ptr< ns3::TraceSourceAccessor const >', 
2959
                   [param('std::string', 'name')], 
2960
                   is_const=True)
2961
    ## type-id.h (module 'core'): bool ns3::TypeId::MustHideFromDocumentation() const [member function]
2962
    cls.add_method('MustHideFromDocumentation', 
2963
                   'bool', 
2964
                   [], 
2965
                   is_const=True)
2966
    ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function]
2967
    cls.add_method('SetGroupName', 
2968
                   'ns3::TypeId', 
2969
                   [param('std::string', 'groupName')])
2970
    ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetParent(ns3::TypeId tid) [member function]
2971
    cls.add_method('SetParent', 
2972
                   'ns3::TypeId', 
2973
                   [param('ns3::TypeId', 'tid')])
2974
    ## type-id.h (module 'core'): void ns3::TypeId::SetUid(uint16_t tid) [member function]
2975
    cls.add_method('SetUid', 
2976
                   'void', 
2977
                   [param('uint16_t', 'tid')])
2978
    return
2979
2980
def register_Ns3TypeIdAttributeInfo_methods(root_module, cls):
2981
    ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor]
2982
    cls.add_constructor([])
2983
    ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor]
2984
    cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')])
2985
    ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable]
2986
    cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False)
2987
    ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable]
2988
    cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False)
2989
    ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable]
2990
    cls.add_instance_attribute('flags', 'uint32_t', is_const=False)
2991
    ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable]
2992
    cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False)
2993
    return
2994
2995
def register_Ns3UnsafeAttributeList_methods(root_module, cls):
2996
    ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor]
2997
    cls.add_constructor([])
2998
    ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor]
2999
    cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')])
3000
    ## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function]
3001
    cls.add_method('GetSafe', 
3002
                   'ns3::AttributeList', 
3003
                   [param('std::string', 'name')], 
3004
                   is_const=True)
3005
    ## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function]
3006
    cls.add_method('Set', 
3007
                   'void', 
3008
                   [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')])
3009
    return
3010
3011
def register_Ns3Empty_methods(root_module, cls):
3012
    ## empty.h (module 'core'): ns3::empty::empty() [constructor]
3013
    cls.add_constructor([])
3014
    ## empty.h (module 'core'): ns3::empty::empty(ns3::empty const & arg0) [copy constructor]
3015
    cls.add_constructor([param('ns3::empty const &', 'arg0')])
3016
    return
3017
3018
def register_Ns3Int64x64_t_methods(root_module, cls):
3019
    cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
3020
    cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
3021
    cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
3022
    cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
3023
    cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
3024
    cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
3025
    cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
3026
    cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
3027
    cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
3028
    cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
3029
    cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
3030
    cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
3031
    cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
3032
    cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
3033
    cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
3034
    cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
3035
    cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
3036
    cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
3037
    cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
3038
    cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
3039
    cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
3040
    cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
3041
    cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
3042
    cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
3043
    cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
3044
    cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
3045
    cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
3046
    cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
3047
    cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
3048
    cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
3049
    cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
3050
    cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
3051
    cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
3052
    cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
3053
    cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
3054
    cls.add_unary_numeric_operator('-')
3055
    cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
3056
    cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
3057
    cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
3058
    cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
3059
    cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
3060
    cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
3061
    cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
3062
    cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
3063
    cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
3064
    cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
3065
    cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
3066
    cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
3067
    cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
3068
    cls.add_binary_comparison_operator('<')
3069
    cls.add_binary_comparison_operator('>')
3070
    cls.add_binary_comparison_operator('!=')
3071
    cls.add_inplace_numeric_operator('*=', param('ns3::int64x64_t const &', 'right'))
3072
    cls.add_inplace_numeric_operator('+=', param('ns3::int64x64_t const &', 'right'))
3073
    cls.add_inplace_numeric_operator('-=', param('ns3::int64x64_t const &', 'right'))
3074
    cls.add_inplace_numeric_operator('/=', param('ns3::int64x64_t const &', 'right'))
3075
    cls.add_output_stream_operator()
3076
    cls.add_binary_comparison_operator('<=')
3077
    cls.add_binary_comparison_operator('==')
3078
    cls.add_binary_comparison_operator('>=')
3079
    ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t() [constructor]
3080
    cls.add_constructor([])
3081
    ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(double v) [constructor]
3082
    cls.add_constructor([param('double', 'v')])
3083
    ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(int v) [constructor]
3084
    cls.add_constructor([param('int', 'v')])
3085
    ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long int v) [constructor]
3086
    cls.add_constructor([param('long int', 'v')])
3087
    ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long long int v) [constructor]
3088
    cls.add_constructor([param('long long int', 'v')])
3089
    ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(unsigned int v) [constructor]
3090
    cls.add_constructor([param('unsigned int', 'v')])
3091
    ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long unsigned int v) [constructor]
3092
    cls.add_constructor([param('long unsigned int', 'v')])
3093
    ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long long unsigned int v) [constructor]
3094
    cls.add_constructor([param('long long unsigned int', 'v')])
3095
    ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(int64_t hi, uint64_t lo) [constructor]
3096
    cls.add_constructor([param('int64_t', 'hi'), param('uint64_t', 'lo')])
3097
    ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(ns3::int64x64_t const & o) [copy constructor]
3098
    cls.add_constructor([param('ns3::int64x64_t const &', 'o')])
3099
    ## int64x64-double.h (module 'core'): double ns3::int64x64_t::GetDouble() const [member function]
3100
    cls.add_method('GetDouble', 
3101
                   'double', 
3102
                   [], 
3103
                   is_const=True)
3104
    ## int64x64-double.h (module 'core'): int64_t ns3::int64x64_t::GetHigh() const [member function]
3105
    cls.add_method('GetHigh', 
3106
                   'int64_t', 
3107
                   [], 
3108
                   is_const=True)
3109
    ## int64x64-double.h (module 'core'): uint64_t ns3::int64x64_t::GetLow() const [member function]
3110
    cls.add_method('GetLow', 
3111
                   'uint64_t', 
3112
                   [], 
3113
                   is_const=True)
3114
    ## int64x64-double.h (module 'core'): static ns3::int64x64_t ns3::int64x64_t::Invert(uint64_t v) [member function]
3115
    cls.add_method('Invert', 
3116
                   'ns3::int64x64_t', 
3117
                   [param('uint64_t', 'v')], 
3118
                   is_static=True)
3119
    ## int64x64-double.h (module 'core'): void ns3::int64x64_t::MulByInvert(ns3::int64x64_t const & o) [member function]
3120
    cls.add_method('MulByInvert', 
3121
                   'void', 
3122
                   [param('ns3::int64x64_t const &', 'o')])
3123
    return
3124
3125
def register_Ns3Chunk_methods(root_module, cls):
3126
    ## chunk.h (module 'network'): ns3::Chunk::Chunk() [constructor]
3127
    cls.add_constructor([])
3128
    ## chunk.h (module 'network'): ns3::Chunk::Chunk(ns3::Chunk const & arg0) [copy constructor]
3129
    cls.add_constructor([param('ns3::Chunk const &', 'arg0')])
3130
    ## chunk.h (module 'network'): uint32_t ns3::Chunk::Deserialize(ns3::Buffer::Iterator start) [member function]
3131
    cls.add_method('Deserialize', 
3132
                   'uint32_t', 
3133
                   [param('ns3::Buffer::Iterator', 'start')], 
3134
                   is_pure_virtual=True, is_virtual=True)
3135
    ## chunk.h (module 'network'): static ns3::TypeId ns3::Chunk::GetTypeId() [member function]
3136
    cls.add_method('GetTypeId', 
3137
                   'ns3::TypeId', 
3138
                   [], 
3139
                   is_static=True)
3140
    ## chunk.h (module 'network'): void ns3::Chunk::Print(std::ostream & os) const [member function]
3141
    cls.add_method('Print', 
3142
                   'void', 
3143
                   [param('std::ostream &', 'os')], 
3144
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3145
    return
3146
3147
def register_Ns3Header_methods(root_module, cls):
3148
    cls.add_output_stream_operator()
3149
    ## header.h (module 'network'): ns3::Header::Header() [constructor]
3150
    cls.add_constructor([])
3151
    ## header.h (module 'network'): ns3::Header::Header(ns3::Header const & arg0) [copy constructor]
3152
    cls.add_constructor([param('ns3::Header const &', 'arg0')])
3153
    ## header.h (module 'network'): uint32_t ns3::Header::Deserialize(ns3::Buffer::Iterator start) [member function]
3154
    cls.add_method('Deserialize', 
3155
                   'uint32_t', 
3156
                   [param('ns3::Buffer::Iterator', 'start')], 
3157
                   is_pure_virtual=True, is_virtual=True)
3158
    ## header.h (module 'network'): uint32_t ns3::Header::GetSerializedSize() const [member function]
3159
    cls.add_method('GetSerializedSize', 
3160
                   'uint32_t', 
3161
                   [], 
3162
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3163
    ## header.h (module 'network'): static ns3::TypeId ns3::Header::GetTypeId() [member function]
3164
    cls.add_method('GetTypeId', 
3165
                   'ns3::TypeId', 
3166
                   [], 
3167
                   is_static=True)
3168
    ## header.h (module 'network'): void ns3::Header::Print(std::ostream & os) const [member function]
3169
    cls.add_method('Print', 
3170
                   'void', 
3171
                   [param('std::ostream &', 'os')], 
3172
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3173
    ## header.h (module 'network'): void ns3::Header::Serialize(ns3::Buffer::Iterator start) const [member function]
3174
    cls.add_method('Serialize', 
3175
                   'void', 
3176
                   [param('ns3::Buffer::Iterator', 'start')], 
3177
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3178
    return
3179
3180
def register_Ns3InternetStackHelper_methods(root_module, cls):
3181
    ## internet-stack-helper.h (module 'internet'): ns3::InternetStackHelper::InternetStackHelper() [constructor]
3182
    cls.add_constructor([])
3183
    ## internet-stack-helper.h (module 'internet'): ns3::InternetStackHelper::InternetStackHelper(ns3::InternetStackHelper const & arg0) [copy constructor]
3184
    cls.add_constructor([param('ns3::InternetStackHelper const &', 'arg0')])
3185
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::Install(std::string nodeName) const [member function]
3186
    cls.add_method('Install', 
3187
                   'void', 
3188
                   [param('std::string', 'nodeName')], 
3189
                   is_const=True)
3190
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::Install(ns3::Ptr<ns3::Node> node) const [member function]
3191
    cls.add_method('Install', 
3192
                   'void', 
3193
                   [param('ns3::Ptr< ns3::Node >', 'node')], 
3194
                   is_const=True)
3195
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::Install(ns3::NodeContainer c) const [member function]
3196
    cls.add_method('Install', 
3197
                   'void', 
3198
                   [param('ns3::NodeContainer', 'c')], 
3199
                   is_const=True)
3200
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::InstallAll() const [member function]
3201
    cls.add_method('InstallAll', 
3202
                   'void', 
3203
                   [], 
3204
                   is_const=True)
3205
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::Reset() [member function]
3206
    cls.add_method('Reset', 
3207
                   'void', 
3208
                   [])
3209
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::SetIpv4StackInstall(bool enable) [member function]
3210
    cls.add_method('SetIpv4StackInstall', 
3211
                   'void', 
3212
                   [param('bool', 'enable')])
3213
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::SetIpv6StackInstall(bool enable) [member function]
3214
    cls.add_method('SetIpv6StackInstall', 
3215
                   'void', 
3216
                   [param('bool', 'enable')])
3217
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::SetRoutingHelper(ns3::Ipv4RoutingHelper const & routing) [member function]
3218
    cls.add_method('SetRoutingHelper', 
3219
                   'void', 
3220
                   [param('ns3::Ipv4RoutingHelper const &', 'routing')])
3221
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::SetRoutingHelper(ns3::Ipv6RoutingHelper const & routing) [member function]
3222
    cls.add_method('SetRoutingHelper', 
3223
                   'void', 
3224
                   [param('ns3::Ipv6RoutingHelper const &', 'routing')])
3225
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::SetTcp(std::string tid) [member function]
3226
    cls.add_method('SetTcp', 
3227
                   'void', 
3228
                   [param('std::string', 'tid')])
3229
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::SetTcp(std::string tid, std::string attr, ns3::AttributeValue const & val) [member function]
3230
    cls.add_method('SetTcp', 
3231
                   'void', 
3232
                   [param('std::string', 'tid'), param('std::string', 'attr'), param('ns3::AttributeValue const &', 'val')])
3233
    ## 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]
3234
    cls.add_method('EnableAsciiIpv4Internal', 
3235
                   'void', 
3236
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], 
3237
                   visibility='private', is_virtual=True)
3238
    ## 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]
3239
    cls.add_method('EnableAsciiIpv6Internal', 
3240
                   'void', 
3241
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], 
3242
                   visibility='private', is_virtual=True)
3243
    ## 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]
3244
    cls.add_method('EnablePcapIpv4Internal', 
3245
                   'void', 
3246
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], 
3247
                   visibility='private', is_virtual=True)
3248
    ## 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]
3249
    cls.add_method('EnablePcapIpv6Internal', 
3250
                   'void', 
3251
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], 
3252
                   visibility='private', is_virtual=True)
3253
    return
3254
3255
def register_Ns3Ipv4Header_methods(root_module, cls):
3256
    ## ipv4-header.h (module 'internet'): ns3::Ipv4Header::Ipv4Header(ns3::Ipv4Header const & arg0) [copy constructor]
3257
    cls.add_constructor([param('ns3::Ipv4Header const &', 'arg0')])
3258
    ## ipv4-header.h (module 'internet'): ns3::Ipv4Header::Ipv4Header() [constructor]
3259
    cls.add_constructor([])
3260
    ## ipv4-header.h (module 'internet'): uint32_t ns3::Ipv4Header::Deserialize(ns3::Buffer::Iterator start) [member function]
3261
    cls.add_method('Deserialize', 
3262
                   'uint32_t', 
3263
                   [param('ns3::Buffer::Iterator', 'start')], 
3264
                   is_virtual=True)
3265
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::EnableChecksum() [member function]
3266
    cls.add_method('EnableChecksum', 
3267
                   'void', 
3268
                   [])
3269
    ## ipv4-header.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4Header::GetDestination() const [member function]
3270
    cls.add_method('GetDestination', 
3271
                   'ns3::Ipv4Address', 
3272
                   [], 
3273
                   is_const=True)
3274
    ## ipv4-header.h (module 'internet'): uint16_t ns3::Ipv4Header::GetFragmentOffset() const [member function]
3275
    cls.add_method('GetFragmentOffset', 
3276
                   'uint16_t', 
3277
                   [], 
3278
                   is_const=True)
3279
    ## ipv4-header.h (module 'internet'): uint16_t ns3::Ipv4Header::GetIdentification() const [member function]
3280
    cls.add_method('GetIdentification', 
3281
                   'uint16_t', 
3282
                   [], 
3283
                   is_const=True)
3284
    ## ipv4-header.h (module 'internet'): ns3::TypeId ns3::Ipv4Header::GetInstanceTypeId() const [member function]
3285
    cls.add_method('GetInstanceTypeId', 
3286
                   'ns3::TypeId', 
3287
                   [], 
3288
                   is_const=True, is_virtual=True)
3289
    ## ipv4-header.h (module 'internet'): uint16_t ns3::Ipv4Header::GetPayloadSize() const [member function]
3290
    cls.add_method('GetPayloadSize', 
3291
                   'uint16_t', 
3292
                   [], 
3293
                   is_const=True)
3294
    ## ipv4-header.h (module 'internet'): uint8_t ns3::Ipv4Header::GetProtocol() const [member function]
3295
    cls.add_method('GetProtocol', 
3296
                   'uint8_t', 
3297
                   [], 
3298
                   is_const=True)
3299
    ## ipv4-header.h (module 'internet'): uint32_t ns3::Ipv4Header::GetSerializedSize() const [member function]
3300
    cls.add_method('GetSerializedSize', 
3301
                   'uint32_t', 
3302
                   [], 
3303
                   is_const=True, is_virtual=True)
3304
    ## ipv4-header.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4Header::GetSource() const [member function]
3305
    cls.add_method('GetSource', 
3306
                   'ns3::Ipv4Address', 
3307
                   [], 
3308
                   is_const=True)
3309
    ## ipv4-header.h (module 'internet'): uint8_t ns3::Ipv4Header::GetTos() const [member function]
3310
    cls.add_method('GetTos', 
3311
                   'uint8_t', 
3312
                   [], 
3313
                   is_const=True)
3314
    ## ipv4-header.h (module 'internet'): uint8_t ns3::Ipv4Header::GetTtl() const [member function]
3315
    cls.add_method('GetTtl', 
3316
                   'uint8_t', 
3317
                   [], 
3318
                   is_const=True)
3319
    ## ipv4-header.h (module 'internet'): static ns3::TypeId ns3::Ipv4Header::GetTypeId() [member function]
3320
    cls.add_method('GetTypeId', 
3321
                   'ns3::TypeId', 
3322
                   [], 
3323
                   is_static=True)
3324
    ## ipv4-header.h (module 'internet'): bool ns3::Ipv4Header::IsChecksumOk() const [member function]
3325
    cls.add_method('IsChecksumOk', 
3326
                   'bool', 
3327
                   [], 
3328
                   is_const=True)
3329
    ## ipv4-header.h (module 'internet'): bool ns3::Ipv4Header::IsDontFragment() const [member function]
3330
    cls.add_method('IsDontFragment', 
3331
                   'bool', 
3332
                   [], 
3333
                   is_const=True)
3334
    ## ipv4-header.h (module 'internet'): bool ns3::Ipv4Header::IsLastFragment() const [member function]
3335
    cls.add_method('IsLastFragment', 
3336
                   'bool', 
3337
                   [], 
3338
                   is_const=True)
3339
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::Print(std::ostream & os) const [member function]
3340
    cls.add_method('Print', 
3341
                   'void', 
3342
                   [param('std::ostream &', 'os')], 
3343
                   is_const=True, is_virtual=True)
3344
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::Serialize(ns3::Buffer::Iterator start) const [member function]
3345
    cls.add_method('Serialize', 
3346
                   'void', 
3347
                   [param('ns3::Buffer::Iterator', 'start')], 
3348
                   is_const=True, is_virtual=True)
3349
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetDestination(ns3::Ipv4Address destination) [member function]
3350
    cls.add_method('SetDestination', 
3351
                   'void', 
3352
                   [param('ns3::Ipv4Address', 'destination')])
3353
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetDontFragment() [member function]
3354
    cls.add_method('SetDontFragment', 
3355
                   'void', 
3356
                   [])
3357
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetFragmentOffset(uint16_t offset) [member function]
3358
    cls.add_method('SetFragmentOffset', 
3359
                   'void', 
3360
                   [param('uint16_t', 'offset')])
3361
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetIdentification(uint16_t identification) [member function]
3362
    cls.add_method('SetIdentification', 
3363
                   'void', 
3364
                   [param('uint16_t', 'identification')])
3365
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetLastFragment() [member function]
3366
    cls.add_method('SetLastFragment', 
3367
                   'void', 
3368
                   [])
3369
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetMayFragment() [member function]
3370
    cls.add_method('SetMayFragment', 
3371
                   'void', 
3372
                   [])
3373
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetMoreFragments() [member function]
3374
    cls.add_method('SetMoreFragments', 
3375
                   'void', 
3376
                   [])
3377
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetPayloadSize(uint16_t size) [member function]
3378
    cls.add_method('SetPayloadSize', 
3379
                   'void', 
3380
                   [param('uint16_t', 'size')])
3381
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetProtocol(uint8_t num) [member function]
3382
    cls.add_method('SetProtocol', 
3383
                   'void', 
3384
                   [param('uint8_t', 'num')])
3385
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetSource(ns3::Ipv4Address source) [member function]
3386
    cls.add_method('SetSource', 
3387
                   'void', 
3388
                   [param('ns3::Ipv4Address', 'source')])
3389
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetTos(uint8_t tos) [member function]
3390
    cls.add_method('SetTos', 
3391
                   'void', 
3392
                   [param('uint8_t', 'tos')])
3393
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetTtl(uint8_t ttl) [member function]
3394
    cls.add_method('SetTtl', 
3395
                   'void', 
3396
                   [param('uint8_t', 'ttl')])
3397
    return
3398
3399
def register_Ns3Ipv6Header_methods(root_module, cls):
3400
    ## ipv6-header.h (module 'internet'): ns3::Ipv6Header::Ipv6Header(ns3::Ipv6Header const & arg0) [copy constructor]
3401
    cls.add_constructor([param('ns3::Ipv6Header const &', 'arg0')])
3402
    ## ipv6-header.h (module 'internet'): ns3::Ipv6Header::Ipv6Header() [constructor]
3403
    cls.add_constructor([])
3404
    ## ipv6-header.h (module 'internet'): uint32_t ns3::Ipv6Header::Deserialize(ns3::Buffer::Iterator start) [member function]
3405
    cls.add_method('Deserialize', 
3406
                   'uint32_t', 
3407
                   [param('ns3::Buffer::Iterator', 'start')], 
3408
                   is_virtual=True)
3409
    ## ipv6-header.h (module 'internet'): ns3::Ipv6Address ns3::Ipv6Header::GetDestinationAddress() const [member function]
3410
    cls.add_method('GetDestinationAddress', 
3411
                   'ns3::Ipv6Address', 
3412
                   [], 
3413
                   is_const=True)
3414
    ## ipv6-header.h (module 'internet'): uint32_t ns3::Ipv6Header::GetFlowLabel() const [member function]
3415
    cls.add_method('GetFlowLabel', 
3416
                   'uint32_t', 
3417
                   [], 
3418
                   is_const=True)
3419
    ## ipv6-header.h (module 'internet'): uint8_t ns3::Ipv6Header::GetHopLimit() const [member function]
3420
    cls.add_method('GetHopLimit', 
3421
                   'uint8_t', 
3422
                   [], 
3423
                   is_const=True)
3424
    ## ipv6-header.h (module 'internet'): ns3::TypeId ns3::Ipv6Header::GetInstanceTypeId() const [member function]
3425
    cls.add_method('GetInstanceTypeId', 
3426
                   'ns3::TypeId', 
3427
                   [], 
3428
                   is_const=True, is_virtual=True)
3429
    ## ipv6-header.h (module 'internet'): uint8_t ns3::Ipv6Header::GetNextHeader() const [member function]
3430
    cls.add_method('GetNextHeader', 
3431
                   'uint8_t', 
3432
                   [], 
3433
                   is_const=True)
3434
    ## ipv6-header.h (module 'internet'): uint16_t ns3::Ipv6Header::GetPayloadLength() const [member function]
3435
    cls.add_method('GetPayloadLength', 
3436
                   'uint16_t', 
3437
                   [], 
3438
                   is_const=True)
3439
    ## ipv6-header.h (module 'internet'): uint32_t ns3::Ipv6Header::GetSerializedSize() const [member function]
3440
    cls.add_method('GetSerializedSize', 
3441
                   'uint32_t', 
3442
                   [], 
3443
                   is_const=True, is_virtual=True)
3444
    ## ipv6-header.h (module 'internet'): ns3::Ipv6Address ns3::Ipv6Header::GetSourceAddress() const [member function]
3445
    cls.add_method('GetSourceAddress', 
3446
                   'ns3::Ipv6Address', 
3447
                   [], 
3448
                   is_const=True)
3449
    ## ipv6-header.h (module 'internet'): uint8_t ns3::Ipv6Header::GetTrafficClass() const [member function]
3450
    cls.add_method('GetTrafficClass', 
3451
                   'uint8_t', 
3452
                   [], 
3453
                   is_const=True)
3454
    ## ipv6-header.h (module 'internet'): static ns3::TypeId ns3::Ipv6Header::GetTypeId() [member function]
3455
    cls.add_method('GetTypeId', 
3456
                   'ns3::TypeId', 
3457
                   [], 
3458
                   is_static=True)
3459
    ## ipv6-header.h (module 'internet'): void ns3::Ipv6Header::Print(std::ostream & os) const [member function]
3460
    cls.add_method('Print', 
3461
                   'void', 
3462
                   [param('std::ostream &', 'os')], 
3463
                   is_const=True, is_virtual=True)
3464
    ## ipv6-header.h (module 'internet'): void ns3::Ipv6Header::Serialize(ns3::Buffer::Iterator start) const [member function]
3465
    cls.add_method('Serialize', 
3466
                   'void', 
3467
                   [param('ns3::Buffer::Iterator', 'start')], 
3468
                   is_const=True, is_virtual=True)
3469
    ## ipv6-header.h (module 'internet'): void ns3::Ipv6Header::SetDestinationAddress(ns3::Ipv6Address dst) [member function]
3470
    cls.add_method('SetDestinationAddress', 
3471
                   'void', 
3472
                   [param('ns3::Ipv6Address', 'dst')])
3473
    ## ipv6-header.h (module 'internet'): void ns3::Ipv6Header::SetFlowLabel(uint32_t flow) [member function]
3474
    cls.add_method('SetFlowLabel', 
3475
                   'void', 
3476
                   [param('uint32_t', 'flow')])
3477
    ## ipv6-header.h (module 'internet'): void ns3::Ipv6Header::SetHopLimit(uint8_t limit) [member function]
3478
    cls.add_method('SetHopLimit', 
3479
                   'void', 
3480
                   [param('uint8_t', 'limit')])
3481
    ## ipv6-header.h (module 'internet'): void ns3::Ipv6Header::SetNextHeader(uint8_t next) [member function]
3482
    cls.add_method('SetNextHeader', 
3483
                   'void', 
3484
                   [param('uint8_t', 'next')])
3485
    ## ipv6-header.h (module 'internet'): void ns3::Ipv6Header::SetPayloadLength(uint16_t len) [member function]
3486
    cls.add_method('SetPayloadLength', 
3487
                   'void', 
3488
                   [param('uint16_t', 'len')])
3489
    ## ipv6-header.h (module 'internet'): void ns3::Ipv6Header::SetSourceAddress(ns3::Ipv6Address src) [member function]
3490
    cls.add_method('SetSourceAddress', 
3491
                   'void', 
3492
                   [param('ns3::Ipv6Address', 'src')])
3493
    ## ipv6-header.h (module 'internet'): void ns3::Ipv6Header::SetTrafficClass(uint8_t traffic) [member function]
3494
    cls.add_method('SetTrafficClass', 
3495
                   'void', 
3496
                   [param('uint8_t', 'traffic')])
3497
    return
3498
3499
def register_Ns3Object_methods(root_module, cls):
3500
    ## object.h (module 'core'): ns3::Object::Object() [constructor]
3501
    cls.add_constructor([])
3502
    ## object.h (module 'core'): void ns3::Object::AggregateObject(ns3::Ptr<ns3::Object> other) [member function]
3503
    cls.add_method('AggregateObject', 
3504
                   'void', 
3505
                   [param('ns3::Ptr< ns3::Object >', 'other')])
3506
    ## object.h (module 'core'): void ns3::Object::Dispose() [member function]
3507
    cls.add_method('Dispose', 
3508
                   'void', 
3509
                   [])
3510
    ## object.h (module 'core'): ns3::Object::AggregateIterator ns3::Object::GetAggregateIterator() const [member function]
3511
    cls.add_method('GetAggregateIterator', 
3512
                   'ns3::Object::AggregateIterator', 
3513
                   [], 
3514
                   is_const=True)
3515
    ## object.h (module 'core'): ns3::TypeId ns3::Object::GetInstanceTypeId() const [member function]
3516
    cls.add_method('GetInstanceTypeId', 
3517
                   'ns3::TypeId', 
3518
                   [], 
3519
                   is_const=True, is_virtual=True)
3520
    ## object.h (module 'core'): static ns3::TypeId ns3::Object::GetTypeId() [member function]
3521
    cls.add_method('GetTypeId', 
3522
                   'ns3::TypeId', 
3523
                   [], 
3524
                   is_static=True)
3525
    ## object.h (module 'core'): void ns3::Object::Start() [member function]
3526
    cls.add_method('Start', 
3527
                   'void', 
3528
                   [])
3529
    ## object.h (module 'core'): ns3::Object::Object(ns3::Object const & o) [copy constructor]
3530
    cls.add_constructor([param('ns3::Object const &', 'o')], 
3531
                        visibility='protected')
3532
    ## object.h (module 'core'): void ns3::Object::DoDispose() [member function]
3533
    cls.add_method('DoDispose', 
3534
                   'void', 
3535
                   [], 
3536
                   visibility='protected', is_virtual=True)
3537
    ## object.h (module 'core'): void ns3::Object::DoStart() [member function]
3538
    cls.add_method('DoStart', 
3539
                   'void', 
3540
                   [], 
3541
                   visibility='protected', is_virtual=True)
3542
    ## object.h (module 'core'): void ns3::Object::NotifyNewAggregate() [member function]
3543
    cls.add_method('NotifyNewAggregate', 
3544
                   'void', 
3545
                   [], 
3546
                   visibility='protected', is_virtual=True)
3547
    return
3548
3549
def register_Ns3ObjectAggregateIterator_methods(root_module, cls):
3550
    ## object.h (module 'core'): ns3::Object::AggregateIterator::AggregateIterator(ns3::Object::AggregateIterator const & arg0) [copy constructor]
3551
    cls.add_constructor([param('ns3::Object::AggregateIterator const &', 'arg0')])
3552
    ## object.h (module 'core'): ns3::Object::AggregateIterator::AggregateIterator() [constructor]
3553
    cls.add_constructor([])
3554
    ## object.h (module 'core'): bool ns3::Object::AggregateIterator::HasNext() const [member function]
3555
    cls.add_method('HasNext', 
3556
                   'bool', 
3557
                   [], 
3558
                   is_const=True)
3559
    ## object.h (module 'core'): ns3::Ptr<ns3::Object const> ns3::Object::AggregateIterator::Next() [member function]
3560
    cls.add_method('Next', 
3561
                   'ns3::Ptr< ns3::Object const >', 
3562
                   [])
3563
    return
3564
3565
def register_Ns3PcapFileWrapper_methods(root_module, cls):
3566
    ## pcap-file-wrapper.h (module 'network'): static ns3::TypeId ns3::PcapFileWrapper::GetTypeId() [member function]
3567
    cls.add_method('GetTypeId', 
3568
                   'ns3::TypeId', 
3569
                   [], 
3570
                   is_static=True)
3571
    ## pcap-file-wrapper.h (module 'network'): ns3::PcapFileWrapper::PcapFileWrapper() [constructor]
3572
    cls.add_constructor([])
3573
    ## pcap-file-wrapper.h (module 'network'): bool ns3::PcapFileWrapper::Fail() const [member function]
3574
    cls.add_method('Fail', 
3575
                   'bool', 
3576
                   [], 
3577
                   is_const=True)
3578
    ## pcap-file-wrapper.h (module 'network'): bool ns3::PcapFileWrapper::Eof() const [member function]
3579
    cls.add_method('Eof', 
3580
                   'bool', 
3581
                   [], 
3582
                   is_const=True)
3583
    ## pcap-file-wrapper.h (module 'network'): void ns3::PcapFileWrapper::Clear() [member function]
3584
    cls.add_method('Clear', 
3585
                   'void', 
3586
                   [])
3587
    ## pcap-file-wrapper.h (module 'network'): void ns3::PcapFileWrapper::Open(std::string const & filename, std::_Ios_Openmode mode) [member function]
3588
    cls.add_method('Open', 
3589
                   'void', 
3590
                   [param('std::string const &', 'filename'), param('std::_Ios_Openmode', 'mode')])
3591
    ## pcap-file-wrapper.h (module 'network'): void ns3::PcapFileWrapper::Close() [member function]
3592
    cls.add_method('Close', 
3593
                   'void', 
3594
                   [])
3595
    ## 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]
3596
    cls.add_method('Init', 
3597
                   'void', 
3598
                   [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')])
3599
    ## pcap-file-wrapper.h (module 'network'): void ns3::PcapFileWrapper::Write(ns3::Time t, ns3::Ptr<const ns3::Packet> p) [member function]
3600
    cls.add_method('Write', 
3601
                   'void', 
3602
                   [param('ns3::Time', 't'), param('ns3::Ptr< ns3::Packet const >', 'p')])
3603
    ## pcap-file-wrapper.h (module 'network'): void ns3::PcapFileWrapper::Write(ns3::Time t, ns3::Header & header, ns3::Ptr<const ns3::Packet> p) [member function]
3604
    cls.add_method('Write', 
3605
                   'void', 
3606
                   [param('ns3::Time', 't'), param('ns3::Header &', 'header'), param('ns3::Ptr< ns3::Packet const >', 'p')])
3607
    ## pcap-file-wrapper.h (module 'network'): void ns3::PcapFileWrapper::Write(ns3::Time t, uint8_t const * buffer, uint32_t length) [member function]
3608
    cls.add_method('Write', 
3609
                   'void', 
3610
                   [param('ns3::Time', 't'), param('uint8_t const *', 'buffer'), param('uint32_t', 'length')])
3611
    ## pcap-file-wrapper.h (module 'network'): uint32_t ns3::PcapFileWrapper::GetMagic() [member function]
3612
    cls.add_method('GetMagic', 
3613
                   'uint32_t', 
3614
                   [])
3615
    ## pcap-file-wrapper.h (module 'network'): uint16_t ns3::PcapFileWrapper::GetVersionMajor() [member function]
3616
    cls.add_method('GetVersionMajor', 
3617
                   'uint16_t', 
3618
                   [])
3619
    ## pcap-file-wrapper.h (module 'network'): uint16_t ns3::PcapFileWrapper::GetVersionMinor() [member function]
3620
    cls.add_method('GetVersionMinor', 
3621
                   'uint16_t', 
3622
                   [])
3623
    ## pcap-file-wrapper.h (module 'network'): int32_t ns3::PcapFileWrapper::GetTimeZoneOffset() [member function]
3624
    cls.add_method('GetTimeZoneOffset', 
3625
                   'int32_t', 
3626
                   [])
3627
    ## pcap-file-wrapper.h (module 'network'): uint32_t ns3::PcapFileWrapper::GetSigFigs() [member function]
3628
    cls.add_method('GetSigFigs', 
3629
                   'uint32_t', 
3630
                   [])
3631
    ## pcap-file-wrapper.h (module 'network'): uint32_t ns3::PcapFileWrapper::GetSnapLen() [member function]
3632
    cls.add_method('GetSnapLen', 
3633
                   'uint32_t', 
3634
                   [])
3635
    ## pcap-file-wrapper.h (module 'network'): uint32_t ns3::PcapFileWrapper::GetDataLinkType() [member function]
3636
    cls.add_method('GetDataLinkType', 
3637
                   'uint32_t', 
3638
                   [])
3639
    return
3640
3641
def register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, cls):
3642
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >::SimpleRefCount() [constructor]
3643
    cls.add_constructor([])
3644
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >::SimpleRefCount(ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> > const & o) [copy constructor]
3645
    cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter< ns3::AttributeAccessor > > const &', 'o')])
3646
    ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >::Cleanup() [member function]
3647
    cls.add_method('Cleanup', 
3648
                   'void', 
3649
                   [], 
3650
                   is_static=True)
3651
    return
3652
3653
def register_Ns3SimpleRefCount__Ns3AttributeChecker_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeChecker__gt___methods(root_module, cls):
3654
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >::SimpleRefCount() [constructor]
3655
    cls.add_constructor([])
3656
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >::SimpleRefCount(ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> > const & o) [copy constructor]
3657
    cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter< ns3::AttributeChecker > > const &', 'o')])
3658
    ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >::Cleanup() [member function]
3659
    cls.add_method('Cleanup', 
3660
                   'void', 
3661
                   [], 
3662
                   is_static=True)
3663
    return
3664
3665
def register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeValue__gt___methods(root_module, cls):
3666
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >::SimpleRefCount() [constructor]
3667
    cls.add_constructor([])
3668
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >::SimpleRefCount(ns3::SimpleRefCount<ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> > const & o) [copy constructor]
3669
    cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter< ns3::AttributeValue > > const &', 'o')])
3670
    ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >::Cleanup() [member function]
3671
    cls.add_method('Cleanup', 
3672
                   'void', 
3673
                   [], 
3674
                   is_static=True)
3675
    return
3676
3677
def register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__lt__ns3CallbackImplBase__gt___methods(root_module, cls):
3678
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >::SimpleRefCount() [constructor]
3679
    cls.add_constructor([])
3680
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >::SimpleRefCount(ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> > const & o) [copy constructor]
3681
    cls.add_constructor([param('ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter< ns3::CallbackImplBase > > const &', 'o')])
3682
    ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >::Cleanup() [member function]
3683
    cls.add_method('Cleanup', 
3684
                   'void', 
3685
                   [], 
3686
                   is_static=True)
3687
    return
3688
3689
def register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__gt___methods(root_module, cls):
3690
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >::SimpleRefCount() [constructor]
3691
    cls.add_constructor([])
3692
    ## 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]
3693
    cls.add_constructor([param('ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter< ns3::EventImpl > > const &', 'o')])
3694
    ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >::Cleanup() [member function]
3695
    cls.add_method('Cleanup', 
3696
                   'void', 
3697
                   [], 
3698
                   is_static=True)
3699
    return
3700
3701
def register_Ns3SimpleRefCount__Ns3Ipv4MulticastRoute_Ns3Empty_Ns3DefaultDeleter__lt__ns3Ipv4MulticastRoute__gt___methods(root_module, cls):
3702
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4MulticastRoute> >::SimpleRefCount() [constructor]
3703
    cls.add_constructor([])
3704
    ## 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]
3705
    cls.add_constructor([param('ns3::SimpleRefCount< ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter< ns3::Ipv4MulticastRoute > > const &', 'o')])
3706
    ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4MulticastRoute> >::Cleanup() [member function]
3707
    cls.add_method('Cleanup', 
3708
                   'void', 
3709
                   [], 
3710
                   is_static=True)
3711
    return
3712
3713
def register_Ns3SimpleRefCount__Ns3Ipv4Route_Ns3Empty_Ns3DefaultDeleter__lt__ns3Ipv4Route__gt___methods(root_module, cls):
3714
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4Route> >::SimpleRefCount() [constructor]
3715
    cls.add_constructor([])
3716
    ## 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]
3717
    cls.add_constructor([param('ns3::SimpleRefCount< ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter< ns3::Ipv4Route > > const &', 'o')])
3718
    ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4Route> >::Cleanup() [member function]
3719
    cls.add_method('Cleanup', 
3720
                   'void', 
3721
                   [], 
3722
                   is_static=True)
3723
    return
3724
3725
def register_Ns3SimpleRefCount__Ns3NixVector_Ns3Empty_Ns3DefaultDeleter__lt__ns3NixVector__gt___methods(root_module, cls):
3726
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >::SimpleRefCount() [constructor]
3727
    cls.add_constructor([])
3728
    ## 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]
3729
    cls.add_constructor([param('ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter< ns3::NixVector > > const &', 'o')])
3730
    ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >::Cleanup() [member function]
3731
    cls.add_method('Cleanup', 
3732
                   'void', 
3733
                   [], 
3734
                   is_static=True)
3735
    return
3736
3737
def register_Ns3SimpleRefCount__Ns3OutputStreamWrapper_Ns3Empty_Ns3DefaultDeleter__lt__ns3OutputStreamWrapper__gt___methods(root_module, cls):
3738
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter<ns3::OutputStreamWrapper> >::SimpleRefCount() [constructor]
3739
    cls.add_constructor([])
3740
    ## 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]
3741
    cls.add_constructor([param('ns3::SimpleRefCount< ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter< ns3::OutputStreamWrapper > > const &', 'o')])
3742
    ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter<ns3::OutputStreamWrapper> >::Cleanup() [member function]
3743
    cls.add_method('Cleanup', 
3744
                   'void', 
3745
                   [], 
3746
                   is_static=True)
3747
    return
3748
3749
def register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, cls):
3750
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >::SimpleRefCount() [constructor]
3751
    cls.add_constructor([])
3752
    ## 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]
3753
    cls.add_constructor([param('ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter< ns3::Packet > > const &', 'o')])
3754
    ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >::Cleanup() [member function]
3755
    cls.add_method('Cleanup', 
3756
                   'void', 
3757
                   [], 
3758
                   is_static=True)
3759
    return
3760
3761
def register_Ns3Socket_methods(root_module, cls):
3762
    ## socket.h (module 'network'): ns3::Socket::Socket(ns3::Socket const & arg0) [copy constructor]
3763
    cls.add_constructor([param('ns3::Socket const &', 'arg0')])
3764
    ## socket.h (module 'network'): ns3::Socket::Socket() [constructor]
3765
    cls.add_constructor([])
3766
    ## socket.h (module 'network'): int ns3::Socket::Bind(ns3::Address const & address) [member function]
3767
    cls.add_method('Bind', 
3768
                   'int', 
3769
                   [param('ns3::Address const &', 'address')], 
3770
                   is_pure_virtual=True, is_virtual=True)
3771
    ## socket.h (module 'network'): int ns3::Socket::Bind() [member function]
3772
    cls.add_method('Bind', 
3773
                   'int', 
3774
                   [], 
3775
                   is_pure_virtual=True, is_virtual=True)
3776
    ## socket.h (module 'network'): void ns3::Socket::BindToNetDevice(ns3::Ptr<ns3::NetDevice> netdevice) [member function]
3777
    cls.add_method('BindToNetDevice', 
3778
                   'void', 
3779
                   [param('ns3::Ptr< ns3::NetDevice >', 'netdevice')], 
3780
                   is_virtual=True)
3781
    ## socket.h (module 'network'): int ns3::Socket::Close() [member function]
3782
    cls.add_method('Close', 
3783
                   'int', 
3784
                   [], 
3785
                   is_pure_virtual=True, is_virtual=True)
3786
    ## socket.h (module 'network'): int ns3::Socket::Connect(ns3::Address const & address) [member function]
3787
    cls.add_method('Connect', 
3788
                   'int', 
3789
                   [param('ns3::Address const &', 'address')], 
3790
                   is_pure_virtual=True, is_virtual=True)
3791
    ## socket.h (module 'network'): static ns3::Ptr<ns3::Socket> ns3::Socket::CreateSocket(ns3::Ptr<ns3::Node> node, ns3::TypeId tid) [member function]
3792
    cls.add_method('CreateSocket', 
3793
                   'ns3::Ptr< ns3::Socket >', 
3794
                   [param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::TypeId', 'tid')], 
3795
                   is_static=True)
3796
    ## socket.h (module 'network'): bool ns3::Socket::GetAllowBroadcast() const [member function]
3797
    cls.add_method('GetAllowBroadcast', 
3798
                   'bool', 
3799
                   [], 
3800
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3801
    ## socket.h (module 'network'): ns3::Ptr<ns3::NetDevice> ns3::Socket::GetBoundNetDevice() [member function]
3802
    cls.add_method('GetBoundNetDevice', 
3803
                   'ns3::Ptr< ns3::NetDevice >', 
3804
                   [])
3805
    ## socket.h (module 'network'): ns3::Socket::SocketErrno ns3::Socket::GetErrno() const [member function]
3806
    cls.add_method('GetErrno', 
3807
                   'ns3::Socket::SocketErrno', 
3808
                   [], 
3809
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3810
    ## socket.h (module 'network'): ns3::Ptr<ns3::Node> ns3::Socket::GetNode() const [member function]
3811
    cls.add_method('GetNode', 
3812
                   'ns3::Ptr< ns3::Node >', 
3813
                   [], 
3814
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3815
    ## socket.h (module 'network'): uint32_t ns3::Socket::GetRxAvailable() const [member function]
3816
    cls.add_method('GetRxAvailable', 
3817
                   'uint32_t', 
3818
                   [], 
3819
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3820
    ## socket.h (module 'network'): int ns3::Socket::GetSockName(ns3::Address & address) const [member function]
3821
    cls.add_method('GetSockName', 
3822
                   'int', 
3823
                   [param('ns3::Address &', 'address')], 
3824
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3825
    ## socket.h (module 'network'): ns3::Socket::SocketType ns3::Socket::GetSocketType() const [member function]
3826
    cls.add_method('GetSocketType', 
3827
                   'ns3::Socket::SocketType', 
3828
                   [], 
3829
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3830
    ## socket.h (module 'network'): uint32_t ns3::Socket::GetTxAvailable() const [member function]
3831
    cls.add_method('GetTxAvailable', 
3832
                   'uint32_t', 
3833
                   [], 
3834
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3835
    ## socket.h (module 'network'): int ns3::Socket::Listen() [member function]
3836
    cls.add_method('Listen', 
3837
                   'int', 
3838
                   [], 
3839
                   is_pure_virtual=True, is_virtual=True)
3840
    ## socket.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Socket::Recv(uint32_t maxSize, uint32_t flags) [member function]
3841
    cls.add_method('Recv', 
3842
                   'ns3::Ptr< ns3::Packet >', 
3843
                   [param('uint32_t', 'maxSize'), param('uint32_t', 'flags')], 
3844
                   is_pure_virtual=True, is_virtual=True)
3845
    ## socket.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Socket::Recv() [member function]
3846
    cls.add_method('Recv', 
3847
                   'ns3::Ptr< ns3::Packet >', 
3848
                   [])
3849
    ## socket.h (module 'network'): int ns3::Socket::Recv(uint8_t * buf, uint32_t size, uint32_t flags) [member function]
3850
    cls.add_method('Recv', 
3851
                   'int', 
3852
                   [param('uint8_t *', 'buf'), param('uint32_t', 'size'), param('uint32_t', 'flags')])
3853
    ## socket.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Socket::RecvFrom(uint32_t maxSize, uint32_t flags, ns3::Address & fromAddress) [member function]
3854
    cls.add_method('RecvFrom', 
3855
                   'ns3::Ptr< ns3::Packet >', 
3856
                   [param('uint32_t', 'maxSize'), param('uint32_t', 'flags'), param('ns3::Address &', 'fromAddress')], 
3857
                   is_pure_virtual=True, is_virtual=True)
3858
    ## socket.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Socket::RecvFrom(ns3::Address & fromAddress) [member function]
3859
    cls.add_method('RecvFrom', 
3860
                   'ns3::Ptr< ns3::Packet >', 
3861
                   [param('ns3::Address &', 'fromAddress')])
3862
    ## socket.h (module 'network'): int ns3::Socket::RecvFrom(uint8_t * buf, uint32_t size, uint32_t flags, ns3::Address & fromAddress) [member function]
3863
    cls.add_method('RecvFrom', 
3864
                   'int', 
3865
                   [param('uint8_t *', 'buf'), param('uint32_t', 'size'), param('uint32_t', 'flags'), param('ns3::Address &', 'fromAddress')])
3866
    ## socket.h (module 'network'): int ns3::Socket::Send(ns3::Ptr<ns3::Packet> p, uint32_t flags) [member function]
3867
    cls.add_method('Send', 
3868
                   'int', 
3869
                   [param('ns3::Ptr< ns3::Packet >', 'p'), param('uint32_t', 'flags')], 
3870
                   is_pure_virtual=True, is_virtual=True)
3871
    ## socket.h (module 'network'): int ns3::Socket::Send(ns3::Ptr<ns3::Packet> p) [member function]
3872
    cls.add_method('Send', 
3873
                   'int', 
3874
                   [param('ns3::Ptr< ns3::Packet >', 'p')])
3875
    ## socket.h (module 'network'): int ns3::Socket::Send(uint8_t const * buf, uint32_t size, uint32_t flags) [member function]
3876
    cls.add_method('Send', 
3877
                   'int', 
3878
                   [param('uint8_t const *', 'buf'), param('uint32_t', 'size'), param('uint32_t', 'flags')])
3879
    ## socket.h (module 'network'): int ns3::Socket::SendTo(ns3::Ptr<ns3::Packet> p, uint32_t flags, ns3::Address const & toAddress) [member function]
3880
    cls.add_method('SendTo', 
3881
                   'int', 
3882
                   [param('ns3::Ptr< ns3::Packet >', 'p'), param('uint32_t', 'flags'), param('ns3::Address const &', 'toAddress')], 
3883
                   is_pure_virtual=True, is_virtual=True)
3884
    ## socket.h (module 'network'): int ns3::Socket::SendTo(uint8_t const * buf, uint32_t size, uint32_t flags, ns3::Address const & address) [member function]
3885
    cls.add_method('SendTo', 
3886
                   'int', 
3887
                   [param('uint8_t const *', 'buf'), param('uint32_t', 'size'), param('uint32_t', 'flags'), param('ns3::Address const &', 'address')])
3888
    ## 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]
3889
    cls.add_method('SetAcceptCallback', 
3890
                   'void', 
3891
                   [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')])
3892
    ## socket.h (module 'network'): bool ns3::Socket::SetAllowBroadcast(bool allowBroadcast) [member function]
3893
    cls.add_method('SetAllowBroadcast', 
3894
                   'bool', 
3895
                   [param('bool', 'allowBroadcast')], 
3896
                   is_pure_virtual=True, is_virtual=True)
3897
    ## 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]
3898
    cls.add_method('SetCloseCallbacks', 
3899
                   'void', 
3900
                   [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')])
3901
    ## 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]
3902
    cls.add_method('SetConnectCallback', 
3903
                   'void', 
3904
                   [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')])
3905
    ## 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]
3906
    cls.add_method('SetDataSentCallback', 
3907
                   'void', 
3908
                   [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')])
3909
    ## 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]
3910
    cls.add_method('SetRecvCallback', 
3911
                   'void', 
3912
                   [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')])
3913
    ## socket.h (module 'network'): void ns3::Socket::SetRecvPktInfo(bool flag) [member function]
3914
    cls.add_method('SetRecvPktInfo', 
3915
                   'void', 
3916
                   [param('bool', 'flag')])
3917
    ## 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]
3918
    cls.add_method('SetSendCallback', 
3919
                   'void', 
3920
                   [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')])
3921
    ## socket.h (module 'network'): int ns3::Socket::ShutdownRecv() [member function]
3922
    cls.add_method('ShutdownRecv', 
3923
                   'int', 
3924
                   [], 
3925
                   is_pure_virtual=True, is_virtual=True)
3926
    ## socket.h (module 'network'): int ns3::Socket::ShutdownSend() [member function]
3927
    cls.add_method('ShutdownSend', 
3928
                   'int', 
3929
                   [], 
3930
                   is_pure_virtual=True, is_virtual=True)
3931
    ## socket.h (module 'network'): void ns3::Socket::DoDispose() [member function]
3932
    cls.add_method('DoDispose', 
3933
                   'void', 
3934
                   [], 
3935
                   visibility='protected', is_virtual=True)
3936
    ## socket.h (module 'network'): void ns3::Socket::NotifyConnectionFailed() [member function]
3937
    cls.add_method('NotifyConnectionFailed', 
3938
                   'void', 
3939
                   [], 
3940
                   visibility='protected')
3941
    ## socket.h (module 'network'): bool ns3::Socket::NotifyConnectionRequest(ns3::Address const & from) [member function]
3942
    cls.add_method('NotifyConnectionRequest', 
3943
                   'bool', 
3944
                   [param('ns3::Address const &', 'from')], 
3945
                   visibility='protected')
3946
    ## socket.h (module 'network'): void ns3::Socket::NotifyConnectionSucceeded() [member function]
3947
    cls.add_method('NotifyConnectionSucceeded', 
3948
                   'void', 
3949
                   [], 
3950
                   visibility='protected')
3951
    ## socket.h (module 'network'): void ns3::Socket::NotifyDataRecv() [member function]
3952
    cls.add_method('NotifyDataRecv', 
3953
                   'void', 
3954
                   [], 
3955
                   visibility='protected')
3956
    ## socket.h (module 'network'): void ns3::Socket::NotifyDataSent(uint32_t size) [member function]
3957
    cls.add_method('NotifyDataSent', 
3958
                   'void', 
3959
                   [param('uint32_t', 'size')], 
3960
                   visibility='protected')
3961
    ## socket.h (module 'network'): void ns3::Socket::NotifyErrorClose() [member function]
3962
    cls.add_method('NotifyErrorClose', 
3963
                   'void', 
3964
                   [], 
3965
                   visibility='protected')
3966
    ## socket.h (module 'network'): void ns3::Socket::NotifyNewConnectionCreated(ns3::Ptr<ns3::Socket> socket, ns3::Address const & from) [member function]
3967
    cls.add_method('NotifyNewConnectionCreated', 
3968
                   'void', 
3969
                   [param('ns3::Ptr< ns3::Socket >', 'socket'), param('ns3::Address const &', 'from')], 
3970
                   visibility='protected')
3971
    ## socket.h (module 'network'): void ns3::Socket::NotifyNormalClose() [member function]
3972
    cls.add_method('NotifyNormalClose', 
3973
                   'void', 
3974
                   [], 
3975
                   visibility='protected')
3976
    ## socket.h (module 'network'): void ns3::Socket::NotifySend(uint32_t spaceAvailable) [member function]
3977
    cls.add_method('NotifySend', 
3978
                   'void', 
3979
                   [param('uint32_t', 'spaceAvailable')], 
3980
                   visibility='protected')
3981
    return
3982
3983
def register_Ns3SocketAddressTag_methods(root_module, cls):
3984
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag(ns3::SocketAddressTag const & arg0) [copy constructor]
3985
    cls.add_constructor([param('ns3::SocketAddressTag const &', 'arg0')])
3986
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag() [constructor]
3987
    cls.add_constructor([])
3988
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Deserialize(ns3::TagBuffer i) [member function]
3989
    cls.add_method('Deserialize', 
3990
                   'void', 
3991
                   [param('ns3::TagBuffer', 'i')], 
3992
                   is_virtual=True)
3993
    ## socket.h (module 'network'): ns3::Address ns3::SocketAddressTag::GetAddress() const [member function]
3994
    cls.add_method('GetAddress', 
3995
                   'ns3::Address', 
3996
                   [], 
3997
                   is_const=True)
3998
    ## socket.h (module 'network'): ns3::TypeId ns3::SocketAddressTag::GetInstanceTypeId() const [member function]
3999
    cls.add_method('GetInstanceTypeId', 
4000
                   'ns3::TypeId', 
4001
                   [], 
4002
                   is_const=True, is_virtual=True)
4003
    ## socket.h (module 'network'): uint32_t ns3::SocketAddressTag::GetSerializedSize() const [member function]
4004
    cls.add_method('GetSerializedSize', 
4005
                   'uint32_t', 
4006
                   [], 
4007
                   is_const=True, is_virtual=True)
4008
    ## socket.h (module 'network'): static ns3::TypeId ns3::SocketAddressTag::GetTypeId() [member function]
4009
    cls.add_method('GetTypeId', 
4010
                   'ns3::TypeId', 
4011
                   [], 
4012
                   is_static=True)
4013
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Print(std::ostream & os) const [member function]
4014
    cls.add_method('Print', 
4015
                   'void', 
4016
                   [param('std::ostream &', 'os')], 
4017
                   is_const=True, is_virtual=True)
4018
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Serialize(ns3::TagBuffer i) const [member function]
4019
    cls.add_method('Serialize', 
4020
                   'void', 
4021
                   [param('ns3::TagBuffer', 'i')], 
4022
                   is_const=True, is_virtual=True)
4023
    ## socket.h (module 'network'): void ns3::SocketAddressTag::SetAddress(ns3::Address addr) [member function]
4024
    cls.add_method('SetAddress', 
4025
                   'void', 
4026
                   [param('ns3::Address', 'addr')])
4027
    return
4028
4029
def register_Ns3SocketIpTtlTag_methods(root_module, cls):
4030
    ## socket.h (module 'network'): ns3::SocketIpTtlTag::SocketIpTtlTag(ns3::SocketIpTtlTag const & arg0) [copy constructor]
4031
    cls.add_constructor([param('ns3::SocketIpTtlTag const &', 'arg0')])
4032
    ## socket.h (module 'network'): ns3::SocketIpTtlTag::SocketIpTtlTag() [constructor]
4033
    cls.add_constructor([])
4034
    ## socket.h (module 'network'): void ns3::SocketIpTtlTag::Deserialize(ns3::TagBuffer i) [member function]
4035
    cls.add_method('Deserialize', 
4036
                   'void', 
4037
                   [param('ns3::TagBuffer', 'i')], 
4038
                   is_virtual=True)
4039
    ## socket.h (module 'network'): ns3::TypeId ns3::SocketIpTtlTag::GetInstanceTypeId() const [member function]
4040
    cls.add_method('GetInstanceTypeId', 
4041
                   'ns3::TypeId', 
4042
                   [], 
4043
                   is_const=True, is_virtual=True)
4044
    ## socket.h (module 'network'): uint32_t ns3::SocketIpTtlTag::GetSerializedSize() const [member function]
4045
    cls.add_method('GetSerializedSize', 
4046
                   'uint32_t', 
4047
                   [], 
4048
                   is_const=True, is_virtual=True)
4049
    ## socket.h (module 'network'): uint8_t ns3::SocketIpTtlTag::GetTtl() const [member function]
4050
    cls.add_method('GetTtl', 
4051
                   'uint8_t', 
4052
                   [], 
4053
                   is_const=True)
4054
    ## socket.h (module 'network'): static ns3::TypeId ns3::SocketIpTtlTag::GetTypeId() [member function]
4055
    cls.add_method('GetTypeId', 
4056
                   'ns3::TypeId', 
4057
                   [], 
4058
                   is_static=True)
4059
    ## socket.h (module 'network'): void ns3::SocketIpTtlTag::Print(std::ostream & os) const [member function]
4060
    cls.add_method('Print', 
4061
                   'void', 
4062
                   [param('std::ostream &', 'os')], 
4063
                   is_const=True, is_virtual=True)
4064
    ## socket.h (module 'network'): void ns3::SocketIpTtlTag::Serialize(ns3::TagBuffer i) const [member function]
4065
    cls.add_method('Serialize', 
4066
                   'void', 
4067
                   [param('ns3::TagBuffer', 'i')], 
4068
                   is_const=True, is_virtual=True)
4069
    ## socket.h (module 'network'): void ns3::SocketIpTtlTag::SetTtl(uint8_t ttl) [member function]
4070
    cls.add_method('SetTtl', 
4071
                   'void', 
4072
                   [param('uint8_t', 'ttl')])
4073
    return
4074
4075
def register_Ns3SocketSetDontFragmentTag_methods(root_module, cls):
4076
    ## socket.h (module 'network'): ns3::SocketSetDontFragmentTag::SocketSetDontFragmentTag(ns3::SocketSetDontFragmentTag const & arg0) [copy constructor]
4077
    cls.add_constructor([param('ns3::SocketSetDontFragmentTag const &', 'arg0')])
4078
    ## socket.h (module 'network'): ns3::SocketSetDontFragmentTag::SocketSetDontFragmentTag() [constructor]
4079
    cls.add_constructor([])
4080
    ## socket.h (module 'network'): void ns3::SocketSetDontFragmentTag::Deserialize(ns3::TagBuffer i) [member function]
4081
    cls.add_method('Deserialize', 
4082
                   'void', 
4083
                   [param('ns3::TagBuffer', 'i')], 
4084
                   is_virtual=True)
4085
    ## socket.h (module 'network'): void ns3::SocketSetDontFragmentTag::Disable() [member function]
4086
    cls.add_method('Disable', 
4087
                   'void', 
4088
                   [])
4089
    ## socket.h (module 'network'): void ns3::SocketSetDontFragmentTag::Enable() [member function]
4090
    cls.add_method('Enable', 
4091
                   'void', 
4092
                   [])
4093
    ## socket.h (module 'network'): ns3::TypeId ns3::SocketSetDontFragmentTag::GetInstanceTypeId() const [member function]
4094
    cls.add_method('GetInstanceTypeId', 
4095
                   'ns3::TypeId', 
4096
                   [], 
4097
                   is_const=True, is_virtual=True)
4098
    ## socket.h (module 'network'): uint32_t ns3::SocketSetDontFragmentTag::GetSerializedSize() const [member function]
4099
    cls.add_method('GetSerializedSize', 
4100
                   'uint32_t', 
4101
                   [], 
4102
                   is_const=True, is_virtual=True)
4103
    ## socket.h (module 'network'): static ns3::TypeId ns3::SocketSetDontFragmentTag::GetTypeId() [member function]
4104
    cls.add_method('GetTypeId', 
4105
                   'ns3::TypeId', 
4106
                   [], 
4107
                   is_static=True)
4108
    ## socket.h (module 'network'): bool ns3::SocketSetDontFragmentTag::IsEnabled() const [member function]
4109
    cls.add_method('IsEnabled', 
4110
                   'bool', 
4111
                   [], 
4112
                   is_const=True)
4113
    ## socket.h (module 'network'): void ns3::SocketSetDontFragmentTag::Print(std::ostream & os) const [member function]
4114
    cls.add_method('Print', 
4115
                   'void', 
4116
                   [param('std::ostream &', 'os')], 
4117
                   is_const=True, is_virtual=True)
4118
    ## socket.h (module 'network'): void ns3::SocketSetDontFragmentTag::Serialize(ns3::TagBuffer i) const [member function]
4119
    cls.add_method('Serialize', 
4120
                   'void', 
4121
                   [param('ns3::TagBuffer', 'i')], 
4122
                   is_const=True, is_virtual=True)
4123
    return
4124
4125
def register_Ns3Time_methods(root_module, cls):
4126
    cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right'))
4127
    cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right'))
4128
    cls.add_binary_comparison_operator('<')
4129
    cls.add_binary_comparison_operator('>')
4130
    cls.add_binary_comparison_operator('!=')
4131
    cls.add_inplace_numeric_operator('+=', param('ns3::Time const &', 'right'))
4132
    cls.add_inplace_numeric_operator('-=', param('ns3::Time const &', 'right'))
4133
    cls.add_output_stream_operator()
4134
    cls.add_binary_comparison_operator('<=')
4135
    cls.add_binary_comparison_operator('==')
4136
    cls.add_binary_comparison_operator('>=')
4137
    ## nstime.h (module 'core'): ns3::Time::Time() [constructor]
4138
    cls.add_constructor([])
4139
    ## nstime.h (module 'core'): ns3::Time::Time(ns3::Time const & o) [copy constructor]
4140
    cls.add_constructor([param('ns3::Time const &', 'o')])
4141
    ## nstime.h (module 'core'): ns3::Time::Time(double v) [constructor]
4142
    cls.add_constructor([param('double', 'v')])
4143
    ## nstime.h (module 'core'): ns3::Time::Time(int v) [constructor]
4144
    cls.add_constructor([param('int', 'v')])
4145
    ## nstime.h (module 'core'): ns3::Time::Time(long int v) [constructor]
4146
    cls.add_constructor([param('long int', 'v')])
4147
    ## nstime.h (module 'core'): ns3::Time::Time(long long int v) [constructor]
4148
    cls.add_constructor([param('long long int', 'v')])
4149
    ## nstime.h (module 'core'): ns3::Time::Time(unsigned int v) [constructor]
4150
    cls.add_constructor([param('unsigned int', 'v')])
4151
    ## nstime.h (module 'core'): ns3::Time::Time(long unsigned int v) [constructor]
4152
    cls.add_constructor([param('long unsigned int', 'v')])
4153
    ## nstime.h (module 'core'): ns3::Time::Time(long long unsigned int v) [constructor]
4154
    cls.add_constructor([param('long long unsigned int', 'v')])
4155
    ## nstime.h (module 'core'): ns3::Time::Time(std::string const & s) [constructor]
4156
    cls.add_constructor([param('std::string const &', 's')])
4157
    ## nstime.h (module 'core'): ns3::Time::Time(ns3::int64x64_t const & value) [constructor]
4158
    cls.add_constructor([param('ns3::int64x64_t const &', 'value')])
4159
    ## nstime.h (module 'core'): int ns3::Time::Compare(ns3::Time const & o) const [member function]
4160
    cls.add_method('Compare', 
4161
                   'int', 
4162
                   [param('ns3::Time const &', 'o')], 
4163
                   is_const=True)
4164
    ## nstime.h (module 'core'): static ns3::Time ns3::Time::From(ns3::int64x64_t const & from, ns3::Time::Unit timeUnit) [member function]
4165
    cls.add_method('From', 
4166
                   'ns3::Time', 
4167
                   [param('ns3::int64x64_t const &', 'from'), param('ns3::Time::Unit', 'timeUnit')], 
4168
                   is_static=True)
4169
    ## nstime.h (module 'core'): static ns3::Time ns3::Time::From(ns3::int64x64_t const & value) [member function]
4170
    cls.add_method('From', 
4171
                   'ns3::Time', 
4172
                   [param('ns3::int64x64_t const &', 'value')], 
4173
                   is_static=True)
4174
    ## nstime.h (module 'core'): static ns3::Time ns3::Time::FromDouble(double value, ns3::Time::Unit timeUnit) [member function]
4175
    cls.add_method('FromDouble', 
4176
                   'ns3::Time', 
4177
                   [param('double', 'value'), param('ns3::Time::Unit', 'timeUnit')], 
4178
                   is_static=True)
4179
    ## nstime.h (module 'core'): static ns3::Time ns3::Time::FromInteger(uint64_t value, ns3::Time::Unit timeUnit) [member function]
4180
    cls.add_method('FromInteger', 
4181
                   'ns3::Time', 
4182
                   [param('uint64_t', 'value'), param('ns3::Time::Unit', 'timeUnit')], 
4183
                   is_static=True)
4184
    ## nstime.h (module 'core'): double ns3::Time::GetDouble() const [member function]
4185
    cls.add_method('GetDouble', 
4186
                   'double', 
4187
                   [], 
4188
                   is_const=True)
4189
    ## nstime.h (module 'core'): int64_t ns3::Time::GetFemtoSeconds() const [member function]
4190
    cls.add_method('GetFemtoSeconds', 
4191
                   'int64_t', 
4192
                   [], 
4193
                   is_const=True)
4194
    ## nstime.h (module 'core'): int64_t ns3::Time::GetInteger() const [member function]
4195
    cls.add_method('GetInteger', 
4196
                   'int64_t', 
4197
                   [], 
4198
                   is_const=True)
4199
    ## nstime.h (module 'core'): int64_t ns3::Time::GetMicroSeconds() const [member function]
4200
    cls.add_method('GetMicroSeconds', 
4201
                   'int64_t', 
4202
                   [], 
4203
                   is_const=True)
4204
    ## nstime.h (module 'core'): int64_t ns3::Time::GetMilliSeconds() const [member function]
4205
    cls.add_method('GetMilliSeconds', 
4206
                   'int64_t', 
4207
                   [], 
4208
                   is_const=True)
4209
    ## nstime.h (module 'core'): int64_t ns3::Time::GetNanoSeconds() const [member function]
4210
    cls.add_method('GetNanoSeconds', 
4211
                   'int64_t', 
4212
                   [], 
4213
                   is_const=True)
4214
    ## nstime.h (module 'core'): int64_t ns3::Time::GetPicoSeconds() const [member function]
4215
    cls.add_method('GetPicoSeconds', 
4216
                   'int64_t', 
4217
                   [], 
4218
                   is_const=True)
4219
    ## nstime.h (module 'core'): static ns3::Time::Unit ns3::Time::GetResolution() [member function]
4220
    cls.add_method('GetResolution', 
4221
                   'ns3::Time::Unit', 
4222
                   [], 
4223
                   is_static=True)
4224
    ## nstime.h (module 'core'): double ns3::Time::GetSeconds() const [member function]
4225
    cls.add_method('GetSeconds', 
4226
                   'double', 
4227
                   [], 
4228
                   is_const=True)
4229
    ## nstime.h (module 'core'): int64_t ns3::Time::GetTimeStep() const [member function]
4230
    cls.add_method('GetTimeStep', 
4231
                   'int64_t', 
4232
                   [], 
4233
                   is_const=True)
4234
    ## nstime.h (module 'core'): bool ns3::Time::IsNegative() const [member function]
4235
    cls.add_method('IsNegative', 
4236
                   'bool', 
4237
                   [], 
4238
                   is_const=True)
4239
    ## nstime.h (module 'core'): bool ns3::Time::IsPositive() const [member function]
4240
    cls.add_method('IsPositive', 
4241
                   'bool', 
4242
                   [], 
4243
                   is_const=True)
4244
    ## nstime.h (module 'core'): bool ns3::Time::IsStrictlyNegative() const [member function]
4245
    cls.add_method('IsStrictlyNegative', 
4246
                   'bool', 
4247
                   [], 
4248
                   is_const=True)
4249
    ## nstime.h (module 'core'): bool ns3::Time::IsStrictlyPositive() const [member function]
4250
    cls.add_method('IsStrictlyPositive', 
4251
                   'bool', 
4252
                   [], 
4253
                   is_const=True)
4254
    ## nstime.h (module 'core'): bool ns3::Time::IsZero() const [member function]
4255
    cls.add_method('IsZero', 
4256
                   'bool', 
4257
                   [], 
4258
                   is_const=True)
4259
    ## nstime.h (module 'core'): static void ns3::Time::SetResolution(ns3::Time::Unit resolution) [member function]
4260
    cls.add_method('SetResolution', 
4261
                   'void', 
4262
                   [param('ns3::Time::Unit', 'resolution')], 
4263
                   is_static=True)
4264
    ## nstime.h (module 'core'): ns3::int64x64_t ns3::Time::To(ns3::Time::Unit timeUnit) const [member function]
4265
    cls.add_method('To', 
4266
                   'ns3::int64x64_t', 
4267
                   [param('ns3::Time::Unit', 'timeUnit')], 
4268
                   is_const=True)
4269
    ## nstime.h (module 'core'): double ns3::Time::ToDouble(ns3::Time::Unit timeUnit) const [member function]
4270
    cls.add_method('ToDouble', 
4271
                   'double', 
4272
                   [param('ns3::Time::Unit', 'timeUnit')], 
4273
                   is_const=True)
4274
    ## nstime.h (module 'core'): int64_t ns3::Time::ToInteger(ns3::Time::Unit timeUnit) const [member function]
4275
    cls.add_method('ToInteger', 
4276
                   'int64_t', 
4277
                   [param('ns3::Time::Unit', 'timeUnit')], 
4278
                   is_const=True)
4279
    return
4280
4281
def register_Ns3Trailer_methods(root_module, cls):
4282
    cls.add_output_stream_operator()
4283
    ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor]
4284
    cls.add_constructor([])
4285
    ## trailer.h (module 'network'): ns3::Trailer::Trailer(ns3::Trailer const & arg0) [copy constructor]
4286
    cls.add_constructor([param('ns3::Trailer const &', 'arg0')])
4287
    ## trailer.h (module 'network'): uint32_t ns3::Trailer::Deserialize(ns3::Buffer::Iterator end) [member function]
4288
    cls.add_method('Deserialize', 
4289
                   'uint32_t', 
4290
                   [param('ns3::Buffer::Iterator', 'end')], 
4291
                   is_pure_virtual=True, is_virtual=True)
4292
    ## trailer.h (module 'network'): uint32_t ns3::Trailer::GetSerializedSize() const [member function]
4293
    cls.add_method('GetSerializedSize', 
4294
                   'uint32_t', 
4295
                   [], 
4296
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4297
    ## trailer.h (module 'network'): static ns3::TypeId ns3::Trailer::GetTypeId() [member function]
4298
    cls.add_method('GetTypeId', 
4299
                   'ns3::TypeId', 
4300
                   [], 
4301
                   is_static=True)
4302
    ## trailer.h (module 'network'): void ns3::Trailer::Print(std::ostream & os) const [member function]
4303
    cls.add_method('Print', 
4304
                   'void', 
4305
                   [param('std::ostream &', 'os')], 
4306
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4307
    ## trailer.h (module 'network'): void ns3::Trailer::Serialize(ns3::Buffer::Iterator start) const [member function]
4308
    cls.add_method('Serialize', 
4309
                   'void', 
4310
                   [param('ns3::Buffer::Iterator', 'start')], 
4311
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4312
    return
4313
4314
def register_Ns3AttributeAccessor_methods(root_module, cls):
4315
    ## attribute.h (module 'core'): ns3::AttributeAccessor::AttributeAccessor(ns3::AttributeAccessor const & arg0) [copy constructor]
4316
    cls.add_constructor([param('ns3::AttributeAccessor const &', 'arg0')])
4317
    ## attribute.h (module 'core'): ns3::AttributeAccessor::AttributeAccessor() [constructor]
4318
    cls.add_constructor([])
4319
    ## attribute.h (module 'core'): bool ns3::AttributeAccessor::Get(ns3::ObjectBase const * object, ns3::AttributeValue & attribute) const [member function]
4320
    cls.add_method('Get', 
4321
                   'bool', 
4322
                   [param('ns3::ObjectBase const *', 'object'), param('ns3::AttributeValue &', 'attribute')], 
4323
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4324
    ## attribute.h (module 'core'): bool ns3::AttributeAccessor::HasGetter() const [member function]
4325
    cls.add_method('HasGetter', 
4326
                   'bool', 
4327
                   [], 
4328
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4329
    ## attribute.h (module 'core'): bool ns3::AttributeAccessor::HasSetter() const [member function]
4330
    cls.add_method('HasSetter', 
4331
                   'bool', 
4332
                   [], 
4333
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4334
    ## attribute.h (module 'core'): bool ns3::AttributeAccessor::Set(ns3::ObjectBase * object, ns3::AttributeValue const & value) const [member function]
4335
    cls.add_method('Set', 
4336
                   'bool', 
4337
                   [param('ns3::ObjectBase *', 'object', transfer_ownership=False), param('ns3::AttributeValue const &', 'value')], 
4338
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4339
    return
4340
4341
def register_Ns3AttributeChecker_methods(root_module, cls):
4342
    ## attribute.h (module 'core'): ns3::AttributeChecker::AttributeChecker(ns3::AttributeChecker const & arg0) [copy constructor]
4343
    cls.add_constructor([param('ns3::AttributeChecker const &', 'arg0')])
4344
    ## attribute.h (module 'core'): ns3::AttributeChecker::AttributeChecker() [constructor]
4345
    cls.add_constructor([])
4346
    ## attribute.h (module 'core'): bool ns3::AttributeChecker::Check(ns3::AttributeValue const & value) const [member function]
4347
    cls.add_method('Check', 
4348
                   'bool', 
4349
                   [param('ns3::AttributeValue const &', 'value')], 
4350
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4351
    ## attribute.h (module 'core'): bool ns3::AttributeChecker::Copy(ns3::AttributeValue const & source, ns3::AttributeValue & destination) const [member function]
4352
    cls.add_method('Copy', 
4353
                   'bool', 
4354
                   [param('ns3::AttributeValue const &', 'source'), param('ns3::AttributeValue &', 'destination')], 
4355
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4356
    ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeChecker::Create() const [member function]
4357
    cls.add_method('Create', 
4358
                   'ns3::Ptr< ns3::AttributeValue >', 
4359
                   [], 
4360
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4361
    ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function]
4362
    cls.add_method('GetUnderlyingTypeInformation', 
4363
                   'std::string', 
4364
                   [], 
4365
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4366
    ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetValueTypeName() const [member function]
4367
    cls.add_method('GetValueTypeName', 
4368
                   'std::string', 
4369
                   [], 
4370
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4371
    ## attribute.h (module 'core'): bool ns3::AttributeChecker::HasUnderlyingTypeInformation() const [member function]
4372
    cls.add_method('HasUnderlyingTypeInformation', 
4373
                   'bool', 
4374
                   [], 
4375
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4376
    return
4377
4378
def register_Ns3AttributeValue_methods(root_module, cls):
4379
    ## attribute.h (module 'core'): ns3::AttributeValue::AttributeValue(ns3::AttributeValue const & arg0) [copy constructor]
4380
    cls.add_constructor([param('ns3::AttributeValue const &', 'arg0')])
4381
    ## attribute.h (module 'core'): ns3::AttributeValue::AttributeValue() [constructor]
4382
    cls.add_constructor([])
4383
    ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeValue::Copy() const [member function]
4384
    cls.add_method('Copy', 
4385
                   'ns3::Ptr< ns3::AttributeValue >', 
4386
                   [], 
4387
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4388
    ## attribute.h (module 'core'): bool ns3::AttributeValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4389
    cls.add_method('DeserializeFromString', 
4390
                   'bool', 
4391
                   [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
4392
                   is_pure_virtual=True, is_virtual=True)
4393
    ## attribute.h (module 'core'): std::string ns3::AttributeValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4394
    cls.add_method('SerializeToString', 
4395
                   'std::string', 
4396
                   [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
4397
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4398
    return
4399
4400
def register_Ns3CallbackChecker_methods(root_module, cls):
4401
    ## callback.h (module 'core'): ns3::CallbackChecker::CallbackChecker() [constructor]
4402
    cls.add_constructor([])
4403
    ## callback.h (module 'core'): ns3::CallbackChecker::CallbackChecker(ns3::CallbackChecker const & arg0) [copy constructor]
4404
    cls.add_constructor([param('ns3::CallbackChecker const &', 'arg0')])
4405
    return
4406
4407
def register_Ns3CallbackImplBase_methods(root_module, cls):
4408
    ## callback.h (module 'core'): ns3::CallbackImplBase::CallbackImplBase() [constructor]
4409
    cls.add_constructor([])
4410
    ## callback.h (module 'core'): ns3::CallbackImplBase::CallbackImplBase(ns3::CallbackImplBase const & arg0) [copy constructor]
4411
    cls.add_constructor([param('ns3::CallbackImplBase const &', 'arg0')])
4412
    ## callback.h (module 'core'): bool ns3::CallbackImplBase::IsEqual(ns3::Ptr<ns3::CallbackImplBase const> other) const [member function]
4413
    cls.add_method('IsEqual', 
4414
                   'bool', 
4415
                   [param('ns3::Ptr< ns3::CallbackImplBase const >', 'other')], 
4416
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4417
    return
4418
4419
def register_Ns3CallbackValue_methods(root_module, cls):
4420
    ## callback.h (module 'core'): ns3::CallbackValue::CallbackValue(ns3::CallbackValue const & arg0) [copy constructor]
4421
    cls.add_constructor([param('ns3::CallbackValue const &', 'arg0')])
4422
    ## callback.h (module 'core'): ns3::CallbackValue::CallbackValue() [constructor]
4423
    cls.add_constructor([])
4424
    ## callback.h (module 'core'): ns3::CallbackValue::CallbackValue(ns3::CallbackBase const & base) [constructor]
4425
    cls.add_constructor([param('ns3::CallbackBase const &', 'base')])
4426
    ## callback.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::CallbackValue::Copy() const [member function]
4427
    cls.add_method('Copy', 
4428
                   'ns3::Ptr< ns3::AttributeValue >', 
4429
                   [], 
4430
                   is_const=True, is_virtual=True)
4431
    ## callback.h (module 'core'): bool ns3::CallbackValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4432
    cls.add_method('DeserializeFromString', 
4433
                   'bool', 
4434
                   [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
4435
                   is_virtual=True)
4436
    ## callback.h (module 'core'): std::string ns3::CallbackValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4437
    cls.add_method('SerializeToString', 
4438
                   'std::string', 
4439
                   [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
4440
                   is_const=True, is_virtual=True)
4441
    ## callback.h (module 'core'): void ns3::CallbackValue::Set(ns3::CallbackBase base) [member function]
4442
    cls.add_method('Set', 
4443
                   'void', 
4444
                   [param('ns3::CallbackBase', 'base')])
4445
    return
4446
4447
def register_Ns3EmptyAttributeValue_methods(root_module, cls):
4448
    ## attribute.h (module 'core'): ns3::EmptyAttributeValue::EmptyAttributeValue(ns3::EmptyAttributeValue const & arg0) [copy constructor]
4449
    cls.add_constructor([param('ns3::EmptyAttributeValue const &', 'arg0')])
4450
    ## attribute.h (module 'core'): ns3::EmptyAttributeValue::EmptyAttributeValue() [constructor]
4451
    cls.add_constructor([])
4452
    ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::EmptyAttributeValue::Copy() const [member function]
4453
    cls.add_method('Copy', 
4454
                   'ns3::Ptr< ns3::AttributeValue >', 
4455
                   [], 
4456
                   is_const=True, visibility='private', is_virtual=True)
4457
    ## attribute.h (module 'core'): bool ns3::EmptyAttributeValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4458
    cls.add_method('DeserializeFromString', 
4459
                   'bool', 
4460
                   [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
4461
                   visibility='private', is_virtual=True)
4462
    ## attribute.h (module 'core'): std::string ns3::EmptyAttributeValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4463
    cls.add_method('SerializeToString', 
4464
                   'std::string', 
4465
                   [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
4466
                   is_const=True, visibility='private', is_virtual=True)
4467
    return
4468
4469
def register_Ns3EventImpl_methods(root_module, cls):
4470
    ## event-impl.h (module 'core'): ns3::EventImpl::EventImpl(ns3::EventImpl const & arg0) [copy constructor]
4471
    cls.add_constructor([param('ns3::EventImpl const &', 'arg0')])
4472
    ## event-impl.h (module 'core'): ns3::EventImpl::EventImpl() [constructor]
4473
    cls.add_constructor([])
4474
    ## event-impl.h (module 'core'): void ns3::EventImpl::Cancel() [member function]
4475
    cls.add_method('Cancel', 
4476
                   'void', 
4477
                   [])
4478
    ## event-impl.h (module 'core'): void ns3::EventImpl::Invoke() [member function]
4479
    cls.add_method('Invoke', 
4480
                   'void', 
4481
                   [])
4482
    ## event-impl.h (module 'core'): bool ns3::EventImpl::IsCancelled() [member function]
4483
    cls.add_method('IsCancelled', 
4484
                   'bool', 
4485
                   [])
4486
    ## event-impl.h (module 'core'): void ns3::EventImpl::Notify() [member function]
4487
    cls.add_method('Notify', 
4488
                   'void', 
4489
                   [], 
4490
                   is_pure_virtual=True, visibility='protected', is_virtual=True)
4491
    return
4492
4493
def register_Ns3Ipv4_methods(root_module, cls):
4494
    ## ipv4.h (module 'internet'): ns3::Ipv4::Ipv4(ns3::Ipv4 const & arg0) [copy constructor]
4495
    cls.add_constructor([param('ns3::Ipv4 const &', 'arg0')])
4496
    ## ipv4.h (module 'internet'): ns3::Ipv4::Ipv4() [constructor]
4497
    cls.add_constructor([])
4498
    ## ipv4.h (module 'internet'): bool ns3::Ipv4::AddAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function]
4499
    cls.add_method('AddAddress', 
4500
                   'bool', 
4501
                   [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], 
4502
                   is_pure_virtual=True, is_virtual=True)
4503
    ## ipv4.h (module 'internet'): uint32_t ns3::Ipv4::AddInterface(ns3::Ptr<ns3::NetDevice> device) [member function]
4504
    cls.add_method('AddInterface', 
4505
                   'uint32_t', 
4506
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')], 
4507
                   is_pure_virtual=True, is_virtual=True)
4508
    ## ipv4.h (module 'internet'): ns3::Ipv4InterfaceAddress ns3::Ipv4::GetAddress(uint32_t interface, uint32_t addressIndex) const [member function]
4509
    cls.add_method('GetAddress', 
4510
                   'ns3::Ipv4InterfaceAddress', 
4511
                   [param('uint32_t', 'interface'), param('uint32_t', 'addressIndex')], 
4512
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4513
    ## ipv4.h (module 'internet'): int32_t ns3::Ipv4::GetInterfaceForAddress(ns3::Ipv4Address address) const [member function]
4514
    cls.add_method('GetInterfaceForAddress', 
4515
                   'int32_t', 
4516
                   [param('ns3::Ipv4Address', 'address')], 
4517
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4518
    ## ipv4.h (module 'internet'): int32_t ns3::Ipv4::GetInterfaceForDevice(ns3::Ptr<const ns3::NetDevice> device) const [member function]
4519
    cls.add_method('GetInterfaceForDevice', 
4520
                   'int32_t', 
4521
                   [param('ns3::Ptr< ns3::NetDevice const >', 'device')], 
4522
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4523
    ## ipv4.h (module 'internet'): int32_t ns3::Ipv4::GetInterfaceForPrefix(ns3::Ipv4Address address, ns3::Ipv4Mask mask) const [member function]
4524
    cls.add_method('GetInterfaceForPrefix', 
4525
                   'int32_t', 
4526
                   [param('ns3::Ipv4Address', 'address'), param('ns3::Ipv4Mask', 'mask')], 
4527
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4528
    ## ipv4.h (module 'internet'): uint16_t ns3::Ipv4::GetMetric(uint32_t interface) const [member function]
4529
    cls.add_method('GetMetric', 
4530
                   'uint16_t', 
4531
                   [param('uint32_t', 'interface')], 
4532
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4533
    ## ipv4.h (module 'internet'): uint16_t ns3::Ipv4::GetMtu(uint32_t interface) const [member function]
4534
    cls.add_method('GetMtu', 
4535
                   'uint16_t', 
4536
                   [param('uint32_t', 'interface')], 
4537
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4538
    ## ipv4.h (module 'internet'): uint32_t ns3::Ipv4::GetNAddresses(uint32_t interface) const [member function]
4539
    cls.add_method('GetNAddresses', 
4540
                   'uint32_t', 
4541
                   [param('uint32_t', 'interface')], 
4542
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4543
    ## ipv4.h (module 'internet'): uint32_t ns3::Ipv4::GetNInterfaces() const [member function]
4544
    cls.add_method('GetNInterfaces', 
4545
                   'uint32_t', 
4546
                   [], 
4547
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4548
    ## ipv4.h (module 'internet'): ns3::Ptr<ns3::NetDevice> ns3::Ipv4::GetNetDevice(uint32_t interface) [member function]
4549
    cls.add_method('GetNetDevice', 
4550
                   'ns3::Ptr< ns3::NetDevice >', 
4551
                   [param('uint32_t', 'interface')], 
4552
                   is_pure_virtual=True, is_virtual=True)
4553
    ## ipv4.h (module 'internet'): ns3::Ptr<ns3::Ipv4RoutingProtocol> ns3::Ipv4::GetRoutingProtocol() const [member function]
4554
    cls.add_method('GetRoutingProtocol', 
4555
                   'ns3::Ptr< ns3::Ipv4RoutingProtocol >', 
4556
                   [], 
4557
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4558
    ## ipv4.h (module 'internet'): static ns3::TypeId ns3::Ipv4::GetTypeId() [member function]
4559
    cls.add_method('GetTypeId', 
4560
                   'ns3::TypeId', 
4561
                   [], 
4562
                   is_static=True)
4563
    ## ipv4.h (module 'internet'): void ns3::Ipv4::Insert(ns3::Ptr<ns3::Ipv4L4Protocol> protocol) [member function]
4564
    cls.add_method('Insert', 
4565
                   'void', 
4566
                   [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')], 
4567
                   is_pure_virtual=True, is_virtual=True)
4568
    ## ipv4.h (module 'internet'): bool ns3::Ipv4::IsDestinationAddress(ns3::Ipv4Address address, uint32_t iif) const [member function]
4569
    cls.add_method('IsDestinationAddress', 
4570
                   'bool', 
4571
                   [param('ns3::Ipv4Address', 'address'), param('uint32_t', 'iif')], 
4572
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4573
    ## ipv4.h (module 'internet'): bool ns3::Ipv4::IsForwarding(uint32_t interface) const [member function]
4574
    cls.add_method('IsForwarding', 
4575
                   'bool', 
4576
                   [param('uint32_t', 'interface')], 
4577
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4578
    ## ipv4.h (module 'internet'): bool ns3::Ipv4::IsUp(uint32_t interface) const [member function]
4579
    cls.add_method('IsUp', 
4580
                   'bool', 
4581
                   [param('uint32_t', 'interface')], 
4582
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4583
    ## ipv4.h (module 'internet'): bool ns3::Ipv4::RemoveAddress(uint32_t interface, uint32_t addressIndex) [member function]
4584
    cls.add_method('RemoveAddress', 
4585
                   'bool', 
4586
                   [param('uint32_t', 'interface'), param('uint32_t', 'addressIndex')], 
4587
                   is_pure_virtual=True, is_virtual=True)
4588
    ## 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]
4589
    cls.add_method('SelectSourceAddress', 
4590
                   'ns3::Ipv4Address', 
4591
                   [param('ns3::Ptr< ns3::NetDevice const >', 'device'), param('ns3::Ipv4Address', 'dst'), param('ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e', 'scope')], 
4592
                   is_pure_virtual=True, is_virtual=True)
4593
    ## 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]
4594
    cls.add_method('Send', 
4595
                   'void', 
4596
                   [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'destination'), param('uint8_t', 'protocol'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')], 
4597
                   is_pure_virtual=True, is_virtual=True)
4598
    ## ipv4.h (module 'internet'): void ns3::Ipv4::SetDown(uint32_t interface) [member function]
4599
    cls.add_method('SetDown', 
4600
                   'void', 
4601
                   [param('uint32_t', 'interface')], 
4602
                   is_pure_virtual=True, is_virtual=True)
4603
    ## ipv4.h (module 'internet'): void ns3::Ipv4::SetForwarding(uint32_t interface, bool val) [member function]
4604
    cls.add_method('SetForwarding', 
4605
                   'void', 
4606
                   [param('uint32_t', 'interface'), param('bool', 'val')], 
4607
                   is_pure_virtual=True, is_virtual=True)
4608
    ## ipv4.h (module 'internet'): void ns3::Ipv4::SetMetric(uint32_t interface, uint16_t metric) [member function]
4609
    cls.add_method('SetMetric', 
4610
                   'void', 
4611
                   [param('uint32_t', 'interface'), param('uint16_t', 'metric')], 
4612
                   is_pure_virtual=True, is_virtual=True)
4613
    ## ipv4.h (module 'internet'): void ns3::Ipv4::SetRoutingProtocol(ns3::Ptr<ns3::Ipv4RoutingProtocol> routingProtocol) [member function]
4614
    cls.add_method('SetRoutingProtocol', 
4615
                   'void', 
4616
                   [param('ns3::Ptr< ns3::Ipv4RoutingProtocol >', 'routingProtocol')], 
4617
                   is_pure_virtual=True, is_virtual=True)
4618
    ## ipv4.h (module 'internet'): void ns3::Ipv4::SetUp(uint32_t interface) [member function]
4619
    cls.add_method('SetUp', 
4620
                   'void', 
4621
                   [param('uint32_t', 'interface')], 
4622
                   is_pure_virtual=True, is_virtual=True)
4623
    ## ipv4.h (module 'internet'): ns3::Ipv4::IF_ANY [variable]
4624
    cls.add_static_attribute('IF_ANY', 'uint32_t const', is_const=True)
4625
    ## ipv4.h (module 'internet'): bool ns3::Ipv4::GetIpForward() const [member function]
4626
    cls.add_method('GetIpForward', 
4627
                   'bool', 
4628
                   [], 
4629
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
4630
    ## ipv4.h (module 'internet'): bool ns3::Ipv4::GetWeakEsModel() const [member function]
4631
    cls.add_method('GetWeakEsModel', 
4632
                   'bool', 
4633
                   [], 
4634
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
4635
    ## ipv4.h (module 'internet'): void ns3::Ipv4::SetIpForward(bool forward) [member function]
4636
    cls.add_method('SetIpForward', 
4637
                   'void', 
4638
                   [param('bool', 'forward')], 
4639
                   is_pure_virtual=True, visibility='private', is_virtual=True)
4640
    ## ipv4.h (module 'internet'): void ns3::Ipv4::SetWeakEsModel(bool model) [member function]
4641
    cls.add_method('SetWeakEsModel', 
4642
                   'void', 
4643
                   [param('bool', 'model')], 
4644
                   is_pure_virtual=True, visibility='private', is_virtual=True)
4645
    return
4646
4647
def register_Ns3Ipv4AddressChecker_methods(root_module, cls):
4648
    ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker::Ipv4AddressChecker() [constructor]
4649
    cls.add_constructor([])
4650
    ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker::Ipv4AddressChecker(ns3::Ipv4AddressChecker const & arg0) [copy constructor]
4651
    cls.add_constructor([param('ns3::Ipv4AddressChecker const &', 'arg0')])
4652
    return
4653
4654
def register_Ns3Ipv4AddressValue_methods(root_module, cls):
4655
    ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue::Ipv4AddressValue() [constructor]
4656
    cls.add_constructor([])
4657
    ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue::Ipv4AddressValue(ns3::Ipv4AddressValue const & arg0) [copy constructor]
4658
    cls.add_constructor([param('ns3::Ipv4AddressValue const &', 'arg0')])
4659
    ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue::Ipv4AddressValue(ns3::Ipv4Address const & value) [constructor]
4660
    cls.add_constructor([param('ns3::Ipv4Address const &', 'value')])
4661
    ## ipv4-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv4AddressValue::Copy() const [member function]
4662
    cls.add_method('Copy', 
4663
                   'ns3::Ptr< ns3::AttributeValue >', 
4664
                   [], 
4665
                   is_const=True, is_virtual=True)
4666
    ## ipv4-address.h (module 'network'): bool ns3::Ipv4AddressValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4667
    cls.add_method('DeserializeFromString', 
4668
                   'bool', 
4669
                   [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
4670
                   is_virtual=True)
4671
    ## ipv4-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv4AddressValue::Get() const [member function]
4672
    cls.add_method('Get', 
4673
                   'ns3::Ipv4Address', 
4674
                   [], 
4675
                   is_const=True)
4676
    ## ipv4-address.h (module 'network'): std::string ns3::Ipv4AddressValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4677
    cls.add_method('SerializeToString', 
4678
                   'std::string', 
4679
                   [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
4680
                   is_const=True, is_virtual=True)
4681
    ## ipv4-address.h (module 'network'): void ns3::Ipv4AddressValue::Set(ns3::Ipv4Address const & value) [member function]
4682
    cls.add_method('Set', 
4683
                   'void', 
4684
                   [param('ns3::Ipv4Address const &', 'value')])
4685
    return
4686
4687
def register_Ns3Ipv4L3Protocol_methods(root_module, cls):
4688
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::PROT_NUMBER [variable]
4689
    cls.add_static_attribute('PROT_NUMBER', 'uint16_t const', is_const=True)
4690
    ## ipv4-l3-protocol.h (module 'internet'): static ns3::TypeId ns3::Ipv4L3Protocol::GetTypeId() [member function]
4691
    cls.add_method('GetTypeId', 
4692
                   'ns3::TypeId', 
4693
                   [], 
4694
                   is_static=True)
4695
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::Ipv4L3Protocol() [constructor]
4696
    cls.add_constructor([])
4697
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetNode(ns3::Ptr<ns3::Node> node) [member function]
4698
    cls.add_method('SetNode', 
4699
                   'void', 
4700
                   [param('ns3::Ptr< ns3::Node >', 'node')])
4701
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetRoutingProtocol(ns3::Ptr<ns3::Ipv4RoutingProtocol> routingProtocol) [member function]
4702
    cls.add_method('SetRoutingProtocol', 
4703
                   'void', 
4704
                   [param('ns3::Ptr< ns3::Ipv4RoutingProtocol >', 'routingProtocol')], 
4705
                   is_virtual=True)
4706
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::Ipv4RoutingProtocol> ns3::Ipv4L3Protocol::GetRoutingProtocol() const [member function]
4707
    cls.add_method('GetRoutingProtocol', 
4708
                   'ns3::Ptr< ns3::Ipv4RoutingProtocol >', 
4709
                   [], 
4710
                   is_const=True, is_virtual=True)
4711
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::Socket> ns3::Ipv4L3Protocol::CreateRawSocket() [member function]
4712
    cls.add_method('CreateRawSocket', 
4713
                   'ns3::Ptr< ns3::Socket >', 
4714
                   [])
4715
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::DeleteRawSocket(ns3::Ptr<ns3::Socket> socket) [member function]
4716
    cls.add_method('DeleteRawSocket', 
4717
                   'void', 
4718
                   [param('ns3::Ptr< ns3::Socket >', 'socket')])
4719
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Insert(ns3::Ptr<ns3::Ipv4L4Protocol> protocol) [member function]
4720
    cls.add_method('Insert', 
4721
                   'void', 
4722
                   [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')], 
4723
                   is_virtual=True)
4724
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::Ipv4L4Protocol> ns3::Ipv4L3Protocol::GetProtocol(int protocolNumber) const [member function]
4725
    cls.add_method('GetProtocol', 
4726
                   'ns3::Ptr< ns3::Ipv4L4Protocol >', 
4727
                   [param('int', 'protocolNumber')], 
4728
                   is_const=True)
4729
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Remove(ns3::Ptr<ns3::Ipv4L4Protocol> protocol) [member function]
4730
    cls.add_method('Remove', 
4731
                   'void', 
4732
                   [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')])
4733
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetDefaultTtl(uint8_t ttl) [member function]
4734
    cls.add_method('SetDefaultTtl', 
4735
                   'void', 
4736
                   [param('uint8_t', 'ttl')])
4737
    ## 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]
4738
    cls.add_method('Receive', 
4739
                   'void', 
4740
                   [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')])
4741
    ## 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]
4742
    cls.add_method('Send', 
4743
                   'void', 
4744
                   [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'destination'), param('uint8_t', 'protocol'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')], 
4745
                   is_virtual=True)
4746
    ## 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]
4747
    cls.add_method('SendWithHeader', 
4748
                   'void', 
4749
                   [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Header', 'ipHeader'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')])
4750
    ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::AddInterface(ns3::Ptr<ns3::NetDevice> device) [member function]
4751
    cls.add_method('AddInterface', 
4752
                   'uint32_t', 
4753
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')], 
4754
                   is_virtual=True)
4755
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::Ipv4Interface> ns3::Ipv4L3Protocol::GetInterface(uint32_t i) const [member function]
4756
    cls.add_method('GetInterface', 
4757
                   'ns3::Ptr< ns3::Ipv4Interface >', 
4758
                   [param('uint32_t', 'i')], 
4759
                   is_const=True)
4760
    ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::GetNInterfaces() const [member function]
4761
    cls.add_method('GetNInterfaces', 
4762
                   'uint32_t', 
4763
                   [], 
4764
                   is_const=True, is_virtual=True)
4765
    ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForAddress(ns3::Ipv4Address addr) const [member function]
4766
    cls.add_method('GetInterfaceForAddress', 
4767
                   'int32_t', 
4768
                   [param('ns3::Ipv4Address', 'addr')], 
4769
                   is_const=True, is_virtual=True)
4770
    ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForPrefix(ns3::Ipv4Address addr, ns3::Ipv4Mask mask) const [member function]
4771
    cls.add_method('GetInterfaceForPrefix', 
4772
                   'int32_t', 
4773
                   [param('ns3::Ipv4Address', 'addr'), param('ns3::Ipv4Mask', 'mask')], 
4774
                   is_const=True, is_virtual=True)
4775
    ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForDevice(ns3::Ptr<const ns3::NetDevice> device) const [member function]
4776
    cls.add_method('GetInterfaceForDevice', 
4777
                   'int32_t', 
4778
                   [param('ns3::Ptr< ns3::NetDevice const >', 'device')], 
4779
                   is_const=True, is_virtual=True)
4780
    ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsDestinationAddress(ns3::Ipv4Address address, uint32_t iif) const [member function]
4781
    cls.add_method('IsDestinationAddress', 
4782
                   'bool', 
4783
                   [param('ns3::Ipv4Address', 'address'), param('uint32_t', 'iif')], 
4784
                   is_const=True, is_virtual=True)
4785
    ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::AddAddress(uint32_t i, ns3::Ipv4InterfaceAddress address) [member function]
4786
    cls.add_method('AddAddress', 
4787
                   'bool', 
4788
                   [param('uint32_t', 'i'), param('ns3::Ipv4InterfaceAddress', 'address')], 
4789
                   is_virtual=True)
4790
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4InterfaceAddress ns3::Ipv4L3Protocol::GetAddress(uint32_t interfaceIndex, uint32_t addressIndex) const [member function]
4791
    cls.add_method('GetAddress', 
4792
                   'ns3::Ipv4InterfaceAddress', 
4793
                   [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], 
4794
                   is_const=True, is_virtual=True)
4795
    ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::GetNAddresses(uint32_t interface) const [member function]
4796
    cls.add_method('GetNAddresses', 
4797
                   'uint32_t', 
4798
                   [param('uint32_t', 'interface')], 
4799
                   is_const=True, is_virtual=True)
4800
    ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::RemoveAddress(uint32_t interfaceIndex, uint32_t addressIndex) [member function]
4801
    cls.add_method('RemoveAddress', 
4802
                   'bool', 
4803
                   [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], 
4804
                   is_virtual=True)
4805
    ## 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]
4806
    cls.add_method('SelectSourceAddress', 
4807
                   'ns3::Ipv4Address', 
4808
                   [param('ns3::Ptr< ns3::NetDevice const >', 'device'), param('ns3::Ipv4Address', 'dst'), param('ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e', 'scope')], 
4809
                   is_virtual=True)
4810
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetMetric(uint32_t i, uint16_t metric) [member function]
4811
    cls.add_method('SetMetric', 
4812
                   'void', 
4813
                   [param('uint32_t', 'i'), param('uint16_t', 'metric')], 
4814
                   is_virtual=True)
4815
    ## ipv4-l3-protocol.h (module 'internet'): uint16_t ns3::Ipv4L3Protocol::GetMetric(uint32_t i) const [member function]
4816
    cls.add_method('GetMetric', 
4817
                   'uint16_t', 
4818
                   [param('uint32_t', 'i')], 
4819
                   is_const=True, is_virtual=True)
4820
    ## ipv4-l3-protocol.h (module 'internet'): uint16_t ns3::Ipv4L3Protocol::GetMtu(uint32_t i) const [member function]
4821
    cls.add_method('GetMtu', 
4822
                   'uint16_t', 
4823
                   [param('uint32_t', 'i')], 
4824
                   is_const=True, is_virtual=True)
4825
    ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsUp(uint32_t i) const [member function]
4826
    cls.add_method('IsUp', 
4827
                   'bool', 
4828
                   [param('uint32_t', 'i')], 
4829
                   is_const=True, is_virtual=True)
4830
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetUp(uint32_t i) [member function]
4831
    cls.add_method('SetUp', 
4832
                   'void', 
4833
                   [param('uint32_t', 'i')], 
4834
                   is_virtual=True)
4835
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetDown(uint32_t i) [member function]
4836
    cls.add_method('SetDown', 
4837
                   'void', 
4838
                   [param('uint32_t', 'i')], 
4839
                   is_virtual=True)
4840
    ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsForwarding(uint32_t i) const [member function]
4841
    cls.add_method('IsForwarding', 
4842
                   'bool', 
4843
                   [param('uint32_t', 'i')], 
4844
                   is_const=True, is_virtual=True)
4845
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetForwarding(uint32_t i, bool val) [member function]
4846
    cls.add_method('SetForwarding', 
4847
                   'void', 
4848
                   [param('uint32_t', 'i'), param('bool', 'val')], 
4849
                   is_virtual=True)
4850
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::NetDevice> ns3::Ipv4L3Protocol::GetNetDevice(uint32_t i) [member function]
4851
    cls.add_method('GetNetDevice', 
4852
                   'ns3::Ptr< ns3::NetDevice >', 
4853
                   [param('uint32_t', 'i')], 
4854
                   is_virtual=True)
4855
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::DoDispose() [member function]
4856
    cls.add_method('DoDispose', 
4857
                   'void', 
4858
                   [], 
4859
                   visibility='protected', is_virtual=True)
4860
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::NotifyNewAggregate() [member function]
4861
    cls.add_method('NotifyNewAggregate', 
4862
                   'void', 
4863
                   [], 
4864
                   visibility='protected', is_virtual=True)
4865
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetIpForward(bool forward) [member function]
4866
    cls.add_method('SetIpForward', 
4867
                   'void', 
4868
                   [param('bool', 'forward')], 
4869
                   visibility='private', is_virtual=True)
4870
    ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::GetIpForward() const [member function]
4871
    cls.add_method('GetIpForward', 
4872
                   'bool', 
4873
                   [], 
4874
                   is_const=True, visibility='private', is_virtual=True)
4875
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetWeakEsModel(bool model) [member function]
4876
    cls.add_method('SetWeakEsModel', 
4877
                   'void', 
4878
                   [param('bool', 'model')], 
4879
                   visibility='private', is_virtual=True)
4880
    ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::GetWeakEsModel() const [member function]
4881
    cls.add_method('GetWeakEsModel', 
4882
                   'bool', 
4883
                   [], 
4884
                   is_const=True, visibility='private', is_virtual=True)
4885
    return
4886
4887
def register_Ns3Ipv4L4Protocol_methods(root_module, cls):
4888
    ## ipv4-l4-protocol.h (module 'internet'): ns3::Ipv4L4Protocol::Ipv4L4Protocol() [constructor]
4889
    cls.add_constructor([])
4890
    ## ipv4-l4-protocol.h (module 'internet'): ns3::Ipv4L4Protocol::Ipv4L4Protocol(ns3::Ipv4L4Protocol const & arg0) [copy constructor]
4891
    cls.add_constructor([param('ns3::Ipv4L4Protocol const &', 'arg0')])
4892
    ## 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]
4893
    cls.add_method('GetDownTarget', 
4894
                   '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 >', 
4895
                   [], 
4896
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4897
    ## ipv4-l4-protocol.h (module 'internet'): int ns3::Ipv4L4Protocol::GetProtocolNumber() const [member function]
4898
    cls.add_method('GetProtocolNumber', 
4899
                   'int', 
4900
                   [], 
4901
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4902
    ## ipv4-l4-protocol.h (module 'internet'): static ns3::TypeId ns3::Ipv4L4Protocol::GetTypeId() [member function]
4903
    cls.add_method('GetTypeId', 
4904
                   'ns3::TypeId', 
4905
                   [], 
4906
                   is_static=True)
4907
    ## 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]
4908
    cls.add_method('Receive', 
4909
                   'ns3::Ipv4L4Protocol::RxStatus', 
4910
                   [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('ns3::Ptr< ns3::Ipv4Interface >', 'incomingInterface')], 
4911
                   is_pure_virtual=True, is_virtual=True)
4912
    ## 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]
4913
    cls.add_method('ReceiveIcmp', 
4914
                   'void', 
4915
                   [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')], 
4916
                   is_virtual=True)
4917
    ## 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]
4918
    cls.add_method('SetDownTarget', 
4919
                   'void', 
4920
                   [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')], 
4921
                   is_pure_virtual=True, is_virtual=True)
4922
    return
4923
4924
def register_Ns3Ipv4MaskChecker_methods(root_module, cls):
4925
    ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker::Ipv4MaskChecker() [constructor]
4926
    cls.add_constructor([])
4927
    ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker::Ipv4MaskChecker(ns3::Ipv4MaskChecker const & arg0) [copy constructor]
4928
    cls.add_constructor([param('ns3::Ipv4MaskChecker const &', 'arg0')])
4929
    return
4930
4931
def register_Ns3Ipv4MaskValue_methods(root_module, cls):
4932
    ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue::Ipv4MaskValue() [constructor]
4933
    cls.add_constructor([])
4934
    ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue::Ipv4MaskValue(ns3::Ipv4MaskValue const & arg0) [copy constructor]
4935
    cls.add_constructor([param('ns3::Ipv4MaskValue const &', 'arg0')])
4936
    ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue::Ipv4MaskValue(ns3::Ipv4Mask const & value) [constructor]
4937
    cls.add_constructor([param('ns3::Ipv4Mask const &', 'value')])
4938
    ## ipv4-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv4MaskValue::Copy() const [member function]
4939
    cls.add_method('Copy', 
4940
                   'ns3::Ptr< ns3::AttributeValue >', 
4941
                   [], 
4942
                   is_const=True, is_virtual=True)
4943
    ## ipv4-address.h (module 'network'): bool ns3::Ipv4MaskValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4944
    cls.add_method('DeserializeFromString', 
4945
                   'bool', 
4946
                   [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
4947
                   is_virtual=True)
4948
    ## ipv4-address.h (module 'network'): ns3::Ipv4Mask ns3::Ipv4MaskValue::Get() const [member function]
4949
    cls.add_method('Get', 
4950
                   'ns3::Ipv4Mask', 
4951
                   [], 
4952
                   is_const=True)
4953
    ## ipv4-address.h (module 'network'): std::string ns3::Ipv4MaskValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4954
    cls.add_method('SerializeToString', 
4955
                   'std::string', 
4956
                   [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
4957
                   is_const=True, is_virtual=True)
4958
    ## ipv4-address.h (module 'network'): void ns3::Ipv4MaskValue::Set(ns3::Ipv4Mask const & value) [member function]
4959
    cls.add_method('Set', 
4960
                   'void', 
4961
                   [param('ns3::Ipv4Mask const &', 'value')])
4962
    return
4963
4964
def register_Ns3Ipv4MulticastRoute_methods(root_module, cls):
4965
    ## ipv4-route.h (module 'internet'): ns3::Ipv4MulticastRoute::Ipv4MulticastRoute(ns3::Ipv4MulticastRoute const & arg0) [copy constructor]
4966
    cls.add_constructor([param('ns3::Ipv4MulticastRoute const &', 'arg0')])
4967
    ## ipv4-route.h (module 'internet'): ns3::Ipv4MulticastRoute::Ipv4MulticastRoute() [constructor]
4968
    cls.add_constructor([])
4969
    ## ipv4-route.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4MulticastRoute::GetGroup() const [member function]
4970
    cls.add_method('GetGroup', 
4971
                   'ns3::Ipv4Address', 
4972
                   [], 
4973
                   is_const=True)
4974
    ## ipv4-route.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4MulticastRoute::GetOrigin() const [member function]
4975
    cls.add_method('GetOrigin', 
4976
                   'ns3::Ipv4Address', 
4977
                   [], 
4978
                   is_const=True)
4979
    ## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetOutputTtl(uint32_t oif) const [member function]
4980
    cls.add_method('GetOutputTtl', 
4981
                   'uint32_t', 
4982
                   [param('uint32_t', 'oif')], 
4983
                   is_const=True)
4984
    ## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetParent() const [member function]
4985
    cls.add_method('GetParent', 
4986
                   'uint32_t', 
4987
                   [], 
4988
                   is_const=True)
4989
    ## ipv4-route.h (module 'internet'): void ns3::Ipv4MulticastRoute::SetGroup(ns3::Ipv4Address const group) [member function]
4990
    cls.add_method('SetGroup', 
4991
                   'void', 
4992
                   [param('ns3::Ipv4Address const', 'group')])
4993
    ## ipv4-route.h (module 'internet'): void ns3::Ipv4MulticastRoute::SetOrigin(ns3::Ipv4Address const origin) [member function]
4994
    cls.add_method('SetOrigin', 
4995
                   'void', 
4996
                   [param('ns3::Ipv4Address const', 'origin')])
4997
    ## ipv4-route.h (module 'internet'): void ns3::Ipv4MulticastRoute::SetOutputTtl(uint32_t oif, uint32_t ttl) [member function]
4998
    cls.add_method('SetOutputTtl', 
4999
                   'void', 
5000
                   [param('uint32_t', 'oif'), param('uint32_t', 'ttl')])
5001
    ## ipv4-route.h (module 'internet'): void ns3::Ipv4MulticastRoute::SetParent(uint32_t iif) [member function]
5002
    cls.add_method('SetParent', 
5003
                   'void', 
5004
                   [param('uint32_t', 'iif')])
5005
    ## ipv4-route.h (module 'internet'): ns3::Ipv4MulticastRoute::MAX_INTERFACES [variable]
5006
    cls.add_static_attribute('MAX_INTERFACES', 'uint32_t const', is_const=True)
5007
    ## ipv4-route.h (module 'internet'): ns3::Ipv4MulticastRoute::MAX_TTL [variable]
5008
    cls.add_static_attribute('MAX_TTL', 'uint32_t const', is_const=True)
5009
    return
5010
5011
def register_Ns3Ipv4Route_methods(root_module, cls):
5012
    cls.add_output_stream_operator()
5013
    ## ipv4-route.h (module 'internet'): ns3::Ipv4Route::Ipv4Route(ns3::Ipv4Route const & arg0) [copy constructor]
5014
    cls.add_constructor([param('ns3::Ipv4Route const &', 'arg0')])
5015
    ## ipv4-route.h (module 'internet'): ns3::Ipv4Route::Ipv4Route() [constructor]
5016
    cls.add_constructor([])
5017
    ## ipv4-route.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4Route::GetDestination() const [member function]
5018
    cls.add_method('GetDestination', 
5019
                   'ns3::Ipv4Address', 
5020
                   [], 
5021
                   is_const=True)
5022
    ## ipv4-route.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4Route::GetGateway() const [member function]
5023
    cls.add_method('GetGateway', 
5024
                   'ns3::Ipv4Address', 
5025
                   [], 
5026
                   is_const=True)
5027
    ## ipv4-route.h (module 'internet'): ns3::Ptr<ns3::NetDevice> ns3::Ipv4Route::GetOutputDevice() const [member function]
5028
    cls.add_method('GetOutputDevice', 
5029
                   'ns3::Ptr< ns3::NetDevice >', 
5030
                   [], 
5031
                   is_const=True)
5032
    ## ipv4-route.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4Route::GetSource() const [member function]
5033
    cls.add_method('GetSource', 
5034
                   'ns3::Ipv4Address', 
5035
                   [], 
5036
                   is_const=True)
5037
    ## ipv4-route.h (module 'internet'): void ns3::Ipv4Route::SetDestination(ns3::Ipv4Address dest) [member function]
5038
    cls.add_method('SetDestination', 
5039
                   'void', 
5040
                   [param('ns3::Ipv4Address', 'dest')])
5041
    ## ipv4-route.h (module 'internet'): void ns3::Ipv4Route::SetGateway(ns3::Ipv4Address gw) [member function]
5042
    cls.add_method('SetGateway', 
5043
                   'void', 
5044
                   [param('ns3::Ipv4Address', 'gw')])
5045
    ## ipv4-route.h (module 'internet'): void ns3::Ipv4Route::SetOutputDevice(ns3::Ptr<ns3::NetDevice> outputDevice) [member function]
5046
    cls.add_method('SetOutputDevice', 
5047
                   'void', 
5048
                   [param('ns3::Ptr< ns3::NetDevice >', 'outputDevice')])
5049
    ## ipv4-route.h (module 'internet'): void ns3::Ipv4Route::SetSource(ns3::Ipv4Address src) [member function]
5050
    cls.add_method('SetSource', 
5051
                   'void', 
5052
                   [param('ns3::Ipv4Address', 'src')])
5053
    return
5054
5055
def register_Ns3Ipv4RoutingProtocol_methods(root_module, cls):
5056
    ## ipv4-routing-protocol.h (module 'internet'): ns3::Ipv4RoutingProtocol::Ipv4RoutingProtocol() [constructor]
5057
    cls.add_constructor([])
5058
    ## ipv4-routing-protocol.h (module 'internet'): ns3::Ipv4RoutingProtocol::Ipv4RoutingProtocol(ns3::Ipv4RoutingProtocol const & arg0) [copy constructor]
5059
    cls.add_constructor([param('ns3::Ipv4RoutingProtocol const &', 'arg0')])
5060
    ## ipv4-routing-protocol.h (module 'internet'): static ns3::TypeId ns3::Ipv4RoutingProtocol::GetTypeId() [member function]
5061
    cls.add_method('GetTypeId', 
5062
                   'ns3::TypeId', 
5063
                   [], 
5064
                   is_static=True)
5065
    ## ipv4-routing-protocol.h (module 'internet'): void ns3::Ipv4RoutingProtocol::NotifyAddAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function]
5066
    cls.add_method('NotifyAddAddress', 
5067
                   'void', 
5068
                   [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], 
5069
                   is_pure_virtual=True, is_virtual=True)
5070
    ## ipv4-routing-protocol.h (module 'internet'): void ns3::Ipv4RoutingProtocol::NotifyInterfaceDown(uint32_t interface) [member function]
5071
    cls.add_method('NotifyInterfaceDown', 
5072
                   'void', 
5073
                   [param('uint32_t', 'interface')], 
5074
                   is_pure_virtual=True, is_virtual=True)
5075
    ## ipv4-routing-protocol.h (module 'internet'): void ns3::Ipv4RoutingProtocol::NotifyInterfaceUp(uint32_t interface) [member function]
5076
    cls.add_method('NotifyInterfaceUp', 
5077
                   'void', 
5078
                   [param('uint32_t', 'interface')], 
5079
                   is_pure_virtual=True, is_virtual=True)
5080
    ## ipv4-routing-protocol.h (module 'internet'): void ns3::Ipv4RoutingProtocol::NotifyRemoveAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function]
5081
    cls.add_method('NotifyRemoveAddress', 
5082
                   'void', 
5083
                   [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], 
5084
                   is_pure_virtual=True, is_virtual=True)
5085
    ## ipv4-routing-protocol.h (module 'internet'): void ns3::Ipv4RoutingProtocol::PrintRoutingTable(ns3::Ptr<ns3::OutputStreamWrapper> stream) const [member function]
5086
    cls.add_method('PrintRoutingTable', 
5087
                   'void', 
5088
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')], 
5089
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5090
    ## 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]
5091
    cls.add_method('RouteInput', 
5092
                   'bool', 
5093
                   [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')], 
5094
                   is_pure_virtual=True, is_virtual=True)
5095
    ## 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]
5096
    cls.add_method('RouteOutput', 
5097
                   'ns3::Ptr< ns3::Ipv4Route >', 
5098
                   [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('ns3::Ptr< ns3::NetDevice >', 'oif'), param('ns3::Socket::SocketErrno &', 'sockerr')], 
5099
                   is_pure_virtual=True, is_virtual=True)
5100
    ## ipv4-routing-protocol.h (module 'internet'): void ns3::Ipv4RoutingProtocol::SetIpv4(ns3::Ptr<ns3::Ipv4> ipv4) [member function]
5101
    cls.add_method('SetIpv4', 
5102
                   'void', 
5103
                   [param('ns3::Ptr< ns3::Ipv4 >', 'ipv4')], 
5104
                   is_pure_virtual=True, is_virtual=True)
5105
    return
5106
5107
def register_Ns3Ipv6_methods(root_module, cls):
5108
    ## ipv6.h (module 'internet'): ns3::Ipv6::Ipv6(ns3::Ipv6 const & arg0) [copy constructor]
5109
    cls.add_constructor([param('ns3::Ipv6 const &', 'arg0')])
5110
    ## ipv6.h (module 'internet'): ns3::Ipv6::Ipv6() [constructor]
5111
    cls.add_constructor([])
5112
    ## ipv6.h (module 'internet'): bool ns3::Ipv6::AddAddress(uint32_t interface, ns3::Ipv6InterfaceAddress address) [member function]
5113
    cls.add_method('AddAddress', 
5114
                   'bool', 
5115
                   [param('uint32_t', 'interface'), param('ns3::Ipv6InterfaceAddress', 'address')], 
5116
                   is_pure_virtual=True, is_virtual=True)
5117
    ## ipv6.h (module 'internet'): uint32_t ns3::Ipv6::AddInterface(ns3::Ptr<ns3::NetDevice> device) [member function]
5118
    cls.add_method('AddInterface', 
5119
                   'uint32_t', 
5120
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')], 
5121
                   is_pure_virtual=True, is_virtual=True)
5122
    ## ipv6.h (module 'internet'): ns3::Ipv6InterfaceAddress ns3::Ipv6::GetAddress(uint32_t interface, uint32_t addressIndex) const [member function]
5123
    cls.add_method('GetAddress', 
5124
                   'ns3::Ipv6InterfaceAddress', 
5125
                   [param('uint32_t', 'interface'), param('uint32_t', 'addressIndex')], 
5126
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5127
    ## ipv6.h (module 'internet'): int32_t ns3::Ipv6::GetInterfaceForAddress(ns3::Ipv6Address address) const [member function]
5128
    cls.add_method('GetInterfaceForAddress', 
5129
                   'int32_t', 
5130
                   [param('ns3::Ipv6Address', 'address')], 
5131
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5132
    ## ipv6.h (module 'internet'): int32_t ns3::Ipv6::GetInterfaceForDevice(ns3::Ptr<const ns3::NetDevice> device) const [member function]
5133
    cls.add_method('GetInterfaceForDevice', 
5134
                   'int32_t', 
5135
                   [param('ns3::Ptr< ns3::NetDevice const >', 'device')], 
5136
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5137
    ## ipv6.h (module 'internet'): int32_t ns3::Ipv6::GetInterfaceForPrefix(ns3::Ipv6Address address, ns3::Ipv6Prefix mask) const [member function]
5138
    cls.add_method('GetInterfaceForPrefix', 
5139
                   'int32_t', 
5140
                   [param('ns3::Ipv6Address', 'address'), param('ns3::Ipv6Prefix', 'mask')], 
5141
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5142
    ## ipv6.h (module 'internet'): uint16_t ns3::Ipv6::GetMetric(uint32_t interface) const [member function]
5143
    cls.add_method('GetMetric', 
5144
                   'uint16_t', 
5145
                   [param('uint32_t', 'interface')], 
5146
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5147
    ## ipv6.h (module 'internet'): uint16_t ns3::Ipv6::GetMtu(uint32_t interface) const [member function]
5148
    cls.add_method('GetMtu', 
5149
                   'uint16_t', 
5150
                   [param('uint32_t', 'interface')], 
5151
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5152
    ## ipv6.h (module 'internet'): uint32_t ns3::Ipv6::GetNAddresses(uint32_t interface) const [member function]
5153
    cls.add_method('GetNAddresses', 
5154
                   'uint32_t', 
5155
                   [param('uint32_t', 'interface')], 
5156
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5157
    ## ipv6.h (module 'internet'): uint32_t ns3::Ipv6::GetNInterfaces() const [member function]
5158
    cls.add_method('GetNInterfaces', 
5159
                   'uint32_t', 
5160
                   [], 
5161
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5162
    ## ipv6.h (module 'internet'): ns3::Ptr<ns3::NetDevice> ns3::Ipv6::GetNetDevice(uint32_t interface) [member function]
5163
    cls.add_method('GetNetDevice', 
5164
                   'ns3::Ptr< ns3::NetDevice >', 
5165
                   [param('uint32_t', 'interface')], 
5166
                   is_pure_virtual=True, is_virtual=True)
5167
    ## ipv6.h (module 'internet'): ns3::Ptr<ns3::Ipv6RoutingProtocol> ns3::Ipv6::GetRoutingProtocol() const [member function]
5168
    cls.add_method('GetRoutingProtocol', 
5169
                   'ns3::Ptr< ns3::Ipv6RoutingProtocol >', 
5170
                   [], 
5171
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5172
    ## ipv6.h (module 'internet'): static ns3::TypeId ns3::Ipv6::GetTypeId() [member function]
5173
    cls.add_method('GetTypeId', 
5174
                   'ns3::TypeId', 
5175
                   [], 
5176
                   is_static=True)
5177
    ## ipv6.h (module 'internet'): bool ns3::Ipv6::IsForwarding(uint32_t interface) const [member function]
5178
    cls.add_method('IsForwarding', 
5179
                   'bool', 
5180
                   [param('uint32_t', 'interface')], 
5181
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5182
    ## ipv6.h (module 'internet'): bool ns3::Ipv6::IsUp(uint32_t interface) const [member function]
5183
    cls.add_method('IsUp', 
5184
                   'bool', 
5185
                   [param('uint32_t', 'interface')], 
5186
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5187
    ## ipv6.h (module 'internet'): void ns3::Ipv6::RegisterExtensions() [member function]
5188
    cls.add_method('RegisterExtensions', 
5189
                   'void', 
5190
                   [], 
5191
                   is_pure_virtual=True, is_virtual=True)
5192
    ## ipv6.h (module 'internet'): void ns3::Ipv6::RegisterOptions() [member function]
5193
    cls.add_method('RegisterOptions', 
5194
                   'void', 
5195
                   [], 
5196
                   is_pure_virtual=True, is_virtual=True)
5197
    ## ipv6.h (module 'internet'): bool ns3::Ipv6::RemoveAddress(uint32_t interface, uint32_t addressIndex) [member function]
5198
    cls.add_method('RemoveAddress', 
5199
                   'bool', 
5200
                   [param('uint32_t', 'interface'), param('uint32_t', 'addressIndex')], 
5201
                   is_pure_virtual=True, is_virtual=True)
5202
    ## ipv6.h (module 'internet'): void ns3::Ipv6::SetDown(uint32_t interface) [member function]
5203
    cls.add_method('SetDown', 
5204
                   'void', 
5205
                   [param('uint32_t', 'interface')], 
5206
                   is_pure_virtual=True, is_virtual=True)
5207
    ## ipv6.h (module 'internet'): void ns3::Ipv6::SetForwarding(uint32_t interface, bool val) [member function]
5208
    cls.add_method('SetForwarding', 
5209
                   'void', 
5210
                   [param('uint32_t', 'interface'), param('bool', 'val')], 
5211
                   is_pure_virtual=True, is_virtual=True)
5212
    ## ipv6.h (module 'internet'): void ns3::Ipv6::SetMetric(uint32_t interface, uint16_t metric) [member function]
5213
    cls.add_method('SetMetric', 
5214
                   'void', 
5215
                   [param('uint32_t', 'interface'), param('uint16_t', 'metric')], 
5216
                   is_pure_virtual=True, is_virtual=True)
5217
    ## ipv6.h (module 'internet'): void ns3::Ipv6::SetRoutingProtocol(ns3::Ptr<ns3::Ipv6RoutingProtocol> routingProtocol) [member function]
5218
    cls.add_method('SetRoutingProtocol', 
5219
                   'void', 
5220
                   [param('ns3::Ptr< ns3::Ipv6RoutingProtocol >', 'routingProtocol')], 
5221
                   is_pure_virtual=True, is_virtual=True)
5222
    ## ipv6.h (module 'internet'): void ns3::Ipv6::SetUp(uint32_t interface) [member function]
5223
    cls.add_method('SetUp', 
5224
                   'void', 
5225
                   [param('uint32_t', 'interface')], 
5226
                   is_pure_virtual=True, is_virtual=True)
5227
    ## ipv6.h (module 'internet'): ns3::Ipv6::IF_ANY [variable]
5228
    cls.add_static_attribute('IF_ANY', 'uint32_t const', is_const=True)
5229
    ## ipv6.h (module 'internet'): bool ns3::Ipv6::GetIpForward() const [member function]
5230
    cls.add_method('GetIpForward', 
5231
                   'bool', 
5232
                   [], 
5233
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
5234
    ## ipv6.h (module 'internet'): void ns3::Ipv6::SetIpForward(bool forward) [member function]
5235
    cls.add_method('SetIpForward', 
5236
                   'void', 
5237
                   [param('bool', 'forward')], 
5238
                   is_pure_virtual=True, visibility='private', is_virtual=True)
5239
    return
5240
5241
def register_Ns3Ipv6AddressChecker_methods(root_module, cls):
5242
    ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker::Ipv6AddressChecker() [constructor]
5243
    cls.add_constructor([])
5244
    ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker::Ipv6AddressChecker(ns3::Ipv6AddressChecker const & arg0) [copy constructor]
5245
    cls.add_constructor([param('ns3::Ipv6AddressChecker const &', 'arg0')])
5246
    return
5247
5248
def register_Ns3Ipv6AddressValue_methods(root_module, cls):
5249
    ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue::Ipv6AddressValue() [constructor]
5250
    cls.add_constructor([])
5251
    ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue::Ipv6AddressValue(ns3::Ipv6AddressValue const & arg0) [copy constructor]
5252
    cls.add_constructor([param('ns3::Ipv6AddressValue const &', 'arg0')])
5253
    ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue::Ipv6AddressValue(ns3::Ipv6Address const & value) [constructor]
5254
    cls.add_constructor([param('ns3::Ipv6Address const &', 'value')])
5255
    ## ipv6-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv6AddressValue::Copy() const [member function]
5256
    cls.add_method('Copy', 
5257
                   'ns3::Ptr< ns3::AttributeValue >', 
5258
                   [], 
5259
                   is_const=True, is_virtual=True)
5260
    ## ipv6-address.h (module 'network'): bool ns3::Ipv6AddressValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
5261
    cls.add_method('DeserializeFromString', 
5262
                   'bool', 
5263
                   [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
5264
                   is_virtual=True)
5265
    ## ipv6-address.h (module 'network'): ns3::Ipv6Address ns3::Ipv6AddressValue::Get() const [member function]
5266
    cls.add_method('Get', 
5267
                   'ns3::Ipv6Address', 
5268
                   [], 
5269
                   is_const=True)
5270
    ## ipv6-address.h (module 'network'): std::string ns3::Ipv6AddressValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
5271
    cls.add_method('SerializeToString', 
5272
                   'std::string', 
5273
                   [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
5274
                   is_const=True, is_virtual=True)
5275
    ## ipv6-address.h (module 'network'): void ns3::Ipv6AddressValue::Set(ns3::Ipv6Address const & value) [member function]
5276
    cls.add_method('Set', 
5277
                   'void', 
5278
                   [param('ns3::Ipv6Address const &', 'value')])
5279
    return
5280
5281
def register_Ns3Ipv6L3Protocol_methods(root_module, cls):
5282
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ipv6L3Protocol::PROT_NUMBER [variable]
5283
    cls.add_static_attribute('PROT_NUMBER', 'uint16_t const', is_const=True)
5284
    ## ipv6-l3-protocol.h (module 'internet'): static ns3::TypeId ns3::Ipv6L3Protocol::GetTypeId() [member function]
5285
    cls.add_method('GetTypeId', 
5286
                   'ns3::TypeId', 
5287
                   [], 
5288
                   is_static=True)
5289
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ipv6L3Protocol::Ipv6L3Protocol() [constructor]
5290
    cls.add_constructor([])
5291
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::SetNode(ns3::Ptr<ns3::Node> node) [member function]
5292
    cls.add_method('SetNode', 
5293
                   'void', 
5294
                   [param('ns3::Ptr< ns3::Node >', 'node')])
5295
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::Insert(ns3::Ptr<ns3::Ipv6L4Protocol> protocol) [member function]
5296
    cls.add_method('Insert', 
5297
                   'void', 
5298
                   [param('ns3::Ptr< ns3::Ipv6L4Protocol >', 'protocol')])
5299
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::Remove(ns3::Ptr<ns3::Ipv6L4Protocol> protocol) [member function]
5300
    cls.add_method('Remove', 
5301
                   'void', 
5302
                   [param('ns3::Ptr< ns3::Ipv6L4Protocol >', 'protocol')])
5303
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::Ipv6L4Protocol> ns3::Ipv6L3Protocol::GetProtocol(int protocolNumber) const [member function]
5304
    cls.add_method('GetProtocol', 
5305
                   'ns3::Ptr< ns3::Ipv6L4Protocol >', 
5306
                   [param('int', 'protocolNumber')], 
5307
                   is_const=True)
5308
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::Socket> ns3::Ipv6L3Protocol::CreateRawSocket() [member function]
5309
    cls.add_method('CreateRawSocket', 
5310
                   'ns3::Ptr< ns3::Socket >', 
5311
                   [])
5312
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::DeleteRawSocket(ns3::Ptr<ns3::Socket> socket) [member function]
5313
    cls.add_method('DeleteRawSocket', 
5314
                   'void', 
5315
                   [param('ns3::Ptr< ns3::Socket >', 'socket')])
5316
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::SetDefaultTtl(uint8_t ttl) [member function]
5317
    cls.add_method('SetDefaultTtl', 
5318
                   'void', 
5319
                   [param('uint8_t', 'ttl')])
5320
    ## 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]
5321
    cls.add_method('Receive', 
5322
                   'void', 
5323
                   [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')])
5324
    ## 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]
5325
    cls.add_method('Send', 
5326
                   'void', 
5327
                   [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv6Address', 'source'), param('ns3::Ipv6Address', 'destination'), param('uint8_t', 'protocol'), param('ns3::Ptr< ns3::Ipv6Route >', 'route')])
5328
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::SetRoutingProtocol(ns3::Ptr<ns3::Ipv6RoutingProtocol> routingProtocol) [member function]
5329
    cls.add_method('SetRoutingProtocol', 
5330
                   'void', 
5331
                   [param('ns3::Ptr< ns3::Ipv6RoutingProtocol >', 'routingProtocol')], 
5332
                   is_virtual=True)
5333
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::Ipv6RoutingProtocol> ns3::Ipv6L3Protocol::GetRoutingProtocol() const [member function]
5334
    cls.add_method('GetRoutingProtocol', 
5335
                   'ns3::Ptr< ns3::Ipv6RoutingProtocol >', 
5336
                   [], 
5337
                   is_const=True, is_virtual=True)
5338
    ## ipv6-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv6L3Protocol::AddInterface(ns3::Ptr<ns3::NetDevice> device) [member function]
5339
    cls.add_method('AddInterface', 
5340
                   'uint32_t', 
5341
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')], 
5342
                   is_virtual=True)
5343
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::Ipv6Interface> ns3::Ipv6L3Protocol::GetInterface(uint32_t i) const [member function]
5344
    cls.add_method('GetInterface', 
5345
                   'ns3::Ptr< ns3::Ipv6Interface >', 
5346
                   [param('uint32_t', 'i')], 
5347
                   is_const=True)
5348
    ## ipv6-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv6L3Protocol::GetNInterfaces() const [member function]
5349
    cls.add_method('GetNInterfaces', 
5350
                   'uint32_t', 
5351
                   [], 
5352
                   is_const=True, is_virtual=True)
5353
    ## ipv6-l3-protocol.h (module 'internet'): int32_t ns3::Ipv6L3Protocol::GetInterfaceForAddress(ns3::Ipv6Address addr) const [member function]
5354
    cls.add_method('GetInterfaceForAddress', 
5355
                   'int32_t', 
5356
                   [param('ns3::Ipv6Address', 'addr')], 
5357
                   is_const=True, is_virtual=True)
5358
    ## ipv6-l3-protocol.h (module 'internet'): int32_t ns3::Ipv6L3Protocol::GetInterfaceForPrefix(ns3::Ipv6Address addr, ns3::Ipv6Prefix mask) const [member function]
5359
    cls.add_method('GetInterfaceForPrefix', 
5360
                   'int32_t', 
5361
                   [param('ns3::Ipv6Address', 'addr'), param('ns3::Ipv6Prefix', 'mask')], 
5362
                   is_const=True, is_virtual=True)
5363
    ## ipv6-l3-protocol.h (module 'internet'): int32_t ns3::Ipv6L3Protocol::GetInterfaceForDevice(ns3::Ptr<const ns3::NetDevice> device) const [member function]
5364
    cls.add_method('GetInterfaceForDevice', 
5365
                   'int32_t', 
5366
                   [param('ns3::Ptr< ns3::NetDevice const >', 'device')], 
5367
                   is_const=True, is_virtual=True)
5368
    ## ipv6-l3-protocol.h (module 'internet'): bool ns3::Ipv6L3Protocol::AddAddress(uint32_t i, ns3::Ipv6InterfaceAddress address) [member function]
5369
    cls.add_method('AddAddress', 
5370
                   'bool', 
5371
                   [param('uint32_t', 'i'), param('ns3::Ipv6InterfaceAddress', 'address')], 
5372
                   is_virtual=True)
5373
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ipv6InterfaceAddress ns3::Ipv6L3Protocol::GetAddress(uint32_t interfaceIndex, uint32_t addressIndex) const [member function]
5374
    cls.add_method('GetAddress', 
5375
                   'ns3::Ipv6InterfaceAddress', 
5376
                   [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], 
5377
                   is_const=True, is_virtual=True)
5378
    ## ipv6-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv6L3Protocol::GetNAddresses(uint32_t interface) const [member function]
5379
    cls.add_method('GetNAddresses', 
5380
                   'uint32_t', 
5381
                   [param('uint32_t', 'interface')], 
5382
                   is_const=True, is_virtual=True)
5383
    ## ipv6-l3-protocol.h (module 'internet'): bool ns3::Ipv6L3Protocol::RemoveAddress(uint32_t interfaceIndex, uint32_t addressIndex) [member function]
5384
    cls.add_method('RemoveAddress', 
5385
                   'bool', 
5386
                   [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], 
5387
                   is_virtual=True)
5388
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::SetMetric(uint32_t i, uint16_t metric) [member function]
5389
    cls.add_method('SetMetric', 
5390
                   'void', 
5391
                   [param('uint32_t', 'i'), param('uint16_t', 'metric')], 
5392
                   is_virtual=True)
5393
    ## ipv6-l3-protocol.h (module 'internet'): uint16_t ns3::Ipv6L3Protocol::GetMetric(uint32_t i) const [member function]
5394
    cls.add_method('GetMetric', 
5395
                   'uint16_t', 
5396
                   [param('uint32_t', 'i')], 
5397
                   is_const=True, is_virtual=True)
5398
    ## ipv6-l3-protocol.h (module 'internet'): uint16_t ns3::Ipv6L3Protocol::GetMtu(uint32_t i) const [member function]
5399
    cls.add_method('GetMtu', 
5400
                   'uint16_t', 
5401
                   [param('uint32_t', 'i')], 
5402
                   is_const=True, is_virtual=True)
5403
    ## ipv6-l3-protocol.h (module 'internet'): bool ns3::Ipv6L3Protocol::IsUp(uint32_t i) const [member function]
5404
    cls.add_method('IsUp', 
5405
                   'bool', 
5406
                   [param('uint32_t', 'i')], 
5407
                   is_const=True, is_virtual=True)
5408
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::SetUp(uint32_t i) [member function]
5409
    cls.add_method('SetUp', 
5410
                   'void', 
5411
                   [param('uint32_t', 'i')], 
5412
                   is_virtual=True)
5413
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::SetDown(uint32_t i) [member function]
5414
    cls.add_method('SetDown', 
5415
                   'void', 
5416
                   [param('uint32_t', 'i')], 
5417
                   is_virtual=True)
5418
    ## ipv6-l3-protocol.h (module 'internet'): bool ns3::Ipv6L3Protocol::IsForwarding(uint32_t i) const [member function]
5419
    cls.add_method('IsForwarding', 
5420
                   'bool', 
5421
                   [param('uint32_t', 'i')], 
5422
                   is_const=True, is_virtual=True)
5423
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::SetForwarding(uint32_t i, bool val) [member function]
5424
    cls.add_method('SetForwarding', 
5425
                   'void', 
5426
                   [param('uint32_t', 'i'), param('bool', 'val')], 
5427
                   is_virtual=True)
5428
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::NetDevice> ns3::Ipv6L3Protocol::GetNetDevice(uint32_t i) [member function]
5429
    cls.add_method('GetNetDevice', 
5430
                   'ns3::Ptr< ns3::NetDevice >', 
5431
                   [param('uint32_t', 'i')], 
5432
                   is_virtual=True)
5433
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::Icmpv6L4Protocol> ns3::Ipv6L3Protocol::GetIcmpv6() const [member function]
5434
    cls.add_method('GetIcmpv6', 
5435
                   'ns3::Ptr< ns3::Icmpv6L4Protocol >', 
5436
                   [], 
5437
                   is_const=True)
5438
    ## 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]
5439
    cls.add_method('AddAutoconfiguredAddress', 
5440
                   'void', 
5441
                   [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( )')])
5442
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::RemoveAutoconfiguredAddress(uint32_t interface, ns3::Ipv6Address network, ns3::Ipv6Prefix mask, ns3::Ipv6Address defaultRouter) [member function]
5443
    cls.add_method('RemoveAutoconfiguredAddress', 
5444
                   'void', 
5445
                   [param('uint32_t', 'interface'), param('ns3::Ipv6Address', 'network'), param('ns3::Ipv6Prefix', 'mask'), param('ns3::Ipv6Address', 'defaultRouter')])
5446
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::RegisterExtensions() [member function]
5447
    cls.add_method('RegisterExtensions', 
5448
                   'void', 
5449
                   [], 
5450
                   is_virtual=True)
5451
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::RegisterOptions() [member function]
5452
    cls.add_method('RegisterOptions', 
5453
                   'void', 
5454
                   [], 
5455
                   is_virtual=True)
5456
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::DoDispose() [member function]
5457
    cls.add_method('DoDispose', 
5458
                   'void', 
5459
                   [], 
5460
                   visibility='protected', is_virtual=True)
5461
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::NotifyNewAggregate() [member function]
5462
    cls.add_method('NotifyNewAggregate', 
5463
                   'void', 
5464
                   [], 
5465
                   visibility='protected', is_virtual=True)
5466
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::SetIpForward(bool forward) [member function]
5467
    cls.add_method('SetIpForward', 
5468
                   'void', 
5469
                   [param('bool', 'forward')], 
5470
                   visibility='private', is_virtual=True)
5471
    ## ipv6-l3-protocol.h (module 'internet'): bool ns3::Ipv6L3Protocol::GetIpForward() const [member function]
5472
    cls.add_method('GetIpForward', 
5473
                   'bool', 
5474
                   [], 
5475
                   is_const=True, visibility='private', is_virtual=True)
5476
    return
5477
5478
def register_Ns3Ipv6PrefixChecker_methods(root_module, cls):
5479
    ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker::Ipv6PrefixChecker() [constructor]
5480
    cls.add_constructor([])
5481
    ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker::Ipv6PrefixChecker(ns3::Ipv6PrefixChecker const & arg0) [copy constructor]
5482
    cls.add_constructor([param('ns3::Ipv6PrefixChecker const &', 'arg0')])
5483
    return
5484
5485
def register_Ns3Ipv6PrefixValue_methods(root_module, cls):
5486
    ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue::Ipv6PrefixValue() [constructor]
5487
    cls.add_constructor([])
5488
    ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue::Ipv6PrefixValue(ns3::Ipv6PrefixValue const & arg0) [copy constructor]
5489
    cls.add_constructor([param('ns3::Ipv6PrefixValue const &', 'arg0')])
5490
    ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue::Ipv6PrefixValue(ns3::Ipv6Prefix const & value) [constructor]
5491
    cls.add_constructor([param('ns3::Ipv6Prefix const &', 'value')])
5492
    ## ipv6-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv6PrefixValue::Copy() const [member function]
5493
    cls.add_method('Copy', 
5494
                   'ns3::Ptr< ns3::AttributeValue >', 
5495
                   [], 
5496
                   is_const=True, is_virtual=True)
5497
    ## ipv6-address.h (module 'network'): bool ns3::Ipv6PrefixValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
5498
    cls.add_method('DeserializeFromString', 
5499
                   'bool', 
5500
                   [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
5501
                   is_virtual=True)
5502
    ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix ns3::Ipv6PrefixValue::Get() const [member function]
5503
    cls.add_method('Get', 
5504
                   'ns3::Ipv6Prefix', 
5505
                   [], 
5506
                   is_const=True)
5507
    ## ipv6-address.h (module 'network'): std::string ns3::Ipv6PrefixValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
5508
    cls.add_method('SerializeToString', 
5509
                   'std::string', 
5510
                   [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
5511
                   is_const=True, is_virtual=True)
5512
    ## ipv6-address.h (module 'network'): void ns3::Ipv6PrefixValue::Set(ns3::Ipv6Prefix const & value) [member function]
5513
    cls.add_method('Set', 
5514
                   'void', 
5515
                   [param('ns3::Ipv6Prefix const &', 'value')])
5516
    return
5517
5518
def register_Ns3NetDevice_methods(root_module, cls):
5519
    ## net-device.h (module 'network'): ns3::NetDevice::NetDevice() [constructor]
5520
    cls.add_constructor([])
5521
    ## net-device.h (module 'network'): ns3::NetDevice::NetDevice(ns3::NetDevice const & arg0) [copy constructor]
5522
    cls.add_constructor([param('ns3::NetDevice const &', 'arg0')])
5523
    ## net-device.h (module 'network'): void ns3::NetDevice::AddLinkChangeCallback(ns3::Callback<void,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> callback) [member function]
5524
    cls.add_method('AddLinkChangeCallback', 
5525
                   'void', 
5526
                   [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')], 
5527
                   is_pure_virtual=True, is_virtual=True)
5528
    ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetAddress() const [member function]
5529
    cls.add_method('GetAddress', 
5530
                   'ns3::Address', 
5531
                   [], 
5532
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5533
    ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetBroadcast() const [member function]
5534
    cls.add_method('GetBroadcast', 
5535
                   'ns3::Address', 
5536
                   [], 
5537
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5538
    ## net-device.h (module 'network'): ns3::Ptr<ns3::Channel> ns3::NetDevice::GetChannel() const [member function]
5539
    cls.add_method('GetChannel', 
5540
                   'ns3::Ptr< ns3::Channel >', 
5541
                   [], 
5542
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5543
    ## net-device.h (module 'network'): uint32_t ns3::NetDevice::GetIfIndex() const [member function]
5544
    cls.add_method('GetIfIndex', 
5545
                   'uint32_t', 
5546
                   [], 
5547
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5548
    ## net-device.h (module 'network'): uint16_t ns3::NetDevice::GetMtu() const [member function]
5549
    cls.add_method('GetMtu', 
5550
                   'uint16_t', 
5551
                   [], 
5552
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5553
    ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetMulticast(ns3::Ipv4Address multicastGroup) const [member function]
5554
    cls.add_method('GetMulticast', 
5555
                   'ns3::Address', 
5556
                   [param('ns3::Ipv4Address', 'multicastGroup')], 
5557
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5558
    ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetMulticast(ns3::Ipv6Address addr) const [member function]
5559
    cls.add_method('GetMulticast', 
5560
                   'ns3::Address', 
5561
                   [param('ns3::Ipv6Address', 'addr')], 
5562
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5563
    ## net-device.h (module 'network'): ns3::Ptr<ns3::Node> ns3::NetDevice::GetNode() const [member function]
5564
    cls.add_method('GetNode', 
5565
                   'ns3::Ptr< ns3::Node >', 
5566
                   [], 
5567
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5568
    ## net-device.h (module 'network'): static ns3::TypeId ns3::NetDevice::GetTypeId() [member function]
5569
    cls.add_method('GetTypeId', 
5570
                   'ns3::TypeId', 
5571
                   [], 
5572
                   is_static=True)
5573
    ## net-device.h (module 'network'): bool ns3::NetDevice::IsBridge() const [member function]
5574
    cls.add_method('IsBridge', 
5575
                   'bool', 
5576
                   [], 
5577
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5578
    ## net-device.h (module 'network'): bool ns3::NetDevice::IsBroadcast() const [member function]
5579
    cls.add_method('IsBroadcast', 
5580
                   'bool', 
5581
                   [], 
5582
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5583
    ## net-device.h (module 'network'): bool ns3::NetDevice::IsLinkUp() const [member function]
5584
    cls.add_method('IsLinkUp', 
5585
                   'bool', 
5586
                   [], 
5587
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5588
    ## net-device.h (module 'network'): bool ns3::NetDevice::IsMulticast() const [member function]
5589
    cls.add_method('IsMulticast', 
5590
                   'bool', 
5591
                   [], 
5592
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5593
    ## net-device.h (module 'network'): bool ns3::NetDevice::IsPointToPoint() const [member function]
5594
    cls.add_method('IsPointToPoint', 
5595
                   'bool', 
5596
                   [], 
5597
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5598
    ## net-device.h (module 'network'): bool ns3::NetDevice::NeedsArp() const [member function]
5599
    cls.add_method('NeedsArp', 
5600
                   'bool', 
5601
                   [], 
5602
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5603
    ## net-device.h (module 'network'): bool ns3::NetDevice::Send(ns3::Ptr<ns3::Packet> packet, ns3::Address const & dest, uint16_t protocolNumber) [member function]
5604
    cls.add_method('Send', 
5605
                   'bool', 
5606
                   [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], 
5607
                   is_pure_virtual=True, is_virtual=True)
5608
    ## net-device.h (module 'network'): bool ns3::NetDevice::SendFrom(ns3::Ptr<ns3::Packet> packet, ns3::Address const & source, ns3::Address const & dest, uint16_t protocolNumber) [member function]
5609
    cls.add_method('SendFrom', 
5610
                   'bool', 
5611
                   [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'source'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], 
5612
                   is_pure_virtual=True, is_virtual=True)
5613
    ## net-device.h (module 'network'): void ns3::NetDevice::SetAddress(ns3::Address address) [member function]
5614
    cls.add_method('SetAddress', 
5615
                   'void', 
5616
                   [param('ns3::Address', 'address')], 
5617
                   is_pure_virtual=True, is_virtual=True)
5618
    ## net-device.h (module 'network'): void ns3::NetDevice::SetIfIndex(uint32_t const index) [member function]
5619
    cls.add_method('SetIfIndex', 
5620
                   'void', 
5621
                   [param('uint32_t const', 'index')], 
5622
                   is_pure_virtual=True, is_virtual=True)
5623
    ## net-device.h (module 'network'): bool ns3::NetDevice::SetMtu(uint16_t const mtu) [member function]
5624
    cls.add_method('SetMtu', 
5625
                   'bool', 
5626
                   [param('uint16_t const', 'mtu')], 
5627
                   is_pure_virtual=True, is_virtual=True)
5628
    ## net-device.h (module 'network'): void ns3::NetDevice::SetNode(ns3::Ptr<ns3::Node> node) [member function]
5629
    cls.add_method('SetNode', 
5630
                   'void', 
5631
                   [param('ns3::Ptr< ns3::Node >', 'node')], 
5632
                   is_pure_virtual=True, is_virtual=True)
5633
    ## net-device.h (module 'network'): void ns3::NetDevice::SetPromiscReceiveCallback(ns3::Callback<bool,ns3::Ptr<ns3::NetDevice>,ns3::Ptr<const ns3::Packet>,short unsigned int,const ns3::Address&,const ns3::Address&,ns3::NetDevice::PacketType,ns3::empty,ns3::empty,ns3::empty> cb) [member function]
5634
    cls.add_method('SetPromiscReceiveCallback', 
5635
                   'void', 
5636
                   [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, short unsigned int, ns3::Address const &, ns3::Address const &, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty >', 'cb')], 
5637
                   is_pure_virtual=True, is_virtual=True)
5638
    ## net-device.h (module 'network'): void ns3::NetDevice::SetReceiveCallback(ns3::Callback<bool,ns3::Ptr<ns3::NetDevice>,ns3::Ptr<const ns3::Packet>,short unsigned int,const ns3::Address&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> cb) [member function]
5639
    cls.add_method('SetReceiveCallback', 
5640
                   'void', 
5641
                   [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, short unsigned int, ns3::Address const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], 
5642
                   is_pure_virtual=True, is_virtual=True)
5643
    ## net-device.h (module 'network'): bool ns3::NetDevice::SupportsSendFrom() const [member function]
5644
    cls.add_method('SupportsSendFrom', 
5645
                   'bool', 
5646
                   [], 
5647
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5648
    return
5649
5650
def register_Ns3NixVector_methods(root_module, cls):
5651
    cls.add_output_stream_operator()
5652
    ## nix-vector.h (module 'network'): ns3::NixVector::NixVector() [constructor]
5653
    cls.add_constructor([])
5654
    ## nix-vector.h (module 'network'): ns3::NixVector::NixVector(ns3::NixVector const & o) [copy constructor]
5655
    cls.add_constructor([param('ns3::NixVector const &', 'o')])
5656
    ## nix-vector.h (module 'network'): void ns3::NixVector::AddNeighborIndex(uint32_t newBits, uint32_t numberOfBits) [member function]
5657
    cls.add_method('AddNeighborIndex', 
5658
                   'void', 
5659
                   [param('uint32_t', 'newBits'), param('uint32_t', 'numberOfBits')])
5660
    ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::BitCount(uint32_t numberOfNeighbors) const [member function]
5661
    cls.add_method('BitCount', 
5662
                   'uint32_t', 
5663
                   [param('uint32_t', 'numberOfNeighbors')], 
5664
                   is_const=True)
5665
    ## nix-vector.h (module 'network'): ns3::Ptr<ns3::NixVector> ns3::NixVector::Copy() const [member function]
5666
    cls.add_method('Copy', 
5667
                   'ns3::Ptr< ns3::NixVector >', 
5668
                   [], 
5669
                   is_const=True)
5670
    ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::Deserialize(uint32_t const * buffer, uint32_t size) [member function]
5671
    cls.add_method('Deserialize', 
5672
                   'uint32_t', 
5673
                   [param('uint32_t const *', 'buffer'), param('uint32_t', 'size')])
5674
    ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::ExtractNeighborIndex(uint32_t numberOfBits) [member function]
5675
    cls.add_method('ExtractNeighborIndex', 
5676
                   'uint32_t', 
5677
                   [param('uint32_t', 'numberOfBits')])
5678
    ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::GetRemainingBits() [member function]
5679
    cls.add_method('GetRemainingBits', 
5680
                   'uint32_t', 
5681
                   [])
5682
    ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::GetSerializedSize() const [member function]
5683
    cls.add_method('GetSerializedSize', 
5684
                   'uint32_t', 
5685
                   [], 
5686
                   is_const=True)
5687
    ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::Serialize(uint32_t * buffer, uint32_t maxSize) const [member function]
5688
    cls.add_method('Serialize', 
5689
                   'uint32_t', 
5690
                   [param('uint32_t *', 'buffer'), param('uint32_t', 'maxSize')], 
5691
                   is_const=True)
5692
    return
5693
5694
def register_Ns3Node_methods(root_module, cls):
5695
    ## node.h (module 'network'): ns3::Node::Node(ns3::Node const & arg0) [copy constructor]
5696
    cls.add_constructor([param('ns3::Node const &', 'arg0')])
5697
    ## node.h (module 'network'): ns3::Node::Node() [constructor]
5698
    cls.add_constructor([])
5699
    ## node.h (module 'network'): ns3::Node::Node(uint32_t systemId) [constructor]
5700
    cls.add_constructor([param('uint32_t', 'systemId')])
5701
    ## node.h (module 'network'): uint32_t ns3::Node::AddApplication(ns3::Ptr<ns3::Application> application) [member function]
5702
    cls.add_method('AddApplication', 
5703
                   'uint32_t', 
5704
                   [param('ns3::Ptr< ns3::Application >', 'application')])
5705
    ## node.h (module 'network'): uint32_t ns3::Node::AddDevice(ns3::Ptr<ns3::NetDevice> device) [member function]
5706
    cls.add_method('AddDevice', 
5707
                   'uint32_t', 
5708
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')])
5709
    ## node.h (module 'network'): static bool ns3::Node::ChecksumEnabled() [member function]
5710
    cls.add_method('ChecksumEnabled', 
5711
                   'bool', 
5712
                   [], 
5713
                   is_static=True)
5714
    ## node.h (module 'network'): ns3::Ptr<ns3::Application> ns3::Node::GetApplication(uint32_t index) const [member function]
5715
    cls.add_method('GetApplication', 
5716
                   'ns3::Ptr< ns3::Application >', 
5717
                   [param('uint32_t', 'index')], 
5718
                   is_const=True)
5719
    ## node.h (module 'network'): ns3::Ptr<ns3::NetDevice> ns3::Node::GetDevice(uint32_t index) const [member function]
5720
    cls.add_method('GetDevice', 
5721
                   'ns3::Ptr< ns3::NetDevice >', 
5722
                   [param('uint32_t', 'index')], 
5723
                   is_const=True)
5724
    ## node.h (module 'network'): uint32_t ns3::Node::GetId() const [member function]
5725
    cls.add_method('GetId', 
5726
                   'uint32_t', 
5727
                   [], 
5728
                   is_const=True)
5729
    ## node.h (module 'network'): uint32_t ns3::Node::GetNApplications() const [member function]
5730
    cls.add_method('GetNApplications', 
5731
                   'uint32_t', 
5732
                   [], 
5733
                   is_const=True)
5734
    ## node.h (module 'network'): uint32_t ns3::Node::GetNDevices() const [member function]
5735
    cls.add_method('GetNDevices', 
5736
                   'uint32_t', 
5737
                   [], 
5738
                   is_const=True)
5739
    ## node.h (module 'network'): uint32_t ns3::Node::GetSystemId() const [member function]
5740
    cls.add_method('GetSystemId', 
5741
                   'uint32_t', 
5742
                   [], 
5743
                   is_const=True)
5744
    ## node.h (module 'network'): static ns3::TypeId ns3::Node::GetTypeId() [member function]
5745
    cls.add_method('GetTypeId', 
5746
                   'ns3::TypeId', 
5747
                   [], 
5748
                   is_static=True)
5749
    ## 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]
5750
    cls.add_method('RegisterProtocolHandler', 
5751
                   'void', 
5752
                   [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')])
5753
    ## 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]
5754
    cls.add_method('UnregisterProtocolHandler', 
5755
                   'void', 
5756
                   [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')])
5757
    ## node.h (module 'network'): void ns3::Node::DoDispose() [member function]
5758
    cls.add_method('DoDispose', 
5759
                   'void', 
5760
                   [], 
5761
                   visibility='protected', is_virtual=True)
5762
    ## node.h (module 'network'): void ns3::Node::DoStart() [member function]
5763
    cls.add_method('DoStart', 
5764
                   'void', 
5765
                   [], 
5766
                   visibility='protected', is_virtual=True)
5767
    ## node.h (module 'network'): void ns3::Node::NotifyDeviceAdded(ns3::Ptr<ns3::NetDevice> device) [member function]
5768
    cls.add_method('NotifyDeviceAdded', 
5769
                   'void', 
5770
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')], 
5771
                   visibility='private', is_virtual=True)
5772
    return
5773
5774
def register_Ns3ObjectFactoryChecker_methods(root_module, cls):
5775
    ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker::ObjectFactoryChecker() [constructor]
5776
    cls.add_constructor([])
5777
    ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker::ObjectFactoryChecker(ns3::ObjectFactoryChecker const & arg0) [copy constructor]
5778
    cls.add_constructor([param('ns3::ObjectFactoryChecker const &', 'arg0')])
5779
    return
5780
5781
def register_Ns3ObjectFactoryValue_methods(root_module, cls):
5782
    ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue() [constructor]
5783
    cls.add_constructor([])
5784
    ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue(ns3::ObjectFactoryValue const & arg0) [copy constructor]
5785
    cls.add_constructor([param('ns3::ObjectFactoryValue const &', 'arg0')])
5786
    ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue(ns3::ObjectFactory const & value) [constructor]
5787
    cls.add_constructor([param('ns3::ObjectFactory const &', 'value')])
5788
    ## object-factory.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::ObjectFactoryValue::Copy() const [member function]
5789
    cls.add_method('Copy', 
5790
                   'ns3::Ptr< ns3::AttributeValue >', 
5791
                   [], 
5792
                   is_const=True, is_virtual=True)
5793
    ## object-factory.h (module 'core'): bool ns3::ObjectFactoryValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
5794
    cls.add_method('DeserializeFromString', 
5795
                   'bool', 
5796
                   [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
5797
                   is_virtual=True)
5798
    ## object-factory.h (module 'core'): ns3::ObjectFactory ns3::ObjectFactoryValue::Get() const [member function]
5799
    cls.add_method('Get', 
5800
                   'ns3::ObjectFactory', 
5801
                   [], 
5802
                   is_const=True)
5803
    ## object-factory.h (module 'core'): std::string ns3::ObjectFactoryValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
5804
    cls.add_method('SerializeToString', 
5805
                   'std::string', 
5806
                   [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
5807
                   is_const=True, is_virtual=True)
5808
    ## object-factory.h (module 'core'): void ns3::ObjectFactoryValue::Set(ns3::ObjectFactory const & value) [member function]
5809
    cls.add_method('Set', 
5810
                   'void', 
5811
                   [param('ns3::ObjectFactory const &', 'value')])
5812
    return
5813
5814
def register_Ns3OutputStreamWrapper_methods(root_module, cls):
5815
    ## output-stream-wrapper.h (module 'network'): ns3::OutputStreamWrapper::OutputStreamWrapper(ns3::OutputStreamWrapper const & arg0) [copy constructor]
5816
    cls.add_constructor([param('ns3::OutputStreamWrapper const &', 'arg0')])
5817
    ## output-stream-wrapper.h (module 'network'): ns3::OutputStreamWrapper::OutputStreamWrapper(std::string filename, std::_Ios_Openmode filemode) [constructor]
5818
    cls.add_constructor([param('std::string', 'filename'), param('std::_Ios_Openmode', 'filemode')])
5819
    ## output-stream-wrapper.h (module 'network'): ns3::OutputStreamWrapper::OutputStreamWrapper(std::ostream * os) [constructor]
5820
    cls.add_constructor([param('std::ostream *', 'os')])
5821
    ## output-stream-wrapper.h (module 'network'): std::ostream * ns3::OutputStreamWrapper::GetStream() [member function]
5822
    cls.add_method('GetStream', 
5823
                   'std::ostream *', 
5824
                   [])
5825
    return
5826
5827
def register_Ns3Packet_methods(root_module, cls):
5828
    cls.add_output_stream_operator()
5829
    ## packet.h (module 'network'): ns3::Packet::Packet() [constructor]
5830
    cls.add_constructor([])
5831
    ## packet.h (module 'network'): ns3::Packet::Packet(ns3::Packet const & o) [copy constructor]
5832
    cls.add_constructor([param('ns3::Packet const &', 'o')])
5833
    ## packet.h (module 'network'): ns3::Packet::Packet(uint32_t size) [constructor]
5834
    cls.add_constructor([param('uint32_t', 'size')])
5835
    ## packet.h (module 'network'): ns3::Packet::Packet(uint8_t const * buffer, uint32_t size, bool magic) [constructor]
5836
    cls.add_constructor([param('uint8_t const *', 'buffer'), param('uint32_t', 'size'), param('bool', 'magic')])
5837
    ## packet.h (module 'network'): ns3::Packet::Packet(uint8_t const * buffer, uint32_t size) [constructor]
5838
    cls.add_constructor([param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
5839
    ## packet.h (module 'network'): void ns3::Packet::AddAtEnd(ns3::Ptr<const ns3::Packet> packet) [member function]
5840
    cls.add_method('AddAtEnd', 
5841
                   'void', 
5842
                   [param('ns3::Ptr< ns3::Packet const >', 'packet')])
5843
    ## packet.h (module 'network'): void ns3::Packet::AddByteTag(ns3::Tag const & tag) const [member function]
5844
    cls.add_method('AddByteTag', 
5845
                   'void', 
5846
                   [param('ns3::Tag const &', 'tag')], 
5847
                   is_const=True)
5848
    ## packet.h (module 'network'): void ns3::Packet::AddHeader(ns3::Header const & header) [member function]
5849
    cls.add_method('AddHeader', 
5850
                   'void', 
5851
                   [param('ns3::Header const &', 'header')])
5852
    ## packet.h (module 'network'): void ns3::Packet::AddPacketTag(ns3::Tag const & tag) const [member function]
5853
    cls.add_method('AddPacketTag', 
5854
                   'void', 
5855
                   [param('ns3::Tag const &', 'tag')], 
5856
                   is_const=True)
5857
    ## packet.h (module 'network'): void ns3::Packet::AddPaddingAtEnd(uint32_t size) [member function]
5858
    cls.add_method('AddPaddingAtEnd', 
5859
                   'void', 
5860
                   [param('uint32_t', 'size')])
5861
    ## packet.h (module 'network'): void ns3::Packet::AddTrailer(ns3::Trailer const & trailer) [member function]
5862
    cls.add_method('AddTrailer', 
5863
                   'void', 
5864
                   [param('ns3::Trailer const &', 'trailer')])
5865
    ## packet.h (module 'network'): ns3::PacketMetadata::ItemIterator ns3::Packet::BeginItem() const [member function]
5866
    cls.add_method('BeginItem', 
5867
                   'ns3::PacketMetadata::ItemIterator', 
5868
                   [], 
5869
                   is_const=True)
5870
    ## packet.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Packet::Copy() const [member function]
5871
    cls.add_method('Copy', 
5872
                   'ns3::Ptr< ns3::Packet >', 
5873
                   [], 
5874
                   is_const=True)
5875
    ## packet.h (module 'network'): uint32_t ns3::Packet::CopyData(uint8_t * buffer, uint32_t size) const [member function]
5876
    cls.add_method('CopyData', 
5877
                   'uint32_t', 
5878
                   [param('uint8_t *', 'buffer'), param('uint32_t', 'size')], 
5879
                   is_const=True)
5880
    ## packet.h (module 'network'): void ns3::Packet::CopyData(std::ostream * os, uint32_t size) const [member function]
5881
    cls.add_method('CopyData', 
5882
                   'void', 
5883
                   [param('std::ostream *', 'os'), param('uint32_t', 'size')], 
5884
                   is_const=True)
5885
    ## packet.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Packet::CreateFragment(uint32_t start, uint32_t length) const [member function]
5886
    cls.add_method('CreateFragment', 
5887
                   'ns3::Ptr< ns3::Packet >', 
5888
                   [param('uint32_t', 'start'), param('uint32_t', 'length')], 
5889
                   is_const=True)
5890
    ## packet.h (module 'network'): static void ns3::Packet::EnableChecking() [member function]
5891
    cls.add_method('EnableChecking', 
5892
                   'void', 
5893
                   [], 
5894
                   is_static=True)
5895
    ## packet.h (module 'network'): static void ns3::Packet::EnablePrinting() [member function]
5896
    cls.add_method('EnablePrinting', 
5897
                   'void', 
5898
                   [], 
5899
                   is_static=True)
5900
    ## packet.h (module 'network'): bool ns3::Packet::FindFirstMatchingByteTag(ns3::Tag & tag) const [member function]
5901
    cls.add_method('FindFirstMatchingByteTag', 
5902
                   'bool', 
5903
                   [param('ns3::Tag &', 'tag')], 
5904
                   is_const=True)
5905
    ## packet.h (module 'network'): ns3::ByteTagIterator ns3::Packet::GetByteTagIterator() const [member function]
5906
    cls.add_method('GetByteTagIterator', 
5907
                   'ns3::ByteTagIterator', 
5908
                   [], 
5909
                   is_const=True)
5910
    ## packet.h (module 'network'): ns3::Ptr<ns3::NixVector> ns3::Packet::GetNixVector() const [member function]
5911
    cls.add_method('GetNixVector', 
5912
                   'ns3::Ptr< ns3::NixVector >', 
5913
                   [], 
5914
                   is_const=True)
5915
    ## packet.h (module 'network'): ns3::PacketTagIterator ns3::Packet::GetPacketTagIterator() const [member function]
5916
    cls.add_method('GetPacketTagIterator', 
5917
                   'ns3::PacketTagIterator', 
5918
                   [], 
5919
                   is_const=True)
5920
    ## packet.h (module 'network'): uint32_t ns3::Packet::GetSerializedSize() const [member function]
5921
    cls.add_method('GetSerializedSize', 
5922
                   'uint32_t', 
5923
                   [], 
5924
                   is_const=True)
5925
    ## packet.h (module 'network'): uint32_t ns3::Packet::GetSize() const [member function]
5926
    cls.add_method('GetSize', 
5927
                   'uint32_t', 
5928
                   [], 
5929
                   is_const=True)
5930
    ## packet.h (module 'network'): uint64_t ns3::Packet::GetUid() const [member function]
5931
    cls.add_method('GetUid', 
5932
                   'uint64_t', 
5933
                   [], 
5934
                   is_const=True)
5935
    ## packet.h (module 'network'): uint8_t const * ns3::Packet::PeekData() const [member function]
5936
    cls.add_method('PeekData', 
5937
                   'uint8_t const *', 
5938
                   [], 
5939
                   deprecated=True, is_const=True)
5940
    ## packet.h (module 'network'): uint32_t ns3::Packet::PeekHeader(ns3::Header & header) const [member function]
5941
    cls.add_method('PeekHeader', 
5942
                   'uint32_t', 
5943
                   [param('ns3::Header &', 'header')], 
5944
                   is_const=True)
5945
    ## packet.h (module 'network'): bool ns3::Packet::PeekPacketTag(ns3::Tag & tag) const [member function]
5946
    cls.add_method('PeekPacketTag', 
5947
                   'bool', 
5948
                   [param('ns3::Tag &', 'tag')], 
5949
                   is_const=True)
5950
    ## packet.h (module 'network'): uint32_t ns3::Packet::PeekTrailer(ns3::Trailer & trailer) [member function]
5951
    cls.add_method('PeekTrailer', 
5952
                   'uint32_t', 
5953
                   [param('ns3::Trailer &', 'trailer')])
5954
    ## packet.h (module 'network'): void ns3::Packet::Print(std::ostream & os) const [member function]
5955
    cls.add_method('Print', 
5956
                   'void', 
5957
                   [param('std::ostream &', 'os')], 
5958
                   is_const=True)
5959
    ## packet.h (module 'network'): void ns3::Packet::PrintByteTags(std::ostream & os) const [member function]
5960
    cls.add_method('PrintByteTags', 
5961
                   'void', 
5962
                   [param('std::ostream &', 'os')], 
5963
                   is_const=True)
5964
    ## packet.h (module 'network'): void ns3::Packet::PrintPacketTags(std::ostream & os) const [member function]
5965
    cls.add_method('PrintPacketTags', 
5966
                   'void', 
5967
                   [param('std::ostream &', 'os')], 
5968
                   is_const=True)
5969
    ## packet.h (module 'network'): void ns3::Packet::RemoveAllByteTags() [member function]
5970
    cls.add_method('RemoveAllByteTags', 
5971
                   'void', 
5972
                   [])
5973
    ## packet.h (module 'network'): void ns3::Packet::RemoveAllPacketTags() [member function]
5974
    cls.add_method('RemoveAllPacketTags', 
5975
                   'void', 
5976
                   [])
5977
    ## packet.h (module 'network'): void ns3::Packet::RemoveAtEnd(uint32_t size) [member function]
5978
    cls.add_method('RemoveAtEnd', 
5979
                   'void', 
5980
                   [param('uint32_t', 'size')])
5981
    ## packet.h (module 'network'): void ns3::Packet::RemoveAtStart(uint32_t size) [member function]
5982
    cls.add_method('RemoveAtStart', 
5983
                   'void', 
5984
                   [param('uint32_t', 'size')])
5985
    ## packet.h (module 'network'): uint32_t ns3::Packet::RemoveHeader(ns3::Header & header) [member function]
5986
    cls.add_method('RemoveHeader', 
5987
                   'uint32_t', 
5988
                   [param('ns3::Header &', 'header')])
5989
    ## packet.h (module 'network'): bool ns3::Packet::RemovePacketTag(ns3::Tag & tag) [member function]
5990
    cls.add_method('RemovePacketTag', 
5991
                   'bool', 
5992
                   [param('ns3::Tag &', 'tag')])
5993
    ## packet.h (module 'network'): uint32_t ns3::Packet::RemoveTrailer(ns3::Trailer & trailer) [member function]
5994
    cls.add_method('RemoveTrailer', 
5995
                   'uint32_t', 
5996
                   [param('ns3::Trailer &', 'trailer')])
5997
    ## packet.h (module 'network'): uint32_t ns3::Packet::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
5998
    cls.add_method('Serialize', 
5999
                   'uint32_t', 
6000
                   [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')], 
6001
                   is_const=True)
6002
    ## packet.h (module 'network'): void ns3::Packet::SetNixVector(ns3::Ptr<ns3::NixVector> arg0) [member function]
6003
    cls.add_method('SetNixVector', 
6004
                   'void', 
6005
                   [param('ns3::Ptr< ns3::NixVector >', 'arg0')])
6006
    return
6007
6008
def register_Ns3TimeChecker_methods(root_module, cls):
6009
    ## nstime.h (module 'core'): ns3::TimeChecker::TimeChecker() [constructor]
6010
    cls.add_constructor([])
6011
    ## nstime.h (module 'core'): ns3::TimeChecker::TimeChecker(ns3::TimeChecker const & arg0) [copy constructor]
6012
    cls.add_constructor([param('ns3::TimeChecker const &', 'arg0')])
6013
    return
6014
6015
def register_Ns3TimeValue_methods(root_module, cls):
6016
    ## nstime.h (module 'core'): ns3::TimeValue::TimeValue() [constructor]
6017
    cls.add_constructor([])
6018
    ## nstime.h (module 'core'): ns3::TimeValue::TimeValue(ns3::TimeValue const & arg0) [copy constructor]
6019
    cls.add_constructor([param('ns3::TimeValue const &', 'arg0')])
6020
    ## nstime.h (module 'core'): ns3::TimeValue::TimeValue(ns3::Time const & value) [constructor]
6021
    cls.add_constructor([param('ns3::Time const &', 'value')])
6022
    ## nstime.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::TimeValue::Copy() const [member function]
6023
    cls.add_method('Copy', 
6024
                   'ns3::Ptr< ns3::AttributeValue >', 
6025
                   [], 
6026
                   is_const=True, is_virtual=True)
6027
    ## nstime.h (module 'core'): bool ns3::TimeValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
6028
    cls.add_method('DeserializeFromString', 
6029
                   'bool', 
6030
                   [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
6031
                   is_virtual=True)
6032
    ## nstime.h (module 'core'): ns3::Time ns3::TimeValue::Get() const [member function]
6033
    cls.add_method('Get', 
6034
                   'ns3::Time', 
6035
                   [], 
6036
                   is_const=True)
6037
    ## nstime.h (module 'core'): std::string ns3::TimeValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
6038
    cls.add_method('SerializeToString', 
6039
                   'std::string', 
6040
                   [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
6041
                   is_const=True, is_virtual=True)
6042
    ## nstime.h (module 'core'): void ns3::TimeValue::Set(ns3::Time const & value) [member function]
6043
    cls.add_method('Set', 
6044
                   'void', 
6045
                   [param('ns3::Time const &', 'value')])
6046
    return
6047
6048
def register_Ns3TypeIdChecker_methods(root_module, cls):
6049
    ## type-id.h (module 'core'): ns3::TypeIdChecker::TypeIdChecker() [constructor]
6050
    cls.add_constructor([])
6051
    ## type-id.h (module 'core'): ns3::TypeIdChecker::TypeIdChecker(ns3::TypeIdChecker const & arg0) [copy constructor]
6052
    cls.add_constructor([param('ns3::TypeIdChecker const &', 'arg0')])
6053
    return
6054
6055
def register_Ns3TypeIdValue_methods(root_module, cls):
6056
    ## type-id.h (module 'core'): ns3::TypeIdValue::TypeIdValue() [constructor]
6057
    cls.add_constructor([])
6058
    ## type-id.h (module 'core'): ns3::TypeIdValue::TypeIdValue(ns3::TypeIdValue const & arg0) [copy constructor]
6059
    cls.add_constructor([param('ns3::TypeIdValue const &', 'arg0')])
6060
    ## type-id.h (module 'core'): ns3::TypeIdValue::TypeIdValue(ns3::TypeId const & value) [constructor]
6061
    cls.add_constructor([param('ns3::TypeId const &', 'value')])
6062
    ## type-id.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::TypeIdValue::Copy() const [member function]
6063
    cls.add_method('Copy', 
6064
                   'ns3::Ptr< ns3::AttributeValue >', 
6065
                   [], 
6066
                   is_const=True, is_virtual=True)
6067
    ## type-id.h (module 'core'): bool ns3::TypeIdValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
6068
    cls.add_method('DeserializeFromString', 
6069
                   'bool', 
6070
                   [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
6071
                   is_virtual=True)
6072
    ## type-id.h (module 'core'): ns3::TypeId ns3::TypeIdValue::Get() const [member function]
6073
    cls.add_method('Get', 
6074
                   'ns3::TypeId', 
6075
                   [], 
6076
                   is_const=True)
6077
    ## type-id.h (module 'core'): std::string ns3::TypeIdValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
6078
    cls.add_method('SerializeToString', 
6079
                   'std::string', 
6080
                   [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
6081
                   is_const=True, is_virtual=True)
6082
    ## type-id.h (module 'core'): void ns3::TypeIdValue::Set(ns3::TypeId const & value) [member function]
6083
    cls.add_method('Set', 
6084
                   'void', 
6085
                   [param('ns3::TypeId const &', 'value')])
6086
    return
6087
6088
def register_Ns3AddressChecker_methods(root_module, cls):
6089
    ## address.h (module 'network'): ns3::AddressChecker::AddressChecker() [constructor]
6090
    cls.add_constructor([])
6091
    ## address.h (module 'network'): ns3::AddressChecker::AddressChecker(ns3::AddressChecker const & arg0) [copy constructor]
6092
    cls.add_constructor([param('ns3::AddressChecker const &', 'arg0')])
6093
    return
6094
6095
def register_Ns3AddressValue_methods(root_module, cls):
6096
    ## address.h (module 'network'): ns3::AddressValue::AddressValue() [constructor]
6097
    cls.add_constructor([])
6098
    ## address.h (module 'network'): ns3::AddressValue::AddressValue(ns3::AddressValue const & arg0) [copy constructor]
6099
    cls.add_constructor([param('ns3::AddressValue const &', 'arg0')])
6100
    ## address.h (module 'network'): ns3::AddressValue::AddressValue(ns3::Address const & value) [constructor]
6101
    cls.add_constructor([param('ns3::Address const &', 'value')])
6102
    ## address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::AddressValue::Copy() const [member function]
6103
    cls.add_method('Copy', 
6104
                   'ns3::Ptr< ns3::AttributeValue >', 
6105
                   [], 
6106
                   is_const=True, is_virtual=True)
6107
    ## address.h (module 'network'): bool ns3::AddressValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
6108
    cls.add_method('DeserializeFromString', 
6109
                   'bool', 
6110
                   [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
6111
                   is_virtual=True)
6112
    ## address.h (module 'network'): ns3::Address ns3::AddressValue::Get() const [member function]
6113
    cls.add_method('Get', 
6114
                   'ns3::Address', 
6115
                   [], 
6116
                   is_const=True)
6117
    ## address.h (module 'network'): std::string ns3::AddressValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
6118
    cls.add_method('SerializeToString', 
6119
                   'std::string', 
6120
                   [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
6121
                   is_const=True, is_virtual=True)
6122
    ## address.h (module 'network'): void ns3::AddressValue::Set(ns3::Address const & value) [member function]
6123
    cls.add_method('Set', 
6124
                   'void', 
6125
                   [param('ns3::Address const &', 'value')])
6126
    return
6127
6128
def register_functions(root_module):
6129
    module = root_module
6130
    register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module)
6131
    return
6132
6133
def register_functions_ns3_FatalImpl(module, root_module):
6134
    return
6135
6136
def main():
6137
    out = FileCodeSink(sys.stdout)
6138
    root_module = module_init()
6139
    register_types(root_module)
6140
    register_methods(root_module)
6141
    register_functions(root_module)
6142
    root_module.generate(out)
6143
6144
if __name__ == '__main__':
6145
    main()
6146
(-)e9ca5b2838e7 (+6146 lines)
Added Link Here 
1
from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers
2
3
4
import pybindgen.settings
5
import warnings
6
7
class ErrorHandler(pybindgen.settings.ErrorHandler):
8
    def handle_error(self, wrapper, exception, traceback_):
9
        warnings.warn("exception %r in wrapper %s" % (exception, wrapper))
10
        return True
11
pybindgen.settings.error_handler = ErrorHandler()
12
13
14
import sys
15
16
def module_init():
17
    root_module = Module('ns.point_to_point_layout', cpp_namespace='::ns3')
18
    return root_module
19
20
def register_types(module):
21
    root_module = module.get_root()
22
    
23
    ## address.h (module 'network'): ns3::Address [class]
24
    module.add_class('Address', import_from_module='ns.network')
25
    ## address.h (module 'network'): ns3::Address::MaxSize_e [enumeration]
26
    module.add_enum('MaxSize_e', ['MAX_SIZE'], outer_class=root_module['ns3::Address'], import_from_module='ns.network')
27
    ## trace-helper.h (module 'network'): ns3::AsciiTraceHelper [class]
28
    module.add_class('AsciiTraceHelper', import_from_module='ns.network')
29
    ## trace-helper.h (module 'network'): ns3::AsciiTraceHelperForDevice [class]
30
    module.add_class('AsciiTraceHelperForDevice', allow_subclassing=True, import_from_module='ns.network')
31
    ## internet-trace-helper.h (module 'internet'): ns3::AsciiTraceHelperForIpv4 [class]
32
    module.add_class('AsciiTraceHelperForIpv4', allow_subclassing=True, import_from_module='ns.internet')
33
    ## internet-trace-helper.h (module 'internet'): ns3::AsciiTraceHelperForIpv6 [class]
34
    module.add_class('AsciiTraceHelperForIpv6', allow_subclassing=True, import_from_module='ns.internet')
35
    ## attribute-list.h (module 'core'): ns3::AttributeList [class]
36
    module.add_class('AttributeList', import_from_module='ns.core')
37
    ## buffer.h (module 'network'): ns3::Buffer [class]
38
    module.add_class('Buffer', import_from_module='ns.network')
39
    ## buffer.h (module 'network'): ns3::Buffer::Iterator [class]
40
    module.add_class('Iterator', import_from_module='ns.network', outer_class=root_module['ns3::Buffer'])
41
    ## packet.h (module 'network'): ns3::ByteTagIterator [class]
42
    module.add_class('ByteTagIterator', import_from_module='ns.network')
43
    ## packet.h (module 'network'): ns3::ByteTagIterator::Item [class]
44
    module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::ByteTagIterator'])
45
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList [class]
46
    module.add_class('ByteTagList', import_from_module='ns.network')
47
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator [class]
48
    module.add_class('Iterator', import_from_module='ns.network', outer_class=root_module['ns3::ByteTagList'])
49
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item [struct]
50
    module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::ByteTagList::Iterator'])
51
    ## callback.h (module 'core'): ns3::CallbackBase [class]
52
    module.add_class('CallbackBase', import_from_module='ns.core')
53
    ## event-id.h (module 'core'): ns3::EventId [class]
54
    module.add_class('EventId', import_from_module='ns.core')
55
    ## ipv4-address.h (module 'network'): ns3::Ipv4Address [class]
56
    module.add_class('Ipv4Address', import_from_module='ns.network')
57
    ## ipv4-address.h (module 'network'): ns3::Ipv4Address [class]
58
    root_module['ns3::Ipv4Address'].implicitly_converts_to(root_module['ns3::Address'])
59
    ## ipv4-address-helper.h (module 'internet'): ns3::Ipv4AddressHelper [class]
60
    module.add_class('Ipv4AddressHelper', import_from_module='ns.internet')
61
    ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4InterfaceAddress [class]
62
    module.add_class('Ipv4InterfaceAddress', import_from_module='ns.internet')
63
    ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e [enumeration]
64
    module.add_enum('InterfaceAddressScope_e', ['HOST', 'LINK', 'GLOBAL'], outer_class=root_module['ns3::Ipv4InterfaceAddress'], import_from_module='ns.internet')
65
    ## ipv4-interface-container.h (module 'internet'): ns3::Ipv4InterfaceContainer [class]
66
    module.add_class('Ipv4InterfaceContainer', import_from_module='ns.internet')
67
    ## ipv4-address.h (module 'network'): ns3::Ipv4Mask [class]
68
    module.add_class('Ipv4Mask', import_from_module='ns.network')
69
    ## ipv6-address.h (module 'network'): ns3::Ipv6Address [class]
70
    module.add_class('Ipv6Address', import_from_module='ns.network')
71
    ## ipv6-address.h (module 'network'): ns3::Ipv6Address [class]
72
    root_module['ns3::Ipv6Address'].implicitly_converts_to(root_module['ns3::Address'])
73
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress [class]
74
    module.add_class('Ipv6InterfaceAddress', import_from_module='ns.internet')
75
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress::State_e [enumeration]
76
    module.add_enum('State_e', ['TENTATIVE', 'DEPRECATED', 'PREFERRED', 'PERMANENT', 'HOMEADDRESS', 'TENTATIVE_OPTIMISTIC', 'INVALID'], outer_class=root_module['ns3::Ipv6InterfaceAddress'], import_from_module='ns.internet')
77
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress::Scope_e [enumeration]
78
    module.add_enum('Scope_e', ['HOST', 'LINKLOCAL', 'GLOBAL'], outer_class=root_module['ns3::Ipv6InterfaceAddress'], import_from_module='ns.internet')
79
    ## ipv6-interface-container.h (module 'internet'): ns3::Ipv6InterfaceContainer [class]
80
    module.add_class('Ipv6InterfaceContainer', import_from_module='ns.internet')
81
    ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix [class]
82
    module.add_class('Ipv6Prefix', import_from_module='ns.network')
83
    ## net-device-container.h (module 'network'): ns3::NetDeviceContainer [class]
84
    module.add_class('NetDeviceContainer', import_from_module='ns.network')
85
    ## node-container.h (module 'network'): ns3::NodeContainer [class]
86
    module.add_class('NodeContainer', import_from_module='ns.network')
87
    ## object-base.h (module 'core'): ns3::ObjectBase [class]
88
    module.add_class('ObjectBase', allow_subclassing=True, import_from_module='ns.core')
89
    ## object.h (module 'core'): ns3::ObjectDeleter [struct]
90
    module.add_class('ObjectDeleter', import_from_module='ns.core')
91
    ## object-factory.h (module 'core'): ns3::ObjectFactory [class]
92
    module.add_class('ObjectFactory', import_from_module='ns.core')
93
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata [class]
94
    module.add_class('PacketMetadata', import_from_module='ns.network')
95
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item [struct]
96
    module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::PacketMetadata'])
97
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item [enumeration]
98
    module.add_enum('', ['PAYLOAD', 'HEADER', 'TRAILER'], outer_class=root_module['ns3::PacketMetadata::Item'], import_from_module='ns.network')
99
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator [class]
100
    module.add_class('ItemIterator', import_from_module='ns.network', outer_class=root_module['ns3::PacketMetadata'])
101
    ## packet.h (module 'network'): ns3::PacketTagIterator [class]
102
    module.add_class('PacketTagIterator', import_from_module='ns.network')
103
    ## packet.h (module 'network'): ns3::PacketTagIterator::Item [class]
104
    module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::PacketTagIterator'])
105
    ## packet-tag-list.h (module 'network'): ns3::PacketTagList [class]
106
    module.add_class('PacketTagList', import_from_module='ns.network')
107
    ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData [struct]
108
    module.add_class('TagData', import_from_module='ns.network', outer_class=root_module['ns3::PacketTagList'])
109
    ## pcap-file.h (module 'network'): ns3::PcapFile [class]
110
    module.add_class('PcapFile', import_from_module='ns.network')
111
    ## trace-helper.h (module 'network'): ns3::PcapHelper [class]
112
    module.add_class('PcapHelper', import_from_module='ns.network')
113
    ## trace-helper.h (module 'network'): ns3::PcapHelper [enumeration]
114
    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')
115
    ## trace-helper.h (module 'network'): ns3::PcapHelperForDevice [class]
116
    module.add_class('PcapHelperForDevice', allow_subclassing=True, import_from_module='ns.network')
117
    ## internet-trace-helper.h (module 'internet'): ns3::PcapHelperForIpv4 [class]
118
    module.add_class('PcapHelperForIpv4', allow_subclassing=True, import_from_module='ns.internet')
119
    ## internet-trace-helper.h (module 'internet'): ns3::PcapHelperForIpv6 [class]
120
    module.add_class('PcapHelperForIpv6', allow_subclassing=True, import_from_module='ns.internet')
121
    ## point-to-point-dumbbell.h (module 'point-to-point-layout'): ns3::PointToPointDumbbellHelper [class]
122
    module.add_class('PointToPointDumbbellHelper')
123
    ## point-to-point-grid.h (module 'point-to-point-layout'): ns3::PointToPointGridHelper [class]
124
    module.add_class('PointToPointGridHelper')
125
    ## point-to-point-helper.h (module 'point-to-point'): ns3::PointToPointHelper [class]
126
    module.add_class('PointToPointHelper', import_from_module='ns.point_to_point', parent=[root_module['ns3::PcapHelperForDevice'], root_module['ns3::AsciiTraceHelperForDevice']])
127
    ## point-to-point-star.h (module 'point-to-point-layout'): ns3::PointToPointStarHelper [class]
128
    module.add_class('PointToPointStarHelper')
129
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter> [class]
130
    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'))
131
    ## simulator.h (module 'core'): ns3::Simulator [class]
132
    module.add_class('Simulator', is_singleton=True, import_from_module='ns.core')
133
    ## tag.h (module 'network'): ns3::Tag [class]
134
    module.add_class('Tag', import_from_module='ns.network', parent=root_module['ns3::ObjectBase'])
135
    ## tag-buffer.h (module 'network'): ns3::TagBuffer [class]
136
    module.add_class('TagBuffer', import_from_module='ns.network')
137
    ## type-id.h (module 'core'): ns3::TypeId [class]
138
    module.add_class('TypeId', import_from_module='ns.core')
139
    ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration]
140
    module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core')
141
    ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct]
142
    module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId'])
143
    ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class]
144
    module.add_class('UnsafeAttributeList', import_from_module='ns.core')
145
    ## empty.h (module 'core'): ns3::empty [class]
146
    module.add_class('empty', import_from_module='ns.core')
147
    ## int64x64-double.h (module 'core'): ns3::int64x64_t [class]
148
    module.add_class('int64x64_t', import_from_module='ns.core')
149
    ## chunk.h (module 'network'): ns3::Chunk [class]
150
    module.add_class('Chunk', import_from_module='ns.network', parent=root_module['ns3::ObjectBase'])
151
    ## header.h (module 'network'): ns3::Header [class]
152
    module.add_class('Header', import_from_module='ns.network', parent=root_module['ns3::Chunk'])
153
    ## internet-stack-helper.h (module 'internet'): ns3::InternetStackHelper [class]
154
    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']])
155
    ## ipv4-header.h (module 'internet'): ns3::Ipv4Header [class]
156
    module.add_class('Ipv4Header', import_from_module='ns.internet', parent=root_module['ns3::Header'])
157
    ## ipv6-header.h (module 'internet'): ns3::Ipv6Header [class]
158
    module.add_class('Ipv6Header', import_from_module='ns.internet', parent=root_module['ns3::Header'])
159
    ## ipv6-header.h (module 'internet'): ns3::Ipv6Header::NextHeader_e [enumeration]
160
    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')
161
    ## object.h (module 'core'): ns3::Object [class]
162
    module.add_class('Object', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >'])
163
    ## object.h (module 'core'): ns3::Object::AggregateIterator [class]
164
    module.add_class('AggregateIterator', import_from_module='ns.core', outer_class=root_module['ns3::Object'])
165
    ## pcap-file-wrapper.h (module 'network'): ns3::PcapFileWrapper [class]
166
    module.add_class('PcapFileWrapper', import_from_module='ns.network', parent=root_module['ns3::Object'])
167
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> > [class]
168
    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'))
169
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> > [class]
170
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::AttributeChecker', 'ns3::empty', 'ns3::DefaultDeleter<ns3::AttributeChecker>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
171
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> > [class]
172
    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'))
173
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> > [class]
174
    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'))
175
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> > [class]
176
    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'))
177
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4MulticastRoute> > [class]
178
    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'))
179
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4Route> > [class]
180
    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'))
181
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> > [class]
182
    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'))
183
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter<ns3::OutputStreamWrapper> > [class]
184
    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'))
185
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> > [class]
186
    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'))
187
    ## socket.h (module 'network'): ns3::Socket [class]
188
    module.add_class('Socket', import_from_module='ns.network', parent=root_module['ns3::Object'])
189
    ## socket.h (module 'network'): ns3::Socket::SocketErrno [enumeration]
190
    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')
191
    ## socket.h (module 'network'): ns3::Socket::SocketType [enumeration]
192
    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')
193
    ## socket.h (module 'network'): ns3::SocketAddressTag [class]
194
    module.add_class('SocketAddressTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
195
    ## socket.h (module 'network'): ns3::SocketIpTtlTag [class]
196
    module.add_class('SocketIpTtlTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
197
    ## socket.h (module 'network'): ns3::SocketSetDontFragmentTag [class]
198
    module.add_class('SocketSetDontFragmentTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
199
    ## nstime.h (module 'core'): ns3::Time [class]
200
    module.add_class('Time', import_from_module='ns.core')
201
    ## nstime.h (module 'core'): ns3::Time::Unit [enumeration]
202
    module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core')
203
    ## nstime.h (module 'core'): ns3::Time [class]
204
    root_module['ns3::Time'].implicitly_converts_to(root_module['ns3::int64x64_t'])
205
    ## trailer.h (module 'network'): ns3::Trailer [class]
206
    module.add_class('Trailer', import_from_module='ns.network', parent=root_module['ns3::Chunk'])
207
    ## attribute.h (module 'core'): ns3::AttributeAccessor [class]
208
    module.add_class('AttributeAccessor', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >'])
209
    ## attribute.h (module 'core'): ns3::AttributeChecker [class]
210
    module.add_class('AttributeChecker', allow_subclassing=False, automatic_type_narrowing=True, import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >'])
211
    ## attribute.h (module 'core'): ns3::AttributeValue [class]
212
    module.add_class('AttributeValue', allow_subclassing=False, automatic_type_narrowing=True, import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >'])
213
    ## callback.h (module 'core'): ns3::CallbackChecker [class]
214
    module.add_class('CallbackChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
215
    ## callback.h (module 'core'): ns3::CallbackImplBase [class]
216
    module.add_class('CallbackImplBase', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >'])
217
    ## callback.h (module 'core'): ns3::CallbackValue [class]
218
    module.add_class('CallbackValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
219
    ## attribute.h (module 'core'): ns3::EmptyAttributeValue [class]
220
    module.add_class('EmptyAttributeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
221
    ## event-impl.h (module 'core'): ns3::EventImpl [class]
222
    module.add_class('EventImpl', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >'])
223
    ## ipv4.h (module 'internet'): ns3::Ipv4 [class]
224
    module.add_class('Ipv4', import_from_module='ns.internet', parent=root_module['ns3::Object'])
225
    ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker [class]
226
    module.add_class('Ipv4AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
227
    ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue [class]
228
    module.add_class('Ipv4AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
229
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol [class]
230
    module.add_class('Ipv4L3Protocol', import_from_module='ns.internet', parent=root_module['ns3::Ipv4'])
231
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::DropReason [enumeration]
232
    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')
233
    ## ipv4-l4-protocol.h (module 'internet'): ns3::Ipv4L4Protocol [class]
234
    module.add_class('Ipv4L4Protocol', import_from_module='ns.internet', parent=root_module['ns3::Object'])
235
    ## ipv4-l4-protocol.h (module 'internet'): ns3::Ipv4L4Protocol::RxStatus [enumeration]
236
    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')
237
    ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker [class]
238
    module.add_class('Ipv4MaskChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
239
    ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue [class]
240
    module.add_class('Ipv4MaskValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
241
    ## ipv4-route.h (module 'internet'): ns3::Ipv4MulticastRoute [class]
242
    module.add_class('Ipv4MulticastRoute', import_from_module='ns.internet', parent=root_module['ns3::SimpleRefCount< ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4MulticastRoute> >'])
243
    ## ipv4-route.h (module 'internet'): ns3::Ipv4Route [class]
244
    module.add_class('Ipv4Route', import_from_module='ns.internet', parent=root_module['ns3::SimpleRefCount< ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4Route> >'])
245
    ## ipv4-routing-protocol.h (module 'internet'): ns3::Ipv4RoutingProtocol [class]
246
    module.add_class('Ipv4RoutingProtocol', import_from_module='ns.internet', parent=root_module['ns3::Object'])
247
    ## ipv6.h (module 'internet'): ns3::Ipv6 [class]
248
    module.add_class('Ipv6', import_from_module='ns.internet', parent=root_module['ns3::Object'])
249
    ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker [class]
250
    module.add_class('Ipv6AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
251
    ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue [class]
252
    module.add_class('Ipv6AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
253
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ipv6L3Protocol [class]
254
    module.add_class('Ipv6L3Protocol', import_from_module='ns.internet', parent=root_module['ns3::Ipv6'])
255
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ipv6L3Protocol::DropReason [enumeration]
256
    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')
257
    ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker [class]
258
    module.add_class('Ipv6PrefixChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
259
    ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue [class]
260
    module.add_class('Ipv6PrefixValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
261
    ## net-device.h (module 'network'): ns3::NetDevice [class]
262
    module.add_class('NetDevice', import_from_module='ns.network', parent=root_module['ns3::Object'])
263
    ## net-device.h (module 'network'): ns3::NetDevice::PacketType [enumeration]
264
    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')
265
    ## nix-vector.h (module 'network'): ns3::NixVector [class]
266
    module.add_class('NixVector', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >'])
267
    ## node.h (module 'network'): ns3::Node [class]
268
    module.add_class('Node', import_from_module='ns.network', parent=root_module['ns3::Object'])
269
    ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker [class]
270
    module.add_class('ObjectFactoryChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
271
    ## object-factory.h (module 'core'): ns3::ObjectFactoryValue [class]
272
    module.add_class('ObjectFactoryValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
273
    ## output-stream-wrapper.h (module 'network'): ns3::OutputStreamWrapper [class]
274
    module.add_class('OutputStreamWrapper', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter<ns3::OutputStreamWrapper> >'])
275
    ## packet.h (module 'network'): ns3::Packet [class]
276
    module.add_class('Packet', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >'])
277
    ## nstime.h (module 'core'): ns3::TimeChecker [class]
278
    module.add_class('TimeChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
279
    ## nstime.h (module 'core'): ns3::TimeValue [class]
280
    module.add_class('TimeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
281
    ## type-id.h (module 'core'): ns3::TypeIdChecker [class]
282
    module.add_class('TypeIdChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
283
    ## type-id.h (module 'core'): ns3::TypeIdValue [class]
284
    module.add_class('TypeIdValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
285
    ## address.h (module 'network'): ns3::AddressChecker [class]
286
    module.add_class('AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
287
    ## address.h (module 'network'): ns3::AddressValue [class]
288
    module.add_class('AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
289
    
290
    ## Register a nested module for the namespace FatalImpl
291
    
292
    nested_module = module.add_cpp_namespace('FatalImpl')
293
    register_types_ns3_FatalImpl(nested_module)
294
    
295
296
def register_types_ns3_FatalImpl(module):
297
    root_module = module.get_root()
298
    
299
300
def register_methods(root_module):
301
    register_Ns3Address_methods(root_module, root_module['ns3::Address'])
302
    register_Ns3AsciiTraceHelper_methods(root_module, root_module['ns3::AsciiTraceHelper'])
303
    register_Ns3AsciiTraceHelperForDevice_methods(root_module, root_module['ns3::AsciiTraceHelperForDevice'])
304
    register_Ns3AsciiTraceHelperForIpv4_methods(root_module, root_module['ns3::AsciiTraceHelperForIpv4'])
305
    register_Ns3AsciiTraceHelperForIpv6_methods(root_module, root_module['ns3::AsciiTraceHelperForIpv6'])
306
    register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList'])
307
    register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer'])
308
    register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator'])
309
    register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator'])
310
    register_Ns3ByteTagIteratorItem_methods(root_module, root_module['ns3::ByteTagIterator::Item'])
311
    register_Ns3ByteTagList_methods(root_module, root_module['ns3::ByteTagList'])
312
    register_Ns3ByteTagListIterator_methods(root_module, root_module['ns3::ByteTagList::Iterator'])
313
    register_Ns3ByteTagListIteratorItem_methods(root_module, root_module['ns3::ByteTagList::Iterator::Item'])
314
    register_Ns3CallbackBase_methods(root_module, root_module['ns3::CallbackBase'])
315
    register_Ns3EventId_methods(root_module, root_module['ns3::EventId'])
316
    register_Ns3Ipv4Address_methods(root_module, root_module['ns3::Ipv4Address'])
317
    register_Ns3Ipv4AddressHelper_methods(root_module, root_module['ns3::Ipv4AddressHelper'])
318
    register_Ns3Ipv4InterfaceAddress_methods(root_module, root_module['ns3::Ipv4InterfaceAddress'])
319
    register_Ns3Ipv4InterfaceContainer_methods(root_module, root_module['ns3::Ipv4InterfaceContainer'])
320
    register_Ns3Ipv4Mask_methods(root_module, root_module['ns3::Ipv4Mask'])
321
    register_Ns3Ipv6Address_methods(root_module, root_module['ns3::Ipv6Address'])
322
    register_Ns3Ipv6InterfaceAddress_methods(root_module, root_module['ns3::Ipv6InterfaceAddress'])
323
    register_Ns3Ipv6InterfaceContainer_methods(root_module, root_module['ns3::Ipv6InterfaceContainer'])
324
    register_Ns3Ipv6Prefix_methods(root_module, root_module['ns3::Ipv6Prefix'])
325
    register_Ns3NetDeviceContainer_methods(root_module, root_module['ns3::NetDeviceContainer'])
326
    register_Ns3NodeContainer_methods(root_module, root_module['ns3::NodeContainer'])
327
    register_Ns3ObjectBase_methods(root_module, root_module['ns3::ObjectBase'])
328
    register_Ns3ObjectDeleter_methods(root_module, root_module['ns3::ObjectDeleter'])
329
    register_Ns3ObjectFactory_methods(root_module, root_module['ns3::ObjectFactory'])
330
    register_Ns3PacketMetadata_methods(root_module, root_module['ns3::PacketMetadata'])
331
    register_Ns3PacketMetadataItem_methods(root_module, root_module['ns3::PacketMetadata::Item'])
332
    register_Ns3PacketMetadataItemIterator_methods(root_module, root_module['ns3::PacketMetadata::ItemIterator'])
333
    register_Ns3PacketTagIterator_methods(root_module, root_module['ns3::PacketTagIterator'])
334
    register_Ns3PacketTagIteratorItem_methods(root_module, root_module['ns3::PacketTagIterator::Item'])
335
    register_Ns3PacketTagList_methods(root_module, root_module['ns3::PacketTagList'])
336
    register_Ns3PacketTagListTagData_methods(root_module, root_module['ns3::PacketTagList::TagData'])
337
    register_Ns3PcapFile_methods(root_module, root_module['ns3::PcapFile'])
338
    register_Ns3PcapHelper_methods(root_module, root_module['ns3::PcapHelper'])
339
    register_Ns3PcapHelperForDevice_methods(root_module, root_module['ns3::PcapHelperForDevice'])
340
    register_Ns3PcapHelperForIpv4_methods(root_module, root_module['ns3::PcapHelperForIpv4'])
341
    register_Ns3PcapHelperForIpv6_methods(root_module, root_module['ns3::PcapHelperForIpv6'])
342
    register_Ns3PointToPointDumbbellHelper_methods(root_module, root_module['ns3::PointToPointDumbbellHelper'])
343
    register_Ns3PointToPointGridHelper_methods(root_module, root_module['ns3::PointToPointGridHelper'])
344
    register_Ns3PointToPointHelper_methods(root_module, root_module['ns3::PointToPointHelper'])
345
    register_Ns3PointToPointStarHelper_methods(root_module, root_module['ns3::PointToPointStarHelper'])
346
    register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >'])
347
    register_Ns3Simulator_methods(root_module, root_module['ns3::Simulator'])
348
    register_Ns3Tag_methods(root_module, root_module['ns3::Tag'])
349
    register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer'])
350
    register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId'])
351
    register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo'])
352
    register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList'])
353
    register_Ns3Empty_methods(root_module, root_module['ns3::empty'])
354
    register_Ns3Int64x64_t_methods(root_module, root_module['ns3::int64x64_t'])
355
    register_Ns3Chunk_methods(root_module, root_module['ns3::Chunk'])
356
    register_Ns3Header_methods(root_module, root_module['ns3::Header'])
357
    register_Ns3InternetStackHelper_methods(root_module, root_module['ns3::InternetStackHelper'])
358
    register_Ns3Ipv4Header_methods(root_module, root_module['ns3::Ipv4Header'])
359
    register_Ns3Ipv6Header_methods(root_module, root_module['ns3::Ipv6Header'])
360
    register_Ns3Object_methods(root_module, root_module['ns3::Object'])
361
    register_Ns3ObjectAggregateIterator_methods(root_module, root_module['ns3::Object::AggregateIterator'])
362
    register_Ns3PcapFileWrapper_methods(root_module, root_module['ns3::PcapFileWrapper'])
363
    register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >'])
364
    register_Ns3SimpleRefCount__Ns3AttributeChecker_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeChecker__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >'])
365
    register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeValue__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >'])
366
    register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__lt__ns3CallbackImplBase__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >'])
367
    register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >'])
368
    register_Ns3SimpleRefCount__Ns3Ipv4MulticastRoute_Ns3Empty_Ns3DefaultDeleter__lt__ns3Ipv4MulticastRoute__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4MulticastRoute> >'])
369
    register_Ns3SimpleRefCount__Ns3Ipv4Route_Ns3Empty_Ns3DefaultDeleter__lt__ns3Ipv4Route__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4Route> >'])
370
    register_Ns3SimpleRefCount__Ns3NixVector_Ns3Empty_Ns3DefaultDeleter__lt__ns3NixVector__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >'])
371
    register_Ns3SimpleRefCount__Ns3OutputStreamWrapper_Ns3Empty_Ns3DefaultDeleter__lt__ns3OutputStreamWrapper__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter<ns3::OutputStreamWrapper> >'])
372
    register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >'])
373
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
374
    register_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag'])
375
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
376
    register_Ns3SocketSetDontFragmentTag_methods(root_module, root_module['ns3::SocketSetDontFragmentTag'])
377
    register_Ns3Time_methods(root_module, root_module['ns3::Time'])
378
    register_Ns3Trailer_methods(root_module, root_module['ns3::Trailer'])
379
    register_Ns3AttributeAccessor_methods(root_module, root_module['ns3::AttributeAccessor'])
380
    register_Ns3AttributeChecker_methods(root_module, root_module['ns3::AttributeChecker'])
381
    register_Ns3AttributeValue_methods(root_module, root_module['ns3::AttributeValue'])
382
    register_Ns3CallbackChecker_methods(root_module, root_module['ns3::CallbackChecker'])
383
    register_Ns3CallbackImplBase_methods(root_module, root_module['ns3::CallbackImplBase'])
384
    register_Ns3CallbackValue_methods(root_module, root_module['ns3::CallbackValue'])
385
    register_Ns3EmptyAttributeValue_methods(root_module, root_module['ns3::EmptyAttributeValue'])
386
    register_Ns3EventImpl_methods(root_module, root_module['ns3::EventImpl'])
387
    register_Ns3Ipv4_methods(root_module, root_module['ns3::Ipv4'])
388
    register_Ns3Ipv4AddressChecker_methods(root_module, root_module['ns3::Ipv4AddressChecker'])
389
    register_Ns3Ipv4AddressValue_methods(root_module, root_module['ns3::Ipv4AddressValue'])
390
    register_Ns3Ipv4L3Protocol_methods(root_module, root_module['ns3::Ipv4L3Protocol'])
391
    register_Ns3Ipv4L4Protocol_methods(root_module, root_module['ns3::Ipv4L4Protocol'])
392
    register_Ns3Ipv4MaskChecker_methods(root_module, root_module['ns3::Ipv4MaskChecker'])
393
    register_Ns3Ipv4MaskValue_methods(root_module, root_module['ns3::Ipv4MaskValue'])
394
    register_Ns3Ipv4MulticastRoute_methods(root_module, root_module['ns3::Ipv4MulticastRoute'])
395
    register_Ns3Ipv4Route_methods(root_module, root_module['ns3::Ipv4Route'])
396
    register_Ns3Ipv4RoutingProtocol_methods(root_module, root_module['ns3::Ipv4RoutingProtocol'])
397
    register_Ns3Ipv6_methods(root_module, root_module['ns3::Ipv6'])
398
    register_Ns3Ipv6AddressChecker_methods(root_module, root_module['ns3::Ipv6AddressChecker'])
399
    register_Ns3Ipv6AddressValue_methods(root_module, root_module['ns3::Ipv6AddressValue'])
400
    register_Ns3Ipv6L3Protocol_methods(root_module, root_module['ns3::Ipv6L3Protocol'])
401
    register_Ns3Ipv6PrefixChecker_methods(root_module, root_module['ns3::Ipv6PrefixChecker'])
402
    register_Ns3Ipv6PrefixValue_methods(root_module, root_module['ns3::Ipv6PrefixValue'])
403
    register_Ns3NetDevice_methods(root_module, root_module['ns3::NetDevice'])
404
    register_Ns3NixVector_methods(root_module, root_module['ns3::NixVector'])
405
    register_Ns3Node_methods(root_module, root_module['ns3::Node'])
406
    register_Ns3ObjectFactoryChecker_methods(root_module, root_module['ns3::ObjectFactoryChecker'])
407
    register_Ns3ObjectFactoryValue_methods(root_module, root_module['ns3::ObjectFactoryValue'])
408
    register_Ns3OutputStreamWrapper_methods(root_module, root_module['ns3::OutputStreamWrapper'])
409
    register_Ns3Packet_methods(root_module, root_module['ns3::Packet'])
410
    register_Ns3TimeChecker_methods(root_module, root_module['ns3::TimeChecker'])
411
    register_Ns3TimeValue_methods(root_module, root_module['ns3::TimeValue'])
412
    register_Ns3TypeIdChecker_methods(root_module, root_module['ns3::TypeIdChecker'])
413
    register_Ns3TypeIdValue_methods(root_module, root_module['ns3::TypeIdValue'])
414
    register_Ns3AddressChecker_methods(root_module, root_module['ns3::AddressChecker'])
415
    register_Ns3AddressValue_methods(root_module, root_module['ns3::AddressValue'])
416
    return
417
418
def register_Ns3Address_methods(root_module, cls):
419
    cls.add_binary_comparison_operator('<')
420
    cls.add_binary_comparison_operator('!=')
421
    cls.add_output_stream_operator()
422
    cls.add_binary_comparison_operator('==')
423
    ## address.h (module 'network'): ns3::Address::Address() [constructor]
424
    cls.add_constructor([])
425
    ## address.h (module 'network'): ns3::Address::Address(uint8_t type, uint8_t const * buffer, uint8_t len) [constructor]
426
    cls.add_constructor([param('uint8_t', 'type'), param('uint8_t const *', 'buffer'), param('uint8_t', 'len')])
427
    ## address.h (module 'network'): ns3::Address::Address(ns3::Address const & address) [copy constructor]
428
    cls.add_constructor([param('ns3::Address const &', 'address')])
429
    ## address.h (module 'network'): bool ns3::Address::CheckCompatible(uint8_t type, uint8_t len) const [member function]
430
    cls.add_method('CheckCompatible', 
431
                   'bool', 
432
                   [param('uint8_t', 'type'), param('uint8_t', 'len')], 
433
                   is_const=True)
434
    ## address.h (module 'network'): uint32_t ns3::Address::CopyAllFrom(uint8_t const * buffer, uint8_t len) [member function]
435
    cls.add_method('CopyAllFrom', 
436
                   'uint32_t', 
437
                   [param('uint8_t const *', 'buffer'), param('uint8_t', 'len')])
438
    ## address.h (module 'network'): uint32_t ns3::Address::CopyAllTo(uint8_t * buffer, uint8_t len) const [member function]
439
    cls.add_method('CopyAllTo', 
440
                   'uint32_t', 
441
                   [param('uint8_t *', 'buffer'), param('uint8_t', 'len')], 
442
                   is_const=True)
443
    ## address.h (module 'network'): uint32_t ns3::Address::CopyFrom(uint8_t const * buffer, uint8_t len) [member function]
444
    cls.add_method('CopyFrom', 
445
                   'uint32_t', 
446
                   [param('uint8_t const *', 'buffer'), param('uint8_t', 'len')])
447
    ## address.h (module 'network'): uint32_t ns3::Address::CopyTo(uint8_t * buffer) const [member function]
448
    cls.add_method('CopyTo', 
449
                   'uint32_t', 
450
                   [param('uint8_t *', 'buffer')], 
451
                   is_const=True)
452
    ## address.h (module 'network'): void ns3::Address::Deserialize(ns3::TagBuffer buffer) [member function]
453
    cls.add_method('Deserialize', 
454
                   'void', 
455
                   [param('ns3::TagBuffer', 'buffer')])
456
    ## address.h (module 'network'): uint8_t ns3::Address::GetLength() const [member function]
457
    cls.add_method('GetLength', 
458
                   'uint8_t', 
459
                   [], 
460
                   is_const=True)
461
    ## address.h (module 'network'): uint32_t ns3::Address::GetSerializedSize() const [member function]
462
    cls.add_method('GetSerializedSize', 
463
                   'uint32_t', 
464
                   [], 
465
                   is_const=True)
466
    ## address.h (module 'network'): bool ns3::Address::IsInvalid() const [member function]
467
    cls.add_method('IsInvalid', 
468
                   'bool', 
469
                   [], 
470
                   is_const=True)
471
    ## address.h (module 'network'): bool ns3::Address::IsMatchingType(uint8_t type) const [member function]
472
    cls.add_method('IsMatchingType', 
473
                   'bool', 
474
                   [param('uint8_t', 'type')], 
475
                   is_const=True)
476
    ## address.h (module 'network'): static uint8_t ns3::Address::Register() [member function]
477
    cls.add_method('Register', 
478
                   'uint8_t', 
479
                   [], 
480
                   is_static=True)
481
    ## address.h (module 'network'): void ns3::Address::Serialize(ns3::TagBuffer buffer) const [member function]
482
    cls.add_method('Serialize', 
483
                   'void', 
484
                   [param('ns3::TagBuffer', 'buffer')], 
485
                   is_const=True)
486
    return
487
488
def register_Ns3AsciiTraceHelper_methods(root_module, cls):
489
    ## trace-helper.h (module 'network'): ns3::AsciiTraceHelper::AsciiTraceHelper(ns3::AsciiTraceHelper const & arg0) [copy constructor]
490
    cls.add_constructor([param('ns3::AsciiTraceHelper const &', 'arg0')])
491
    ## trace-helper.h (module 'network'): ns3::AsciiTraceHelper::AsciiTraceHelper() [constructor]
492
    cls.add_constructor([])
493
    ## 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]
494
    cls.add_method('CreateFileStream', 
495
                   'ns3::Ptr< ns3::OutputStreamWrapper >', 
496
                   [param('std::string', 'filename'), param('std::_Ios_Openmode', 'filemode', default_value='std::ios_base::out')])
497
    ## 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]
498
    cls.add_method('DefaultDequeueSinkWithContext', 
499
                   'void', 
500
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')], 
501
                   is_static=True)
502
    ## trace-helper.h (module 'network'): static void ns3::AsciiTraceHelper::DefaultDequeueSinkWithoutContext(ns3::Ptr<ns3::OutputStreamWrapper> file, ns3::Ptr<const ns3::Packet> p) [member function]
503
    cls.add_method('DefaultDequeueSinkWithoutContext', 
504
                   'void', 
505
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('ns3::Ptr< ns3::Packet const >', 'p')], 
506
                   is_static=True)
507
    ## 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]
508
    cls.add_method('DefaultDropSinkWithContext', 
509
                   'void', 
510
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')], 
511
                   is_static=True)
512
    ## trace-helper.h (module 'network'): static void ns3::AsciiTraceHelper::DefaultDropSinkWithoutContext(ns3::Ptr<ns3::OutputStreamWrapper> file, ns3::Ptr<const ns3::Packet> p) [member function]
513
    cls.add_method('DefaultDropSinkWithoutContext', 
514
                   'void', 
515
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('ns3::Ptr< ns3::Packet const >', 'p')], 
516
                   is_static=True)
517
    ## 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]
518
    cls.add_method('DefaultEnqueueSinkWithContext', 
519
                   'void', 
520
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')], 
521
                   is_static=True)
522
    ## trace-helper.h (module 'network'): static void ns3::AsciiTraceHelper::DefaultEnqueueSinkWithoutContext(ns3::Ptr<ns3::OutputStreamWrapper> file, ns3::Ptr<const ns3::Packet> p) [member function]
523
    cls.add_method('DefaultEnqueueSinkWithoutContext', 
524
                   'void', 
525
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('ns3::Ptr< ns3::Packet const >', 'p')], 
526
                   is_static=True)
527
    ## 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]
528
    cls.add_method('DefaultReceiveSinkWithContext', 
529
                   'void', 
530
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')], 
531
                   is_static=True)
532
    ## trace-helper.h (module 'network'): static void ns3::AsciiTraceHelper::DefaultReceiveSinkWithoutContext(ns3::Ptr<ns3::OutputStreamWrapper> file, ns3::Ptr<const ns3::Packet> p) [member function]
533
    cls.add_method('DefaultReceiveSinkWithoutContext', 
534
                   'void', 
535
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('ns3::Ptr< ns3::Packet const >', 'p')], 
536
                   is_static=True)
537
    ## trace-helper.h (module 'network'): std::string ns3::AsciiTraceHelper::GetFilenameFromDevice(std::string prefix, ns3::Ptr<ns3::NetDevice> device, bool useObjectNames=true) [member function]
538
    cls.add_method('GetFilenameFromDevice', 
539
                   'std::string', 
540
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'device'), param('bool', 'useObjectNames', default_value='true')])
541
    ## 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]
542
    cls.add_method('GetFilenameFromInterfacePair', 
543
                   'std::string', 
544
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Object >', 'object'), param('uint32_t', 'interface'), param('bool', 'useObjectNames', default_value='true')])
545
    return
546
547
def register_Ns3AsciiTraceHelperForDevice_methods(root_module, cls):
548
    ## trace-helper.h (module 'network'): ns3::AsciiTraceHelperForDevice::AsciiTraceHelperForDevice(ns3::AsciiTraceHelperForDevice const & arg0) [copy constructor]
549
    cls.add_constructor([param('ns3::AsciiTraceHelperForDevice const &', 'arg0')])
550
    ## trace-helper.h (module 'network'): ns3::AsciiTraceHelperForDevice::AsciiTraceHelperForDevice() [constructor]
551
    cls.add_constructor([])
552
    ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, ns3::Ptr<ns3::NetDevice> nd, bool explicitFilename=false) [member function]
553
    cls.add_method('EnableAscii', 
554
                   'void', 
555
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'explicitFilename', default_value='false')])
556
    ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr<ns3::OutputStreamWrapper> stream, ns3::Ptr<ns3::NetDevice> nd) [member function]
557
    cls.add_method('EnableAscii', 
558
                   'void', 
559
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::Ptr< ns3::NetDevice >', 'nd')])
560
    ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, std::string ndName, bool explicitFilename=false) [member function]
561
    cls.add_method('EnableAscii', 
562
                   'void', 
563
                   [param('std::string', 'prefix'), param('std::string', 'ndName'), param('bool', 'explicitFilename', default_value='false')])
564
    ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr<ns3::OutputStreamWrapper> stream, std::string ndName) [member function]
565
    cls.add_method('EnableAscii', 
566
                   'void', 
567
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'ndName')])
568
    ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, ns3::NetDeviceContainer d) [member function]
569
    cls.add_method('EnableAscii', 
570
                   'void', 
571
                   [param('std::string', 'prefix'), param('ns3::NetDeviceContainer', 'd')])
572
    ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr<ns3::OutputStreamWrapper> stream, ns3::NetDeviceContainer d) [member function]
573
    cls.add_method('EnableAscii', 
574
                   'void', 
575
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::NetDeviceContainer', 'd')])
576
    ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, ns3::NodeContainer n) [member function]
577
    cls.add_method('EnableAscii', 
578
                   'void', 
579
                   [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')])
580
    ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr<ns3::OutputStreamWrapper> stream, ns3::NodeContainer n) [member function]
581
    cls.add_method('EnableAscii', 
582
                   'void', 
583
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::NodeContainer', 'n')])
584
    ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, uint32_t nodeid, uint32_t deviceid, bool explicitFilename) [member function]
585
    cls.add_method('EnableAscii', 
586
                   'void', 
587
                   [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid'), param('bool', 'explicitFilename')])
588
    ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr<ns3::OutputStreamWrapper> stream, uint32_t nodeid, uint32_t deviceid) [member function]
589
    cls.add_method('EnableAscii', 
590
                   'void', 
591
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid')])
592
    ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAsciiAll(std::string prefix) [member function]
593
    cls.add_method('EnableAsciiAll', 
594
                   'void', 
595
                   [param('std::string', 'prefix')])
596
    ## trace-helper.h (module 'network'): void ns3::AsciiTraceHelperForDevice::EnableAsciiAll(ns3::Ptr<ns3::OutputStreamWrapper> stream) [member function]
597
    cls.add_method('EnableAsciiAll', 
598
                   'void', 
599
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')])
600
    ## 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]
601
    cls.add_method('EnableAsciiInternal', 
602
                   'void', 
603
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'explicitFilename')], 
604
                   is_pure_virtual=True, is_virtual=True)
605
    return
606
607
def register_Ns3AsciiTraceHelperForIpv4_methods(root_module, cls):
608
    ## internet-trace-helper.h (module 'internet'): ns3::AsciiTraceHelperForIpv4::AsciiTraceHelperForIpv4(ns3::AsciiTraceHelperForIpv4 const & arg0) [copy constructor]
609
    cls.add_constructor([param('ns3::AsciiTraceHelperForIpv4 const &', 'arg0')])
610
    ## internet-trace-helper.h (module 'internet'): ns3::AsciiTraceHelperForIpv4::AsciiTraceHelperForIpv4() [constructor]
611
    cls.add_constructor([])
612
    ## 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]
613
    cls.add_method('EnableAsciiIpv4', 
614
                   'void', 
615
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')])
616
    ## 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]
617
    cls.add_method('EnableAsciiIpv4', 
618
                   'void', 
619
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface')])
620
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, std::string ipv4Name, uint32_t interface, bool explicitFilename=false) [member function]
621
    cls.add_method('EnableAsciiIpv4', 
622
                   'void', 
623
                   [param('std::string', 'prefix'), param('std::string', 'ipv4Name'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')])
624
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr<ns3::OutputStreamWrapper> stream, std::string ipv4Name, uint32_t interface) [member function]
625
    cls.add_method('EnableAsciiIpv4', 
626
                   'void', 
627
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'ipv4Name'), param('uint32_t', 'interface')])
628
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, ns3::Ipv4InterfaceContainer c) [member function]
629
    cls.add_method('EnableAsciiIpv4', 
630
                   'void', 
631
                   [param('std::string', 'prefix'), param('ns3::Ipv4InterfaceContainer', 'c')])
632
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr<ns3::OutputStreamWrapper> stream, ns3::Ipv4InterfaceContainer c) [member function]
633
    cls.add_method('EnableAsciiIpv4', 
634
                   'void', 
635
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::Ipv4InterfaceContainer', 'c')])
636
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, ns3::NodeContainer n) [member function]
637
    cls.add_method('EnableAsciiIpv4', 
638
                   'void', 
639
                   [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')])
640
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr<ns3::OutputStreamWrapper> stream, ns3::NodeContainer n) [member function]
641
    cls.add_method('EnableAsciiIpv4', 
642
                   'void', 
643
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::NodeContainer', 'n')])
644
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, uint32_t nodeid, uint32_t deviceid, bool explicitFilename) [member function]
645
    cls.add_method('EnableAsciiIpv4', 
646
                   'void', 
647
                   [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid'), param('bool', 'explicitFilename')])
648
    ## 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]
649
    cls.add_method('EnableAsciiIpv4', 
650
                   'void', 
651
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('uint32_t', 'nodeid'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')])
652
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4All(std::string prefix) [member function]
653
    cls.add_method('EnableAsciiIpv4All', 
654
                   'void', 
655
                   [param('std::string', 'prefix')])
656
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4All(ns3::Ptr<ns3::OutputStreamWrapper> stream) [member function]
657
    cls.add_method('EnableAsciiIpv4All', 
658
                   'void', 
659
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')])
660
    ## 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]
661
    cls.add_method('EnableAsciiIpv4Internal', 
662
                   'void', 
663
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], 
664
                   is_pure_virtual=True, is_virtual=True)
665
    return
666
667
def register_Ns3AsciiTraceHelperForIpv6_methods(root_module, cls):
668
    ## internet-trace-helper.h (module 'internet'): ns3::AsciiTraceHelperForIpv6::AsciiTraceHelperForIpv6(ns3::AsciiTraceHelperForIpv6 const & arg0) [copy constructor]
669
    cls.add_constructor([param('ns3::AsciiTraceHelperForIpv6 const &', 'arg0')])
670
    ## internet-trace-helper.h (module 'internet'): ns3::AsciiTraceHelperForIpv6::AsciiTraceHelperForIpv6() [constructor]
671
    cls.add_constructor([])
672
    ## 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]
673
    cls.add_method('EnableAsciiIpv6', 
674
                   'void', 
675
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')])
676
    ## 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]
677
    cls.add_method('EnableAsciiIpv6', 
678
                   'void', 
679
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface')])
680
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, std::string ipv6Name, uint32_t interface, bool explicitFilename=false) [member function]
681
    cls.add_method('EnableAsciiIpv6', 
682
                   'void', 
683
                   [param('std::string', 'prefix'), param('std::string', 'ipv6Name'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')])
684
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr<ns3::OutputStreamWrapper> stream, std::string ipv6Name, uint32_t interface) [member function]
685
    cls.add_method('EnableAsciiIpv6', 
686
                   'void', 
687
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'ipv6Name'), param('uint32_t', 'interface')])
688
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, ns3::Ipv6InterfaceContainer c) [member function]
689
    cls.add_method('EnableAsciiIpv6', 
690
                   'void', 
691
                   [param('std::string', 'prefix'), param('ns3::Ipv6InterfaceContainer', 'c')])
692
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr<ns3::OutputStreamWrapper> stream, ns3::Ipv6InterfaceContainer c) [member function]
693
    cls.add_method('EnableAsciiIpv6', 
694
                   'void', 
695
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::Ipv6InterfaceContainer', 'c')])
696
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, ns3::NodeContainer n) [member function]
697
    cls.add_method('EnableAsciiIpv6', 
698
                   'void', 
699
                   [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')])
700
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr<ns3::OutputStreamWrapper> stream, ns3::NodeContainer n) [member function]
701
    cls.add_method('EnableAsciiIpv6', 
702
                   'void', 
703
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::NodeContainer', 'n')])
704
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, uint32_t nodeid, uint32_t interface, bool explicitFilename) [member function]
705
    cls.add_method('EnableAsciiIpv6', 
706
                   'void', 
707
                   [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')])
708
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr<ns3::OutputStreamWrapper> stream, uint32_t nodeid, uint32_t interface) [member function]
709
    cls.add_method('EnableAsciiIpv6', 
710
                   'void', 
711
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('uint32_t', 'nodeid'), param('uint32_t', 'interface')])
712
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6All(std::string prefix) [member function]
713
    cls.add_method('EnableAsciiIpv6All', 
714
                   'void', 
715
                   [param('std::string', 'prefix')])
716
    ## internet-trace-helper.h (module 'internet'): void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6All(ns3::Ptr<ns3::OutputStreamWrapper> stream) [member function]
717
    cls.add_method('EnableAsciiIpv6All', 
718
                   'void', 
719
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')])
720
    ## 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]
721
    cls.add_method('EnableAsciiIpv6Internal', 
722
                   'void', 
723
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], 
724
                   is_pure_virtual=True, is_virtual=True)
725
    return
726
727
def register_Ns3AttributeList_methods(root_module, cls):
728
    ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor]
729
    cls.add_constructor([])
730
    ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor]
731
    cls.add_constructor([param('ns3::AttributeList const &', 'o')])
732
    ## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function]
733
    cls.add_method('DeserializeFromString', 
734
                   'bool', 
735
                   [param('std::string', 'value')])
736
    ## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function]
737
    cls.add_method('GetGlobal', 
738
                   'ns3::AttributeList *', 
739
                   [], 
740
                   is_static=True)
741
    ## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function]
742
    cls.add_method('Reset', 
743
                   'void', 
744
                   [])
745
    ## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function]
746
    cls.add_method('SerializeToString', 
747
                   'std::string', 
748
                   [], 
749
                   is_const=True)
750
    ## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function]
751
    cls.add_method('Set', 
752
                   'void', 
753
                   [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
754
    ## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function]
755
    cls.add_method('SetFailSafe', 
756
                   'bool', 
757
                   [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
758
    ## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function]
759
    cls.add_method('SetWithTid', 
760
                   'void', 
761
                   [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
762
    return
763
764
def register_Ns3Buffer_methods(root_module, cls):
765
    ## buffer.h (module 'network'): ns3::Buffer::Buffer() [constructor]
766
    cls.add_constructor([])
767
    ## buffer.h (module 'network'): ns3::Buffer::Buffer(uint32_t dataSize) [constructor]
768
    cls.add_constructor([param('uint32_t', 'dataSize')])
769
    ## buffer.h (module 'network'): ns3::Buffer::Buffer(uint32_t dataSize, bool initialize) [constructor]
770
    cls.add_constructor([param('uint32_t', 'dataSize'), param('bool', 'initialize')])
771
    ## buffer.h (module 'network'): ns3::Buffer::Buffer(ns3::Buffer const & o) [copy constructor]
772
    cls.add_constructor([param('ns3::Buffer const &', 'o')])
773
    ## buffer.h (module 'network'): bool ns3::Buffer::AddAtEnd(uint32_t end) [member function]
774
    cls.add_method('AddAtEnd', 
775
                   'bool', 
776
                   [param('uint32_t', 'end')])
777
    ## buffer.h (module 'network'): void ns3::Buffer::AddAtEnd(ns3::Buffer const & o) [member function]
778
    cls.add_method('AddAtEnd', 
779
                   'void', 
780
                   [param('ns3::Buffer const &', 'o')])
781
    ## buffer.h (module 'network'): bool ns3::Buffer::AddAtStart(uint32_t start) [member function]
782
    cls.add_method('AddAtStart', 
783
                   'bool', 
784
                   [param('uint32_t', 'start')])
785
    ## buffer.h (module 'network'): ns3::Buffer::Iterator ns3::Buffer::Begin() const [member function]
786
    cls.add_method('Begin', 
787
                   'ns3::Buffer::Iterator', 
788
                   [], 
789
                   is_const=True)
790
    ## buffer.h (module 'network'): void ns3::Buffer::CopyData(std::ostream * os, uint32_t size) const [member function]
791
    cls.add_method('CopyData', 
792
                   'void', 
793
                   [param('std::ostream *', 'os'), param('uint32_t', 'size')], 
794
                   is_const=True)
795
    ## buffer.h (module 'network'): uint32_t ns3::Buffer::CopyData(uint8_t * buffer, uint32_t size) const [member function]
796
    cls.add_method('CopyData', 
797
                   'uint32_t', 
798
                   [param('uint8_t *', 'buffer'), param('uint32_t', 'size')], 
799
                   is_const=True)
800
    ## buffer.h (module 'network'): ns3::Buffer ns3::Buffer::CreateFragment(uint32_t start, uint32_t length) const [member function]
801
    cls.add_method('CreateFragment', 
802
                   'ns3::Buffer', 
803
                   [param('uint32_t', 'start'), param('uint32_t', 'length')], 
804
                   is_const=True)
805
    ## buffer.h (module 'network'): ns3::Buffer ns3::Buffer::CreateFullCopy() const [member function]
806
    cls.add_method('CreateFullCopy', 
807
                   'ns3::Buffer', 
808
                   [], 
809
                   is_const=True)
810
    ## buffer.h (module 'network'): uint32_t ns3::Buffer::Deserialize(uint8_t const * buffer, uint32_t size) [member function]
811
    cls.add_method('Deserialize', 
812
                   'uint32_t', 
813
                   [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
814
    ## buffer.h (module 'network'): ns3::Buffer::Iterator ns3::Buffer::End() const [member function]
815
    cls.add_method('End', 
816
                   'ns3::Buffer::Iterator', 
817
                   [], 
818
                   is_const=True)
819
    ## buffer.h (module 'network'): int32_t ns3::Buffer::GetCurrentEndOffset() const [member function]
820
    cls.add_method('GetCurrentEndOffset', 
821
                   'int32_t', 
822
                   [], 
823
                   is_const=True)
824
    ## buffer.h (module 'network'): int32_t ns3::Buffer::GetCurrentStartOffset() const [member function]
825
    cls.add_method('GetCurrentStartOffset', 
826
                   'int32_t', 
827
                   [], 
828
                   is_const=True)
829
    ## buffer.h (module 'network'): uint32_t ns3::Buffer::GetSerializedSize() const [member function]
830
    cls.add_method('GetSerializedSize', 
831
                   'uint32_t', 
832
                   [], 
833
                   is_const=True)
834
    ## buffer.h (module 'network'): uint32_t ns3::Buffer::GetSize() const [member function]
835
    cls.add_method('GetSize', 
836
                   'uint32_t', 
837
                   [], 
838
                   is_const=True)
839
    ## buffer.h (module 'network'): uint8_t const * ns3::Buffer::PeekData() const [member function]
840
    cls.add_method('PeekData', 
841
                   'uint8_t const *', 
842
                   [], 
843
                   is_const=True)
844
    ## buffer.h (module 'network'): void ns3::Buffer::RemoveAtEnd(uint32_t end) [member function]
845
    cls.add_method('RemoveAtEnd', 
846
                   'void', 
847
                   [param('uint32_t', 'end')])
848
    ## buffer.h (module 'network'): void ns3::Buffer::RemoveAtStart(uint32_t start) [member function]
849
    cls.add_method('RemoveAtStart', 
850
                   'void', 
851
                   [param('uint32_t', 'start')])
852
    ## buffer.h (module 'network'): uint32_t ns3::Buffer::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
853
    cls.add_method('Serialize', 
854
                   'uint32_t', 
855
                   [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')], 
856
                   is_const=True)
857
    return
858
859
def register_Ns3BufferIterator_methods(root_module, cls):
860
    ## buffer.h (module 'network'): ns3::Buffer::Iterator::Iterator(ns3::Buffer::Iterator const & arg0) [copy constructor]
861
    cls.add_constructor([param('ns3::Buffer::Iterator const &', 'arg0')])
862
    ## buffer.h (module 'network'): ns3::Buffer::Iterator::Iterator() [constructor]
863
    cls.add_constructor([])
864
    ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::CalculateIpChecksum(uint16_t size) [member function]
865
    cls.add_method('CalculateIpChecksum', 
866
                   'uint16_t', 
867
                   [param('uint16_t', 'size')])
868
    ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::CalculateIpChecksum(uint16_t size, uint32_t initialChecksum) [member function]
869
    cls.add_method('CalculateIpChecksum', 
870
                   'uint16_t', 
871
                   [param('uint16_t', 'size'), param('uint32_t', 'initialChecksum')])
872
    ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::GetDistanceFrom(ns3::Buffer::Iterator const & o) const [member function]
873
    cls.add_method('GetDistanceFrom', 
874
                   'uint32_t', 
875
                   [param('ns3::Buffer::Iterator const &', 'o')], 
876
                   is_const=True)
877
    ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::GetSize() const [member function]
878
    cls.add_method('GetSize', 
879
                   'uint32_t', 
880
                   [], 
881
                   is_const=True)
882
    ## buffer.h (module 'network'): bool ns3::Buffer::Iterator::IsEnd() const [member function]
883
    cls.add_method('IsEnd', 
884
                   'bool', 
885
                   [], 
886
                   is_const=True)
887
    ## buffer.h (module 'network'): bool ns3::Buffer::Iterator::IsStart() const [member function]
888
    cls.add_method('IsStart', 
889
                   'bool', 
890
                   [], 
891
                   is_const=True)
892
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Next() [member function]
893
    cls.add_method('Next', 
894
                   'void', 
895
                   [])
896
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Next(uint32_t delta) [member function]
897
    cls.add_method('Next', 
898
                   'void', 
899
                   [param('uint32_t', 'delta')])
900
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Prev() [member function]
901
    cls.add_method('Prev', 
902
                   'void', 
903
                   [])
904
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Prev(uint32_t delta) [member function]
905
    cls.add_method('Prev', 
906
                   'void', 
907
                   [param('uint32_t', 'delta')])
908
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Read(uint8_t * buffer, uint32_t size) [member function]
909
    cls.add_method('Read', 
910
                   'void', 
911
                   [param('uint8_t *', 'buffer'), param('uint32_t', 'size')])
912
    ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadLsbtohU16() [member function]
913
    cls.add_method('ReadLsbtohU16', 
914
                   'uint16_t', 
915
                   [])
916
    ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadLsbtohU32() [member function]
917
    cls.add_method('ReadLsbtohU32', 
918
                   'uint32_t', 
919
                   [])
920
    ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadLsbtohU64() [member function]
921
    cls.add_method('ReadLsbtohU64', 
922
                   'uint64_t', 
923
                   [])
924
    ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadNtohU16() [member function]
925
    cls.add_method('ReadNtohU16', 
926
                   'uint16_t', 
927
                   [])
928
    ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadNtohU32() [member function]
929
    cls.add_method('ReadNtohU32', 
930
                   'uint32_t', 
931
                   [])
932
    ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadNtohU64() [member function]
933
    cls.add_method('ReadNtohU64', 
934
                   'uint64_t', 
935
                   [])
936
    ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadU16() [member function]
937
    cls.add_method('ReadU16', 
938
                   'uint16_t', 
939
                   [])
940
    ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadU32() [member function]
941
    cls.add_method('ReadU32', 
942
                   'uint32_t', 
943
                   [])
944
    ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadU64() [member function]
945
    cls.add_method('ReadU64', 
946
                   'uint64_t', 
947
                   [])
948
    ## buffer.h (module 'network'): uint8_t ns3::Buffer::Iterator::ReadU8() [member function]
949
    cls.add_method('ReadU8', 
950
                   'uint8_t', 
951
                   [])
952
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Write(uint8_t const * buffer, uint32_t size) [member function]
953
    cls.add_method('Write', 
954
                   'void', 
955
                   [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
956
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Write(ns3::Buffer::Iterator start, ns3::Buffer::Iterator end) [member function]
957
    cls.add_method('Write', 
958
                   'void', 
959
                   [param('ns3::Buffer::Iterator', 'start'), param('ns3::Buffer::Iterator', 'end')])
960
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU16(uint16_t data) [member function]
961
    cls.add_method('WriteHtolsbU16', 
962
                   'void', 
963
                   [param('uint16_t', 'data')])
964
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU32(uint32_t data) [member function]
965
    cls.add_method('WriteHtolsbU32', 
966
                   'void', 
967
                   [param('uint32_t', 'data')])
968
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU64(uint64_t data) [member function]
969
    cls.add_method('WriteHtolsbU64', 
970
                   'void', 
971
                   [param('uint64_t', 'data')])
972
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU16(uint16_t data) [member function]
973
    cls.add_method('WriteHtonU16', 
974
                   'void', 
975
                   [param('uint16_t', 'data')])
976
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU32(uint32_t data) [member function]
977
    cls.add_method('WriteHtonU32', 
978
                   'void', 
979
                   [param('uint32_t', 'data')])
980
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU64(uint64_t data) [member function]
981
    cls.add_method('WriteHtonU64', 
982
                   'void', 
983
                   [param('uint64_t', 'data')])
984
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU16(uint16_t data) [member function]
985
    cls.add_method('WriteU16', 
986
                   'void', 
987
                   [param('uint16_t', 'data')])
988
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU32(uint32_t data) [member function]
989
    cls.add_method('WriteU32', 
990
                   'void', 
991
                   [param('uint32_t', 'data')])
992
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU64(uint64_t data) [member function]
993
    cls.add_method('WriteU64', 
994
                   'void', 
995
                   [param('uint64_t', 'data')])
996
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU8(uint8_t data) [member function]
997
    cls.add_method('WriteU8', 
998
                   'void', 
999
                   [param('uint8_t', 'data')])
1000
    ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU8(uint8_t data, uint32_t len) [member function]
1001
    cls.add_method('WriteU8', 
1002
                   'void', 
1003
                   [param('uint8_t', 'data'), param('uint32_t', 'len')])
1004
    return
1005
1006
def register_Ns3ByteTagIterator_methods(root_module, cls):
1007
    ## packet.h (module 'network'): ns3::ByteTagIterator::ByteTagIterator(ns3::ByteTagIterator const & arg0) [copy constructor]
1008
    cls.add_constructor([param('ns3::ByteTagIterator const &', 'arg0')])
1009
    ## packet.h (module 'network'): bool ns3::ByteTagIterator::HasNext() const [member function]
1010
    cls.add_method('HasNext', 
1011
                   'bool', 
1012
                   [], 
1013
                   is_const=True)
1014
    ## packet.h (module 'network'): ns3::ByteTagIterator::Item ns3::ByteTagIterator::Next() [member function]
1015
    cls.add_method('Next', 
1016
                   'ns3::ByteTagIterator::Item', 
1017
                   [])
1018
    return
1019
1020
def register_Ns3ByteTagIteratorItem_methods(root_module, cls):
1021
    ## packet.h (module 'network'): ns3::ByteTagIterator::Item::Item(ns3::ByteTagIterator::Item const & arg0) [copy constructor]
1022
    cls.add_constructor([param('ns3::ByteTagIterator::Item const &', 'arg0')])
1023
    ## packet.h (module 'network'): uint32_t ns3::ByteTagIterator::Item::GetEnd() const [member function]
1024
    cls.add_method('GetEnd', 
1025
                   'uint32_t', 
1026
                   [], 
1027
                   is_const=True)
1028
    ## packet.h (module 'network'): uint32_t ns3::ByteTagIterator::Item::GetStart() const [member function]
1029
    cls.add_method('GetStart', 
1030
                   'uint32_t', 
1031
                   [], 
1032
                   is_const=True)
1033
    ## packet.h (module 'network'): void ns3::ByteTagIterator::Item::GetTag(ns3::Tag & tag) const [member function]
1034
    cls.add_method('GetTag', 
1035
                   'void', 
1036
                   [param('ns3::Tag &', 'tag')], 
1037
                   is_const=True)
1038
    ## packet.h (module 'network'): ns3::TypeId ns3::ByteTagIterator::Item::GetTypeId() const [member function]
1039
    cls.add_method('GetTypeId', 
1040
                   'ns3::TypeId', 
1041
                   [], 
1042
                   is_const=True)
1043
    return
1044
1045
def register_Ns3ByteTagList_methods(root_module, cls):
1046
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::ByteTagList() [constructor]
1047
    cls.add_constructor([])
1048
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::ByteTagList(ns3::ByteTagList const & o) [copy constructor]
1049
    cls.add_constructor([param('ns3::ByteTagList const &', 'o')])
1050
    ## 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]
1051
    cls.add_method('Add', 
1052
                   'ns3::TagBuffer', 
1053
                   [param('ns3::TypeId', 'tid'), param('uint32_t', 'bufferSize'), param('int32_t', 'start'), param('int32_t', 'end')])
1054
    ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::Add(ns3::ByteTagList const & o) [member function]
1055
    cls.add_method('Add', 
1056
                   'void', 
1057
                   [param('ns3::ByteTagList const &', 'o')])
1058
    ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::AddAtEnd(int32_t adjustment, int32_t appendOffset) [member function]
1059
    cls.add_method('AddAtEnd', 
1060
                   'void', 
1061
                   [param('int32_t', 'adjustment'), param('int32_t', 'appendOffset')])
1062
    ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::AddAtStart(int32_t adjustment, int32_t prependOffset) [member function]
1063
    cls.add_method('AddAtStart', 
1064
                   'void', 
1065
                   [param('int32_t', 'adjustment'), param('int32_t', 'prependOffset')])
1066
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator ns3::ByteTagList::Begin(int32_t offsetStart, int32_t offsetEnd) const [member function]
1067
    cls.add_method('Begin', 
1068
                   'ns3::ByteTagList::Iterator', 
1069
                   [param('int32_t', 'offsetStart'), param('int32_t', 'offsetEnd')], 
1070
                   is_const=True)
1071
    ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::RemoveAll() [member function]
1072
    cls.add_method('RemoveAll', 
1073
                   'void', 
1074
                   [])
1075
    return
1076
1077
def register_Ns3ByteTagListIterator_methods(root_module, cls):
1078
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Iterator(ns3::ByteTagList::Iterator const & arg0) [copy constructor]
1079
    cls.add_constructor([param('ns3::ByteTagList::Iterator const &', 'arg0')])
1080
    ## byte-tag-list.h (module 'network'): uint32_t ns3::ByteTagList::Iterator::GetOffsetStart() const [member function]
1081
    cls.add_method('GetOffsetStart', 
1082
                   'uint32_t', 
1083
                   [], 
1084
                   is_const=True)
1085
    ## byte-tag-list.h (module 'network'): bool ns3::ByteTagList::Iterator::HasNext() const [member function]
1086
    cls.add_method('HasNext', 
1087
                   'bool', 
1088
                   [], 
1089
                   is_const=True)
1090
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item ns3::ByteTagList::Iterator::Next() [member function]
1091
    cls.add_method('Next', 
1092
                   'ns3::ByteTagList::Iterator::Item', 
1093
                   [])
1094
    return
1095
1096
def register_Ns3ByteTagListIteratorItem_methods(root_module, cls):
1097
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::Item(ns3::ByteTagList::Iterator::Item const & arg0) [copy constructor]
1098
    cls.add_constructor([param('ns3::ByteTagList::Iterator::Item const &', 'arg0')])
1099
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::Item(ns3::TagBuffer buf) [constructor]
1100
    cls.add_constructor([param('ns3::TagBuffer', 'buf')])
1101
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::buf [variable]
1102
    cls.add_instance_attribute('buf', 'ns3::TagBuffer', is_const=False)
1103
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::end [variable]
1104
    cls.add_instance_attribute('end', 'int32_t', is_const=False)
1105
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::size [variable]
1106
    cls.add_instance_attribute('size', 'uint32_t', is_const=False)
1107
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::start [variable]
1108
    cls.add_instance_attribute('start', 'int32_t', is_const=False)
1109
    ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::tid [variable]
1110
    cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
1111
    return
1112
1113
def register_Ns3CallbackBase_methods(root_module, cls):
1114
    ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase(ns3::CallbackBase const & arg0) [copy constructor]
1115
    cls.add_constructor([param('ns3::CallbackBase const &', 'arg0')])
1116
    ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase() [constructor]
1117
    cls.add_constructor([])
1118
    ## callback.h (module 'core'): ns3::Ptr<ns3::CallbackImplBase> ns3::CallbackBase::GetImpl() const [member function]
1119
    cls.add_method('GetImpl', 
1120
                   'ns3::Ptr< ns3::CallbackImplBase >', 
1121
                   [], 
1122
                   is_const=True)
1123
    ## callback.h (module 'core'): ns3::CallbackBase::CallbackBase(ns3::Ptr<ns3::CallbackImplBase> impl) [constructor]
1124
    cls.add_constructor([param('ns3::Ptr< ns3::CallbackImplBase >', 'impl')], 
1125
                        visibility='protected')
1126
    ## callback.h (module 'core'): static std::string ns3::CallbackBase::Demangle(std::string const & mangled) [member function]
1127
    cls.add_method('Demangle', 
1128
                   'std::string', 
1129
                   [param('std::string const &', 'mangled')], 
1130
                   is_static=True, visibility='protected')
1131
    return
1132
1133
def register_Ns3EventId_methods(root_module, cls):
1134
    cls.add_binary_comparison_operator('!=')
1135
    cls.add_binary_comparison_operator('==')
1136
    ## event-id.h (module 'core'): ns3::EventId::EventId(ns3::EventId const & arg0) [copy constructor]
1137
    cls.add_constructor([param('ns3::EventId const &', 'arg0')])
1138
    ## event-id.h (module 'core'): ns3::EventId::EventId() [constructor]
1139
    cls.add_constructor([])
1140
    ## event-id.h (module 'core'): ns3::EventId::EventId(ns3::Ptr<ns3::EventImpl> const & impl, uint64_t ts, uint32_t context, uint32_t uid) [constructor]
1141
    cls.add_constructor([param('ns3::Ptr< ns3::EventImpl > const &', 'impl'), param('uint64_t', 'ts'), param('uint32_t', 'context'), param('uint32_t', 'uid')])
1142
    ## event-id.h (module 'core'): void ns3::EventId::Cancel() [member function]
1143
    cls.add_method('Cancel', 
1144
                   'void', 
1145
                   [])
1146
    ## event-id.h (module 'core'): uint32_t ns3::EventId::GetContext() const [member function]
1147
    cls.add_method('GetContext', 
1148
                   'uint32_t', 
1149
                   [], 
1150
                   is_const=True)
1151
    ## event-id.h (module 'core'): uint64_t ns3::EventId::GetTs() const [member function]
1152
    cls.add_method('GetTs', 
1153
                   'uint64_t', 
1154
                   [], 
1155
                   is_const=True)
1156
    ## event-id.h (module 'core'): uint32_t ns3::EventId::GetUid() const [member function]
1157
    cls.add_method('GetUid', 
1158
                   'uint32_t', 
1159
                   [], 
1160
                   is_const=True)
1161
    ## event-id.h (module 'core'): bool ns3::EventId::IsExpired() const [member function]
1162
    cls.add_method('IsExpired', 
1163
                   'bool', 
1164
                   [], 
1165
                   is_const=True)
1166
    ## event-id.h (module 'core'): bool ns3::EventId::IsRunning() const [member function]
1167
    cls.add_method('IsRunning', 
1168
                   'bool', 
1169
                   [], 
1170
                   is_const=True)
1171
    ## event-id.h (module 'core'): ns3::EventImpl * ns3::EventId::PeekEventImpl() const [member function]
1172
    cls.add_method('PeekEventImpl', 
1173
                   'ns3::EventImpl *', 
1174
                   [], 
1175
                   is_const=True)
1176
    return
1177
1178
def register_Ns3Ipv4Address_methods(root_module, cls):
1179
    cls.add_binary_comparison_operator('<')
1180
    cls.add_binary_comparison_operator('!=')
1181
    cls.add_output_stream_operator()
1182
    cls.add_binary_comparison_operator('==')
1183
    ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address(ns3::Ipv4Address const & arg0) [copy constructor]
1184
    cls.add_constructor([param('ns3::Ipv4Address const &', 'arg0')])
1185
    ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address() [constructor]
1186
    cls.add_constructor([])
1187
    ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address(uint32_t address) [constructor]
1188
    cls.add_constructor([param('uint32_t', 'address')])
1189
    ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address(char const * address) [constructor]
1190
    cls.add_constructor([param('char const *', 'address')])
1191
    ## ipv4-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv4Address::CombineMask(ns3::Ipv4Mask const & mask) const [member function]
1192
    cls.add_method('CombineMask', 
1193
                   'ns3::Ipv4Address', 
1194
                   [param('ns3::Ipv4Mask const &', 'mask')], 
1195
                   is_const=True)
1196
    ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::ConvertFrom(ns3::Address const & address) [member function]
1197
    cls.add_method('ConvertFrom', 
1198
                   'ns3::Ipv4Address', 
1199
                   [param('ns3::Address const &', 'address')], 
1200
                   is_static=True)
1201
    ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::Deserialize(uint8_t const * buf) [member function]
1202
    cls.add_method('Deserialize', 
1203
                   'ns3::Ipv4Address', 
1204
                   [param('uint8_t const *', 'buf')], 
1205
                   is_static=True)
1206
    ## ipv4-address.h (module 'network'): uint32_t ns3::Ipv4Address::Get() const [member function]
1207
    cls.add_method('Get', 
1208
                   'uint32_t', 
1209
                   [], 
1210
                   is_const=True)
1211
    ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetAny() [member function]
1212
    cls.add_method('GetAny', 
1213
                   'ns3::Ipv4Address', 
1214
                   [], 
1215
                   is_static=True)
1216
    ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetBroadcast() [member function]
1217
    cls.add_method('GetBroadcast', 
1218
                   'ns3::Ipv4Address', 
1219
                   [], 
1220
                   is_static=True)
1221
    ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetLoopback() [member function]
1222
    cls.add_method('GetLoopback', 
1223
                   'ns3::Ipv4Address', 
1224
                   [], 
1225
                   is_static=True)
1226
    ## ipv4-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv4Address::GetSubnetDirectedBroadcast(ns3::Ipv4Mask const & mask) const [member function]
1227
    cls.add_method('GetSubnetDirectedBroadcast', 
1228
                   'ns3::Ipv4Address', 
1229
                   [param('ns3::Ipv4Mask const &', 'mask')], 
1230
                   is_const=True)
1231
    ## ipv4-address.h (module 'network'): static ns3::Ipv4Address ns3::Ipv4Address::GetZero() [member function]
1232
    cls.add_method('GetZero', 
1233
                   'ns3::Ipv4Address', 
1234
                   [], 
1235
                   is_static=True)
1236
    ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsBroadcast() const [member function]
1237
    cls.add_method('IsBroadcast', 
1238
                   'bool', 
1239
                   [], 
1240
                   is_const=True)
1241
    ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsEqual(ns3::Ipv4Address const & other) const [member function]
1242
    cls.add_method('IsEqual', 
1243
                   'bool', 
1244
                   [param('ns3::Ipv4Address const &', 'other')], 
1245
                   is_const=True)
1246
    ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsLocalMulticast() const [member function]
1247
    cls.add_method('IsLocalMulticast', 
1248
                   'bool', 
1249
                   [], 
1250
                   is_const=True)
1251
    ## ipv4-address.h (module 'network'): static bool ns3::Ipv4Address::IsMatchingType(ns3::Address const & address) [member function]
1252
    cls.add_method('IsMatchingType', 
1253
                   'bool', 
1254
                   [param('ns3::Address const &', 'address')], 
1255
                   is_static=True)
1256
    ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsMulticast() const [member function]
1257
    cls.add_method('IsMulticast', 
1258
                   'bool', 
1259
                   [], 
1260
                   is_const=True)
1261
    ## ipv4-address.h (module 'network'): bool ns3::Ipv4Address::IsSubnetDirectedBroadcast(ns3::Ipv4Mask const & mask) const [member function]
1262
    cls.add_method('IsSubnetDirectedBroadcast', 
1263
                   'bool', 
1264
                   [param('ns3::Ipv4Mask const &', 'mask')], 
1265
                   is_const=True)
1266
    ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Print(std::ostream & os) const [member function]
1267
    cls.add_method('Print', 
1268
                   'void', 
1269
                   [param('std::ostream &', 'os')], 
1270
                   is_const=True)
1271
    ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Serialize(uint8_t * buf) const [member function]
1272
    cls.add_method('Serialize', 
1273
                   'void', 
1274
                   [param('uint8_t *', 'buf')], 
1275
                   is_const=True)
1276
    ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Set(uint32_t address) [member function]
1277
    cls.add_method('Set', 
1278
                   'void', 
1279
                   [param('uint32_t', 'address')])
1280
    ## ipv4-address.h (module 'network'): void ns3::Ipv4Address::Set(char const * address) [member function]
1281
    cls.add_method('Set', 
1282
                   'void', 
1283
                   [param('char const *', 'address')])
1284
    return
1285
1286
def register_Ns3Ipv4AddressHelper_methods(root_module, cls):
1287
    ## ipv4-address-helper.h (module 'internet'): ns3::Ipv4AddressHelper::Ipv4AddressHelper(ns3::Ipv4AddressHelper const & arg0) [copy constructor]
1288
    cls.add_constructor([param('ns3::Ipv4AddressHelper const &', 'arg0')])
1289
    ## ipv4-address-helper.h (module 'internet'): ns3::Ipv4AddressHelper::Ipv4AddressHelper() [constructor]
1290
    cls.add_constructor([])
1291
    ## ipv4-address-helper.h (module 'internet'): ns3::Ipv4AddressHelper::Ipv4AddressHelper(ns3::Ipv4Address network, ns3::Ipv4Mask mask, ns3::Ipv4Address base="0.0.0.1") [constructor]
1292
    cls.add_constructor([param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'mask'), param('ns3::Ipv4Address', 'base', default_value='"0.0.0.1"')])
1293
    ## ipv4-address-helper.h (module 'internet'): ns3::Ipv4InterfaceContainer ns3::Ipv4AddressHelper::Assign(ns3::NetDeviceContainer const & c) [member function]
1294
    cls.add_method('Assign', 
1295
                   'ns3::Ipv4InterfaceContainer', 
1296
                   [param('ns3::NetDeviceContainer const &', 'c')])
1297
    ## ipv4-address-helper.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4AddressHelper::NewAddress() [member function]
1298
    cls.add_method('NewAddress', 
1299
                   'ns3::Ipv4Address', 
1300
                   [])
1301
    ## ipv4-address-helper.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4AddressHelper::NewNetwork() [member function]
1302
    cls.add_method('NewNetwork', 
1303
                   'ns3::Ipv4Address', 
1304
                   [])
1305
    ## 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]
1306
    cls.add_method('SetBase', 
1307
                   'void', 
1308
                   [param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'mask'), param('ns3::Ipv4Address', 'base', default_value='"0.0.0.1"')])
1309
    return
1310
1311
def register_Ns3Ipv4InterfaceAddress_methods(root_module, cls):
1312
    cls.add_binary_comparison_operator('!=')
1313
    cls.add_output_stream_operator()
1314
    cls.add_binary_comparison_operator('==')
1315
    ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4InterfaceAddress::Ipv4InterfaceAddress() [constructor]
1316
    cls.add_constructor([])
1317
    ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4InterfaceAddress::Ipv4InterfaceAddress(ns3::Ipv4Address local, ns3::Ipv4Mask mask) [constructor]
1318
    cls.add_constructor([param('ns3::Ipv4Address', 'local'), param('ns3::Ipv4Mask', 'mask')])
1319
    ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4InterfaceAddress::Ipv4InterfaceAddress(ns3::Ipv4InterfaceAddress const & o) [copy constructor]
1320
    cls.add_constructor([param('ns3::Ipv4InterfaceAddress const &', 'o')])
1321
    ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4InterfaceAddress::GetBroadcast() const [member function]
1322
    cls.add_method('GetBroadcast', 
1323
                   'ns3::Ipv4Address', 
1324
                   [], 
1325
                   is_const=True)
1326
    ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4InterfaceAddress::GetLocal() const [member function]
1327
    cls.add_method('GetLocal', 
1328
                   'ns3::Ipv4Address', 
1329
                   [], 
1330
                   is_const=True)
1331
    ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4Mask ns3::Ipv4InterfaceAddress::GetMask() const [member function]
1332
    cls.add_method('GetMask', 
1333
                   'ns3::Ipv4Mask', 
1334
                   [], 
1335
                   is_const=True)
1336
    ## ipv4-interface-address.h (module 'internet'): ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e ns3::Ipv4InterfaceAddress::GetScope() const [member function]
1337
    cls.add_method('GetScope', 
1338
                   'ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e', 
1339
                   [], 
1340
                   is_const=True)
1341
    ## ipv4-interface-address.h (module 'internet'): bool ns3::Ipv4InterfaceAddress::IsSecondary() const [member function]
1342
    cls.add_method('IsSecondary', 
1343
                   'bool', 
1344
                   [], 
1345
                   is_const=True)
1346
    ## ipv4-interface-address.h (module 'internet'): void ns3::Ipv4InterfaceAddress::SetBroadcast(ns3::Ipv4Address broadcast) [member function]
1347
    cls.add_method('SetBroadcast', 
1348
                   'void', 
1349
                   [param('ns3::Ipv4Address', 'broadcast')])
1350
    ## ipv4-interface-address.h (module 'internet'): void ns3::Ipv4InterfaceAddress::SetLocal(ns3::Ipv4Address local) [member function]
1351
    cls.add_method('SetLocal', 
1352
                   'void', 
1353
                   [param('ns3::Ipv4Address', 'local')])
1354
    ## ipv4-interface-address.h (module 'internet'): void ns3::Ipv4InterfaceAddress::SetMask(ns3::Ipv4Mask mask) [member function]
1355
    cls.add_method('SetMask', 
1356
                   'void', 
1357
                   [param('ns3::Ipv4Mask', 'mask')])
1358
    ## ipv4-interface-address.h (module 'internet'): void ns3::Ipv4InterfaceAddress::SetPrimary() [member function]
1359
    cls.add_method('SetPrimary', 
1360
                   'void', 
1361
                   [])
1362
    ## ipv4-interface-address.h (module 'internet'): void ns3::Ipv4InterfaceAddress::SetScope(ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e scope) [member function]
1363
    cls.add_method('SetScope', 
1364
                   'void', 
1365
                   [param('ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e', 'scope')])
1366
    ## ipv4-interface-address.h (module 'internet'): void ns3::Ipv4InterfaceAddress::SetSecondary() [member function]
1367
    cls.add_method('SetSecondary', 
1368
                   'void', 
1369
                   [])
1370
    return
1371
1372
def register_Ns3Ipv4InterfaceContainer_methods(root_module, cls):
1373
    ## ipv4-interface-container.h (module 'internet'): ns3::Ipv4InterfaceContainer::Ipv4InterfaceContainer(ns3::Ipv4InterfaceContainer const & arg0) [copy constructor]
1374
    cls.add_constructor([param('ns3::Ipv4InterfaceContainer const &', 'arg0')])
1375
    ## ipv4-interface-container.h (module 'internet'): ns3::Ipv4InterfaceContainer::Ipv4InterfaceContainer() [constructor]
1376
    cls.add_constructor([])
1377
    ## ipv4-interface-container.h (module 'internet'): void ns3::Ipv4InterfaceContainer::Add(ns3::Ipv4InterfaceContainer other) [member function]
1378
    cls.add_method('Add', 
1379
                   'void', 
1380
                   [param('ns3::Ipv4InterfaceContainer', 'other')])
1381
    ## ipv4-interface-container.h (module 'internet'): void ns3::Ipv4InterfaceContainer::Add(ns3::Ptr<ns3::Ipv4> ipv4, uint32_t interface) [member function]
1382
    cls.add_method('Add', 
1383
                   'void', 
1384
                   [param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface')])
1385
    ## ipv4-interface-container.h (module 'internet'): void ns3::Ipv4InterfaceContainer::Add(std::pair<ns3::Ptr<ns3::Ipv4>,unsigned int> ipInterfacePair) [member function]
1386
    cls.add_method('Add', 
1387
                   'void', 
1388
                   [param('std::pair< ns3::Ptr< ns3::Ipv4 >, unsigned int >', 'ipInterfacePair')])
1389
    ## ipv4-interface-container.h (module 'internet'): void ns3::Ipv4InterfaceContainer::Add(std::string ipv4Name, uint32_t interface) [member function]
1390
    cls.add_method('Add', 
1391
                   'void', 
1392
                   [param('std::string', 'ipv4Name'), param('uint32_t', 'interface')])
1393
    ## 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]
1394
    cls.add_method('Begin', 
1395
                   '__gnu_cxx::__normal_iterator< std::pair< ns3::Ptr< ns3::Ipv4 >, unsigned int > const, std::vector< std::pair< ns3::Ptr< ns3::Ipv4 >, unsigned int > > >', 
1396
                   [], 
1397
                   is_const=True)
1398
    ## 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]
1399
    cls.add_method('End', 
1400
                   '__gnu_cxx::__normal_iterator< std::pair< ns3::Ptr< ns3::Ipv4 >, unsigned int > const, std::vector< std::pair< ns3::Ptr< ns3::Ipv4 >, unsigned int > > >', 
1401
                   [], 
1402
                   is_const=True)
1403
    ## ipv4-interface-container.h (module 'internet'): std::pair<ns3::Ptr<ns3::Ipv4>,unsigned int> ns3::Ipv4InterfaceContainer::Get(uint32_t i) const [member function]
1404
    cls.add_method('Get', 
1405
                   'std::pair< ns3::Ptr< ns3::Ipv4 >, unsigned int >', 
1406
                   [param('uint32_t', 'i')], 
1407
                   is_const=True)
1408
    ## ipv4-interface-container.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4InterfaceContainer::GetAddress(uint32_t i, uint32_t j=0) const [member function]
1409
    cls.add_method('GetAddress', 
1410
                   'ns3::Ipv4Address', 
1411
                   [param('uint32_t', 'i'), param('uint32_t', 'j', default_value='0')], 
1412
                   is_const=True)
1413
    ## ipv4-interface-container.h (module 'internet'): uint32_t ns3::Ipv4InterfaceContainer::GetN() const [member function]
1414
    cls.add_method('GetN', 
1415
                   'uint32_t', 
1416
                   [], 
1417
                   is_const=True)
1418
    ## ipv4-interface-container.h (module 'internet'): void ns3::Ipv4InterfaceContainer::SetMetric(uint32_t i, uint16_t metric) [member function]
1419
    cls.add_method('SetMetric', 
1420
                   'void', 
1421
                   [param('uint32_t', 'i'), param('uint16_t', 'metric')])
1422
    return
1423
1424
def register_Ns3Ipv4Mask_methods(root_module, cls):
1425
    cls.add_binary_comparison_operator('!=')
1426
    cls.add_output_stream_operator()
1427
    cls.add_binary_comparison_operator('==')
1428
    ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask(ns3::Ipv4Mask const & arg0) [copy constructor]
1429
    cls.add_constructor([param('ns3::Ipv4Mask const &', 'arg0')])
1430
    ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask() [constructor]
1431
    cls.add_constructor([])
1432
    ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask(uint32_t mask) [constructor]
1433
    cls.add_constructor([param('uint32_t', 'mask')])
1434
    ## ipv4-address.h (module 'network'): ns3::Ipv4Mask::Ipv4Mask(char const * mask) [constructor]
1435
    cls.add_constructor([param('char const *', 'mask')])
1436
    ## ipv4-address.h (module 'network'): uint32_t ns3::Ipv4Mask::Get() const [member function]
1437
    cls.add_method('Get', 
1438
                   'uint32_t', 
1439
                   [], 
1440
                   is_const=True)
1441
    ## ipv4-address.h (module 'network'): uint32_t ns3::Ipv4Mask::GetInverse() const [member function]
1442
    cls.add_method('GetInverse', 
1443
                   'uint32_t', 
1444
                   [], 
1445
                   is_const=True)
1446
    ## ipv4-address.h (module 'network'): static ns3::Ipv4Mask ns3::Ipv4Mask::GetLoopback() [member function]
1447
    cls.add_method('GetLoopback', 
1448
                   'ns3::Ipv4Mask', 
1449
                   [], 
1450
                   is_static=True)
1451
    ## ipv4-address.h (module 'network'): static ns3::Ipv4Mask ns3::Ipv4Mask::GetOnes() [member function]
1452
    cls.add_method('GetOnes', 
1453
                   'ns3::Ipv4Mask', 
1454
                   [], 
1455
                   is_static=True)
1456
    ## ipv4-address.h (module 'network'): uint16_t ns3::Ipv4Mask::GetPrefixLength() const [member function]
1457
    cls.add_method('GetPrefixLength', 
1458
                   'uint16_t', 
1459
                   [], 
1460
                   is_const=True)
1461
    ## ipv4-address.h (module 'network'): static ns3::Ipv4Mask ns3::Ipv4Mask::GetZero() [member function]
1462
    cls.add_method('GetZero', 
1463
                   'ns3::Ipv4Mask', 
1464
                   [], 
1465
                   is_static=True)
1466
    ## ipv4-address.h (module 'network'): bool ns3::Ipv4Mask::IsEqual(ns3::Ipv4Mask other) const [member function]
1467
    cls.add_method('IsEqual', 
1468
                   'bool', 
1469
                   [param('ns3::Ipv4Mask', 'other')], 
1470
                   is_const=True)
1471
    ## ipv4-address.h (module 'network'): bool ns3::Ipv4Mask::IsMatch(ns3::Ipv4Address a, ns3::Ipv4Address b) const [member function]
1472
    cls.add_method('IsMatch', 
1473
                   'bool', 
1474
                   [param('ns3::Ipv4Address', 'a'), param('ns3::Ipv4Address', 'b')], 
1475
                   is_const=True)
1476
    ## ipv4-address.h (module 'network'): void ns3::Ipv4Mask::Print(std::ostream & os) const [member function]
1477
    cls.add_method('Print', 
1478
                   'void', 
1479
                   [param('std::ostream &', 'os')], 
1480
                   is_const=True)
1481
    ## ipv4-address.h (module 'network'): void ns3::Ipv4Mask::Set(uint32_t mask) [member function]
1482
    cls.add_method('Set', 
1483
                   'void', 
1484
                   [param('uint32_t', 'mask')])
1485
    return
1486
1487
def register_Ns3Ipv6Address_methods(root_module, cls):
1488
    cls.add_binary_comparison_operator('<')
1489
    cls.add_binary_comparison_operator('!=')
1490
    cls.add_output_stream_operator()
1491
    cls.add_binary_comparison_operator('==')
1492
    ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address() [constructor]
1493
    cls.add_constructor([])
1494
    ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(char const * address) [constructor]
1495
    cls.add_constructor([param('char const *', 'address')])
1496
    ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(uint8_t * address) [constructor]
1497
    cls.add_constructor([param('uint8_t *', 'address')])
1498
    ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(ns3::Ipv6Address const & addr) [copy constructor]
1499
    cls.add_constructor([param('ns3::Ipv6Address const &', 'addr')])
1500
    ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address(ns3::Ipv6Address const * addr) [constructor]
1501
    cls.add_constructor([param('ns3::Ipv6Address const *', 'addr')])
1502
    ## ipv6-address.h (module 'network'): ns3::Ipv6Address ns3::Ipv6Address::CombinePrefix(ns3::Ipv6Prefix const & prefix) [member function]
1503
    cls.add_method('CombinePrefix', 
1504
                   'ns3::Ipv6Address', 
1505
                   [param('ns3::Ipv6Prefix const &', 'prefix')])
1506
    ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::ConvertFrom(ns3::Address const & address) [member function]
1507
    cls.add_method('ConvertFrom', 
1508
                   'ns3::Ipv6Address', 
1509
                   [param('ns3::Address const &', 'address')], 
1510
                   is_static=True)
1511
    ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::Deserialize(uint8_t const * buf) [member function]
1512
    cls.add_method('Deserialize', 
1513
                   'ns3::Ipv6Address', 
1514
                   [param('uint8_t const *', 'buf')], 
1515
                   is_static=True)
1516
    ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAllHostsMulticast() [member function]
1517
    cls.add_method('GetAllHostsMulticast', 
1518
                   'ns3::Ipv6Address', 
1519
                   [], 
1520
                   is_static=True)
1521
    ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAllNodesMulticast() [member function]
1522
    cls.add_method('GetAllNodesMulticast', 
1523
                   'ns3::Ipv6Address', 
1524
                   [], 
1525
                   is_static=True)
1526
    ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAllRoutersMulticast() [member function]
1527
    cls.add_method('GetAllRoutersMulticast', 
1528
                   'ns3::Ipv6Address', 
1529
                   [], 
1530
                   is_static=True)
1531
    ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetAny() [member function]
1532
    cls.add_method('GetAny', 
1533
                   'ns3::Ipv6Address', 
1534
                   [], 
1535
                   is_static=True)
1536
    ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::GetBytes(uint8_t * buf) const [member function]
1537
    cls.add_method('GetBytes', 
1538
                   'void', 
1539
                   [param('uint8_t *', 'buf')], 
1540
                   is_const=True)
1541
    ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetLoopback() [member function]
1542
    cls.add_method('GetLoopback', 
1543
                   'ns3::Ipv6Address', 
1544
                   [], 
1545
                   is_static=True)
1546
    ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetOnes() [member function]
1547
    cls.add_method('GetOnes', 
1548
                   'ns3::Ipv6Address', 
1549
                   [], 
1550
                   is_static=True)
1551
    ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::GetZero() [member function]
1552
    cls.add_method('GetZero', 
1553
                   'ns3::Ipv6Address', 
1554
                   [], 
1555
                   is_static=True)
1556
    ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAllHostsMulticast() const [member function]
1557
    cls.add_method('IsAllHostsMulticast', 
1558
                   'bool', 
1559
                   [], 
1560
                   is_const=True)
1561
    ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAllNodesMulticast() const [member function]
1562
    cls.add_method('IsAllNodesMulticast', 
1563
                   'bool', 
1564
                   [], 
1565
                   is_const=True)
1566
    ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAllRoutersMulticast() const [member function]
1567
    cls.add_method('IsAllRoutersMulticast', 
1568
                   'bool', 
1569
                   [], 
1570
                   is_const=True)
1571
    ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsAny() const [member function]
1572
    cls.add_method('IsAny', 
1573
                   'bool', 
1574
                   [], 
1575
                   is_const=True)
1576
    ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsEqual(ns3::Ipv6Address const & other) const [member function]
1577
    cls.add_method('IsEqual', 
1578
                   'bool', 
1579
                   [param('ns3::Ipv6Address const &', 'other')], 
1580
                   is_const=True)
1581
    ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsLinkLocal() const [member function]
1582
    cls.add_method('IsLinkLocal', 
1583
                   'bool', 
1584
                   [], 
1585
                   is_const=True)
1586
    ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsLocalhost() const [member function]
1587
    cls.add_method('IsLocalhost', 
1588
                   'bool', 
1589
                   [], 
1590
                   is_const=True)
1591
    ## ipv6-address.h (module 'network'): static bool ns3::Ipv6Address::IsMatchingType(ns3::Address const & address) [member function]
1592
    cls.add_method('IsMatchingType', 
1593
                   'bool', 
1594
                   [param('ns3::Address const &', 'address')], 
1595
                   is_static=True)
1596
    ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsMulticast() const [member function]
1597
    cls.add_method('IsMulticast', 
1598
                   'bool', 
1599
                   [], 
1600
                   is_const=True)
1601
    ## ipv6-address.h (module 'network'): bool ns3::Ipv6Address::IsSolicitedMulticast() const [member function]
1602
    cls.add_method('IsSolicitedMulticast', 
1603
                   'bool', 
1604
                   [], 
1605
                   is_const=True)
1606
    ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeAutoconfiguredAddress(ns3::Mac48Address addr, ns3::Ipv6Address prefix) [member function]
1607
    cls.add_method('MakeAutoconfiguredAddress', 
1608
                   'ns3::Ipv6Address', 
1609
                   [param('ns3::Mac48Address', 'addr'), param('ns3::Ipv6Address', 'prefix')], 
1610
                   is_static=True)
1611
    ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeAutoconfiguredLinkLocalAddress(ns3::Mac48Address mac) [member function]
1612
    cls.add_method('MakeAutoconfiguredLinkLocalAddress', 
1613
                   'ns3::Ipv6Address', 
1614
                   [param('ns3::Mac48Address', 'mac')], 
1615
                   is_static=True)
1616
    ## ipv6-address.h (module 'network'): static ns3::Ipv6Address ns3::Ipv6Address::MakeSolicitedAddress(ns3::Ipv6Address addr) [member function]
1617
    cls.add_method('MakeSolicitedAddress', 
1618
                   'ns3::Ipv6Address', 
1619
                   [param('ns3::Ipv6Address', 'addr')], 
1620
                   is_static=True)
1621
    ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Print(std::ostream & os) const [member function]
1622
    cls.add_method('Print', 
1623
                   'void', 
1624
                   [param('std::ostream &', 'os')], 
1625
                   is_const=True)
1626
    ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Serialize(uint8_t * buf) const [member function]
1627
    cls.add_method('Serialize', 
1628
                   'void', 
1629
                   [param('uint8_t *', 'buf')], 
1630
                   is_const=True)
1631
    ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Set(char const * address) [member function]
1632
    cls.add_method('Set', 
1633
                   'void', 
1634
                   [param('char const *', 'address')])
1635
    ## ipv6-address.h (module 'network'): void ns3::Ipv6Address::Set(uint8_t * address) [member function]
1636
    cls.add_method('Set', 
1637
                   'void', 
1638
                   [param('uint8_t *', 'address')])
1639
    return
1640
1641
def register_Ns3Ipv6InterfaceAddress_methods(root_module, cls):
1642
    cls.add_binary_comparison_operator('!=')
1643
    cls.add_output_stream_operator()
1644
    cls.add_binary_comparison_operator('==')
1645
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress::Ipv6InterfaceAddress() [constructor]
1646
    cls.add_constructor([])
1647
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress::Ipv6InterfaceAddress(ns3::Ipv6Address address) [constructor]
1648
    cls.add_constructor([param('ns3::Ipv6Address', 'address')])
1649
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress::Ipv6InterfaceAddress(ns3::Ipv6Address address, ns3::Ipv6Prefix prefix) [constructor]
1650
    cls.add_constructor([param('ns3::Ipv6Address', 'address'), param('ns3::Ipv6Prefix', 'prefix')])
1651
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress::Ipv6InterfaceAddress(ns3::Ipv6InterfaceAddress const & o) [copy constructor]
1652
    cls.add_constructor([param('ns3::Ipv6InterfaceAddress const &', 'o')])
1653
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6Address ns3::Ipv6InterfaceAddress::GetAddress() const [member function]
1654
    cls.add_method('GetAddress', 
1655
                   'ns3::Ipv6Address', 
1656
                   [], 
1657
                   is_const=True)
1658
    ## ipv6-interface-address.h (module 'internet'): uint32_t ns3::Ipv6InterfaceAddress::GetNsDadUid() const [member function]
1659
    cls.add_method('GetNsDadUid', 
1660
                   'uint32_t', 
1661
                   [], 
1662
                   is_const=True)
1663
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6Prefix ns3::Ipv6InterfaceAddress::GetPrefix() const [member function]
1664
    cls.add_method('GetPrefix', 
1665
                   'ns3::Ipv6Prefix', 
1666
                   [], 
1667
                   is_const=True)
1668
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress::Scope_e ns3::Ipv6InterfaceAddress::GetScope() const [member function]
1669
    cls.add_method('GetScope', 
1670
                   'ns3::Ipv6InterfaceAddress::Scope_e', 
1671
                   [], 
1672
                   is_const=True)
1673
    ## ipv6-interface-address.h (module 'internet'): ns3::Ipv6InterfaceAddress::State_e ns3::Ipv6InterfaceAddress::GetState() const [member function]
1674
    cls.add_method('GetState', 
1675
                   'ns3::Ipv6InterfaceAddress::State_e', 
1676
                   [], 
1677
                   is_const=True)
1678
    ## ipv6-interface-address.h (module 'internet'): void ns3::Ipv6InterfaceAddress::SetAddress(ns3::Ipv6Address address) [member function]
1679
    cls.add_method('SetAddress', 
1680
                   'void', 
1681
                   [param('ns3::Ipv6Address', 'address')])
1682
    ## ipv6-interface-address.h (module 'internet'): void ns3::Ipv6InterfaceAddress::SetNsDadUid(uint32_t uid) [member function]
1683
    cls.add_method('SetNsDadUid', 
1684
                   'void', 
1685
                   [param('uint32_t', 'uid')])
1686
    ## ipv6-interface-address.h (module 'internet'): void ns3::Ipv6InterfaceAddress::SetScope(ns3::Ipv6InterfaceAddress::Scope_e scope) [member function]
1687
    cls.add_method('SetScope', 
1688
                   'void', 
1689
                   [param('ns3::Ipv6InterfaceAddress::Scope_e', 'scope')])
1690
    ## ipv6-interface-address.h (module 'internet'): void ns3::Ipv6InterfaceAddress::SetState(ns3::Ipv6InterfaceAddress::State_e state) [member function]
1691
    cls.add_method('SetState', 
1692
                   'void', 
1693
                   [param('ns3::Ipv6InterfaceAddress::State_e', 'state')])
1694
    return
1695
1696
def register_Ns3Ipv6InterfaceContainer_methods(root_module, cls):
1697
    ## ipv6-interface-container.h (module 'internet'): ns3::Ipv6InterfaceContainer::Ipv6InterfaceContainer(ns3::Ipv6InterfaceContainer const & arg0) [copy constructor]
1698
    cls.add_constructor([param('ns3::Ipv6InterfaceContainer const &', 'arg0')])
1699
    ## ipv6-interface-container.h (module 'internet'): ns3::Ipv6InterfaceContainer::Ipv6InterfaceContainer() [constructor]
1700
    cls.add_constructor([])
1701
    ## ipv6-interface-container.h (module 'internet'): void ns3::Ipv6InterfaceContainer::Add(ns3::Ptr<ns3::Ipv6> ipv6, uint32_t interface) [member function]
1702
    cls.add_method('Add', 
1703
                   'void', 
1704
                   [param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface')])
1705
    ## ipv6-interface-container.h (module 'internet'): void ns3::Ipv6InterfaceContainer::Add(ns3::Ipv6InterfaceContainer & c) [member function]
1706
    cls.add_method('Add', 
1707
                   'void', 
1708
                   [param('ns3::Ipv6InterfaceContainer &', 'c')])
1709
    ## ipv6-interface-container.h (module 'internet'): void ns3::Ipv6InterfaceContainer::Add(std::string ipv6Name, uint32_t interface) [member function]
1710
    cls.add_method('Add', 
1711
                   'void', 
1712
                   [param('std::string', 'ipv6Name'), param('uint32_t', 'interface')])
1713
    ## 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]
1714
    cls.add_method('Begin', 
1715
                   '__gnu_cxx::__normal_iterator< std::pair< ns3::Ptr< ns3::Ipv6 >, unsigned int > const, std::vector< std::pair< ns3::Ptr< ns3::Ipv6 >, unsigned int > > >', 
1716
                   [], 
1717
                   is_const=True)
1718
    ## 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]
1719
    cls.add_method('End', 
1720
                   '__gnu_cxx::__normal_iterator< std::pair< ns3::Ptr< ns3::Ipv6 >, unsigned int > const, std::vector< std::pair< ns3::Ptr< ns3::Ipv6 >, unsigned int > > >', 
1721
                   [], 
1722
                   is_const=True)
1723
    ## ipv6-interface-container.h (module 'internet'): ns3::Ipv6Address ns3::Ipv6InterfaceContainer::GetAddress(uint32_t i, uint32_t j) const [member function]
1724
    cls.add_method('GetAddress', 
1725
                   'ns3::Ipv6Address', 
1726
                   [param('uint32_t', 'i'), param('uint32_t', 'j')], 
1727
                   is_const=True)
1728
    ## ipv6-interface-container.h (module 'internet'): uint32_t ns3::Ipv6InterfaceContainer::GetInterfaceIndex(uint32_t i) const [member function]
1729
    cls.add_method('GetInterfaceIndex', 
1730
                   'uint32_t', 
1731
                   [param('uint32_t', 'i')], 
1732
                   is_const=True)
1733
    ## ipv6-interface-container.h (module 'internet'): uint32_t ns3::Ipv6InterfaceContainer::GetN() const [member function]
1734
    cls.add_method('GetN', 
1735
                   'uint32_t', 
1736
                   [], 
1737
                   is_const=True)
1738
    ## ipv6-interface-container.h (module 'internet'): void ns3::Ipv6InterfaceContainer::SetDefaultRoute(uint32_t i, uint32_t router) [member function]
1739
    cls.add_method('SetDefaultRoute', 
1740
                   'void', 
1741
                   [param('uint32_t', 'i'), param('uint32_t', 'router')])
1742
    ## ipv6-interface-container.h (module 'internet'): void ns3::Ipv6InterfaceContainer::SetRouter(uint32_t i, bool router) [member function]
1743
    cls.add_method('SetRouter', 
1744
                   'void', 
1745
                   [param('uint32_t', 'i'), param('bool', 'router')])
1746
    return
1747
1748
def register_Ns3Ipv6Prefix_methods(root_module, cls):
1749
    cls.add_binary_comparison_operator('!=')
1750
    cls.add_output_stream_operator()
1751
    cls.add_binary_comparison_operator('==')
1752
    ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix() [constructor]
1753
    cls.add_constructor([])
1754
    ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(uint8_t * prefix) [constructor]
1755
    cls.add_constructor([param('uint8_t *', 'prefix')])
1756
    ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(char const * prefix) [constructor]
1757
    cls.add_constructor([param('char const *', 'prefix')])
1758
    ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(uint8_t prefix) [constructor]
1759
    cls.add_constructor([param('uint8_t', 'prefix')])
1760
    ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(ns3::Ipv6Prefix const & prefix) [copy constructor]
1761
    cls.add_constructor([param('ns3::Ipv6Prefix const &', 'prefix')])
1762
    ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix::Ipv6Prefix(ns3::Ipv6Prefix const * prefix) [constructor]
1763
    cls.add_constructor([param('ns3::Ipv6Prefix const *', 'prefix')])
1764
    ## ipv6-address.h (module 'network'): void ns3::Ipv6Prefix::GetBytes(uint8_t * buf) const [member function]
1765
    cls.add_method('GetBytes', 
1766
                   'void', 
1767
                   [param('uint8_t *', 'buf')], 
1768
                   is_const=True)
1769
    ## ipv6-address.h (module 'network'): static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetLoopback() [member function]
1770
    cls.add_method('GetLoopback', 
1771
                   'ns3::Ipv6Prefix', 
1772
                   [], 
1773
                   is_static=True)
1774
    ## ipv6-address.h (module 'network'): static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetOnes() [member function]
1775
    cls.add_method('GetOnes', 
1776
                   'ns3::Ipv6Prefix', 
1777
                   [], 
1778
                   is_static=True)
1779
    ## ipv6-address.h (module 'network'): uint8_t ns3::Ipv6Prefix::GetPrefixLength() const [member function]
1780
    cls.add_method('GetPrefixLength', 
1781
                   'uint8_t', 
1782
                   [], 
1783
                   is_const=True)
1784
    ## ipv6-address.h (module 'network'): static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetZero() [member function]
1785
    cls.add_method('GetZero', 
1786
                   'ns3::Ipv6Prefix', 
1787
                   [], 
1788
                   is_static=True)
1789
    ## ipv6-address.h (module 'network'): bool ns3::Ipv6Prefix::IsEqual(ns3::Ipv6Prefix const & other) const [member function]
1790
    cls.add_method('IsEqual', 
1791
                   'bool', 
1792
                   [param('ns3::Ipv6Prefix const &', 'other')], 
1793
                   is_const=True)
1794
    ## ipv6-address.h (module 'network'): bool ns3::Ipv6Prefix::IsMatch(ns3::Ipv6Address a, ns3::Ipv6Address b) const [member function]
1795
    cls.add_method('IsMatch', 
1796
                   'bool', 
1797
                   [param('ns3::Ipv6Address', 'a'), param('ns3::Ipv6Address', 'b')], 
1798
                   is_const=True)
1799
    ## ipv6-address.h (module 'network'): void ns3::Ipv6Prefix::Print(std::ostream & os) const [member function]
1800
    cls.add_method('Print', 
1801
                   'void', 
1802
                   [param('std::ostream &', 'os')], 
1803
                   is_const=True)
1804
    return
1805
1806
def register_Ns3NetDeviceContainer_methods(root_module, cls):
1807
    ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(ns3::NetDeviceContainer const & arg0) [copy constructor]
1808
    cls.add_constructor([param('ns3::NetDeviceContainer const &', 'arg0')])
1809
    ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer() [constructor]
1810
    cls.add_constructor([])
1811
    ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(ns3::Ptr<ns3::NetDevice> dev) [constructor]
1812
    cls.add_constructor([param('ns3::Ptr< ns3::NetDevice >', 'dev')])
1813
    ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(std::string devName) [constructor]
1814
    cls.add_constructor([param('std::string', 'devName')])
1815
    ## net-device-container.h (module 'network'): ns3::NetDeviceContainer::NetDeviceContainer(ns3::NetDeviceContainer const & a, ns3::NetDeviceContainer const & b) [constructor]
1816
    cls.add_constructor([param('ns3::NetDeviceContainer const &', 'a'), param('ns3::NetDeviceContainer const &', 'b')])
1817
    ## net-device-container.h (module 'network'): void ns3::NetDeviceContainer::Add(ns3::NetDeviceContainer other) [member function]
1818
    cls.add_method('Add', 
1819
                   'void', 
1820
                   [param('ns3::NetDeviceContainer', 'other')])
1821
    ## net-device-container.h (module 'network'): void ns3::NetDeviceContainer::Add(ns3::Ptr<ns3::NetDevice> device) [member function]
1822
    cls.add_method('Add', 
1823
                   'void', 
1824
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')])
1825
    ## net-device-container.h (module 'network'): void ns3::NetDeviceContainer::Add(std::string deviceName) [member function]
1826
    cls.add_method('Add', 
1827
                   'void', 
1828
                   [param('std::string', 'deviceName')])
1829
    ## 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]
1830
    cls.add_method('Begin', 
1831
                   '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::NetDevice > const, std::vector< ns3::Ptr< ns3::NetDevice > > >', 
1832
                   [], 
1833
                   is_const=True)
1834
    ## 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]
1835
    cls.add_method('End', 
1836
                   '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::NetDevice > const, std::vector< ns3::Ptr< ns3::NetDevice > > >', 
1837
                   [], 
1838
                   is_const=True)
1839
    ## net-device-container.h (module 'network'): ns3::Ptr<ns3::NetDevice> ns3::NetDeviceContainer::Get(uint32_t i) const [member function]
1840
    cls.add_method('Get', 
1841
                   'ns3::Ptr< ns3::NetDevice >', 
1842
                   [param('uint32_t', 'i')], 
1843
                   is_const=True)
1844
    ## net-device-container.h (module 'network'): uint32_t ns3::NetDeviceContainer::GetN() const [member function]
1845
    cls.add_method('GetN', 
1846
                   'uint32_t', 
1847
                   [], 
1848
                   is_const=True)
1849
    return
1850
1851
def register_Ns3NodeContainer_methods(root_module, cls):
1852
    ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & arg0) [copy constructor]
1853
    cls.add_constructor([param('ns3::NodeContainer const &', 'arg0')])
1854
    ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer() [constructor]
1855
    cls.add_constructor([])
1856
    ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::Ptr<ns3::Node> node) [constructor]
1857
    cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node')])
1858
    ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(std::string nodeName) [constructor]
1859
    cls.add_constructor([param('std::string', 'nodeName')])
1860
    ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b) [constructor]
1861
    cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b')])
1862
    ## node-container.h (module 'network'): ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b, ns3::NodeContainer const & c) [constructor]
1863
    cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b'), param('ns3::NodeContainer const &', 'c')])
1864
    ## 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]
1865
    cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b'), param('ns3::NodeContainer const &', 'c'), param('ns3::NodeContainer const &', 'd')])
1866
    ## 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]
1867
    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')])
1868
    ## node-container.h (module 'network'): void ns3::NodeContainer::Add(ns3::NodeContainer other) [member function]
1869
    cls.add_method('Add', 
1870
                   'void', 
1871
                   [param('ns3::NodeContainer', 'other')])
1872
    ## node-container.h (module 'network'): void ns3::NodeContainer::Add(ns3::Ptr<ns3::Node> node) [member function]
1873
    cls.add_method('Add', 
1874
                   'void', 
1875
                   [param('ns3::Ptr< ns3::Node >', 'node')])
1876
    ## node-container.h (module 'network'): void ns3::NodeContainer::Add(std::string nodeName) [member function]
1877
    cls.add_method('Add', 
1878
                   'void', 
1879
                   [param('std::string', 'nodeName')])
1880
    ## 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]
1881
    cls.add_method('Begin', 
1882
                   '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > >', 
1883
                   [], 
1884
                   is_const=True)
1885
    ## node-container.h (module 'network'): void ns3::NodeContainer::Create(uint32_t n) [member function]
1886
    cls.add_method('Create', 
1887
                   'void', 
1888
                   [param('uint32_t', 'n')])
1889
    ## node-container.h (module 'network'): void ns3::NodeContainer::Create(uint32_t n, uint32_t systemId) [member function]
1890
    cls.add_method('Create', 
1891
                   'void', 
1892
                   [param('uint32_t', 'n'), param('uint32_t', 'systemId')])
1893
    ## 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]
1894
    cls.add_method('End', 
1895
                   '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > >', 
1896
                   [], 
1897
                   is_const=True)
1898
    ## node-container.h (module 'network'): ns3::Ptr<ns3::Node> ns3::NodeContainer::Get(uint32_t i) const [member function]
1899
    cls.add_method('Get', 
1900
                   'ns3::Ptr< ns3::Node >', 
1901
                   [param('uint32_t', 'i')], 
1902
                   is_const=True)
1903
    ## node-container.h (module 'network'): static ns3::NodeContainer ns3::NodeContainer::GetGlobal() [member function]
1904
    cls.add_method('GetGlobal', 
1905
                   'ns3::NodeContainer', 
1906
                   [], 
1907
                   is_static=True)
1908
    ## node-container.h (module 'network'): uint32_t ns3::NodeContainer::GetN() const [member function]
1909
    cls.add_method('GetN', 
1910
                   'uint32_t', 
1911
                   [], 
1912
                   is_const=True)
1913
    return
1914
1915
def register_Ns3ObjectBase_methods(root_module, cls):
1916
    ## object-base.h (module 'core'): ns3::ObjectBase::ObjectBase() [constructor]
1917
    cls.add_constructor([])
1918
    ## object-base.h (module 'core'): ns3::ObjectBase::ObjectBase(ns3::ObjectBase const & arg0) [copy constructor]
1919
    cls.add_constructor([param('ns3::ObjectBase const &', 'arg0')])
1920
    ## object-base.h (module 'core'): void ns3::ObjectBase::GetAttribute(std::string name, ns3::AttributeValue & value) const [member function]
1921
    cls.add_method('GetAttribute', 
1922
                   'void', 
1923
                   [param('std::string', 'name'), param('ns3::AttributeValue &', 'value')], 
1924
                   is_const=True)
1925
    ## object-base.h (module 'core'): bool ns3::ObjectBase::GetAttributeFailSafe(std::string name, ns3::AttributeValue & attribute) const [member function]
1926
    cls.add_method('GetAttributeFailSafe', 
1927
                   'bool', 
1928
                   [param('std::string', 'name'), param('ns3::AttributeValue &', 'attribute')], 
1929
                   is_const=True)
1930
    ## object-base.h (module 'core'): ns3::TypeId ns3::ObjectBase::GetInstanceTypeId() const [member function]
1931
    cls.add_method('GetInstanceTypeId', 
1932
                   'ns3::TypeId', 
1933
                   [], 
1934
                   is_pure_virtual=True, is_const=True, is_virtual=True)
1935
    ## object-base.h (module 'core'): static ns3::TypeId ns3::ObjectBase::GetTypeId() [member function]
1936
    cls.add_method('GetTypeId', 
1937
                   'ns3::TypeId', 
1938
                   [], 
1939
                   is_static=True)
1940
    ## object-base.h (module 'core'): void ns3::ObjectBase::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function]
1941
    cls.add_method('SetAttribute', 
1942
                   'void', 
1943
                   [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
1944
    ## object-base.h (module 'core'): bool ns3::ObjectBase::SetAttributeFailSafe(std::string name, ns3::AttributeValue const & value) [member function]
1945
    cls.add_method('SetAttributeFailSafe', 
1946
                   'bool', 
1947
                   [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
1948
    ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceConnect(std::string name, std::string context, ns3::CallbackBase const & cb) [member function]
1949
    cls.add_method('TraceConnect', 
1950
                   'bool', 
1951
                   [param('std::string', 'name'), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')])
1952
    ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceConnectWithoutContext(std::string name, ns3::CallbackBase const & cb) [member function]
1953
    cls.add_method('TraceConnectWithoutContext', 
1954
                   'bool', 
1955
                   [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')])
1956
    ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceDisconnect(std::string name, std::string context, ns3::CallbackBase const & cb) [member function]
1957
    cls.add_method('TraceDisconnect', 
1958
                   'bool', 
1959
                   [param('std::string', 'name'), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')])
1960
    ## object-base.h (module 'core'): bool ns3::ObjectBase::TraceDisconnectWithoutContext(std::string name, ns3::CallbackBase const & cb) [member function]
1961
    cls.add_method('TraceDisconnectWithoutContext', 
1962
                   'bool', 
1963
                   [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')])
1964
    ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function]
1965
    cls.add_method('ConstructSelf', 
1966
                   'void', 
1967
                   [param('ns3::AttributeList const &', 'attributes')], 
1968
                   visibility='protected')
1969
    ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function]
1970
    cls.add_method('NotifyConstructionCompleted', 
1971
                   'void', 
1972
                   [], 
1973
                   visibility='protected', is_virtual=True)
1974
    return
1975
1976
def register_Ns3ObjectDeleter_methods(root_module, cls):
1977
    ## object.h (module 'core'): ns3::ObjectDeleter::ObjectDeleter() [constructor]
1978
    cls.add_constructor([])
1979
    ## object.h (module 'core'): ns3::ObjectDeleter::ObjectDeleter(ns3::ObjectDeleter const & arg0) [copy constructor]
1980
    cls.add_constructor([param('ns3::ObjectDeleter const &', 'arg0')])
1981
    ## object.h (module 'core'): static void ns3::ObjectDeleter::Delete(ns3::Object * object) [member function]
1982
    cls.add_method('Delete', 
1983
                   'void', 
1984
                   [param('ns3::Object *', 'object')], 
1985
                   is_static=True)
1986
    return
1987
1988
def register_Ns3ObjectFactory_methods(root_module, cls):
1989
    cls.add_output_stream_operator()
1990
    ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(ns3::ObjectFactory const & arg0) [copy constructor]
1991
    cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')])
1992
    ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor]
1993
    cls.add_constructor([])
1994
    ## object-factory.h (module 'core'): ns3::Ptr<ns3::Object> ns3::ObjectFactory::Create() const [member function]
1995
    cls.add_method('Create', 
1996
                   'ns3::Ptr< ns3::Object >', 
1997
                   [], 
1998
                   is_const=True)
1999
    ## object-factory.h (module 'core'): ns3::TypeId ns3::ObjectFactory::GetTypeId() const [member function]
2000
    cls.add_method('GetTypeId', 
2001
                   'ns3::TypeId', 
2002
                   [], 
2003
                   is_const=True)
2004
    ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(std::string name, ns3::AttributeValue const & value) [member function]
2005
    cls.add_method('Set', 
2006
                   'void', 
2007
                   [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
2008
    ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(ns3::AttributeList const & list) [member function]
2009
    cls.add_method('Set', 
2010
                   'void', 
2011
                   [param('ns3::AttributeList const &', 'list')])
2012
    ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function]
2013
    cls.add_method('SetTypeId', 
2014
                   'void', 
2015
                   [param('ns3::TypeId', 'tid')])
2016
    ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(char const * tid) [member function]
2017
    cls.add_method('SetTypeId', 
2018
                   'void', 
2019
                   [param('char const *', 'tid')])
2020
    ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(std::string tid) [member function]
2021
    cls.add_method('SetTypeId', 
2022
                   'void', 
2023
                   [param('std::string', 'tid')])
2024
    return
2025
2026
def register_Ns3PacketMetadata_methods(root_module, cls):
2027
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::PacketMetadata(uint64_t uid, uint32_t size) [constructor]
2028
    cls.add_constructor([param('uint64_t', 'uid'), param('uint32_t', 'size')])
2029
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::PacketMetadata(ns3::PacketMetadata const & o) [copy constructor]
2030
    cls.add_constructor([param('ns3::PacketMetadata const &', 'o')])
2031
    ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddAtEnd(ns3::PacketMetadata const & o) [member function]
2032
    cls.add_method('AddAtEnd', 
2033
                   'void', 
2034
                   [param('ns3::PacketMetadata const &', 'o')])
2035
    ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddHeader(ns3::Header const & header, uint32_t size) [member function]
2036
    cls.add_method('AddHeader', 
2037
                   'void', 
2038
                   [param('ns3::Header const &', 'header'), param('uint32_t', 'size')])
2039
    ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddPaddingAtEnd(uint32_t end) [member function]
2040
    cls.add_method('AddPaddingAtEnd', 
2041
                   'void', 
2042
                   [param('uint32_t', 'end')])
2043
    ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddTrailer(ns3::Trailer const & trailer, uint32_t size) [member function]
2044
    cls.add_method('AddTrailer', 
2045
                   'void', 
2046
                   [param('ns3::Trailer const &', 'trailer'), param('uint32_t', 'size')])
2047
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator ns3::PacketMetadata::BeginItem(ns3::Buffer buffer) const [member function]
2048
    cls.add_method('BeginItem', 
2049
                   'ns3::PacketMetadata::ItemIterator', 
2050
                   [param('ns3::Buffer', 'buffer')], 
2051
                   is_const=True)
2052
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata ns3::PacketMetadata::CreateFragment(uint32_t start, uint32_t end) const [member function]
2053
    cls.add_method('CreateFragment', 
2054
                   'ns3::PacketMetadata', 
2055
                   [param('uint32_t', 'start'), param('uint32_t', 'end')], 
2056
                   is_const=True)
2057
    ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::Deserialize(uint8_t const * buffer, uint32_t size) [member function]
2058
    cls.add_method('Deserialize', 
2059
                   'uint32_t', 
2060
                   [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
2061
    ## packet-metadata.h (module 'network'): static void ns3::PacketMetadata::Enable() [member function]
2062
    cls.add_method('Enable', 
2063
                   'void', 
2064
                   [], 
2065
                   is_static=True)
2066
    ## packet-metadata.h (module 'network'): static void ns3::PacketMetadata::EnableChecking() [member function]
2067
    cls.add_method('EnableChecking', 
2068
                   'void', 
2069
                   [], 
2070
                   is_static=True)
2071
    ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::GetSerializedSize() const [member function]
2072
    cls.add_method('GetSerializedSize', 
2073
                   'uint32_t', 
2074
                   [], 
2075
                   is_const=True)
2076
    ## packet-metadata.h (module 'network'): uint64_t ns3::PacketMetadata::GetUid() const [member function]
2077
    cls.add_method('GetUid', 
2078
                   'uint64_t', 
2079
                   [], 
2080
                   is_const=True)
2081
    ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveAtEnd(uint32_t end) [member function]
2082
    cls.add_method('RemoveAtEnd', 
2083
                   'void', 
2084
                   [param('uint32_t', 'end')])
2085
    ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveAtStart(uint32_t start) [member function]
2086
    cls.add_method('RemoveAtStart', 
2087
                   'void', 
2088
                   [param('uint32_t', 'start')])
2089
    ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveHeader(ns3::Header const & header, uint32_t size) [member function]
2090
    cls.add_method('RemoveHeader', 
2091
                   'void', 
2092
                   [param('ns3::Header const &', 'header'), param('uint32_t', 'size')])
2093
    ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveTrailer(ns3::Trailer const & trailer, uint32_t size) [member function]
2094
    cls.add_method('RemoveTrailer', 
2095
                   'void', 
2096
                   [param('ns3::Trailer const &', 'trailer'), param('uint32_t', 'size')])
2097
    ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
2098
    cls.add_method('Serialize', 
2099
                   'uint32_t', 
2100
                   [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')], 
2101
                   is_const=True)
2102
    return
2103
2104
def register_Ns3PacketMetadataItem_methods(root_module, cls):
2105
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::Item() [constructor]
2106
    cls.add_constructor([])
2107
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::Item(ns3::PacketMetadata::Item const & arg0) [copy constructor]
2108
    cls.add_constructor([param('ns3::PacketMetadata::Item const &', 'arg0')])
2109
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::current [variable]
2110
    cls.add_instance_attribute('current', 'ns3::Buffer::Iterator', is_const=False)
2111
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentSize [variable]
2112
    cls.add_instance_attribute('currentSize', 'uint32_t', is_const=False)
2113
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentTrimedFromEnd [variable]
2114
    cls.add_instance_attribute('currentTrimedFromEnd', 'uint32_t', is_const=False)
2115
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentTrimedFromStart [variable]
2116
    cls.add_instance_attribute('currentTrimedFromStart', 'uint32_t', is_const=False)
2117
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::isFragment [variable]
2118
    cls.add_instance_attribute('isFragment', 'bool', is_const=False)
2119
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::tid [variable]
2120
    cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
2121
    return
2122
2123
def register_Ns3PacketMetadataItemIterator_methods(root_module, cls):
2124
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator::ItemIterator(ns3::PacketMetadata::ItemIterator const & arg0) [copy constructor]
2125
    cls.add_constructor([param('ns3::PacketMetadata::ItemIterator const &', 'arg0')])
2126
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator::ItemIterator(ns3::PacketMetadata const * metadata, ns3::Buffer buffer) [constructor]
2127
    cls.add_constructor([param('ns3::PacketMetadata const *', 'metadata'), param('ns3::Buffer', 'buffer')])
2128
    ## packet-metadata.h (module 'network'): bool ns3::PacketMetadata::ItemIterator::HasNext() const [member function]
2129
    cls.add_method('HasNext', 
2130
                   'bool', 
2131
                   [], 
2132
                   is_const=True)
2133
    ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item ns3::PacketMetadata::ItemIterator::Next() [member function]
2134
    cls.add_method('Next', 
2135
                   'ns3::PacketMetadata::Item', 
2136
                   [])
2137
    return
2138
2139
def register_Ns3PacketTagIterator_methods(root_module, cls):
2140
    ## packet.h (module 'network'): ns3::PacketTagIterator::PacketTagIterator(ns3::PacketTagIterator const & arg0) [copy constructor]
2141
    cls.add_constructor([param('ns3::PacketTagIterator const &', 'arg0')])
2142
    ## packet.h (module 'network'): bool ns3::PacketTagIterator::HasNext() const [member function]
2143
    cls.add_method('HasNext', 
2144
                   'bool', 
2145
                   [], 
2146
                   is_const=True)
2147
    ## packet.h (module 'network'): ns3::PacketTagIterator::Item ns3::PacketTagIterator::Next() [member function]
2148
    cls.add_method('Next', 
2149
                   'ns3::PacketTagIterator::Item', 
2150
                   [])
2151
    return
2152
2153
def register_Ns3PacketTagIteratorItem_methods(root_module, cls):
2154
    ## packet.h (module 'network'): ns3::PacketTagIterator::Item::Item(ns3::PacketTagIterator::Item const & arg0) [copy constructor]
2155
    cls.add_constructor([param('ns3::PacketTagIterator::Item const &', 'arg0')])
2156
    ## packet.h (module 'network'): void ns3::PacketTagIterator::Item::GetTag(ns3::Tag & tag) const [member function]
2157
    cls.add_method('GetTag', 
2158
                   'void', 
2159
                   [param('ns3::Tag &', 'tag')], 
2160
                   is_const=True)
2161
    ## packet.h (module 'network'): ns3::TypeId ns3::PacketTagIterator::Item::GetTypeId() const [member function]
2162
    cls.add_method('GetTypeId', 
2163
                   'ns3::TypeId', 
2164
                   [], 
2165
                   is_const=True)
2166
    return
2167
2168
def register_Ns3PacketTagList_methods(root_module, cls):
2169
    ## packet-tag-list.h (module 'network'): ns3::PacketTagList::PacketTagList() [constructor]
2170
    cls.add_constructor([])
2171
    ## packet-tag-list.h (module 'network'): ns3::PacketTagList::PacketTagList(ns3::PacketTagList const & o) [copy constructor]
2172
    cls.add_constructor([param('ns3::PacketTagList const &', 'o')])
2173
    ## packet-tag-list.h (module 'network'): void ns3::PacketTagList::Add(ns3::Tag const & tag) const [member function]
2174
    cls.add_method('Add', 
2175
                   'void', 
2176
                   [param('ns3::Tag const &', 'tag')], 
2177
                   is_const=True)
2178
    ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData const * ns3::PacketTagList::Head() const [member function]
2179
    cls.add_method('Head', 
2180
                   'ns3::PacketTagList::TagData const *', 
2181
                   [], 
2182
                   is_const=True)
2183
    ## packet-tag-list.h (module 'network'): bool ns3::PacketTagList::Peek(ns3::Tag & tag) const [member function]
2184
    cls.add_method('Peek', 
2185
                   'bool', 
2186
                   [param('ns3::Tag &', 'tag')], 
2187
                   is_const=True)
2188
    ## packet-tag-list.h (module 'network'): bool ns3::PacketTagList::Remove(ns3::Tag & tag) [member function]
2189
    cls.add_method('Remove', 
2190
                   'bool', 
2191
                   [param('ns3::Tag &', 'tag')])
2192
    ## packet-tag-list.h (module 'network'): void ns3::PacketTagList::RemoveAll() [member function]
2193
    cls.add_method('RemoveAll', 
2194
                   'void', 
2195
                   [])
2196
    return
2197
2198
def register_Ns3PacketTagListTagData_methods(root_module, cls):
2199
    ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::TagData() [constructor]
2200
    cls.add_constructor([])
2201
    ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::TagData(ns3::PacketTagList::TagData const & arg0) [copy constructor]
2202
    cls.add_constructor([param('ns3::PacketTagList::TagData const &', 'arg0')])
2203
    ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::count [variable]
2204
    cls.add_instance_attribute('count', 'uint32_t', is_const=False)
2205
    ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::data [variable]
2206
    cls.add_instance_attribute('data', 'uint8_t [ 20 ]', is_const=False)
2207
    ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::next [variable]
2208
    cls.add_instance_attribute('next', 'ns3::PacketTagList::TagData *', is_const=False)
2209
    ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::tid [variable]
2210
    cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False)
2211
    return
2212
2213
def register_Ns3PcapFile_methods(root_module, cls):
2214
    ## pcap-file.h (module 'network'): ns3::PcapFile::PcapFile() [constructor]
2215
    cls.add_constructor([])
2216
    ## pcap-file.h (module 'network'): void ns3::PcapFile::Clear() [member function]
2217
    cls.add_method('Clear', 
2218
                   'void', 
2219
                   [])
2220
    ## pcap-file.h (module 'network'): void ns3::PcapFile::Close() [member function]
2221
    cls.add_method('Close', 
2222
                   'void', 
2223
                   [])
2224
    ## 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]
2225
    cls.add_method('Diff', 
2226
                   'bool', 
2227
                   [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')], 
2228
                   is_static=True)
2229
    ## pcap-file.h (module 'network'): bool ns3::PcapFile::Eof() const [member function]
2230
    cls.add_method('Eof', 
2231
                   'bool', 
2232
                   [], 
2233
                   is_const=True)
2234
    ## pcap-file.h (module 'network'): bool ns3::PcapFile::Fail() const [member function]
2235
    cls.add_method('Fail', 
2236
                   'bool', 
2237
                   [], 
2238
                   is_const=True)
2239
    ## pcap-file.h (module 'network'): uint32_t ns3::PcapFile::GetDataLinkType() [member function]
2240
    cls.add_method('GetDataLinkType', 
2241
                   'uint32_t', 
2242
                   [])
2243
    ## pcap-file.h (module 'network'): uint32_t ns3::PcapFile::GetMagic() [member function]
2244
    cls.add_method('GetMagic', 
2245
                   'uint32_t', 
2246
                   [])
2247
    ## pcap-file.h (module 'network'): uint32_t ns3::PcapFile::GetSigFigs() [member function]
2248
    cls.add_method('GetSigFigs', 
2249
                   'uint32_t', 
2250
                   [])
2251
    ## pcap-file.h (module 'network'): uint32_t ns3::PcapFile::GetSnapLen() [member function]
2252
    cls.add_method('GetSnapLen', 
2253
                   'uint32_t', 
2254
                   [])
2255
    ## pcap-file.h (module 'network'): bool ns3::PcapFile::GetSwapMode() [member function]
2256
    cls.add_method('GetSwapMode', 
2257
                   'bool', 
2258
                   [])
2259
    ## pcap-file.h (module 'network'): int32_t ns3::PcapFile::GetTimeZoneOffset() [member function]
2260
    cls.add_method('GetTimeZoneOffset', 
2261
                   'int32_t', 
2262
                   [])
2263
    ## pcap-file.h (module 'network'): uint16_t ns3::PcapFile::GetVersionMajor() [member function]
2264
    cls.add_method('GetVersionMajor', 
2265
                   'uint16_t', 
2266
                   [])
2267
    ## pcap-file.h (module 'network'): uint16_t ns3::PcapFile::GetVersionMinor() [member function]
2268
    cls.add_method('GetVersionMinor', 
2269
                   'uint16_t', 
2270
                   [])
2271
    ## 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]
2272
    cls.add_method('Init', 
2273
                   'void', 
2274
                   [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')])
2275
    ## pcap-file.h (module 'network'): void ns3::PcapFile::Open(std::string const & filename, std::_Ios_Openmode mode) [member function]
2276
    cls.add_method('Open', 
2277
                   'void', 
2278
                   [param('std::string const &', 'filename'), param('std::_Ios_Openmode', 'mode')])
2279
    ## 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]
2280
    cls.add_method('Read', 
2281
                   'void', 
2282
                   [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')])
2283
    ## 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]
2284
    cls.add_method('Write', 
2285
                   'void', 
2286
                   [param('uint32_t', 'tsSec'), param('uint32_t', 'tsUsec'), param('uint8_t const * const', 'data'), param('uint32_t', 'totalLen')])
2287
    ## pcap-file.h (module 'network'): void ns3::PcapFile::Write(uint32_t tsSec, uint32_t tsUsec, ns3::Ptr<const ns3::Packet> p) [member function]
2288
    cls.add_method('Write', 
2289
                   'void', 
2290
                   [param('uint32_t', 'tsSec'), param('uint32_t', 'tsUsec'), param('ns3::Ptr< ns3::Packet const >', 'p')])
2291
    ## 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]
2292
    cls.add_method('Write', 
2293
                   'void', 
2294
                   [param('uint32_t', 'tsSec'), param('uint32_t', 'tsUsec'), param('ns3::Header &', 'header'), param('ns3::Ptr< ns3::Packet const >', 'p')])
2295
    ## pcap-file.h (module 'network'): ns3::PcapFile::SNAPLEN_DEFAULT [variable]
2296
    cls.add_static_attribute('SNAPLEN_DEFAULT', 'uint32_t const', is_const=True)
2297
    ## pcap-file.h (module 'network'): ns3::PcapFile::ZONE_DEFAULT [variable]
2298
    cls.add_static_attribute('ZONE_DEFAULT', 'int32_t const', is_const=True)
2299
    return
2300
2301
def register_Ns3PcapHelper_methods(root_module, cls):
2302
    ## trace-helper.h (module 'network'): ns3::PcapHelper::PcapHelper(ns3::PcapHelper const & arg0) [copy constructor]
2303
    cls.add_constructor([param('ns3::PcapHelper const &', 'arg0')])
2304
    ## trace-helper.h (module 'network'): ns3::PcapHelper::PcapHelper() [constructor]
2305
    cls.add_constructor([])
2306
    ## 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]
2307
    cls.add_method('CreateFile', 
2308
                   'ns3::Ptr< ns3::PcapFileWrapper >', 
2309
                   [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')])
2310
    ## trace-helper.h (module 'network'): std::string ns3::PcapHelper::GetFilenameFromDevice(std::string prefix, ns3::Ptr<ns3::NetDevice> device, bool useObjectNames=true) [member function]
2311
    cls.add_method('GetFilenameFromDevice', 
2312
                   'std::string', 
2313
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'device'), param('bool', 'useObjectNames', default_value='true')])
2314
    ## 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]
2315
    cls.add_method('GetFilenameFromInterfacePair', 
2316
                   'std::string', 
2317
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Object >', 'object'), param('uint32_t', 'interface'), param('bool', 'useObjectNames', default_value='true')])
2318
    return
2319
2320
def register_Ns3PcapHelperForDevice_methods(root_module, cls):
2321
    ## trace-helper.h (module 'network'): ns3::PcapHelperForDevice::PcapHelperForDevice(ns3::PcapHelperForDevice const & arg0) [copy constructor]
2322
    cls.add_constructor([param('ns3::PcapHelperForDevice const &', 'arg0')])
2323
    ## trace-helper.h (module 'network'): ns3::PcapHelperForDevice::PcapHelperForDevice() [constructor]
2324
    cls.add_constructor([])
2325
    ## 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]
2326
    cls.add_method('EnablePcap', 
2327
                   'void', 
2328
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'promiscuous', default_value='false'), param('bool', 'explicitFilename', default_value='false')])
2329
    ## trace-helper.h (module 'network'): void ns3::PcapHelperForDevice::EnablePcap(std::string prefix, std::string ndName, bool promiscuous=false, bool explicitFilename=false) [member function]
2330
    cls.add_method('EnablePcap', 
2331
                   'void', 
2332
                   [param('std::string', 'prefix'), param('std::string', 'ndName'), param('bool', 'promiscuous', default_value='false'), param('bool', 'explicitFilename', default_value='false')])
2333
    ## trace-helper.h (module 'network'): void ns3::PcapHelperForDevice::EnablePcap(std::string prefix, ns3::NetDeviceContainer d, bool promiscuous=false) [member function]
2334
    cls.add_method('EnablePcap', 
2335
                   'void', 
2336
                   [param('std::string', 'prefix'), param('ns3::NetDeviceContainer', 'd'), param('bool', 'promiscuous', default_value='false')])
2337
    ## trace-helper.h (module 'network'): void ns3::PcapHelperForDevice::EnablePcap(std::string prefix, ns3::NodeContainer n, bool promiscuous=false) [member function]
2338
    cls.add_method('EnablePcap', 
2339
                   'void', 
2340
                   [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n'), param('bool', 'promiscuous', default_value='false')])
2341
    ## trace-helper.h (module 'network'): void ns3::PcapHelperForDevice::EnablePcap(std::string prefix, uint32_t nodeid, uint32_t deviceid, bool promiscuous=false) [member function]
2342
    cls.add_method('EnablePcap', 
2343
                   'void', 
2344
                   [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid'), param('bool', 'promiscuous', default_value='false')])
2345
    ## trace-helper.h (module 'network'): void ns3::PcapHelperForDevice::EnablePcapAll(std::string prefix, bool promiscuous=false) [member function]
2346
    cls.add_method('EnablePcapAll', 
2347
                   'void', 
2348
                   [param('std::string', 'prefix'), param('bool', 'promiscuous', default_value='false')])
2349
    ## trace-helper.h (module 'network'): void ns3::PcapHelperForDevice::EnablePcapInternal(std::string prefix, ns3::Ptr<ns3::NetDevice> nd, bool promiscuous, bool explicitFilename) [member function]
2350
    cls.add_method('EnablePcapInternal', 
2351
                   'void', 
2352
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'promiscuous'), param('bool', 'explicitFilename')], 
2353
                   is_pure_virtual=True, is_virtual=True)
2354
    return
2355
2356
def register_Ns3PcapHelperForIpv4_methods(root_module, cls):
2357
    ## internet-trace-helper.h (module 'internet'): ns3::PcapHelperForIpv4::PcapHelperForIpv4(ns3::PcapHelperForIpv4 const & arg0) [copy constructor]
2358
    cls.add_constructor([param('ns3::PcapHelperForIpv4 const &', 'arg0')])
2359
    ## internet-trace-helper.h (module 'internet'): ns3::PcapHelperForIpv4::PcapHelperForIpv4() [constructor]
2360
    cls.add_constructor([])
2361
    ## 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]
2362
    cls.add_method('EnablePcapIpv4', 
2363
                   'void', 
2364
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')])
2365
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv4::EnablePcapIpv4(std::string prefix, std::string ipv4Name, uint32_t interface, bool explicitFilename=false) [member function]
2366
    cls.add_method('EnablePcapIpv4', 
2367
                   'void', 
2368
                   [param('std::string', 'prefix'), param('std::string', 'ipv4Name'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')])
2369
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv4::EnablePcapIpv4(std::string prefix, ns3::Ipv4InterfaceContainer c) [member function]
2370
    cls.add_method('EnablePcapIpv4', 
2371
                   'void', 
2372
                   [param('std::string', 'prefix'), param('ns3::Ipv4InterfaceContainer', 'c')])
2373
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv4::EnablePcapIpv4(std::string prefix, ns3::NodeContainer n) [member function]
2374
    cls.add_method('EnablePcapIpv4', 
2375
                   'void', 
2376
                   [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')])
2377
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv4::EnablePcapIpv4(std::string prefix, uint32_t nodeid, uint32_t interface, bool explicitFilename) [member function]
2378
    cls.add_method('EnablePcapIpv4', 
2379
                   'void', 
2380
                   [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')])
2381
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv4::EnablePcapIpv4All(std::string prefix) [member function]
2382
    cls.add_method('EnablePcapIpv4All', 
2383
                   'void', 
2384
                   [param('std::string', 'prefix')])
2385
    ## 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]
2386
    cls.add_method('EnablePcapIpv4Internal', 
2387
                   'void', 
2388
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], 
2389
                   is_pure_virtual=True, is_virtual=True)
2390
    return
2391
2392
def register_Ns3PcapHelperForIpv6_methods(root_module, cls):
2393
    ## internet-trace-helper.h (module 'internet'): ns3::PcapHelperForIpv6::PcapHelperForIpv6(ns3::PcapHelperForIpv6 const & arg0) [copy constructor]
2394
    cls.add_constructor([param('ns3::PcapHelperForIpv6 const &', 'arg0')])
2395
    ## internet-trace-helper.h (module 'internet'): ns3::PcapHelperForIpv6::PcapHelperForIpv6() [constructor]
2396
    cls.add_constructor([])
2397
    ## 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]
2398
    cls.add_method('EnablePcapIpv6', 
2399
                   'void', 
2400
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')])
2401
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, std::string ipv6Name, uint32_t interface, bool explicitFilename=false) [member function]
2402
    cls.add_method('EnablePcapIpv6', 
2403
                   'void', 
2404
                   [param('std::string', 'prefix'), param('std::string', 'ipv6Name'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')])
2405
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, ns3::Ipv6InterfaceContainer c) [member function]
2406
    cls.add_method('EnablePcapIpv6', 
2407
                   'void', 
2408
                   [param('std::string', 'prefix'), param('ns3::Ipv6InterfaceContainer', 'c')])
2409
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, ns3::NodeContainer n) [member function]
2410
    cls.add_method('EnablePcapIpv6', 
2411
                   'void', 
2412
                   [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')])
2413
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, uint32_t nodeid, uint32_t interface, bool explicitFilename) [member function]
2414
    cls.add_method('EnablePcapIpv6', 
2415
                   'void', 
2416
                   [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')])
2417
    ## internet-trace-helper.h (module 'internet'): void ns3::PcapHelperForIpv6::EnablePcapIpv6All(std::string prefix) [member function]
2418
    cls.add_method('EnablePcapIpv6All', 
2419
                   'void', 
2420
                   [param('std::string', 'prefix')])
2421
    ## 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]
2422
    cls.add_method('EnablePcapIpv6Internal', 
2423
                   'void', 
2424
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], 
2425
                   is_pure_virtual=True, is_virtual=True)
2426
    return
2427
2428
def register_Ns3PointToPointDumbbellHelper_methods(root_module, cls):
2429
    ## point-to-point-dumbbell.h (module 'point-to-point-layout'): ns3::PointToPointDumbbellHelper::PointToPointDumbbellHelper(ns3::PointToPointDumbbellHelper const & arg0) [copy constructor]
2430
    cls.add_constructor([param('ns3::PointToPointDumbbellHelper const &', 'arg0')])
2431
    ## point-to-point-dumbbell.h (module 'point-to-point-layout'): ns3::PointToPointDumbbellHelper::PointToPointDumbbellHelper(uint32_t nLeftLeaf, ns3::PointToPointHelper leftHelper, uint32_t nRightLeaf, ns3::PointToPointHelper rightHelper, ns3::PointToPointHelper bottleneckHelper) [constructor]
2432
    cls.add_constructor([param('uint32_t', 'nLeftLeaf'), param('ns3::PointToPointHelper', 'leftHelper'), param('uint32_t', 'nRightLeaf'), param('ns3::PointToPointHelper', 'rightHelper'), param('ns3::PointToPointHelper', 'bottleneckHelper')])
2433
    ## point-to-point-dumbbell.h (module 'point-to-point-layout'): void ns3::PointToPointDumbbellHelper::AssignIpv4Addresses(ns3::Ipv4AddressHelper leftIp, ns3::Ipv4AddressHelper rightIp, ns3::Ipv4AddressHelper routerIp) [member function]
2434
    cls.add_method('AssignIpv4Addresses', 
2435
                   'void', 
2436
                   [param('ns3::Ipv4AddressHelper', 'leftIp'), param('ns3::Ipv4AddressHelper', 'rightIp'), param('ns3::Ipv4AddressHelper', 'routerIp')])
2437
    ## point-to-point-dumbbell.h (module 'point-to-point-layout'): void ns3::PointToPointDumbbellHelper::BoundingBox(double ulx, double uly, double lrx, double lry) [member function]
2438
    cls.add_method('BoundingBox', 
2439
                   'void', 
2440
                   [param('double', 'ulx'), param('double', 'uly'), param('double', 'lrx'), param('double', 'lry')])
2441
    ## point-to-point-dumbbell.h (module 'point-to-point-layout'): ns3::Ptr<ns3::Node> ns3::PointToPointDumbbellHelper::GetLeft() const [member function]
2442
    cls.add_method('GetLeft', 
2443
                   'ns3::Ptr< ns3::Node >', 
2444
                   [], 
2445
                   is_const=True)
2446
    ## point-to-point-dumbbell.h (module 'point-to-point-layout'): ns3::Ptr<ns3::Node> ns3::PointToPointDumbbellHelper::GetLeft(uint32_t i) const [member function]
2447
    cls.add_method('GetLeft', 
2448
                   'ns3::Ptr< ns3::Node >', 
2449
                   [param('uint32_t', 'i')], 
2450
                   is_const=True)
2451
    ## point-to-point-dumbbell.h (module 'point-to-point-layout'): ns3::Ipv4Address ns3::PointToPointDumbbellHelper::GetLeftIpv4Address(uint32_t i) const [member function]
2452
    cls.add_method('GetLeftIpv4Address', 
2453
                   'ns3::Ipv4Address', 
2454
                   [param('uint32_t', 'i')], 
2455
                   is_const=True)
2456
    ## point-to-point-dumbbell.h (module 'point-to-point-layout'): ns3::Ptr<ns3::Node> ns3::PointToPointDumbbellHelper::GetRight() const [member function]
2457
    cls.add_method('GetRight', 
2458
                   'ns3::Ptr< ns3::Node >', 
2459
                   [], 
2460
                   is_const=True)
2461
    ## point-to-point-dumbbell.h (module 'point-to-point-layout'): ns3::Ptr<ns3::Node> ns3::PointToPointDumbbellHelper::GetRight(uint32_t i) const [member function]
2462
    cls.add_method('GetRight', 
2463
                   'ns3::Ptr< ns3::Node >', 
2464
                   [param('uint32_t', 'i')], 
2465
                   is_const=True)
2466
    ## point-to-point-dumbbell.h (module 'point-to-point-layout'): ns3::Ipv4Address ns3::PointToPointDumbbellHelper::GetRightIpv4Address(uint32_t i) const [member function]
2467
    cls.add_method('GetRightIpv4Address', 
2468
                   'ns3::Ipv4Address', 
2469
                   [param('uint32_t', 'i')], 
2470
                   is_const=True)
2471
    ## point-to-point-dumbbell.h (module 'point-to-point-layout'): void ns3::PointToPointDumbbellHelper::InstallStack(ns3::InternetStackHelper stack) [member function]
2472
    cls.add_method('InstallStack', 
2473
                   'void', 
2474
                   [param('ns3::InternetStackHelper', 'stack')])
2475
    ## point-to-point-dumbbell.h (module 'point-to-point-layout'): uint32_t ns3::PointToPointDumbbellHelper::LeftCount() const [member function]
2476
    cls.add_method('LeftCount', 
2477
                   'uint32_t', 
2478
                   [], 
2479
                   is_const=True)
2480
    ## point-to-point-dumbbell.h (module 'point-to-point-layout'): uint32_t ns3::PointToPointDumbbellHelper::RightCount() const [member function]
2481
    cls.add_method('RightCount', 
2482
                   'uint32_t', 
2483
                   [], 
2484
                   is_const=True)
2485
    return
2486
2487
def register_Ns3PointToPointGridHelper_methods(root_module, cls):
2488
    ## point-to-point-grid.h (module 'point-to-point-layout'): ns3::PointToPointGridHelper::PointToPointGridHelper(ns3::PointToPointGridHelper const & arg0) [copy constructor]
2489
    cls.add_constructor([param('ns3::PointToPointGridHelper const &', 'arg0')])
2490
    ## point-to-point-grid.h (module 'point-to-point-layout'): ns3::PointToPointGridHelper::PointToPointGridHelper(uint32_t nRows, uint32_t nCols, ns3::PointToPointHelper pointToPoint) [constructor]
2491
    cls.add_constructor([param('uint32_t', 'nRows'), param('uint32_t', 'nCols'), param('ns3::PointToPointHelper', 'pointToPoint')])
2492
    ## point-to-point-grid.h (module 'point-to-point-layout'): void ns3::PointToPointGridHelper::AssignIpv4Addresses(ns3::Ipv4AddressHelper rowIp, ns3::Ipv4AddressHelper colIp) [member function]
2493
    cls.add_method('AssignIpv4Addresses', 
2494
                   'void', 
2495
                   [param('ns3::Ipv4AddressHelper', 'rowIp'), param('ns3::Ipv4AddressHelper', 'colIp')])
2496
    ## point-to-point-grid.h (module 'point-to-point-layout'): void ns3::PointToPointGridHelper::BoundingBox(double ulx, double uly, double lrx, double lry) [member function]
2497
    cls.add_method('BoundingBox', 
2498
                   'void', 
2499
                   [param('double', 'ulx'), param('double', 'uly'), param('double', 'lrx'), param('double', 'lry')])
2500
    ## point-to-point-grid.h (module 'point-to-point-layout'): ns3::Ipv4Address ns3::PointToPointGridHelper::GetIpv4Address(uint32_t row, uint32_t col) [member function]
2501
    cls.add_method('GetIpv4Address', 
2502
                   'ns3::Ipv4Address', 
2503
                   [param('uint32_t', 'row'), param('uint32_t', 'col')])
2504
    ## point-to-point-grid.h (module 'point-to-point-layout'): ns3::Ptr<ns3::Node> ns3::PointToPointGridHelper::GetNode(uint32_t row, uint32_t col) [member function]
2505
    cls.add_method('GetNode', 
2506
                   'ns3::Ptr< ns3::Node >', 
2507
                   [param('uint32_t', 'row'), param('uint32_t', 'col')])
2508
    ## point-to-point-grid.h (module 'point-to-point-layout'): void ns3::PointToPointGridHelper::InstallStack(ns3::InternetStackHelper stack) [member function]
2509
    cls.add_method('InstallStack', 
2510
                   'void', 
2511
                   [param('ns3::InternetStackHelper', 'stack')])
2512
    return
2513
2514
def register_Ns3PointToPointHelper_methods(root_module, cls):
2515
    ## point-to-point-helper.h (module 'point-to-point'): ns3::PointToPointHelper::PointToPointHelper(ns3::PointToPointHelper const & arg0) [copy constructor]
2516
    cls.add_constructor([param('ns3::PointToPointHelper const &', 'arg0')])
2517
    ## point-to-point-helper.h (module 'point-to-point'): ns3::PointToPointHelper::PointToPointHelper() [constructor]
2518
    cls.add_constructor([])
2519
    ## point-to-point-helper.h (module 'point-to-point'): ns3::NetDeviceContainer ns3::PointToPointHelper::Install(ns3::NodeContainer c) [member function]
2520
    cls.add_method('Install', 
2521
                   'ns3::NetDeviceContainer', 
2522
                   [param('ns3::NodeContainer', 'c')])
2523
    ## 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]
2524
    cls.add_method('Install', 
2525
                   'ns3::NetDeviceContainer', 
2526
                   [param('ns3::Ptr< ns3::Node >', 'a'), param('ns3::Ptr< ns3::Node >', 'b')])
2527
    ## point-to-point-helper.h (module 'point-to-point'): ns3::NetDeviceContainer ns3::PointToPointHelper::Install(ns3::Ptr<ns3::Node> a, std::string bName) [member function]
2528
    cls.add_method('Install', 
2529
                   'ns3::NetDeviceContainer', 
2530
                   [param('ns3::Ptr< ns3::Node >', 'a'), param('std::string', 'bName')])
2531
    ## point-to-point-helper.h (module 'point-to-point'): ns3::NetDeviceContainer ns3::PointToPointHelper::Install(std::string aName, ns3::Ptr<ns3::Node> b) [member function]
2532
    cls.add_method('Install', 
2533
                   'ns3::NetDeviceContainer', 
2534
                   [param('std::string', 'aName'), param('ns3::Ptr< ns3::Node >', 'b')])
2535
    ## point-to-point-helper.h (module 'point-to-point'): ns3::NetDeviceContainer ns3::PointToPointHelper::Install(std::string aNode, std::string bNode) [member function]
2536
    cls.add_method('Install', 
2537
                   'ns3::NetDeviceContainer', 
2538
                   [param('std::string', 'aNode'), param('std::string', 'bNode')])
2539
    ## point-to-point-helper.h (module 'point-to-point'): void ns3::PointToPointHelper::SetChannelAttribute(std::string name, ns3::AttributeValue const & value) [member function]
2540
    cls.add_method('SetChannelAttribute', 
2541
                   'void', 
2542
                   [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
2543
    ## point-to-point-helper.h (module 'point-to-point'): void ns3::PointToPointHelper::SetDeviceAttribute(std::string name, ns3::AttributeValue const & value) [member function]
2544
    cls.add_method('SetDeviceAttribute', 
2545
                   'void', 
2546
                   [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')])
2547
    ## 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]
2548
    cls.add_method('SetQueue', 
2549
                   'void', 
2550
                   [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()')])
2551
    ## 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]
2552
    cls.add_method('EnableAsciiInternal', 
2553
                   'void', 
2554
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'explicitFilename')], 
2555
                   visibility='private', is_virtual=True)
2556
    ## 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]
2557
    cls.add_method('EnablePcapInternal', 
2558
                   'void', 
2559
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'promiscuous'), param('bool', 'explicitFilename')], 
2560
                   visibility='private', is_virtual=True)
2561
    return
2562
2563
def register_Ns3PointToPointStarHelper_methods(root_module, cls):
2564
    ## point-to-point-star.h (module 'point-to-point-layout'): ns3::PointToPointStarHelper::PointToPointStarHelper(ns3::PointToPointStarHelper const & arg0) [copy constructor]
2565
    cls.add_constructor([param('ns3::PointToPointStarHelper const &', 'arg0')])
2566
    ## point-to-point-star.h (module 'point-to-point-layout'): ns3::PointToPointStarHelper::PointToPointStarHelper(uint32_t numSpokes, ns3::PointToPointHelper p2pHelper) [constructor]
2567
    cls.add_constructor([param('uint32_t', 'numSpokes'), param('ns3::PointToPointHelper', 'p2pHelper')])
2568
    ## point-to-point-star.h (module 'point-to-point-layout'): void ns3::PointToPointStarHelper::AssignIpv4Addresses(ns3::Ipv4AddressHelper address) [member function]
2569
    cls.add_method('AssignIpv4Addresses', 
2570
                   'void', 
2571
                   [param('ns3::Ipv4AddressHelper', 'address')])
2572
    ## point-to-point-star.h (module 'point-to-point-layout'): void ns3::PointToPointStarHelper::BoundingBox(double ulx, double uly, double lrx, double lry) [member function]
2573
    cls.add_method('BoundingBox', 
2574
                   'void', 
2575
                   [param('double', 'ulx'), param('double', 'uly'), param('double', 'lrx'), param('double', 'lry')])
2576
    ## point-to-point-star.h (module 'point-to-point-layout'): ns3::Ptr<ns3::Node> ns3::PointToPointStarHelper::GetHub() const [member function]
2577
    cls.add_method('GetHub', 
2578
                   'ns3::Ptr< ns3::Node >', 
2579
                   [], 
2580
                   is_const=True)
2581
    ## point-to-point-star.h (module 'point-to-point-layout'): ns3::Ipv4Address ns3::PointToPointStarHelper::GetHubIpv4Address(uint32_t i) const [member function]
2582
    cls.add_method('GetHubIpv4Address', 
2583
                   'ns3::Ipv4Address', 
2584
                   [param('uint32_t', 'i')], 
2585
                   is_const=True)
2586
    ## point-to-point-star.h (module 'point-to-point-layout'): ns3::Ipv4Address ns3::PointToPointStarHelper::GetSpokeIpv4Address(uint32_t i) const [member function]
2587
    cls.add_method('GetSpokeIpv4Address', 
2588
                   'ns3::Ipv4Address', 
2589
                   [param('uint32_t', 'i')], 
2590
                   is_const=True)
2591
    ## point-to-point-star.h (module 'point-to-point-layout'): ns3::Ptr<ns3::Node> ns3::PointToPointStarHelper::GetSpokeNode(uint32_t i) const [member function]
2592
    cls.add_method('GetSpokeNode', 
2593
                   'ns3::Ptr< ns3::Node >', 
2594
                   [param('uint32_t', 'i')], 
2595
                   is_const=True)
2596
    ## point-to-point-star.h (module 'point-to-point-layout'): void ns3::PointToPointStarHelper::InstallStack(ns3::InternetStackHelper stack) [member function]
2597
    cls.add_method('InstallStack', 
2598
                   'void', 
2599
                   [param('ns3::InternetStackHelper', 'stack')])
2600
    ## point-to-point-star.h (module 'point-to-point-layout'): uint32_t ns3::PointToPointStarHelper::SpokeCount() const [member function]
2601
    cls.add_method('SpokeCount', 
2602
                   'uint32_t', 
2603
                   [], 
2604
                   is_const=True)
2605
    return
2606
2607
def register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, cls):
2608
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter>::SimpleRefCount() [constructor]
2609
    cls.add_constructor([])
2610
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter>::SimpleRefCount(ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter> const & o) [copy constructor]
2611
    cls.add_constructor([param('ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter > const &', 'o')])
2612
    ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter>::Cleanup() [member function]
2613
    cls.add_method('Cleanup', 
2614
                   'void', 
2615
                   [], 
2616
                   is_static=True)
2617
    return
2618
2619
def register_Ns3Simulator_methods(root_module, cls):
2620
    ## simulator.h (module 'core'): ns3::Simulator::Simulator(ns3::Simulator const & arg0) [copy constructor]
2621
    cls.add_constructor([param('ns3::Simulator const &', 'arg0')])
2622
    ## simulator.h (module 'core'): static void ns3::Simulator::Cancel(ns3::EventId const & id) [member function]
2623
    cls.add_method('Cancel', 
2624
                   'void', 
2625
                   [param('ns3::EventId const &', 'id')], 
2626
                   is_static=True)
2627
    ## simulator.h (module 'core'): static void ns3::Simulator::Destroy() [member function]
2628
    cls.add_method('Destroy', 
2629
                   'void', 
2630
                   [], 
2631
                   is_static=True)
2632
    ## simulator.h (module 'core'): static uint32_t ns3::Simulator::GetContext() [member function]
2633
    cls.add_method('GetContext', 
2634
                   'uint32_t', 
2635
                   [], 
2636
                   is_static=True)
2637
    ## simulator.h (module 'core'): static ns3::Time ns3::Simulator::GetDelayLeft(ns3::EventId const & id) [member function]
2638
    cls.add_method('GetDelayLeft', 
2639
                   'ns3::Time', 
2640
                   [param('ns3::EventId const &', 'id')], 
2641
                   is_static=True)
2642
    ## simulator.h (module 'core'): static ns3::Ptr<ns3::SimulatorImpl> ns3::Simulator::GetImplementation() [member function]
2643
    cls.add_method('GetImplementation', 
2644
                   'ns3::Ptr< ns3::SimulatorImpl >', 
2645
                   [], 
2646
                   is_static=True)
2647
    ## simulator.h (module 'core'): static ns3::Time ns3::Simulator::GetMaximumSimulationTime() [member function]
2648
    cls.add_method('GetMaximumSimulationTime', 
2649
                   'ns3::Time', 
2650
                   [], 
2651
                   is_static=True)
2652
    ## simulator.h (module 'core'): static uint32_t ns3::Simulator::GetSystemId() [member function]
2653
    cls.add_method('GetSystemId', 
2654
                   'uint32_t', 
2655
                   [], 
2656
                   is_static=True)
2657
    ## simulator.h (module 'core'): static bool ns3::Simulator::IsExpired(ns3::EventId const & id) [member function]
2658
    cls.add_method('IsExpired', 
2659
                   'bool', 
2660
                   [param('ns3::EventId const &', 'id')], 
2661
                   is_static=True)
2662
    ## simulator.h (module 'core'): static bool ns3::Simulator::IsFinished() [member function]
2663
    cls.add_method('IsFinished', 
2664
                   'bool', 
2665
                   [], 
2666
                   is_static=True)
2667
    ## simulator.h (module 'core'): static ns3::Time ns3::Simulator::Next() [member function]
2668
    cls.add_method('Next', 
2669
                   'ns3::Time', 
2670
                   [], 
2671
                   is_static=True, deprecated=True)
2672
    ## simulator.h (module 'core'): static ns3::Time ns3::Simulator::Now() [member function]
2673
    cls.add_method('Now', 
2674
                   'ns3::Time', 
2675
                   [], 
2676
                   is_static=True)
2677
    ## simulator.h (module 'core'): static void ns3::Simulator::Remove(ns3::EventId const & id) [member function]
2678
    cls.add_method('Remove', 
2679
                   'void', 
2680
                   [param('ns3::EventId const &', 'id')], 
2681
                   is_static=True)
2682
    ## simulator.h (module 'core'): static void ns3::Simulator::RunOneEvent() [member function]
2683
    cls.add_method('RunOneEvent', 
2684
                   'void', 
2685
                   [], 
2686
                   is_static=True, deprecated=True)
2687
    ## simulator.h (module 'core'): static void ns3::Simulator::SetImplementation(ns3::Ptr<ns3::SimulatorImpl> impl) [member function]
2688
    cls.add_method('SetImplementation', 
2689
                   'void', 
2690
                   [param('ns3::Ptr< ns3::SimulatorImpl >', 'impl')], 
2691
                   is_static=True)
2692
    ## simulator.h (module 'core'): static void ns3::Simulator::SetScheduler(ns3::ObjectFactory schedulerFactory) [member function]
2693
    cls.add_method('SetScheduler', 
2694
                   'void', 
2695
                   [param('ns3::ObjectFactory', 'schedulerFactory')], 
2696
                   is_static=True)
2697
    ## simulator.h (module 'core'): static void ns3::Simulator::Stop() [member function]
2698
    cls.add_method('Stop', 
2699
                   'void', 
2700
                   [], 
2701
                   is_static=True)
2702
    ## simulator.h (module 'core'): static void ns3::Simulator::Stop(ns3::Time const & time) [member function]
2703
    cls.add_method('Stop', 
2704
                   'void', 
2705
                   [param('ns3::Time const &', 'time')], 
2706
                   is_static=True)
2707
    return
2708
2709
def register_Ns3Tag_methods(root_module, cls):
2710
    ## tag.h (module 'network'): ns3::Tag::Tag() [constructor]
2711
    cls.add_constructor([])
2712
    ## tag.h (module 'network'): ns3::Tag::Tag(ns3::Tag const & arg0) [copy constructor]
2713
    cls.add_constructor([param('ns3::Tag const &', 'arg0')])
2714
    ## tag.h (module 'network'): void ns3::Tag::Deserialize(ns3::TagBuffer i) [member function]
2715
    cls.add_method('Deserialize', 
2716
                   'void', 
2717
                   [param('ns3::TagBuffer', 'i')], 
2718
                   is_pure_virtual=True, is_virtual=True)
2719
    ## tag.h (module 'network'): uint32_t ns3::Tag::GetSerializedSize() const [member function]
2720
    cls.add_method('GetSerializedSize', 
2721
                   'uint32_t', 
2722
                   [], 
2723
                   is_pure_virtual=True, is_const=True, is_virtual=True)
2724
    ## tag.h (module 'network'): static ns3::TypeId ns3::Tag::GetTypeId() [member function]
2725
    cls.add_method('GetTypeId', 
2726
                   'ns3::TypeId', 
2727
                   [], 
2728
                   is_static=True)
2729
    ## tag.h (module 'network'): void ns3::Tag::Print(std::ostream & os) const [member function]
2730
    cls.add_method('Print', 
2731
                   'void', 
2732
                   [param('std::ostream &', 'os')], 
2733
                   is_pure_virtual=True, is_const=True, is_virtual=True)
2734
    ## tag.h (module 'network'): void ns3::Tag::Serialize(ns3::TagBuffer i) const [member function]
2735
    cls.add_method('Serialize', 
2736
                   'void', 
2737
                   [param('ns3::TagBuffer', 'i')], 
2738
                   is_pure_virtual=True, is_const=True, is_virtual=True)
2739
    return
2740
2741
def register_Ns3TagBuffer_methods(root_module, cls):
2742
    ## tag-buffer.h (module 'network'): ns3::TagBuffer::TagBuffer(ns3::TagBuffer const & arg0) [copy constructor]
2743
    cls.add_constructor([param('ns3::TagBuffer const &', 'arg0')])
2744
    ## tag-buffer.h (module 'network'): ns3::TagBuffer::TagBuffer(uint8_t * start, uint8_t * end) [constructor]
2745
    cls.add_constructor([param('uint8_t *', 'start'), param('uint8_t *', 'end')])
2746
    ## tag-buffer.h (module 'network'): void ns3::TagBuffer::CopyFrom(ns3::TagBuffer o) [member function]
2747
    cls.add_method('CopyFrom', 
2748
                   'void', 
2749
                   [param('ns3::TagBuffer', 'o')])
2750
    ## tag-buffer.h (module 'network'): void ns3::TagBuffer::Read(uint8_t * buffer, uint32_t size) [member function]
2751
    cls.add_method('Read', 
2752
                   'void', 
2753
                   [param('uint8_t *', 'buffer'), param('uint32_t', 'size')])
2754
    ## tag-buffer.h (module 'network'): double ns3::TagBuffer::ReadDouble() [member function]
2755
    cls.add_method('ReadDouble', 
2756
                   'double', 
2757
                   [])
2758
    ## tag-buffer.h (module 'network'): uint16_t ns3::TagBuffer::ReadU16() [member function]
2759
    cls.add_method('ReadU16', 
2760
                   'uint16_t', 
2761
                   [])
2762
    ## tag-buffer.h (module 'network'): uint32_t ns3::TagBuffer::ReadU32() [member function]
2763
    cls.add_method('ReadU32', 
2764
                   'uint32_t', 
2765
                   [])
2766
    ## tag-buffer.h (module 'network'): uint64_t ns3::TagBuffer::ReadU64() [member function]
2767
    cls.add_method('ReadU64', 
2768
                   'uint64_t', 
2769
                   [])
2770
    ## tag-buffer.h (module 'network'): uint8_t ns3::TagBuffer::ReadU8() [member function]
2771
    cls.add_method('ReadU8', 
2772
                   'uint8_t', 
2773
                   [])
2774
    ## tag-buffer.h (module 'network'): void ns3::TagBuffer::TrimAtEnd(uint32_t trim) [member function]
2775
    cls.add_method('TrimAtEnd', 
2776
                   'void', 
2777
                   [param('uint32_t', 'trim')])
2778
    ## tag-buffer.h (module 'network'): void ns3::TagBuffer::Write(uint8_t const * buffer, uint32_t size) [member function]
2779
    cls.add_method('Write', 
2780
                   'void', 
2781
                   [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
2782
    ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteDouble(double v) [member function]
2783
    cls.add_method('WriteDouble', 
2784
                   'void', 
2785
                   [param('double', 'v')])
2786
    ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU16(uint16_t data) [member function]
2787
    cls.add_method('WriteU16', 
2788
                   'void', 
2789
                   [param('uint16_t', 'data')])
2790
    ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU32(uint32_t data) [member function]
2791
    cls.add_method('WriteU32', 
2792
                   'void', 
2793
                   [param('uint32_t', 'data')])
2794
    ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU64(uint64_t v) [member function]
2795
    cls.add_method('WriteU64', 
2796
                   'void', 
2797
                   [param('uint64_t', 'v')])
2798
    ## tag-buffer.h (module 'network'): void ns3::TagBuffer::WriteU8(uint8_t v) [member function]
2799
    cls.add_method('WriteU8', 
2800
                   'void', 
2801
                   [param('uint8_t', 'v')])
2802
    return
2803
2804
def register_Ns3TypeId_methods(root_module, cls):
2805
    cls.add_binary_comparison_operator('<')
2806
    cls.add_binary_comparison_operator('!=')
2807
    cls.add_output_stream_operator()
2808
    cls.add_binary_comparison_operator('==')
2809
    ## type-id.h (module 'core'): ns3::TypeId::TypeId(char const * name) [constructor]
2810
    cls.add_constructor([param('char const *', 'name')])
2811
    ## type-id.h (module 'core'): ns3::TypeId::TypeId() [constructor]
2812
    cls.add_constructor([])
2813
    ## type-id.h (module 'core'): ns3::TypeId::TypeId(ns3::TypeId const & o) [copy constructor]
2814
    cls.add_constructor([param('ns3::TypeId const &', 'o')])
2815
    ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddAttribute(std::string name, std::string help, ns3::AttributeValue const & initialValue, ns3::Ptr<ns3::AttributeAccessor const> accessor, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
2816
    cls.add_method('AddAttribute', 
2817
                   'ns3::TypeId', 
2818
                   [param('std::string', 'name'), param('std::string', 'help'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')])
2819
    ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddAttribute(std::string name, std::string help, uint32_t flags, ns3::AttributeValue const & initialValue, ns3::Ptr<ns3::AttributeAccessor const> accessor, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
2820
    cls.add_method('AddAttribute', 
2821
                   'ns3::TypeId', 
2822
                   [param('std::string', 'name'), param('std::string', 'help'), param('uint32_t', 'flags'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')])
2823
    ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr<const ns3::TraceSourceAccessor> accessor) [member function]
2824
    cls.add_method('AddTraceSource', 
2825
                   'ns3::TypeId', 
2826
                   [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')])
2827
    ## type-id.h (module 'core'): ns3::Ptr<ns3::AttributeAccessor const> ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function]
2828
    cls.add_method('GetAttributeAccessor', 
2829
                   'ns3::Ptr< ns3::AttributeAccessor const >', 
2830
                   [param('uint32_t', 'i')], 
2831
                   is_const=True)
2832
    ## type-id.h (module 'core'): ns3::Ptr<ns3::AttributeChecker const> ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function]
2833
    cls.add_method('GetAttributeChecker', 
2834
                   'ns3::Ptr< ns3::AttributeChecker const >', 
2835
                   [param('uint32_t', 'i')], 
2836
                   is_const=True)
2837
    ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function]
2838
    cls.add_method('GetAttributeFlags', 
2839
                   'uint32_t', 
2840
                   [param('uint32_t', 'i')], 
2841
                   is_const=True)
2842
    ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function]
2843
    cls.add_method('GetAttributeFullName', 
2844
                   'std::string', 
2845
                   [param('uint32_t', 'i')], 
2846
                   is_const=True)
2847
    ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function]
2848
    cls.add_method('GetAttributeHelp', 
2849
                   'std::string', 
2850
                   [param('uint32_t', 'i')], 
2851
                   is_const=True)
2852
    ## type-id.h (module 'core'): ns3::Ptr<ns3::AttributeValue const> ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function]
2853
    cls.add_method('GetAttributeInitialValue', 
2854
                   'ns3::Ptr< ns3::AttributeValue const >', 
2855
                   [param('uint32_t', 'i')], 
2856
                   is_const=True)
2857
    ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function]
2858
    cls.add_method('GetAttributeN', 
2859
                   'uint32_t', 
2860
                   [], 
2861
                   is_const=True)
2862
    ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function]
2863
    cls.add_method('GetAttributeName', 
2864
                   'std::string', 
2865
                   [param('uint32_t', 'i')], 
2866
                   is_const=True)
2867
    ## type-id.h (module 'core'): ns3::Callback<ns3::ObjectBase*,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ns3::TypeId::GetConstructor() const [member function]
2868
    cls.add_method('GetConstructor', 
2869
                   'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 
2870
                   [], 
2871
                   is_const=True)
2872
    ## type-id.h (module 'core'): std::string ns3::TypeId::GetGroupName() const [member function]
2873
    cls.add_method('GetGroupName', 
2874
                   'std::string', 
2875
                   [], 
2876
                   is_const=True)
2877
    ## type-id.h (module 'core'): std::string ns3::TypeId::GetName() const [member function]
2878
    cls.add_method('GetName', 
2879
                   'std::string', 
2880
                   [], 
2881
                   is_const=True)
2882
    ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::GetParent() const [member function]
2883
    cls.add_method('GetParent', 
2884
                   'ns3::TypeId', 
2885
                   [], 
2886
                   is_const=True)
2887
    ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::GetRegistered(uint32_t i) [member function]
2888
    cls.add_method('GetRegistered', 
2889
                   'ns3::TypeId', 
2890
                   [param('uint32_t', 'i')], 
2891
                   is_static=True)
2892
    ## type-id.h (module 'core'): static uint32_t ns3::TypeId::GetRegisteredN() [member function]
2893
    cls.add_method('GetRegisteredN', 
2894
                   'uint32_t', 
2895
                   [], 
2896
                   is_static=True)
2897
    ## type-id.h (module 'core'): ns3::Ptr<const ns3::TraceSourceAccessor> ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function]
2898
    cls.add_method('GetTraceSourceAccessor', 
2899
                   'ns3::Ptr< ns3::TraceSourceAccessor const >', 
2900
                   [param('uint32_t', 'i')], 
2901
                   is_const=True)
2902
    ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function]
2903
    cls.add_method('GetTraceSourceHelp', 
2904
                   'std::string', 
2905
                   [param('uint32_t', 'i')], 
2906
                   is_const=True)
2907
    ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function]
2908
    cls.add_method('GetTraceSourceN', 
2909
                   'uint32_t', 
2910
                   [], 
2911
                   is_const=True)
2912
    ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function]
2913
    cls.add_method('GetTraceSourceName', 
2914
                   'std::string', 
2915
                   [param('uint32_t', 'i')], 
2916
                   is_const=True)
2917
    ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function]
2918
    cls.add_method('GetUid', 
2919
                   'uint16_t', 
2920
                   [], 
2921
                   is_const=True)
2922
    ## type-id.h (module 'core'): bool ns3::TypeId::HasConstructor() const [member function]
2923
    cls.add_method('HasConstructor', 
2924
                   'bool', 
2925
                   [], 
2926
                   is_const=True)
2927
    ## type-id.h (module 'core'): bool ns3::TypeId::HasParent() const [member function]
2928
    cls.add_method('HasParent', 
2929
                   'bool', 
2930
                   [], 
2931
                   is_const=True)
2932
    ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::HideFromDocumentation() [member function]
2933
    cls.add_method('HideFromDocumentation', 
2934
                   'ns3::TypeId', 
2935
                   [])
2936
    ## type-id.h (module 'core'): bool ns3::TypeId::IsChildOf(ns3::TypeId other) const [member function]
2937
    cls.add_method('IsChildOf', 
2938
                   'bool', 
2939
                   [param('ns3::TypeId', 'other')], 
2940
                   is_const=True)
2941
    ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function]
2942
    cls.add_method('LookupAttributeByFullName', 
2943
                   'bool', 
2944
                   [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], 
2945
                   is_static=True)
2946
    ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function]
2947
    cls.add_method('LookupAttributeByName', 
2948
                   'bool', 
2949
                   [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], 
2950
                   is_const=True)
2951
    ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function]
2952
    cls.add_method('LookupByName', 
2953
                   'ns3::TypeId', 
2954
                   [param('std::string', 'name')], 
2955
                   is_static=True)
2956
    ## type-id.h (module 'core'): ns3::Ptr<const ns3::TraceSourceAccessor> ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function]
2957
    cls.add_method('LookupTraceSourceByName', 
2958
                   'ns3::Ptr< ns3::TraceSourceAccessor const >', 
2959
                   [param('std::string', 'name')], 
2960
                   is_const=True)
2961
    ## type-id.h (module 'core'): bool ns3::TypeId::MustHideFromDocumentation() const [member function]
2962
    cls.add_method('MustHideFromDocumentation', 
2963
                   'bool', 
2964
                   [], 
2965
                   is_const=True)
2966
    ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function]
2967
    cls.add_method('SetGroupName', 
2968
                   'ns3::TypeId', 
2969
                   [param('std::string', 'groupName')])
2970
    ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetParent(ns3::TypeId tid) [member function]
2971
    cls.add_method('SetParent', 
2972
                   'ns3::TypeId', 
2973
                   [param('ns3::TypeId', 'tid')])
2974
    ## type-id.h (module 'core'): void ns3::TypeId::SetUid(uint16_t tid) [member function]
2975
    cls.add_method('SetUid', 
2976
                   'void', 
2977
                   [param('uint16_t', 'tid')])
2978
    return
2979
2980
def register_Ns3TypeIdAttributeInfo_methods(root_module, cls):
2981
    ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor]
2982
    cls.add_constructor([])
2983
    ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor]
2984
    cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')])
2985
    ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable]
2986
    cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False)
2987
    ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable]
2988
    cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False)
2989
    ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable]
2990
    cls.add_instance_attribute('flags', 'uint32_t', is_const=False)
2991
    ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable]
2992
    cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False)
2993
    return
2994
2995
def register_Ns3UnsafeAttributeList_methods(root_module, cls):
2996
    ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor]
2997
    cls.add_constructor([])
2998
    ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor]
2999
    cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')])
3000
    ## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function]
3001
    cls.add_method('GetSafe', 
3002
                   'ns3::AttributeList', 
3003
                   [param('std::string', 'name')], 
3004
                   is_const=True)
3005
    ## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function]
3006
    cls.add_method('Set', 
3007
                   'void', 
3008
                   [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')])
3009
    return
3010
3011
def register_Ns3Empty_methods(root_module, cls):
3012
    ## empty.h (module 'core'): ns3::empty::empty() [constructor]
3013
    cls.add_constructor([])
3014
    ## empty.h (module 'core'): ns3::empty::empty(ns3::empty const & arg0) [copy constructor]
3015
    cls.add_constructor([param('ns3::empty const &', 'arg0')])
3016
    return
3017
3018
def register_Ns3Int64x64_t_methods(root_module, cls):
3019
    cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
3020
    cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
3021
    cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
3022
    cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
3023
    cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
3024
    cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
3025
    cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
3026
    cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
3027
    cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
3028
    cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
3029
    cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
3030
    cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
3031
    cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
3032
    cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
3033
    cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
3034
    cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
3035
    cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
3036
    cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
3037
    cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
3038
    cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
3039
    cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
3040
    cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
3041
    cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
3042
    cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
3043
    cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
3044
    cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
3045
    cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
3046
    cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
3047
    cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
3048
    cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
3049
    cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
3050
    cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
3051
    cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
3052
    cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
3053
    cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
3054
    cls.add_unary_numeric_operator('-')
3055
    cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
3056
    cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right'))
3057
    cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right'))
3058
    cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right'))
3059
    cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right'))
3060
    cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right'))
3061
    cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right'))
3062
    cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right'))
3063
    cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right'))
3064
    cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right'))
3065
    cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right'))
3066
    cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right'))
3067
    cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right'))
3068
    cls.add_binary_comparison_operator('<')
3069
    cls.add_binary_comparison_operator('>')
3070
    cls.add_binary_comparison_operator('!=')
3071
    cls.add_inplace_numeric_operator('*=', param('ns3::int64x64_t const &', 'right'))
3072
    cls.add_inplace_numeric_operator('+=', param('ns3::int64x64_t const &', 'right'))
3073
    cls.add_inplace_numeric_operator('-=', param('ns3::int64x64_t const &', 'right'))
3074
    cls.add_inplace_numeric_operator('/=', param('ns3::int64x64_t const &', 'right'))
3075
    cls.add_output_stream_operator()
3076
    cls.add_binary_comparison_operator('<=')
3077
    cls.add_binary_comparison_operator('==')
3078
    cls.add_binary_comparison_operator('>=')
3079
    ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t() [constructor]
3080
    cls.add_constructor([])
3081
    ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(double v) [constructor]
3082
    cls.add_constructor([param('double', 'v')])
3083
    ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(int v) [constructor]
3084
    cls.add_constructor([param('int', 'v')])
3085
    ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long int v) [constructor]
3086
    cls.add_constructor([param('long int', 'v')])
3087
    ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long long int v) [constructor]
3088
    cls.add_constructor([param('long long int', 'v')])
3089
    ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(unsigned int v) [constructor]
3090
    cls.add_constructor([param('unsigned int', 'v')])
3091
    ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long unsigned int v) [constructor]
3092
    cls.add_constructor([param('long unsigned int', 'v')])
3093
    ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(long long unsigned int v) [constructor]
3094
    cls.add_constructor([param('long long unsigned int', 'v')])
3095
    ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(int64_t hi, uint64_t lo) [constructor]
3096
    cls.add_constructor([param('int64_t', 'hi'), param('uint64_t', 'lo')])
3097
    ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t(ns3::int64x64_t const & o) [copy constructor]
3098
    cls.add_constructor([param('ns3::int64x64_t const &', 'o')])
3099
    ## int64x64-double.h (module 'core'): double ns3::int64x64_t::GetDouble() const [member function]
3100
    cls.add_method('GetDouble', 
3101
                   'double', 
3102
                   [], 
3103
                   is_const=True)
3104
    ## int64x64-double.h (module 'core'): int64_t ns3::int64x64_t::GetHigh() const [member function]
3105
    cls.add_method('GetHigh', 
3106
                   'int64_t', 
3107
                   [], 
3108
                   is_const=True)
3109
    ## int64x64-double.h (module 'core'): uint64_t ns3::int64x64_t::GetLow() const [member function]
3110
    cls.add_method('GetLow', 
3111
                   'uint64_t', 
3112
                   [], 
3113
                   is_const=True)
3114
    ## int64x64-double.h (module 'core'): static ns3::int64x64_t ns3::int64x64_t::Invert(uint64_t v) [member function]
3115
    cls.add_method('Invert', 
3116
                   'ns3::int64x64_t', 
3117
                   [param('uint64_t', 'v')], 
3118
                   is_static=True)
3119
    ## int64x64-double.h (module 'core'): void ns3::int64x64_t::MulByInvert(ns3::int64x64_t const & o) [member function]
3120
    cls.add_method('MulByInvert', 
3121
                   'void', 
3122
                   [param('ns3::int64x64_t const &', 'o')])
3123
    return
3124
3125
def register_Ns3Chunk_methods(root_module, cls):
3126
    ## chunk.h (module 'network'): ns3::Chunk::Chunk() [constructor]
3127
    cls.add_constructor([])
3128
    ## chunk.h (module 'network'): ns3::Chunk::Chunk(ns3::Chunk const & arg0) [copy constructor]
3129
    cls.add_constructor([param('ns3::Chunk const &', 'arg0')])
3130
    ## chunk.h (module 'network'): uint32_t ns3::Chunk::Deserialize(ns3::Buffer::Iterator start) [member function]
3131
    cls.add_method('Deserialize', 
3132
                   'uint32_t', 
3133
                   [param('ns3::Buffer::Iterator', 'start')], 
3134
                   is_pure_virtual=True, is_virtual=True)
3135
    ## chunk.h (module 'network'): static ns3::TypeId ns3::Chunk::GetTypeId() [member function]
3136
    cls.add_method('GetTypeId', 
3137
                   'ns3::TypeId', 
3138
                   [], 
3139
                   is_static=True)
3140
    ## chunk.h (module 'network'): void ns3::Chunk::Print(std::ostream & os) const [member function]
3141
    cls.add_method('Print', 
3142
                   'void', 
3143
                   [param('std::ostream &', 'os')], 
3144
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3145
    return
3146
3147
def register_Ns3Header_methods(root_module, cls):
3148
    cls.add_output_stream_operator()
3149
    ## header.h (module 'network'): ns3::Header::Header() [constructor]
3150
    cls.add_constructor([])
3151
    ## header.h (module 'network'): ns3::Header::Header(ns3::Header const & arg0) [copy constructor]
3152
    cls.add_constructor([param('ns3::Header const &', 'arg0')])
3153
    ## header.h (module 'network'): uint32_t ns3::Header::Deserialize(ns3::Buffer::Iterator start) [member function]
3154
    cls.add_method('Deserialize', 
3155
                   'uint32_t', 
3156
                   [param('ns3::Buffer::Iterator', 'start')], 
3157
                   is_pure_virtual=True, is_virtual=True)
3158
    ## header.h (module 'network'): uint32_t ns3::Header::GetSerializedSize() const [member function]
3159
    cls.add_method('GetSerializedSize', 
3160
                   'uint32_t', 
3161
                   [], 
3162
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3163
    ## header.h (module 'network'): static ns3::TypeId ns3::Header::GetTypeId() [member function]
3164
    cls.add_method('GetTypeId', 
3165
                   'ns3::TypeId', 
3166
                   [], 
3167
                   is_static=True)
3168
    ## header.h (module 'network'): void ns3::Header::Print(std::ostream & os) const [member function]
3169
    cls.add_method('Print', 
3170
                   'void', 
3171
                   [param('std::ostream &', 'os')], 
3172
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3173
    ## header.h (module 'network'): void ns3::Header::Serialize(ns3::Buffer::Iterator start) const [member function]
3174
    cls.add_method('Serialize', 
3175
                   'void', 
3176
                   [param('ns3::Buffer::Iterator', 'start')], 
3177
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3178
    return
3179
3180
def register_Ns3InternetStackHelper_methods(root_module, cls):
3181
    ## internet-stack-helper.h (module 'internet'): ns3::InternetStackHelper::InternetStackHelper() [constructor]
3182
    cls.add_constructor([])
3183
    ## internet-stack-helper.h (module 'internet'): ns3::InternetStackHelper::InternetStackHelper(ns3::InternetStackHelper const & arg0) [copy constructor]
3184
    cls.add_constructor([param('ns3::InternetStackHelper const &', 'arg0')])
3185
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::Install(std::string nodeName) const [member function]
3186
    cls.add_method('Install', 
3187
                   'void', 
3188
                   [param('std::string', 'nodeName')], 
3189
                   is_const=True)
3190
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::Install(ns3::Ptr<ns3::Node> node) const [member function]
3191
    cls.add_method('Install', 
3192
                   'void', 
3193
                   [param('ns3::Ptr< ns3::Node >', 'node')], 
3194
                   is_const=True)
3195
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::Install(ns3::NodeContainer c) const [member function]
3196
    cls.add_method('Install', 
3197
                   'void', 
3198
                   [param('ns3::NodeContainer', 'c')], 
3199
                   is_const=True)
3200
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::InstallAll() const [member function]
3201
    cls.add_method('InstallAll', 
3202
                   'void', 
3203
                   [], 
3204
                   is_const=True)
3205
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::Reset() [member function]
3206
    cls.add_method('Reset', 
3207
                   'void', 
3208
                   [])
3209
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::SetIpv4StackInstall(bool enable) [member function]
3210
    cls.add_method('SetIpv4StackInstall', 
3211
                   'void', 
3212
                   [param('bool', 'enable')])
3213
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::SetIpv6StackInstall(bool enable) [member function]
3214
    cls.add_method('SetIpv6StackInstall', 
3215
                   'void', 
3216
                   [param('bool', 'enable')])
3217
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::SetRoutingHelper(ns3::Ipv4RoutingHelper const & routing) [member function]
3218
    cls.add_method('SetRoutingHelper', 
3219
                   'void', 
3220
                   [param('ns3::Ipv4RoutingHelper const &', 'routing')])
3221
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::SetRoutingHelper(ns3::Ipv6RoutingHelper const & routing) [member function]
3222
    cls.add_method('SetRoutingHelper', 
3223
                   'void', 
3224
                   [param('ns3::Ipv6RoutingHelper const &', 'routing')])
3225
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::SetTcp(std::string tid) [member function]
3226
    cls.add_method('SetTcp', 
3227
                   'void', 
3228
                   [param('std::string', 'tid')])
3229
    ## internet-stack-helper.h (module 'internet'): void ns3::InternetStackHelper::SetTcp(std::string tid, std::string attr, ns3::AttributeValue const & val) [member function]
3230
    cls.add_method('SetTcp', 
3231
                   'void', 
3232
                   [param('std::string', 'tid'), param('std::string', 'attr'), param('ns3::AttributeValue const &', 'val')])
3233
    ## 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]
3234
    cls.add_method('EnableAsciiIpv4Internal', 
3235
                   'void', 
3236
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], 
3237
                   visibility='private', is_virtual=True)
3238
    ## 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]
3239
    cls.add_method('EnableAsciiIpv6Internal', 
3240
                   'void', 
3241
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], 
3242
                   visibility='private', is_virtual=True)
3243
    ## 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]
3244
    cls.add_method('EnablePcapIpv4Internal', 
3245
                   'void', 
3246
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], 
3247
                   visibility='private', is_virtual=True)
3248
    ## 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]
3249
    cls.add_method('EnablePcapIpv6Internal', 
3250
                   'void', 
3251
                   [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], 
3252
                   visibility='private', is_virtual=True)
3253
    return
3254
3255
def register_Ns3Ipv4Header_methods(root_module, cls):
3256
    ## ipv4-header.h (module 'internet'): ns3::Ipv4Header::Ipv4Header(ns3::Ipv4Header const & arg0) [copy constructor]
3257
    cls.add_constructor([param('ns3::Ipv4Header const &', 'arg0')])
3258
    ## ipv4-header.h (module 'internet'): ns3::Ipv4Header::Ipv4Header() [constructor]
3259
    cls.add_constructor([])
3260
    ## ipv4-header.h (module 'internet'): uint32_t ns3::Ipv4Header::Deserialize(ns3::Buffer::Iterator start) [member function]
3261
    cls.add_method('Deserialize', 
3262
                   'uint32_t', 
3263
                   [param('ns3::Buffer::Iterator', 'start')], 
3264
                   is_virtual=True)
3265
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::EnableChecksum() [member function]
3266
    cls.add_method('EnableChecksum', 
3267
                   'void', 
3268
                   [])
3269
    ## ipv4-header.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4Header::GetDestination() const [member function]
3270
    cls.add_method('GetDestination', 
3271
                   'ns3::Ipv4Address', 
3272
                   [], 
3273
                   is_const=True)
3274
    ## ipv4-header.h (module 'internet'): uint16_t ns3::Ipv4Header::GetFragmentOffset() const [member function]
3275
    cls.add_method('GetFragmentOffset', 
3276
                   'uint16_t', 
3277
                   [], 
3278
                   is_const=True)
3279
    ## ipv4-header.h (module 'internet'): uint16_t ns3::Ipv4Header::GetIdentification() const [member function]
3280
    cls.add_method('GetIdentification', 
3281
                   'uint16_t', 
3282
                   [], 
3283
                   is_const=True)
3284
    ## ipv4-header.h (module 'internet'): ns3::TypeId ns3::Ipv4Header::GetInstanceTypeId() const [member function]
3285
    cls.add_method('GetInstanceTypeId', 
3286
                   'ns3::TypeId', 
3287
                   [], 
3288
                   is_const=True, is_virtual=True)
3289
    ## ipv4-header.h (module 'internet'): uint16_t ns3::Ipv4Header::GetPayloadSize() const [member function]
3290
    cls.add_method('GetPayloadSize', 
3291
                   'uint16_t', 
3292
                   [], 
3293
                   is_const=True)
3294
    ## ipv4-header.h (module 'internet'): uint8_t ns3::Ipv4Header::GetProtocol() const [member function]
3295
    cls.add_method('GetProtocol', 
3296
                   'uint8_t', 
3297
                   [], 
3298
                   is_const=True)
3299
    ## ipv4-header.h (module 'internet'): uint32_t ns3::Ipv4Header::GetSerializedSize() const [member function]
3300
    cls.add_method('GetSerializedSize', 
3301
                   'uint32_t', 
3302
                   [], 
3303
                   is_const=True, is_virtual=True)
3304
    ## ipv4-header.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4Header::GetSource() const [member function]
3305
    cls.add_method('GetSource', 
3306
                   'ns3::Ipv4Address', 
3307
                   [], 
3308
                   is_const=True)
3309
    ## ipv4-header.h (module 'internet'): uint8_t ns3::Ipv4Header::GetTos() const [member function]
3310
    cls.add_method('GetTos', 
3311
                   'uint8_t', 
3312
                   [], 
3313
                   is_const=True)
3314
    ## ipv4-header.h (module 'internet'): uint8_t ns3::Ipv4Header::GetTtl() const [member function]
3315
    cls.add_method('GetTtl', 
3316
                   'uint8_t', 
3317
                   [], 
3318
                   is_const=True)
3319
    ## ipv4-header.h (module 'internet'): static ns3::TypeId ns3::Ipv4Header::GetTypeId() [member function]
3320
    cls.add_method('GetTypeId', 
3321
                   'ns3::TypeId', 
3322
                   [], 
3323
                   is_static=True)
3324
    ## ipv4-header.h (module 'internet'): bool ns3::Ipv4Header::IsChecksumOk() const [member function]
3325
    cls.add_method('IsChecksumOk', 
3326
                   'bool', 
3327
                   [], 
3328
                   is_const=True)
3329
    ## ipv4-header.h (module 'internet'): bool ns3::Ipv4Header::IsDontFragment() const [member function]
3330
    cls.add_method('IsDontFragment', 
3331
                   'bool', 
3332
                   [], 
3333
                   is_const=True)
3334
    ## ipv4-header.h (module 'internet'): bool ns3::Ipv4Header::IsLastFragment() const [member function]
3335
    cls.add_method('IsLastFragment', 
3336
                   'bool', 
3337
                   [], 
3338
                   is_const=True)
3339
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::Print(std::ostream & os) const [member function]
3340
    cls.add_method('Print', 
3341
                   'void', 
3342
                   [param('std::ostream &', 'os')], 
3343
                   is_const=True, is_virtual=True)
3344
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::Serialize(ns3::Buffer::Iterator start) const [member function]
3345
    cls.add_method('Serialize', 
3346
                   'void', 
3347
                   [param('ns3::Buffer::Iterator', 'start')], 
3348
                   is_const=True, is_virtual=True)
3349
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetDestination(ns3::Ipv4Address destination) [member function]
3350
    cls.add_method('SetDestination', 
3351
                   'void', 
3352
                   [param('ns3::Ipv4Address', 'destination')])
3353
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetDontFragment() [member function]
3354
    cls.add_method('SetDontFragment', 
3355
                   'void', 
3356
                   [])
3357
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetFragmentOffset(uint16_t offset) [member function]
3358
    cls.add_method('SetFragmentOffset', 
3359
                   'void', 
3360
                   [param('uint16_t', 'offset')])
3361
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetIdentification(uint16_t identification) [member function]
3362
    cls.add_method('SetIdentification', 
3363
                   'void', 
3364
                   [param('uint16_t', 'identification')])
3365
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetLastFragment() [member function]
3366
    cls.add_method('SetLastFragment', 
3367
                   'void', 
3368
                   [])
3369
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetMayFragment() [member function]
3370
    cls.add_method('SetMayFragment', 
3371
                   'void', 
3372
                   [])
3373
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetMoreFragments() [member function]
3374
    cls.add_method('SetMoreFragments', 
3375
                   'void', 
3376
                   [])
3377
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetPayloadSize(uint16_t size) [member function]
3378
    cls.add_method('SetPayloadSize', 
3379
                   'void', 
3380
                   [param('uint16_t', 'size')])
3381
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetProtocol(uint8_t num) [member function]
3382
    cls.add_method('SetProtocol', 
3383
                   'void', 
3384
                   [param('uint8_t', 'num')])
3385
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetSource(ns3::Ipv4Address source) [member function]
3386
    cls.add_method('SetSource', 
3387
                   'void', 
3388
                   [param('ns3::Ipv4Address', 'source')])
3389
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetTos(uint8_t tos) [member function]
3390
    cls.add_method('SetTos', 
3391
                   'void', 
3392
                   [param('uint8_t', 'tos')])
3393
    ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetTtl(uint8_t ttl) [member function]
3394
    cls.add_method('SetTtl', 
3395
                   'void', 
3396
                   [param('uint8_t', 'ttl')])
3397
    return
3398
3399
def register_Ns3Ipv6Header_methods(root_module, cls):
3400
    ## ipv6-header.h (module 'internet'): ns3::Ipv6Header::Ipv6Header(ns3::Ipv6Header const & arg0) [copy constructor]
3401
    cls.add_constructor([param('ns3::Ipv6Header const &', 'arg0')])
3402
    ## ipv6-header.h (module 'internet'): ns3::Ipv6Header::Ipv6Header() [constructor]
3403
    cls.add_constructor([])
3404
    ## ipv6-header.h (module 'internet'): uint32_t ns3::Ipv6Header::Deserialize(ns3::Buffer::Iterator start) [member function]
3405
    cls.add_method('Deserialize', 
3406
                   'uint32_t', 
3407
                   [param('ns3::Buffer::Iterator', 'start')], 
3408
                   is_virtual=True)
3409
    ## ipv6-header.h (module 'internet'): ns3::Ipv6Address ns3::Ipv6Header::GetDestinationAddress() const [member function]
3410
    cls.add_method('GetDestinationAddress', 
3411
                   'ns3::Ipv6Address', 
3412
                   [], 
3413
                   is_const=True)
3414
    ## ipv6-header.h (module 'internet'): uint32_t ns3::Ipv6Header::GetFlowLabel() const [member function]
3415
    cls.add_method('GetFlowLabel', 
3416
                   'uint32_t', 
3417
                   [], 
3418
                   is_const=True)
3419
    ## ipv6-header.h (module 'internet'): uint8_t ns3::Ipv6Header::GetHopLimit() const [member function]
3420
    cls.add_method('GetHopLimit', 
3421
                   'uint8_t', 
3422
                   [], 
3423
                   is_const=True)
3424
    ## ipv6-header.h (module 'internet'): ns3::TypeId ns3::Ipv6Header::GetInstanceTypeId() const [member function]
3425
    cls.add_method('GetInstanceTypeId', 
3426
                   'ns3::TypeId', 
3427
                   [], 
3428
                   is_const=True, is_virtual=True)
3429
    ## ipv6-header.h (module 'internet'): uint8_t ns3::Ipv6Header::GetNextHeader() const [member function]
3430
    cls.add_method('GetNextHeader', 
3431
                   'uint8_t', 
3432
                   [], 
3433
                   is_const=True)
3434
    ## ipv6-header.h (module 'internet'): uint16_t ns3::Ipv6Header::GetPayloadLength() const [member function]
3435
    cls.add_method('GetPayloadLength', 
3436
                   'uint16_t', 
3437
                   [], 
3438
                   is_const=True)
3439
    ## ipv6-header.h (module 'internet'): uint32_t ns3::Ipv6Header::GetSerializedSize() const [member function]
3440
    cls.add_method('GetSerializedSize', 
3441
                   'uint32_t', 
3442
                   [], 
3443
                   is_const=True, is_virtual=True)
3444
    ## ipv6-header.h (module 'internet'): ns3::Ipv6Address ns3::Ipv6Header::GetSourceAddress() const [member function]
3445
    cls.add_method('GetSourceAddress', 
3446
                   'ns3::Ipv6Address', 
3447
                   [], 
3448
                   is_const=True)
3449
    ## ipv6-header.h (module 'internet'): uint8_t ns3::Ipv6Header::GetTrafficClass() const [member function]
3450
    cls.add_method('GetTrafficClass', 
3451
                   'uint8_t', 
3452
                   [], 
3453
                   is_const=True)
3454
    ## ipv6-header.h (module 'internet'): static ns3::TypeId ns3::Ipv6Header::GetTypeId() [member function]
3455
    cls.add_method('GetTypeId', 
3456
                   'ns3::TypeId', 
3457
                   [], 
3458
                   is_static=True)
3459
    ## ipv6-header.h (module 'internet'): void ns3::Ipv6Header::Print(std::ostream & os) const [member function]
3460
    cls.add_method('Print', 
3461
                   'void', 
3462
                   [param('std::ostream &', 'os')], 
3463
                   is_const=True, is_virtual=True)
3464
    ## ipv6-header.h (module 'internet'): void ns3::Ipv6Header::Serialize(ns3::Buffer::Iterator start) const [member function]
3465
    cls.add_method('Serialize', 
3466
                   'void', 
3467
                   [param('ns3::Buffer::Iterator', 'start')], 
3468
                   is_const=True, is_virtual=True)
3469
    ## ipv6-header.h (module 'internet'): void ns3::Ipv6Header::SetDestinationAddress(ns3::Ipv6Address dst) [member function]
3470
    cls.add_method('SetDestinationAddress', 
3471
                   'void', 
3472
                   [param('ns3::Ipv6Address', 'dst')])
3473
    ## ipv6-header.h (module 'internet'): void ns3::Ipv6Header::SetFlowLabel(uint32_t flow) [member function]
3474
    cls.add_method('SetFlowLabel', 
3475
                   'void', 
3476
                   [param('uint32_t', 'flow')])
3477
    ## ipv6-header.h (module 'internet'): void ns3::Ipv6Header::SetHopLimit(uint8_t limit) [member function]
3478
    cls.add_method('SetHopLimit', 
3479
                   'void', 
3480
                   [param('uint8_t', 'limit')])
3481
    ## ipv6-header.h (module 'internet'): void ns3::Ipv6Header::SetNextHeader(uint8_t next) [member function]
3482
    cls.add_method('SetNextHeader', 
3483
                   'void', 
3484
                   [param('uint8_t', 'next')])
3485
    ## ipv6-header.h (module 'internet'): void ns3::Ipv6Header::SetPayloadLength(uint16_t len) [member function]
3486
    cls.add_method('SetPayloadLength', 
3487
                   'void', 
3488
                   [param('uint16_t', 'len')])
3489
    ## ipv6-header.h (module 'internet'): void ns3::Ipv6Header::SetSourceAddress(ns3::Ipv6Address src) [member function]
3490
    cls.add_method('SetSourceAddress', 
3491
                   'void', 
3492
                   [param('ns3::Ipv6Address', 'src')])
3493
    ## ipv6-header.h (module 'internet'): void ns3::Ipv6Header::SetTrafficClass(uint8_t traffic) [member function]
3494
    cls.add_method('SetTrafficClass', 
3495
                   'void', 
3496
                   [param('uint8_t', 'traffic')])
3497
    return
3498
3499
def register_Ns3Object_methods(root_module, cls):
3500
    ## object.h (module 'core'): ns3::Object::Object() [constructor]
3501
    cls.add_constructor([])
3502
    ## object.h (module 'core'): void ns3::Object::AggregateObject(ns3::Ptr<ns3::Object> other) [member function]
3503
    cls.add_method('AggregateObject', 
3504
                   'void', 
3505
                   [param('ns3::Ptr< ns3::Object >', 'other')])
3506
    ## object.h (module 'core'): void ns3::Object::Dispose() [member function]
3507
    cls.add_method('Dispose', 
3508
                   'void', 
3509
                   [])
3510
    ## object.h (module 'core'): ns3::Object::AggregateIterator ns3::Object::GetAggregateIterator() const [member function]
3511
    cls.add_method('GetAggregateIterator', 
3512
                   'ns3::Object::AggregateIterator', 
3513
                   [], 
3514
                   is_const=True)
3515
    ## object.h (module 'core'): ns3::TypeId ns3::Object::GetInstanceTypeId() const [member function]
3516
    cls.add_method('GetInstanceTypeId', 
3517
                   'ns3::TypeId', 
3518
                   [], 
3519
                   is_const=True, is_virtual=True)
3520
    ## object.h (module 'core'): static ns3::TypeId ns3::Object::GetTypeId() [member function]
3521
    cls.add_method('GetTypeId', 
3522
                   'ns3::TypeId', 
3523
                   [], 
3524
                   is_static=True)
3525
    ## object.h (module 'core'): void ns3::Object::Start() [member function]
3526
    cls.add_method('Start', 
3527
                   'void', 
3528
                   [])
3529
    ## object.h (module 'core'): ns3::Object::Object(ns3::Object const & o) [copy constructor]
3530
    cls.add_constructor([param('ns3::Object const &', 'o')], 
3531
                        visibility='protected')
3532
    ## object.h (module 'core'): void ns3::Object::DoDispose() [member function]
3533
    cls.add_method('DoDispose', 
3534
                   'void', 
3535
                   [], 
3536
                   visibility='protected', is_virtual=True)
3537
    ## object.h (module 'core'): void ns3::Object::DoStart() [member function]
3538
    cls.add_method('DoStart', 
3539
                   'void', 
3540
                   [], 
3541
                   visibility='protected', is_virtual=True)
3542
    ## object.h (module 'core'): void ns3::Object::NotifyNewAggregate() [member function]
3543
    cls.add_method('NotifyNewAggregate', 
3544
                   'void', 
3545
                   [], 
3546
                   visibility='protected', is_virtual=True)
3547
    return
3548
3549
def register_Ns3ObjectAggregateIterator_methods(root_module, cls):
3550
    ## object.h (module 'core'): ns3::Object::AggregateIterator::AggregateIterator(ns3::Object::AggregateIterator const & arg0) [copy constructor]
3551
    cls.add_constructor([param('ns3::Object::AggregateIterator const &', 'arg0')])
3552
    ## object.h (module 'core'): ns3::Object::AggregateIterator::AggregateIterator() [constructor]
3553
    cls.add_constructor([])
3554
    ## object.h (module 'core'): bool ns3::Object::AggregateIterator::HasNext() const [member function]
3555
    cls.add_method('HasNext', 
3556
                   'bool', 
3557
                   [], 
3558
                   is_const=True)
3559
    ## object.h (module 'core'): ns3::Ptr<ns3::Object const> ns3::Object::AggregateIterator::Next() [member function]
3560
    cls.add_method('Next', 
3561
                   'ns3::Ptr< ns3::Object const >', 
3562
                   [])
3563
    return
3564
3565
def register_Ns3PcapFileWrapper_methods(root_module, cls):
3566
    ## pcap-file-wrapper.h (module 'network'): static ns3::TypeId ns3::PcapFileWrapper::GetTypeId() [member function]
3567
    cls.add_method('GetTypeId', 
3568
                   'ns3::TypeId', 
3569
                   [], 
3570
                   is_static=True)
3571
    ## pcap-file-wrapper.h (module 'network'): ns3::PcapFileWrapper::PcapFileWrapper() [constructor]
3572
    cls.add_constructor([])
3573
    ## pcap-file-wrapper.h (module 'network'): bool ns3::PcapFileWrapper::Fail() const [member function]
3574
    cls.add_method('Fail', 
3575
                   'bool', 
3576
                   [], 
3577
                   is_const=True)
3578
    ## pcap-file-wrapper.h (module 'network'): bool ns3::PcapFileWrapper::Eof() const [member function]
3579
    cls.add_method('Eof', 
3580
                   'bool', 
3581
                   [], 
3582
                   is_const=True)
3583
    ## pcap-file-wrapper.h (module 'network'): void ns3::PcapFileWrapper::Clear() [member function]
3584
    cls.add_method('Clear', 
3585
                   'void', 
3586
                   [])
3587
    ## pcap-file-wrapper.h (module 'network'): void ns3::PcapFileWrapper::Open(std::string const & filename, std::_Ios_Openmode mode) [member function]
3588
    cls.add_method('Open', 
3589
                   'void', 
3590
                   [param('std::string const &', 'filename'), param('std::_Ios_Openmode', 'mode')])
3591
    ## pcap-file-wrapper.h (module 'network'): void ns3::PcapFileWrapper::Close() [member function]
3592
    cls.add_method('Close', 
3593
                   'void', 
3594
                   [])
3595
    ## 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]
3596
    cls.add_method('Init', 
3597
                   'void', 
3598
                   [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')])
3599
    ## pcap-file-wrapper.h (module 'network'): void ns3::PcapFileWrapper::Write(ns3::Time t, ns3::Ptr<const ns3::Packet> p) [member function]
3600
    cls.add_method('Write', 
3601
                   'void', 
3602
                   [param('ns3::Time', 't'), param('ns3::Ptr< ns3::Packet const >', 'p')])
3603
    ## pcap-file-wrapper.h (module 'network'): void ns3::PcapFileWrapper::Write(ns3::Time t, ns3::Header & header, ns3::Ptr<const ns3::Packet> p) [member function]
3604
    cls.add_method('Write', 
3605
                   'void', 
3606
                   [param('ns3::Time', 't'), param('ns3::Header &', 'header'), param('ns3::Ptr< ns3::Packet const >', 'p')])
3607
    ## pcap-file-wrapper.h (module 'network'): void ns3::PcapFileWrapper::Write(ns3::Time t, uint8_t const * buffer, uint32_t length) [member function]
3608
    cls.add_method('Write', 
3609
                   'void', 
3610
                   [param('ns3::Time', 't'), param('uint8_t const *', 'buffer'), param('uint32_t', 'length')])
3611
    ## pcap-file-wrapper.h (module 'network'): uint32_t ns3::PcapFileWrapper::GetMagic() [member function]
3612
    cls.add_method('GetMagic', 
3613
                   'uint32_t', 
3614
                   [])
3615
    ## pcap-file-wrapper.h (module 'network'): uint16_t ns3::PcapFileWrapper::GetVersionMajor() [member function]
3616
    cls.add_method('GetVersionMajor', 
3617
                   'uint16_t', 
3618
                   [])
3619
    ## pcap-file-wrapper.h (module 'network'): uint16_t ns3::PcapFileWrapper::GetVersionMinor() [member function]
3620
    cls.add_method('GetVersionMinor', 
3621
                   'uint16_t', 
3622
                   [])
3623
    ## pcap-file-wrapper.h (module 'network'): int32_t ns3::PcapFileWrapper::GetTimeZoneOffset() [member function]
3624
    cls.add_method('GetTimeZoneOffset', 
3625
                   'int32_t', 
3626
                   [])
3627
    ## pcap-file-wrapper.h (module 'network'): uint32_t ns3::PcapFileWrapper::GetSigFigs() [member function]
3628
    cls.add_method('GetSigFigs', 
3629
                   'uint32_t', 
3630
                   [])
3631
    ## pcap-file-wrapper.h (module 'network'): uint32_t ns3::PcapFileWrapper::GetSnapLen() [member function]
3632
    cls.add_method('GetSnapLen', 
3633
                   'uint32_t', 
3634
                   [])
3635
    ## pcap-file-wrapper.h (module 'network'): uint32_t ns3::PcapFileWrapper::GetDataLinkType() [member function]
3636
    cls.add_method('GetDataLinkType', 
3637
                   'uint32_t', 
3638
                   [])
3639
    return
3640
3641
def register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, cls):
3642
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >::SimpleRefCount() [constructor]
3643
    cls.add_constructor([])
3644
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >::SimpleRefCount(ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> > const & o) [copy constructor]
3645
    cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter< ns3::AttributeAccessor > > const &', 'o')])
3646
    ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >::Cleanup() [member function]
3647
    cls.add_method('Cleanup', 
3648
                   'void', 
3649
                   [], 
3650
                   is_static=True)
3651
    return
3652
3653
def register_Ns3SimpleRefCount__Ns3AttributeChecker_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeChecker__gt___methods(root_module, cls):
3654
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >::SimpleRefCount() [constructor]
3655
    cls.add_constructor([])
3656
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >::SimpleRefCount(ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> > const & o) [copy constructor]
3657
    cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter< ns3::AttributeChecker > > const &', 'o')])
3658
    ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >::Cleanup() [member function]
3659
    cls.add_method('Cleanup', 
3660
                   'void', 
3661
                   [], 
3662
                   is_static=True)
3663
    return
3664
3665
def register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeValue__gt___methods(root_module, cls):
3666
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >::SimpleRefCount() [constructor]
3667
    cls.add_constructor([])
3668
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >::SimpleRefCount(ns3::SimpleRefCount<ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> > const & o) [copy constructor]
3669
    cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter< ns3::AttributeValue > > const &', 'o')])
3670
    ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >::Cleanup() [member function]
3671
    cls.add_method('Cleanup', 
3672
                   'void', 
3673
                   [], 
3674
                   is_static=True)
3675
    return
3676
3677
def register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__lt__ns3CallbackImplBase__gt___methods(root_module, cls):
3678
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >::SimpleRefCount() [constructor]
3679
    cls.add_constructor([])
3680
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >::SimpleRefCount(ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> > const & o) [copy constructor]
3681
    cls.add_constructor([param('ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter< ns3::CallbackImplBase > > const &', 'o')])
3682
    ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >::Cleanup() [member function]
3683
    cls.add_method('Cleanup', 
3684
                   'void', 
3685
                   [], 
3686
                   is_static=True)
3687
    return
3688
3689
def register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__gt___methods(root_module, cls):
3690
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >::SimpleRefCount() [constructor]
3691
    cls.add_constructor([])
3692
    ## 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]
3693
    cls.add_constructor([param('ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter< ns3::EventImpl > > const &', 'o')])
3694
    ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::EventImpl, ns3::empty, ns3::DefaultDeleter<ns3::EventImpl> >::Cleanup() [member function]
3695
    cls.add_method('Cleanup', 
3696
                   'void', 
3697
                   [], 
3698
                   is_static=True)
3699
    return
3700
3701
def register_Ns3SimpleRefCount__Ns3Ipv4MulticastRoute_Ns3Empty_Ns3DefaultDeleter__lt__ns3Ipv4MulticastRoute__gt___methods(root_module, cls):
3702
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4MulticastRoute> >::SimpleRefCount() [constructor]
3703
    cls.add_constructor([])
3704
    ## 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]
3705
    cls.add_constructor([param('ns3::SimpleRefCount< ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter< ns3::Ipv4MulticastRoute > > const &', 'o')])
3706
    ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4MulticastRoute> >::Cleanup() [member function]
3707
    cls.add_method('Cleanup', 
3708
                   'void', 
3709
                   [], 
3710
                   is_static=True)
3711
    return
3712
3713
def register_Ns3SimpleRefCount__Ns3Ipv4Route_Ns3Empty_Ns3DefaultDeleter__lt__ns3Ipv4Route__gt___methods(root_module, cls):
3714
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4Route> >::SimpleRefCount() [constructor]
3715
    cls.add_constructor([])
3716
    ## 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]
3717
    cls.add_constructor([param('ns3::SimpleRefCount< ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter< ns3::Ipv4Route > > const &', 'o')])
3718
    ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4Route> >::Cleanup() [member function]
3719
    cls.add_method('Cleanup', 
3720
                   'void', 
3721
                   [], 
3722
                   is_static=True)
3723
    return
3724
3725
def register_Ns3SimpleRefCount__Ns3NixVector_Ns3Empty_Ns3DefaultDeleter__lt__ns3NixVector__gt___methods(root_module, cls):
3726
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >::SimpleRefCount() [constructor]
3727
    cls.add_constructor([])
3728
    ## 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]
3729
    cls.add_constructor([param('ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter< ns3::NixVector > > const &', 'o')])
3730
    ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >::Cleanup() [member function]
3731
    cls.add_method('Cleanup', 
3732
                   'void', 
3733
                   [], 
3734
                   is_static=True)
3735
    return
3736
3737
def register_Ns3SimpleRefCount__Ns3OutputStreamWrapper_Ns3Empty_Ns3DefaultDeleter__lt__ns3OutputStreamWrapper__gt___methods(root_module, cls):
3738
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter<ns3::OutputStreamWrapper> >::SimpleRefCount() [constructor]
3739
    cls.add_constructor([])
3740
    ## 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]
3741
    cls.add_constructor([param('ns3::SimpleRefCount< ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter< ns3::OutputStreamWrapper > > const &', 'o')])
3742
    ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter<ns3::OutputStreamWrapper> >::Cleanup() [member function]
3743
    cls.add_method('Cleanup', 
3744
                   'void', 
3745
                   [], 
3746
                   is_static=True)
3747
    return
3748
3749
def register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, cls):
3750
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >::SimpleRefCount() [constructor]
3751
    cls.add_constructor([])
3752
    ## 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]
3753
    cls.add_constructor([param('ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter< ns3::Packet > > const &', 'o')])
3754
    ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >::Cleanup() [member function]
3755
    cls.add_method('Cleanup', 
3756
                   'void', 
3757
                   [], 
3758
                   is_static=True)
3759
    return
3760
3761
def register_Ns3Socket_methods(root_module, cls):
3762
    ## socket.h (module 'network'): ns3::Socket::Socket(ns3::Socket const & arg0) [copy constructor]
3763
    cls.add_constructor([param('ns3::Socket const &', 'arg0')])
3764
    ## socket.h (module 'network'): ns3::Socket::Socket() [constructor]
3765
    cls.add_constructor([])
3766
    ## socket.h (module 'network'): int ns3::Socket::Bind(ns3::Address const & address) [member function]
3767
    cls.add_method('Bind', 
3768
                   'int', 
3769
                   [param('ns3::Address const &', 'address')], 
3770
                   is_pure_virtual=True, is_virtual=True)
3771
    ## socket.h (module 'network'): int ns3::Socket::Bind() [member function]
3772
    cls.add_method('Bind', 
3773
                   'int', 
3774
                   [], 
3775
                   is_pure_virtual=True, is_virtual=True)
3776
    ## socket.h (module 'network'): void ns3::Socket::BindToNetDevice(ns3::Ptr<ns3::NetDevice> netdevice) [member function]
3777
    cls.add_method('BindToNetDevice', 
3778
                   'void', 
3779
                   [param('ns3::Ptr< ns3::NetDevice >', 'netdevice')], 
3780
                   is_virtual=True)
3781
    ## socket.h (module 'network'): int ns3::Socket::Close() [member function]
3782
    cls.add_method('Close', 
3783
                   'int', 
3784
                   [], 
3785
                   is_pure_virtual=True, is_virtual=True)
3786
    ## socket.h (module 'network'): int ns3::Socket::Connect(ns3::Address const & address) [member function]
3787
    cls.add_method('Connect', 
3788
                   'int', 
3789
                   [param('ns3::Address const &', 'address')], 
3790
                   is_pure_virtual=True, is_virtual=True)
3791
    ## socket.h (module 'network'): static ns3::Ptr<ns3::Socket> ns3::Socket::CreateSocket(ns3::Ptr<ns3::Node> node, ns3::TypeId tid) [member function]
3792
    cls.add_method('CreateSocket', 
3793
                   'ns3::Ptr< ns3::Socket >', 
3794
                   [param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::TypeId', 'tid')], 
3795
                   is_static=True)
3796
    ## socket.h (module 'network'): bool ns3::Socket::GetAllowBroadcast() const [member function]
3797
    cls.add_method('GetAllowBroadcast', 
3798
                   'bool', 
3799
                   [], 
3800
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3801
    ## socket.h (module 'network'): ns3::Ptr<ns3::NetDevice> ns3::Socket::GetBoundNetDevice() [member function]
3802
    cls.add_method('GetBoundNetDevice', 
3803
                   'ns3::Ptr< ns3::NetDevice >', 
3804
                   [])
3805
    ## socket.h (module 'network'): ns3::Socket::SocketErrno ns3::Socket::GetErrno() const [member function]
3806
    cls.add_method('GetErrno', 
3807
                   'ns3::Socket::SocketErrno', 
3808
                   [], 
3809
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3810
    ## socket.h (module 'network'): ns3::Ptr<ns3::Node> ns3::Socket::GetNode() const [member function]
3811
    cls.add_method('GetNode', 
3812
                   'ns3::Ptr< ns3::Node >', 
3813
                   [], 
3814
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3815
    ## socket.h (module 'network'): uint32_t ns3::Socket::GetRxAvailable() const [member function]
3816
    cls.add_method('GetRxAvailable', 
3817
                   'uint32_t', 
3818
                   [], 
3819
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3820
    ## socket.h (module 'network'): int ns3::Socket::GetSockName(ns3::Address & address) const [member function]
3821
    cls.add_method('GetSockName', 
3822
                   'int', 
3823
                   [param('ns3::Address &', 'address')], 
3824
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3825
    ## socket.h (module 'network'): ns3::Socket::SocketType ns3::Socket::GetSocketType() const [member function]
3826
    cls.add_method('GetSocketType', 
3827
                   'ns3::Socket::SocketType', 
3828
                   [], 
3829
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3830
    ## socket.h (module 'network'): uint32_t ns3::Socket::GetTxAvailable() const [member function]
3831
    cls.add_method('GetTxAvailable', 
3832
                   'uint32_t', 
3833
                   [], 
3834
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3835
    ## socket.h (module 'network'): int ns3::Socket::Listen() [member function]
3836
    cls.add_method('Listen', 
3837
                   'int', 
3838
                   [], 
3839
                   is_pure_virtual=True, is_virtual=True)
3840
    ## socket.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Socket::Recv(uint32_t maxSize, uint32_t flags) [member function]
3841
    cls.add_method('Recv', 
3842
                   'ns3::Ptr< ns3::Packet >', 
3843
                   [param('uint32_t', 'maxSize'), param('uint32_t', 'flags')], 
3844
                   is_pure_virtual=True, is_virtual=True)
3845
    ## socket.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Socket::Recv() [member function]
3846
    cls.add_method('Recv', 
3847
                   'ns3::Ptr< ns3::Packet >', 
3848
                   [])
3849
    ## socket.h (module 'network'): int ns3::Socket::Recv(uint8_t * buf, uint32_t size, uint32_t flags) [member function]
3850
    cls.add_method('Recv', 
3851
                   'int', 
3852
                   [param('uint8_t *', 'buf'), param('uint32_t', 'size'), param('uint32_t', 'flags')])
3853
    ## socket.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Socket::RecvFrom(uint32_t maxSize, uint32_t flags, ns3::Address & fromAddress) [member function]
3854
    cls.add_method('RecvFrom', 
3855
                   'ns3::Ptr< ns3::Packet >', 
3856
                   [param('uint32_t', 'maxSize'), param('uint32_t', 'flags'), param('ns3::Address &', 'fromAddress')], 
3857
                   is_pure_virtual=True, is_virtual=True)
3858
    ## socket.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Socket::RecvFrom(ns3::Address & fromAddress) [member function]
3859
    cls.add_method('RecvFrom', 
3860
                   'ns3::Ptr< ns3::Packet >', 
3861
                   [param('ns3::Address &', 'fromAddress')])
3862
    ## socket.h (module 'network'): int ns3::Socket::RecvFrom(uint8_t * buf, uint32_t size, uint32_t flags, ns3::Address & fromAddress) [member function]
3863
    cls.add_method('RecvFrom', 
3864
                   'int', 
3865
                   [param('uint8_t *', 'buf'), param('uint32_t', 'size'), param('uint32_t', 'flags'), param('ns3::Address &', 'fromAddress')])
3866
    ## socket.h (module 'network'): int ns3::Socket::Send(ns3::Ptr<ns3::Packet> p, uint32_t flags) [member function]
3867
    cls.add_method('Send', 
3868
                   'int', 
3869
                   [param('ns3::Ptr< ns3::Packet >', 'p'), param('uint32_t', 'flags')], 
3870
                   is_pure_virtual=True, is_virtual=True)
3871
    ## socket.h (module 'network'): int ns3::Socket::Send(ns3::Ptr<ns3::Packet> p) [member function]
3872
    cls.add_method('Send', 
3873
                   'int', 
3874
                   [param('ns3::Ptr< ns3::Packet >', 'p')])
3875
    ## socket.h (module 'network'): int ns3::Socket::Send(uint8_t const * buf, uint32_t size, uint32_t flags) [member function]
3876
    cls.add_method('Send', 
3877
                   'int', 
3878
                   [param('uint8_t const *', 'buf'), param('uint32_t', 'size'), param('uint32_t', 'flags')])
3879
    ## socket.h (module 'network'): int ns3::Socket::SendTo(ns3::Ptr<ns3::Packet> p, uint32_t flags, ns3::Address const & toAddress) [member function]
3880
    cls.add_method('SendTo', 
3881
                   'int', 
3882
                   [param('ns3::Ptr< ns3::Packet >', 'p'), param('uint32_t', 'flags'), param('ns3::Address const &', 'toAddress')], 
3883
                   is_pure_virtual=True, is_virtual=True)
3884
    ## socket.h (module 'network'): int ns3::Socket::SendTo(uint8_t const * buf, uint32_t size, uint32_t flags, ns3::Address const & address) [member function]
3885
    cls.add_method('SendTo', 
3886
                   'int', 
3887
                   [param('uint8_t const *', 'buf'), param('uint32_t', 'size'), param('uint32_t', 'flags'), param('ns3::Address const &', 'address')])
3888
    ## 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]
3889
    cls.add_method('SetAcceptCallback', 
3890
                   'void', 
3891
                   [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')])
3892
    ## socket.h (module 'network'): bool ns3::Socket::SetAllowBroadcast(bool allowBroadcast) [member function]
3893
    cls.add_method('SetAllowBroadcast', 
3894
                   'bool', 
3895
                   [param('bool', 'allowBroadcast')], 
3896
                   is_pure_virtual=True, is_virtual=True)
3897
    ## 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]
3898
    cls.add_method('SetCloseCallbacks', 
3899
                   'void', 
3900
                   [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')])
3901
    ## 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]
3902
    cls.add_method('SetConnectCallback', 
3903
                   'void', 
3904
                   [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')])
3905
    ## 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]
3906
    cls.add_method('SetDataSentCallback', 
3907
                   'void', 
3908
                   [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')])
3909
    ## 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]
3910
    cls.add_method('SetRecvCallback', 
3911
                   'void', 
3912
                   [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')])
3913
    ## socket.h (module 'network'): void ns3::Socket::SetRecvPktInfo(bool flag) [member function]
3914
    cls.add_method('SetRecvPktInfo', 
3915
                   'void', 
3916
                   [param('bool', 'flag')])
3917
    ## 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]
3918
    cls.add_method('SetSendCallback', 
3919
                   'void', 
3920
                   [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')])
3921
    ## socket.h (module 'network'): int ns3::Socket::ShutdownRecv() [member function]
3922
    cls.add_method('ShutdownRecv', 
3923
                   'int', 
3924
                   [], 
3925
                   is_pure_virtual=True, is_virtual=True)
3926
    ## socket.h (module 'network'): int ns3::Socket::ShutdownSend() [member function]
3927
    cls.add_method('ShutdownSend', 
3928
                   'int', 
3929
                   [], 
3930
                   is_pure_virtual=True, is_virtual=True)
3931
    ## socket.h (module 'network'): void ns3::Socket::DoDispose() [member function]
3932
    cls.add_method('DoDispose', 
3933
                   'void', 
3934
                   [], 
3935
                   visibility='protected', is_virtual=True)
3936
    ## socket.h (module 'network'): void ns3::Socket::NotifyConnectionFailed() [member function]
3937
    cls.add_method('NotifyConnectionFailed', 
3938
                   'void', 
3939
                   [], 
3940
                   visibility='protected')
3941
    ## socket.h (module 'network'): bool ns3::Socket::NotifyConnectionRequest(ns3::Address const & from) [member function]
3942
    cls.add_method('NotifyConnectionRequest', 
3943
                   'bool', 
3944
                   [param('ns3::Address const &', 'from')], 
3945
                   visibility='protected')
3946
    ## socket.h (module 'network'): void ns3::Socket::NotifyConnectionSucceeded() [member function]
3947
    cls.add_method('NotifyConnectionSucceeded', 
3948
                   'void', 
3949
                   [], 
3950
                   visibility='protected')
3951
    ## socket.h (module 'network'): void ns3::Socket::NotifyDataRecv() [member function]
3952
    cls.add_method('NotifyDataRecv', 
3953
                   'void', 
3954
                   [], 
3955
                   visibility='protected')
3956
    ## socket.h (module 'network'): void ns3::Socket::NotifyDataSent(uint32_t size) [member function]
3957
    cls.add_method('NotifyDataSent', 
3958
                   'void', 
3959
                   [param('uint32_t', 'size')], 
3960
                   visibility='protected')
3961
    ## socket.h (module 'network'): void ns3::Socket::NotifyErrorClose() [member function]
3962
    cls.add_method('NotifyErrorClose', 
3963
                   'void', 
3964
                   [], 
3965
                   visibility='protected')
3966
    ## socket.h (module 'network'): void ns3::Socket::NotifyNewConnectionCreated(ns3::Ptr<ns3::Socket> socket, ns3::Address const & from) [member function]
3967
    cls.add_method('NotifyNewConnectionCreated', 
3968
                   'void', 
3969
                   [param('ns3::Ptr< ns3::Socket >', 'socket'), param('ns3::Address const &', 'from')], 
3970
                   visibility='protected')
3971
    ## socket.h (module 'network'): void ns3::Socket::NotifyNormalClose() [member function]
3972
    cls.add_method('NotifyNormalClose', 
3973
                   'void', 
3974
                   [], 
3975
                   visibility='protected')
3976
    ## socket.h (module 'network'): void ns3::Socket::NotifySend(uint32_t spaceAvailable) [member function]
3977
    cls.add_method('NotifySend', 
3978
                   'void', 
3979
                   [param('uint32_t', 'spaceAvailable')], 
3980
                   visibility='protected')
3981
    return
3982
3983
def register_Ns3SocketAddressTag_methods(root_module, cls):
3984
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag(ns3::SocketAddressTag const & arg0) [copy constructor]
3985
    cls.add_constructor([param('ns3::SocketAddressTag const &', 'arg0')])
3986
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag() [constructor]
3987
    cls.add_constructor([])
3988
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Deserialize(ns3::TagBuffer i) [member function]
3989
    cls.add_method('Deserialize', 
3990
                   'void', 
3991
                   [param('ns3::TagBuffer', 'i')], 
3992
                   is_virtual=True)
3993
    ## socket.h (module 'network'): ns3::Address ns3::SocketAddressTag::GetAddress() const [member function]
3994
    cls.add_method('GetAddress', 
3995
                   'ns3::Address', 
3996
                   [], 
3997
                   is_const=True)
3998
    ## socket.h (module 'network'): ns3::TypeId ns3::SocketAddressTag::GetInstanceTypeId() const [member function]
3999
    cls.add_method('GetInstanceTypeId', 
4000
                   'ns3::TypeId', 
4001
                   [], 
4002
                   is_const=True, is_virtual=True)
4003
    ## socket.h (module 'network'): uint32_t ns3::SocketAddressTag::GetSerializedSize() const [member function]
4004
    cls.add_method('GetSerializedSize', 
4005
                   'uint32_t', 
4006
                   [], 
4007
                   is_const=True, is_virtual=True)
4008
    ## socket.h (module 'network'): static ns3::TypeId ns3::SocketAddressTag::GetTypeId() [member function]
4009
    cls.add_method('GetTypeId', 
4010
                   'ns3::TypeId', 
4011
                   [], 
4012
                   is_static=True)
4013
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Print(std::ostream & os) const [member function]
4014
    cls.add_method('Print', 
4015
                   'void', 
4016
                   [param('std::ostream &', 'os')], 
4017
                   is_const=True, is_virtual=True)
4018
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Serialize(ns3::TagBuffer i) const [member function]
4019
    cls.add_method('Serialize', 
4020
                   'void', 
4021
                   [param('ns3::TagBuffer', 'i')], 
4022
                   is_const=True, is_virtual=True)
4023
    ## socket.h (module 'network'): void ns3::SocketAddressTag::SetAddress(ns3::Address addr) [member function]
4024
    cls.add_method('SetAddress', 
4025
                   'void', 
4026
                   [param('ns3::Address', 'addr')])
4027
    return
4028
4029
def register_Ns3SocketIpTtlTag_methods(root_module, cls):
4030
    ## socket.h (module 'network'): ns3::SocketIpTtlTag::SocketIpTtlTag(ns3::SocketIpTtlTag const & arg0) [copy constructor]
4031
    cls.add_constructor([param('ns3::SocketIpTtlTag const &', 'arg0')])
4032
    ## socket.h (module 'network'): ns3::SocketIpTtlTag::SocketIpTtlTag() [constructor]
4033
    cls.add_constructor([])
4034
    ## socket.h (module 'network'): void ns3::SocketIpTtlTag::Deserialize(ns3::TagBuffer i) [member function]
4035
    cls.add_method('Deserialize', 
4036
                   'void', 
4037
                   [param('ns3::TagBuffer', 'i')], 
4038
                   is_virtual=True)
4039
    ## socket.h (module 'network'): ns3::TypeId ns3::SocketIpTtlTag::GetInstanceTypeId() const [member function]
4040
    cls.add_method('GetInstanceTypeId', 
4041
                   'ns3::TypeId', 
4042
                   [], 
4043
                   is_const=True, is_virtual=True)
4044
    ## socket.h (module 'network'): uint32_t ns3::SocketIpTtlTag::GetSerializedSize() const [member function]
4045
    cls.add_method('GetSerializedSize', 
4046
                   'uint32_t', 
4047
                   [], 
4048
                   is_const=True, is_virtual=True)
4049
    ## socket.h (module 'network'): uint8_t ns3::SocketIpTtlTag::GetTtl() const [member function]
4050
    cls.add_method('GetTtl', 
4051
                   'uint8_t', 
4052
                   [], 
4053
                   is_const=True)
4054
    ## socket.h (module 'network'): static ns3::TypeId ns3::SocketIpTtlTag::GetTypeId() [member function]
4055
    cls.add_method('GetTypeId', 
4056
                   'ns3::TypeId', 
4057
                   [], 
4058
                   is_static=True)
4059
    ## socket.h (module 'network'): void ns3::SocketIpTtlTag::Print(std::ostream & os) const [member function]
4060
    cls.add_method('Print', 
4061
                   'void', 
4062
                   [param('std::ostream &', 'os')], 
4063
                   is_const=True, is_virtual=True)
4064
    ## socket.h (module 'network'): void ns3::SocketIpTtlTag::Serialize(ns3::TagBuffer i) const [member function]
4065
    cls.add_method('Serialize', 
4066
                   'void', 
4067
                   [param('ns3::TagBuffer', 'i')], 
4068
                   is_const=True, is_virtual=True)
4069
    ## socket.h (module 'network'): void ns3::SocketIpTtlTag::SetTtl(uint8_t ttl) [member function]
4070
    cls.add_method('SetTtl', 
4071
                   'void', 
4072
                   [param('uint8_t', 'ttl')])
4073
    return
4074
4075
def register_Ns3SocketSetDontFragmentTag_methods(root_module, cls):
4076
    ## socket.h (module 'network'): ns3::SocketSetDontFragmentTag::SocketSetDontFragmentTag(ns3::SocketSetDontFragmentTag const & arg0) [copy constructor]
4077
    cls.add_constructor([param('ns3::SocketSetDontFragmentTag const &', 'arg0')])
4078
    ## socket.h (module 'network'): ns3::SocketSetDontFragmentTag::SocketSetDontFragmentTag() [constructor]
4079
    cls.add_constructor([])
4080
    ## socket.h (module 'network'): void ns3::SocketSetDontFragmentTag::Deserialize(ns3::TagBuffer i) [member function]
4081
    cls.add_method('Deserialize', 
4082
                   'void', 
4083
                   [param('ns3::TagBuffer', 'i')], 
4084
                   is_virtual=True)
4085
    ## socket.h (module 'network'): void ns3::SocketSetDontFragmentTag::Disable() [member function]
4086
    cls.add_method('Disable', 
4087
                   'void', 
4088
                   [])
4089
    ## socket.h (module 'network'): void ns3::SocketSetDontFragmentTag::Enable() [member function]
4090
    cls.add_method('Enable', 
4091
                   'void', 
4092
                   [])
4093
    ## socket.h (module 'network'): ns3::TypeId ns3::SocketSetDontFragmentTag::GetInstanceTypeId() const [member function]
4094
    cls.add_method('GetInstanceTypeId', 
4095
                   'ns3::TypeId', 
4096
                   [], 
4097
                   is_const=True, is_virtual=True)
4098
    ## socket.h (module 'network'): uint32_t ns3::SocketSetDontFragmentTag::GetSerializedSize() const [member function]
4099
    cls.add_method('GetSerializedSize', 
4100
                   'uint32_t', 
4101
                   [], 
4102
                   is_const=True, is_virtual=True)
4103
    ## socket.h (module 'network'): static ns3::TypeId ns3::SocketSetDontFragmentTag::GetTypeId() [member function]
4104
    cls.add_method('GetTypeId', 
4105
                   'ns3::TypeId', 
4106
                   [], 
4107
                   is_static=True)
4108
    ## socket.h (module 'network'): bool ns3::SocketSetDontFragmentTag::IsEnabled() const [member function]
4109
    cls.add_method('IsEnabled', 
4110
                   'bool', 
4111
                   [], 
4112
                   is_const=True)
4113
    ## socket.h (module 'network'): void ns3::SocketSetDontFragmentTag::Print(std::ostream & os) const [member function]
4114
    cls.add_method('Print', 
4115
                   'void', 
4116
                   [param('std::ostream &', 'os')], 
4117
                   is_const=True, is_virtual=True)
4118
    ## socket.h (module 'network'): void ns3::SocketSetDontFragmentTag::Serialize(ns3::TagBuffer i) const [member function]
4119
    cls.add_method('Serialize', 
4120
                   'void', 
4121
                   [param('ns3::TagBuffer', 'i')], 
4122
                   is_const=True, is_virtual=True)
4123
    return
4124
4125
def register_Ns3Time_methods(root_module, cls):
4126
    cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right'))
4127
    cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right'))
4128
    cls.add_binary_comparison_operator('<')
4129
    cls.add_binary_comparison_operator('>')
4130
    cls.add_binary_comparison_operator('!=')
4131
    cls.add_inplace_numeric_operator('+=', param('ns3::Time const &', 'right'))
4132
    cls.add_inplace_numeric_operator('-=', param('ns3::Time const &', 'right'))
4133
    cls.add_output_stream_operator()
4134
    cls.add_binary_comparison_operator('<=')
4135
    cls.add_binary_comparison_operator('==')
4136
    cls.add_binary_comparison_operator('>=')
4137
    ## nstime.h (module 'core'): ns3::Time::Time() [constructor]
4138
    cls.add_constructor([])
4139
    ## nstime.h (module 'core'): ns3::Time::Time(ns3::Time const & o) [copy constructor]
4140
    cls.add_constructor([param('ns3::Time const &', 'o')])
4141
    ## nstime.h (module 'core'): ns3::Time::Time(double v) [constructor]
4142
    cls.add_constructor([param('double', 'v')])
4143
    ## nstime.h (module 'core'): ns3::Time::Time(int v) [constructor]
4144
    cls.add_constructor([param('int', 'v')])
4145
    ## nstime.h (module 'core'): ns3::Time::Time(long int v) [constructor]
4146
    cls.add_constructor([param('long int', 'v')])
4147
    ## nstime.h (module 'core'): ns3::Time::Time(long long int v) [constructor]
4148
    cls.add_constructor([param('long long int', 'v')])
4149
    ## nstime.h (module 'core'): ns3::Time::Time(unsigned int v) [constructor]
4150
    cls.add_constructor([param('unsigned int', 'v')])
4151
    ## nstime.h (module 'core'): ns3::Time::Time(long unsigned int v) [constructor]
4152
    cls.add_constructor([param('long unsigned int', 'v')])
4153
    ## nstime.h (module 'core'): ns3::Time::Time(long long unsigned int v) [constructor]
4154
    cls.add_constructor([param('long long unsigned int', 'v')])
4155
    ## nstime.h (module 'core'): ns3::Time::Time(std::string const & s) [constructor]
4156
    cls.add_constructor([param('std::string const &', 's')])
4157
    ## nstime.h (module 'core'): ns3::Time::Time(ns3::int64x64_t const & value) [constructor]
4158
    cls.add_constructor([param('ns3::int64x64_t const &', 'value')])
4159
    ## nstime.h (module 'core'): int ns3::Time::Compare(ns3::Time const & o) const [member function]
4160
    cls.add_method('Compare', 
4161
                   'int', 
4162
                   [param('ns3::Time const &', 'o')], 
4163
                   is_const=True)
4164
    ## nstime.h (module 'core'): static ns3::Time ns3::Time::From(ns3::int64x64_t const & from, ns3::Time::Unit timeUnit) [member function]
4165
    cls.add_method('From', 
4166
                   'ns3::Time', 
4167
                   [param('ns3::int64x64_t const &', 'from'), param('ns3::Time::Unit', 'timeUnit')], 
4168
                   is_static=True)
4169
    ## nstime.h (module 'core'): static ns3::Time ns3::Time::From(ns3::int64x64_t const & value) [member function]
4170
    cls.add_method('From', 
4171
                   'ns3::Time', 
4172
                   [param('ns3::int64x64_t const &', 'value')], 
4173
                   is_static=True)
4174
    ## nstime.h (module 'core'): static ns3::Time ns3::Time::FromDouble(double value, ns3::Time::Unit timeUnit) [member function]
4175
    cls.add_method('FromDouble', 
4176
                   'ns3::Time', 
4177
                   [param('double', 'value'), param('ns3::Time::Unit', 'timeUnit')], 
4178
                   is_static=True)
4179
    ## nstime.h (module 'core'): static ns3::Time ns3::Time::FromInteger(uint64_t value, ns3::Time::Unit timeUnit) [member function]
4180
    cls.add_method('FromInteger', 
4181
                   'ns3::Time', 
4182
                   [param('uint64_t', 'value'), param('ns3::Time::Unit', 'timeUnit')], 
4183
                   is_static=True)
4184
    ## nstime.h (module 'core'): double ns3::Time::GetDouble() const [member function]
4185
    cls.add_method('GetDouble', 
4186
                   'double', 
4187
                   [], 
4188
                   is_const=True)
4189
    ## nstime.h (module 'core'): int64_t ns3::Time::GetFemtoSeconds() const [member function]
4190
    cls.add_method('GetFemtoSeconds', 
4191
                   'int64_t', 
4192
                   [], 
4193
                   is_const=True)
4194
    ## nstime.h (module 'core'): int64_t ns3::Time::GetInteger() const [member function]
4195
    cls.add_method('GetInteger', 
4196
                   'int64_t', 
4197
                   [], 
4198
                   is_const=True)
4199
    ## nstime.h (module 'core'): int64_t ns3::Time::GetMicroSeconds() const [member function]
4200
    cls.add_method('GetMicroSeconds', 
4201
                   'int64_t', 
4202
                   [], 
4203
                   is_const=True)
4204
    ## nstime.h (module 'core'): int64_t ns3::Time::GetMilliSeconds() const [member function]
4205
    cls.add_method('GetMilliSeconds', 
4206
                   'int64_t', 
4207
                   [], 
4208
                   is_const=True)
4209
    ## nstime.h (module 'core'): int64_t ns3::Time::GetNanoSeconds() const [member function]
4210
    cls.add_method('GetNanoSeconds', 
4211
                   'int64_t', 
4212
                   [], 
4213
                   is_const=True)
4214
    ## nstime.h (module 'core'): int64_t ns3::Time::GetPicoSeconds() const [member function]
4215
    cls.add_method('GetPicoSeconds', 
4216
                   'int64_t', 
4217
                   [], 
4218
                   is_const=True)
4219
    ## nstime.h (module 'core'): static ns3::Time::Unit ns3::Time::GetResolution() [member function]
4220
    cls.add_method('GetResolution', 
4221
                   'ns3::Time::Unit', 
4222
                   [], 
4223
                   is_static=True)
4224
    ## nstime.h (module 'core'): double ns3::Time::GetSeconds() const [member function]
4225
    cls.add_method('GetSeconds', 
4226
                   'double', 
4227
                   [], 
4228
                   is_const=True)
4229
    ## nstime.h (module 'core'): int64_t ns3::Time::GetTimeStep() const [member function]
4230
    cls.add_method('GetTimeStep', 
4231
                   'int64_t', 
4232
                   [], 
4233
                   is_const=True)
4234
    ## nstime.h (module 'core'): bool ns3::Time::IsNegative() const [member function]
4235
    cls.add_method('IsNegative', 
4236
                   'bool', 
4237
                   [], 
4238
                   is_const=True)
4239
    ## nstime.h (module 'core'): bool ns3::Time::IsPositive() const [member function]
4240
    cls.add_method('IsPositive', 
4241
                   'bool', 
4242
                   [], 
4243
                   is_const=True)
4244
    ## nstime.h (module 'core'): bool ns3::Time::IsStrictlyNegative() const [member function]
4245
    cls.add_method('IsStrictlyNegative', 
4246
                   'bool', 
4247
                   [], 
4248
                   is_const=True)
4249
    ## nstime.h (module 'core'): bool ns3::Time::IsStrictlyPositive() const [member function]
4250
    cls.add_method('IsStrictlyPositive', 
4251
                   'bool', 
4252
                   [], 
4253
                   is_const=True)
4254
    ## nstime.h (module 'core'): bool ns3::Time::IsZero() const [member function]
4255
    cls.add_method('IsZero', 
4256
                   'bool', 
4257
                   [], 
4258
                   is_const=True)
4259
    ## nstime.h (module 'core'): static void ns3::Time::SetResolution(ns3::Time::Unit resolution) [member function]
4260
    cls.add_method('SetResolution', 
4261
                   'void', 
4262
                   [param('ns3::Time::Unit', 'resolution')], 
4263
                   is_static=True)
4264
    ## nstime.h (module 'core'): ns3::int64x64_t ns3::Time::To(ns3::Time::Unit timeUnit) const [member function]
4265
    cls.add_method('To', 
4266
                   'ns3::int64x64_t', 
4267
                   [param('ns3::Time::Unit', 'timeUnit')], 
4268
                   is_const=True)
4269
    ## nstime.h (module 'core'): double ns3::Time::ToDouble(ns3::Time::Unit timeUnit) const [member function]
4270
    cls.add_method('ToDouble', 
4271
                   'double', 
4272
                   [param('ns3::Time::Unit', 'timeUnit')], 
4273
                   is_const=True)
4274
    ## nstime.h (module 'core'): int64_t ns3::Time::ToInteger(ns3::Time::Unit timeUnit) const [member function]
4275
    cls.add_method('ToInteger', 
4276
                   'int64_t', 
4277
                   [param('ns3::Time::Unit', 'timeUnit')], 
4278
                   is_const=True)
4279
    return
4280
4281
def register_Ns3Trailer_methods(root_module, cls):
4282
    cls.add_output_stream_operator()
4283
    ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor]
4284
    cls.add_constructor([])
4285
    ## trailer.h (module 'network'): ns3::Trailer::Trailer(ns3::Trailer const & arg0) [copy constructor]
4286
    cls.add_constructor([param('ns3::Trailer const &', 'arg0')])
4287
    ## trailer.h (module 'network'): uint32_t ns3::Trailer::Deserialize(ns3::Buffer::Iterator end) [member function]
4288
    cls.add_method('Deserialize', 
4289
                   'uint32_t', 
4290
                   [param('ns3::Buffer::Iterator', 'end')], 
4291
                   is_pure_virtual=True, is_virtual=True)
4292
    ## trailer.h (module 'network'): uint32_t ns3::Trailer::GetSerializedSize() const [member function]
4293
    cls.add_method('GetSerializedSize', 
4294
                   'uint32_t', 
4295
                   [], 
4296
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4297
    ## trailer.h (module 'network'): static ns3::TypeId ns3::Trailer::GetTypeId() [member function]
4298
    cls.add_method('GetTypeId', 
4299
                   'ns3::TypeId', 
4300
                   [], 
4301
                   is_static=True)
4302
    ## trailer.h (module 'network'): void ns3::Trailer::Print(std::ostream & os) const [member function]
4303
    cls.add_method('Print', 
4304
                   'void', 
4305
                   [param('std::ostream &', 'os')], 
4306
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4307
    ## trailer.h (module 'network'): void ns3::Trailer::Serialize(ns3::Buffer::Iterator start) const [member function]
4308
    cls.add_method('Serialize', 
4309
                   'void', 
4310
                   [param('ns3::Buffer::Iterator', 'start')], 
4311
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4312
    return
4313
4314
def register_Ns3AttributeAccessor_methods(root_module, cls):
4315
    ## attribute.h (module 'core'): ns3::AttributeAccessor::AttributeAccessor(ns3::AttributeAccessor const & arg0) [copy constructor]
4316
    cls.add_constructor([param('ns3::AttributeAccessor const &', 'arg0')])
4317
    ## attribute.h (module 'core'): ns3::AttributeAccessor::AttributeAccessor() [constructor]
4318
    cls.add_constructor([])
4319
    ## attribute.h (module 'core'): bool ns3::AttributeAccessor::Get(ns3::ObjectBase const * object, ns3::AttributeValue & attribute) const [member function]
4320
    cls.add_method('Get', 
4321
                   'bool', 
4322
                   [param('ns3::ObjectBase const *', 'object'), param('ns3::AttributeValue &', 'attribute')], 
4323
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4324
    ## attribute.h (module 'core'): bool ns3::AttributeAccessor::HasGetter() const [member function]
4325
    cls.add_method('HasGetter', 
4326
                   'bool', 
4327
                   [], 
4328
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4329
    ## attribute.h (module 'core'): bool ns3::AttributeAccessor::HasSetter() const [member function]
4330
    cls.add_method('HasSetter', 
4331
                   'bool', 
4332
                   [], 
4333
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4334
    ## attribute.h (module 'core'): bool ns3::AttributeAccessor::Set(ns3::ObjectBase * object, ns3::AttributeValue const & value) const [member function]
4335
    cls.add_method('Set', 
4336
                   'bool', 
4337
                   [param('ns3::ObjectBase *', 'object', transfer_ownership=False), param('ns3::AttributeValue const &', 'value')], 
4338
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4339
    return
4340
4341
def register_Ns3AttributeChecker_methods(root_module, cls):
4342
    ## attribute.h (module 'core'): ns3::AttributeChecker::AttributeChecker(ns3::AttributeChecker const & arg0) [copy constructor]
4343
    cls.add_constructor([param('ns3::AttributeChecker const &', 'arg0')])
4344
    ## attribute.h (module 'core'): ns3::AttributeChecker::AttributeChecker() [constructor]
4345
    cls.add_constructor([])
4346
    ## attribute.h (module 'core'): bool ns3::AttributeChecker::Check(ns3::AttributeValue const & value) const [member function]
4347
    cls.add_method('Check', 
4348
                   'bool', 
4349
                   [param('ns3::AttributeValue const &', 'value')], 
4350
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4351
    ## attribute.h (module 'core'): bool ns3::AttributeChecker::Copy(ns3::AttributeValue const & source, ns3::AttributeValue & destination) const [member function]
4352
    cls.add_method('Copy', 
4353
                   'bool', 
4354
                   [param('ns3::AttributeValue const &', 'source'), param('ns3::AttributeValue &', 'destination')], 
4355
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4356
    ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeChecker::Create() const [member function]
4357
    cls.add_method('Create', 
4358
                   'ns3::Ptr< ns3::AttributeValue >', 
4359
                   [], 
4360
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4361
    ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function]
4362
    cls.add_method('GetUnderlyingTypeInformation', 
4363
                   'std::string', 
4364
                   [], 
4365
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4366
    ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetValueTypeName() const [member function]
4367
    cls.add_method('GetValueTypeName', 
4368
                   'std::string', 
4369
                   [], 
4370
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4371
    ## attribute.h (module 'core'): bool ns3::AttributeChecker::HasUnderlyingTypeInformation() const [member function]
4372
    cls.add_method('HasUnderlyingTypeInformation', 
4373
                   'bool', 
4374
                   [], 
4375
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4376
    return
4377
4378
def register_Ns3AttributeValue_methods(root_module, cls):
4379
    ## attribute.h (module 'core'): ns3::AttributeValue::AttributeValue(ns3::AttributeValue const & arg0) [copy constructor]
4380
    cls.add_constructor([param('ns3::AttributeValue const &', 'arg0')])
4381
    ## attribute.h (module 'core'): ns3::AttributeValue::AttributeValue() [constructor]
4382
    cls.add_constructor([])
4383
    ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::AttributeValue::Copy() const [member function]
4384
    cls.add_method('Copy', 
4385
                   'ns3::Ptr< ns3::AttributeValue >', 
4386
                   [], 
4387
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4388
    ## attribute.h (module 'core'): bool ns3::AttributeValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4389
    cls.add_method('DeserializeFromString', 
4390
                   'bool', 
4391
                   [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
4392
                   is_pure_virtual=True, is_virtual=True)
4393
    ## attribute.h (module 'core'): std::string ns3::AttributeValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4394
    cls.add_method('SerializeToString', 
4395
                   'std::string', 
4396
                   [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
4397
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4398
    return
4399
4400
def register_Ns3CallbackChecker_methods(root_module, cls):
4401
    ## callback.h (module 'core'): ns3::CallbackChecker::CallbackChecker() [constructor]
4402
    cls.add_constructor([])
4403
    ## callback.h (module 'core'): ns3::CallbackChecker::CallbackChecker(ns3::CallbackChecker const & arg0) [copy constructor]
4404
    cls.add_constructor([param('ns3::CallbackChecker const &', 'arg0')])
4405
    return
4406
4407
def register_Ns3CallbackImplBase_methods(root_module, cls):
4408
    ## callback.h (module 'core'): ns3::CallbackImplBase::CallbackImplBase() [constructor]
4409
    cls.add_constructor([])
4410
    ## callback.h (module 'core'): ns3::CallbackImplBase::CallbackImplBase(ns3::CallbackImplBase const & arg0) [copy constructor]
4411
    cls.add_constructor([param('ns3::CallbackImplBase const &', 'arg0')])
4412
    ## callback.h (module 'core'): bool ns3::CallbackImplBase::IsEqual(ns3::Ptr<ns3::CallbackImplBase const> other) const [member function]
4413
    cls.add_method('IsEqual', 
4414
                   'bool', 
4415
                   [param('ns3::Ptr< ns3::CallbackImplBase const >', 'other')], 
4416
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4417
    return
4418
4419
def register_Ns3CallbackValue_methods(root_module, cls):
4420
    ## callback.h (module 'core'): ns3::CallbackValue::CallbackValue(ns3::CallbackValue const & arg0) [copy constructor]
4421
    cls.add_constructor([param('ns3::CallbackValue const &', 'arg0')])
4422
    ## callback.h (module 'core'): ns3::CallbackValue::CallbackValue() [constructor]
4423
    cls.add_constructor([])
4424
    ## callback.h (module 'core'): ns3::CallbackValue::CallbackValue(ns3::CallbackBase const & base) [constructor]
4425
    cls.add_constructor([param('ns3::CallbackBase const &', 'base')])
4426
    ## callback.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::CallbackValue::Copy() const [member function]
4427
    cls.add_method('Copy', 
4428
                   'ns3::Ptr< ns3::AttributeValue >', 
4429
                   [], 
4430
                   is_const=True, is_virtual=True)
4431
    ## callback.h (module 'core'): bool ns3::CallbackValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4432
    cls.add_method('DeserializeFromString', 
4433
                   'bool', 
4434
                   [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
4435
                   is_virtual=True)
4436
    ## callback.h (module 'core'): std::string ns3::CallbackValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4437
    cls.add_method('SerializeToString', 
4438
                   'std::string', 
4439
                   [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
4440
                   is_const=True, is_virtual=True)
4441
    ## callback.h (module 'core'): void ns3::CallbackValue::Set(ns3::CallbackBase base) [member function]
4442
    cls.add_method('Set', 
4443
                   'void', 
4444
                   [param('ns3::CallbackBase', 'base')])
4445
    return
4446
4447
def register_Ns3EmptyAttributeValue_methods(root_module, cls):
4448
    ## attribute.h (module 'core'): ns3::EmptyAttributeValue::EmptyAttributeValue(ns3::EmptyAttributeValue const & arg0) [copy constructor]
4449
    cls.add_constructor([param('ns3::EmptyAttributeValue const &', 'arg0')])
4450
    ## attribute.h (module 'core'): ns3::EmptyAttributeValue::EmptyAttributeValue() [constructor]
4451
    cls.add_constructor([])
4452
    ## attribute.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::EmptyAttributeValue::Copy() const [member function]
4453
    cls.add_method('Copy', 
4454
                   'ns3::Ptr< ns3::AttributeValue >', 
4455
                   [], 
4456
                   is_const=True, visibility='private', is_virtual=True)
4457
    ## attribute.h (module 'core'): bool ns3::EmptyAttributeValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4458
    cls.add_method('DeserializeFromString', 
4459
                   'bool', 
4460
                   [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
4461
                   visibility='private', is_virtual=True)
4462
    ## attribute.h (module 'core'): std::string ns3::EmptyAttributeValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4463
    cls.add_method('SerializeToString', 
4464
                   'std::string', 
4465
                   [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
4466
                   is_const=True, visibility='private', is_virtual=True)
4467
    return
4468
4469
def register_Ns3EventImpl_methods(root_module, cls):
4470
    ## event-impl.h (module 'core'): ns3::EventImpl::EventImpl(ns3::EventImpl const & arg0) [copy constructor]
4471
    cls.add_constructor([param('ns3::EventImpl const &', 'arg0')])
4472
    ## event-impl.h (module 'core'): ns3::EventImpl::EventImpl() [constructor]
4473
    cls.add_constructor([])
4474
    ## event-impl.h (module 'core'): void ns3::EventImpl::Cancel() [member function]
4475
    cls.add_method('Cancel', 
4476
                   'void', 
4477
                   [])
4478
    ## event-impl.h (module 'core'): void ns3::EventImpl::Invoke() [member function]
4479
    cls.add_method('Invoke', 
4480
                   'void', 
4481
                   [])
4482
    ## event-impl.h (module 'core'): bool ns3::EventImpl::IsCancelled() [member function]
4483
    cls.add_method('IsCancelled', 
4484
                   'bool', 
4485
                   [])
4486
    ## event-impl.h (module 'core'): void ns3::EventImpl::Notify() [member function]
4487
    cls.add_method('Notify', 
4488
                   'void', 
4489
                   [], 
4490
                   is_pure_virtual=True, visibility='protected', is_virtual=True)
4491
    return
4492
4493
def register_Ns3Ipv4_methods(root_module, cls):
4494
    ## ipv4.h (module 'internet'): ns3::Ipv4::Ipv4(ns3::Ipv4 const & arg0) [copy constructor]
4495
    cls.add_constructor([param('ns3::Ipv4 const &', 'arg0')])
4496
    ## ipv4.h (module 'internet'): ns3::Ipv4::Ipv4() [constructor]
4497
    cls.add_constructor([])
4498
    ## ipv4.h (module 'internet'): bool ns3::Ipv4::AddAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function]
4499
    cls.add_method('AddAddress', 
4500
                   'bool', 
4501
                   [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], 
4502
                   is_pure_virtual=True, is_virtual=True)
4503
    ## ipv4.h (module 'internet'): uint32_t ns3::Ipv4::AddInterface(ns3::Ptr<ns3::NetDevice> device) [member function]
4504
    cls.add_method('AddInterface', 
4505
                   'uint32_t', 
4506
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')], 
4507
                   is_pure_virtual=True, is_virtual=True)
4508
    ## ipv4.h (module 'internet'): ns3::Ipv4InterfaceAddress ns3::Ipv4::GetAddress(uint32_t interface, uint32_t addressIndex) const [member function]
4509
    cls.add_method('GetAddress', 
4510
                   'ns3::Ipv4InterfaceAddress', 
4511
                   [param('uint32_t', 'interface'), param('uint32_t', 'addressIndex')], 
4512
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4513
    ## ipv4.h (module 'internet'): int32_t ns3::Ipv4::GetInterfaceForAddress(ns3::Ipv4Address address) const [member function]
4514
    cls.add_method('GetInterfaceForAddress', 
4515
                   'int32_t', 
4516
                   [param('ns3::Ipv4Address', 'address')], 
4517
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4518
    ## ipv4.h (module 'internet'): int32_t ns3::Ipv4::GetInterfaceForDevice(ns3::Ptr<const ns3::NetDevice> device) const [member function]
4519
    cls.add_method('GetInterfaceForDevice', 
4520
                   'int32_t', 
4521
                   [param('ns3::Ptr< ns3::NetDevice const >', 'device')], 
4522
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4523
    ## ipv4.h (module 'internet'): int32_t ns3::Ipv4::GetInterfaceForPrefix(ns3::Ipv4Address address, ns3::Ipv4Mask mask) const [member function]
4524
    cls.add_method('GetInterfaceForPrefix', 
4525
                   'int32_t', 
4526
                   [param('ns3::Ipv4Address', 'address'), param('ns3::Ipv4Mask', 'mask')], 
4527
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4528
    ## ipv4.h (module 'internet'): uint16_t ns3::Ipv4::GetMetric(uint32_t interface) const [member function]
4529
    cls.add_method('GetMetric', 
4530
                   'uint16_t', 
4531
                   [param('uint32_t', 'interface')], 
4532
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4533
    ## ipv4.h (module 'internet'): uint16_t ns3::Ipv4::GetMtu(uint32_t interface) const [member function]
4534
    cls.add_method('GetMtu', 
4535
                   'uint16_t', 
4536
                   [param('uint32_t', 'interface')], 
4537
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4538
    ## ipv4.h (module 'internet'): uint32_t ns3::Ipv4::GetNAddresses(uint32_t interface) const [member function]
4539
    cls.add_method('GetNAddresses', 
4540
                   'uint32_t', 
4541
                   [param('uint32_t', 'interface')], 
4542
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4543
    ## ipv4.h (module 'internet'): uint32_t ns3::Ipv4::GetNInterfaces() const [member function]
4544
    cls.add_method('GetNInterfaces', 
4545
                   'uint32_t', 
4546
                   [], 
4547
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4548
    ## ipv4.h (module 'internet'): ns3::Ptr<ns3::NetDevice> ns3::Ipv4::GetNetDevice(uint32_t interface) [member function]
4549
    cls.add_method('GetNetDevice', 
4550
                   'ns3::Ptr< ns3::NetDevice >', 
4551
                   [param('uint32_t', 'interface')], 
4552
                   is_pure_virtual=True, is_virtual=True)
4553
    ## ipv4.h (module 'internet'): ns3::Ptr<ns3::Ipv4RoutingProtocol> ns3::Ipv4::GetRoutingProtocol() const [member function]
4554
    cls.add_method('GetRoutingProtocol', 
4555
                   'ns3::Ptr< ns3::Ipv4RoutingProtocol >', 
4556
                   [], 
4557
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4558
    ## ipv4.h (module 'internet'): static ns3::TypeId ns3::Ipv4::GetTypeId() [member function]
4559
    cls.add_method('GetTypeId', 
4560
                   'ns3::TypeId', 
4561
                   [], 
4562
                   is_static=True)
4563
    ## ipv4.h (module 'internet'): void ns3::Ipv4::Insert(ns3::Ptr<ns3::Ipv4L4Protocol> protocol) [member function]
4564
    cls.add_method('Insert', 
4565
                   'void', 
4566
                   [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')], 
4567
                   is_pure_virtual=True, is_virtual=True)
4568
    ## ipv4.h (module 'internet'): bool ns3::Ipv4::IsDestinationAddress(ns3::Ipv4Address address, uint32_t iif) const [member function]
4569
    cls.add_method('IsDestinationAddress', 
4570
                   'bool', 
4571
                   [param('ns3::Ipv4Address', 'address'), param('uint32_t', 'iif')], 
4572
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4573
    ## ipv4.h (module 'internet'): bool ns3::Ipv4::IsForwarding(uint32_t interface) const [member function]
4574
    cls.add_method('IsForwarding', 
4575
                   'bool', 
4576
                   [param('uint32_t', 'interface')], 
4577
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4578
    ## ipv4.h (module 'internet'): bool ns3::Ipv4::IsUp(uint32_t interface) const [member function]
4579
    cls.add_method('IsUp', 
4580
                   'bool', 
4581
                   [param('uint32_t', 'interface')], 
4582
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4583
    ## ipv4.h (module 'internet'): bool ns3::Ipv4::RemoveAddress(uint32_t interface, uint32_t addressIndex) [member function]
4584
    cls.add_method('RemoveAddress', 
4585
                   'bool', 
4586
                   [param('uint32_t', 'interface'), param('uint32_t', 'addressIndex')], 
4587
                   is_pure_virtual=True, is_virtual=True)
4588
    ## 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]
4589
    cls.add_method('SelectSourceAddress', 
4590
                   'ns3::Ipv4Address', 
4591
                   [param('ns3::Ptr< ns3::NetDevice const >', 'device'), param('ns3::Ipv4Address', 'dst'), param('ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e', 'scope')], 
4592
                   is_pure_virtual=True, is_virtual=True)
4593
    ## 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]
4594
    cls.add_method('Send', 
4595
                   'void', 
4596
                   [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'destination'), param('uint8_t', 'protocol'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')], 
4597
                   is_pure_virtual=True, is_virtual=True)
4598
    ## ipv4.h (module 'internet'): void ns3::Ipv4::SetDown(uint32_t interface) [member function]
4599
    cls.add_method('SetDown', 
4600
                   'void', 
4601
                   [param('uint32_t', 'interface')], 
4602
                   is_pure_virtual=True, is_virtual=True)
4603
    ## ipv4.h (module 'internet'): void ns3::Ipv4::SetForwarding(uint32_t interface, bool val) [member function]
4604
    cls.add_method('SetForwarding', 
4605
                   'void', 
4606
                   [param('uint32_t', 'interface'), param('bool', 'val')], 
4607
                   is_pure_virtual=True, is_virtual=True)
4608
    ## ipv4.h (module 'internet'): void ns3::Ipv4::SetMetric(uint32_t interface, uint16_t metric) [member function]
4609
    cls.add_method('SetMetric', 
4610
                   'void', 
4611
                   [param('uint32_t', 'interface'), param('uint16_t', 'metric')], 
4612
                   is_pure_virtual=True, is_virtual=True)
4613
    ## ipv4.h (module 'internet'): void ns3::Ipv4::SetRoutingProtocol(ns3::Ptr<ns3::Ipv4RoutingProtocol> routingProtocol) [member function]
4614
    cls.add_method('SetRoutingProtocol', 
4615
                   'void', 
4616
                   [param('ns3::Ptr< ns3::Ipv4RoutingProtocol >', 'routingProtocol')], 
4617
                   is_pure_virtual=True, is_virtual=True)
4618
    ## ipv4.h (module 'internet'): void ns3::Ipv4::SetUp(uint32_t interface) [member function]
4619
    cls.add_method('SetUp', 
4620
                   'void', 
4621
                   [param('uint32_t', 'interface')], 
4622
                   is_pure_virtual=True, is_virtual=True)
4623
    ## ipv4.h (module 'internet'): ns3::Ipv4::IF_ANY [variable]
4624
    cls.add_static_attribute('IF_ANY', 'uint32_t const', is_const=True)
4625
    ## ipv4.h (module 'internet'): bool ns3::Ipv4::GetIpForward() const [member function]
4626
    cls.add_method('GetIpForward', 
4627
                   'bool', 
4628
                   [], 
4629
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
4630
    ## ipv4.h (module 'internet'): bool ns3::Ipv4::GetWeakEsModel() const [member function]
4631
    cls.add_method('GetWeakEsModel', 
4632
                   'bool', 
4633
                   [], 
4634
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
4635
    ## ipv4.h (module 'internet'): void ns3::Ipv4::SetIpForward(bool forward) [member function]
4636
    cls.add_method('SetIpForward', 
4637
                   'void', 
4638
                   [param('bool', 'forward')], 
4639
                   is_pure_virtual=True, visibility='private', is_virtual=True)
4640
    ## ipv4.h (module 'internet'): void ns3::Ipv4::SetWeakEsModel(bool model) [member function]
4641
    cls.add_method('SetWeakEsModel', 
4642
                   'void', 
4643
                   [param('bool', 'model')], 
4644
                   is_pure_virtual=True, visibility='private', is_virtual=True)
4645
    return
4646
4647
def register_Ns3Ipv4AddressChecker_methods(root_module, cls):
4648
    ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker::Ipv4AddressChecker() [constructor]
4649
    cls.add_constructor([])
4650
    ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker::Ipv4AddressChecker(ns3::Ipv4AddressChecker const & arg0) [copy constructor]
4651
    cls.add_constructor([param('ns3::Ipv4AddressChecker const &', 'arg0')])
4652
    return
4653
4654
def register_Ns3Ipv4AddressValue_methods(root_module, cls):
4655
    ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue::Ipv4AddressValue() [constructor]
4656
    cls.add_constructor([])
4657
    ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue::Ipv4AddressValue(ns3::Ipv4AddressValue const & arg0) [copy constructor]
4658
    cls.add_constructor([param('ns3::Ipv4AddressValue const &', 'arg0')])
4659
    ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue::Ipv4AddressValue(ns3::Ipv4Address const & value) [constructor]
4660
    cls.add_constructor([param('ns3::Ipv4Address const &', 'value')])
4661
    ## ipv4-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv4AddressValue::Copy() const [member function]
4662
    cls.add_method('Copy', 
4663
                   'ns3::Ptr< ns3::AttributeValue >', 
4664
                   [], 
4665
                   is_const=True, is_virtual=True)
4666
    ## ipv4-address.h (module 'network'): bool ns3::Ipv4AddressValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4667
    cls.add_method('DeserializeFromString', 
4668
                   'bool', 
4669
                   [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
4670
                   is_virtual=True)
4671
    ## ipv4-address.h (module 'network'): ns3::Ipv4Address ns3::Ipv4AddressValue::Get() const [member function]
4672
    cls.add_method('Get', 
4673
                   'ns3::Ipv4Address', 
4674
                   [], 
4675
                   is_const=True)
4676
    ## ipv4-address.h (module 'network'): std::string ns3::Ipv4AddressValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4677
    cls.add_method('SerializeToString', 
4678
                   'std::string', 
4679
                   [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
4680
                   is_const=True, is_virtual=True)
4681
    ## ipv4-address.h (module 'network'): void ns3::Ipv4AddressValue::Set(ns3::Ipv4Address const & value) [member function]
4682
    cls.add_method('Set', 
4683
                   'void', 
4684
                   [param('ns3::Ipv4Address const &', 'value')])
4685
    return
4686
4687
def register_Ns3Ipv4L3Protocol_methods(root_module, cls):
4688
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::PROT_NUMBER [variable]
4689
    cls.add_static_attribute('PROT_NUMBER', 'uint16_t const', is_const=True)
4690
    ## ipv4-l3-protocol.h (module 'internet'): static ns3::TypeId ns3::Ipv4L3Protocol::GetTypeId() [member function]
4691
    cls.add_method('GetTypeId', 
4692
                   'ns3::TypeId', 
4693
                   [], 
4694
                   is_static=True)
4695
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::Ipv4L3Protocol() [constructor]
4696
    cls.add_constructor([])
4697
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetNode(ns3::Ptr<ns3::Node> node) [member function]
4698
    cls.add_method('SetNode', 
4699
                   'void', 
4700
                   [param('ns3::Ptr< ns3::Node >', 'node')])
4701
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetRoutingProtocol(ns3::Ptr<ns3::Ipv4RoutingProtocol> routingProtocol) [member function]
4702
    cls.add_method('SetRoutingProtocol', 
4703
                   'void', 
4704
                   [param('ns3::Ptr< ns3::Ipv4RoutingProtocol >', 'routingProtocol')], 
4705
                   is_virtual=True)
4706
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::Ipv4RoutingProtocol> ns3::Ipv4L3Protocol::GetRoutingProtocol() const [member function]
4707
    cls.add_method('GetRoutingProtocol', 
4708
                   'ns3::Ptr< ns3::Ipv4RoutingProtocol >', 
4709
                   [], 
4710
                   is_const=True, is_virtual=True)
4711
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::Socket> ns3::Ipv4L3Protocol::CreateRawSocket() [member function]
4712
    cls.add_method('CreateRawSocket', 
4713
                   'ns3::Ptr< ns3::Socket >', 
4714
                   [])
4715
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::DeleteRawSocket(ns3::Ptr<ns3::Socket> socket) [member function]
4716
    cls.add_method('DeleteRawSocket', 
4717
                   'void', 
4718
                   [param('ns3::Ptr< ns3::Socket >', 'socket')])
4719
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Insert(ns3::Ptr<ns3::Ipv4L4Protocol> protocol) [member function]
4720
    cls.add_method('Insert', 
4721
                   'void', 
4722
                   [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')], 
4723
                   is_virtual=True)
4724
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::Ipv4L4Protocol> ns3::Ipv4L3Protocol::GetProtocol(int protocolNumber) const [member function]
4725
    cls.add_method('GetProtocol', 
4726
                   'ns3::Ptr< ns3::Ipv4L4Protocol >', 
4727
                   [param('int', 'protocolNumber')], 
4728
                   is_const=True)
4729
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Remove(ns3::Ptr<ns3::Ipv4L4Protocol> protocol) [member function]
4730
    cls.add_method('Remove', 
4731
                   'void', 
4732
                   [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')])
4733
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetDefaultTtl(uint8_t ttl) [member function]
4734
    cls.add_method('SetDefaultTtl', 
4735
                   'void', 
4736
                   [param('uint8_t', 'ttl')])
4737
    ## 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]
4738
    cls.add_method('Receive', 
4739
                   'void', 
4740
                   [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')])
4741
    ## 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]
4742
    cls.add_method('Send', 
4743
                   'void', 
4744
                   [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'destination'), param('uint8_t', 'protocol'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')], 
4745
                   is_virtual=True)
4746
    ## 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]
4747
    cls.add_method('SendWithHeader', 
4748
                   'void', 
4749
                   [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Header', 'ipHeader'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')])
4750
    ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::AddInterface(ns3::Ptr<ns3::NetDevice> device) [member function]
4751
    cls.add_method('AddInterface', 
4752
                   'uint32_t', 
4753
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')], 
4754
                   is_virtual=True)
4755
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::Ipv4Interface> ns3::Ipv4L3Protocol::GetInterface(uint32_t i) const [member function]
4756
    cls.add_method('GetInterface', 
4757
                   'ns3::Ptr< ns3::Ipv4Interface >', 
4758
                   [param('uint32_t', 'i')], 
4759
                   is_const=True)
4760
    ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::GetNInterfaces() const [member function]
4761
    cls.add_method('GetNInterfaces', 
4762
                   'uint32_t', 
4763
                   [], 
4764
                   is_const=True, is_virtual=True)
4765
    ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForAddress(ns3::Ipv4Address addr) const [member function]
4766
    cls.add_method('GetInterfaceForAddress', 
4767
                   'int32_t', 
4768
                   [param('ns3::Ipv4Address', 'addr')], 
4769
                   is_const=True, is_virtual=True)
4770
    ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForPrefix(ns3::Ipv4Address addr, ns3::Ipv4Mask mask) const [member function]
4771
    cls.add_method('GetInterfaceForPrefix', 
4772
                   'int32_t', 
4773
                   [param('ns3::Ipv4Address', 'addr'), param('ns3::Ipv4Mask', 'mask')], 
4774
                   is_const=True, is_virtual=True)
4775
    ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForDevice(ns3::Ptr<const ns3::NetDevice> device) const [member function]
4776
    cls.add_method('GetInterfaceForDevice', 
4777
                   'int32_t', 
4778
                   [param('ns3::Ptr< ns3::NetDevice const >', 'device')], 
4779
                   is_const=True, is_virtual=True)
4780
    ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsDestinationAddress(ns3::Ipv4Address address, uint32_t iif) const [member function]
4781
    cls.add_method('IsDestinationAddress', 
4782
                   'bool', 
4783
                   [param('ns3::Ipv4Address', 'address'), param('uint32_t', 'iif')], 
4784
                   is_const=True, is_virtual=True)
4785
    ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::AddAddress(uint32_t i, ns3::Ipv4InterfaceAddress address) [member function]
4786
    cls.add_method('AddAddress', 
4787
                   'bool', 
4788
                   [param('uint32_t', 'i'), param('ns3::Ipv4InterfaceAddress', 'address')], 
4789
                   is_virtual=True)
4790
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4InterfaceAddress ns3::Ipv4L3Protocol::GetAddress(uint32_t interfaceIndex, uint32_t addressIndex) const [member function]
4791
    cls.add_method('GetAddress', 
4792
                   'ns3::Ipv4InterfaceAddress', 
4793
                   [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], 
4794
                   is_const=True, is_virtual=True)
4795
    ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::GetNAddresses(uint32_t interface) const [member function]
4796
    cls.add_method('GetNAddresses', 
4797
                   'uint32_t', 
4798
                   [param('uint32_t', 'interface')], 
4799
                   is_const=True, is_virtual=True)
4800
    ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::RemoveAddress(uint32_t interfaceIndex, uint32_t addressIndex) [member function]
4801
    cls.add_method('RemoveAddress', 
4802
                   'bool', 
4803
                   [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], 
4804
                   is_virtual=True)
4805
    ## 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]
4806
    cls.add_method('SelectSourceAddress', 
4807
                   'ns3::Ipv4Address', 
4808
                   [param('ns3::Ptr< ns3::NetDevice const >', 'device'), param('ns3::Ipv4Address', 'dst'), param('ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e', 'scope')], 
4809
                   is_virtual=True)
4810
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetMetric(uint32_t i, uint16_t metric) [member function]
4811
    cls.add_method('SetMetric', 
4812
                   'void', 
4813
                   [param('uint32_t', 'i'), param('uint16_t', 'metric')], 
4814
                   is_virtual=True)
4815
    ## ipv4-l3-protocol.h (module 'internet'): uint16_t ns3::Ipv4L3Protocol::GetMetric(uint32_t i) const [member function]
4816
    cls.add_method('GetMetric', 
4817
                   'uint16_t', 
4818
                   [param('uint32_t', 'i')], 
4819
                   is_const=True, is_virtual=True)
4820
    ## ipv4-l3-protocol.h (module 'internet'): uint16_t ns3::Ipv4L3Protocol::GetMtu(uint32_t i) const [member function]
4821
    cls.add_method('GetMtu', 
4822
                   'uint16_t', 
4823
                   [param('uint32_t', 'i')], 
4824
                   is_const=True, is_virtual=True)
4825
    ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsUp(uint32_t i) const [member function]
4826
    cls.add_method('IsUp', 
4827
                   'bool', 
4828
                   [param('uint32_t', 'i')], 
4829
                   is_const=True, is_virtual=True)
4830
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetUp(uint32_t i) [member function]
4831
    cls.add_method('SetUp', 
4832
                   'void', 
4833
                   [param('uint32_t', 'i')], 
4834
                   is_virtual=True)
4835
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetDown(uint32_t i) [member function]
4836
    cls.add_method('SetDown', 
4837
                   'void', 
4838
                   [param('uint32_t', 'i')], 
4839
                   is_virtual=True)
4840
    ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsForwarding(uint32_t i) const [member function]
4841
    cls.add_method('IsForwarding', 
4842
                   'bool', 
4843
                   [param('uint32_t', 'i')], 
4844
                   is_const=True, is_virtual=True)
4845
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetForwarding(uint32_t i, bool val) [member function]
4846
    cls.add_method('SetForwarding', 
4847
                   'void', 
4848
                   [param('uint32_t', 'i'), param('bool', 'val')], 
4849
                   is_virtual=True)
4850
    ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::NetDevice> ns3::Ipv4L3Protocol::GetNetDevice(uint32_t i) [member function]
4851
    cls.add_method('GetNetDevice', 
4852
                   'ns3::Ptr< ns3::NetDevice >', 
4853
                   [param('uint32_t', 'i')], 
4854
                   is_virtual=True)
4855
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::DoDispose() [member function]
4856
    cls.add_method('DoDispose', 
4857
                   'void', 
4858
                   [], 
4859
                   visibility='protected', is_virtual=True)
4860
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::NotifyNewAggregate() [member function]
4861
    cls.add_method('NotifyNewAggregate', 
4862
                   'void', 
4863
                   [], 
4864
                   visibility='protected', is_virtual=True)
4865
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetIpForward(bool forward) [member function]
4866
    cls.add_method('SetIpForward', 
4867
                   'void', 
4868
                   [param('bool', 'forward')], 
4869
                   visibility='private', is_virtual=True)
4870
    ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::GetIpForward() const [member function]
4871
    cls.add_method('GetIpForward', 
4872
                   'bool', 
4873
                   [], 
4874
                   is_const=True, visibility='private', is_virtual=True)
4875
    ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetWeakEsModel(bool model) [member function]
4876
    cls.add_method('SetWeakEsModel', 
4877
                   'void', 
4878
                   [param('bool', 'model')], 
4879
                   visibility='private', is_virtual=True)
4880
    ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::GetWeakEsModel() const [member function]
4881
    cls.add_method('GetWeakEsModel', 
4882
                   'bool', 
4883
                   [], 
4884
                   is_const=True, visibility='private', is_virtual=True)
4885
    return
4886
4887
def register_Ns3Ipv4L4Protocol_methods(root_module, cls):
4888
    ## ipv4-l4-protocol.h (module 'internet'): ns3::Ipv4L4Protocol::Ipv4L4Protocol() [constructor]
4889
    cls.add_constructor([])
4890
    ## ipv4-l4-protocol.h (module 'internet'): ns3::Ipv4L4Protocol::Ipv4L4Protocol(ns3::Ipv4L4Protocol const & arg0) [copy constructor]
4891
    cls.add_constructor([param('ns3::Ipv4L4Protocol const &', 'arg0')])
4892
    ## 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]
4893
    cls.add_method('GetDownTarget', 
4894
                   '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 >', 
4895
                   [], 
4896
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4897
    ## ipv4-l4-protocol.h (module 'internet'): int ns3::Ipv4L4Protocol::GetProtocolNumber() const [member function]
4898
    cls.add_method('GetProtocolNumber', 
4899
                   'int', 
4900
                   [], 
4901
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4902
    ## ipv4-l4-protocol.h (module 'internet'): static ns3::TypeId ns3::Ipv4L4Protocol::GetTypeId() [member function]
4903
    cls.add_method('GetTypeId', 
4904
                   'ns3::TypeId', 
4905
                   [], 
4906
                   is_static=True)
4907
    ## 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]
4908
    cls.add_method('Receive', 
4909
                   'ns3::Ipv4L4Protocol::RxStatus', 
4910
                   [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('ns3::Ptr< ns3::Ipv4Interface >', 'incomingInterface')], 
4911
                   is_pure_virtual=True, is_virtual=True)
4912
    ## 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]
4913
    cls.add_method('ReceiveIcmp', 
4914
                   'void', 
4915
                   [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')], 
4916
                   is_virtual=True)
4917
    ## 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]
4918
    cls.add_method('SetDownTarget', 
4919
                   'void', 
4920
                   [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')], 
4921
                   is_pure_virtual=True, is_virtual=True)
4922
    return
4923
4924
def register_Ns3Ipv4MaskChecker_methods(root_module, cls):
4925
    ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker::Ipv4MaskChecker() [constructor]
4926
    cls.add_constructor([])
4927
    ## ipv4-address.h (module 'network'): ns3::Ipv4MaskChecker::Ipv4MaskChecker(ns3::Ipv4MaskChecker const & arg0) [copy constructor]
4928
    cls.add_constructor([param('ns3::Ipv4MaskChecker const &', 'arg0')])
4929
    return
4930
4931
def register_Ns3Ipv4MaskValue_methods(root_module, cls):
4932
    ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue::Ipv4MaskValue() [constructor]
4933
    cls.add_constructor([])
4934
    ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue::Ipv4MaskValue(ns3::Ipv4MaskValue const & arg0) [copy constructor]
4935
    cls.add_constructor([param('ns3::Ipv4MaskValue const &', 'arg0')])
4936
    ## ipv4-address.h (module 'network'): ns3::Ipv4MaskValue::Ipv4MaskValue(ns3::Ipv4Mask const & value) [constructor]
4937
    cls.add_constructor([param('ns3::Ipv4Mask const &', 'value')])
4938
    ## ipv4-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv4MaskValue::Copy() const [member function]
4939
    cls.add_method('Copy', 
4940
                   'ns3::Ptr< ns3::AttributeValue >', 
4941
                   [], 
4942
                   is_const=True, is_virtual=True)
4943
    ## ipv4-address.h (module 'network'): bool ns3::Ipv4MaskValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4944
    cls.add_method('DeserializeFromString', 
4945
                   'bool', 
4946
                   [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
4947
                   is_virtual=True)
4948
    ## ipv4-address.h (module 'network'): ns3::Ipv4Mask ns3::Ipv4MaskValue::Get() const [member function]
4949
    cls.add_method('Get', 
4950
                   'ns3::Ipv4Mask', 
4951
                   [], 
4952
                   is_const=True)
4953
    ## ipv4-address.h (module 'network'): std::string ns3::Ipv4MaskValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4954
    cls.add_method('SerializeToString', 
4955
                   'std::string', 
4956
                   [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
4957
                   is_const=True, is_virtual=True)
4958
    ## ipv4-address.h (module 'network'): void ns3::Ipv4MaskValue::Set(ns3::Ipv4Mask const & value) [member function]
4959
    cls.add_method('Set', 
4960
                   'void', 
4961
                   [param('ns3::Ipv4Mask const &', 'value')])
4962
    return
4963
4964
def register_Ns3Ipv4MulticastRoute_methods(root_module, cls):
4965
    ## ipv4-route.h (module 'internet'): ns3::Ipv4MulticastRoute::Ipv4MulticastRoute(ns3::Ipv4MulticastRoute const & arg0) [copy constructor]
4966
    cls.add_constructor([param('ns3::Ipv4MulticastRoute const &', 'arg0')])
4967
    ## ipv4-route.h (module 'internet'): ns3::Ipv4MulticastRoute::Ipv4MulticastRoute() [constructor]
4968
    cls.add_constructor([])
4969
    ## ipv4-route.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4MulticastRoute::GetGroup() const [member function]
4970
    cls.add_method('GetGroup', 
4971
                   'ns3::Ipv4Address', 
4972
                   [], 
4973
                   is_const=True)
4974
    ## ipv4-route.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4MulticastRoute::GetOrigin() const [member function]
4975
    cls.add_method('GetOrigin', 
4976
                   'ns3::Ipv4Address', 
4977
                   [], 
4978
                   is_const=True)
4979
    ## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetOutputTtl(uint32_t oif) const [member function]
4980
    cls.add_method('GetOutputTtl', 
4981
                   'uint32_t', 
4982
                   [param('uint32_t', 'oif')], 
4983
                   is_const=True)
4984
    ## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetParent() const [member function]
4985
    cls.add_method('GetParent', 
4986
                   'uint32_t', 
4987
                   [], 
4988
                   is_const=True)
4989
    ## ipv4-route.h (module 'internet'): void ns3::Ipv4MulticastRoute::SetGroup(ns3::Ipv4Address const group) [member function]
4990
    cls.add_method('SetGroup', 
4991
                   'void', 
4992
                   [param('ns3::Ipv4Address const', 'group')])
4993
    ## ipv4-route.h (module 'internet'): void ns3::Ipv4MulticastRoute::SetOrigin(ns3::Ipv4Address const origin) [member function]
4994
    cls.add_method('SetOrigin', 
4995
                   'void', 
4996
                   [param('ns3::Ipv4Address const', 'origin')])
4997
    ## ipv4-route.h (module 'internet'): void ns3::Ipv4MulticastRoute::SetOutputTtl(uint32_t oif, uint32_t ttl) [member function]
4998
    cls.add_method('SetOutputTtl', 
4999
                   'void', 
5000
                   [param('uint32_t', 'oif'), param('uint32_t', 'ttl')])
5001
    ## ipv4-route.h (module 'internet'): void ns3::Ipv4MulticastRoute::SetParent(uint32_t iif) [member function]
5002
    cls.add_method('SetParent', 
5003
                   'void', 
5004
                   [param('uint32_t', 'iif')])
5005
    ## ipv4-route.h (module 'internet'): ns3::Ipv4MulticastRoute::MAX_INTERFACES [variable]
5006
    cls.add_static_attribute('MAX_INTERFACES', 'uint32_t const', is_const=True)
5007
    ## ipv4-route.h (module 'internet'): ns3::Ipv4MulticastRoute::MAX_TTL [variable]
5008
    cls.add_static_attribute('MAX_TTL', 'uint32_t const', is_const=True)
5009
    return
5010
5011
def register_Ns3Ipv4Route_methods(root_module, cls):
5012
    cls.add_output_stream_operator()
5013
    ## ipv4-route.h (module 'internet'): ns3::Ipv4Route::Ipv4Route(ns3::Ipv4Route const & arg0) [copy constructor]
5014
    cls.add_constructor([param('ns3::Ipv4Route const &', 'arg0')])
5015
    ## ipv4-route.h (module 'internet'): ns3::Ipv4Route::Ipv4Route() [constructor]
5016
    cls.add_constructor([])
5017
    ## ipv4-route.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4Route::GetDestination() const [member function]
5018
    cls.add_method('GetDestination', 
5019
                   'ns3::Ipv4Address', 
5020
                   [], 
5021
                   is_const=True)
5022
    ## ipv4-route.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4Route::GetGateway() const [member function]
5023
    cls.add_method('GetGateway', 
5024
                   'ns3::Ipv4Address', 
5025
                   [], 
5026
                   is_const=True)
5027
    ## ipv4-route.h (module 'internet'): ns3::Ptr<ns3::NetDevice> ns3::Ipv4Route::GetOutputDevice() const [member function]
5028
    cls.add_method('GetOutputDevice', 
5029
                   'ns3::Ptr< ns3::NetDevice >', 
5030
                   [], 
5031
                   is_const=True)
5032
    ## ipv4-route.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4Route::GetSource() const [member function]
5033
    cls.add_method('GetSource', 
5034
                   'ns3::Ipv4Address', 
5035
                   [], 
5036
                   is_const=True)
5037
    ## ipv4-route.h (module 'internet'): void ns3::Ipv4Route::SetDestination(ns3::Ipv4Address dest) [member function]
5038
    cls.add_method('SetDestination', 
5039
                   'void', 
5040
                   [param('ns3::Ipv4Address', 'dest')])
5041
    ## ipv4-route.h (module 'internet'): void ns3::Ipv4Route::SetGateway(ns3::Ipv4Address gw) [member function]
5042
    cls.add_method('SetGateway', 
5043
                   'void', 
5044
                   [param('ns3::Ipv4Address', 'gw')])
5045
    ## ipv4-route.h (module 'internet'): void ns3::Ipv4Route::SetOutputDevice(ns3::Ptr<ns3::NetDevice> outputDevice) [member function]
5046
    cls.add_method('SetOutputDevice', 
5047
                   'void', 
5048
                   [param('ns3::Ptr< ns3::NetDevice >', 'outputDevice')])
5049
    ## ipv4-route.h (module 'internet'): void ns3::Ipv4Route::SetSource(ns3::Ipv4Address src) [member function]
5050
    cls.add_method('SetSource', 
5051
                   'void', 
5052
                   [param('ns3::Ipv4Address', 'src')])
5053
    return
5054
5055
def register_Ns3Ipv4RoutingProtocol_methods(root_module, cls):
5056
    ## ipv4-routing-protocol.h (module 'internet'): ns3::Ipv4RoutingProtocol::Ipv4RoutingProtocol() [constructor]
5057
    cls.add_constructor([])
5058
    ## ipv4-routing-protocol.h (module 'internet'): ns3::Ipv4RoutingProtocol::Ipv4RoutingProtocol(ns3::Ipv4RoutingProtocol const & arg0) [copy constructor]
5059
    cls.add_constructor([param('ns3::Ipv4RoutingProtocol const &', 'arg0')])
5060
    ## ipv4-routing-protocol.h (module 'internet'): static ns3::TypeId ns3::Ipv4RoutingProtocol::GetTypeId() [member function]
5061
    cls.add_method('GetTypeId', 
5062
                   'ns3::TypeId', 
5063
                   [], 
5064
                   is_static=True)
5065
    ## ipv4-routing-protocol.h (module 'internet'): void ns3::Ipv4RoutingProtocol::NotifyAddAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function]
5066
    cls.add_method('NotifyAddAddress', 
5067
                   'void', 
5068
                   [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], 
5069
                   is_pure_virtual=True, is_virtual=True)
5070
    ## ipv4-routing-protocol.h (module 'internet'): void ns3::Ipv4RoutingProtocol::NotifyInterfaceDown(uint32_t interface) [member function]
5071
    cls.add_method('NotifyInterfaceDown', 
5072
                   'void', 
5073
                   [param('uint32_t', 'interface')], 
5074
                   is_pure_virtual=True, is_virtual=True)
5075
    ## ipv4-routing-protocol.h (module 'internet'): void ns3::Ipv4RoutingProtocol::NotifyInterfaceUp(uint32_t interface) [member function]
5076
    cls.add_method('NotifyInterfaceUp', 
5077
                   'void', 
5078
                   [param('uint32_t', 'interface')], 
5079
                   is_pure_virtual=True, is_virtual=True)
5080
    ## ipv4-routing-protocol.h (module 'internet'): void ns3::Ipv4RoutingProtocol::NotifyRemoveAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function]
5081
    cls.add_method('NotifyRemoveAddress', 
5082
                   'void', 
5083
                   [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], 
5084
                   is_pure_virtual=True, is_virtual=True)
5085
    ## ipv4-routing-protocol.h (module 'internet'): void ns3::Ipv4RoutingProtocol::PrintRoutingTable(ns3::Ptr<ns3::OutputStreamWrapper> stream) const [member function]
5086
    cls.add_method('PrintRoutingTable', 
5087
                   'void', 
5088
                   [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')], 
5089
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5090
    ## 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]
5091
    cls.add_method('RouteInput', 
5092
                   'bool', 
5093
                   [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')], 
5094
                   is_pure_virtual=True, is_virtual=True)
5095
    ## 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]
5096
    cls.add_method('RouteOutput', 
5097
                   'ns3::Ptr< ns3::Ipv4Route >', 
5098
                   [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('ns3::Ptr< ns3::NetDevice >', 'oif'), param('ns3::Socket::SocketErrno &', 'sockerr')], 
5099
                   is_pure_virtual=True, is_virtual=True)
5100
    ## ipv4-routing-protocol.h (module 'internet'): void ns3::Ipv4RoutingProtocol::SetIpv4(ns3::Ptr<ns3::Ipv4> ipv4) [member function]
5101
    cls.add_method('SetIpv4', 
5102
                   'void', 
5103
                   [param('ns3::Ptr< ns3::Ipv4 >', 'ipv4')], 
5104
                   is_pure_virtual=True, is_virtual=True)
5105
    return
5106
5107
def register_Ns3Ipv6_methods(root_module, cls):
5108
    ## ipv6.h (module 'internet'): ns3::Ipv6::Ipv6(ns3::Ipv6 const & arg0) [copy constructor]
5109
    cls.add_constructor([param('ns3::Ipv6 const &', 'arg0')])
5110
    ## ipv6.h (module 'internet'): ns3::Ipv6::Ipv6() [constructor]
5111
    cls.add_constructor([])
5112
    ## ipv6.h (module 'internet'): bool ns3::Ipv6::AddAddress(uint32_t interface, ns3::Ipv6InterfaceAddress address) [member function]
5113
    cls.add_method('AddAddress', 
5114
                   'bool', 
5115
                   [param('uint32_t', 'interface'), param('ns3::Ipv6InterfaceAddress', 'address')], 
5116
                   is_pure_virtual=True, is_virtual=True)
5117
    ## ipv6.h (module 'internet'): uint32_t ns3::Ipv6::AddInterface(ns3::Ptr<ns3::NetDevice> device) [member function]
5118
    cls.add_method('AddInterface', 
5119
                   'uint32_t', 
5120
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')], 
5121
                   is_pure_virtual=True, is_virtual=True)
5122
    ## ipv6.h (module 'internet'): ns3::Ipv6InterfaceAddress ns3::Ipv6::GetAddress(uint32_t interface, uint32_t addressIndex) const [member function]
5123
    cls.add_method('GetAddress', 
5124
                   'ns3::Ipv6InterfaceAddress', 
5125
                   [param('uint32_t', 'interface'), param('uint32_t', 'addressIndex')], 
5126
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5127
    ## ipv6.h (module 'internet'): int32_t ns3::Ipv6::GetInterfaceForAddress(ns3::Ipv6Address address) const [member function]
5128
    cls.add_method('GetInterfaceForAddress', 
5129
                   'int32_t', 
5130
                   [param('ns3::Ipv6Address', 'address')], 
5131
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5132
    ## ipv6.h (module 'internet'): int32_t ns3::Ipv6::GetInterfaceForDevice(ns3::Ptr<const ns3::NetDevice> device) const [member function]
5133
    cls.add_method('GetInterfaceForDevice', 
5134
                   'int32_t', 
5135
                   [param('ns3::Ptr< ns3::NetDevice const >', 'device')], 
5136
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5137
    ## ipv6.h (module 'internet'): int32_t ns3::Ipv6::GetInterfaceForPrefix(ns3::Ipv6Address address, ns3::Ipv6Prefix mask) const [member function]
5138
    cls.add_method('GetInterfaceForPrefix', 
5139
                   'int32_t', 
5140
                   [param('ns3::Ipv6Address', 'address'), param('ns3::Ipv6Prefix', 'mask')], 
5141
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5142
    ## ipv6.h (module 'internet'): uint16_t ns3::Ipv6::GetMetric(uint32_t interface) const [member function]
5143
    cls.add_method('GetMetric', 
5144
                   'uint16_t', 
5145
                   [param('uint32_t', 'interface')], 
5146
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5147
    ## ipv6.h (module 'internet'): uint16_t ns3::Ipv6::GetMtu(uint32_t interface) const [member function]
5148
    cls.add_method('GetMtu', 
5149
                   'uint16_t', 
5150
                   [param('uint32_t', 'interface')], 
5151
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5152
    ## ipv6.h (module 'internet'): uint32_t ns3::Ipv6::GetNAddresses(uint32_t interface) const [member function]
5153
    cls.add_method('GetNAddresses', 
5154
                   'uint32_t', 
5155
                   [param('uint32_t', 'interface')], 
5156
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5157
    ## ipv6.h (module 'internet'): uint32_t ns3::Ipv6::GetNInterfaces() const [member function]
5158
    cls.add_method('GetNInterfaces', 
5159
                   'uint32_t', 
5160
                   [], 
5161
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5162
    ## ipv6.h (module 'internet'): ns3::Ptr<ns3::NetDevice> ns3::Ipv6::GetNetDevice(uint32_t interface) [member function]
5163
    cls.add_method('GetNetDevice', 
5164
                   'ns3::Ptr< ns3::NetDevice >', 
5165
                   [param('uint32_t', 'interface')], 
5166
                   is_pure_virtual=True, is_virtual=True)
5167
    ## ipv6.h (module 'internet'): ns3::Ptr<ns3::Ipv6RoutingProtocol> ns3::Ipv6::GetRoutingProtocol() const [member function]
5168
    cls.add_method('GetRoutingProtocol', 
5169
                   'ns3::Ptr< ns3::Ipv6RoutingProtocol >', 
5170
                   [], 
5171
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5172
    ## ipv6.h (module 'internet'): static ns3::TypeId ns3::Ipv6::GetTypeId() [member function]
5173
    cls.add_method('GetTypeId', 
5174
                   'ns3::TypeId', 
5175
                   [], 
5176
                   is_static=True)
5177
    ## ipv6.h (module 'internet'): bool ns3::Ipv6::IsForwarding(uint32_t interface) const [member function]
5178
    cls.add_method('IsForwarding', 
5179
                   'bool', 
5180
                   [param('uint32_t', 'interface')], 
5181
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5182
    ## ipv6.h (module 'internet'): bool ns3::Ipv6::IsUp(uint32_t interface) const [member function]
5183
    cls.add_method('IsUp', 
5184
                   'bool', 
5185
                   [param('uint32_t', 'interface')], 
5186
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5187
    ## ipv6.h (module 'internet'): void ns3::Ipv6::RegisterExtensions() [member function]
5188
    cls.add_method('RegisterExtensions', 
5189
                   'void', 
5190
                   [], 
5191
                   is_pure_virtual=True, is_virtual=True)
5192
    ## ipv6.h (module 'internet'): void ns3::Ipv6::RegisterOptions() [member function]
5193
    cls.add_method('RegisterOptions', 
5194
                   'void', 
5195
                   [], 
5196
                   is_pure_virtual=True, is_virtual=True)
5197
    ## ipv6.h (module 'internet'): bool ns3::Ipv6::RemoveAddress(uint32_t interface, uint32_t addressIndex) [member function]
5198
    cls.add_method('RemoveAddress', 
5199
                   'bool', 
5200
                   [param('uint32_t', 'interface'), param('uint32_t', 'addressIndex')], 
5201
                   is_pure_virtual=True, is_virtual=True)
5202
    ## ipv6.h (module 'internet'): void ns3::Ipv6::SetDown(uint32_t interface) [member function]
5203
    cls.add_method('SetDown', 
5204
                   'void', 
5205
                   [param('uint32_t', 'interface')], 
5206
                   is_pure_virtual=True, is_virtual=True)
5207
    ## ipv6.h (module 'internet'): void ns3::Ipv6::SetForwarding(uint32_t interface, bool val) [member function]
5208
    cls.add_method('SetForwarding', 
5209
                   'void', 
5210
                   [param('uint32_t', 'interface'), param('bool', 'val')], 
5211
                   is_pure_virtual=True, is_virtual=True)
5212
    ## ipv6.h (module 'internet'): void ns3::Ipv6::SetMetric(uint32_t interface, uint16_t metric) [member function]
5213
    cls.add_method('SetMetric', 
5214
                   'void', 
5215
                   [param('uint32_t', 'interface'), param('uint16_t', 'metric')], 
5216
                   is_pure_virtual=True, is_virtual=True)
5217
    ## ipv6.h (module 'internet'): void ns3::Ipv6::SetRoutingProtocol(ns3::Ptr<ns3::Ipv6RoutingProtocol> routingProtocol) [member function]
5218
    cls.add_method('SetRoutingProtocol', 
5219
                   'void', 
5220
                   [param('ns3::Ptr< ns3::Ipv6RoutingProtocol >', 'routingProtocol')], 
5221
                   is_pure_virtual=True, is_virtual=True)
5222
    ## ipv6.h (module 'internet'): void ns3::Ipv6::SetUp(uint32_t interface) [member function]
5223
    cls.add_method('SetUp', 
5224
                   'void', 
5225
                   [param('uint32_t', 'interface')], 
5226
                   is_pure_virtual=True, is_virtual=True)
5227
    ## ipv6.h (module 'internet'): ns3::Ipv6::IF_ANY [variable]
5228
    cls.add_static_attribute('IF_ANY', 'uint32_t const', is_const=True)
5229
    ## ipv6.h (module 'internet'): bool ns3::Ipv6::GetIpForward() const [member function]
5230
    cls.add_method('GetIpForward', 
5231
                   'bool', 
5232
                   [], 
5233
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
5234
    ## ipv6.h (module 'internet'): void ns3::Ipv6::SetIpForward(bool forward) [member function]
5235
    cls.add_method('SetIpForward', 
5236
                   'void', 
5237
                   [param('bool', 'forward')], 
5238
                   is_pure_virtual=True, visibility='private', is_virtual=True)
5239
    return
5240
5241
def register_Ns3Ipv6AddressChecker_methods(root_module, cls):
5242
    ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker::Ipv6AddressChecker() [constructor]
5243
    cls.add_constructor([])
5244
    ## ipv6-address.h (module 'network'): ns3::Ipv6AddressChecker::Ipv6AddressChecker(ns3::Ipv6AddressChecker const & arg0) [copy constructor]
5245
    cls.add_constructor([param('ns3::Ipv6AddressChecker const &', 'arg0')])
5246
    return
5247
5248
def register_Ns3Ipv6AddressValue_methods(root_module, cls):
5249
    ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue::Ipv6AddressValue() [constructor]
5250
    cls.add_constructor([])
5251
    ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue::Ipv6AddressValue(ns3::Ipv6AddressValue const & arg0) [copy constructor]
5252
    cls.add_constructor([param('ns3::Ipv6AddressValue const &', 'arg0')])
5253
    ## ipv6-address.h (module 'network'): ns3::Ipv6AddressValue::Ipv6AddressValue(ns3::Ipv6Address const & value) [constructor]
5254
    cls.add_constructor([param('ns3::Ipv6Address const &', 'value')])
5255
    ## ipv6-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv6AddressValue::Copy() const [member function]
5256
    cls.add_method('Copy', 
5257
                   'ns3::Ptr< ns3::AttributeValue >', 
5258
                   [], 
5259
                   is_const=True, is_virtual=True)
5260
    ## ipv6-address.h (module 'network'): bool ns3::Ipv6AddressValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
5261
    cls.add_method('DeserializeFromString', 
5262
                   'bool', 
5263
                   [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
5264
                   is_virtual=True)
5265
    ## ipv6-address.h (module 'network'): ns3::Ipv6Address ns3::Ipv6AddressValue::Get() const [member function]
5266
    cls.add_method('Get', 
5267
                   'ns3::Ipv6Address', 
5268
                   [], 
5269
                   is_const=True)
5270
    ## ipv6-address.h (module 'network'): std::string ns3::Ipv6AddressValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
5271
    cls.add_method('SerializeToString', 
5272
                   'std::string', 
5273
                   [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
5274
                   is_const=True, is_virtual=True)
5275
    ## ipv6-address.h (module 'network'): void ns3::Ipv6AddressValue::Set(ns3::Ipv6Address const & value) [member function]
5276
    cls.add_method('Set', 
5277
                   'void', 
5278
                   [param('ns3::Ipv6Address const &', 'value')])
5279
    return
5280
5281
def register_Ns3Ipv6L3Protocol_methods(root_module, cls):
5282
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ipv6L3Protocol::PROT_NUMBER [variable]
5283
    cls.add_static_attribute('PROT_NUMBER', 'uint16_t const', is_const=True)
5284
    ## ipv6-l3-protocol.h (module 'internet'): static ns3::TypeId ns3::Ipv6L3Protocol::GetTypeId() [member function]
5285
    cls.add_method('GetTypeId', 
5286
                   'ns3::TypeId', 
5287
                   [], 
5288
                   is_static=True)
5289
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ipv6L3Protocol::Ipv6L3Protocol() [constructor]
5290
    cls.add_constructor([])
5291
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::SetNode(ns3::Ptr<ns3::Node> node) [member function]
5292
    cls.add_method('SetNode', 
5293
                   'void', 
5294
                   [param('ns3::Ptr< ns3::Node >', 'node')])
5295
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::Insert(ns3::Ptr<ns3::Ipv6L4Protocol> protocol) [member function]
5296
    cls.add_method('Insert', 
5297
                   'void', 
5298
                   [param('ns3::Ptr< ns3::Ipv6L4Protocol >', 'protocol')])
5299
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::Remove(ns3::Ptr<ns3::Ipv6L4Protocol> protocol) [member function]
5300
    cls.add_method('Remove', 
5301
                   'void', 
5302
                   [param('ns3::Ptr< ns3::Ipv6L4Protocol >', 'protocol')])
5303
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::Ipv6L4Protocol> ns3::Ipv6L3Protocol::GetProtocol(int protocolNumber) const [member function]
5304
    cls.add_method('GetProtocol', 
5305
                   'ns3::Ptr< ns3::Ipv6L4Protocol >', 
5306
                   [param('int', 'protocolNumber')], 
5307
                   is_const=True)
5308
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::Socket> ns3::Ipv6L3Protocol::CreateRawSocket() [member function]
5309
    cls.add_method('CreateRawSocket', 
5310
                   'ns3::Ptr< ns3::Socket >', 
5311
                   [])
5312
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::DeleteRawSocket(ns3::Ptr<ns3::Socket> socket) [member function]
5313
    cls.add_method('DeleteRawSocket', 
5314
                   'void', 
5315
                   [param('ns3::Ptr< ns3::Socket >', 'socket')])
5316
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::SetDefaultTtl(uint8_t ttl) [member function]
5317
    cls.add_method('SetDefaultTtl', 
5318
                   'void', 
5319
                   [param('uint8_t', 'ttl')])
5320
    ## 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]
5321
    cls.add_method('Receive', 
5322
                   'void', 
5323
                   [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')])
5324
    ## 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]
5325
    cls.add_method('Send', 
5326
                   'void', 
5327
                   [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv6Address', 'source'), param('ns3::Ipv6Address', 'destination'), param('uint8_t', 'protocol'), param('ns3::Ptr< ns3::Ipv6Route >', 'route')])
5328
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::SetRoutingProtocol(ns3::Ptr<ns3::Ipv6RoutingProtocol> routingProtocol) [member function]
5329
    cls.add_method('SetRoutingProtocol', 
5330
                   'void', 
5331
                   [param('ns3::Ptr< ns3::Ipv6RoutingProtocol >', 'routingProtocol')], 
5332
                   is_virtual=True)
5333
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::Ipv6RoutingProtocol> ns3::Ipv6L3Protocol::GetRoutingProtocol() const [member function]
5334
    cls.add_method('GetRoutingProtocol', 
5335
                   'ns3::Ptr< ns3::Ipv6RoutingProtocol >', 
5336
                   [], 
5337
                   is_const=True, is_virtual=True)
5338
    ## ipv6-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv6L3Protocol::AddInterface(ns3::Ptr<ns3::NetDevice> device) [member function]
5339
    cls.add_method('AddInterface', 
5340
                   'uint32_t', 
5341
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')], 
5342
                   is_virtual=True)
5343
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::Ipv6Interface> ns3::Ipv6L3Protocol::GetInterface(uint32_t i) const [member function]
5344
    cls.add_method('GetInterface', 
5345
                   'ns3::Ptr< ns3::Ipv6Interface >', 
5346
                   [param('uint32_t', 'i')], 
5347
                   is_const=True)
5348
    ## ipv6-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv6L3Protocol::GetNInterfaces() const [member function]
5349
    cls.add_method('GetNInterfaces', 
5350
                   'uint32_t', 
5351
                   [], 
5352
                   is_const=True, is_virtual=True)
5353
    ## ipv6-l3-protocol.h (module 'internet'): int32_t ns3::Ipv6L3Protocol::GetInterfaceForAddress(ns3::Ipv6Address addr) const [member function]
5354
    cls.add_method('GetInterfaceForAddress', 
5355
                   'int32_t', 
5356
                   [param('ns3::Ipv6Address', 'addr')], 
5357
                   is_const=True, is_virtual=True)
5358
    ## ipv6-l3-protocol.h (module 'internet'): int32_t ns3::Ipv6L3Protocol::GetInterfaceForPrefix(ns3::Ipv6Address addr, ns3::Ipv6Prefix mask) const [member function]
5359
    cls.add_method('GetInterfaceForPrefix', 
5360
                   'int32_t', 
5361
                   [param('ns3::Ipv6Address', 'addr'), param('ns3::Ipv6Prefix', 'mask')], 
5362
                   is_const=True, is_virtual=True)
5363
    ## ipv6-l3-protocol.h (module 'internet'): int32_t ns3::Ipv6L3Protocol::GetInterfaceForDevice(ns3::Ptr<const ns3::NetDevice> device) const [member function]
5364
    cls.add_method('GetInterfaceForDevice', 
5365
                   'int32_t', 
5366
                   [param('ns3::Ptr< ns3::NetDevice const >', 'device')], 
5367
                   is_const=True, is_virtual=True)
5368
    ## ipv6-l3-protocol.h (module 'internet'): bool ns3::Ipv6L3Protocol::AddAddress(uint32_t i, ns3::Ipv6InterfaceAddress address) [member function]
5369
    cls.add_method('AddAddress', 
5370
                   'bool', 
5371
                   [param('uint32_t', 'i'), param('ns3::Ipv6InterfaceAddress', 'address')], 
5372
                   is_virtual=True)
5373
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ipv6InterfaceAddress ns3::Ipv6L3Protocol::GetAddress(uint32_t interfaceIndex, uint32_t addressIndex) const [member function]
5374
    cls.add_method('GetAddress', 
5375
                   'ns3::Ipv6InterfaceAddress', 
5376
                   [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], 
5377
                   is_const=True, is_virtual=True)
5378
    ## ipv6-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv6L3Protocol::GetNAddresses(uint32_t interface) const [member function]
5379
    cls.add_method('GetNAddresses', 
5380
                   'uint32_t', 
5381
                   [param('uint32_t', 'interface')], 
5382
                   is_const=True, is_virtual=True)
5383
    ## ipv6-l3-protocol.h (module 'internet'): bool ns3::Ipv6L3Protocol::RemoveAddress(uint32_t interfaceIndex, uint32_t addressIndex) [member function]
5384
    cls.add_method('RemoveAddress', 
5385
                   'bool', 
5386
                   [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], 
5387
                   is_virtual=True)
5388
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::SetMetric(uint32_t i, uint16_t metric) [member function]
5389
    cls.add_method('SetMetric', 
5390
                   'void', 
5391
                   [param('uint32_t', 'i'), param('uint16_t', 'metric')], 
5392
                   is_virtual=True)
5393
    ## ipv6-l3-protocol.h (module 'internet'): uint16_t ns3::Ipv6L3Protocol::GetMetric(uint32_t i) const [member function]
5394
    cls.add_method('GetMetric', 
5395
                   'uint16_t', 
5396
                   [param('uint32_t', 'i')], 
5397
                   is_const=True, is_virtual=True)
5398
    ## ipv6-l3-protocol.h (module 'internet'): uint16_t ns3::Ipv6L3Protocol::GetMtu(uint32_t i) const [member function]
5399
    cls.add_method('GetMtu', 
5400
                   'uint16_t', 
5401
                   [param('uint32_t', 'i')], 
5402
                   is_const=True, is_virtual=True)
5403
    ## ipv6-l3-protocol.h (module 'internet'): bool ns3::Ipv6L3Protocol::IsUp(uint32_t i) const [member function]
5404
    cls.add_method('IsUp', 
5405
                   'bool', 
5406
                   [param('uint32_t', 'i')], 
5407
                   is_const=True, is_virtual=True)
5408
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::SetUp(uint32_t i) [member function]
5409
    cls.add_method('SetUp', 
5410
                   'void', 
5411
                   [param('uint32_t', 'i')], 
5412
                   is_virtual=True)
5413
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::SetDown(uint32_t i) [member function]
5414
    cls.add_method('SetDown', 
5415
                   'void', 
5416
                   [param('uint32_t', 'i')], 
5417
                   is_virtual=True)
5418
    ## ipv6-l3-protocol.h (module 'internet'): bool ns3::Ipv6L3Protocol::IsForwarding(uint32_t i) const [member function]
5419
    cls.add_method('IsForwarding', 
5420
                   'bool', 
5421
                   [param('uint32_t', 'i')], 
5422
                   is_const=True, is_virtual=True)
5423
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::SetForwarding(uint32_t i, bool val) [member function]
5424
    cls.add_method('SetForwarding', 
5425
                   'void', 
5426
                   [param('uint32_t', 'i'), param('bool', 'val')], 
5427
                   is_virtual=True)
5428
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::NetDevice> ns3::Ipv6L3Protocol::GetNetDevice(uint32_t i) [member function]
5429
    cls.add_method('GetNetDevice', 
5430
                   'ns3::Ptr< ns3::NetDevice >', 
5431
                   [param('uint32_t', 'i')], 
5432
                   is_virtual=True)
5433
    ## ipv6-l3-protocol.h (module 'internet'): ns3::Ptr<ns3::Icmpv6L4Protocol> ns3::Ipv6L3Protocol::GetIcmpv6() const [member function]
5434
    cls.add_method('GetIcmpv6', 
5435
                   'ns3::Ptr< ns3::Icmpv6L4Protocol >', 
5436
                   [], 
5437
                   is_const=True)
5438
    ## 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]
5439
    cls.add_method('AddAutoconfiguredAddress', 
5440
                   'void', 
5441
                   [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( )')])
5442
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::RemoveAutoconfiguredAddress(uint32_t interface, ns3::Ipv6Address network, ns3::Ipv6Prefix mask, ns3::Ipv6Address defaultRouter) [member function]
5443
    cls.add_method('RemoveAutoconfiguredAddress', 
5444
                   'void', 
5445
                   [param('uint32_t', 'interface'), param('ns3::Ipv6Address', 'network'), param('ns3::Ipv6Prefix', 'mask'), param('ns3::Ipv6Address', 'defaultRouter')])
5446
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::RegisterExtensions() [member function]
5447
    cls.add_method('RegisterExtensions', 
5448
                   'void', 
5449
                   [], 
5450
                   is_virtual=True)
5451
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::RegisterOptions() [member function]
5452
    cls.add_method('RegisterOptions', 
5453
                   'void', 
5454
                   [], 
5455
                   is_virtual=True)
5456
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::DoDispose() [member function]
5457
    cls.add_method('DoDispose', 
5458
                   'void', 
5459
                   [], 
5460
                   visibility='protected', is_virtual=True)
5461
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::NotifyNewAggregate() [member function]
5462
    cls.add_method('NotifyNewAggregate', 
5463
                   'void', 
5464
                   [], 
5465
                   visibility='protected', is_virtual=True)
5466
    ## ipv6-l3-protocol.h (module 'internet'): void ns3::Ipv6L3Protocol::SetIpForward(bool forward) [member function]
5467
    cls.add_method('SetIpForward', 
5468
                   'void', 
5469
                   [param('bool', 'forward')], 
5470
                   visibility='private', is_virtual=True)
5471
    ## ipv6-l3-protocol.h (module 'internet'): bool ns3::Ipv6L3Protocol::GetIpForward() const [member function]
5472
    cls.add_method('GetIpForward', 
5473
                   'bool', 
5474
                   [], 
5475
                   is_const=True, visibility='private', is_virtual=True)
5476
    return
5477
5478
def register_Ns3Ipv6PrefixChecker_methods(root_module, cls):
5479
    ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker::Ipv6PrefixChecker() [constructor]
5480
    cls.add_constructor([])
5481
    ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixChecker::Ipv6PrefixChecker(ns3::Ipv6PrefixChecker const & arg0) [copy constructor]
5482
    cls.add_constructor([param('ns3::Ipv6PrefixChecker const &', 'arg0')])
5483
    return
5484
5485
def register_Ns3Ipv6PrefixValue_methods(root_module, cls):
5486
    ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue::Ipv6PrefixValue() [constructor]
5487
    cls.add_constructor([])
5488
    ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue::Ipv6PrefixValue(ns3::Ipv6PrefixValue const & arg0) [copy constructor]
5489
    cls.add_constructor([param('ns3::Ipv6PrefixValue const &', 'arg0')])
5490
    ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue::Ipv6PrefixValue(ns3::Ipv6Prefix const & value) [constructor]
5491
    cls.add_constructor([param('ns3::Ipv6Prefix const &', 'value')])
5492
    ## ipv6-address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::Ipv6PrefixValue::Copy() const [member function]
5493
    cls.add_method('Copy', 
5494
                   'ns3::Ptr< ns3::AttributeValue >', 
5495
                   [], 
5496
                   is_const=True, is_virtual=True)
5497
    ## ipv6-address.h (module 'network'): bool ns3::Ipv6PrefixValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
5498
    cls.add_method('DeserializeFromString', 
5499
                   'bool', 
5500
                   [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
5501
                   is_virtual=True)
5502
    ## ipv6-address.h (module 'network'): ns3::Ipv6Prefix ns3::Ipv6PrefixValue::Get() const [member function]
5503
    cls.add_method('Get', 
5504
                   'ns3::Ipv6Prefix', 
5505
                   [], 
5506
                   is_const=True)
5507
    ## ipv6-address.h (module 'network'): std::string ns3::Ipv6PrefixValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
5508
    cls.add_method('SerializeToString', 
5509
                   'std::string', 
5510
                   [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
5511
                   is_const=True, is_virtual=True)
5512
    ## ipv6-address.h (module 'network'): void ns3::Ipv6PrefixValue::Set(ns3::Ipv6Prefix const & value) [member function]
5513
    cls.add_method('Set', 
5514
                   'void', 
5515
                   [param('ns3::Ipv6Prefix const &', 'value')])
5516
    return
5517
5518
def register_Ns3NetDevice_methods(root_module, cls):
5519
    ## net-device.h (module 'network'): ns3::NetDevice::NetDevice() [constructor]
5520
    cls.add_constructor([])
5521
    ## net-device.h (module 'network'): ns3::NetDevice::NetDevice(ns3::NetDevice const & arg0) [copy constructor]
5522
    cls.add_constructor([param('ns3::NetDevice const &', 'arg0')])
5523
    ## net-device.h (module 'network'): void ns3::NetDevice::AddLinkChangeCallback(ns3::Callback<void,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> callback) [member function]
5524
    cls.add_method('AddLinkChangeCallback', 
5525
                   'void', 
5526
                   [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')], 
5527
                   is_pure_virtual=True, is_virtual=True)
5528
    ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetAddress() const [member function]
5529
    cls.add_method('GetAddress', 
5530
                   'ns3::Address', 
5531
                   [], 
5532
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5533
    ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetBroadcast() const [member function]
5534
    cls.add_method('GetBroadcast', 
5535
                   'ns3::Address', 
5536
                   [], 
5537
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5538
    ## net-device.h (module 'network'): ns3::Ptr<ns3::Channel> ns3::NetDevice::GetChannel() const [member function]
5539
    cls.add_method('GetChannel', 
5540
                   'ns3::Ptr< ns3::Channel >', 
5541
                   [], 
5542
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5543
    ## net-device.h (module 'network'): uint32_t ns3::NetDevice::GetIfIndex() const [member function]
5544
    cls.add_method('GetIfIndex', 
5545
                   'uint32_t', 
5546
                   [], 
5547
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5548
    ## net-device.h (module 'network'): uint16_t ns3::NetDevice::GetMtu() const [member function]
5549
    cls.add_method('GetMtu', 
5550
                   'uint16_t', 
5551
                   [], 
5552
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5553
    ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetMulticast(ns3::Ipv4Address multicastGroup) const [member function]
5554
    cls.add_method('GetMulticast', 
5555
                   'ns3::Address', 
5556
                   [param('ns3::Ipv4Address', 'multicastGroup')], 
5557
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5558
    ## net-device.h (module 'network'): ns3::Address ns3::NetDevice::GetMulticast(ns3::Ipv6Address addr) const [member function]
5559
    cls.add_method('GetMulticast', 
5560
                   'ns3::Address', 
5561
                   [param('ns3::Ipv6Address', 'addr')], 
5562
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5563
    ## net-device.h (module 'network'): ns3::Ptr<ns3::Node> ns3::NetDevice::GetNode() const [member function]
5564
    cls.add_method('GetNode', 
5565
                   'ns3::Ptr< ns3::Node >', 
5566
                   [], 
5567
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5568
    ## net-device.h (module 'network'): static ns3::TypeId ns3::NetDevice::GetTypeId() [member function]
5569
    cls.add_method('GetTypeId', 
5570
                   'ns3::TypeId', 
5571
                   [], 
5572
                   is_static=True)
5573
    ## net-device.h (module 'network'): bool ns3::NetDevice::IsBridge() const [member function]
5574
    cls.add_method('IsBridge', 
5575
                   'bool', 
5576
                   [], 
5577
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5578
    ## net-device.h (module 'network'): bool ns3::NetDevice::IsBroadcast() const [member function]
5579
    cls.add_method('IsBroadcast', 
5580
                   'bool', 
5581
                   [], 
5582
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5583
    ## net-device.h (module 'network'): bool ns3::NetDevice::IsLinkUp() const [member function]
5584
    cls.add_method('IsLinkUp', 
5585
                   'bool', 
5586
                   [], 
5587
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5588
    ## net-device.h (module 'network'): bool ns3::NetDevice::IsMulticast() const [member function]
5589
    cls.add_method('IsMulticast', 
5590
                   'bool', 
5591
                   [], 
5592
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5593
    ## net-device.h (module 'network'): bool ns3::NetDevice::IsPointToPoint() const [member function]
5594
    cls.add_method('IsPointToPoint', 
5595
                   'bool', 
5596
                   [], 
5597
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5598
    ## net-device.h (module 'network'): bool ns3::NetDevice::NeedsArp() const [member function]
5599
    cls.add_method('NeedsArp', 
5600
                   'bool', 
5601
                   [], 
5602
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5603
    ## net-device.h (module 'network'): bool ns3::NetDevice::Send(ns3::Ptr<ns3::Packet> packet, ns3::Address const & dest, uint16_t protocolNumber) [member function]
5604
    cls.add_method('Send', 
5605
                   'bool', 
5606
                   [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], 
5607
                   is_pure_virtual=True, is_virtual=True)
5608
    ## net-device.h (module 'network'): bool ns3::NetDevice::SendFrom(ns3::Ptr<ns3::Packet> packet, ns3::Address const & source, ns3::Address const & dest, uint16_t protocolNumber) [member function]
5609
    cls.add_method('SendFrom', 
5610
                   'bool', 
5611
                   [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'source'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], 
5612
                   is_pure_virtual=True, is_virtual=True)
5613
    ## net-device.h (module 'network'): void ns3::NetDevice::SetAddress(ns3::Address address) [member function]
5614
    cls.add_method('SetAddress', 
5615
                   'void', 
5616
                   [param('ns3::Address', 'address')], 
5617
                   is_pure_virtual=True, is_virtual=True)
5618
    ## net-device.h (module 'network'): void ns3::NetDevice::SetIfIndex(uint32_t const index) [member function]
5619
    cls.add_method('SetIfIndex', 
5620
                   'void', 
5621
                   [param('uint32_t const', 'index')], 
5622
                   is_pure_virtual=True, is_virtual=True)
5623
    ## net-device.h (module 'network'): bool ns3::NetDevice::SetMtu(uint16_t const mtu) [member function]
5624
    cls.add_method('SetMtu', 
5625
                   'bool', 
5626
                   [param('uint16_t const', 'mtu')], 
5627
                   is_pure_virtual=True, is_virtual=True)
5628
    ## net-device.h (module 'network'): void ns3::NetDevice::SetNode(ns3::Ptr<ns3::Node> node) [member function]
5629
    cls.add_method('SetNode', 
5630
                   'void', 
5631
                   [param('ns3::Ptr< ns3::Node >', 'node')], 
5632
                   is_pure_virtual=True, is_virtual=True)
5633
    ## net-device.h (module 'network'): void ns3::NetDevice::SetPromiscReceiveCallback(ns3::Callback<bool,ns3::Ptr<ns3::NetDevice>,ns3::Ptr<const ns3::Packet>,short unsigned int,const ns3::Address&,const ns3::Address&,ns3::NetDevice::PacketType,ns3::empty,ns3::empty,ns3::empty> cb) [member function]
5634
    cls.add_method('SetPromiscReceiveCallback', 
5635
                   'void', 
5636
                   [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, short unsigned int, ns3::Address const &, ns3::Address const &, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty >', 'cb')], 
5637
                   is_pure_virtual=True, is_virtual=True)
5638
    ## net-device.h (module 'network'): void ns3::NetDevice::SetReceiveCallback(ns3::Callback<bool,ns3::Ptr<ns3::NetDevice>,ns3::Ptr<const ns3::Packet>,short unsigned int,const ns3::Address&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> cb) [member function]
5639
    cls.add_method('SetReceiveCallback', 
5640
                   'void', 
5641
                   [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, short unsigned int, ns3::Address const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], 
5642
                   is_pure_virtual=True, is_virtual=True)
5643
    ## net-device.h (module 'network'): bool ns3::NetDevice::SupportsSendFrom() const [member function]
5644
    cls.add_method('SupportsSendFrom', 
5645
                   'bool', 
5646
                   [], 
5647
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5648
    return
5649
5650
def register_Ns3NixVector_methods(root_module, cls):
5651
    cls.add_output_stream_operator()
5652
    ## nix-vector.h (module 'network'): ns3::NixVector::NixVector() [constructor]
5653
    cls.add_constructor([])
5654
    ## nix-vector.h (module 'network'): ns3::NixVector::NixVector(ns3::NixVector const & o) [copy constructor]
5655
    cls.add_constructor([param('ns3::NixVector const &', 'o')])
5656
    ## nix-vector.h (module 'network'): void ns3::NixVector::AddNeighborIndex(uint32_t newBits, uint32_t numberOfBits) [member function]
5657
    cls.add_method('AddNeighborIndex', 
5658
                   'void', 
5659
                   [param('uint32_t', 'newBits'), param('uint32_t', 'numberOfBits')])
5660
    ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::BitCount(uint32_t numberOfNeighbors) const [member function]
5661
    cls.add_method('BitCount', 
5662
                   'uint32_t', 
5663
                   [param('uint32_t', 'numberOfNeighbors')], 
5664
                   is_const=True)
5665
    ## nix-vector.h (module 'network'): ns3::Ptr<ns3::NixVector> ns3::NixVector::Copy() const [member function]
5666
    cls.add_method('Copy', 
5667
                   'ns3::Ptr< ns3::NixVector >', 
5668
                   [], 
5669
                   is_const=True)
5670
    ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::Deserialize(uint32_t const * buffer, uint32_t size) [member function]
5671
    cls.add_method('Deserialize', 
5672
                   'uint32_t', 
5673
                   [param('uint32_t const *', 'buffer'), param('uint32_t', 'size')])
5674
    ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::ExtractNeighborIndex(uint32_t numberOfBits) [member function]
5675
    cls.add_method('ExtractNeighborIndex', 
5676
                   'uint32_t', 
5677
                   [param('uint32_t', 'numberOfBits')])
5678
    ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::GetRemainingBits() [member function]
5679
    cls.add_method('GetRemainingBits', 
5680
                   'uint32_t', 
5681
                   [])
5682
    ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::GetSerializedSize() const [member function]
5683
    cls.add_method('GetSerializedSize', 
5684
                   'uint32_t', 
5685
                   [], 
5686
                   is_const=True)
5687
    ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::Serialize(uint32_t * buffer, uint32_t maxSize) const [member function]
5688
    cls.add_method('Serialize', 
5689
                   'uint32_t', 
5690
                   [param('uint32_t *', 'buffer'), param('uint32_t', 'maxSize')], 
5691
                   is_const=True)
5692
    return
5693
5694
def register_Ns3Node_methods(root_module, cls):
5695
    ## node.h (module 'network'): ns3::Node::Node(ns3::Node const & arg0) [copy constructor]
5696
    cls.add_constructor([param('ns3::Node const &', 'arg0')])
5697
    ## node.h (module 'network'): ns3::Node::Node() [constructor]
5698
    cls.add_constructor([])
5699
    ## node.h (module 'network'): ns3::Node::Node(uint32_t systemId) [constructor]
5700
    cls.add_constructor([param('uint32_t', 'systemId')])
5701
    ## node.h (module 'network'): uint32_t ns3::Node::AddApplication(ns3::Ptr<ns3::Application> application) [member function]
5702
    cls.add_method('AddApplication', 
5703
                   'uint32_t', 
5704
                   [param('ns3::Ptr< ns3::Application >', 'application')])
5705
    ## node.h (module 'network'): uint32_t ns3::Node::AddDevice(ns3::Ptr<ns3::NetDevice> device) [member function]
5706
    cls.add_method('AddDevice', 
5707
                   'uint32_t', 
5708
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')])
5709
    ## node.h (module 'network'): static bool ns3::Node::ChecksumEnabled() [member function]
5710
    cls.add_method('ChecksumEnabled', 
5711
                   'bool', 
5712
                   [], 
5713
                   is_static=True)
5714
    ## node.h (module 'network'): ns3::Ptr<ns3::Application> ns3::Node::GetApplication(uint32_t index) const [member function]
5715
    cls.add_method('GetApplication', 
5716
                   'ns3::Ptr< ns3::Application >', 
5717
                   [param('uint32_t', 'index')], 
5718
                   is_const=True)
5719
    ## node.h (module 'network'): ns3::Ptr<ns3::NetDevice> ns3::Node::GetDevice(uint32_t index) const [member function]
5720
    cls.add_method('GetDevice', 
5721
                   'ns3::Ptr< ns3::NetDevice >', 
5722
                   [param('uint32_t', 'index')], 
5723
                   is_const=True)
5724
    ## node.h (module 'network'): uint32_t ns3::Node::GetId() const [member function]
5725
    cls.add_method('GetId', 
5726
                   'uint32_t', 
5727
                   [], 
5728
                   is_const=True)
5729
    ## node.h (module 'network'): uint32_t ns3::Node::GetNApplications() const [member function]
5730
    cls.add_method('GetNApplications', 
5731
                   'uint32_t', 
5732
                   [], 
5733
                   is_const=True)
5734
    ## node.h (module 'network'): uint32_t ns3::Node::GetNDevices() const [member function]
5735
    cls.add_method('GetNDevices', 
5736
                   'uint32_t', 
5737
                   [], 
5738
                   is_const=True)
5739
    ## node.h (module 'network'): uint32_t ns3::Node::GetSystemId() const [member function]
5740
    cls.add_method('GetSystemId', 
5741
                   'uint32_t', 
5742
                   [], 
5743
                   is_const=True)
5744
    ## node.h (module 'network'): static ns3::TypeId ns3::Node::GetTypeId() [member function]
5745
    cls.add_method('GetTypeId', 
5746
                   'ns3::TypeId', 
5747
                   [], 
5748
                   is_static=True)
5749
    ## 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]
5750
    cls.add_method('RegisterProtocolHandler', 
5751
                   'void', 
5752
                   [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')])
5753
    ## 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]
5754
    cls.add_method('UnregisterProtocolHandler', 
5755
                   'void', 
5756
                   [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')])
5757
    ## node.h (module 'network'): void ns3::Node::DoDispose() [member function]
5758
    cls.add_method('DoDispose', 
5759
                   'void', 
5760
                   [], 
5761
                   visibility='protected', is_virtual=True)
5762
    ## node.h (module 'network'): void ns3::Node::DoStart() [member function]
5763
    cls.add_method('DoStart', 
5764
                   'void', 
5765
                   [], 
5766
                   visibility='protected', is_virtual=True)
5767
    ## node.h (module 'network'): void ns3::Node::NotifyDeviceAdded(ns3::Ptr<ns3::NetDevice> device) [member function]
5768
    cls.add_method('NotifyDeviceAdded', 
5769
                   'void', 
5770
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')], 
5771
                   visibility='private', is_virtual=True)
5772
    return
5773
5774
def register_Ns3ObjectFactoryChecker_methods(root_module, cls):
5775
    ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker::ObjectFactoryChecker() [constructor]
5776
    cls.add_constructor([])
5777
    ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker::ObjectFactoryChecker(ns3::ObjectFactoryChecker const & arg0) [copy constructor]
5778
    cls.add_constructor([param('ns3::ObjectFactoryChecker const &', 'arg0')])
5779
    return
5780
5781
def register_Ns3ObjectFactoryValue_methods(root_module, cls):
5782
    ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue() [constructor]
5783
    cls.add_constructor([])
5784
    ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue(ns3::ObjectFactoryValue const & arg0) [copy constructor]
5785
    cls.add_constructor([param('ns3::ObjectFactoryValue const &', 'arg0')])
5786
    ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue(ns3::ObjectFactory const & value) [constructor]
5787
    cls.add_constructor([param('ns3::ObjectFactory const &', 'value')])
5788
    ## object-factory.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::ObjectFactoryValue::Copy() const [member function]
5789
    cls.add_method('Copy', 
5790
                   'ns3::Ptr< ns3::AttributeValue >', 
5791
                   [], 
5792
                   is_const=True, is_virtual=True)
5793
    ## object-factory.h (module 'core'): bool ns3::ObjectFactoryValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
5794
    cls.add_method('DeserializeFromString', 
5795
                   'bool', 
5796
                   [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
5797
                   is_virtual=True)
5798
    ## object-factory.h (module 'core'): ns3::ObjectFactory ns3::ObjectFactoryValue::Get() const [member function]
5799
    cls.add_method('Get', 
5800
                   'ns3::ObjectFactory', 
5801
                   [], 
5802
                   is_const=True)
5803
    ## object-factory.h (module 'core'): std::string ns3::ObjectFactoryValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
5804
    cls.add_method('SerializeToString', 
5805
                   'std::string', 
5806
                   [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
5807
                   is_const=True, is_virtual=True)
5808
    ## object-factory.h (module 'core'): void ns3::ObjectFactoryValue::Set(ns3::ObjectFactory const & value) [member function]
5809
    cls.add_method('Set', 
5810
                   'void', 
5811
                   [param('ns3::ObjectFactory const &', 'value')])
5812
    return
5813
5814
def register_Ns3OutputStreamWrapper_methods(root_module, cls):
5815
    ## output-stream-wrapper.h (module 'network'): ns3::OutputStreamWrapper::OutputStreamWrapper(ns3::OutputStreamWrapper const & arg0) [copy constructor]
5816
    cls.add_constructor([param('ns3::OutputStreamWrapper const &', 'arg0')])
5817
    ## output-stream-wrapper.h (module 'network'): ns3::OutputStreamWrapper::OutputStreamWrapper(std::string filename, std::_Ios_Openmode filemode) [constructor]
5818
    cls.add_constructor([param('std::string', 'filename'), param('std::_Ios_Openmode', 'filemode')])
5819
    ## output-stream-wrapper.h (module 'network'): ns3::OutputStreamWrapper::OutputStreamWrapper(std::ostream * os) [constructor]
5820
    cls.add_constructor([param('std::ostream *', 'os')])
5821
    ## output-stream-wrapper.h (module 'network'): std::ostream * ns3::OutputStreamWrapper::GetStream() [member function]
5822
    cls.add_method('GetStream', 
5823
                   'std::ostream *', 
5824
                   [])
5825
    return
5826
5827
def register_Ns3Packet_methods(root_module, cls):
5828
    cls.add_output_stream_operator()
5829
    ## packet.h (module 'network'): ns3::Packet::Packet() [constructor]
5830
    cls.add_constructor([])
5831
    ## packet.h (module 'network'): ns3::Packet::Packet(ns3::Packet const & o) [copy constructor]
5832
    cls.add_constructor([param('ns3::Packet const &', 'o')])
5833
    ## packet.h (module 'network'): ns3::Packet::Packet(uint32_t size) [constructor]
5834
    cls.add_constructor([param('uint32_t', 'size')])
5835
    ## packet.h (module 'network'): ns3::Packet::Packet(uint8_t const * buffer, uint32_t size, bool magic) [constructor]
5836
    cls.add_constructor([param('uint8_t const *', 'buffer'), param('uint32_t', 'size'), param('bool', 'magic')])
5837
    ## packet.h (module 'network'): ns3::Packet::Packet(uint8_t const * buffer, uint32_t size) [constructor]
5838
    cls.add_constructor([param('uint8_t const *', 'buffer'), param('uint32_t', 'size')])
5839
    ## packet.h (module 'network'): void ns3::Packet::AddAtEnd(ns3::Ptr<const ns3::Packet> packet) [member function]
5840
    cls.add_method('AddAtEnd', 
5841
                   'void', 
5842
                   [param('ns3::Ptr< ns3::Packet const >', 'packet')])
5843
    ## packet.h (module 'network'): void ns3::Packet::AddByteTag(ns3::Tag const & tag) const [member function]
5844
    cls.add_method('AddByteTag', 
5845
                   'void', 
5846
                   [param('ns3::Tag const &', 'tag')], 
5847
                   is_const=True)
5848
    ## packet.h (module 'network'): void ns3::Packet::AddHeader(ns3::Header const & header) [member function]
5849
    cls.add_method('AddHeader', 
5850
                   'void', 
5851
                   [param('ns3::Header const &', 'header')])
5852
    ## packet.h (module 'network'): void ns3::Packet::AddPacketTag(ns3::Tag const & tag) const [member function]
5853
    cls.add_method('AddPacketTag', 
5854
                   'void', 
5855
                   [param('ns3::Tag const &', 'tag')], 
5856
                   is_const=True)
5857
    ## packet.h (module 'network'): void ns3::Packet::AddPaddingAtEnd(uint32_t size) [member function]
5858
    cls.add_method('AddPaddingAtEnd', 
5859
                   'void', 
5860
                   [param('uint32_t', 'size')])
5861
    ## packet.h (module 'network'): void ns3::Packet::AddTrailer(ns3::Trailer const & trailer) [member function]
5862
    cls.add_method('AddTrailer', 
5863
                   'void', 
5864
                   [param('ns3::Trailer const &', 'trailer')])
5865
    ## packet.h (module 'network'): ns3::PacketMetadata::ItemIterator ns3::Packet::BeginItem() const [member function]
5866
    cls.add_method('BeginItem', 
5867
                   'ns3::PacketMetadata::ItemIterator', 
5868
                   [], 
5869
                   is_const=True)
5870
    ## packet.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Packet::Copy() const [member function]
5871
    cls.add_method('Copy', 
5872
                   'ns3::Ptr< ns3::Packet >', 
5873
                   [], 
5874
                   is_const=True)
5875
    ## packet.h (module 'network'): uint32_t ns3::Packet::CopyData(uint8_t * buffer, uint32_t size) const [member function]
5876
    cls.add_method('CopyData', 
5877
                   'uint32_t', 
5878
                   [param('uint8_t *', 'buffer'), param('uint32_t', 'size')], 
5879
                   is_const=True)
5880
    ## packet.h (module 'network'): void ns3::Packet::CopyData(std::ostream * os, uint32_t size) const [member function]
5881
    cls.add_method('CopyData', 
5882
                   'void', 
5883
                   [param('std::ostream *', 'os'), param('uint32_t', 'size')], 
5884
                   is_const=True)
5885
    ## packet.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::Packet::CreateFragment(uint32_t start, uint32_t length) const [member function]
5886
    cls.add_method('CreateFragment', 
5887
                   'ns3::Ptr< ns3::Packet >', 
5888
                   [param('uint32_t', 'start'), param('uint32_t', 'length')], 
5889
                   is_const=True)
5890
    ## packet.h (module 'network'): static void ns3::Packet::EnableChecking() [member function]
5891
    cls.add_method('EnableChecking', 
5892
                   'void', 
5893
                   [], 
5894
                   is_static=True)
5895
    ## packet.h (module 'network'): static void ns3::Packet::EnablePrinting() [member function]
5896
    cls.add_method('EnablePrinting', 
5897
                   'void', 
5898
                   [], 
5899
                   is_static=True)
5900
    ## packet.h (module 'network'): bool ns3::Packet::FindFirstMatchingByteTag(ns3::Tag & tag) const [member function]
5901
    cls.add_method('FindFirstMatchingByteTag', 
5902
                   'bool', 
5903
                   [param('ns3::Tag &', 'tag')], 
5904
                   is_const=True)
5905
    ## packet.h (module 'network'): ns3::ByteTagIterator ns3::Packet::GetByteTagIterator() const [member function]
5906
    cls.add_method('GetByteTagIterator', 
5907
                   'ns3::ByteTagIterator', 
5908
                   [], 
5909
                   is_const=True)
5910
    ## packet.h (module 'network'): ns3::Ptr<ns3::NixVector> ns3::Packet::GetNixVector() const [member function]
5911
    cls.add_method('GetNixVector', 
5912
                   'ns3::Ptr< ns3::NixVector >', 
5913
                   [], 
5914
                   is_const=True)
5915
    ## packet.h (module 'network'): ns3::PacketTagIterator ns3::Packet::GetPacketTagIterator() const [member function]
5916
    cls.add_method('GetPacketTagIterator', 
5917
                   'ns3::PacketTagIterator', 
5918
                   [], 
5919
                   is_const=True)
5920
    ## packet.h (module 'network'): uint32_t ns3::Packet::GetSerializedSize() const [member function]
5921
    cls.add_method('GetSerializedSize', 
5922
                   'uint32_t', 
5923
                   [], 
5924
                   is_const=True)
5925
    ## packet.h (module 'network'): uint32_t ns3::Packet::GetSize() const [member function]
5926
    cls.add_method('GetSize', 
5927
                   'uint32_t', 
5928
                   [], 
5929
                   is_const=True)
5930
    ## packet.h (module 'network'): uint64_t ns3::Packet::GetUid() const [member function]
5931
    cls.add_method('GetUid', 
5932
                   'uint64_t', 
5933
                   [], 
5934
                   is_const=True)
5935
    ## packet.h (module 'network'): uint8_t const * ns3::Packet::PeekData() const [member function]
5936
    cls.add_method('PeekData', 
5937
                   'uint8_t const *', 
5938
                   [], 
5939
                   deprecated=True, is_const=True)
5940
    ## packet.h (module 'network'): uint32_t ns3::Packet::PeekHeader(ns3::Header & header) const [member function]
5941
    cls.add_method('PeekHeader', 
5942
                   'uint32_t', 
5943
                   [param('ns3::Header &', 'header')], 
5944
                   is_const=True)
5945
    ## packet.h (module 'network'): bool ns3::Packet::PeekPacketTag(ns3::Tag & tag) const [member function]
5946
    cls.add_method('PeekPacketTag', 
5947
                   'bool', 
5948
                   [param('ns3::Tag &', 'tag')], 
5949
                   is_const=True)
5950
    ## packet.h (module 'network'): uint32_t ns3::Packet::PeekTrailer(ns3::Trailer & trailer) [member function]
5951
    cls.add_method('PeekTrailer', 
5952
                   'uint32_t', 
5953
                   [param('ns3::Trailer &', 'trailer')])
5954
    ## packet.h (module 'network'): void ns3::Packet::Print(std::ostream & os) const [member function]
5955
    cls.add_method('Print', 
5956
                   'void', 
5957
                   [param('std::ostream &', 'os')], 
5958
                   is_const=True)
5959
    ## packet.h (module 'network'): void ns3::Packet::PrintByteTags(std::ostream & os) const [member function]
5960
    cls.add_method('PrintByteTags', 
5961
                   'void', 
5962
                   [param('std::ostream &', 'os')], 
5963
                   is_const=True)
5964
    ## packet.h (module 'network'): void ns3::Packet::PrintPacketTags(std::ostream & os) const [member function]
5965
    cls.add_method('PrintPacketTags', 
5966
                   'void', 
5967
                   [param('std::ostream &', 'os')], 
5968
                   is_const=True)
5969
    ## packet.h (module 'network'): void ns3::Packet::RemoveAllByteTags() [member function]
5970
    cls.add_method('RemoveAllByteTags', 
5971
                   'void', 
5972
                   [])
5973
    ## packet.h (module 'network'): void ns3::Packet::RemoveAllPacketTags() [member function]
5974
    cls.add_method('RemoveAllPacketTags', 
5975
                   'void', 
5976
                   [])
5977
    ## packet.h (module 'network'): void ns3::Packet::RemoveAtEnd(uint32_t size) [member function]
5978
    cls.add_method('RemoveAtEnd', 
5979
                   'void', 
5980
                   [param('uint32_t', 'size')])
5981
    ## packet.h (module 'network'): void ns3::Packet::RemoveAtStart(uint32_t size) [member function]
5982
    cls.add_method('RemoveAtStart', 
5983
                   'void', 
5984
                   [param('uint32_t', 'size')])
5985
    ## packet.h (module 'network'): uint32_t ns3::Packet::RemoveHeader(ns3::Header & header) [member function]
5986
    cls.add_method('RemoveHeader', 
5987
                   'uint32_t', 
5988
                   [param('ns3::Header &', 'header')])
5989
    ## packet.h (module 'network'): bool ns3::Packet::RemovePacketTag(ns3::Tag & tag) [member function]
5990
    cls.add_method('RemovePacketTag', 
5991
                   'bool', 
5992
                   [param('ns3::Tag &', 'tag')])
5993
    ## packet.h (module 'network'): uint32_t ns3::Packet::RemoveTrailer(ns3::Trailer & trailer) [member function]
5994
    cls.add_method('RemoveTrailer', 
5995
                   'uint32_t', 
5996
                   [param('ns3::Trailer &', 'trailer')])
5997
    ## packet.h (module 'network'): uint32_t ns3::Packet::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function]
5998
    cls.add_method('Serialize', 
5999
                   'uint32_t', 
6000
                   [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')], 
6001
                   is_const=True)
6002
    ## packet.h (module 'network'): void ns3::Packet::SetNixVector(ns3::Ptr<ns3::NixVector> arg0) [member function]
6003
    cls.add_method('SetNixVector', 
6004
                   'void', 
6005
                   [param('ns3::Ptr< ns3::NixVector >', 'arg0')])
6006
    return
6007
6008
def register_Ns3TimeChecker_methods(root_module, cls):
6009
    ## nstime.h (module 'core'): ns3::TimeChecker::TimeChecker() [constructor]
6010
    cls.add_constructor([])
6011
    ## nstime.h (module 'core'): ns3::TimeChecker::TimeChecker(ns3::TimeChecker const & arg0) [copy constructor]
6012
    cls.add_constructor([param('ns3::TimeChecker const &', 'arg0')])
6013
    return
6014
6015
def register_Ns3TimeValue_methods(root_module, cls):
6016
    ## nstime.h (module 'core'): ns3::TimeValue::TimeValue() [constructor]
6017
    cls.add_constructor([])
6018
    ## nstime.h (module 'core'): ns3::TimeValue::TimeValue(ns3::TimeValue const & arg0) [copy constructor]
6019
    cls.add_constructor([param('ns3::TimeValue const &', 'arg0')])
6020
    ## nstime.h (module 'core'): ns3::TimeValue::TimeValue(ns3::Time const & value) [constructor]
6021
    cls.add_constructor([param('ns3::Time const &', 'value')])
6022
    ## nstime.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::TimeValue::Copy() const [member function]
6023
    cls.add_method('Copy', 
6024
                   'ns3::Ptr< ns3::AttributeValue >', 
6025
                   [], 
6026
                   is_const=True, is_virtual=True)
6027
    ## nstime.h (module 'core'): bool ns3::TimeValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
6028
    cls.add_method('DeserializeFromString', 
6029
                   'bool', 
6030
                   [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
6031
                   is_virtual=True)
6032
    ## nstime.h (module 'core'): ns3::Time ns3::TimeValue::Get() const [member function]
6033
    cls.add_method('Get', 
6034
                   'ns3::Time', 
6035
                   [], 
6036
                   is_const=True)
6037
    ## nstime.h (module 'core'): std::string ns3::TimeValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
6038
    cls.add_method('SerializeToString', 
6039
                   'std::string', 
6040
                   [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
6041
                   is_const=True, is_virtual=True)
6042
    ## nstime.h (module 'core'): void ns3::TimeValue::Set(ns3::Time const & value) [member function]
6043
    cls.add_method('Set', 
6044
                   'void', 
6045
                   [param('ns3::Time const &', 'value')])
6046
    return
6047
6048
def register_Ns3TypeIdChecker_methods(root_module, cls):
6049
    ## type-id.h (module 'core'): ns3::TypeIdChecker::TypeIdChecker() [constructor]
6050
    cls.add_constructor([])
6051
    ## type-id.h (module 'core'): ns3::TypeIdChecker::TypeIdChecker(ns3::TypeIdChecker const & arg0) [copy constructor]
6052
    cls.add_constructor([param('ns3::TypeIdChecker const &', 'arg0')])
6053
    return
6054
6055
def register_Ns3TypeIdValue_methods(root_module, cls):
6056
    ## type-id.h (module 'core'): ns3::TypeIdValue::TypeIdValue() [constructor]
6057
    cls.add_constructor([])
6058
    ## type-id.h (module 'core'): ns3::TypeIdValue::TypeIdValue(ns3::TypeIdValue const & arg0) [copy constructor]
6059
    cls.add_constructor([param('ns3::TypeIdValue const &', 'arg0')])
6060
    ## type-id.h (module 'core'): ns3::TypeIdValue::TypeIdValue(ns3::TypeId const & value) [constructor]
6061
    cls.add_constructor([param('ns3::TypeId const &', 'value')])
6062
    ## type-id.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::TypeIdValue::Copy() const [member function]
6063
    cls.add_method('Copy', 
6064
                   'ns3::Ptr< ns3::AttributeValue >', 
6065
                   [], 
6066
                   is_const=True, is_virtual=True)
6067
    ## type-id.h (module 'core'): bool ns3::TypeIdValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
6068
    cls.add_method('DeserializeFromString', 
6069
                   'bool', 
6070
                   [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
6071
                   is_virtual=True)
6072
    ## type-id.h (module 'core'): ns3::TypeId ns3::TypeIdValue::Get() const [member function]
6073
    cls.add_method('Get', 
6074
                   'ns3::TypeId', 
6075
                   [], 
6076
                   is_const=True)
6077
    ## type-id.h (module 'core'): std::string ns3::TypeIdValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
6078
    cls.add_method('SerializeToString', 
6079
                   'std::string', 
6080
                   [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
6081
                   is_const=True, is_virtual=True)
6082
    ## type-id.h (module 'core'): void ns3::TypeIdValue::Set(ns3::TypeId const & value) [member function]
6083
    cls.add_method('Set', 
6084
                   'void', 
6085
                   [param('ns3::TypeId const &', 'value')])
6086
    return
6087
6088
def register_Ns3AddressChecker_methods(root_module, cls):
6089
    ## address.h (module 'network'): ns3::AddressChecker::AddressChecker() [constructor]
6090
    cls.add_constructor([])
6091
    ## address.h (module 'network'): ns3::AddressChecker::AddressChecker(ns3::AddressChecker const & arg0) [copy constructor]
6092
    cls.add_constructor([param('ns3::AddressChecker const &', 'arg0')])
6093
    return
6094
6095
def register_Ns3AddressValue_methods(root_module, cls):
6096
    ## address.h (module 'network'): ns3::AddressValue::AddressValue() [constructor]
6097
    cls.add_constructor([])
6098
    ## address.h (module 'network'): ns3::AddressValue::AddressValue(ns3::AddressValue const & arg0) [copy constructor]
6099
    cls.add_constructor([param('ns3::AddressValue const &', 'arg0')])
6100
    ## address.h (module 'network'): ns3::AddressValue::AddressValue(ns3::Address const & value) [constructor]
6101
    cls.add_constructor([param('ns3::Address const &', 'value')])
6102
    ## address.h (module 'network'): ns3::Ptr<ns3::AttributeValue> ns3::AddressValue::Copy() const [member function]
6103
    cls.add_method('Copy', 
6104
                   'ns3::Ptr< ns3::AttributeValue >', 
6105
                   [], 
6106
                   is_const=True, is_virtual=True)
6107
    ## address.h (module 'network'): bool ns3::AddressValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
6108
    cls.add_method('DeserializeFromString', 
6109
                   'bool', 
6110
                   [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
6111
                   is_virtual=True)
6112
    ## address.h (module 'network'): ns3::Address ns3::AddressValue::Get() const [member function]
6113
    cls.add_method('Get', 
6114
                   'ns3::Address', 
6115
                   [], 
6116
                   is_const=True)
6117
    ## address.h (module 'network'): std::string ns3::AddressValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
6118
    cls.add_method('SerializeToString', 
6119
                   'std::string', 
6120
                   [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
6121
                   is_const=True, is_virtual=True)
6122
    ## address.h (module 'network'): void ns3::AddressValue::Set(ns3::Address const & value) [member function]
6123
    cls.add_method('Set', 
6124
                   'void', 
6125
                   [param('ns3::Address const &', 'value')])
6126
    return
6127
6128
def register_functions(root_module):
6129
    module = root_module
6130
    register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module)
6131
    return
6132
6133
def register_functions_ns3_FatalImpl(module, root_module):
6134
    return
6135
6136
def main():
6137
    out = FileCodeSink(sys.stdout)
6138
    root_module = module_init()
6139
    register_types(root_module)
6140
    register_methods(root_module)
6141
    register_functions(root_module)
6142
    root_module.generate(out)
6143
6144
if __name__ == '__main__':
6145
    main()
6146
(-)e9ca5b2838e7 (+267 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
 * Author: George F. Riley<riley@ece.gatech.edu>
17
 */
18
19
// Implement an object to create a dumbbell topology.
20
21
#include <iostream>
22
#include <sstream>
23
24
// ns3 includes
25
#include "ns3/animation-interface.h"
26
#include "ns3/point-to-point-dumbbell.h"
27
#include "ns3/constant-position-mobility-model.h"
28
29
#include "ns3/node-list.h"
30
#include "ns3/point-to-point-net-device.h"
31
#include "ns3/vector.h"
32
33
NS_LOG_COMPONENT_DEFINE("PointToPointDumbbellHelper");
34
35
namespace ns3 {
36
  
37
PointToPointDumbbellHelper::PointToPointDumbbellHelper (uint32_t nLeftLeaf,
38
                   PointToPointHelper leftHelper,
39
                   uint32_t nRightLeaf,
40
                   PointToPointHelper rightHelper,
41
                   PointToPointHelper bottleneckHelper)
42
{
43
  // Create the bottleneck routers
44
  m_routers.Create (2);
45
  // Create the leaf nodes
46
  m_leftLeaf.Create (nLeftLeaf);
47
  m_rightLeaf.Create (nRightLeaf);
48
49
  // Add the link connecting routers
50
  m_routerDevices = bottleneckHelper.Install (m_routers);
51
  // Add the left side links
52
  for (uint32_t i = 0; i < nLeftLeaf; ++i)
53
    {
54
      NetDeviceContainer c = leftHelper.Install (m_routers.Get (0),
55
                                                m_leftLeaf.Get (i));
56
      m_leftRouterDevices.Add (c.Get (0));
57
      m_leftLeafDevices.Add (c.Get(1));
58
    }
59
  // Add the right side links
60
  for (uint32_t i = 0; i < nRightLeaf; ++i)
61
    {
62
      NetDeviceContainer c = rightHelper.Install (m_routers.Get (1),
63
                                                m_rightLeaf.Get (i));
64
      m_rightRouterDevices.Add (c.Get (0));
65
      m_rightLeafDevices.Add (c.Get (1));
66
    }
67
}
68
69
PointToPointDumbbellHelper::~PointToPointDumbbellHelper ()
70
{}
71
72
Ptr<Node> PointToPointDumbbellHelper::GetLeft () const
73
{ // Get the left side bottleneck router
74
  return m_routers.Get (0);
75
}
76
77
Ptr<Node> PointToPointDumbbellHelper::GetLeft (uint32_t i) const
78
{ // Get the i'th left side leaf
79
  return m_leftLeaf.Get (i);
80
}
81
82
Ptr<Node> PointToPointDumbbellHelper::GetRight () const
83
{ // Get the right side bottleneck router
84
  return m_routers.Get (1);
85
}
86
87
Ptr<Node> PointToPointDumbbellHelper::GetRight (uint32_t i) const
88
{ // Get the i'th right side leaf
89
  return m_rightLeaf.Get (i);
90
}
91
92
Ipv4Address PointToPointDumbbellHelper::GetLeftIpv4Address (uint32_t i) const
93
{
94
  return m_leftLeafInterfaces.GetAddress (i);
95
}
96
97
Ipv4Address PointToPointDumbbellHelper::GetRightIpv4Address (uint32_t i) const
98
{
99
  return m_rightLeafInterfaces.GetAddress (i);
100
}
101
102
uint32_t  PointToPointDumbbellHelper::LeftCount () const
103
{ // Number of left side nodes
104
  return m_leftLeaf.GetN ();
105
}
106
107
uint32_t  PointToPointDumbbellHelper::RightCount () const
108
{ // Number of right side nodes
109
  return m_rightLeaf.GetN ();
110
}
111
112
void PointToPointDumbbellHelper::InstallStack (InternetStackHelper stack)
113
{
114
  stack.Install (m_routers);
115
  stack.Install (m_leftLeaf);
116
  stack.Install (m_rightLeaf);
117
}
118
119
void PointToPointDumbbellHelper::AssignIpv4Addresses (Ipv4AddressHelper leftIp,
120
                               Ipv4AddressHelper rightIp,
121
                               Ipv4AddressHelper routerIp)
122
{
123
  // Assign the router network
124
  m_routerInterfaces = routerIp.Assign (m_routerDevices);
125
  // Assign to left side 
126
  for (uint32_t i = 0; i < LeftCount (); ++i)
127
    {
128
      NetDeviceContainer ndc;
129
      ndc.Add (m_leftLeafDevices.Get (i));
130
      ndc.Add (m_leftRouterDevices.Get (i));
131
      Ipv4InterfaceContainer ifc = leftIp.Assign(ndc);
132
      m_leftLeafInterfaces.Add (ifc.Get (0));
133
      m_leftRouterInterfaces.Add (ifc.Get (1));
134
      leftIp.NewNetwork ();
135
    }
136
  // Assign to right side
137
  for (uint32_t i = 0; i < RightCount (); ++i)
138
    {
139
      NetDeviceContainer ndc;
140
      ndc.Add (m_rightLeafDevices.Get (i));
141
      ndc.Add (m_rightRouterDevices.Get (i));
142
      Ipv4InterfaceContainer ifc = rightIp.Assign (ndc);
143
      m_rightLeafInterfaces.Add (ifc.Get (0));
144
      m_rightRouterInterfaces.Add (ifc.Get (1));
145
      rightIp.NewNetwork ();
146
    }
147
}
148
149
150
void PointToPointDumbbellHelper::BoundingBox (double ulx, double uly, // Upper left x/y
151
                           double lrx, double lry) // Lower right y
152
{
153
  double xDist;
154
  double yDist;
155
  if (lrx > ulx)
156
    {
157
      xDist = lrx - ulx;
158
    }
159
  else
160
    {
161
      xDist = ulx - lrx;
162
    }
163
  if (lry > uly)
164
    {
165
      yDist = lry - uly;
166
    }
167
  else
168
    {
169
      yDist = uly - lry;
170
    }
171
172
  double xAdder = xDist / 3.0;
173
  double  thetaL = M_PI / (LeftCount () + 1.0);
174
  double  thetaR = M_PI / (RightCount () + 1.0);
175
176
  // Place the left router
177
  Ptr<Node> lr = GetLeft ();
178
  Ptr<ConstantPositionMobilityModel> loc = lr->GetObject<ConstantPositionMobilityModel> ();
179
  if (loc == 0)
180
    {
181
      loc = CreateObject<ConstantPositionMobilityModel> ();
182
      lr->AggregateObject (loc);
183
    }
184
  Vector lrl (ulx + xAdder, uly + yDist/2.0, 0);
185
  loc->SetPosition (lrl);
186
  
187
  // Place the right router
188
  Ptr<Node> rr = GetRight ();
189
  loc = rr->GetObject<ConstantPositionMobilityModel> ();
190
  if (loc == 0)
191
    {
192
      loc = CreateObject<ConstantPositionMobilityModel> ();
193
      rr->AggregateObject (loc);
194
    }
195
  Vector rrl (ulx + xAdder * 2, uly + yDist/2.0, 0); // Right router location
196
  loc->SetPosition (rrl);
197
198
  // Place the left leaf nodes
199
  double theta = -M_PI_2 + thetaL;
200
  for (uint32_t l = 0; l < LeftCount (); ++l)
201
    {
202
      // Make them in a circular pattern to make all line lengths the same
203
      // Special case when theta = 0, to be sure we get a straight line
204
      if ((LeftCount () % 2) == 1)
205
        { // Count is odd, see if we are in middle
206
          if (l == (LeftCount () / 2))
207
            {
208
              theta = 0.0;
209
            }
210
        }
211
      Ptr<Node> ln = GetLeft (l);
212
      loc = ln->GetObject<ConstantPositionMobilityModel> ();
213
      if (loc == 0)
214
        {
215
          loc = CreateObject<ConstantPositionMobilityModel> ();
216
          ln->AggregateObject (loc);
217
        }
218
      Vector lnl (lrl.x - cos (theta) * xAdder,
219
                   lrl.y + sin (theta) * xAdder, 0);  // Left Node Location
220
      // Insure did not exceed bounding box
221
      if (lnl.y < uly) 
222
        {
223
          lnl.y = uly; // Set to upper right y
224
        }
225
      if (lnl.y > lry) 
226
        {
227
          lnl.y = lry; // Set to lower right y
228
        }
229
      loc->SetPosition (lnl);
230
      theta += thetaL;
231
    }
232
  // Place the right nodes
233
  theta = -M_PI_2 + thetaR;
234
  for (uint32_t r = 0; r < RightCount (); ++r)
235
    {
236
      // Special case when theta = 0, to be sure we get a straight line
237
      if ((RightCount () % 2) == 1)
238
        { // Count is odd, see if we are in middle
239
          if (r == (RightCount () / 2))
240
            {
241
              theta = 0.0;
242
            }
243
        }
244
      Ptr<Node> rn = GetRight (r);
245
      loc = rn->GetObject<ConstantPositionMobilityModel> ();
246
      if (loc == 0)
247
        {
248
          loc = CreateObject<ConstantPositionMobilityModel> ();
249
          rn->AggregateObject (loc);
250
        }
251
      Vector rnl (rrl.x + cos (theta) * xAdder, // Right node location
252
                   rrl.y + sin (theta) * xAdder, 0);
253
      // Insure did not exceed bounding box
254
      if (rnl.y < uly) 
255
        {
256
          rnl.y = uly; // Set to upper right y
257
        }
258
      if (rnl.y > lry) 
259
        {
260
          rnl.y = lry; // Set to lower right y
261
        }
262
      loc->SetPosition (rnl);
263
      theta += thetaR;
264
    }
265
}
266
  
267
} // namespace ns3
(-)e9ca5b2838e7 (+160 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
 * Author: George F. Riley<riley@ece.gatech.edu>
17
 */
18
19
// Define an object to create a dumbbell topology.
20
21
#ifndef POINT_TO_POINT_DUMBBELL_HELPER_H
22
#define POINT_TO_POINT_DUMBBELL_HELPER_H
23
24
#include <string>
25
26
#include "point-to-point-helper.h"
27
#include "ipv4-address-helper.h"
28
#include "internet-stack-helper.h"
29
#include "ipv4-interface-container.h"
30
31
namespace ns3 {
32
  
33
/**
34
 * \brief A helper to make it easier to create a dumbbell topology
35
 * with p2p links
36
 */
37
class PointToPointDumbbellHelper
38
{
39
public:
40
  /**
41
   * Create a PointToPointDumbbellHelper in order to easily create
42
   * dumbbell topologies using p2p links
43
   *
44
   * \param nLeftLeaf number of left side leaf nodes in the dumbbell
45
   *
46
   * \param leftHelper PointToPointHelper used to install the links 
47
   *                   between the left leaf nodes and the left-most 
48
   *                   router
49
   *
50
   * \param nRightLeaf number of right side leaf nodes in the dumbbell
51
   *
52
   * \param rightHelper PointToPointHelper used to install the links 
53
   *                    between the right leaf nodes and the right-most 
54
   *                    router
55
   *
56
   * \param bottleneckHelper PointToPointHelper used to install the link 
57
   *                         between the inner-routers, usually known as 
58
   *                         the bottleneck link
59
   */
60
  PointToPointDumbbellHelper (uint32_t nLeftLeaf,
61
                              PointToPointHelper leftHelper,
62
                              uint32_t nRightLeaf,
63
                              PointToPointHelper rightHelper,
64
                              PointToPointHelper bottleneckHelper);
65
66
  ~PointToPointDumbbellHelper ();
67
68
public:
69
  /**
70
   * \returns pointer to the node of the left side bottleneck
71
   *          router
72
   */
73
  Ptr<Node> GetLeft () const;
74
  
75
  /**
76
   * \returns pointer to the i'th left side leaf node
77
   */
78
  Ptr<Node> GetLeft (uint32_t i) const;
79
80
  /**
81
   * \returns pointer to the node of the right side bottleneck
82
   *          router
83
   */
84
  Ptr<Node> GetRight () const;
85
86
  /**
87
   * \returns pointer to the i'th left side leaf node
88
   */
89
  Ptr<Node> GetRight (uint32_t i) const;
90
91
  /**
92
   * \returns an Ipv4Address of the i'th left leaf
93
   */
94
  Ipv4Address GetLeftIpv4Address (uint32_t i ) const; // Get left leaf address
95
96
  /**
97
   * \returns an Ipv4Address of the i'th right leaf
98
   */
99
  Ipv4Address GetRightIpv4Address (uint32_t i) const; // Get right leaf address
100
101
  /**
102
   * \returns total number of left side leaf nodes
103
   */
104
  uint32_t  LeftCount () const;
105
106
  /**
107
   * \returns total number of right side leaf nodes
108
   */
109
  uint32_t  RightCount () const;
110
111
  /**
112
   * \param stack an InternetStackHelper which is used to install 
113
   *              on every node in the dumbbell
114
   */
115
  void      InstallStack (InternetStackHelper stack);
116
117
  /**
118
   * \param leftIp Ipv4AddressHelper to assign Ipv4 addresses to the
119
   *               interfaces on the left side of the dumbbell
120
   *
121
   * \param rightIp Ipv4AddressHelper to assign Ipv4 addresses to the
122
   *                interfaces on the right side of the dumbbell
123
   *
124
   * \param routerIp Ipv4AddressHelper to assign Ipv4 addresses to the 
125
   *                 interfaces on the bottleneck link
126
   */
127
  void      AssignIpv4Addresses (Ipv4AddressHelper leftIp,
128
                                 Ipv4AddressHelper rightIp,
129
                                 Ipv4AddressHelper routerIp);
130
131
  /**
132
   * Sets up the node canvas locations for every node in the dumbbell.
133
   * This is needed for use with the animation interface
134
   *
135
   * \param ulx upper left x value
136
   * \param uly upper left y value
137
   * \param lrx lower right x value
138
   * \param lry lower right y value
139
   */
140
  void      BoundingBox (double ulx, double uly, double lrx, double lry);
141
  
142
private:
143
  NodeContainer          m_leftLeaf;
144
  NetDeviceContainer     m_leftLeafDevices;
145
  NodeContainer          m_rightLeaf;
146
  NetDeviceContainer     m_rightLeafDevices;
147
  NodeContainer          m_routers;
148
  NetDeviceContainer     m_routerDevices; // just two connecting the routers
149
  NetDeviceContainer     m_leftRouterDevices;
150
  NetDeviceContainer     m_rightRouterDevices;
151
  Ipv4InterfaceContainer m_leftLeafInterfaces;
152
  Ipv4InterfaceContainer m_leftRouterInterfaces;
153
  Ipv4InterfaceContainer m_rightLeafInterfaces;
154
  Ipv4InterfaceContainer m_rightRouterInterfaces;
155
  Ipv4InterfaceContainer m_routerInterfaces;
156
};
157
158
} // namespace ns3
159
160
#endif /* POINT_TO_POINT_DUMBBELL_HELPER_H */
(-)e9ca5b2838e7 (+216 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
 * Author: Josh Pelkey <jpelkey@gatech.edu>
17
 */
18
19
#include "ns3/point-to-point-grid.h"
20
#include "ns3/animation-interface.h"
21
#include "ns3/internet-stack-helper.h"
22
#include "ns3/point-to-point-helper.h"
23
#include "ns3/constant-position-mobility-model.h"
24
#include "ns3/string.h"
25
#include "ns3/vector.h"
26
#include "ns3/log.h"
27
28
NS_LOG_COMPONENT_DEFINE("PointToPointGridHelper");
29
30
namespace ns3 {
31
  
32
PointToPointGridHelper::PointToPointGridHelper (uint32_t nRows, 
33
                                                uint32_t nCols, 
34
                                                PointToPointHelper pointToPoint)
35
  : m_xSize (nCols), m_ySize (nRows)
36
{
37
  // Bounds check
38
  if (m_xSize < 1 || m_ySize < 1 || (m_xSize < 2 && m_ySize < 2))
39
    {
40
      NS_FATAL_ERROR ("Need more nodes for grid.");
41
    }
42
43
  InternetStackHelper stack;
44
45
  for (uint32_t y = 0; y < nRows; ++y)
46
  {
47
    NodeContainer rowNodes;
48
    NetDeviceContainer rowDevices;
49
    NetDeviceContainer colDevices;
50
51
    for (uint32_t x = 0; x < nCols; ++x)
52
    {
53
      rowNodes.Create (1);
54
55
      // install p2p links across the row
56
      if (x > 0)
57
      {
58
        rowDevices.Add (pointToPoint.
59
            Install (rowNodes.Get (x-1), rowNodes.Get (x)));
60
      }
61
62
      // install vertical p2p links
63
      if (y > 0)
64
      {
65
        colDevices.Add(pointToPoint.
66
                      Install ((m_nodes.at (y-1)).Get (x), rowNodes.Get (x)));
67
      }
68
    }
69
70
    m_nodes.push_back (rowNodes);
71
    m_rowDevices.push_back (rowDevices);
72
73
    if (y > 0)
74
      m_colDevices.push_back (colDevices);
75
  }
76
}
77
78
PointToPointGridHelper::~PointToPointGridHelper ()
79
{}
80
81
void
82
PointToPointGridHelper::InstallStack (InternetStackHelper stack)
83
{
84
  for (uint32_t i = 0; i < m_nodes.size (); ++i)
85
    {
86
      NodeContainer rowNodes = m_nodes[i];
87
      for (uint32_t j = 0; j < rowNodes.GetN (); ++j)
88
        {
89
          stack.Install (rowNodes.Get (j));
90
        }
91
    }
92
}
93
94
void
95
PointToPointGridHelper::AssignIpv4Addresses (Ipv4AddressHelper rowIp, Ipv4AddressHelper colIp)
96
{
97
  // Assign addresses to all row devices in the grid.
98
  // These devices are stored in a vector.  Each row 
99
  // of the grid has all the row devices in one entry 
100
  // of the vector.  These entries come in pairs.
101
  for (uint32_t i = 0; i < m_rowDevices.size (); ++i)
102
    {
103
      Ipv4InterfaceContainer rowInterfaces; 
104
      NetDeviceContainer rowContainer = m_rowDevices[i];
105
      for (uint32_t j = 0; j < rowContainer.GetN (); j+=2)
106
        {
107
          rowInterfaces.Add (rowIp.Assign (rowContainer.Get (j))); 
108
          rowInterfaces.Add (rowIp.Assign (rowContainer.Get (j+1)));
109
          rowIp.NewNetwork ();
110
        }
111
      m_rowInterfaces.push_back (rowInterfaces);
112
    }
113
114
  // Assign addresses to all col devices in the grid.
115
  // These devices are stored in a vector.  Each col 
116
  // of the grid has all the col devices in one entry 
117
  // of the vector.  These entries come in pairs.
118
  for (uint32_t i = 0; i < m_colDevices.size (); ++i)
119
    {
120
      Ipv4InterfaceContainer colInterfaces; 
121
      NetDeviceContainer colContainer = m_colDevices[i];
122
      for (uint32_t j = 0; j < colContainer.GetN (); j+=2)
123
        {
124
          colInterfaces.Add (colIp.Assign (colContainer.Get (j))); 
125
          colInterfaces.Add (colIp.Assign (colContainer.Get (j+1)));
126
          colIp.NewNetwork ();
127
        }
128
      m_colInterfaces.push_back (colInterfaces);
129
    }
130
}
131
132
void
133
PointToPointGridHelper::BoundingBox (double ulx, double uly,
134
                         double lrx, double lry)
135
{
136
  double xDist; 
137
  double yDist; 
138
  if (lrx > ulx)
139
    {
140
      xDist = lrx - ulx;
141
    }
142
  else
143
    {
144
      xDist = ulx - lrx;
145
    }
146
  if (lry > uly)
147
    {
148
      yDist = lry - uly;
149
    }
150
  else
151
    {
152
      yDist = uly - lry;
153
    }
154
  double xAdder = xDist / m_xSize;
155
  double yAdder = yDist / m_ySize;
156
  double yLoc = yDist / 2;
157
  for (uint32_t i = 0; i < m_ySize; ++i)
158
  {
159
    double xLoc = xDist / 2;
160
    for (uint32_t j = 0; j < m_xSize; ++j)
161
    {
162
      Ptr<Node> node = GetNode (i, j);
163
      Ptr<ConstantPositionMobilityModel> loc = node->GetObject<ConstantPositionMobilityModel> ();
164
      if (loc ==0)
165
      {
166
        loc = CreateObject<ConstantPositionMobilityModel> ();
167
        node->AggregateObject (loc);
168
      }
169
      Vector locVec (xLoc, yLoc, 0);
170
      loc->SetPosition (locVec);
171
172
      xLoc += xAdder;
173
    }
174
    yLoc += yAdder;
175
  }
176
}
177
178
Ptr<Node> 
179
PointToPointGridHelper::GetNode (uint32_t row, uint32_t col)
180
{
181
  if (row > m_nodes.size () - 1 || 
182
      col > m_nodes.at (row).GetN () - 1) 
183
    {
184
       NS_FATAL_ERROR ("Index out of bounds in PointToPointGridHelper::GetNode.");
185
    }
186
187
  return (m_nodes.at (row)).Get (col);
188
}
189
190
Ipv4Address
191
PointToPointGridHelper::GetIpv4Address (uint32_t row, uint32_t col)
192
{
193
  if (row > m_nodes.size () - 1 || 
194
      col > m_nodes.at (row).GetN () - 1) 
195
    {
196
       NS_FATAL_ERROR ("Index out of bounds in PointToPointGridHelper::GetIpv4Address.");
197
    }
198
199
  // Right now this just gets one of the addresses of the
200
  // specified node.  The exact device can't be specified.
201
  // If you picture the grid, the address returned is the 
202
  // address of the left (row) device of all nodes, with 
203
  // the exception of the left-most nodes in the grid; 
204
  // in which case the right (row) device address is 
205
  // returned
206
  if (col == 0)
207
  {
208
    return (m_rowInterfaces.at (row)).GetAddress (0);
209
  }
210
  else
211
  {
212
    return (m_rowInterfaces.at (row)).GetAddress ((2*col)-1);
213
  }
214
}
215
216
} // namespace ns3
(-)e9ca5b2838e7 (+125 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
 * Author: Josh Pelkey <jpelkey@gatech.edu>
17
 */
18
19
#ifndef POINT_TO_POINT_GRID_HELPER_H
20
#define POINT_TO_POINT_GRID_HELPER_H
21
22
#include <vector>
23
24
#include "internet-stack-helper.h"
25
#include "point-to-point-helper.h"
26
#include "ipv4-address-helper.h"
27
#include "ipv4-interface-container.h"
28
#include "net-device-container.h"
29
30
namespace ns3 {
31
  
32
/**
33
 * \brief A helper to make it easier to create a grid topology
34
 * with p2p links
35
 */
36
class PointToPointGridHelper 
37
{
38
public: 
39
  /**
40
   * Create a PointToPointGridHelper in order to easily create
41
   * grid topologies using p2p links
42
   *
43
   * \param nRows total number of rows in the grid
44
   *
45
   * \param nCols total number of colums in the grid
46
   *
47
   * \param pointToPoint the PointToPointHelper which is used 
48
   *                     to connect all of the nodes together 
49
   *                     in the grid
50
   */
51
  PointToPointGridHelper (uint32_t nRows, 
52
                          uint32_t nCols, 
53
                          PointToPointHelper pointToPoint);
54
55
  ~PointToPointGridHelper ();
56
57
  /**
58
   * \param row the row address of the node desired
59
   *
60
   * \param col the column address of the node desired
61
   *
62
   * \returns a pointer to the node specified by the 
63
   *          (row, col) address
64
   */
65
  Ptr<Node> GetNode (uint32_t row, uint32_t col);
66
67
  /**
68
   * This returns an Ipv4 address at the node specified by 
69
   * the (row, col) address.  Technically, a node will have 
70
   * multiple interfaces in the grid; therefore, it also has 
71
   * multiple Ipv4 addresses.  This method only returns one of 
72
   * the addresses. If you picture the grid, the address returned 
73
   * is the left row device of all the nodes, except the left-most 
74
   * grid nodes, which returns the right row device.
75
   *
76
   * \param row the row address of the node desired
77
   *
78
   * \param col the column address of the node desired
79
   *
80
   * \returns Ipv4Address of one of the interfaces of the node 
81
   *          specified by the (row, col) address
82
   */
83
  Ipv4Address GetIpv4Address (uint32_t row, uint32_t col);
84
85
  /**
86
   * \param stack an InternetStackHelper which is used to install 
87
   *              on every node in the grid
88
   */
89
  void InstallStack (InternetStackHelper stack);
90
91
  /**
92
   * Assigns Ipv4 addresses to all the row and column interfaces
93
   *
94
   * \param rowIp the Ipv4AddressHelper used to assign Ipv4 addresses 
95
   *              to all of the row interfaces in the grid
96
   *
97
   * \param colIp the Ipv4AddressHelper used to assign Ipv4 addresses 
98
   *              to all of the row interfaces in the grid
99
   */
100
  void AssignIpv4Addresses (Ipv4AddressHelper rowIp, Ipv4AddressHelper colIp);
101
102
  /**
103
   * Sets up the node canvas locations for every node in the grid.
104
   * This is needed for use with the animation interface
105
   *
106
   * \param ulx upper left x value
107
   * \param uly upper left y value
108
   * \param lrx lower right x value
109
   * \param lry lower right y value
110
   */
111
  void BoundingBox (double ulx, double uly, double lrx, double lry);
112
113
private:
114
  uint32_t m_xSize;
115
  uint32_t m_ySize;
116
  std::vector<NetDeviceContainer> m_rowDevices;
117
  std::vector<NetDeviceContainer> m_colDevices;
118
  std::vector<Ipv4InterfaceContainer> m_rowInterfaces;
119
  std::vector<Ipv4InterfaceContainer> m_colInterfaces;
120
  std::vector<NodeContainer> m_nodes;
121
};
122
123
} // namespace ns3
124
      
125
#endif /* POINT_TO_POINT_GRID_HELPER_H */
(-)e9ca5b2838e7 (+159 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/point-to-point-star.h"
23
#include "ns3/constant-position-mobility-model.h"
24
25
#include "ns3/node-list.h"
26
#include "ns3/point-to-point-net-device.h"
27
#include "ns3/vector.h"
28
29
NS_LOG_COMPONENT_DEFINE("PointToPointStarHelper");
30
31
namespace ns3 {
32
  
33
PointToPointStarHelper::PointToPointStarHelper (uint32_t numSpokes,
34
                   PointToPointHelper p2pHelper)
35
{
36
  m_hub.Create (1);
37
  m_spokes.Create (numSpokes);
38
39
  for (uint32_t i = 0; i < m_spokes.GetN (); ++i)
40
    {
41
      NetDeviceContainer nd = p2pHelper.Install (m_hub.Get (0), m_spokes.Get (i));
42
      m_hubDevices.Add (nd.Get (0));
43
      m_spokeDevices.Add (nd.Get (1));
44
    }
45
}
46
47
PointToPointStarHelper::~PointToPointStarHelper ()
48
{}
49
50
Ptr<Node> 
51
PointToPointStarHelper::GetHub () const
52
{
53
  return m_hub.Get (0);
54
}
55
56
Ptr<Node> 
57
PointToPointStarHelper::GetSpokeNode (uint32_t i) const
58
{
59
  return m_spokes.Get (i);
60
}
61
62
Ipv4Address 
63
PointToPointStarHelper::GetHubIpv4Address (uint32_t i) const
64
{
65
  return m_hubInterfaces.GetAddress (i);
66
}
67
68
Ipv4Address 
69
PointToPointStarHelper::GetSpokeIpv4Address (uint32_t i) const
70
{
71
  return m_spokeInterfaces.GetAddress (i);
72
}
73
74
uint32_t  
75
PointToPointStarHelper::SpokeCount () const
76
{
77
  return m_spokes.GetN ();
78
}
79
80
void 
81
PointToPointStarHelper::InstallStack (InternetStackHelper stack)
82
{
83
  stack.Install (m_hub);
84
  stack.Install (m_spokes);
85
}
86
87
void 
88
PointToPointStarHelper::AssignIpv4Addresses (Ipv4AddressHelper address)
89
{
90
  for (uint32_t i = 0; i < m_spokes.GetN (); ++i)
91
    {
92
      m_hubInterfaces.Add (address.Assign (m_hubDevices.Get (i)));
93
      m_spokeInterfaces.Add (address.Assign (m_spokeDevices.Get (i)));
94
      address.NewNetwork ();
95
    }
96
}
97
98
void 
99
PointToPointStarHelper::BoundingBox (double ulx, double uly,
100
                                     double lrx, double lry)
101
{
102
  double xDist;
103
  double yDist;
104
  if (lrx > ulx)
105
    {
106
      xDist = lrx - ulx;
107
    }
108
  else
109
    {
110
      xDist = ulx - lrx;
111
    }
112
  if (lry > uly)
113
    {
114
      yDist = lry - uly;
115
    }
116
  else
117
    {
118
      yDist = uly - lry;
119
    }
120
121
  // Place the hub
122
  Ptr<Node> hub = m_hub.Get (0);
123
  Ptr<ConstantPositionMobilityModel> hubLoc =  hub->GetObject<ConstantPositionMobilityModel> ();
124
  if (hubLoc == 0)
125
    {
126
      hubLoc = CreateObject<ConstantPositionMobilityModel> ();
127
      hub->AggregateObject (hubLoc);
128
    }
129
  Vector hubVec (ulx + xDist/2.0, uly + yDist/2.0, 0);
130
  hubLoc->SetPosition (hubVec);
131
132
  double spokeDist;
133
  if (xDist > yDist)
134
    {
135
      spokeDist = yDist/4.0;
136
    }
137
  else
138
    {
139
      spokeDist = xDist/4.0;
140
    }
141
142
  double theta = 2*M_PI/m_spokes.GetN ();
143
  for (uint32_t i = 0; i < m_spokes.GetN (); ++i)
144
    {
145
      Ptr<Node> spokeNode = m_spokes.Get (i);
146
      Ptr<ConstantPositionMobilityModel> spokeLoc = spokeNode->GetObject<ConstantPositionMobilityModel> ();
147
      if (spokeLoc == 0)
148
        {
149
          spokeLoc = CreateObject<ConstantPositionMobilityModel> ();
150
          spokeNode->AggregateObject (spokeLoc);
151
        }
152
        Vector spokeVec (hubVec.x + cos (theta*i) * spokeDist, 
153
                         hubVec.y + sin (theta*i) * spokeDist,
154
                         0);
155
        spokeLoc->SetPosition (spokeVec);
156
    }
157
}
158
159
} // namespace ns3
(-)e9ca5b2838e7 (+122 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 POINT_TO_POINT_STAR_HELPER_H
20
#define POINT_TO_POINT_STAR_HELPER_H
21
22
#include <string>
23
24
#include "point-to-point-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 PointToPoint links
34
 */
35
class PointToPointStarHelper
36
{
37
public:
38
  /**
39
   * Create a PointToPointStarHelper in order to easily create
40
   * star topologies using p2p 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 p2pHelper the link helper for p2p links, 
47
   *        used to link nodes together
48
   */
49
  PointToPointStarHelper (uint32_t numSpokes, 
50
                          PointToPointHelper p2pHelper);
51
52
  ~PointToPointStarHelper ();
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
   * \param i index into the hub interfaces
70
   *
71
   * \returns Ipv4Address according to indexed hub interface
72
   */
73
  Ipv4Address GetHubIpv4Address (uint32_t i) const;
74
75
  /**
76
   * \param i index into the spoke interfaces
77
   *
78
   * \returns Ipv4Address according to indexed spoke interface
79
   */
80
  Ipv4Address GetSpokeIpv4Address (uint32_t i) const;
81
82
  /**
83
   * \returns the total number of spokes in the star
84
   */
85
  uint32_t SpokeCount () const;
86
87
  /**
88
   * \param stack an InternetStackHelper which is used to install 
89
   *              on every node in the star
90
   */
91
  void InstallStack (InternetStackHelper stack);
92
93
  /**
94
   * \param address an Ipv4AddressHelper which is used to install 
95
   *                Ipv4 addresses on all the node interfaces in 
96
   *                the star
97
   */
98
  void AssignIpv4Addresses (Ipv4AddressHelper address);
99
100
  /**
101
   * Sets up the node canvas locations for every node in the star. 
102
   * This is needed for use with the animation interface
103
   *
104
   * \param ulx upper left x value
105
   * \param uly upper left y value
106
   * \param lrx lower right x value
107
   * \param lry lower right y value
108
   */
109
  void BoundingBox (double ulx, double uly, double lrx, double lry);
110
111
private:
112
  NodeContainer m_hub;
113
  NetDeviceContainer m_hubDevices;
114
  NodeContainer m_spokes;
115
  NetDeviceContainer m_spokeDevices;
116
  Ipv4InterfaceContainer m_hubInterfaces;
117
  Ipv4InterfaceContainer m_spokeInterfaces;
118
};
119
120
} // namespace ns3
121
122
#endif /* POINT_TO_POINT_STAR_HELPER_H */
(-)e9ca5b2838e7 (+1 lines)
Added Link Here 
1
exec "`dirname "$0"`"/../../waf "$@"
(-)e9ca5b2838e7 (+23 lines)
Added Link Here 
1
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
2
3
def build(bld):
4
    module = bld.create_ns3_module('point-to-point-layout', ['internet', 'point-to-point', 'mobility'])
5
    module.includes = '.'
6
    module.source = [
7
        'model/point-to-point-dumbbell.cc',
8
        'model/point-to-point-grid.cc',
9
        'model/point-to-point-star.cc',
10
        ]
11
12
    headers = bld.new_task_gen('ns3header')
13
    headers.module = 'point-to-point-layout'
14
    headers.source = [
15
        'model/point-to-point-dumbbell.h',
16
        'model/point-to-point-grid.h',
17
        'model/point-to-point-star.h',
18
        ]
19
20
    bld.ns3_python_bindings()
21
22
23
(-)a/src/spectrum/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::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
3
    ['void', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
5
    ['void', 'ns3::Ptr<ns3::Packet const>', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
4
    ['void', 'ns3::Ptr<ns3::Packet const>', '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::NetDevice>', 'ns3::Ptr<ns3::Packet const>', 'unsigned short', 'ns3::Address const&', 'ns3::Address const&', 'ns3::NetDevice::PacketType', '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'],
(-)a/src/spectrum/bindings/modulegen__gcc_ILP32.py (-3 / +3 lines)
 Lines 357-365    Link Here 
357
    typehandlers.add_type_alias('std::vector< ns3::BandInfo, std::allocator< ns3::BandInfo > >', 'ns3::Bands')
357
    typehandlers.add_type_alias('std::vector< ns3::BandInfo, std::allocator< ns3::BandInfo > >', 'ns3::Bands')
358
    typehandlers.add_type_alias('std::vector< ns3::BandInfo, std::allocator< ns3::BandInfo > >*', 'ns3::Bands*')
358
    typehandlers.add_type_alias('std::vector< ns3::BandInfo, std::allocator< ns3::BandInfo > >*', 'ns3::Bands*')
359
    typehandlers.add_type_alias('std::vector< ns3::BandInfo, std::allocator< ns3::BandInfo > >&', 'ns3::Bands&')
359
    typehandlers.add_type_alias('std::vector< ns3::BandInfo, std::allocator< ns3::BandInfo > >&', 'ns3::Bands&')
360
    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')
361
    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*')
362
    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&')
363
    typehandlers.add_type_alias('void ( * ) ( std::ostream & ) *', 'ns3::LogTimePrinter')
360
    typehandlers.add_type_alias('void ( * ) ( std::ostream & ) *', 'ns3::LogTimePrinter')
364
    typehandlers.add_type_alias('void ( * ) ( std::ostream & ) **', 'ns3::LogTimePrinter*')
361
    typehandlers.add_type_alias('void ( * ) ( std::ostream & ) **', 'ns3::LogTimePrinter*')
365
    typehandlers.add_type_alias('void ( * ) ( std::ostream & ) *&', 'ns3::LogTimePrinter&')
362
    typehandlers.add_type_alias('void ( * ) ( std::ostream & ) *&', 'ns3::LogTimePrinter&')
 Lines 396-401    Link Here 
396
    typehandlers.add_type_alias('std::vector< double, std::allocator< double > >', 'ns3::Values')
393
    typehandlers.add_type_alias('std::vector< double, std::allocator< double > >', 'ns3::Values')
397
    typehandlers.add_type_alias('std::vector< double, std::allocator< double > >*', 'ns3::Values*')
394
    typehandlers.add_type_alias('std::vector< double, std::allocator< double > >*', 'ns3::Values*')
398
    typehandlers.add_type_alias('std::vector< double, std::allocator< double > >&', 'ns3::Values&')
395
    typehandlers.add_type_alias('std::vector< double, std::allocator< double > >&', 'ns3::Values&')
396
    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')
397
    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*')
398
    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&')
399
    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')
399
    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')
400
    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*')
400
    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*')
401
    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&')
401
    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/spectrum/bindings/modulegen__gcc_LP64.py (-3 / +3 lines)
 Lines 357-365    Link Here 
357
    typehandlers.add_type_alias('std::vector< ns3::BandInfo, std::allocator< ns3::BandInfo > >', 'ns3::Bands')
357
    typehandlers.add_type_alias('std::vector< ns3::BandInfo, std::allocator< ns3::BandInfo > >', 'ns3::Bands')
358
    typehandlers.add_type_alias('std::vector< ns3::BandInfo, std::allocator< ns3::BandInfo > >*', 'ns3::Bands*')
358
    typehandlers.add_type_alias('std::vector< ns3::BandInfo, std::allocator< ns3::BandInfo > >*', 'ns3::Bands*')
359
    typehandlers.add_type_alias('std::vector< ns3::BandInfo, std::allocator< ns3::BandInfo > >&', 'ns3::Bands&')
359
    typehandlers.add_type_alias('std::vector< ns3::BandInfo, std::allocator< ns3::BandInfo > >&', 'ns3::Bands&')
360
    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')
361
    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*')
362
    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&')
363
    typehandlers.add_type_alias('void ( * ) ( std::ostream & ) *', 'ns3::LogTimePrinter')
360
    typehandlers.add_type_alias('void ( * ) ( std::ostream & ) *', 'ns3::LogTimePrinter')
364
    typehandlers.add_type_alias('void ( * ) ( std::ostream & ) **', 'ns3::LogTimePrinter*')
361
    typehandlers.add_type_alias('void ( * ) ( std::ostream & ) **', 'ns3::LogTimePrinter*')
365
    typehandlers.add_type_alias('void ( * ) ( std::ostream & ) *&', 'ns3::LogTimePrinter&')
362
    typehandlers.add_type_alias('void ( * ) ( std::ostream & ) *&', 'ns3::LogTimePrinter&')
 Lines 396-401    Link Here 
396
    typehandlers.add_type_alias('std::vector< double, std::allocator< double > >', 'ns3::Values')
393
    typehandlers.add_type_alias('std::vector< double, std::allocator< double > >', 'ns3::Values')
397
    typehandlers.add_type_alias('std::vector< double, std::allocator< double > >*', 'ns3::Values*')
394
    typehandlers.add_type_alias('std::vector< double, std::allocator< double > >*', 'ns3::Values*')
398
    typehandlers.add_type_alias('std::vector< double, std::allocator< double > >&', 'ns3::Values&')
395
    typehandlers.add_type_alias('std::vector< double, std::allocator< double > >&', 'ns3::Values&')
396
    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')
397
    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*')
398
    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&')
399
    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')
399
    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')
400
    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*')
400
    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*')
401
    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&')
401
    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/stats/bindings/modulegen__gcc_ILP32.py (-3 / +3 lines)
 Lines 210-221    Link Here 
210
    module.add_class('CounterCalculator', template_parameters=['unsigned int'], parent=root_module['ns3::DataCalculator'])
210
    module.add_class('CounterCalculator', template_parameters=['unsigned int'], parent=root_module['ns3::DataCalculator'])
211
    ## packet-data-calculators.h (module 'stats'): ns3::PacketCounterCalculator [class]
211
    ## packet-data-calculators.h (module 'stats'): ns3::PacketCounterCalculator [class]
212
    module.add_class('PacketCounterCalculator', parent=root_module['ns3::CounterCalculator< unsigned int >'])
212
    module.add_class('PacketCounterCalculator', parent=root_module['ns3::CounterCalculator< unsigned int >'])
213
    typehandlers.add_type_alias('std::list< std::pair< std::string, std::string >, std::allocator< std::pair< std::string, std::string > > >', 'ns3::MetadataList')
214
    typehandlers.add_type_alias('std::list< std::pair< std::string, std::string >, std::allocator< std::pair< std::string, std::string > > >*', 'ns3::MetadataList*')
215
    typehandlers.add_type_alias('std::list< std::pair< std::string, std::string >, std::allocator< std::pair< std::string, std::string > > >&', 'ns3::MetadataList&')
213
    typehandlers.add_type_alias('std::list< ns3::Ptr< ns3::DataCalculator >, std::allocator< ns3::Ptr< ns3::DataCalculator > > >', 'ns3::DataCalculatorList')
216
    typehandlers.add_type_alias('std::list< ns3::Ptr< ns3::DataCalculator >, std::allocator< ns3::Ptr< ns3::DataCalculator > > >', 'ns3::DataCalculatorList')
214
    typehandlers.add_type_alias('std::list< ns3::Ptr< ns3::DataCalculator >, std::allocator< ns3::Ptr< ns3::DataCalculator > > >*', 'ns3::DataCalculatorList*')
217
    typehandlers.add_type_alias('std::list< ns3::Ptr< ns3::DataCalculator >, std::allocator< ns3::Ptr< ns3::DataCalculator > > >*', 'ns3::DataCalculatorList*')
215
    typehandlers.add_type_alias('std::list< ns3::Ptr< ns3::DataCalculator >, std::allocator< ns3::Ptr< ns3::DataCalculator > > >&', 'ns3::DataCalculatorList&')
218
    typehandlers.add_type_alias('std::list< ns3::Ptr< ns3::DataCalculator >, std::allocator< ns3::Ptr< ns3::DataCalculator > > >&', 'ns3::DataCalculatorList&')
216
    typehandlers.add_type_alias('std::list< std::pair< std::string, std::string >, std::allocator< std::pair< std::string, std::string > > >', 'ns3::MetadataList')
217
    typehandlers.add_type_alias('std::list< std::pair< std::string, std::string >, std::allocator< std::pair< std::string, std::string > > >*', 'ns3::MetadataList*')
218
    typehandlers.add_type_alias('std::list< std::pair< std::string, std::string >, std::allocator< std::pair< std::string, std::string > > >&', 'ns3::MetadataList&')
219
    
219
    
220
    ## Register a nested module for the namespace FatalImpl
220
    ## Register a nested module for the namespace FatalImpl
221
    
221
    
(-)a/src/stats/bindings/modulegen__gcc_LP64.py (-3 / +3 lines)
 Lines 210-221    Link Here 
210
    module.add_class('CounterCalculator', template_parameters=['unsigned int'], parent=root_module['ns3::DataCalculator'])
210
    module.add_class('CounterCalculator', template_parameters=['unsigned int'], parent=root_module['ns3::DataCalculator'])
211
    ## packet-data-calculators.h (module 'stats'): ns3::PacketCounterCalculator [class]
211
    ## packet-data-calculators.h (module 'stats'): ns3::PacketCounterCalculator [class]
212
    module.add_class('PacketCounterCalculator', parent=root_module['ns3::CounterCalculator< unsigned int >'])
212
    module.add_class('PacketCounterCalculator', parent=root_module['ns3::CounterCalculator< unsigned int >'])
213
    typehandlers.add_type_alias('std::list< std::pair< std::string, std::string >, std::allocator< std::pair< std::string, std::string > > >', 'ns3::MetadataList')
214
    typehandlers.add_type_alias('std::list< std::pair< std::string, std::string >, std::allocator< std::pair< std::string, std::string > > >*', 'ns3::MetadataList*')
215
    typehandlers.add_type_alias('std::list< std::pair< std::string, std::string >, std::allocator< std::pair< std::string, std::string > > >&', 'ns3::MetadataList&')
213
    typehandlers.add_type_alias('std::list< ns3::Ptr< ns3::DataCalculator >, std::allocator< ns3::Ptr< ns3::DataCalculator > > >', 'ns3::DataCalculatorList')
216
    typehandlers.add_type_alias('std::list< ns3::Ptr< ns3::DataCalculator >, std::allocator< ns3::Ptr< ns3::DataCalculator > > >', 'ns3::DataCalculatorList')
214
    typehandlers.add_type_alias('std::list< ns3::Ptr< ns3::DataCalculator >, std::allocator< ns3::Ptr< ns3::DataCalculator > > >*', 'ns3::DataCalculatorList*')
217
    typehandlers.add_type_alias('std::list< ns3::Ptr< ns3::DataCalculator >, std::allocator< ns3::Ptr< ns3::DataCalculator > > >*', 'ns3::DataCalculatorList*')
215
    typehandlers.add_type_alias('std::list< ns3::Ptr< ns3::DataCalculator >, std::allocator< ns3::Ptr< ns3::DataCalculator > > >&', 'ns3::DataCalculatorList&')
218
    typehandlers.add_type_alias('std::list< ns3::Ptr< ns3::DataCalculator >, std::allocator< ns3::Ptr< ns3::DataCalculator > > >&', 'ns3::DataCalculatorList&')
216
    typehandlers.add_type_alias('std::list< std::pair< std::string, std::string >, std::allocator< std::pair< std::string, std::string > > >', 'ns3::MetadataList')
217
    typehandlers.add_type_alias('std::list< std::pair< std::string, std::string >, std::allocator< std::pair< std::string, std::string > > >*', 'ns3::MetadataList*')
218
    typehandlers.add_type_alias('std::list< std::pair< std::string, std::string >, std::allocator< std::pair< std::string, std::string > > >&', 'ns3::MetadataList&')
219
    
219
    
220
    ## Register a nested module for the namespace FatalImpl
220
    ## Register a nested module for the namespace FatalImpl
221
    
221
    
(-)a/src/wimax/examples/wimax-multicast.cc (-5 / +2 lines)
 Lines 59-69    Link Here 
59
#include "ns3/csma-module.h"
59
#include "ns3/csma-module.h"
60
#include <iostream>
60
#include <iostream>
61
#include "ns3/global-route-manager.h"
61
#include "ns3/global-route-manager.h"
62
#include "ns3/constant-position-mobility-model.h"
62
#include "ns3/mobility-module.h"
63
#include "ns3/random-waypoint-mobility-model.h"
63
#include "ns3/internet-module.h"
64
#include "ns3/ipv4-static-routing-helper.h"
65
#include "ns3/ipv4-list-routing-helper.h"
66
67
#include "ns3/vector.h"
64
#include "ns3/vector.h"
68
65
69
NS_LOG_COMPONENT_DEFINE ("WimaxMulticastSimulation");
66
NS_LOG_COMPONENT_DEFINE ("WimaxMulticastSimulation");
(-)a/src/wscript (+2 lines)
 Lines 57-62    Link Here 
57
    'energy',
57
    'energy',
58
    'tools',
58
    'tools',
59
    'visualizer',
59
    'visualizer',
60
    'point-to-point-layout',
61
    'csma-layout',
60
    )
62
    )
61
63
62
def set_options(opt):
64
def set_options(opt):

Return to bug 1105