swift
Classes | Namespaces | Enumerations
typetraits.h File Reference

Go to the source code of this file.

Classes

struct  swift::misc::TParameter< T >
 Trait to detect properties of function parameter types. More...
 
struct  swift::misc::THasToQString< T, typename >
 Trait to detect whether T contains a member function toQString. More...
 
struct  swift::misc::THasPushBack< T, typename >
 Trait which is true if the expression a.push_back(v) is valid when a and v are instances of T and T::value_type. More...
 
struct  swift::misc::THasGetLogCategories< T, typename >
 Trait to detect whether a class T has a static member function named getLogCategories. More...
 
struct  swift::misc::TModelsQHashKey< T, typename >
 Trait to detect whether a class T can be used as a key in a QHash. More...
 
struct  swift::misc::TModelsQMapKey< T, typename >
 Trait to detect whether a class T can be used as a key in a QMap. More...
 
struct  swift::misc::THasCompare< T, U, typename >
 Trait which is true if the expression compare(a, b) is valid when a and b are instances of T and U. More...
 
struct  swift::misc::THasComparePropertyByIndex< T, typename >
 Trait which is true if the expression a.compareByPropertyIndex(b, i) is valid when a and b are instances of T, and i is an instance of CPropertyIndexRef. More...
 
struct  swift::misc::THasPropertyByIndex< T, typename >
 Trait which is true if the expression a.propertyByIndex(i) is valid with a is an instance of T and i is an instance of CPropertyIndexRef. More...
 
struct  swift::misc::TIsEqualityComparable< T, U, typename >
 Trait which is true if the expression a == b is valid when a and b are instances of T and U. More...
 
struct  swift::misc::THasMarshallMethods< T, typename >
 Trait which is true if T has methods marshallToDbus and unmarshallFromDbus. More...
 
struct  swift::misc::TIsQPrivateSignal< T, typename >
 Trait that detects if a type is QPrivateSignal. More...
 

Namespaces

 swift::misc
 Free functions in swift::misc.
 

Enumerations

enum class  swift::misc::ParameterPassBy { Value , ConstRef }
 Whether an input parameter type should be passed by value or by const reference.