Represents basic event metadata: type and length.
More...
#include <binlog_reader.h>
Represents basic event metadata: type and length.
◆ Type
◆ Event_metadata() [1/2]
| Event_metadata::Event_metadata |
( |
| ) |
|
|
default |
◆ Event_metadata() [2/2]
| Event_metadata::Event_metadata |
( |
const Type & |
type, |
|
|
std::size_t |
len, |
|
|
bool |
ignorable |
|
) |
| |
|
inline |
◆ get_length()
| std::size_t Event_metadata::get_length |
( |
| ) |
const |
|
inline |
Event length accessor.
- Returns
- Event length
◆ get_type()
| Type Event_metadata::get_type |
( |
| ) |
const |
|
inline |
Event type accessor.
- Returns
- Event type
◆ is_ignorable()
| bool Event_metadata::is_ignorable |
( |
| ) |
const |
|
inline |
Returns information on whether this event is ignorable.
- Returns
- True if event may be ignored
◆ is_valid()
| bool Event_metadata::is_valid |
( |
void |
| ) |
const |
|
inline |
We allow to construct empty objects, this function returns true in case object was initialized with data.
- Returns
- True in case object was initialized with data, false otherwise
◆ m_event_length
| std::size_t Event_metadata::m_event_length |
|
private |
◆ m_ignorable
| bool Event_metadata::m_ignorable {false} |
|
private |
Flag: is ignorable event.
◆ m_type
| Type Event_metadata::m_type |
|
private |
◆ m_valid
| bool Event_metadata::m_valid {false} |
|
private |
The documentation for this class was generated from the following file: