dxFeed .Net API  5.8.0
dxFeed .Net API library intended to provide market data access for DX clients
Public Member Functions | Protected Member Functions | Events | Private Attributes
com.dxfeed.ipf.impl.InstrumentProfileParser Class Reference

Parser for Instrument Profile Simple File Format. Please see Instrument Profile Format documentation for complete description. More...

Inheritance diagram for com.dxfeed.ipf.impl.InstrumentProfileParser:
[legend]
Collaboration diagram for com.dxfeed.ipf.impl.InstrumentProfileParser:
[legend]

Public Member Functions

delegate void OnFlushEventHandler (object sender, EventArgs e)
 
delegate void OnCompleteEventHandler (object sender, EventArgs e)
 
 InstrumentProfileParser (Stream stream)
 Creates new instrument profile parser. More...
 
void Dispose ()
 
InstrumentProfile Next ()
 Return next instrument profile. More...
 

Protected Member Functions

void RaiseOnFlush ()
 
void RaiseOnComplete ()
 

Events

OnFlushEventHandler OnFlush
 
OnCompleteEventHandler OnComplete
 

Private Attributes

Dictionary< string, object[]> formats = new Dictionary<string, object[]>()
 
CSVReader reader
 

Detailed Description

Parser for Instrument Profile Simple File Format. Please see Instrument Profile Format documentation for complete description.

Constructor & Destructor Documentation

◆ InstrumentProfileParser()

com.dxfeed.ipf.impl.InstrumentProfileParser.InstrumentProfileParser ( Stream  stream)
inline

Creates new instrument profile parser.

Parameters
streamStream from profiles will be read.
Exceptions
System.ArgumentExceptionStream does not support reading.
System.ArgumentNullExceptionStream is null.

Member Function Documentation

◆ Dispose()

void com.dxfeed.ipf.impl.InstrumentProfileParser.Dispose ( )
inline

◆ Next()

InstrumentProfile com.dxfeed.ipf.impl.InstrumentProfileParser.Next ( )
inline

Return next instrument profile.

Returns
Next instrument profile.
Exceptions
System.IO.IOException
com.dxfeed.ipf.InstrumentProfileFormatException

◆ OnCompleteEventHandler()

delegate void com.dxfeed.ipf.impl.InstrumentProfileParser.OnCompleteEventHandler ( object  sender,
EventArgs  e 
)

◆ OnFlushEventHandler()

delegate void com.dxfeed.ipf.impl.InstrumentProfileParser.OnFlushEventHandler ( object  sender,
EventArgs  e 
)

◆ RaiseOnComplete()

void com.dxfeed.ipf.impl.InstrumentProfileParser.RaiseOnComplete ( )
inlineprotected

◆ RaiseOnFlush()

void com.dxfeed.ipf.impl.InstrumentProfileParser.RaiseOnFlush ( )
inlineprotected

Field Documentation

◆ formats

Dictionary<string, object[]> com.dxfeed.ipf.impl.InstrumentProfileParser.formats = new Dictionary<string, object[]>()
private

◆ reader

CSVReader com.dxfeed.ipf.impl.InstrumentProfileParser.reader
private

Event Documentation

◆ OnComplete

OnCompleteEventHandler com.dxfeed.ipf.impl.InstrumentProfileParser.OnComplete

◆ OnFlush

OnFlushEventHandler com.dxfeed.ipf.impl.InstrumentProfileParser.OnFlush

The documentation for this class was generated from the following file: