BitcoinExchange.hpp
1 /* ************************************************************************** */ 2 /* */ 3 /* ::: :::::::: */ 4 /* BitcoinExchange.hpp :+: :+: :+: */ 5 /* +:+ +:+ +:+ */ 6 /* By: gychoi <gychoi@student.42seoul.kr> +#+ +:+ +#+ */ 7 /* +#+#+#+#+#+ +#+ */ 8 /* Created: 2024/01/12 18:13:42 by gychoi #+# #+# */ 9 /* Updated: 2024/01/14 21:47:08 by gychoi ### ########.fr */ 10 /* */ 11 /* ************************************************************************** */ 12 13 #ifndef __BITCOIN_EXCHANGE_HPP__ 14 #define __BITCOIN_EXCHANGE_HPP__ 15 16 #include <algorithm> 17 #include <cctype> 18 #include <ctime> 19 #include <cstdlib> 20 #include <fstream> 21 #include <limits> 22 #include <map> 23 #include <sstream> 24 #include <string> 25 #include <iostream> 26 27 class BitcoinExchange 28 { 29 private: 30 BitcoinExchange(); 31 BitcoinExchange(BitcoinExchange const& other); 32 BitcoinExchange& operator=(BitcoinExchange const& other); 33 ~BitcoinExchange(); 34 35 public: 36 static void setExchangeMap(char const* path); 37 static void execute(char const* path); 38 39 private: 40 static std::map<std::time_t, double> sDataMap; 41 }; 42 43 #endif /* __BITCOIN_EXCHANGE_HPP__ */