Show / Hide Table of Contents

Class DirectedMetaGraph.EdgeEnumerator

Represents the internal edge enumerator.

Inheritance
System.Object
DirectedMetaGraph.EdgeEnumerator
Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public sealed class EdgeEnumerator : IEnumerable<MetaEdge>, IEnumerator<MetaEdge>

Constructors

EdgeEnumerator(DirectedMetaGraph, DirectedGraph.EdgeEnumerator)

Creates a new edge enumerator.

Declaration
public EdgeEnumerator(DirectedMetaGraph graph, DirectedGraph.EdgeEnumerator enumerator)
Parameters
DirectedMetaGraph graph

DirectedGraph.EdgeEnumerator enumerator

Properties

Count

Returns the number of edges in this enumerator.

Declaration
public int Count { get; }
Property Value
System.Int32

Current

Gets the current edge.

Declaration
public MetaEdge Current { get; }
Property Value
MetaEdge

Data

Returns the current edge data.

Declaration
public uint[] Data { get; }
Property Value
System.UInt32[]

Data0

Returns the first entry in the edge data.

Declaration
public uint Data0 { get; }
Property Value
System.UInt32

Id

Returns the edge id.

Declaration
public uint Id { get; }
Property Value
System.UInt32

MetaData

Returns the current edge meta-data.

Declaration
public uint[] MetaData { get; }
Property Value
System.UInt32[]

MetaData0

Returns the current edge meta-data.

Declaration
public uint MetaData0 { get; }
Property Value
System.UInt32

Neighbour

Returns the current neighbour.

Declaration
public uint Neighbour { get; }
Property Value
System.UInt32

Methods

Dispose()

Disposes.

Declaration
public void Dispose()

GetEnumerator()

Gets the enumerator.

Declaration
public IEnumerator<MetaEdge> GetEnumerator()
Returns
IEnumerator<MetaEdge>

MoveNext()

Move to the next edge.

Declaration
public bool MoveNext()
Returns
System.Boolean

MoveTo(UInt32)

Moves this enumerator to the given vertex.

Declaration
public bool MoveTo(uint vertex)
Parameters
System.UInt32 vertex

Returns
System.Boolean

Reset()

Resets this enumerator.

Declaration
public void Reset()

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Returns the enumerator.

Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
System.Collections.IEnumerator

IEnumerator.Current

Gets the current edge.

Declaration
object IEnumerator.Current { get; }
Returns
System.Object

Back to top Built by Itinero, MIT licensed.