CatapultServer  v0.5.0.1 (Elephant)
catapult::deltaset::DeltaElements< TSet > Struct Template Reference

Slim wrapper around changed elements. More...

Collaboration diagram for catapult::deltaset::DeltaElements< TSet >:

Public Member Functions

constexpr DeltaElements (const TSet &addedElements, const TSet &removedElements, const TSet &copiedElements)
 Creates new delta elements from addedElements, removedElements and copiedElements. More...
 
bool HasChanges () const
 Returns true if there are any pending changes. More...
 

Public Attributes

const TSet & Added
 Added elements. More...
 
const TSet & Removed
 Removed elements. More...
 
const TSet & Copied
 Copied elements. More...
 

Detailed Description

template<typename TSet>
struct catapult::deltaset::DeltaElements< TSet >

Slim wrapper around changed elements.

Constructor & Destructor Documentation

◆ DeltaElements()

template<typename TSet>
constexpr catapult::deltaset::DeltaElements< TSet >::DeltaElements ( const TSet &  addedElements,
const TSet &  removedElements,
const TSet &  copiedElements 
)
inlineexplicitconstexpr

Creates new delta elements from addedElements, removedElements and copiedElements.

Member Function Documentation

◆ HasChanges()

template<typename TSet>
bool catapult::deltaset::DeltaElements< TSet >::HasChanges ( ) const
inline

Returns true if there are any pending changes.

Here is the caller graph for this function:

Member Data Documentation

◆ Added

template<typename TSet>
const TSet& catapult::deltaset::DeltaElements< TSet >::Added

Added elements.

◆ Copied

template<typename TSet>
const TSet& catapult::deltaset::DeltaElements< TSet >::Copied

Copied elements.

◆ Removed

template<typename TSet>
const TSet& catapult::deltaset::DeltaElements< TSet >::Removed

Removed elements.


The documentation for this struct was generated from the following file: