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.
![]() ![]() |
#include <irods_environment_properties.hpp>
Public Member Functions | |
void | capture () |
template<typename T > | |
error | get_property (const std::string &_key, T &_val) |
template<typename T > | |
T & | get_property (const std::string &_key) |
template<typename T > | |
T & | set_property (const std::string &_key, const T &_val) |
template<typename T > | |
T | remove (const std::string &_key) |
void | remove (const std::string &_key) |
std::unordered_map< std::string, boost::any > & | map () |
Static Public Member Functions | |
static environment_properties & | instance () |
Private Member Functions | |
environment_properties (environment_properties const &) | |
environment_properties () | |
void | operator= (environment_properties const &) |
void | capture_json (const std::string &) |
Private Attributes | |
configuration_parser | config_props_ |
Definition at line 17 of file irods_environment_properties.hpp.
|
private |
|
private |
Definition at line 77 of file irods_environment_properties.cpp.
References capture().
void irods::environment_properties::capture | ( | ) |
Definition at line 81 of file irods_environment_properties.cpp.
References capture_json(), irods::CFG_IRODS_ENVIRONMENT_FILE_KW(), irods::CFG_IRODS_SESSION_ENVIRONMENT_FILE_KW(), config_props_, terminate_irods_processes::e, irods::experimental::administration::client::v1::exists(), irods::get_json_environment_file(), irods::log(), LOG_ERROR, irods::error::ok(), PASS, rodsLog(), and irods::configuration_parser::set().
Referenced by _reloadRodsEnv(), environment_properties(), and runIrodsAgentFactory().
|
private |
Definition at line 109 of file irods_environment_properties.cpp.
References irods::error::code(), config_props_, irods::configuration_parser::load(), irods::error::ok(), irods::error::result(), and THROW.
Referenced by capture().
|
inline |
Definition at line 48 of file irods_environment_properties.hpp.
References config_props_, and irods::configuration_parser::get().
|
inline |
Definition at line 37 of file irods_environment_properties.hpp.
References terminate_irods_processes::e, error, and SUCCESS.
Referenced by irods::get_environment_property().
|
static |
Definition at line 72 of file irods_environment_properties.cpp.
Referenced by _reloadRodsEnv(), irods::get_environment_property(), printRodsEnv(), runIrodsAgentFactory(), and irods::set_environment_property().
|
inline |
Definition at line 64 of file irods_environment_properties.hpp.
References config_props_, and irods::configuration_parser::map().
Referenced by printRodsEnv().
|
private |
|
inline |
Definition at line 58 of file irods_environment_properties.hpp.
References config_props_, and irods::configuration_parser::remove().
void irods::environment_properties::remove | ( | const std::string & | _key | ) |
Definition at line 118 of file irods_environment_properties.cpp.
References config_props_, and irods::configuration_parser::remove().
|
inline |
Definition at line 53 of file irods_environment_properties.hpp.
References config_props_, and irods::configuration_parser::set().
Referenced by irods::set_environment_property().
|
private |
Definition at line 81 of file irods_environment_properties.hpp.
Referenced by capture(), capture_json(), get_property(), map(), remove(), and set_property().