equal
deleted
inserted
replaced
86 return &ptr; |
86 return &ptr; |
87 } |
87 } |
88 void |
88 void |
89 NodeListPriv::Delete (void) |
89 NodeListPriv::Delete (void) |
90 { |
90 { |
91 NS_LOG_FUNCTION; |
91 NS_LOG_FUNCTION_NOARGS (); |
92 Config::UnregisterRootNamespaceObject (Get ()); |
92 Config::UnregisterRootNamespaceObject (Get ()); |
93 (*DoGet ()) = 0; |
93 (*DoGet ()) = 0; |
94 } |
94 } |
95 |
95 |
96 |
96 |
97 NodeListPriv::NodeListPriv () |
97 NodeListPriv::NodeListPriv () |
98 { |
98 { |
99 NS_LOG_FUNCTION; |
99 NS_LOG_FUNCTION_NOARGS (); |
100 } |
100 } |
101 NodeListPriv::~NodeListPriv () |
101 NodeListPriv::~NodeListPriv () |
102 { |
102 { |
103 NS_LOG_FUNCTION; |
103 NS_LOG_FUNCTION_NOARGS (); |
104 for (std::vector<Ptr<Node> >::iterator i = m_nodes.begin (); |
104 for (std::vector<Ptr<Node> >::iterator i = m_nodes.begin (); |
105 i != m_nodes.end (); i++) |
105 i != m_nodes.end (); i++) |
106 { |
106 { |
107 Ptr<Node> node = *i; |
107 Ptr<Node> node = *i; |
108 node->Dispose (); |
108 node->Dispose (); |