Lines Matching refs:i_filePath
235 inline bool saveToFile(const std::string& i_filePath, in saveToFile() argument
243 std::cerr << "Save to file[ " << i_filePath in saveToFile()
260 l_outPutFileStream.open(i_filePath); in saveToFile()
271 std::cerr << "Error opening output file " << i_filePath in saveToFile()
279 << "Failed to write to file: " << i_filePath in saveToFile()
780 inline std::string readValueFromFile(const std::string& i_filePath) in readValueFromFile() argument
785 if (!std::filesystem::exists(i_filePath, l_ec)) in readValueFromFile()
788 "filesystem call exists failed for file [" + i_filePath + "]."}; in readValueFromFile()
799 if (std::filesystem::is_empty(i_filePath, l_ec)) in readValueFromFile()
801 std::cerr << "File[" << i_filePath << "] is empty." << std::endl; in readValueFromFile()
806 std::cerr << "is_empty file system call failed for file[" << i_filePath in readValueFromFile()
816 l_fileStream.open(i_filePath, std::ifstream::in); in readValueFromFile()
830 std::cerr << "File read operation failed for path[" << i_filePath in readValueFromFile()