C# Class FastQuant.DataSeries

Inheritance: IDataSeries
Datei anzeigen Open project: fastquant/fastquant.dll Class Usage Examples

Public Methods

Method Description
Add ( DataObject obj ) : void
Clear ( ) : void
Contains ( DateTime dateTime ) : bool
DataSeries ( ) : System
DataSeries ( string name ) : System
Dump ( ) : void
FromReader ( BinaryReader reader, byte version ) : DataSeries
Get ( DateTime dateTime ) : DataObject
Get ( long index ) : DataObject
GetIndex ( DateTime dateTime, SearchOption option = SearchOption.Prev ) : long
Refresh ( ) : void
Remove ( long index ) : void
ToString ( ) : string
ToWriter ( BinaryWriter writer ) : void
Update ( long index, DataObject obj ) : void
this ( DateTime dateTime ) : DataObject
this ( long index ) : DataObject

Private Methods

Method Description
DeleteKey ( DataKey key ) : void
Flush ( ) : void
GetBuffer ( long position ) : byte[]
GetFirstKey ( ) : DataKey
GetKey ( DateTime dateTime, DataKey key = null, IndexOption option = IndexOption.Null ) : DataKey
GetKey ( long index, DataKey key = null ) : DataKey
GetNextKey ( DataKey key ) : DataKey
Init ( DataFile file, ObjectKey key ) : void
Insert ( DataObject obj ) : void
InsertKey ( DataKey key, DataKey keyAt ) : void
OpenRead ( ) : void
OpenWrite ( ) : void
ReadCache ( ) : IdArray
ReadKey ( long position ) : DataKey
SetNext ( DataKey key, long position ) : void
SetNext ( long key, long position ) : void
SetPrev ( DataKey key, long position ) : void
SetPrev ( long key, long position ) : void
WriteCache ( ) : void
WriteKey ( DataKey key ) : void

Method Details

Add() public method

public Add ( DataObject obj ) : void
obj DataObject
return void

Clear() public method

public Clear ( ) : void
return void

Contains() public method

public Contains ( DateTime dateTime ) : bool
dateTime DateTime
return bool

DataSeries() public method

public DataSeries ( ) : System
return System

DataSeries() public method

public DataSeries ( string name ) : System
name string
return System

Dump() public method

public Dump ( ) : void
return void

FromReader() public static method

public static FromReader ( BinaryReader reader, byte version ) : DataSeries
reader BinaryReader
version byte
return DataSeries

Get() public method

public Get ( DateTime dateTime ) : DataObject
dateTime DateTime
return DataObject

Get() public method

public Get ( long index ) : DataObject
index long
return DataObject

GetIndex() public method

public GetIndex ( DateTime dateTime, SearchOption option = SearchOption.Prev ) : long
dateTime DateTime
option SearchOption
return long

Refresh() public method

public Refresh ( ) : void
return void

Remove() public method

public Remove ( long index ) : void
index long
return void

ToString() public method

public ToString ( ) : string
return string

ToWriter() public method

public ToWriter ( BinaryWriter writer ) : void
writer BinaryWriter
return void

Update() public method

public Update ( long index, DataObject obj ) : void
index long
obj DataObject
return void

this() public method

public this ( DateTime dateTime ) : DataObject
dateTime DateTime
return DataObject

this() public method

public this ( long index ) : DataObject
index long
return DataObject