taco-db
0.1.0
|
This file defines the global database class and its global instance. More...
#include "base/tdb_base.h"
Go to the source code of this file.
Classes | |
class | taco::Database |
The class for a database instance. More... | |
Namespaces | |
taco | |
Macros | |
#define | g_bufman g_db->buf_manager() |
Shorthand for g_db->buf_manager() More... | |
#define | g_fileman g_db->file_manager() |
Shorthand for g_db->file_manager() More... | |
#define | g_catcache g_db->catcache() |
Shorthand for g_db->catcache() More... | |
#define | g_actsch g_db->actres_schema() |
Shorthand for g_db->actres_sch() More... | |
This file defines the global database class and its global instance.
As almost every source file in this project includes dbmain/Datbase.h indirectly from tdb.h, we must not include any header file except tdb_base.h. We use forward declaration of needed classes instead.
#define g_actsch g_db->actres_schema() |
Shorthand for g_db->actres_sch()
#define g_bufman g_db->buf_manager() |
Shorthand for g_db->buf_manager()
#define g_catcache g_db->catcache() |
Shorthand for g_db->catcache()
#define g_fileman g_db->file_manager() |
Shorthand for g_db->file_manager()