CompositeDataStream<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#
public abstract class CompositeDataStream<TObject> : DataStream<TObject>
where TObject : Object, IDataObject<TObject>
Inheritance
Object  →  DataStream  →  DataStream<TObject>  →  CompositeDataStream<TObject>
Derived

Type Parameters

TObject

Constructors

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

Properties

CanAccessByName Gets whether objects in the data stream can be accessed by name.
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.
(Inherited from DataStream<TObject>)

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)
ReadAll Reads all objects from the data stream.
ReadAllDataFrames() Reads all data frames from the data stream.
ReadAllDataFrames<R, C>() Reads all data frames from the data stream.
ReadAllMatrices<T> Reads all matrices with the specified element type from the data stream.
ReadAllVectors<T> Reads all vectors with the specified element type from the data stream.
ReadDataFrame(String) Reads the data frame with the specified name in the file.
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<TObject>.ReadDataFrame<R, C>())
ReadDataFrame<R, C>(String) Reads the data frame with the specified name in the file.
ReadDataFrame<R, C>(C, Boolean) Reads a data frame from the file.
(Inherited from DataStream)
ReadDataFrames(IEnumerable<String>) Reads the data frames with the specified names from the data stream.
ReadDataFrames<R, C>(IEnumerable<String>) Reads the data frames with the specified names from the data stream.
ReadMatrices<T> Reads matrices with the specified names from the data stream.
ReadMatrix<T>(Boolean) Reads the two-dimensional array at the current position in the file.
(Overrides DataStream<TObject>.ReadMatrix<T>(Boolean))
ReadMatrix<T>(String, Boolean) Reads the two-dimensional array with the specified name in the file.
ReadObject() Reads an object from the data stream.
(Overrides DataStream<TObject>.ReadObject())
ReadObject(String) Reads the object with the specified name from the data stream.
ReadSymbol Reads the symbol at the current position in the file.
ReadVector<T>(Boolean) Reads the one-dimensional array at the current position in the file.
(Overrides DataStream<TObject>.ReadVector<T>(Boolean))
ReadVector<T>(String, Boolean) Reads the one-dimensional array with the specified name in the file.
ReadVectors<T> Reads vectors with the specified names from the data stream.
ToStringReturns a string that represents the current object.
(Inherited from Object)
TryReadObject Attempts to read an object from the data stream.
(Overrides DataStream<TObject>.TryReadObject(TObject))
TryReadSymbol Attempts to read a named object from the data stream.
TryReadSymbolCore Attempts to read a named object from the data stream.
Write(IDictionary<String, TObject>) 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.
WriteObject Writes an object to the data stream.
(Overrides DataStream<TObject>.WriteObject(TObject))
WriteSymbol Writes the specified object to the data stream.
WriteSymbolCore Writes the specified object to the data stream.

See Also