swift
Classes | Namespaces | Macros
mixindbus.h File Reference

Go to the source code of this file.

Classes

class  swift::misc::LosslessTag
 Tag type signifying overloaded marshalling methods that preserve data at the expense of size. More...
 
class  swift::misc::mixin::DBusOperators< Derived,... >
 CRTP class template which will generate marshalling operators for a derived class with its own marshalling implementation. More...
 
class  swift::misc::mixin::DBusOperators< Derived, LosslessTag >
 
class  swift::misc::mixin::DBusByMetaClass< Derived, Tags >
 CRTP class template from which a derived class can inherit common methods dealing with marshalling instances by metaclass. 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_DBUS(DERIVED, ...)
 When a derived class and a base class both inherit from mixin::DBusByTuple, the derived class uses this macro to disambiguate the inherited members. More...
 

Macro Definition Documentation

◆ SWIFT_MISC_DECLARE_USING_MIXIN_DBUS

#define SWIFT_MISC_DECLARE_USING_MIXIN_DBUS (   DERIVED,
  ... 
)
Value:
using ::swift::misc::mixin::DBusByMetaClass<DERIVED SWIFT_TRAILING_VA_ARGS(__VA_ARGS__)>::marshallToDbus; \
using ::swift::misc::mixin::DBusByMetaClass<DERIVED SWIFT_TRAILING_VA_ARGS(__VA_ARGS__)>::unmarshallFromDbus;

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

Definition at line 182 of file mixindbus.h.