X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Console%2FObjectDirectory.hh;h=1845a065edfcc8e7f87745bae5f4735e7618c36b;hb=9a782796586d1f6708e1baab64f2140c3c7972e8;hp=bb8008f10167f3b07212dc429c4452554f6b9164;hpb=2d5a1fd2cef2d84e16226a7336948f524fbb71c6;p=senf.git diff --git a/Console/ObjectDirectory.hh b/Console/ObjectDirectory.hh index bb8008f..1845a06 100644 --- a/Console/ObjectDirectory.hh +++ b/Console/ObjectDirectory.hh @@ -95,6 +95,8 @@ namespace console { itself with a null deleter. This allows to create weak_ptr's to the nodes which will automatically expire when the node is deleted (either statically or by the intrusive_ptr). + + \ingroup node_tree */ template class ObjectDirectory : public ObjectDirectoryBase @@ -127,6 +129,20 @@ namespace console { DirectoryNode & node() const; ///< Access the proxied DirectoryNode + /////////////////////////////////////////////////////////////////////////// + ///\name Proxied members (see DirectoryNode) + ///\{ + + GenericNode::ptr remove(std::string const & name); + DirectoryNode & operator[](std::string const & name) const; + CommandNode & operator()(std::string const & name) const; + GenericNode & get(std::string const & name) const; + DirectoryNode & mkdir(std::string const & name); + DirectoryNode::ChildrenRange children() const; + DirectoryNode & doc(std::string const & doc); + + ///\} + protected: private: