refs #413 Doxygen.

This commit is contained in:
Mathew Sutcliffe
2015-05-05 22:24:28 +01:00
parent 5a91d761c2
commit 2f66785c63
7 changed files with 33 additions and 5 deletions

View File

@@ -136,6 +136,8 @@ namespace BlackMisc
/*!
* CRTP class template which will generate marshalling operators for a derived class with its own marshalling implementation.
*
* \tparam Must implement public methods QJsonObject toJson() const and void convertFromJson(const QJsonObject &json).
*/
template <class Derived>
class JsonOperators
@@ -179,6 +181,10 @@ namespace BlackMisc
/*!
* CRTP class template from which a derived class can inherit common methods dealing with JSON by metatuple.
*
* \tparam Derived Must be registered with BLACK_DECLARE_TUPLE_CONVERSION.
*
* \see BLACKMISC_DECLARE_USING_MIXIN_JSON
*/
template <class Derived>
class JsonByTuple : public JsonOperators<Derived>, private Private::EncapsulationBreaker