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

#include <irods_collection_object.hpp>

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

Public Member Functions

 collection_object ()
 
 collection_object (const collection_object &)
 
 collection_object (const std::string &, rodsLong_t, int, int)
 
 collection_object (const std::string &, rodsLong_t, int, int, const keyValPair_t &)
 
 collection_object (const std::string &, const std::string &, int, int)
 
 collection_object (const std::string &, const std::string &, int, int, const keyValPair_t &)
 
virtual ~collection_object ()
 
virtual collection_objectoperator= (const collection_object &)
 
virtual error resolve (const std::string &, plugin_ptr &)
 
virtual error get_re_vars (rule_engine_vars_t &)
 
virtual DIR * directory_pointer () const
 
virtual void directory_pointer (DIR *_p)
 
- Public Member Functions inherited from irods::data_object
 data_object ()
 
 data_object (const std::string &, rodsLong_t, int, int)
 
 data_object (const std::string &, rodsLong_t, int, int, const keyValPair_t &)
 
 data_object (const std::string &, const std::string &, int, int)
 
 data_object (const std::string &, const std::string &, int, int, const keyValPair_t &)
 
 data_object (const data_object &)
 
virtual ~data_object ()
 
virtual data_objectoperator= (const data_object &)
 
virtual std::string physical_path () const
 
virtual std::string resc_hier () const
 
virtual long id () const
 
virtual int mode () const
 
virtual int flags () const
 
virtual const keyValPair_tcond_input () const
 
virtual rodsLong_t resc_id () const
 
virtual void physical_path (const std::string &_path)
 
virtual void resc_hier (const std::string &_hier)
 
virtual void id (long _id)
 
virtual void mode (int _m)
 
virtual void flags (int _f)
 
virtual void cond_input (const keyValPair_t &_cond_input)
 
virtual void resc_id (rodsLong_t _id)
 
- Public Member Functions inherited from irods::first_class_object
 first_class_object ()
 
virtual ~first_class_object ()
 

Protected Attributes

DIR * directory_pointer_
 
- Protected Attributes inherited from irods::data_object
std::string physical_path_
 
std::string resc_hier_
 
long id_
 
int mode_
 
int flags_
 
keyValPair_t cond_input_
 
rodsLong_t resc_id_
 

Detailed Description

Definition at line 14 of file irods_collection_object.hpp.

Constructor & Destructor Documentation

◆ collection_object() [1/6]

irods::collection_object::collection_object ( )

Definition at line 13 of file irods_collection_object.cpp.

◆ collection_object() [2/6]

irods::collection_object::collection_object ( const collection_object _rhs)

Definition at line 20 of file irods_collection_object.cpp.

References directory_pointer_.

◆ collection_object() [3/6]

irods::collection_object::collection_object ( const std::string &  _fn,
rodsLong_t  _resc_id,
int  _m,
int  _f 
)

Definition at line 29 of file irods_collection_object.cpp.

◆ collection_object() [4/6]

irods::collection_object::collection_object ( const std::string &  _fn,
rodsLong_t  _resc_id,
int  _m,
int  _f,
const keyValPair_t _cond_input 
)

Definition at line 46 of file irods_collection_object.cpp.

◆ collection_object() [5/6]

irods::collection_object::collection_object ( const std::string &  _fn,
const std::string &  _resc_hier,
int  _m,
int  _f 
)

Definition at line 64 of file irods_collection_object.cpp.

◆ collection_object() [6/6]

irods::collection_object::collection_object ( const std::string &  _fn,
const std::string &  _resc_hier,
int  _m,
int  _f,
const keyValPair_t _cond_input 
)

Definition at line 81 of file irods_collection_object.cpp.

◆ ~collection_object()

irods::collection_object::~collection_object ( )
virtual

Definition at line 99 of file irods_collection_object.cpp.

Member Function Documentation

◆ directory_pointer() [1/2]

virtual DIR* irods::collection_object::directory_pointer ( ) const
inlinevirtual

Definition at line 63 of file irods_collection_object.hpp.

References directory_pointer_.

◆ directory_pointer() [2/2]

virtual void irods::collection_object::directory_pointer ( DIR *  _p)
inlinevirtual

Definition at line 69 of file irods_collection_object.hpp.

References directory_pointer_.

◆ get_re_vars()

error irods::collection_object::get_re_vars ( rule_engine_vars_t _kvp)
virtual

Reimplemented from irods::data_object.

Definition at line 182 of file irods_collection_object.cpp.

References irods::data_object::get_re_vars(), and SUCCESS.

Here is the call graph for this function:

◆ operator=()

collection_object & irods::collection_object::operator= ( const collection_object _rhs)
virtual

Definition at line 105 of file irods_collection_object.cpp.

References directory_pointer_, and irods::data_object::operator=().

Here is the call graph for this function:

◆ resolve()

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

Implements irods::data_object.

Definition at line 118 of file irods_collection_object.cpp.

References irods.pyparsing::empty, ERROR, irods::hierarchy_parser::first_resc(), HIERARCHY_ERROR, irods::error::ok(), PASSMSG, irods::data_object::resc_hier(), resc_mgr, irods::resource_manager::resolve(), irods::RESOURCE_INTERFACE(), irods::hierarchy_parser::set_string(), SUCCESS, and SYS_INVALID_INPUT_PARAM.

Here is the call graph for this function:

Member Data Documentation

◆ directory_pointer_

DIR* irods::collection_object::directory_pointer_
protected

Definition at line 79 of file irods_collection_object.hpp.

Referenced by collection_object(), directory_pointer(), and operator=().


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