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_mysql_object.hpp
Go to the documentation of this file.
1 #ifndef __IRODS_MYSQL_OBJECT_HPP__
2 #define __IRODS_MYSQL_OBJECT_HPP__
3 
4 // =-=-=-=-=-=-=-
5 // irods includes
7 
8 // =-=-=-=-=-=-=-
9 // boost includes
10 #include <boost/shared_ptr.hpp>
11 
12 namespace irods {
13 
14 // =-=-=-=-=-=-=-
15 // @brief
16  const std::string MYSQL_DATABASE_PLUGIN( "mysql" );
17 
18 // =-=-=-=-=-=-=-
19 // @brief mysql object class
20  class mysql_object : public database_object {
21  public:
22  // =-=-=-=-=-=-=-
23  // Constructors
24  mysql_object();
25  mysql_object( const mysql_object& );
26 
27  // =-=-=-=-=-=-=-
28  // Destructors
29  virtual ~mysql_object();
30 
31  // =-=-=-=-=-=-=-
32  // Operators
33  virtual mysql_object& operator=( const mysql_object& );
34 
35  // =-=-=-=-=-=-=-
37  virtual bool operator==( const mysql_object& _rhs ) const;
38 
39  // =-=-=-=-=-=-=-
40  // plugin resolution operation
41  virtual error resolve(
42  const std::string&, // plugin interface
43  plugin_ptr& ); // resolved plugin
44 
45  // =-=-=-=-=-=-=-
46  // accessor for rule engine variables
48 
49  // =-=-=-=-=-=-=-
50  // Accessors
51 
52  // =-=-=-=-=-=-=-
53  // Mutators
54 
55  private:
56  // =-=-=-=-=-=-=-
57  // Attributes
58 
59  }; // mysql_object
60 
61 // =-=-=-=-=-=-=-
62 // helpful typedef for sock comm interface & factory
63  typedef boost::shared_ptr< mysql_object > mysql_object_ptr;
64 
65 }; // namespace irods
66 
67 #endif // __IRODS_MYSQL_OBJECT_HPP__
68 
69 
70 
irods::plugin_ptr
boost::shared_ptr< plugin_base > plugin_ptr
Definition: irods_first_class_object.hpp:18
irods::mysql_object::~mysql_object
virtual ~mysql_object()
Definition: irods_mysql_object.cpp:24
irods::MYSQL_DATABASE_PLUGIN
const std::string MYSQL_DATABASE_PLUGIN("mysql")
irods::mysql_object
Definition: irods_mysql_object.hpp:20
irods::mysql_object::get_re_vars
virtual error get_re_vars(rule_engine_vars_t &)
Definition: irods_mysql_object.cpp:101
irods::mysql_object::resolve
virtual error resolve(const std::string &, plugin_ptr &)
Definition: irods_mysql_object.cpp:46
irods::mysql_object_ptr
boost::shared_ptr< mysql_object > mysql_object_ptr
Definition: irods_mysql_object.hpp:63
irods
Definition: apiHandler.hpp:35
irods_database_object.hpp
irods::error
Definition: irods_error.hpp:23
irods::mysql_object::operator=
virtual mysql_object & operator=(const mysql_object &)
Definition: irods_mysql_object.cpp:29
irods::database_object
Definition: irods_database_object.hpp:19
irods::mysql_object::operator==
virtual bool operator==(const mysql_object &_rhs) const
Definition: irods_mysql_object.cpp:38
irods::mysql_object::mysql_object
mysql_object()
Definition: irods_mysql_object.cpp:10
irods::rule_engine_vars_t
std::map< std::string, std::string > rule_engine_vars_t
Definition: irods_first_class_object.hpp:20