rllib
1
|
#include <rlfileload.h>
Public Member Functions | |
rlFileLoad () | |
virtual | ~rlFileLoad () |
int | load (const char *filename) |
void | unload () |
const char * | firstLine () |
const char * | nextLine () |
void | setDebug (int state) |
int | text2rlstring (rlString &rlstring) |
Private Attributes | |
int | loaded |
int | debug |
rlFileLines | file_lines |
rlFileLines * | current_line |
This class loads a text file to memory. Then you can iterate to it's lines.
Definition at line 32 of file rlfileload.h.
rlFileLoad::rlFileLoad | ( | ) |
Definition at line 20 of file rlfileload.cpp.
|
virtual |
Definition at line 28 of file rlfileload.cpp.
const char * rlFileLoad::firstLine | ( | ) |
Definition at line 81 of file rlfileload.cpp.
int rlFileLoad::load | ( | const char * | filename | ) |
Definition at line 33 of file rlfileload.cpp.
const char * rlFileLoad::nextLine | ( | ) |
Definition at line 91 of file rlfileload.cpp.
void rlFileLoad::setDebug | ( | int | state | ) |
Definition at line 100 of file rlfileload.cpp.
int rlFileLoad::text2rlstring | ( | rlString & | rlstring | ) |
Definition at line 106 of file rlfileload.cpp.
void rlFileLoad::unload | ( | ) |
Definition at line 63 of file rlfileload.cpp.
|
private |
Definition at line 47 of file rlfileload.h.
|
private |
Definition at line 45 of file rlfileload.h.
|
private |
Definition at line 46 of file rlfileload.h.
|
private |
Definition at line 44 of file rlfileload.h.