mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-19 03:45:30 +08:00
refs #413 Doxygen.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user