/home/barant/Development/BMA/server_core/ServerCore/BMAFile.h
#ifndef __BMAFile_h__
#define __BMAFile_h__
#include "includes"
class BMAFile {
public:
BMAFile(std::string fileName, int mode = O_RDONLY, int authority = 0664);
~BMAFile();
void setBufferSize(size_t size);
void read();
void write(std::string data);
char *buffer;
size_t size;
std::string fileName;
private:
int fd;
};
#endif
BMAFile
Definition: BMAFile.h:12