FB_Immutable_Set (Function Block)

Collection that exposes only immutable methods and properties of a collection that implements I_Set.

Implements: I_Immutable_Set

Inputs

Name

Type

Description

ipSet

I_Set

Properties

_Count

Type: T_Capacity

Number of items in the collection.

_Empty

Type: BOOL

Checks if collection is empty.

_Error_Status

Type: T_Error

Error status of the collection.

Methods

Contains

Checks if item is contained in set.

Inputs

Name

Type

Description

Item

ANY

Item to find.

Get_Values

Gets an immutable list of the values in the set.