CompositeDataStream<TObject>.Write Method

Definition

Namespace: Extreme.Data
Assembly: Extreme.Data (in Extreme.Data.dll) Version: 3.2.0

Overload List

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.
Write<T>(Matrix<T>) Writes the two-dimensional array at the current position in the file.
Write<T>(Matrix<T>) Writes the two-dimensional array at the current position in the file.
Write<T>(Vector<T>) Writes the one-dimensional array at the current position in the file.
Write<T>(Vector<T>) Writes the one-dimensional array at the current position in the file.
Write<T>(Vector<T>) Writes the one-dimensional array at the current position in the file.
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.
Write<R, C>(DataFrame<R, C>) Writes the data frame at the current position in the file.
Write<R, C>(DataFrame<R, C>) Writes the data frame at the current position in the file.
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.

CompositeDataStream<TObject>.Write<R, C>(DataFrame<R, C>)

Writes the data frame at the current position in the file.
C#
public override void Write<R, C>(
	DataFrame<R, C> value
)

Parameters

value  DataFrame<R, C>
 

Type Parameters

R
The type of the row keys of the data frame.
C
The type of the column keys of the data frame.

CompositeDataStream<TObject>.Write<T>(Dictionary<String, Matrix<T>>)

Writes matrices with the specified names to the data stream.
C#
public void Write<T>(
	Dictionary<string, Matrix<T>> values
)

Parameters

values  Dictionary<String, Matrix<T>>
A dictionary that maps names to matrices.

Type Parameters

T
The element type of the matrices.

Return Value

A dictionary containing the matrices read from the data stream using their name as the key.

CompositeDataStream<TObject>.Write<T>(Dictionary<String, Vector<T>>)

Writes all vectors with the specified element type to the data stream.
C#
public void Write<T>(
	Dictionary<string, Vector<T>> values
)

Parameters

values  Dictionary<String, Vector<T>>
 

Type Parameters

T
The element type of the vectors.

Return Value

A dictionary containing the vectors read from the data stream using their name as the key.

CompositeDataStream<TObject>.Write<R, C>(Dictionary<String, DataFrame<R, C>>)

Writes the specified data frames to the data stream.
C#
public void Write<R, C>(
	Dictionary<string, DataFrame<R, C>> values
)

Parameters

values  Dictionary<String, DataFrame<R, C>>
A dictionary containing the data frames that are to be written to the data stream.

Type Parameters

R
The type of the row keys of the data frame.
C
The type of the column keys of the data frame.

CompositeDataStream<TObject>.Write(IDictionary<String, TObject>)

Writes all objects to the data stream.
C#
public virtual void Write(
	IDictionary<string, TObject> values
)

Parameters

values  IDictionary<String, TObject>
 

Return Value

A dictionary that maps names to objects.

CompositeDataStream<TObject>.Write<T>(Matrix<T>)

Writes the two-dimensional array at the current position in the file.
C#
public override void Write<T>(
	Matrix<T> value
)

Parameters

value  Matrix<T>
 

Type Parameters

T
The element type of the matrix.

CompositeDataStream<TObject>.Write<T>(Vector<T>)

Writes the one-dimensional array at the current position in the file.
C#
public override void Write<T>(
	Vector<T> value
)

Parameters

value  Vector<T>
 

Type Parameters

T
The element type of the vector.

CompositeDataStream<TObject>.Write<R, C>(DataFrame<R, C>, String)

Writes the data frame with the specified name to the data stream.
C#
public void Write<R, C>(
	DataFrame<R, C> value,
	string name
)

Parameters

value  DataFrame<R, C>
The data frame to write to the stream.
name  String
The name of the matrix to read.

Type Parameters

R
The type of the row keys of the data frame.
C
The type of the column keys of the data frame.

Return Value

A data frame containing the data.

CompositeDataStream<TObject>.Write<T>(IEnumerable<Matrix<T>>, IEnumerable<String>)

Writes matrices with the specified names to the data stream.
C#
public void Write<T>(
	IEnumerable<Matrix<T>> values,
	IEnumerable<string> names
)

Parameters

values  IEnumerable<Matrix<T>>
A sequence of matrices to write.
names  IEnumerable<String>
A sequence of names of the matrices to write.

Type Parameters

T
The element type of the matrices.

Return Value

A dictionary containing the matrices read from the data stream using their name as the key.

CompositeDataStream<TObject>.Write<T>(IEnumerable<Vector<T>>, IEnumerable<String>)

Writes vectors with the specified names to the data stream.
C#
public void Write<T>(
	IEnumerable<Vector<T>> values,
	IEnumerable<string> names
)

Parameters

values  IEnumerable<Vector<T>>
A sequence of vectors to write.
names  IEnumerable<String>
A sequence of names of the vectors.

Type Parameters

T
The element type of the vectors.

Return Value

A dictionary containing the vectors read from the data stream using their name as the key.

CompositeDataStream<TObject>.Write<R, C>(IEnumerable<DataFrame<R, C>>, IEnumerable<String>)

Writes the specified data frames to the data stream.
C#
public void Write<R, C>(
	IEnumerable<DataFrame<R, C>> values,
	IEnumerable<string> names
)

Parameters

values  IEnumerable<DataFrame<R, C>>
A sequence of data frames.
names  IEnumerable<String>
A sequence of names corresponding to the data frames in values.

Type Parameters

R
The type of the row keys of the data frame.
C
The type of the column keys of the data frame.

CompositeDataStream<TObject>.Write<T>(Matrix<T>, String)

Writes the two-dimensional array with the specified name to the data stream.
C#
public void Write<T>(
	Matrix<T> matrix,
	string name
)

Parameters

matrix  Matrix<T>
The matrix to write to the data stream.
name  String
The name of the matrix in the data stream.

Type Parameters

T
The element type of the matrix.

Return Value

A matrix containing the data.

CompositeDataStream<TObject>.Write<T>(Vector<T>, String)

Writes the one-dimensional array with the specified name to the data stream.
C#
public void Write<T>(
	Vector<T> vector,
	string name
)

Parameters

vector  Vector<T>
The vector to write to the data stream.
name  String
The name of the matrix to read.

Type Parameters

T
The element type of the vector.

Return Value

A vector containing the data.

See Also