git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1132
270642c3-0616-0410-b53a-bc976706d245
///////////////////////////////////////////////////////////////////////////
//senf::console::DirectoryNode
+prefix_ senf::console::DirectoryNode::~DirectoryNode()
+{
+ ChildMap::iterator i (children_.begin());
+ ChildMap::iterator const i_end (children_.end());
+ for (; i != i_end; ++i)
+ i->second->parent_ = 0;
+}
+
prefix_ senf::console::GenericNode::ptr
senf::console::DirectoryNode::remove(std::string const & name)
{
static ptr create(); ///< Create node object.
/**< You should normally use either mkdir() or
ScopedDirectory instead of create() */
+ ~DirectoryNode();
///\}
///////////////////////////////////////////////////////////////////////////