#include <fileio.h>
|
static FILE * | OpenOrDie (const std::string &filename, const std::string &mode) |
|
static FILE * | Open (const std::string &filename, const std::string &mode) |
|
static void | WriteStringToFileOrDie (const std::string &str, const std::string &filename) |
|
static bool | Readable (const std::string &filename) |
|
static bool | ReadFileToString (const std::string &filename, std::string *out) |
|
static std::string | JoinPath (const std::string &prefix, const std::string &suffix) |
|
static bool | Delete (const char *pathname) |
|
static bool | DeleteMatchingFiles (const char *pattern) |
|
◆ Delete()
bool tesseract::File::Delete |
( |
const char * |
pathname | ) |
|
|
static |
◆ DeleteMatchingFiles()
bool tesseract::File::DeleteMatchingFiles |
( |
const char * |
pattern | ) |
|
|
static |
◆ JoinPath()
std::string tesseract::File::JoinPath |
( |
const std::string & |
prefix, |
|
|
const std::string & |
suffix |
|
) |
| |
|
static |
◆ Open()
FILE * tesseract::File::Open |
( |
const std::string & |
filename, |
|
|
const std::string & |
mode |
|
) |
| |
|
static |
◆ OpenOrDie()
FILE * tesseract::File::OpenOrDie |
( |
const std::string & |
filename, |
|
|
const std::string & |
mode |
|
) |
| |
|
static |
◆ Readable()
bool tesseract::File::Readable |
( |
const std::string & |
filename | ) |
|
|
static |
◆ ReadFileToString()
bool tesseract::File::ReadFileToString |
( |
const std::string & |
filename, |
|
|
std::string * |
out |
|
) |
| |
|
static |
◆ WriteStringToFileOrDie()
void tesseract::File::WriteStringToFileOrDie |
( |
const std::string & |
str, |
|
|
const std::string & |
filename |
|
) |
| |
|
static |
The documentation for this class was generated from the following files:
- /home/stephane/src/tesseract/src/ccutil/fileio.h
- /home/stephane/src/tesseract/src/ccutil/fileio.cpp