Fixed a typo in the documentation. Had to change NodeList::Index to
authorEmmanuelle Laprise <emmanuelle.laprise@bluekazoo.ca>
Wed, 18 Jul 2007 09:27:22 -0500
changeset 941 7a81f1ef8c74
parent 940 24813ddb6d15
child 942 b65368bf40f9
Fixed a typo in the documentation. Had to change NodeList::Index to NodeList::NodeIndex
src/common/trace-root.h
--- a/src/common/trace-root.h	Wed Jul 18 09:11:48 2007 -0500
+++ b/src/common/trace-root.h	Wed Jul 18 09:27:22 2007 -0500
@@ -148,7 +148,7 @@
  * information on where the trace source is located in the namespace tree.
  * In that example, if there are multiple nodes in this scenario, each
  * call to the MyTraceSink function would receive a different TraceContext,
- * each of which would contain a different NodeList::Index object.
+ * each of which would contain a different NodeList::NodeIndex object.
  *
  * It is important to understand exactly what an ns3::TraceContext
  * is. It is a container for a number of type instances. Each instance of
@@ -164,7 +164,7 @@
  * \code
  * void MyTraceSink (TraceContext const &context, Packet &packet)
  * {
- *   NodeList::Index index;
+ *   NodeList::NodeIndex index;
  *   context.Get (index);
  *   std::cout << "node id=" << NodeList::GetNode (index)->GetId () << std::endl;
  * }