ICCProjectVOB interface

Description

The ICCProjectVOB interface represents the Rational® ClearCase® UCM project VOB object.

Inheritance

ICCProjectVOB
inherits from ICCVOB, which inherits from ICCVOBObject, which inherits from
IDispatch. ICCVOBObject interface ICCVOB interface

Read-only properties

Baseline

Gets a particular baseline in the project VOB

Component

Gets a particular component in the project VOB

Components

Gets the components in the project VOB

DefaultPromotionLevel

Gets the default promotion level in the project VOB

Folder

Gets a particular folder in the project VOB

NumberOfPromotionLevels

Gets the number of promotion levels in the project VOB

Project

Gets a particular project in the project VOB

Projects

Gets the projects in the project VOB

PromotionLevelsStringArray

Gets all promotion levels defined in the project VOB

RootFolder

Gets the root folder in the project VOB

Stream

Gets a particular stream in the project VOB

Examples

Creation

You can get a CCProjectVOB object from the following interfaces:

Baseline

Gets a particular baseline in the project VOB

Category

Read-only property

VB syntax

Property Baseline(Selector As String) As CCBaseline

Visual C++ syntax

ICCBaselinePtr GetBaseline(_bstr_t Selector);
Parameter
Description
Selector
An identifier of the form [baseline:]baseline-name[@vob-selector] to specify the baseline. vob-selector is optional only when you are cd'ed to the UCM project VOB containing the baseline.

Member of: ICCProjectVOB interface

Component

Gets a particular component in the project VOB

Category

Read-only property

VB syntax

Property Component(Selector As String) As CCComponent

Visual C++ syntax

ICCComponentPtr GetComponent(_bstr_t Selector);
Parameter
Description
Selector
An identifier of the form [component:]component-name[@vob-selector] to specify the component. vob-selector is optional only when you are cd'ed to the UCM project VOB containing the component.

Member of: ICCProjectVOB interface

Components

Gets the components in the project VOB

Category

Read-only property

VB syntax

Property Components As CCComponents

Visual C++ syntax

ICCComponentsPtr GetComponents();

Member of: ICCProjectVOB interface

DefaultPromotionLevel

Gets the default promotion level in the project VOB

Category

Read-only property

VB syntax

Property DefaultPromotionLevel As String

Visual C++ syntax

_bstr_t GetDefaultPromotionLevel();

Member of: ICCProjectVOB interface

Folder

Gets a particular folder in the project VOB

Category

Read-only property

VB syntax

Property Folder(Selector As String) As CCFolder

Visual C++ syntax

ICCFolderPtr GetFolder(_bstr_t Selector);
Parameter
Description
Selector
An identifier of the form [folder:]folder-name[@vob-selector] to specify the folder. vob-selector is optional only when you are cd'ed to the UCM project VOB containing the folder.

Remarks

To get all folders in a project VOB, get RootFolder and recursively iterate its SubFolders.

Member of: ICCProjectVOB interface

NumberOfPromotionLevels

Gets the number of promotion levels in the project VOB

Category

Read-only property

VB syntax

Property NumberOfPromotionLevels As Long

Visual C++ syntax

long GetNumberOfPromotionLevels();

Member of: ICCProjectVOB interface

Project

Gets a particular project in the project VOB

Category

Read-only property

VB syntax

Property Project(Selector As String) As CCProject

Visual C++ syntax

ICCProjectPtr GetProject(_bstr_t Selector);
Parameter
Description
Selector
An identifier of the form [project:]project-name[@vob-selector] to specify the project. vob-selector is optional only when you are cd'ed to the UCM project VOB containing the project.

Member of: ICCProjectVOB interface

Projects

Gets the projects in the project VOB

Category

Read-only property

VB syntax

Property Projects As CCProjects

Visual C++ syntax

ICCProjectsPtr GetProjects();

Remarks

To get all projects in the project VOB, get RootFolder and recursively iterate its SubFolders, getting the projects in each folder.

Member of: ICCProjectVOB interface

PromotionLevelsStringArray

Gets all promotion levels defined in the project VOB

Category

Read-only property

VB syntax

Property PromotionLevelsStringArray As Variant

Visual C++ syntax

variant_t GetPromotionLevelsStringArray();

Return value

An array of Variants that contains String values which represent the promotion levels defined in the project VOB is returned.

Member of: ICCProjectVOB interface

RootFolder

Gets the root folder in the project VOB

Category

Read-only property

VB syntax

Property RootFolder As CCFolder

Visual C++ syntax

ICCFolderPtr GetRootFolder();

Member of: ICCProjectVOB interface

Stream

Gets a particular stream in the project VOB

Category

Read-only property

VB syntax

Property Stream(Selector As String) As CCStream

Visual C++ syntax

ICCStreamPtr GetStream(_bstr_t Selector);
Parameter
Description
Selector
An identifier of the form [stream:]stream-name[@vob-selector] to specify the stream. vob-selector is optional only when you are cd'ed to the UCM project VOB containing the stream.

Member of: ICCProjectVOB interface


Feedback