|
Database System 0.1.0
Advanced C++20 Database System with Multi-Backend Support
|
Registry for database backend plugins. More...
#include "database_backend.h"#include <string>#include <memory>#include <vector>#include <map>#include <functional>#include <mutex>

Go to the source code of this file.
Classes | |
| class | database::core::backend_registry |
| Singleton registry for database backend plugins. More... | |
| class | database::core::backend_registrar< BackendType > |
| Helper class for automatic backend registration. More... | |
Namespaces | |
| namespace | database |
| namespace | database::core |
Functions | |
| std::unique_ptr< database_backend > | database::core::create_backend (const std::string &name) |
| Convenience function for creating backends (static method style) | |
| bool | database::core::has_backend (const std::string &name) |
| Convenience function for checking backend availability. | |
| std::vector< std::string > | database::core::available_backends () |
| Convenience function for getting available backends. | |
Registry for database backend plugins.
Provides a centralized registry for registering and creating database backends at runtime. This eliminates the need for conditional compilation and enables dynamic backend selection.
Key Features:
Usage Pattern:
Definition in file backend_registry.h.