- /// Reset recursively all the counters that are slaves of the one named by \c ctr.
- void resetSlaves(docstring const & ctr);
- /// Increment by one master of counter named by \c ctr.
+ ///
+ void saveValue(docstring const & ctr) const;
+ ///
+ void restoreValue(docstring const & ctr) const;
+ /// Reset recursively all the counters that are children of the one named by \c ctr.
+ void resetChildren(docstring const & ctr);
+ /// Increment by one the parent of counter named by \c ctr.