swift
Classes | Namespaces | Macros
mixinjson.h File Reference

Go to the source code of this file.

Classes

class  swift::misc::mixin::JsonOperators< Derived >
 CRTP class template which will generate marshalling operators for a derived class with its own marshalling implementation. More...
 
class  swift::misc::mixin::JsonByMetaClass< Derived >
 CRTP class template from which a derived class can inherit common methods dealing with JSON by metatuple. More...
 

Namespaces

 swift::misc
 Free functions in swift::misc.
 
 swift::misc::mixin
 Mixin classes which implement common operations for value classes.
 

Macros

#define SWIFT_MISC_DECLARE_USING_MIXIN_JSON(DERIVED)
 When a derived class and a base class both inherit from mixin::JsonByTuple, the derived class uses this macro to disambiguate the inherited members. More...
 

Macro Definition Documentation

◆ SWIFT_MISC_DECLARE_USING_MIXIN_JSON

#define SWIFT_MISC_DECLARE_USING_MIXIN_JSON (   DERIVED)
Value:
using ::swift::misc::mixin::JsonByMetaClass<DERIVED>::toJson; \
using ::swift::misc::mixin::JsonByMetaClass<DERIVED>::convertFromJson;

When a derived class and a base class both inherit from mixin::JsonByTuple, the derived class uses this macro to disambiguate the inherited members.

Definition at line 281 of file mixinjson.h.