swift
Loading...
Searching...
No Matches
swift::misc::CMetaClass Class Reference

Base class for meta classes. More...

#include <metaclass.h>

Static Protected Member Functions

template<typename... Members>
static constexpr CMetaMemberList< Members... > makeMetaMemberList (Members... members)
 Return a CMetaMemberList of type deduced from the types of the meta members. Usually not used directly, but via the macros.
template<typename M, quint64 Flags = 0>
static constexpr CMetaMember< M, Flags > makeMetaMember (M ptrToMember, const char *name=nullptr, int index=0, MetaFlags< Flags > flags={})
 Return a CMetaMethod of type deduced from the type of the member. Usually not used directly, but via the macros.

Static Protected Attributes

static constexpr MetaFlags< MetaFlag::DisabledForComparison > DisabledForComparison {}
 Flags wrapped as compile-time constants.
static constexpr MetaFlags< MetaFlag::DisabledForMarshalling > DisabledForMarshalling {}
 Flags wrapped as compile-time constants.
static constexpr MetaFlags< MetaFlag::DisabledForDebugging > DisabledForDebugging {}
 Flags wrapped as compile-time constants.
static constexpr MetaFlags< MetaFlag::DisabledForHashing > DisabledForHashing {}
 Flags wrapped as compile-time constants.
static constexpr MetaFlags< MetaFlag::DisabledForJson > DisabledForJson {}
 Flags wrapped as compile-time constants.
static constexpr MetaFlags< MetaFlag::CaseInsensitiveComparison > CaseInsensitiveComparison {}
 Flags wrapped as compile-time constants.
static constexpr MetaFlags< MetaFlag::LosslessMarshalling > LosslessMarshalling {}
 Flags wrapped as compile-time constants.
static constexpr MetaFlags< MetaFlag::RequiredForJson > RequiredForJson {}
 Flags wrapped as compile-time constants.

Detailed Description

Base class for meta classes.

Just static protected members to be used by derived meta classes.

Definition at line 215 of file metaclass.h.

Member Function Documentation

◆ makeMetaMember()

template<typename M, quint64 Flags = 0>
constexpr CMetaMember< M, Flags > swift::misc::CMetaClass::makeMetaMember ( M ptrToMember,
const char * name = nullptr,
int index = 0,
MetaFlags< Flags > flags = {} )
inlinestaticconstexprprotected

Return a CMetaMethod of type deduced from the type of the member. Usually not used directly, but via the macros.

Definition at line 241 of file metaclass.h.

◆ makeMetaMemberList()

template<typename... Members>
constexpr CMetaMemberList< Members... > swift::misc::CMetaClass::makeMetaMemberList ( Members... members)
inlinestaticconstexprprotected

Return a CMetaMemberList of type deduced from the types of the meta members. Usually not used directly, but via the macros.

Definition at line 233 of file metaclass.h.

Member Data Documentation

◆ CaseInsensitiveComparison

MetaFlags<MetaFlag::CaseInsensitiveComparison> swift::misc::CMetaClass::CaseInsensitiveComparison {}
staticconstexprprotected

Flags wrapped as compile-time constants.

Definition at line 225 of file metaclass.h.

◆ DisabledForComparison

MetaFlags<MetaFlag::DisabledForComparison> swift::misc::CMetaClass::DisabledForComparison {}
staticconstexprprotected

Flags wrapped as compile-time constants.

Definition at line 220 of file metaclass.h.

◆ DisabledForDebugging

MetaFlags<MetaFlag::DisabledForDebugging> swift::misc::CMetaClass::DisabledForDebugging {}
staticconstexprprotected

Flags wrapped as compile-time constants.

Definition at line 222 of file metaclass.h.

◆ DisabledForHashing

MetaFlags<MetaFlag::DisabledForHashing> swift::misc::CMetaClass::DisabledForHashing {}
staticconstexprprotected

Flags wrapped as compile-time constants.

Definition at line 223 of file metaclass.h.

◆ DisabledForJson

MetaFlags<MetaFlag::DisabledForJson> swift::misc::CMetaClass::DisabledForJson {}
staticconstexprprotected

Flags wrapped as compile-time constants.

Definition at line 224 of file metaclass.h.

◆ DisabledForMarshalling

MetaFlags<MetaFlag::DisabledForMarshalling> swift::misc::CMetaClass::DisabledForMarshalling {}
staticconstexprprotected

Flags wrapped as compile-time constants.

Definition at line 221 of file metaclass.h.

◆ LosslessMarshalling

MetaFlags<MetaFlag::LosslessMarshalling> swift::misc::CMetaClass::LosslessMarshalling {}
staticconstexprprotected

Flags wrapped as compile-time constants.

Definition at line 226 of file metaclass.h.

◆ RequiredForJson

MetaFlags<MetaFlag::RequiredForJson> swift::misc::CMetaClass::RequiredForJson {}
staticconstexprprotected

Flags wrapped as compile-time constants.

Definition at line 227 of file metaclass.h.


The documentation for this class was generated from the following file: