...
o AddElement
public virtual void AddElement(CATBaseUnknwon * iElementToAdd, int iCheckIfThere=1);
- Adds an element to the set.
- Parameters:
-
- iElementToAdd
- The element to add to the set.
Cyclic reference: A copy of iElementToAdd is kept and
AddRef'ed. It is Released either when the object is removed from the set,
or by the CATSO destructor.
- iCheckIfThere
- A flag to check if iElementToAdd is already in the set.
Legal values: A non null value to check if iElementToAdd
is already in the set and to add it only if it is not, and 0 to add it
without check at the end of the set, which is faster.
o AddDialogState
public virtual CATDialogState* AddDialogState(const CATString &iId);
- Creates a state.
- Parameters:
-
- iId
- The resource identifier used to retrieve the state prompt in the
command message file.
- Returns:
- The state.
Cyclic reference: A pointer to the state is kept and released at the
end of the command before the command destructor call.
Lifecycle rules deviation: This method doesn't AddRef the returned
value.
...