rename NodeList::PeekNode to NodeList::GetNode

This commit is contained in:
Mathieu Lacage
2007-05-10 08:19:19 +02:00
parent e322d7f1df
commit f5451f5bce
4 changed files with 7 additions and 6 deletions

View File

@@ -145,9 +145,10 @@ NodeList::CreateTraceResolver (TraceContext const &context)
return SimulationSingleton<NodeListPriv>::Get ()->CreateTraceResolver (context);
}
Ptr<Node>
NodeList::PeekNode (uint32_t n)
NodeList::GetNode (uint32_t n)
{
return SimulationSingleton<NodeListPriv>::Get ()->PeekNode (n);
Node *node = SimulationSingleton<NodeListPriv>::Get ()->PeekNode (n);
return node;
}

View File

@@ -43,7 +43,7 @@ public:
static Iterator End (void);
static TraceResolver *CreateTraceResolver (TraceContext const &context);
static Ptr<Node> PeekNode (uint32_t n);
static Ptr<Node> GetNode (uint32_t n);
};
}//namespace ns3