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

(-)a/src/node/node-list.cc (+5 lines)
 Lines 172-176   NodeList::GetNode (uint32_t n) Link Here 
172
{
172
{
173
  return NodeListPriv::Get ()->GetNode (n);
173
  return NodeListPriv::Get ()->GetNode (n);
174
}
174
}
175
uint32_t
176
NodeList::GetNNodes(void)
177
{
178
  return NodeListPriv::Get ()->GetNNodes();
179
}
175
180
176
}//namespace ns3
181
}//namespace ns3
(-)a/src/node/node-list.h (+5 lines)
 Lines 65-70   public: Link Here 
65
   * \returns the Node associated to index n.
65
   * \returns the Node associated to index n.
66
   */
66
   */
67
  static Ptr<Node> GetNode (uint32_t n);
67
  static Ptr<Node> GetNode (uint32_t n);
68
  /**
69
   * \returns the number of nodes currently in the list.
70
   */
71
  static uint32_t GetNNodes(void);
72
68
};
73
};
69
74
70
}//namespace ns3
75
}//namespace ns3

Return to bug 225