libmoost
moost::io::file_operations Class Reference

Collection of file operations not easily doable using stdlib functions. More...

#include <file_operations.hpp>

List of all members.

Static Public Member Functions

static void change_size (const std::string &path, boost::int64_t length)
 Change the file of a size. Smaller sizes will truncate the file, larger sizes will pad the file with zeroes.

Static Private Member Functions

static std::string get_error_string (int err)
 Get an error string from an error code.

Detailed Description

Collection of file operations not easily doable using stdlib functions.

Definition at line 57 of file file_operations.hpp.


Member Function Documentation

static void moost::io::file_operations::change_size ( const std::string &  path,
boost::int64_t  length 
) [inline, static]

Change the file of a size. Smaller sizes will truncate the file, larger sizes will pad the file with zeroes.

Definition at line 81 of file file_operations.hpp.

Here is the call graph for this function:

static std::string moost::io::file_operations::get_error_string ( int  err) [inline, static, private]

Get an error string from an error code.

Definition at line 64 of file file_operations.hpp.

Here is the caller graph for this function:


The documentation for this class was generated from the following file: