Show / Hide Table of Contents

Class BaseEventQueue<T>

Abstract base implementation of an Event Queue.
Inheritance
System.Object
BaseEventQueue<T>
EventQueue<T>
SublistEventQueue<T>
Implements
IEventQueue<T>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: VDS.RDF.Parsing.Events
Assembly: dotNetRDF.dll
Syntax
public abstract class BaseEventQueue<T> : IEventQueue<T> where T : IEvent
Type Parameters
Name Description
T

Fields

| Improve this Doc View Source

_eventgen

Generator used to fill the Event Queue.
Declaration
protected IEventGenerator<T> _eventgen
Field Value
Type Description
IEventGenerator<T>
| Improve this Doc View Source

_lasteventtype

Type of Last Event dequeued.
Declaration
protected int _lasteventtype
Field Value
Type Description
System.Int32
| Improve this Doc View Source

_tracing

Variable indicating whether Generator Tracing is enabled.
Declaration
protected bool _tracing
Field Value
Type Description
System.Boolean

Properties

| Improve this Doc View Source

Count

Gets the number of Events in the Queue.
Declaration
public abstract int Count { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

EventGenerator

Gets the Event Generator used by the Queue.
Declaration
public IEventGenerator<T> EventGenerator { get; }
Property Value
Type Description
IEventGenerator<T>
| Improve this Doc View Source

LastEventType

Gets the Event Type of the last Event dequeued.
Declaration
public int LastEventType { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

Tracing

Gets/Sets Tracing for the Event Queue.
Declaration
public bool Tracing { get; set; }
Property Value
Type Description
System.Boolean

Methods

| Improve this Doc View Source

Clear()

Clears the Event Queue.
Declaration
public abstract void Clear()
| Improve this Doc View Source

Dequeue()

Dequeues an Event from the Queue.
Declaration
public abstract T Dequeue()
Returns
Type Description
T
| Improve this Doc View Source

Enqueue(T)

Adds an Event to the Queue.
Declaration
public abstract void Enqueue(T e)
Parameters
Type Name Description
T e Event.
| Improve this Doc View Source

Peek()

Gets the next Event from the Queue without removing it from the queue.
Declaration
public abstract T Peek()
Returns
Type Description
T

Implements

IEventQueue<T>

Extension Methods

Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Fields
    • _eventgen
    • _lasteventtype
    • _tracing
  • Properties
    • Count
    • EventGenerator
    • LastEventType
    • Tracing
  • Methods
    • Clear()
    • Dequeue()
    • Enqueue(T)
    • Peek()
  • Implements
  • Extension Methods
Back to top Generated by DocFX