DataStream<TObject> Class

Serves as the abstract base class for classes that represent data files that contain objects of a certain type.

Definition

Namespace: Extreme.Data
Assembly: Extreme.Data (in Extreme.Data.dll) Version: 3.2.0
C#
public abstract class DataStream<TObject> : DataStream
where TObject : Object, IDataObject<TObject>
Inheritance
Object  →  DataStream  →  DataStream<TObject>
Derived

Type Parameters

TObject
The type of the objects stored in the data stream.

Constructors

DataStream<TObject>Initializes a new instance of the DataStream<TObject> class

Properties

CanRead Gets whether the file can be read from.
(Inherited from DataStream)
CanWrite Gets whether the file can be written to.
(Inherited from DataStream)
Converter Gets an object that converts between data objects and vectors, matrices, and data frames.

Methods

Dispose() Releases unmanaged resources.
(Inherited from DataStream)
Dispose(Boolean) Releases resources.
(Inherited from DataStream)
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Flush Causes any buffered data to be written to the underlying data store.
(Inherited from DataStream)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ReadDataFrame<R>(Int32, Boolean) Reads a data frame from the file.
(Inherited from DataStream)
ReadDataFrame<R>(String, Boolean) Reads a data frame from the file.
(Inherited from DataStream)
ReadDataFrame<R, C>() Reads the data frame at the current position in the file.
(Overrides DataStream.ReadDataFrame<R, C>())
ReadDataFrame<R, C>(C, Boolean) Reads a data frame from the file.
(Inherited from DataStream)
ReadMatrix<T> Reads the two-dimensional array at the current position in the file.
(Overrides DataStream.ReadMatrix<T>(Boolean))
ReadObject Reads an object from the data stream.
ReadVector<T> Reads the one-dimensional array at the current position in the file.
(Overrides DataStream.ReadVector<T>(Boolean))
ToStringReturns a string that represents the current object.
(Inherited from Object)
TryReadObject Attempts to read an object from the data stream.
Write<T>(Matrix<T>) Writes the two-dimensional array at the current position in the file.
(Inherited from DataStream)
Write<T>(Matrix<T>) Writes the two-dimensional array at the current position in the file.
(Overrides DataStream.Write<T>(Matrix<T>))
Write<T>(Vector<T>) Writes the one-dimensional array at the current position in the file.
(Inherited from DataStream)
Write<T>(Vector<T>) Writes the one-dimensional array at the current position in the file.
(Overrides DataStream.Write<T>(Vector<T>))
Write<R, C>(DataFrame<R, C>) Writes the data frame at the current position in the file.
(Inherited from DataStream)
Write<R, C>(DataFrame<R, C>) Writes the data frame at the current position in the file.
(Overrides DataStream.Write<R, C>(DataFrame<R, C>))
WriteObject Writes an object to the data stream.

See Also