swift
Classes | Namespaces | Macros
mixindatastream.h File Reference

Go to the source code of this file.

Classes

class  swift::misc::mixin::DataStreamOperators< Derived >
 CRTP class template to generate non-member QDataStream streaming operators. More...
 
class  swift::misc::mixin::DataStreamByMetaClass< Derived >
 CRTP class template to generate QDataStream marshalling methods using CMetaClass. 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_DATASTREAM(DERIVED)
 When a derived class and a base class both inherit from mixin::DataStreamByMetaClass, the derived class uses this macro to disambiguate the inherited members. More...
 

Macro Definition Documentation

◆ SWIFT_MISC_DECLARE_USING_MIXIN_DATASTREAM

#define SWIFT_MISC_DECLARE_USING_MIXIN_DATASTREAM (   DERIVED)
Value:
using ::swift::misc::mixin::DataStreamByMetaClass<DERIVED>::marshalToDataStream; \
using ::swift::misc::mixin::DataStreamByMetaClass<DERIVED>::unmarshalFromDataStream;

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

Definition at line 144 of file mixindatastream.h.