irods  4.2.8
About: iRODS (the integrated Rule Oriented Data System) is a distributed data-management system for creating data grids, digital libraries, persistent archives, and real-time data systems.
  Fossies Dox: irods-4.2.8.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

irods_database_manager.hpp
Go to the documentation of this file.
1 #ifndef __IRODS_DATABASE_MANAGER_HPP__
2 #define __IRODS_DATABASE_MANAGER_HPP__
3 
5 
6 namespace irods {
9  const std::string DATABASE_INTERFACE( "irods_database_interface" );
10 
15  public:
16  // =-=-=-=-=-=-=-
17  // constructors
20 
21  // =-=-=-=-=-=-=-
22  // destructor
23  virtual ~database_manager();
24 
28  error resolve(
29  std::string, // key / instance name of plugin
30  database_ptr& ); // plugin instance
31 
36  const std::string&, // type
37  const std::string&, // key
38  const std::string&, // instance name
39  const std::string&, // context
40  database_ptr& ); // plugin instance
41 
43  database_ptr&, // plugin
44  const std::string&, // plugin name
45  const std::string&, // instance name
46  const std::string& ); // context string
47 
48  private:
49  // =-=-=-=-=-=-=-
50  // attributes
52 
53  }; // class database_manager
54 
55  extern database_manager db_mgr;
56 
57 }; // namespace irods
58 
59 #endif // __IRODS_DATABASE_MANAGER_HPP__
60 
61 
62 
63 
irods::lookup_table< database_ptr >
irods::database_manager::resolve
error resolve(std::string, database_ptr &)
Definition: irods_database_manager.cpp:32
irods::database_manager::database_manager
database_manager()
Definition: irods_database_manager.cpp:13
irods::database_manager::~database_manager
virtual ~database_manager()
Definition: irods_database_manager.cpp:26
irods::db_mgr
database_manager db_mgr
Definition: irods_database_manager.cpp:9
irods
Definition: apiHandler.hpp:35
irods::DATABASE_INTERFACE
const std::string DATABASE_INTERFACE("irods_database_interface")
irods::database_manager::init_from_type
error init_from_type(const std::string &, const std::string &, const std::string &, const std::string &, database_ptr &)
Definition: irods_database_manager.cpp:83
irods::database_manager::plugins_
lookup_table< database_ptr > plugins_
Definition: irods_database_manager.hpp:51
irods::database_manager::load_database_plugin
error load_database_plugin(database_ptr &, const std::string &, const std::string &, const std::string &)
Definition: irods_database_manager.cpp:56
irods::error
Definition: irods_error.hpp:23
irods_database_plugin.hpp
irods::database_ptr
boost::shared_ptr< database > database_ptr
Definition: irods_database_types.hpp:21
irods::database_manager
Definition: irods_database_manager.hpp:14