BFLibCPP 0.1
CPP Library
Loading...
Searching...
No Matches
file.hpp
Go to the documentation of this file.
1
6#ifndef FILE_HPP
7#define FILE_HPP
8
9#include <stdio.h>
10#include "path.hpp"
11
12#define kReservationSize 128
13
14namespace BF {
15
16class File : public Path {
17public:
21 File(const char * path, int * err);
22 virtual ~File();
23
24
32 const char * name();
33
39 const char * fullname();
40
48 const char * extension();
49
55 const char * directory();
56
57protected:
58
66
67private:
68
72 char _fileReserved[kReservationSize];
73};
74
75} // namespace BF
76
77#endif
78
Definition file.hpp:16
const char * fullname()
Definition file.cpp:58
const char * directory()
Definition file.cpp:74
File(const char *path, int *err)
Definition file.cpp:23
const char * name()
Definition file.cpp:66
const char * extension()
Definition file.cpp:48
FILE * _fileHandler
Definition file.hpp:65
virtual ~File()
Definition file.cpp:46
Definition path.hpp:18
const char * path()
Definition path.cpp:24
#define kReservationSize
Definition file.hpp:12
Definition array.hpp:18