
Public Member Functions | |
| virtual std::string | get_path (void) const =0 |
| Return the path name of the database. | |
| int | number_of_lines (void) const |
| size_t | number_of_characters (void) const |
Protected Member Functions | |
| Database (void) | |
| Constructor. | |
| void | process_next_data_block (char const* data, size_t size) |
| Process next data block. | |
Protected Attributes | |
| MemoryBlockList* | M_buffer |
| Linked list of blocks with valid data. | |
| Glib::RefPtr< MemoryBlockNode > | M_new_block |
Definition at line 43 of file PgnDatabase.h.
| void cwchess::pgn::Database::process_next_data_block | ( | char const* | data, | |
| size_t | size | |||
| ) | [protected] |
Process next data block.
This function is called for all subsequent blocks of data during the initialization of the Database object.
Definition at line 44 of file PgnDatabase.cc.
References M_buffer, and M_new_block.
Glib::RefPtr<MemoryBlockNode> cwchess::pgn::Database::M_new_block [protected] |
Temporary storage for new block that is being read and not linked yet.
Definition at line 63 of file PgnDatabase.h.
Referenced by process_next_data_block().