A collection of merge ignore group ID pairs for which merge should be rejected.
More...
#include <MergeIgnoreFilter.h>
A collection of merge ignore group ID pairs for which merge should be rejected.
The filter itself is owned and used by MergeSplitHandler and the merge ignore group IDs are held by MergeSplitProperties.
Definition at line 32 of file MergeIgnoreFilter.h.
◆ addRejection()
Add a rejection for the given group pair.
The order the groups are passed does not matter.
- Parameters
-
| group1 | - The first group. |
| group2 | - The second group. |
◆ isNameId()
Check if the given group ID corresponds to a named group.
- Parameters
-
| id | - The group ID to check. |
- Returns
- True if the grou ID corresponds to a named group. False otherwise.
◆ nameToId()
Compute the group ID that corresponds to the given group name.
- Parameters
-
| name | - Name of the group to compute the group ID for. |
- Returns
- The group ID of the given group.
◆ rejects() [1/2]
Check if the given group pair is on the rejection list.
The order the groups are passed does not matter.
- Parameters
-
| group1 | - The first group. |
| group2 | - The second group. |
- Returns
- True if there is a rejection for the given pair. False otherwise.
◆ rejects() [2/2]
Check if there is any pair in the cartesian product of the given group lists for which a rejection has been added.
- Parameters
-
| groups1 | - The first set of groups. |
| groups2 | - The second set of groups. |
- Returns
- True if any rejected pair is found. False otherwise.
◆ removeRejection()
Forget a previously added rejection pair.
The order the groups are passed does not matter.
- Parameters
-
| group1 | - The first group. |
| group2 | - The second group. |
◆ restore()
◆ store()
◆ MAX_UNAMED_GROUP_ID
| const agx::UInt32 agxSDK::MergeIgnoreFilter::MAX_UNAMED_GROUP_ID |
|
static |
The maximum ID that may be used to create an unamed group.
All group IDs created for named groups will be larger than this value;
Definition at line 92 of file MergeIgnoreFilter.h.
The documentation for this class was generated from the following file: