diff --git a/Utils/Mainpage.dox b/Utils/Mainpage.dox index 3c0c53f7843e30692c0975cc30a9688e8a0d946b..fe6dd746948be35794f24b299ab47c3d403d2e0f 100644 --- a/Utils/Mainpage.dox +++ b/Utils/Mainpage.dox @@ -47,6 +47,8 @@ namespace senf { <tr><td>\ref boost_parameter</td><td>Utilities concerning the <a href="http://www.boost.org/doc/libs/1_33_1/libs/parameter/doc/html/index.html">Boost.Parameter</a> library</td></tr> + + <tr><td>\ref phoenix_helpers</td><td>Phoenix functors</td></tr> </table> @@ -108,6 +110,8 @@ namespace senf { <tr><td>\ref backtraces</td><td>Utilities to parse and format backtrace information as provided by the GNU libc</td></tr> + + <tr><td>signalName()</td><td>convert signal number to string representation</td></tr> </table> diff --git a/Utils/Phoenix.hh b/Utils/Phoenix.hh index c0e81e5bf4f2e2ead1d39867bc49d219ea279d38..5e043621528d2d7ec6da01813444848296c25088 100644 --- a/Utils/Phoenix.hh +++ b/Utils/Phoenix.hh @@ -33,10 +33,25 @@ #include "Phoenix.ih" ///////////////////////////////hh.p//////////////////////////////////////// +/** \defgroup phoenix_helpers Boost.Phoenix extensions */ + namespace senf { namespace phoenix { + + /** \brief \c push_back phoenix functor + + <tt>push_back(c, x) := c.push_back(x)</tt> + \ingroup phoenix_helpers + */ ::phoenix::function<detail::push_back> const push_back; + + /** \brief \c clear phoenix functor + + <tt>clear(c) := c.clear()</tt> + + \ingroup phoenix_helpers + */ ::phoenix::function<detail::clear> const clear; }} diff --git a/Utils/signalnames.hh b/Utils/signalnames.hh index d052e86b3b5c969e1ce25711b94fc33a166d847e..ecfbe4eee1cb306a41c238d76d085346229b8bb3 100644 --- a/Utils/signalnames.hh +++ b/Utils/signalnames.hh @@ -34,6 +34,7 @@ namespace senf { + /** \brief Convert signal number to signal name */ std::string const & signalName(int signal); }