X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Console%2FNode.cci;h=108902a2c963a65a7fddb08fd188b778dbf45725;hb=456ee576285b76aa46240f8001f426757810dcc1;hp=0193989b31695bd22ca88b07466b4c59f1210461;hpb=33525a7447ddd7b56b23cb12fd83a7e293db303e;p=senf.git diff --git a/Console/Node.cci b/Console/Node.cci index 0193989..108902a 100644 --- a/Console/Node.cci +++ b/Console/Node.cci @@ -23,7 +23,7 @@ /** \file \brief Node inline non-template implementation */ -//#include "Node.ih" +#include "Node.ih" // Custom includes #include "../Utils/senfassert.hh" @@ -84,6 +84,18 @@ prefix_ senf::console::GenericNode::cptr senf::console::GenericNode::thisptr() return shared_from_this(); } +prefix_ bool senf::console::GenericNode::operator==(GenericNode & other) + const +{ + return this == & other; +} + +prefix_ bool senf::console::GenericNode::operator!=(GenericNode & other) + const +{ + return this != & other; +} + /////////////////////////////////////////////////////////////////////////// // senf::console::DirectoryNode @@ -175,6 +187,15 @@ prefix_ senf::console::DirectoryNode::cptr senf::console::DirectoryNode::thisptr } /////////////////////////////////////////////////////////////////////////// +// senf::console::detail::NodeTraverser + +prefix_ senf::console::detail::NodeTraverser::NodeTraverser(DirectoryNode & root, + DirectoryNode & dir, + bool autocomplete) + : root_ (root), dir_ (dir.thisptr()), autocomplete_ (autocomplete), init_ (false) +{} + +/////////////////////////////////////////////////////////////////////////// // senf::console::SyntaxErrorException prefix_ senf::console::SyntaxErrorException::SyntaxErrorException(std::string const & msg)