ICCBaselineComparison interface

Description

ICCBaselineComparison is the CAL interface to a comparison object for UCM baselines and streams.

This object lets you set up the parameters for a comparison operation, perform the comparison operation, and examine the results. Note that you can compare a baseline with another baseline, or a stream with a baseline. The read-only properties are not valid until you invoke the Compare method. ICCBaselineComparison performs consistency checking when the Compare method is invoked.

Inheritance

ICCBaselineComparison inherits from IDispatch.

Read-write properties

BaselineOne

Gets and sets the first baseline to compare

BaselineTwo

Gets and sets the second baseline to compare

StreamOne

Gets and sets the first stream to compare

StreamTwo

Gets and sets the second stream to compare

Read-only properties

ActivitiesInOneButNotTwo

Gets the activities in baseline (or stream) one, but not in baseline (or stream) two

ActivitiesInTwoButNotOne

Gets the activities in baseline (or stream) two, but not in baseline (or stream) one

ChangedActivities

Gets the activities that appear in both baselines (or streams), but are different in each

VersionsInOneButNotTwo

Gets the versions in baseline (or stream) one, but not in baseline (or stream) two

VersionsInTwoButNotOne

Gets the versions in baseline (or stream) two, but not in baseline (or stream) one

Methods

Compare

Invokes the comparison operation

Examples

Comparing baselines

Creation

You can get a CCBaselineComparison object from the following interface:

ActivitiesInOneButNotTwo

Gets the activities in baseline (or stream) one, but not in baseline (or stream) two

Category

Read-only property

VB syntax

Property ActivitiesInOneButNotTwo As CCActivities

Visual C++ syntax

ICCActivitiesPtr GetActivitiesInOneButNotTwo();

Remarks

This property holds the results of a comparison operation. It is valid only after the Compare method is invoked.

Member of: ICCBaselineComparison interface

ActivitiesInTwoButNotOne

Gets the activities in baseline (or stream) two, but not in baseline (or stream) one

Category

Read-only property

VB syntax

Property ActivitiesInTwoButNotOne As CCActivities

Visual C++ syntax

ICCActivitiesPtr GetActivitiesInTwoButNotOne();

Remarks

This property holds the results of a comparison operation. It is valid only after the Compare method is invoked.

Member of: ICCBaselineComparison interface

BaselineOne

Gets and sets the first baseline to compare

Category

Read-write property

VB syntax

Property BaselineOne As CCBaseline

Visual C++ syntax

ICCBaselinePtr GetBaselineOne();
void PutBaselineOne();

Remarks

This property sets up a parameter for the comparison operation. Only one of {BaselineOne, StreamOne} may be set at a time. To clear the baseline (or stream) parameter, set the property to Nothing. If StreamOne is set, PutBaselineOne clears StreamOne.

Member of: ICCBaselineComparison interface

BaselineTwo

Gets and sets the second baseline to compare

Category

Read-write property

VB syntax

Property BaselineTwo As CCBaseline

Visual C++ syntax

ICCBaselinePtr GetBaselineTwo();
void PutBaselineTwo();

Remarks

This property sets up a parameter for the comparison operation. Only one of {BaselineTwo, StreamTwo} may be set at a time. To clear the baseline (or stream) parameter, set the property to Nothing. If StreamTwo is set, PutBaselineTwo clears StreamTwo.

Member of: ICCBaselineComparison interface

ChangedActivities

Gets the activities that appear in both baselines (or streams), but are different in each

Category

Read-only property

VB syntax

Property ChangedActivities As CCActivities

Visual C++ syntax

ICCActivitiesPtr GetChangedActivities();

Remarks

This property holds the results of a comparison operation. It is valid only after the Compare method is invoked.

Member of: ICCBaselineComparison interface

Compare

Invokes the comparison operation

The read-only properties become valid after this operation has been invoked.

Category

Method

VB syntax

Sub Compare()

Visual C++ syntax

HRESULT Compare();

Member of: ICCBaselineComparison interface

StreamOne

Gets and sets the first stream to compare

Category

Read-write property

VB syntax

Property StreamOne As CCStream

Visual C++ syntax

ICCStreamPtr GetStreamOne();
void PutStreamOne();

Remarks

This property sets up a parameter for the comparison operation. Only one of {BaselineOne, StreamOne} may be set at a time. To clear the baseline (or stream) parameter, set the property to Nothing. If BaselineOne is set, PutStreamOne clears BaselineOne.

Member of: ICCBaselineComparison interface

StreamTwo

Gets and sets the second stream to compare

Category

Read-write property

VB syntax

Property StreamTwo As CCStream

Visual C++ syntax

ICCStreamPtr GetStreamTwo();
void PutStreamTwo();

Remarks

This property sets up a parameter for the comparison operation. Only one of {BaselineTwo, StreamTwo} may be set at a time. To clear the baseline (or stream) parameter, set the property to Nothing. If BaselineTwo is set, PutStreamTwo clears BaselineTwo.

Member of: ICCBaselineComparison interface

VersionsInOneButNotTwo

Gets the versions in baseline (or stream) one, but not in baseline (or stream) two

Category

Read-only property

VB syntax

Property VersionsInOneButNotTwo As CCVersions

Visual C++ syntax

ICCVersionsPtr GetVersionsInOneButNotTwo();

Remarks

This property holds the results of a comparison operation. It is valid only after the Compare method is invoked.

Member of: ICCBaselineComparison interface

VersionsInTwoButNotOne

Gets the versions in baseline (or stream) two, but not in baseline (or stream) one

Category

Read-only property

VB syntax

Property VersionsInTwoButNotOne As CCVersions

Visual C++ syntax

ICCVersionsPtr GetVersionsInTwoButNotOne();

Remarks

This property holds the results of a comparison operation. It is valid only after the Compare method is invoked.

Member of: ICCBaselineComparison interface


Feedback