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) 
|
Go to the documentation of this file.
15 directory_pointer_( 0 ) {
30 const std::string& _fn,
39 directory_pointer_( 0 ) {
47 const std::string& _fn,
58 directory_pointer_( 0 ) {
65 const std::string& _fn,
66 const std::string& _resc_hier,
74 directory_pointer_( 0 ) {
82 const std::string& _fn,
83 const std::string& _resc_hier,
93 directory_pointer_( 0 ) {
119 const std::string& _interface,
125 std::stringstream msg;
126 msg <<
"collection_object does not support a [";
128 msg <<
"] for plugin resolution";
139 std::stringstream msg;
140 msg << __FUNCTION__ <<
" - ";
141 msg <<
"error parsing resource hierarchy \"" <<
resc_hier() <<
"\"";
142 result =
PASSMSG( msg.str(), ret );
149 std::stringstream msg;
150 msg << __FUNCTION__ <<
" - ERROR getting first resource from hierarchy.";
151 result =
PASSMSG( msg.str(), ret );
156 std::stringstream msg;
158 msg <<
" - No resource hierarchy or resource specified.";
161 else if ( resc.empty() ) {
168 std::stringstream msg;
169 msg << __FUNCTION__ <<
" - ERROR resolving resource \"" << resc <<
"\"";
170 result =
PASSMSG( msg.str(), ret );
173 _ptr = boost::dynamic_pointer_cast< resource >( resc_ptr );
boost::shared_ptr< plugin_base > plugin_ptr
irods::resource_manager resc_mgr
virtual collection_object & operator=(const collection_object &)
boost::shared_ptr< resource > resource_ptr
#define PASSMSG(message_, prev_error_)
@ SYS_INVALID_INPUT_PARAM
virtual error resolve(const std::string &, plugin_ptr &)
virtual data_object & operator=(const data_object &)
error first_resc(std::string &_ret_resc) const
const std::string RESOURCE_INTERFACE("irods_resource_interface")
virtual std::string resc_hier() const
error resolve(std::string, resource_ptr &)
error set_string(const std::string &_resc_hier)
#define ERROR(code_, message_)
virtual error get_re_vars(rule_engine_vars_t &)
virtual error get_re_vars(rule_engine_vars_t &)
virtual ~collection_object()
std::map< std::string, std::string > rule_engine_vars_t