
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 |
Public Member Functions inherited from util::Referenceable | |
| void | reference (void) const |
| void | unreference (void) const |
Protected Member Functions | |
| Database (void) | |
| Constructor. | |
| void | process_next_data_block (char const* data, size_t size) |
| Process next data block. More... | |
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.
|
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 48 of file PgnDatabase.cc.
References M_buffer, and M_new_block.
Referenced by Database().
|
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().