|
stmm-input-doc
0.17.0
|
The representation of a registered event class. More...
Public Member Functions | |
| Class () noexcept | |
| Constructs an empty event class instance. More... | |
| Class (const std::type_info &oEventType) noexcept | |
| Constructs an event class instance. More... | |
| bool | operator== (const std::type_info &oOtherEventType) const noexcept |
| Compares a registered event class instance with a c++ typeid. More... | |
| bool | operator!= (const std::type_info &oOtherEventType) const noexcept |
| bool | operator== (const Class &oOther) const noexcept |
| Compares a registered event class to another. More... | |
| bool | operator!= (const Class &oOther) const noexcept |
| operator bool () const noexcept | |
| Tells whether class is registered. More... | |
| const std::type_info & | getTypeInfo () const noexcept |
| The underlying c++ typeid of the class. More... | |
| std::string | getId () const noexcept |
| The class id. More... | |
| bool | isXYEvent () const noexcept |
| Tells whether you can statically cast an instance of this Class to XYEvent. More... | |
The representation of a registered event class.
|
inlinenoexcept |
Constructs an empty event class instance.
|
inlineexplicitnoexcept |
Constructs an event class instance.
If the passed c++ typeid is not of a registered class an empty class is constructed.
| oEventType | underlying c++ typeid of the class. |
|
inlinenoexcept |
The class id.
If the class is empty returns empty string.
|
inlinenoexcept |
The underlying c++ typeid of the class.
|
inlinenoexcept |
|
inlinenoexcept |
Tells whether class is registered.
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
Compares a registered event class instance with a c++ typeid.
If the class instance is empty false is returned.
| oOtherEventType | The c++ typeid. |
|
inlinenoexcept |
Compares a registered event class to another.
If both are empty true is returned.
| oOther | The other class instance. Might be empty. |
1.8.13