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::generic_database_object Class Reference

#include <irods_generic_database_object.hpp>

Inheritance diagram for irods::generic_database_object:
[legend]
Collaboration diagram for irods::generic_database_object:
[legend]

Public Member Functions

 generic_database_object (const std::string &)
 
 generic_database_object (const generic_database_object &)
 
virtual ~generic_database_object ()
 
virtual generic_database_objectoperator= (const generic_database_object &)
 
virtual bool operator== (const generic_database_object &_rhs) const
 
virtual error resolve (const std::string &, plugin_ptr &)
 
virtual error get_re_vars (rule_engine_vars_t &)
 
- Public Member Functions inherited from irods::database_object
 database_object ()
 
 database_object (const database_object &)
 
virtual ~database_object ()
 
virtual database_objectoperator= (const database_object &)
 
virtual bool operator== (const database_object &_rhs) const
 
- Public Member Functions inherited from irods::first_class_object
 first_class_object ()
 
virtual ~first_class_object ()
 

Private Attributes

std::string type_
 

Detailed Description

Definition at line 17 of file irods_generic_database_object.hpp.

Constructor & Destructor Documentation

◆ generic_database_object() [1/2]

irods::generic_database_object::generic_database_object ( const std::string &  _type)
explicit

Definition at line 10 of file irods_generic_database_object.cpp.

◆ generic_database_object() [2/2]

irods::generic_database_object::generic_database_object ( const generic_database_object _rhs)

Definition at line 16 of file irods_generic_database_object.cpp.

◆ ~generic_database_object()

irods::generic_database_object::~generic_database_object ( )
virtual

Definition at line 24 of file irods_generic_database_object.cpp.

Member Function Documentation

◆ get_re_vars()

error irods::generic_database_object::get_re_vars ( rule_engine_vars_t )
virtual

Reimplemented from irods::database_object.

Definition at line 101 of file irods_generic_database_object.cpp.

References SUCCESS.

◆ operator=()

generic_database_object & irods::generic_database_object::operator= ( const generic_database_object )
virtual

Definition at line 29 of file irods_generic_database_object.cpp.

◆ operator==()

bool irods::generic_database_object::operator== ( const generic_database_object _rhs) const
virtual
Description:\n Comparison operator

Definition at line 38 of file irods_generic_database_object.cpp.

◆ resolve()

error irods::generic_database_object::resolve ( const std::string &  _interface,
plugin_ptr _ptr 
)
virtual

Implements irods::database_object.

Definition at line 46 of file irods_generic_database_object.cpp.

References irods::DATABASE_INTERFACE(), irods::db_mgr, ERROR, irods::database_manager::init_from_type(), irods::error::ok(), PASS, irods::database_manager::resolve(), SUCCESS, SYS_INVALID_INPUT_PARAM, and type_.

Here is the call graph for this function:

Member Data Documentation

◆ type_

std::string irods::generic_database_object::type_
private

Definition at line 55 of file irods_generic_database_object.hpp.

Referenced by resolve().


The documentation for this class was generated from the following files: