Class OsmStreamSource
An abstract representation of an OSM source stream.
Inheritance
Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public abstract class OsmStreamSource : IEnumerable<OsmGeo>, IEnumerator<OsmGeo>Constructors
OsmStreamSource()
Creates a new source.
Declaration
protected OsmStreamSource()Properties
CanReset
Returns true if this source can be reset.
Declaration
public abstract bool CanReset { get; }Property Value
| System.Boolean 
 | 
IsSorted
Returns true if this source never returns a way or relation before an node or a relation before a way.
Declaration
public virtual bool IsSorted { get; }Property Value
| System.Boolean 
 | 
Meta
Gets the meta-data.
Declaration
public TagsCollectionBase Meta { get; }Property Value
| TagsCollectionBase 
 | 
Methods
Current()
Dispose()
Disposes all resources associated with this source.
Declaration
public virtual void Dispose()EnumerateAndIgore(Boolean, Boolean, Boolean)
Returns an enumerable that ignores some types of objects.
Declaration
public IEnumerable<OsmGeo> EnumerateAndIgore(bool ignoreNodes, bool ignoreWays, bool ignoreRelations)Parameters
| System.Boolean
        ignoreNodes 
 | 
| System.Boolean
        ignoreWays 
 | 
| System.Boolean
        ignoreRelations 
 | 
Returns
| IEnumerable<OsmGeo> 
 | 
GetAllMeta()
Gets all meta-data from all sources and filters that provide this source of data.
Declaration
public virtual TagsCollection GetAllMeta()Returns
| TagsCollection 
 | 
GetEnumerator()
Returns the enumerator for this enumerable.
Declaration
public IEnumerator<OsmGeo> GetEnumerator()Returns
| IEnumerator<OsmGeo> 
 | 
MoveNext()
Move to the next item in the stream.
Declaration
public bool MoveNext()Returns
| System.Boolean 
 | 
MoveNext(Boolean, Boolean, Boolean)
Move to the next item in the stream.
Declaration
public abstract bool MoveNext(bool ignoreNodes, bool ignoreWays, bool ignoreRelations)Parameters
| System.Boolean
        ignoreNodes 
 | 
| System.Boolean
        ignoreWays 
 | 
| System.Boolean
        ignoreRelations 
 | 
Returns
| System.Boolean 
 | 
MoveNextNode()
Move to the next node.
Declaration
public bool MoveNextNode()Returns
| System.Boolean 
 | 
MoveNextRelation()
Move to the next relation.
Declaration
public bool MoveNextRelation()Returns
| System.Boolean 
 | 
MoveNextWay()
Move to the next way.
Declaration
public bool MoveNextWay()Returns
| System.Boolean 
 | 
Reset()
Resets the source to the beginning.
Declaration
public abstract void Reset()Explicit Interface Implementations
IEnumerator.Current
Returns the current object.
Declaration
object IEnumerator.Current { get; }Returns
| System.Object 
 |