X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FUtils%2FConsole%2FConfig.cci;h=77c9c9ad4729baac69a8b57ede8ad7a7c6863c1e;hb=5b2e9a63a43027c71ac470ac9bdecb72e8974951;hp=b9f2c7504f2194159184b694908a3db79e81f56e;hpb=26610f603ebdd465307b9621f532c1fe19fd5571;p=senf.git diff --git a/senf/Utils/Console/Config.cci b/senf/Utils/Console/Config.cci index b9f2c75..77c9c9a 100644 --- a/senf/Utils/Console/Config.cci +++ b/senf/Utils/Console/Config.cci @@ -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 @@ -26,19 +26,18 @@ #include "Config.ih" // Custom includes -#include #define prefix_ inline -///////////////////////////////cci.p/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::detail::RestrictedExecutor prefix_ bool senf::console::detail::RestrictedExecutor::complete() const { - return parsedNodes_.size() == 1 - && ! parsedNodes_[0].expired() + return parsedNodes_.size() == 1 + && ! parsedNodes_[0].expired() && *parsedNodes_[0].lock() == executor_.chroot(); } @@ -63,7 +62,7 @@ prefix_ std::ostream & senf::console::detail::RestrictedExecutor::stream() return stream_; } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::ConfigBundle prefix_ senf::console::ConfigBundle::ConfigBundle() @@ -101,7 +100,7 @@ prefix_ void senf::console::ConfigBundle::chroot(DirectoryNode & node) executor_.chroot(node); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::detail::ConfigSource prefix_ void senf::console::detail::ConfigSource::parse(RestrictedExecutor & executor) @@ -109,7 +108,7 @@ prefix_ void senf::console::detail::ConfigSource::parse(RestrictedExecutor & exe v_parse(executor); } -/////////////////////////////////////////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// // senf::console::detail::BundleMixin prefix_ senf::console::detail::BundleMixin::BundleMixin() @@ -146,7 +145,7 @@ prefix_ void senf::console::detail::BundleMixin::reset() bundle_.reset(); } -///////////////////////////////cci.e/////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_