40 ofilestream(
const char* filename, std::ios_base::openmode mode = std::ios_base::out);
41 ofilestream(
const char* filename,
const Config& cfgreader, std::ios_base::openmode mode = std::ios_base::out);
42 ofilestream(
const std::string filename, std::ios_base::openmode mode = std::ios_base::out);
43 ofilestream(
const std::string filename,
const Config& cfgreader, std::ios_base::openmode mode = std::ios_base::out);
46 void open(
const char* filename, std::ios_base::openmode mode = std::ios_base::out);
53 static std::string initializeFilesystem(
const char* filename,
const Config& cfgreader);
54 static std::string initializeFilesystem(
const char* filename,
bool write_directories);
55 static bool write_directories_default;
56 static bool keep_old_files;
59 static std::string cutPathToLimitDir(
const std::string &path);
60 static std::string limitAccess(std::string path,
const bool& write_directories);
62 static bool warn_abs_path;
A class that reads a key/value file. These files (typically named *.ini) follow the INI file format s...
Definition: Config.h:79
void setOfstreamDefault(const Config &i_cfg)
Definition: IOManager.cc:312
A class that extends std::ofstream, adding some output functionality. Limiting the write access of th...
Definition: FStream.h:37
static bool getDefault()
Definition: FStream.cc:210
ofilestream()
Definition: FStream.h:39
void open(const char *filename, std::ios_base::openmode mode=std::ios_base::out)
The actual writing function.
Definition: FStream.cc:177
static void createDirectoriesOfFile(const char *filename)
Definition: FStream.cc:224
static std::string getLimitBaseDir()
Definition: FStream.cc:215