#ifndef __ReadFromDatabase_h_ #define __ReadFromDatabase_h_ #include #include #include "StockInfo.h" // exchanges can be empty to use the default list. // Items in exchanges should be in the standard database format, i.e. "NASD" // results is set to the list that we get to the database. // This uses our standard database protocols. // It will retry forever. // It will read standard config info so it knows where to connect. // It will write status to the simple log file. void readFromDatabase(std::vector< std::string > const &exchanges, StockInfoList &results); #endif