#include <parser.h>
Public Member Functions | |
| int | addVariable (char *name, double val) |
| int | addString (char *text) |
| int | addItem (char id, int first, int second) |
| void | save (CParserBufferTimestamp ×tamp) |
| Stores current state of parser. | |
| void | restore (CParserBufferTimestamp ×tamp) |
| Restores state of parser. | |
| void | execute () |
Public Attributes | |
| char | strings_buffer [STRINGS_MAX][STRINGS_LEN] |
| int | strings_count |
| CVariable | variables_buffer [VARIABLES_MAX] |
| int | variables_count |
| CParserItem | items [ITEMS_MAX] |
| int | items_count |
Private Member Functions | |
| double | execute (int id) |
| double CParserBuffer::execute | ( | int | id | ) | [private] |
| int CParserBuffer::addVariable | ( | char * | name, | |
| double | val | |||
| ) |
| int CParserBuffer::addString | ( | char * | text | ) |
| int CParserBuffer::addItem | ( | char | id, | |
| int | first, | |||
| int | second | |||
| ) |
| void CParserBuffer::save | ( | CParserBufferTimestamp & | timestamp | ) |
Stores current state of parser.
| void CParserBuffer::restore | ( | CParserBufferTimestamp & | timestamp | ) |
Restores state of parser.
| void CParserBuffer::execute | ( | ) |
| char CParserBuffer::strings_buffer[STRINGS_MAX][STRINGS_LEN] |
| CVariable CParserBuffer::variables_buffer[VARIABLES_MAX] |
| CParserItem CParserBuffer::items[ITEMS_MAX] |
1.5.2