CatapultServer
v0.5.0.1 (Elephant)
|
Mixin that wraps BaseSetDelta and provides a facade on top of BaseSetDelta::deltas(). More...
Classes | |
struct | ValueAccessorT |
struct | ValueAccessorT< TSet, true > |
Public Member Functions | |
DeltaElementsMixin (const TSetDelta &setDelta) | |
Creates a mixin around setDelta. More... | |
PointerContainer | addedElements () const |
Gets pointers to all added elements. More... | |
PointerContainer | modifiedElements () const |
Gets pointers to all modified elements. More... | |
PointerContainer | removedElements () const |
Gets pointers to all removed elements. More... | |
Private Types | |
using | ValueAccessor = ValueAccessorT< typename TSetDelta::MemorySetType > |
using | ValueType = typename ValueAccessor::ValueType |
using | PointerContainer = std::unordered_set< const ValueType * > |
Static Private Member Functions | |
template<typename TSource > | |
static PointerContainer | CollectAllPointers (const TSource &source) |
Private Attributes | |
const TSetDelta & | m_setDelta |
Mixin that wraps BaseSetDelta and provides a facade on top of BaseSetDelta::deltas().
|
private |
|
private |
|
private |
|
inlineexplicit |
Creates a mixin around setDelta.
|
inline |
Gets pointers to all added elements.
|
inlinestaticprivate |
|
inline |
Gets pointers to all modified elements.
|
inline |
Gets pointers to all removed elements.
|
private |