X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2FConsole%2FVariables.hh;h=4f93a93fcd3bd3d9862a1877a0a21478d4cb9a40;hb=731a143df4de38d4c8b0a81121990951971cd858;hp=13fb7872d5f1d5104e31cd697fe170b8d442d1ee;hpb=958bdb52c39fa39f4ef91cafd9628bcb4f85a03c;p=senf.git diff --git a/Utils/Console/Variables.hh b/Utils/Console/Variables.hh index 13fb787..4f93a93 100644 --- a/Utils/Console/Variables.hh +++ b/Utils/Console/Variables.hh @@ -42,12 +42,15 @@ namespace console { class ScopedDirectoryBase; template class VariableAttributor; + + #ifndef DOXYGEN template VariableAttributor senf_console_add_node( DirectoryNode & node, std::string const & name, Variable & var, int, typename boost::disable_if< boost::is_convertible >::type * = 0, + typename boost::disable_if< boost::is_convertible >::type * = 0, typename boost::disable_if_c::is_callable>::type * = 0); template @@ -59,6 +62,7 @@ namespace console { VariableAttributor senf_console_add_node( DirectoryNode & node, Owner & owner, std::string const & name, Variable & var, int, typename boost::disable_if< boost::is_convertible >::type * = 0, + typename boost::disable_if< boost::is_convertible >::type * = 0, typename boost::disable_if_c::is_callable>::type * = 0); template @@ -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::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