C# Class FastQuant.DataSeries

Inheritance: IDataSeries
Afficher le fichier Open project: fastquant/fastquant.dll Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

public Add ( DataObject obj ) : void
obj DataObject
Résultat void

Clear() public méthode

public Clear ( ) : void
Résultat void

Contains() public méthode

public Contains ( DateTime dateTime ) : bool
dateTime DateTime
Résultat bool

DataSeries() public méthode

public DataSeries ( ) : System
Résultat System

DataSeries() public méthode

public DataSeries ( string name ) : System
name string
Résultat System

Dump() public méthode

public Dump ( ) : void
Résultat void

FromReader() public static méthode

public static FromReader ( BinaryReader reader, byte version ) : DataSeries
reader BinaryReader
version byte
Résultat DataSeries

Get() public méthode

public Get ( DateTime dateTime ) : DataObject
dateTime DateTime
Résultat DataObject

Get() public méthode

public Get ( long index ) : DataObject
index long
Résultat DataObject

GetIndex() public méthode

public GetIndex ( DateTime dateTime, SearchOption option = SearchOption.Prev ) : long
dateTime DateTime
option SearchOption
Résultat long

Refresh() public méthode

public Refresh ( ) : void
Résultat void

Remove() public méthode

public Remove ( long index ) : void
index long
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string

ToWriter() public méthode

public ToWriter ( BinaryWriter writer ) : void
writer BinaryWriter
Résultat void

Update() public méthode

public Update ( long index, DataObject obj ) : void
index long
obj DataObject
Résultat void

this() public méthode

public this ( DateTime dateTime ) : DataObject
dateTime DateTime
Résultat DataObject

this() public méthode

public this ( long index ) : DataObject
index long
Résultat DataObject