Composite Data Stream<TObject> Class
Specifies the methods and properties of a data file
that may contain multiple objects.
Definition
Namespace: Extreme.Data
Assembly: Extreme.Data (in Extreme.Data.dll) Version: 3.2.0
C#
Assembly: Extreme.Data (in Extreme.Data.dll) Version: 3.2.0
public abstract class CompositeDataStream<TObject> : DataStream<TObject>
where TObject : Object, IDataObject<TObject>
- Inheritance
- Object → DataStream → DataStream<TObject> → CompositeDataStream<TObject>
- Derived
Type Parameters
- TObject
Constructors
Composite | Initializes a new instance of the CompositeDataStream<TObject> class |
Properties
Can | Gets whether objects in the data stream can be accessed by name. |
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.
(Inherited from DataStream<TObject>) |
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 all objects from the data stream. |
Read | Reads all data frames from the data stream. |
Read | Reads all data frames from the data stream. |
Read | Reads all matrices with the specified element type from the data stream. |
Read | Reads all vectors with the specified element type from the data stream. |
Read | Reads the data frame with the specified name in the file. |
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<TObject>.ReadDataFrame<R, C>()) |
Read | Reads the data frame with the specified name in the file. |
Read |
Reads a data frame from the file.
(Inherited from DataStream) |
Read | Reads the data frames with the specified names from the data stream. |
Read | Reads the data frames with the specified names from the data stream. |
Read | Reads matrices with the specified names from the data stream. |
Read |
Reads the two-dimensional array at the current position in the file.
(Overrides DataStream<TObject>.ReadMatrix<T>(Boolean)) |
Read | Reads the two-dimensional array with the specified name in the file. |
Read |
Reads an object from the data stream.
(Overrides DataStream<TObject>.ReadObject()) |
Read | Reads the object with the specified name from the data stream. |
Read | Reads the symbol at the current position in the file. |
Read |
Reads the one-dimensional array at the current position in the file.
(Overrides DataStream<TObject>.ReadVector<T>(Boolean)) |
Read | Reads the one-dimensional array with the specified name in the file. |
Read | Reads vectors with the specified names from the data stream. |
ToString | Returns a string that represents the current object. (Inherited from Object) |
Try |
Attempts to read an object from the data stream.
(Overrides DataStream<TObject>.TryReadObject(TObject)) |
Try | Attempts to read a named object from the data stream. |
Try | Attempts to read a named object from the data stream. |
Write( | Writes all objects to the data stream. |
Write<T>(Dictionary<String, Matrix<T>>) | Writes matrices with the specified names to the data stream. |
Write<T>(Dictionary<String, Vector<T>>) | Writes all vectors with the specified element type to the data stream. |
Write<T>(Matrix<T>) |
Writes the two-dimensional array at the current position in the file.
(Overrides DataStream<TObject>.Write<T>(Matrix<T>)) |
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.
(Inherited from DataStream<TObject>) |
Write<T>(Vector<T>) |
Writes the one-dimensional array at the current position in the file.
(Overrides DataStream<TObject>.Write<T>(Vector<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.
(Inherited from DataStream<TObject>) |
Write<T>(IEnumerable<Matrix<T>>, IEnumerable<String>) | Writes matrices with the specified names to the data stream. |
Write<T>(IEnumerable<Vector<T>>, IEnumerable<String>) | Writes vectors with the specified names to the data stream. |
Write<T>(Matrix<T>, String) | Writes the two-dimensional array with the specified name to the data stream. |
Write<T>(Vector<T>, String) | Writes the one-dimensional array with the specified name to the data stream. |
Write<R, C>(DataFrame<R, C>) |
Writes the data frame at the current position in the file.
(Overrides DataStream<TObject>.Write<R, C>(DataFrame<R, C>)) |
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.
(Inherited from DataStream<TObject>) |
Write<R, C>(Dictionary<String, DataFrame<R, C>>) | Writes the specified data frames to the data stream. |
Write<R, C>(DataFrame<R, C>, String) | Writes the data frame with the specified name to the data stream. |
Write<R, C>(IEnumerable<DataFrame<R, C>>, IEnumerable<String>) | Writes the specified data frames to the data stream. |
Write |
Writes an object to the data stream.
(Overrides DataStream<TObject>.WriteObject(TObject)) |
Write | Writes the specified object to the data stream. |
Write | Writes the specified object to the data stream. |