Extreme Optimization™: Complexity made simple.

Math and Statistics
Libraries for .NET

  • Home
  • Features
    • Math Library
    • Vector and Matrix Library
    • Statistics Library
    • Performance
    • Usability
  • Documentation
    • Introduction
    • Math Library User's Guide
    • Vector and Matrix Library User's Guide
    • Data Analysis Library User's Guide
    • Statistics Library User's Guide
    • Reference
  • Resources
    • Downloads
    • QuickStart Samples
    • Sample Applications
    • Frequently Asked Questions
    • Technical Support
  • Blog
  • Order
  • Company
    • About us
    • Testimonials
    • Customers
    • Press Releases
    • Careers
    • Partners
    • Contact us
Introduction
Deployment Guide
Nuget packages
Configuration
Using Parallelism
Expand Mathematics Library User's GuideMathematics Library User's Guide
Expand Vector and Matrix Library User's GuideVector and Matrix Library User's Guide
Expand Data Analysis Library User's GuideData Analysis Library User's Guide
Expand Statistics Library User's GuideStatistics Library User's Guide
Expand Data Access Library User's GuideData Access Library User's Guide
Expand ReferenceReference
  • Extreme Optimization
    • Features
    • Solutions
    • Documentation
    • QuickStart Samples
    • Sample Applications
    • Downloads
    • Technical Support
    • Download trial
    • How to buy
    • Blog
    • Company
    • Resources
  • Documentation
    • Introduction
    • Deployment Guide
    • Nuget packages
    • Configuration
    • Using Parallelism
    • Mathematics Library User's Guide
    • Vector and Matrix Library User's Guide
    • Data Analysis Library User's Guide
    • Statistics Library User's Guide
    • Data Access Library User's Guide
    • Reference
  • Reference
    • Extreme
    • Extreme.Collections
    • Extreme.Data
    • Extreme.Data.Json
    • Extreme.Data.Matlab
    • Extreme.Data.R
    • Extreme.Data.Stata
    • Extreme.Data.Text
    • Extreme.DataAnalysis
    • Extreme.DataAnalysis.Linq
    • Extreme.DataAnalysis.Models
    • Extreme.Mathematics
    • Extreme.Mathematics.Algorithms
    • Extreme.Mathematics.Calculus
    • Extreme.Mathematics.Calculus.OrdinaryDifferentialEquations
    • Extreme.Mathematics.Curves
    • Extreme.Mathematics.Curves.Nonlinear
    • Extreme.Mathematics.Distributed
    • Extreme.Mathematics.EquationSolvers
    • Extreme.Mathematics.Generic
    • Extreme.Mathematics.LinearAlgebra
    • Extreme.Mathematics.LinearAlgebra.Implementation
    • Extreme.Mathematics.LinearAlgebra.IterativeSolvers
    • Extreme.Mathematics.LinearAlgebra.IterativeSolvers.Preconditioners
    • Extreme.Mathematics.Optimization
    • Extreme.Mathematics.Optimization.LineSearches
    • Extreme.Mathematics.Random
    • Extreme.Mathematics.SignalProcessing
    • Extreme.Providers
    • Extreme.Providers.InteropServices
    • Extreme.Statistics
    • Extreme.Statistics.Distributions
    • Extreme.Statistics.Multivariate
    • Extreme.Statistics.Tests
    • Extreme.Statistics.TimeSeriesAnalysis
  • Extreme.Data
    • AutoCategorization Enumeration
    • CompositeDataStream(TObject) Class
    • DataExtensions Class
    • DataObjectConverter(TObject) Class
    • DataObjectKind Enumeration
    • DataStream Class
    • DataStream(TObject) Class
    • IDataObject(TObject) Interface
    • INamedDataFileObject(TObject) Interface
    • TextDataStream Class
    • TextOptions Class
    • TextOptionsExtensions Class
  • DataStream(TObject) Class
    • DataStream(TObject) Constructor
    • Properties
    • Methods

DataStreamTObject Class

Extreme Optimization Numerical Libraries for .NET Professional
Serves as the abstract base class for classes that represent data files that contain objects of a certain type.
Inheritance Hierarchy

SystemObject
  Extreme.DataDataStream
    Extreme.DataDataStreamTObject
      Extreme.DataCompositeDataStreamTObject
      Extreme.Data.RRdsStream

Namespace:  Extreme.Data
Assembly:  Extreme.Data (in Extreme.Data.dll) Version: 3.1.0
Syntax

C#
VB
C++
F#
Copy
public abstract class DataStream<TObject> : DataStream
where TObject : Object, IDataObject<TObject>
Public MustInherit Class DataStream(Of TObject As {Object, IDataObject(Of TObject)})
	Inherits DataStream
generic<typename TObject>
where TObject : Object, IDataObject<TObject>
public ref class DataStream abstract : public DataStream
[<AbstractClassAttribute>]
type DataStream<'TObject when 'TObject : Object and IDataObject<'TObject>> =  
    class
        inherit DataStream
    end

Type Parameters

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

The DataStreamTObject type exposes the following members.

Constructors

  NameDescription
Protected methodDataStreamTObject
Initializes a new instance of the DataStreamTObject class
Top
Properties

  NameDescription
Public propertyCanRead
Gets whether the file can be read from.
(Inherited from DataStream.)
Public propertyCanWrite
Gets whether the file can be written to.
(Inherited from DataStream.)
Public propertyConverter
Gets an object that converts between data objects and vectors, matrices, and data frames.
Top
Methods

  NameDescription
Public methodDispose
Releases unmanaged resources.
(Inherited from DataStream.)
Protected methodDispose(Boolean)
Releases resources.
(Inherited from DataStream.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFlush
Causes any buffered data to be written to the underlying data store.
(Inherited from DataStream.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodReadDataFrameR(Int32, Boolean)
Reads a data frame from the file.
(Inherited from DataStream.)
Public methodReadDataFrameR(String, Boolean)
Reads a data frame from the file.
(Inherited from DataStream.)
Public methodReadDataFrameR, C
Reads the data frame at the current position in the file.
(Overrides DataStreamReadDataFrameR, C.)
Public methodReadDataFrameR, C(C, Boolean)
Reads a data frame from the file.
(Inherited from DataStream.)
Public methodReadMatrixT
Reads the two-dimensional array at the current position in the file.
(Overrides DataStreamReadMatrixT(Boolean).)
Public methodReadObject
Reads an object from the data stream.
Public methodReadVectorT
Reads the one-dimensional array at the current position in the file.
(Overrides DataStreamReadVectorT(Boolean).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Protected methodTryReadObject
Attempts to read an object from the data stream.
Public methodWriteT(MatrixT)
Writes the two-dimensional array at the current position in the file.
(Inherited from DataStream.)
Public methodWriteT(MatrixT)
Writes the two-dimensional array at the current position in the file.
(Overrides DataStreamWriteT(MatrixT).)
Public methodWriteT(VectorT)
Writes the one-dimensional array at the current position in the file.
(Inherited from DataStream.)
Public methodWriteT(VectorT)
Writes the one-dimensional array at the current position in the file.
(Overrides DataStreamWriteT(VectorT).)
Public methodWriteR, C(DataFrameR, C)
Writes the data frame at the current position in the file.
(Inherited from DataStream.)
Public methodWriteR, C(DataFrameR, C)
Writes the data frame at the current position in the file.
(Overrides DataStreamWriteR, C(DataFrameR, C).)
Public methodWriteObject
Writes an object to the data stream.
Top
See Also

Reference

Extreme.Data Namespace

Copyright (c) 2004-2021 ExoAnalytics Inc.

Send comments on this topic to support@extremeoptimization.com

Copyright © 2004-2021, Extreme Optimization. All rights reserved.
Extreme Optimization, Complexity made simple, M#, and M Sharp are trademarks of ExoAnalytics Inc.
Microsoft, Visual C#, Visual Basic, Visual Studio, Visual Studio.NET, and the Optimized for Visual Studio logo
are registered trademarks of Microsoft Corporation.