Class RealValueFileEventStream
public class RealValueFileEventStream : FileEventStream, IObjectStream<Event?>, IDisposable
- Inheritance
-
RealValueFileEventStream
- Implements
- Inherited Members
Constructors
RealValueFileEventStream(FileInfo)
public RealValueFileEventStream(FileInfo file)
Parameters
fileFileInfo
RealValueFileEventStream(string)
public RealValueFileEventStream(string fileName)
Parameters
fileNamestring
RealValueFileEventStream(string, Encoding?)
public RealValueFileEventStream(string fileName, Encoding? encoding)
Parameters
Methods
ParseContexts(string[])
Parses the specified contexts and re-populates context array with features
and returns the values for these features. If all values are unspecified,
then null is returned.
public static float[]? ParseContexts(string[] contexts)
Parameters
contextsstring[]The contexts with real values specified.
Returns
- float[]
The value for each context or
nullif all values are unspecified.
Read()
Returns the next object. Calling this method repeatedly until it returns
null will return each object from the underlying source exactly once.
public override Event? Read()
Returns
- Event
the next object or
nullto signal that the stream is exhausted
Exceptions
- IOException
if there is an error during reading