BMA Server Framework
/home/barant/Development/BMA/server_core/ServerCore/BMAFile.h
1
#ifndef __BMAFile_h__
2
#define __BMAFile_h__
3
4
#include "includes"
5
11
12
class
BMAFile
{
13
14
public
:
15
BMAFile
(std::string fileName,
int
mode = O_RDONLY,
int
authority = 0664);
16
~
BMAFile
();
17
void
setBufferSize(
size_t
size);
18
void
read();
19
void
write(std::string data);
20
21
char
*buffer;
22
size_t
size;
23
24
std::string fileName;
25
26
private
:
27
int
fd;
28
29
};
30
31
#endif
BMAFile
Definition:
BMAFile.h:12
Generated by
1.8.13