|
|
| version 1.27, 2003/07/24 11:31:21 | version 1.30, 2003/12/11 09:25:50 |
|---|---|
| Line 9 | Line 9 |
| #ifndef PA_SQL_DRIVER_MANAGER_H | #ifndef PA_SQL_DRIVER_MANAGER_H |
| #define PA_SQL_DRIVER_MANAGER_H | #define PA_SQL_DRIVER_MANAGER_H |
| static const char* IDENT_SQL_DRIVER_MANAGER_H="$Date$"; | static const char * const IDENT_SQL_DRIVER_MANAGER_H="$Date$"; |
| #include "pa_sql_driver.h" | #include "pa_sql_driver.h" |
| Line 32 class SQL_Connection; | Line 32 class SQL_Connection; |
| class SQL_Driver_manager: public Cache_manager { | class SQL_Driver_manager: public Cache_manager { |
| public: | public: |
| typedef Hash<const StringBody, SQL_Driver *> driver_cache_type; | typedef Hash<const String::Body, SQL_Driver *> driver_cache_type; |
| typedef Stack<SQL_Connection*> connection_cache_element_base_type; | typedef Stack<SQL_Connection*> connection_cache_element_base_type; |
| typedef Hash<const StringBody, connection_cache_element_base_type*> connection_cache_type; | typedef Hash<const String::Body, connection_cache_element_base_type*> connection_cache_type; |
| private: | private: |
| Line 83 public: // Cache_manager | Line 83 public: // Cache_manager |
| }; | }; |
| /// global | /// global |
| extern SQL_Driver_manager SQL_driver_manager; | extern SQL_Driver_manager* SQL_driver_manager; |
| #endif | #endif |