Show / Hide Table of Contents

Class StreamingEventQueue<T>

Represents a Queue of events which are streamed from an instance of a IJitEventGenerator for use by an event based parser.

Inheritance
System.Object
BaseEventQueue<T>
EventQueue<T>
StreamingEventQueue<T>
Implements
IEventQueue<T>
Inherited Members
EventQueue<T>._events
EventQueue<T>.Clear()
BaseEventQueue<T>._eventgen
BaseEventQueue<T>._tracing
BaseEventQueue<T>._lasteventtype
BaseEventQueue<T>.EventGenerator
BaseEventQueue<T>.Tracing
BaseEventQueue<T>.LastEventType
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: VDS.RDF.Parsing.Events
Assembly: dotNetRdf.dll
Syntax
public class StreamingEventQueue<T> : EventQueue<T>, IEventQueue<T> where T : IEvent
Type Parameters
Name Description
T

Constructors

| Improve this Doc View Source

StreamingEventQueue(IJitEventGenerator<T>)

Creates a new Streaming Event Queue.

Declaration
public StreamingEventQueue(IJitEventGenerator<T> generator)
Parameters
Type Name Description
IJitEventGenerator<T> generator

Event Generator.

Properties

| Improve this Doc View Source

Count

Gets the Count of events in the queue.

Declaration
public override int Count { get; }
Property Value
Type Description
int
Overrides
VDS.RDF.Parsing.Events.EventQueue<T>.Count

Methods

| Improve this Doc View Source

Dequeue()

Gets the next event from the Queue and removes it from the Queue.

Declaration
public override T Dequeue()
Returns
Type Description
T
Overrides
VDS.RDF.Parsing.Events.EventQueue<T>.Dequeue()
| Improve this Doc View Source

Enqueue(T)

Adds an event to the Queue.

Declaration
public override void Enqueue(T e)
Parameters
Type Name Description
T e

Event.

Overrides
VDS.RDF.Parsing.Events.EventQueue<T>.Enqueue(T)
| Improve this Doc View Source

Peek()

Gets the next event from the Queue while leaving the Queue unchanged.

Declaration
public override T Peek()
Returns
Type Description
T
Overrides
VDS.RDF.Parsing.Events.EventQueue<T>.Peek()

Implements

IEventQueue<T>

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • StreamingEventQueue(IJitEventGenerator<T>)
  • Properties
    • Count
  • Methods
    • Dequeue()
    • Enqueue(T)
    • Peek()
  • Implements
  • Extension Methods
Back to top Generated by DocFX