Skip to content

ISet<T>

ISet

ISet is an interface for implementing generic data sets.

Description

The ISet interface defines basic methods to work with sets, such as: the union and intersection of sets, definition of strict and non-strict subsets, and others.

Declaration

template<typename T>
   interface ISet : public ICollection<T>

Header

#include <Generic\Interfaces\ISet.mqh>

Inheritance Hierarchy

ICollection

ISet

Direct descendants

: CHashSet, CSortedSet

Class Methods

MethodDescription
ExceptWithProduces the operation of difference between the current collection and a passed collection (array)
IntersectWithProduces the operation of intersection of the current collection and a passed collection (array)
SymmetricExceptWithProduces the operation of symmetrical difference between the current collection and a passed collection (array)
UnionWithProduces the union of the current collection and a passed collection (array)
IsProperSubsetOfDetermines whether the current set is a proper subset of the specified collection or array
IsProperSupersetOfDetermines whether the current set is a proper superset of the specified collection or array
IsSubsetOfDetermines whether the current set is a subset of the specified collection or array
IsSupersetOfDetermines whether the current set is a superset of the specified collection or array
OverlapsDetermines whether the current set overlaps the specified collection or array
SetEqualsDetermines whether the current set contains all elements of the specified collection or array
Last updated on