ICCBranchType インターフェイスは、Rational® ClearCase® ブランチ タイプ オブジェクトを表します。
すべてのブランチは、ブランチ タイプという種類のインスタンスです。一般に、個々のブランチ タイプに関連付けられる意味はユーザー定義です。 (一部のあらかじめ定義されている種類のブランチ タイプには Rational ClearCase自体にとっての意味があり、Rational ClearCase のインプリメンテーションの一部として使用されます。)
CCBranchType オブジェクトは、以下のインターフェイスから取得できます。
指定したバージョンから発生するブランチ タイプのインスタンス (ブランチ) を作成し、そのブランチをチェックアウトします
メソッド
Function Apply(pVersion As CCVersion, [Comment As String = "" ]) As CCCheckedOutFile
ICCCheckedOutFilePtr Apply( ICCVersion* pVersion, _bstr_t Comment);
チェックアウト済みのブランチ。
指定したバージョンから発生するブランチ タイプのインスタンス (ブランチ) を作成し、そのブランチをチェックアウトしません
メソッド
Sub ApplyNoCheckOut(pVersion As CCVersion, [ CommentAs String = "" ])
HRESULT ApplyNoCheckOut( ICCVersion* pVersion, _bstr_t Comment);
次のメンバー: ICCBranchType インターフェイス
このブランチ タイプの制約 (例: エレメントにつき 1 つ) を取得します
読み取り専用プロパティ
Property Constraint As CCTypeConstraint
CCTypeConstraint GetConstraint();
CCTypeConstraint の値。
このブランチ タイプをロックします
メソッド
Sub CreateLock([ Comment As String = "" ], [ Obsolete As Boolean = False ], [ ExemptUsersStringArray As Variant ])
HRESULT CreateLock( _bstr_t Comment, VARIANT_BOOL Obsolete, const _variant_t& ExemptUsersStringArray = vtMissing);
このブランチ タイプが属しているグループを取得します
読み取り専用プロパティ
Property Group As String
_bstr_t GetGroup();
このブランチ タイプ上のロックを取得します
読み取り専用プロパティ
Property Lock As CCLock
ICCLockPtr GetLock();
このブランチ タイプのマスター レプリカを取得します
読み取り専用プロパティ
Property Master As String
_bstr_t GetMaster();
たいていの場合、ユーザーはブランチ タイプのローカル コピー上で操作を行います。
このブランチ タイプの所有者を取得します
読み取り専用プロパティ
Property Owner As String
_bstr_t GetOwner();
VOB からこのブランチ タイプを削除します
メソッド
Sub RemoveType([ RemoveAllInstances As Boolean = False ],[ Comment As String = "" ])
HRESULT RemoveType( VARIANT_BOOL RemoveAllInstances, _bstr_t Comment);
次のメンバー: ICCBranchType インターフェイス
このブランチ タイプの範囲 (例: この VOB に対してローカル) を取得します
読み取り専用プロパティ
Property Scope As CCTypeScope
CCTypeScope GetScope();
CCTypeScope の値。
このブランチ タイプの制約 (例: エレメントにつき 1 つ) を設定します
メソッド
Sub SetConstraint(NewConstraint As CCTypeConstraint, [ Comment As String = "" ])
HRESULT SetConstraint( CCTypeConstraint NewConstraint, _bstr_t Comment);
このブランチ タイプが属するグループを設定します
メソッド
Sub SetGroup(NewGroup As String, [ Comment As String = "" ])
HRESULT SetGroup( _bstr_t NewGroup, _bstr_t Comment);
このブランチ タイプのマスター レプリカを設定します
メソッド
Sub SetMaster(Replica As String, [ Comment As String = "" ])
HRESULT SetMaster( _bstr_t Replica, _bstr_t Comment);
たいていの場合、ユーザーはブランチ タイプのローカル コピー上で操作を行います。
このブランチ タイプとこのブランチ タイプのすべてのインスタンスの名前を変更します
メソッド
Sub SetName(NewName As String, [ Comment As String = "" ])
HRESULT SetName( _bstr_t NewName, _bstr_t Comment);
このブランチ タイプの所有者を設定します。
メソッド
Sub SetOwner(NewOwner As String, [ Comment As String = "" ])
HRESULT SetOwner( _bstr_t NewOwner, _bstr_t Comment);
このブランチ タイプの範囲 (例: この VOB に対してローカル) を設定します
メソッド
Sub SetScope(Global As Boolean, [ Acquire As Boolean = False ],[ Comment As String = "" ])
HRESULT SetScope( VARIANT_BOOL Global, VARIANT_BOOL Acquire, _bstr_t Comment);