![]() |
libQuotient
A Qt library for building matrix clients
|
The base class for event metatypes. More...
#include <event.h>


Public Member Functions | |
| auto | derivedTypes () const |
| virtual | ~AbstractEventMetaType ()=default |
Public Attributes | |
| const std::type_info & | typeInfo |
| const char *const | className |
| const AbstractEventMetaType *const | baseType |
| const event_type_t | matrixId |
Protected Member Functions | |
| AbstractEventMetaType (const std::type_info &typeInfo, const char *className, AbstractEventMetaType *nearestBase=nullptr, event_type_t matrixId=nullptr) | |
| virtual bool | doLoadFrom (const QJsonObject &fullJson, const QString &type, Event *&event) const =0 |
Friends | |
| template<class EventT > | |
| class | EventMetaType |
| bool | operator== (const AbstractEventMetaType &lhs, const AbstractEventMetaType &rhs) |
The base class for event metatypes.
You should not normally have to use this directly, unless you need to devise a whole new kind of event metatypes.
|
virtualdefault |
|
explicitprotected |
|
inline |
|
protectedpure virtual |
|
friend |
|
friend |
| const AbstractEventMetaType* const Quotient::AbstractEventMetaType::baseType |
| const event_type_t Quotient::AbstractEventMetaType::matrixId |
| const std::type_info& Quotient::AbstractEventMetaType::typeInfo |