Enumeration WorkingSetBehavior

This enum tells the way WorkingSetInterface data is computed inside the WorkingSetInterface. The resulting behavior is an OR value of the non zero bits.

The content of a WorkingSetInterface is the intersection of the geometric instance ids of:

This behavior implies that when any of filters, configurations, or dependencies are empty, then the geometric instance ids of such a WorkingSetInterface are empty.

In order to ease the use of WorkingSetInterface, the behavior of the WorkingSetInterface may be customized when any of these properties are empty.

The default behavior is B_DefaultBehavior meaning that if any the filter, configuration, or dependencies is empty, then the WorkingSetInterface is empty. On the contrary, with the WorkingSetBehavior.B_DiscardConfigurationsIfEmptyBit | WorkingSetBehavior.B_DiscardFiltersIfEmptyBit | WorkingSetBehavior.B_DiscardDependenciesIfEmptyBit behavior, then if no filters, no dependencies and no configurations are set, then the WorkingSetInterface is represented by ALL the geometric instance ids.

The old ConfContextInterface is represented by WorkingSetBehavior.B_DiscardConfigurationsIfEmptyBit | WorkingSetBehavior.B_DiscardFiltersIfEmptyBit | WorkingSetBehavior.B_DiscardDependenciesIfEmptyBit. The old VisibilityContextInterface is represented by WorkingSetBehavior.B_DiscardConfigurationsIfEmptyBit | WorkingSetBehavior.B_DiscardFiltersIfEmptyBit. The old FilterSolverInterface is represented by WorkingSetBehavior.B_DiscardConfigurationsIfEmptyBit.


Metadata

Enumeration Members

B_DefaultBehavior: 0

The WorkingSetInterface is computed by the intersection of the result of the filters, the result of the WorkingSetInterface dependencies and the configurations, if any is empty, then the result is empty.

B_DiscardConfigurationsIfEmptyBit: 1

The WorkingSetInterface is computed by intersecting the result of the filters, the result of the WorkingSetInterface dependencies and the configurations but if the WorkingSetInterface has no configurations, the content of the WorkingSetInterface is computed by intersecting the result of the filters and the result of the WorkingSetInterface dependencies.

B_DiscardDependenciesIfEmptyBit: 4

The WorkingSetInterface is computed by intersecting the result of the filters and the result of the WorkingSetInterface dependencies but if the WorkingSetInterface has no dependencies, then the content of the WorkingSetInterface is computed by intersecting the result of the WorkingSetInterface dependencies and the configurations.

B_DiscardFiltersIfEmptyBit: 2

The WorkingSetInterface is computed by intersecting the result of the filters and the result of the WorkingSetInterface dependencies but if the WorkingSetInterface has no filter, then the content of the WorkingSetInterface is computed by intersecting the result of the WorkingSetInterface dependencies and the configurations.