add NodeContainer::GetGlobal

This commit is contained in:
Mathieu Lacage committed 2008-03-24 10:41:44 -07:00
1 parent 29f19e164e
commit 4e5eab77e2
2 files changed
+19

No files matched your search

+7
View File
@@ -74,6 +74,13 @@ public:
*/
void Add (Ptr<Node> node);
/**
* \returns a container which contains a list of _all_ nodes
* created through NodeContainer::Create and stored
* in ns3::NodeList.
*/
static NodeContainer GetGlobal (void);
private:
std::vector<Ptr<Node> > m_nodes;
};