include/util/systemio.hpp File Reference

#include <limits.h>
#include <cstring>
#include <boost/filesystem.hpp>
#include "util/exception.hpp"

Go to the source code of this file.


namespace  aitools
namespace  aitools::util


void aitools::util::signal_error (const std::string &msg)
template<typename T >
void aitools::util::signal_error (const std::string &msg, const T &obj)
uint64_t aitools::util::directory_size (const bfs::path &dir)
void aitools::util::fclose (FILE *fs)
FILE * aitools::util::fopen (const bfs::path &path, const std::string &mode)
void aitools::util::fread (void *data, size_t size, size_t count, FILE *fs)
void aitools::util::fseek (FILE *fs, long offset, int origin)
void aitools::util::fwrite (const void *data, size_t size, size_t count, FILE *fs)
size_t aitools::util::ftell (FILE *fs)
void aitools::util::rewind (FILE *fs)
FILE * aitools::util::tmpfile ()
const bfs::path aitools::util::tmpdir (const bfs::path &parent_dir)
Generated on Wed May 30 15:07:26 2012 by  doxygen 1.6.3