23 #ifndef UTILS_BACKUP_FOSSOLOGYDBMIGRATE_HPP_ 24 #define UTILS_BACKUP_FOSSOLOGYDBMIGRATE_HPP_ 29 #include <boost/program_options.hpp> 36 #define MAX_BUFFER_LEN 1024 45 std::ifstream sourceFile;
46 std::ofstream destinationFile;
47 std::vector<icu::UnicodeString> buffer;
52 void write(
const icu::UnicodeString &output);
void flush()
Flush the buffers and reset the internal buffer.
const std::string dirtyRead()
void write(const icu::UnicodeString &output)
Write the string to file/stream.
FossologyUnicodeClean(std::string &source, std::string &destination)
General utility functions for CPP.
virtual ~FossologyUnicodeClean()