Add 'unflatten' to doxygen/dot processing
[senf.git] / Utils / Console / Variables.hh
index 13fb787..4f93a93 100644 (file)
@@ -42,12 +42,15 @@ namespace console {
     class ScopedDirectoryBase;
     template <class Variable> class VariableAttributor;
 
+    
+
 #ifndef DOXYGEN
 
     template <class Variable>
     VariableAttributor<Variable> senf_console_add_node(
         DirectoryNode & node, std::string const & name, Variable & var, int,
         typename boost::disable_if< boost::is_convertible<Variable*, ScopedDirectoryBase*> >::type * = 0,
+        typename boost::disable_if< boost::is_convertible<Variable*, GenericNode*> >::type * = 0,
         typename boost::disable_if_c<detail::ParsedCommandTraits<Variable>::is_callable>::type * = 0);
 
     template <class Variable>
@@ -59,6 +62,7 @@ namespace console {
     VariableAttributor<Variable> senf_console_add_node(
         DirectoryNode & node, Owner & owner, std::string const & name, Variable & var, int,
         typename boost::disable_if< boost::is_convertible<Variable*, ScopedDirectoryBase*> >::type * = 0,
+        typename boost::disable_if< boost::is_convertible<Variable*, GenericNode*> >::type * = 0,
         typename boost::disable_if_c<detail::ParsedCommandTraits<Variable>::is_callable>::type * = 0);
 
     template <class Variable, class Owner>
@@ -82,6 +86,7 @@ namespace console {
         typedef ConstVariableAttributor return_type;
 
         ConstVariableAttributor doc(std::string const & doc);
+        ConstVariableAttributor shortdoc(std::string const & doc);
         ConstVariableAttributor formatter(Formatter formatter);
 
         OverloadedCommandNode & node() const; ///< Return the node object
@@ -141,6 +146,7 @@ namespace console {
         typedef typename ConstVariableAttributor<Variable>::QueryOverload QueryOverload;
 
         VariableAttributor doc(std::string const & doc); ///< Set documentation of the variable
+        VariableAttributor shortdoc(std::string const & doc); ///< Set short documentation
         VariableAttributor formatter(Formatter formatter); ///< Set formatter
         /**< The \a formatter must be a callable with a signature
              compatible with