|
AGX Dynamics
2.37.2.0
|
A collection of merge ignore groups, some named and some not. More...
#include <MergeIgnoreGroups.h>
Public Member Functions | |
| agx::Bool | add (agx::UInt32 id) |
| Add the given group ID. More... | |
| agx::Bool | add (const agx::Name &name) |
| Add the given group name. More... | |
| const agx::UInt32Vector & | getIds () const |
| const agx::NameVector & | getNames () const |
| agx::Bool | remove (agx::UInt32 id) |
| Remove the given group ID. More... | |
| agx::Bool | remove (const agx::Name &name) |
| Remove the given group name. More... | |
| void | restore (agxStream::InputArchive &archive) |
| void | store (agxStream::OutputArchive &archive) const |
A collection of merge ignore groups, some named and some not.
Owned and maintained by MergeSplitProperties. Used by MergeSplitHandler to reject merges. The groups identified by ID is a subset of the groups identified by name. That is, adding a group by name will also add the corresponding group ID.
Definition at line 39 of file MergeIgnoreGroups.h.
| agx::Bool agxSDK::MergeIgnoreGroups::add | ( | agx::UInt32 | id | ) |
Add the given group ID.
The ID must not correspond to a named group.
| id | - The group ID to add. |
Add the given group name.
The corresponding group ID will be added as well.
| name | - The group name to add. |
| const agx::UInt32Vector& agxSDK::MergeIgnoreGroups::getIds | ( | ) | const |
| const agx::NameVector& agxSDK::MergeIgnoreGroups::getNames | ( | ) | const |
| agx::Bool agxSDK::MergeIgnoreGroups::remove | ( | agx::UInt32 | id | ) |
Remove the given group ID.
If the ID has a corresponding group name then the name is removed as well. In that case it will be faster to pass the name to remove instead of the ID.
| id | - The group ID to remove. |
Remove the given group name.
The corresponding group ID will be removed as well.
| name | - The group name to remove. |
| void agxSDK::MergeIgnoreGroups::restore | ( | agxStream::InputArchive & | archive | ) |
| void agxSDK::MergeIgnoreGroups::store | ( | agxStream::OutputArchive & | archive | ) | const |