C# Class Smrf.NodeXL.Core.VertexCollection

Represents a collection of vertices.
This is a collection of objects that implement the IVertex interface. You can add vertices to the collection, remove them, access a vertex, and enumerate all vertices.
Inheritance: NodeXLBase, IVertexCollection
Afficher le fichier Open project: 2014-sed-team3/term-project Class Usage Examples

Protected Properties

Свойство Type Description
m_oLinkedList LinkedList
m_oParentGraph IGraph

Méthodes publiques

Méthode Description
Add ( ) : IVertex
Add ( IVertex vertex ) : void
AssertValid ( ) : void
Clear ( ) : void
Contains ( IVertex vertex ) : System.Boolean
Contains ( Int32 id ) : System.Boolean
Contains ( String name ) : System.Boolean
CopyTo ( IVertex array, Int32 index ) : void
Find ( Int32 id, IVertex &vertex ) : System.Boolean
Find ( String name, IVertex &vertex ) : System.Boolean
GetEnumerator ( ) : IEnumerator
GetReverseEnumerable ( ) : IEnumerable
Remove ( IVertex vertex ) : System.Boolean
Remove ( Int32 id ) : System.Boolean
Remove ( String name ) : System.Boolean
ToString ( ) : String
VertexCollection ( IGraph parentGraph ) : System

Initializes a new instance of the VertexCollection class.

Méthodes protégées

Méthode Description
Find ( System.Boolean bByID, Int32 iID, String sName, LinkedListNode &oLinkedListNode ) : System.Boolean
Remove ( LinkedListNode oLinkedListNode ) : void

Private Methods

Méthode Description
System ( ) : System.Collections.IEnumerator

Method Details

Add() public méthode

public Add ( ) : IVertex
Résultat IVertex

Add() public méthode

public Add ( IVertex vertex ) : void
vertex IVertex
Résultat void

AssertValid() public méthode

public AssertValid ( ) : void
Résultat void

Clear() public méthode

public Clear ( ) : void
Résultat void

Contains() public méthode

public Contains ( IVertex vertex ) : System.Boolean
vertex IVertex
Résultat System.Boolean

Contains() public méthode

public Contains ( Int32 id ) : System.Boolean
id System.Int32
Résultat System.Boolean

Contains() public méthode

public Contains ( String name ) : System.Boolean
name String
Résultat System.Boolean

CopyTo() public méthode

public CopyTo ( IVertex array, Int32 index ) : void
array IVertex
index System.Int32
Résultat void

Find() protected méthode

protected Find ( System.Boolean bByID, Int32 iID, String sName, LinkedListNode &oLinkedListNode ) : System.Boolean
bByID System.Boolean
iID System.Int32
sName String
oLinkedListNode LinkedListNode
Résultat System.Boolean

Find() public méthode

public Find ( Int32 id, IVertex &vertex ) : System.Boolean
id System.Int32
vertex IVertex
Résultat System.Boolean

Find() public méthode

public Find ( String name, IVertex &vertex ) : System.Boolean
name String
vertex IVertex
Résultat System.Boolean

GetEnumerator() public méthode

public GetEnumerator ( ) : IEnumerator
Résultat IEnumerator

GetReverseEnumerable() public méthode

public GetReverseEnumerable ( ) : IEnumerable
Résultat IEnumerable

Remove() public méthode

public Remove ( IVertex vertex ) : System.Boolean
vertex IVertex
Résultat System.Boolean

Remove() public méthode

public Remove ( Int32 id ) : System.Boolean
id System.Int32
Résultat System.Boolean

Remove() public méthode

public Remove ( String name ) : System.Boolean
name String
Résultat System.Boolean

Remove() protected méthode

protected Remove ( LinkedListNode oLinkedListNode ) : void
oLinkedListNode LinkedListNode
Résultat void

ToString() public méthode

public ToString ( ) : String
Résultat String

VertexCollection() public méthode

Initializes a new instance of the VertexCollection class.
public VertexCollection ( IGraph parentGraph ) : System
parentGraph IGraph /// The that owns this collection. ///
Résultat System

Property Details

m_oLinkedList protected_oe property

protected LinkedList m_oLinkedList
Résultat LinkedList

m_oParentGraph protected_oe property

protected IGraph m_oParentGraph
Résultat IGraph