GridComputing
Job Management in Grid Computing
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
file.cpp File Reference
#include "file.h"
#include "log.h"
#include <cstdio>
#include <memory>

Namespaces

namespace  File
 

Functions

bool File::Load (const char *fileName, char *&buffer, size_t &size)
 Loads a file to a buffer of bytes (char)
 
bool File::Save (const char *fileName, const char *buffer, size_t size)
 Saves a file from a buffer of bytes (char)
 
bool File::Remove (const char *fileName)
 Deletes file with the given file name.