A reader that simply reads using fopen. More...
Public Member Functions | |
| StringListReader (StringData &data, const LanguageStrings *strings, bool master, bool translation) | |
| Create the reader. | |
| char * | ReadLine (char *buffer, size_t size) |
| Read a single line from the source of strings. | |
Data Fields | |
| const char *const * | p |
| The current location of the iteration. | |
| const char *const * | end |
| The end of the iteration. | |
A reader that simply reads using fopen.
Definition at line 125 of file game_text.cpp.
| StringListReader::StringListReader | ( | StringData & | data, | |
| const LanguageStrings * | strings, | |||
| bool | master, | |||
| bool | translation | |||
| ) | [inline] |
Create the reader.
| data | The data to fill during reading. | |
| file | The file we are reading. | |
| master | Are we reading the master file? | |
| translation | Are we reading a translation? |
Definition at line 136 of file game_text.cpp.
| char* StringListReader::ReadLine | ( | char * | buffer, | |
| size_t | size | |||
| ) | [inline, virtual] |
Read a single line from the source of strings.
| buffer | The buffer to read the data in to. | |
| size | The size of the buffer. |
Implements StringReader.
Definition at line 141 of file game_text.cpp.
1.7.1