LeechCraft  0.6.70-6645-gcd10d7e
Modular cross-platform feature rich live environment.
LeechCraft::Util::Introspectable Class Reference

#include "introspectable.h"

Public Member Functions

 Introspectable (const Introspectable &)=delete
 
Introspectableoperator= (const Introspectable &)=delete
 
template<typename T , typename U >
void Register (const U &intro, decltype(Invoke(intro, std::declval< QVariant >()))*=nullptr)
 
template<typename T , typename U >
void Register (const U &intro, decltype(Invoke(intro, std::declval< T >()))*=nullptr)
 
template<typename T >
QVariantMap operator() (const T &t) const
 
QVariantMap operator() (const QVariant &) const
 

Static Public Member Functions

static IntrospectableInstance ()
 

Detailed Description

Definition at line 45 of file introspectable.h.

Constructor & Destructor Documentation

LeechCraft::Util::Introspectable::Introspectable ( const Introspectable )
delete

Member Function Documentation

Introspectable & LeechCraft::Util::Introspectable::Instance ( )
static

Definition at line 38 of file introspectable.cpp.

template<typename T >
QVariantMap LeechCraft::Util::Introspectable::operator() ( const T &  t) const
inline

Definition at line 70 of file introspectable.h.

QVariantMap LeechCraft::Util::Introspectable::operator() ( const QVariant &  variant) const

Definition at line 44 of file introspectable.cpp.

Introspectable& LeechCraft::Util::Introspectable::operator= ( const Introspectable )
delete
template<typename T , typename U >
void LeechCraft::Util::Introspectable::Register ( const U &  intro,
decltype(Invoke(intro, std::declval< QVariant >()))*  = nullptr 
)
inline

Definition at line 57 of file introspectable.h.

template<typename T , typename U >
void LeechCraft::Util::Introspectable::Register ( const U &  intro,
decltype(Invoke(intro, std::declval< T >()))*  = nullptr 
)
inline

Definition at line 64 of file introspectable.h.

References LeechCraft::Util::Invoke().

+ Here is the call graph for this function:


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