17 #ifndef TESSERACT_TRAINING_FILEIO_H_    18 #define TESSERACT_TRAINING_FILEIO_H_    24 #ifdef USE_STD_NAMESPACE    36   static FILE* 
Open(
const string& filename, 
const string& mode);
    43   static bool Readable(
const string& filename);
    50   static string JoinPath(
const string& prefix, 
const string& suffix);
    52   static bool Delete(
const char* pathname);
    68   bool Read(
string* out);
    89   void WriteString(
const string& str);
   100 #endif  // TESSERACT_TRAINING_FILEIO_H_ static void WriteStringToFileOrDie(const string &str, const string &filename)
 
static bool DeleteMatchingFiles(const char *pattern)
 
static FILE * Open(const string &filename, const string &mode)
 
static string JoinPath(const string &prefix, const string &suffix)
 
static FILE * OpenOrDie(const string &filename, const string &mode)
 
static bool Readable(const string &filename)
 
static bool Delete(const char *pathname)
 
static bool ReadFileToString(const string &filename, string *out)