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
14
namespace
BF
{
15
16
class
File
:
public
Path
{
17
public
:
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
57
protected
:
58
65
FILE *
_fileHandler
;
66
67
private
:
68
72
char
_fileReserved[
kReservationSize
];
73
};
74
75
}
// namespace BF
76
77
#endif
78
BF::File
Definition
file.hpp:16
BF::File::fullname
const char * fullname()
Definition
file.cpp:58
BF::File::directory
const char * directory()
Definition
file.cpp:74
BF::File::File
File(const char *path, int *err)
Definition
file.cpp:23
BF::File::name
const char * name()
Definition
file.cpp:66
BF::File::extension
const char * extension()
Definition
file.cpp:48
BF::File::_fileHandler
FILE * _fileHandler
Definition
file.hpp:65
BF::File::~File
virtual ~File()
Definition
file.cpp:46
BF::Path
Definition
path.hpp:18
BF::Path::path
const char * path()
Definition
path.cpp:24
kReservationSize
#define kReservationSize
Definition
file.hpp:12
BF
Definition
array.hpp:18
path.hpp
libs
bflibcpp
src
file.hpp
Generated by
1.11.0