Data Stream<TObject> Class
Serves as the abstract base class for classes that
represent data files that contain objects of a certain type.
Definition
Namespace: Numerics.NET.Data
Assembly: Numerics.NET.Data (in Numerics.NET.Data.dll) Version: 4.0.1
C#
Assembly: Numerics.NET.Data (in Numerics.NET.Data.dll) Version: 4.0.1
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
Data | Initializes a new instance of the DataStream<TObject> class |
Properties
Can |
Gets whether the file can be read from.
(Inherited from DataStream) |
Can |
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( |
Releases resources.
(Inherited from DataStream) |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
Finalize | Allows 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) |
Get | Serves as the default hash function. (Inherited from Object) |
Get | Gets the Type of the current instance. (Inherited from Object) |
Memberwise | Creates a shallow copy of the current Object. (Inherited from Object) |
Read |
Reads a data frame from the file.
(Inherited from DataStream) |
Read |
Reads a data frame from the file.
(Inherited from DataStream) |
Read |
Reads the data frame at the current position in the file.
(Overrides DataStream.ReadDataFrame<R, C>()) |
Read |
Reads a data frame from the file.
(Inherited from DataStream) |
Read |
Reads the two-dimensional array at the current position in the file.
(Overrides DataStream.ReadMatrix<T>(Boolean)) |
Read | Reads an object from the data stream. |
Read |
Reads the one-dimensional array at the current position in the file.
(Overrides DataStream.ReadVector<T>(Boolean)) |
ToString | Returns a string that represents the current object. (Inherited from Object) |
Try | 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>)) |
Write | Writes an object to the data stream. |