|
template<typename TElementTraits2 , typename TSetTraits2 , typename TCommitPolicy2 > |
bool | IsBaseSetIterable (const BaseSet< TElementTraits2, TSetTraits2, TCommitPolicy2 > &set) |
|
template<typename TElementTraits2 , typename TSetTraits2 , typename TCommitPolicy2 > |
BaseSetIterationView< TSetTraits2 > | MakeIterableView (const BaseSet< TElementTraits2, TSetTraits2, TCommitPolicy2 > &set) |
|
template<typename TElementTraits, typename TSetTraits, typename TCommitPolicy = BaseSetCommitPolicy<TSetTraits>>
class catapult::deltaset::BaseSet< TElementTraits, TSetTraits, TCommitPolicy >
A base set.
- Template Parameters
-
TElementTraits | Traits describing the type of element. |
TSetTraits | Traits describing the underlying set. |
TCommitPolicy | The policy for committing changes to a base set. |
- Note
- : 1) this class is not thread safe. 2) if TSetTraits::SetType is an unordered set, the element must implement operator == 3) if MutableTypeTraits are used, the element must implement a (deep) copy
◆ DeltaType
template<typename TElementTraits, typename TSetTraits, typename TCommitPolicy = BaseSetCommitPolicy<TSetTraits>>
◆ ElementType
template<typename TElementTraits, typename TSetTraits, typename TCommitPolicy = BaseSetCommitPolicy<TSetTraits>>
◆ FindConstIterator
template<typename TElementTraits, typename TSetTraits, typename TCommitPolicy = BaseSetCommitPolicy<TSetTraits>>
◆ FindTraits
template<typename TElementTraits, typename TSetTraits, typename TCommitPolicy = BaseSetCommitPolicy<TSetTraits>>
◆ KeyType
template<typename TElementTraits, typename TSetTraits, typename TCommitPolicy = BaseSetCommitPolicy<TSetTraits>>
◆ SetType
template<typename TElementTraits, typename TSetTraits, typename TCommitPolicy = BaseSetCommitPolicy<TSetTraits>>
◆ BaseSet()
template<typename TElementTraits, typename TSetTraits, typename TCommitPolicy = BaseSetCommitPolicy<TSetTraits>>
template<typename... TArgs>
Creates a base set. args are forwarded to the underlying container.
◆ commit()
template<typename TElementTraits, typename TSetTraits, typename TCommitPolicy = BaseSetCommitPolicy<TSetTraits>>
template<typename... TArgs>
Commits all changes in the rebased cache. args are forwarded to the commit policy.
◆ contains()
template<typename TElementTraits, typename TSetTraits, typename TCommitPolicy = BaseSetCommitPolicy<TSetTraits>>
Searches for key in this set. Returns true
if it is found or false
if it is not found.
◆ empty()
template<typename TElementTraits, typename TSetTraits, typename TCommitPolicy = BaseSetCommitPolicy<TSetTraits>>
Gets a value indicating whether or not the set is empty.
◆ find()
template<typename TElementTraits, typename TSetTraits, typename TCommitPolicy = BaseSetCommitPolicy<TSetTraits>>
Searches for key in this set. Returns a pointer to the matching element if it is found or nullptr
if it is not found.
◆ rebase()
template<typename TElementTraits, typename TSetTraits, typename TCommitPolicy = BaseSetCommitPolicy<TSetTraits>>
Returns a delta based on the same original elements as this set.
◆ rebaseDetached()
template<typename TElementTraits, typename TSetTraits, typename TCommitPolicy = BaseSetCommitPolicy<TSetTraits>>
Returns a delta based on the same original elements as this set but without the ability to commit any changes to the original set.
◆ size()
template<typename TElementTraits, typename TSetTraits, typename TCommitPolicy = BaseSetCommitPolicy<TSetTraits>>
Gets the size of this set.
◆ IsBaseSetIterable
template<typename TElementTraits, typename TSetTraits, typename TCommitPolicy = BaseSetCommitPolicy<TSetTraits>>
template<typename TElementTraits2 , typename TSetTraits2 , typename TCommitPolicy2 >
bool IsBaseSetIterable |
( |
const BaseSet< TElementTraits2, TSetTraits2, TCommitPolicy2 > & |
set | ) |
|
|
friend |
◆ MakeIterableView
template<typename TElementTraits, typename TSetTraits, typename TCommitPolicy = BaseSetCommitPolicy<TSetTraits>>
template<typename TElementTraits2 , typename TSetTraits2 , typename TCommitPolicy2 >
◆ m_elements
template<typename TElementTraits, typename TSetTraits, typename TCommitPolicy = BaseSetCommitPolicy<TSetTraits>>
◆ m_pWeakDelta
template<typename TElementTraits, typename TSetTraits, typename TCommitPolicy = BaseSetCommitPolicy<TSetTraits>>
The documentation for this class was generated from the following file: