#include <B2BITS_IceImpactApplication.h>
InstrumentLoadParams structure instructs the requestProductDefinitions() API call how to use the instrument definition cache file
IceImpact::InstrumentLoadParams::InstrumentLoadParams |
( |
| ) |
|
|
inline |
bool IceImpact::InstrumentLoadParams::addToOperationalProductDirectory |
Instructs the requestProductDefinitions() function to add the loaded instrument definitions to the operational product directory kept in memory. Set this parameter to false, if the only intent of calling requestProductDefinitions() is to to store downloaded instruments in a file. Default value: true
std::string IceImpact::InstrumentLoadParams::filename |
Path to the instrument definition file Default value: "ice_instruments.xml"
bool IceImpact::InstrumentLoadParams::loadFromDisk |
Instructs the requestProductDefinitions() function to load instrument definitions from file Default value: true
bool IceImpact::InstrumentLoadParams::requestMissingInstrByTCP |
Instructs the requestProductDefinitions() function to query ICE exchange for instrument definitions which are missing in the file. Default value: true
bool IceImpact::InstrumentLoadParams::storeFromOperationalProductDirectory |
Instructs the requestProductDefinitions() function to store the loaded instrument definitions from the operational product directory kept in memory instead of loaded cached directory updated with just requested data. This parameter is in power if only storeToDisk is true and addToOperationalProductDirectory is true as well. Default value: true
bool IceImpact::InstrumentLoadParams::storeToDisk |
Instructs the requestProductDefinitions() function to store instrument definitions in the file Default value: true