qsim::IOFile

#include <io_file.h>

Controller for output logs with methods for writing to file.

Summary

Inheritance

Inherits from: qsim::IO

Public static functions

CloseStream(std::ifstream & fs)
void
StreamFromFile(const std::string & file)
std::ifstream
WriteToFile(const std::string & file, const std::string & content)
bool
WriteToFile(const std::string & file, const void *data, uint64_t size)
bool

Public static functions

CloseStream

void qsim::IOFile::CloseStream(
  std::ifstream & fs
)

StreamFromFile

std::ifstream qsim::IOFile::StreamFromFile(
  const std::string & file
)

WriteToFile

bool qsim::IOFile::WriteToFile(
  const std::string & file,
  const std::string & content
)

WriteToFile

bool qsim::IOFile::WriteToFile(
  const std::string & file,
  const void *data,
  uint64_t size
)