X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FUtils%2FConsole%2FScopedDirectory.hh;h=c6038cfb54d408051f2f939d66c5e3e2d9bf0090;hb=57daeae6f2e924ce3f16f9677c3474f531cba9e5;hp=86f53346dbb59bdbc7d9f2f3fcba0e2b3d4adbdc;hpb=c92498e86ff9f107be25e9cf159c38f7122dbfc7;p=senf.git diff --git a/senf/Utils/Console/ScopedDirectory.hh b/senf/Utils/Console/ScopedDirectory.hh index 86f5334..c6038cf 100644 --- a/senf/Utils/Console/ScopedDirectory.hh +++ b/senf/Utils/Console/ScopedDirectory.hh @@ -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 @@ -33,7 +33,7 @@ #include "LazyDirectory.hh" // For ScopedDirectory template default arg //#include "ScopedDirectory.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace console { @@ -48,9 +48,9 @@ namespace console { DirectoryNode & node() const; ///< Access the proxied DirectoryNode operator DirectoryNode & () const; ///< Access the proxied DirectoryNode - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Proxied members (see DirectoryNode) - ///\{ + //\{ GenericNode::ptr remove(std::string const & name); bool hasChild(std::string const & name) const; @@ -70,7 +70,7 @@ namespace console { void help(std::ostream & output) const; std::string shorthelp() const; - ///\} + //\} protected: ScopedDirectoryBase(); @@ -94,9 +94,9 @@ namespace console { public: ScopedDirectory configDir; - MyClass() : configDir(this) + MyClass() : configDir(this) { - configDIr.add(...); + configDir.add(...); } }; \endcode @@ -118,19 +118,19 @@ namespace console { class ScopedDirectory : public ScopedDirectoryBase { public: - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // Types - + typedef Owner owner; - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// ///\name Structors and default members - ///@{ + //\{ explicit ScopedDirectory(Owner * owner); - ///@} - /////////////////////////////////////////////////////////////////////////// + //\} + //-//////////////////////////////////////////////////////////////////////// template NodeType & add(std::string const & name, boost::shared_ptr node); @@ -171,7 +171,7 @@ namespace console { }} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "ScopedDirectory.cci" //#include "ScopedDirectory.ct" #include "ScopedDirectory.cti"