DtOrganizationChangeSet.
More...
DtOrganizationChangeSet.
Holds a set of changes to the organization hierarchy. This set can be passed to the DtOrganizationManager to initiate the enclosed changes.
| DtOrganizationChangeSet::DtOrganizationChangeSet |
( |
| ) |
|
| virtual DtOrganizationChangeSet::~DtOrganizationChangeSet |
( |
| ) |
|
|
virtual |
| virtual void DtOrganizationChangeSet::addSetSuperior |
( |
const DtUUID & |
subordinate, |
|
|
const DtUUID & |
superior, |
|
|
int |
designator = 0 |
|
) |
| |
|
virtual |
Adds a "Set Superior" command to the change set.
This is a command that will place the specified subordinate directly under the specified superior in the organization hierarchy.
- Note
- This call will also remove any existing commands in the change set that assign the specified subordinate to any other superior.
| virtual void DtOrganizationChangeSet::addSetSuperiorToForce |
( |
const DtUUID & |
subordinate, |
|
|
int |
designator = 0 |
|
) |
| |
|
virtual |
Adds a "Set Superior To Force" command to the change set.
This command causes the specified subordinate to become a direct subordinate of the force level aggregate of that entity's force. i.e. This entity will become a top level entity.
- Note
- This call will also remove any existing commands in the change set that assign the specified subordinate to any other superior.
| virtual const DtSetSuperiorList& DtOrganizationChangeSet::setSuperiorCommands |
( |
| ) |
const |
|
virtual |
| virtual void DtOrganizationChangeSet::clear |
( |
| ) |
|
|
virtual |
Empties contents of change set.
| virtual void DtOrganizationChangeSet::removeItemsWithSubordiate |
( |
const DtUUID & |
subordinate | ) |
|
|
protectedvirtual |
Removes any existing items from the lists that have the specified subordinate.
This is to prevent a single change set from having contradictory changes.
List of all the Set Superior commands in the set.
List of all the Set Superior To Force commands in the set.
The documentation for this class was generated from the following file: