Packets: extended description of bad_cast exception in Packet.as()
[senf.git] / senf / Utils / Console / Config.cc
index 66a7a19..1f3577c 100644 (file)
@@ -1,6 +1,6 @@
 // $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>
@@ -31,9 +31,9 @@
 
 //#include "Config.mpp"
 #define prefix_
-///////////////////////////////cc.p////////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
 
-///////////////////////////////////////////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
 // senf::console::detail::RestrictedExecutor
 
 prefix_ senf::console::detail::RestrictedExecutor::RestrictedExecutor(DirectoryNode & root)
@@ -109,7 +109,7 @@ senf::console::detail::RestrictedExecutor::insertParsedNode(DirectoryNode & node
     parsedNodes_.push_back(node.thisptr());
 }
 
-///////////////////////////////////////////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
 // senf::console::ConfigBundle
 
 prefix_ void senf::console::ConfigBundle::parse()
@@ -131,7 +131,7 @@ prefix_ void senf::console::ConfigBundle::parseInternal()
         (*i)->parse(executor_);
 }
 
-///////////////////////////////////////////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
 // senf::console::detail::RestrictedExecutor::RestrictGuard
 
 prefix_ senf::console::detail::RestrictedExecutor::RestrictGuard::
@@ -141,7 +141,7 @@ RestrictGuard(RestrictedExecutor & executor)
     // This MUST BE root() not chroot() since restriction does NOT follow symlinks.
     // Therefore, if chroot() is a directory of symlinks, restricting to it will
     // execute NOTHING.
-    executor_.restrict_ = senf::console::root().thisptr();
+    executor_.restrict_ = console::root().thisptr();
 }
 
 prefix_ senf::console::detail::RestrictedExecutor::RestrictGuard::
@@ -155,16 +155,16 @@ prefix_ senf::console::detail::RestrictedExecutor::RestrictGuard::~RestrictGuard
 {
     if (! std::uncaught_exception())
         executor_.insertParsedNode( *executor_.restrict_ );
-    executor_.restrict_ = senf::console::root().thisptr();
+    executor_.restrict_ = console::root().thisptr();
 }
 
-///////////////////////////////////////////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
 // senf::console::detail::ConfigSource
 
 prefix_ senf::console::detail::ConfigSource::~ConfigSource()
 {}
 
-///////////////////////////////cc.e////////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
 #undef prefix_
 //#include "Config.mpp"