载入中...
搜索中...
未找到
eve::VersionedRegistry< Key, Value, EventData, Compare >::Event结构体 参考

One canonical mutation event retained by the registry. 更多...

#include <VersionedRegistry.h>

Public 成员函数

bool isTombstone () const noexcept
 Whether this event advanced a key to a removed tombstone.
 

Public 属性

EventSequence sequence
 
RegistryOperation operation = RegistryOperation::Insert
 
Key key
 
Generation generation
 
bool tombstone = false
 
std::string label
 
EventData data {}
 

详细描述

template<class Key, class Value, class EventData = std::monostate, class Compare = std::less<Key>>
struct eve::VersionedRegistry< Key, Value, EventData, Compare >::Event

One canonical mutation event retained by the registry.

在文件 VersionedRegistry.h 第 150 行定义.

成员函数说明

◆ isTombstone()

template<class Key , class Value , class EventData = std::monostate, class Compare = std::less<Key>>
bool eve::VersionedRegistry< Key, Value, EventData, Compare >::Event::isTombstone ( ) const
inlinenoexcept

Whether this event advanced a key to a removed tombstone.

在文件 VersionedRegistry.h 第 160 行定义.

引用了 eve::VersionedRegistry< Key, Value, EventData, Compare >::Event::tombstone.

类成员变量说明

◆ data

template<class Key , class Value , class EventData = std::monostate, class Compare = std::less<Key>>
EventData eve::VersionedRegistry< Key, Value, EventData, Compare >::Event::data {}

在文件 VersionedRegistry.h 第 157 行定义.

◆ generation

template<class Key , class Value , class EventData = std::monostate, class Compare = std::less<Key>>
Generation eve::VersionedRegistry< Key, Value, EventData, Compare >::Event::generation

在文件 VersionedRegistry.h 第 154 行定义.

◆ key

template<class Key , class Value , class EventData = std::monostate, class Compare = std::less<Key>>
Key eve::VersionedRegistry< Key, Value, EventData, Compare >::Event::key

在文件 VersionedRegistry.h 第 153 行定义.

◆ label

template<class Key , class Value , class EventData = std::monostate, class Compare = std::less<Key>>
std::string eve::VersionedRegistry< Key, Value, EventData, Compare >::Event::label

在文件 VersionedRegistry.h 第 156 行定义.

◆ operation

template<class Key , class Value , class EventData = std::monostate, class Compare = std::less<Key>>
RegistryOperation eve::VersionedRegistry< Key, Value, EventData, Compare >::Event::operation = RegistryOperation::Insert

在文件 VersionedRegistry.h 第 152 行定义.

◆ sequence

template<class Key , class Value , class EventData = std::monostate, class Compare = std::less<Key>>
EventSequence eve::VersionedRegistry< Key, Value, EventData, Compare >::Event::sequence

在文件 VersionedRegistry.h 第 151 行定义.

◆ tombstone

template<class Key , class Value , class EventData = std::monostate, class Compare = std::less<Key>>
bool eve::VersionedRegistry< Key, Value, EventData, Compare >::Event::tombstone = false

该结构体的文档由以下文件生成: