Bugzilla – Attachment #171: Add NodeList::GetNNodes() method. for bug #225
{
return NodeListPriv::Get ()->GetNode (n);
}
uint32_t
NodeList::GetNNodes(void)
return NodeListPriv::Get ()->GetNNodes();
}//namespace ns3
* \returns the Node associated to index n.
*/
static Ptr<Node> GetNode (uint32_t n);
/**
* \returns the number of nodes currently in the list.
static uint32_t GetNNodes(void);
};