C# Class GitSharp.Core.RevWalk.RevObject

Base object type accessed during revision walking.
Inheritance: ObjectId
显示文件 Open project: jagregory/GitSharp Class Usage Examples

Public Methods

Method Description
DisposeBody ( ) : void

Release as much memory as possible from this object.

Equals ( AnyObjectId o ) : bool
Equals ( RevObject other ) : bool
Equals ( object o ) : bool
GetHashCode ( ) : int
ToString ( ) : string
add ( RevFlag flag ) : void

Add a flag to this object. If the flag is already set on this object then the method has no effect.

add ( RevFlagSet set ) : void

Add a set of flags to this object.

getId ( ) : ObjectId

Get the name of this object.

has ( RevFlag flag ) : bool

Test to see if the flag has been set on this object.

hasAll ( RevFlagSet set ) : bool

Test to see if all flags in the set have been set on this object.

hasAny ( RevFlagSet set ) : bool

Test to see if any flag in the set has been set on this object.

operator ( ) : bool
remove ( RevFlag flag ) : void

Remove a flag from this object. If the flag is not set on this object then the method has no effect.

remove ( RevFlagSet set ) : void

Remove a set of flags from this object.

Protected Methods

Method Description
RevObject ( AnyObjectId name ) : System

Private Methods

Method Description
appendCoreFlags ( StringBuilder s ) : void

loadCanonical ( RevWalk walk ) : byte[]
parseBody ( RevWalk walk ) : void
parseHeaders ( RevWalk walk ) : void

Method Details

DisposeBody() public method

Release as much memory as possible from this object.
public DisposeBody ( ) : void
return void

Equals() public method

public Equals ( AnyObjectId o ) : bool
o AnyObjectId
return bool

Equals() public method

public Equals ( RevObject other ) : bool
other RevObject
return bool

Equals() public method

public Equals ( object o ) : bool
o object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

RevObject() protected method

protected RevObject ( AnyObjectId name ) : System
name AnyObjectId
return System

ToString() public method

public ToString ( ) : string
return string

add() public method

Add a flag to this object. If the flag is already set on this object then the method has no effect.
public add ( RevFlag flag ) : void
flag RevFlag /// The flag to mark on this object, for later testing. ///
return void

add() public method

Add a set of flags to this object.
public add ( RevFlagSet set ) : void
set RevFlagSet /// The set of flags to mark on this object, for later testing. ///
return void

getId() public method

Get the name of this object.
public getId ( ) : ObjectId
return ObjectId

has() public method

Test to see if the flag has been set on this object.
public has ( RevFlag flag ) : bool
flag RevFlag the flag to test.
return bool

hasAll() public method

Test to see if all flags in the set have been set on this object.
public hasAll ( RevFlagSet set ) : bool
set RevFlagSet the flags to test.
return bool

hasAny() public method

Test to see if any flag in the set has been set on this object.
public hasAny ( RevFlagSet set ) : bool
set RevFlagSet the flags to test.
return bool

operator() public static method

public static operator ( ) : bool
return bool

remove() public method

Remove a flag from this object. If the flag is not set on this object then the method has no effect.
public remove ( RevFlag flag ) : void
flag RevFlag /// The flag to remove from this object. ///
return void

remove() public method

Remove a set of flags from this object.
public remove ( RevFlagSet set ) : void
set RevFlagSet /// The flag to remove from this object. ///
return void