// $Id$
//
-// Copyright (C) 2008
+// Copyright (C) 2008
// Fraunhofer Institute for Open Communication Systems (FOKUS)
// Competence Center NETwork research (NET), St. Augustin, GERMANY
// Stefan Bund <g0dil@berlios.de>
#include "Node.hh"
#include "Node.ih"
-#include "../../Utils/range.hh"
// Custom includes
+#include <senf/Utils/Range.hh>
//#include "Node.mpp"
#define prefix_
output << "/\n";
dodump(output, level+1,static_cast<senf::console::DirectoryNode&>(*i->second));
}
- else if (i->second->isLink())
+ else if (i->second->isLink())
output << "@ -> " << i->second->followLink().path() << '\n';
else
output << '\n';
senf::console::DirectoryNode::remove(std::string const & name)
{
ChildMap::iterator i (children_.find(name));
- if (i == children_.end())
+ if (i == children_.end())
throw UnknownNodeNameException() << ": '" << name << "'";
GenericNode::ptr node (i->second);
children_.erase(i);
++suffix;
newName = node->name() + "-" + boost::lexical_cast<std::string>(suffix);
} while (children_.find(newName) != children_.end());
- SENF_LOG((senf::log::MESSAGE)("Uniquifying node '" << node->name() << "' to '"
+ SENF_LOG((senf::log::MESSAGE)("Uniquifying node '" << node->name() << "' to '"
<< newName << "'"));
node->name(newName);
}