Composer for Instrument Profile Simple File Format. Please see Instrument Profile Format documentation for complete description.
More...
Composer for Instrument Profile Simple File Format. Please see Instrument Profile Format documentation for complete description.
◆ InstrumentProfileComposer()
com.dxfeed.ipf.impl.InstrumentProfileComposer.InstrumentProfileComposer |
( |
Stream |
outStream | ) |
|
|
inline |
Creates a new instrument profile composer.
- Parameters
-
- Exceptions
-
System.ArgumentNullException | |
System.ArgumentException | |
◆ Compose()
void com.dxfeed.ipf.impl.InstrumentProfileComposer.Compose |
( |
IList< InstrumentProfile > |
profiles, |
|
|
bool |
skipRemoved |
|
) |
| |
|
inline |
Atomically captures profile types to work correctly when profile type is being changed concurrently, otherwise, the method is not thread-safe.
- Parameters
-
profiles | List of instrument profiles. |
skipRemoved | When skipRemoved == true, it ignores removed instruments when composing. |
- Exceptions
-
System.ArgumentException | If attempt to write record without fields was made. |
System.IO.IOException | If an I/O error occurs. |
System.InvalidOperationException | Can't format certain profile. |
◆ ComposeComplete()
void com.dxfeed.ipf.impl.InstrumentProfileComposer.ComposeComplete |
( |
| ) |
|
|
inline |
Writes COMPLETE command.
- Exceptions
-
System.ArgumentException | If attempt to write record without fields was made. |
System.IO.IOException | If an I/O error occurs. |
◆ ComposeFlush()
void com.dxfeed.ipf.impl.InstrumentProfileComposer.ComposeFlush |
( |
| ) |
|
|
inline |
Writes FLUSH command
- Exceptions
-
System.ArgumentException | If attempt to write record without fields was made. |
System.IO.IOException | If an I/O error occurs. |
◆ ComposeNewLine()
void com.dxfeed.ipf.impl.InstrumentProfileComposer.ComposeNewLine |
( |
| ) |
|
|
inline |
Writes a new line.
- Exceptions
-
System.ArgumentException | If attempt to write record without fields was made. |
System.IO.IOException | If an I/O error occurs. |
◆ Dispose()
void com.dxfeed.ipf.impl.InstrumentProfileComposer.Dispose |
( |
| ) |
|
|
inline |
Dispose object.
- Exceptions
-
System.IO.IOException | If an I/O error occurs. |
The documentation for this class was generated from the following file:
- dxf_api/src/ipf/impl/InstrumentProfileComposer.cs