X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FUtils%2FStatistics.hh;h=4a29c8c02602fbec832966c9ab06b2acb194fb6a;hb=0da9e6722316a6ba5cfea039ea5766dd988b77da;hp=1e2cb4db59e2f5afe732612f7f28232510fb1880;hpb=61b2e2ea5cb50df90931acf3fcd840493ba762a9;p=senf.git diff --git a/senf/Utils/Statistics.hh b/senf/Utils/Statistics.hh index 1e2cb4d..4a29c8c 100644 --- a/senf/Utils/Statistics.hh +++ b/senf/Utils/Statistics.hh @@ -172,6 +172,14 @@ namespace senf { collector collects into each combined value. \throws InvalidRankException if \a rank is not a valid registered rank value. */ + Collector const & operator[](unsigned rank) const; + ///< Get child collector + /**< This member will return a const reference to the + collector collecting \a rank values. + \param[in] rank Number of values the requested + collector collects into each combined value. + \throws InvalidRankException if \a rank is not a valid + registered rank value. */ CollectorRange collectors(); ///< List all child collectors /**< \returns iterator range of child collector references */