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.
110 const std::string& _interface,
116 std::stringstream msg;
117 msg <<
"structured_object does not support a [";
119 msg <<
"] for plugin resolution";
126 std::string plugin_type;
128 plugin_type =
"structfile";
132 plugin_type =
"mssofile";
136 std::stringstream msg;
137 msg <<
"unsupported structured type: "
151 _ptr = boost::dynamic_pointer_cast< resource >( resc_ptr );
164 if ( !init_err.
ok() ) {
165 return PASSMSG(
"failed to load resource plugin", init_err );
176 std::stringstream msg;
177 msg <<
"resolveHost error for [";
191 resc_ptr->set_property<std::string>(
RESOURCE_NAME, plugin_type );
193 resc_ptr->set_property<std::string>(
RESOURCE_TYPE, plugin_type );
196 resc_ptr->set_property<std::string>(
RESOURCE_INFO,
"blank info" );
201 _ptr = boost::dynamic_pointer_cast< resource >( resc_ptr );
216 std::stringstream pn;
224 std::stringstream off;
230 std::stringstream opr;
237 std::stringstream coll_class;
241 std::stringstream
type;
251 std::stringstream dirty;
255 std::stringstream repl;
boost::shared_ptr< plugin_base > plugin_ptr
const std::string RESOURCE_CLASS("resource_property_class")
const std::string RESOURCE_LOCATION("resource_property_location")
const std::string RESOURCE_COMMENTS("resource_property_comments")
#define SPEC_COLL_OBJ_PATH_KW
error init_from_type(std::string, std::string, std::string, std::string, resource_ptr &)
const std::string RESOURCE_NAME("resource_property_name")
virtual file_object & operator=(const file_object &)
#define SPEC_COLL_TYPE_KW
char subFilePath[(1024+64)]
boost::shared_ptr< resource > resource_ptr
#define SPEC_COLL_PHY_PATH_KW
const std::string RESOURCE_PATH("resource_property_path")
std::string physical_path_
#define PASSMSG(message_, prev_error_)
#define SPEC_COLL_CACHE_DIRTY
const std::string RESOURCE_STATUS("resource_property_status")
@ SYS_INVALID_INPUT_PARAM
std::string logical_path_
#define INT_RESC_STATUS_UP
const std::string RESOURCE_TYPE("resource_property_type")
const std::string RESOURCE_INTERFACE("irods_resource_interface")
structFileType_t spec_coll_type_
virtual std::string resc_hier() const
error resolve(std::string, resource_ptr &)
virtual error get_re_vars(rule_engine_vars_t &)
const std::string RESOURCE_ZONE("resource_property_zone")
const std::string RESOURCE_FREESPACE("resource_property_freespace")
irods::resource_manager resc_mgr
virtual std::string logical_path() const
#define SPEC_COLL_RESOURCE_KW
const std::string RESOURCE_CREATE_TS("resource_property_create_ts")
const std::string RESOURCE_QUOTA("resource_property_quota")
#define ERROR(code_, message_)
virtual error get_re_vars(rule_engine_vars_t &)
char resc_hier[(1024+64)]
virtual int flags() const
const std::string RESOURCE_MODIFY_TS("resource_property_modify_ts")
virtual error resolve(const std::string &, plugin_ptr &)
#define SPEC_COLL_CACHE_DIR_KW
virtual ~structured_object()
#define SPEC_COLL_RESC_HIER_KW
std::string sub_file_path_
#define SPEC_COLL_CLASS_KW
const std::string RESOURCE_INFO("resource_property_info")
const std::string RESOURCE_HOST("resource_property_host")
virtual structured_object & operator=(const structured_object &)
std::map< std::string, std::string > rule_engine_vars_t
specCollClass_t collClass
int resolveHost(rodsHostAddr_t *addr, rodsServerHost_t **rodsServerHost)
#define SPEC_COLL_REPL_NUM
const std::string RESOURCE_ID("resource_property_id")