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::re_serialization Namespace Reference

Typedefs

typedef std::type_index index_t
 
typedef std::map< std::string, std::string > serialized_parameter_t
 
typedef std::function< error(boost::any, serialized_parameter_t &)> operation_t
 
typedef std::map< index_t, operation_tserialization_map_t
 

Functions

serialization_map_tget_serialization_map ()
 
error add_operation (const index_t &_index, operation_t _operation)
 
error serialize_parameter (boost::any _in_param, serialized_parameter_t &_out_param)
 
static void serialize_keyValPair (const keyValPair_t &_kvp, serialized_parameter_t &_out)
 
static error serialize_float_ptr (boost::any _p, serialized_parameter_t &_out)
 
static error serialize_const_std_string_ptr (boost::any _p, serialized_parameter_t &_out)
 
static error serialize_std_string_ptr (boost::any _p, serialized_parameter_t &_out)
 
static error serialize_std_string (boost::any _p, serialized_parameter_t &_out)
 
static error serialize_hierarchy_parser_ptr (boost::any _p, serialized_parameter_t &_out)
 
static error serialize_rodslong (boost::any _p, serialized_parameter_t &_out)
 
static error serialize_rodslong_ptr (boost::any _p, serialized_parameter_t &_out)
 
static error serialize_sizet (boost::any _p, serialized_parameter_t &_out)
 
static error serialize_int (boost::any _p, serialized_parameter_t &_out)
 
static error serialize_int_ptr (boost::any _p, serialized_parameter_t &_out)
 
static error serialize_char_ptr (boost::any _p, serialized_parameter_t &_out)
 
static error serialize_const_char_ptr (boost::any _p, serialized_parameter_t &_out)
 
static error serialize_rsComm_ptr (boost::any _p, serialized_parameter_t &_out)
 
static error serialize_plugin_context (boost::any _p, serialized_parameter_t &_out)
 
static void serialize_spec_coll_info_ptr (specColl_t *_sc, serialized_parameter_t &_out)
 
static error serialize_dataObjInp_ptr (boost::any _p, serialized_parameter_t &_out)
 
static error serialize_authResponseInp_ptr (boost::any _p, serialized_parameter_t &_out)
 
static error serialize_dataObjInfo_ptr (boost::any _p, serialized_parameter_t &_out)
 
static error serialize_keyValPair_ptr (boost::any _p, serialized_parameter_t &_out)
 
static error serialize_userInfo_ptr (boost::any _p, serialized_parameter_t &_out)
 
static error serialize_collInfo_ptr (boost::any _p, serialized_parameter_t &_out)
 
static error serialize_collInp_ptr (boost::any _p, serialized_parameter_t &_out)
 
static error serialize_modAVUMetaInp_ptr (boost::any _p, serialized_parameter_t &_out)
 
static error serialize_modAccessControlInp_ptr (boost::any _p, serialized_parameter_t &_out)
 
static error serialize_modDataObjMeta_ptr (boost::any _p, serialized_parameter_t &_out)
 
static error serialize_ruleExecSubmitInp_ptr (boost::any _p, serialized_parameter_t &_out)
 
static error serialize_dataObjCopyInp_ptr (boost::any _p, serialized_parameter_t &_out)
 
static error serialize_rodsObjStat_ptr_ptr (boost::any _p, serialized_parameter_t &_out)
 
static error serialize_rodsObjStat_ptr (boost::any _p, serialized_parameter_t &_out)
 
static error serialize_genQueryInp_ptr (boost::any _p, serialized_parameter_t &_out)
 
static error serialize_genQueryOut_ptr (boost::any _p, serialized_parameter_t &_out)
 
static error serialize_char_ptr_ptr (boost::any _p, serialized_parameter_t &_out)
 
static std::string demangle (const char *name)
 

Typedef Documentation

◆ index_t

typedef std::type_index irods::re_serialization::index_t

Definition at line 20 of file irods_re_serialization.hpp.

◆ operation_t

Definition at line 22 of file irods_re_serialization.hpp.

◆ serialization_map_t

◆ serialized_parameter_t

typedef std::map<std::string,std::string> irods::re_serialization::serialized_parameter_t

Definition at line 21 of file irods_re_serialization.hpp.

Function Documentation

◆ add_operation()

error irods::re_serialization::add_operation ( const index_t _index,
operation_t  _operation 
)

Definition at line 980 of file irods_re_serialization.cpp.

References ERROR, get_serialization_map(), KEY_NOT_FOUND, and SUCCESS.

Referenced by plugin_factory().

Here is the call graph for this function:

◆ demangle()

static std::string irods::re_serialization::demangle ( const char *  name)
static

◆ get_serialization_map()

◆ serialize_authResponseInp_ptr()

static error irods::re_serialization::serialize_authResponseInp_ptr ( boost::any  _p,
serialized_parameter_t _out 
)
static

Definition at line 373 of file irods_re_serialization.cpp.

References ERROR, INVALID_ANY_CAST, get_db_schema_version::l, and SUCCESS.

Referenced by get_serialization_map().

◆ serialize_char_ptr()

static error irods::re_serialization::serialize_char_ptr ( boost::any  _p,
serialized_parameter_t _out 
)
static

Definition at line 192 of file irods_re_serialization.cpp.

References ERROR, INVALID_ANY_CAST, get_db_schema_version::l, and SUCCESS.

Referenced by get_serialization_map().

◆ serialize_char_ptr_ptr()

static error irods::re_serialization::serialize_char_ptr_ptr ( boost::any  _p,
serialized_parameter_t _out 
)
static

Definition at line 905 of file irods_re_serialization.cpp.

References ERROR, INVALID_ANY_CAST, and SUCCESS.

Referenced by get_serialization_map().

◆ serialize_collInfo_ptr()

static error irods::re_serialization::serialize_collInfo_ptr ( boost::any  _p,
serialized_parameter_t _out 
)
static

Definition at line 515 of file irods_re_serialization.cpp.

References ERROR, INVALID_ANY_CAST, get_db_schema_version::l, serialize_keyValPair(), and SUCCESS.

Referenced by get_serialization_map().

Here is the call graph for this function:

◆ serialize_collInp_ptr()

static error irods::re_serialization::serialize_collInp_ptr ( boost::any  _p,
serialized_parameter_t _out 
)
static

Definition at line 554 of file irods_re_serialization.cpp.

References ERROR, INVALID_ANY_CAST, get_db_schema_version::l, serialize_keyValPair(), and SUCCESS.

Referenced by get_serialization_map().

Here is the call graph for this function:

◆ serialize_const_char_ptr()

static error irods::re_serialization::serialize_const_char_ptr ( boost::any  _p,
serialized_parameter_t _out 
)
static

Definition at line 213 of file irods_re_serialization.cpp.

References ERROR, INVALID_ANY_CAST, get_db_schema_version::l, and SUCCESS.

Referenced by get_serialization_map().

◆ serialize_const_std_string_ptr()

static error irods::re_serialization::serialize_const_std_string_ptr ( boost::any  _p,
serialized_parameter_t _out 
)
static

Definition at line 47 of file irods_re_serialization.cpp.

References ERROR, INVALID_ANY_CAST, and SUCCESS.

Referenced by get_serialization_map().

◆ serialize_dataObjCopyInp_ptr()

static error irods::re_serialization::serialize_dataObjCopyInp_ptr ( boost::any  _p,
serialized_parameter_t _out 
)
static

Definition at line 703 of file irods_re_serialization.cpp.

References ERROR, INVALID_ANY_CAST, get_db_schema_version::l, irods::log(), irods::error::ok(), pid_age::p, PASS, serialize_dataObjInp_ptr(), and SUCCESS.

Referenced by get_serialization_map().

Here is the call graph for this function:

◆ serialize_dataObjInfo_ptr()

static error irods::re_serialization::serialize_dataObjInfo_ptr ( boost::any  _p,
serialized_parameter_t _out 
)
static

Definition at line 398 of file irods_re_serialization.cpp.

References ERROR, INVALID_ANY_CAST, get_db_schema_version::l, serialize_keyValPair(), serialize_spec_coll_info_ptr(), and SUCCESS.

Referenced by get_serialization_map(), and serialize_modDataObjMeta_ptr().

Here is the call graph for this function:

◆ serialize_dataObjInp_ptr()

static error irods::re_serialization::serialize_dataObjInp_ptr ( boost::any  _p,
serialized_parameter_t _out 
)
static

Definition at line 338 of file irods_re_serialization.cpp.

References ERROR, INVALID_ANY_CAST, get_db_schema_version::l, serialize_keyValPair(), serialize_spec_coll_info_ptr(), and SUCCESS.

Referenced by get_serialization_map(), and serialize_dataObjCopyInp_ptr().

Here is the call graph for this function:

◆ serialize_float_ptr()

static error irods::re_serialization::serialize_float_ptr ( boost::any  _p,
serialized_parameter_t _out 
)
static

Definition at line 31 of file irods_re_serialization.cpp.

References ERROR, INVALID_ANY_CAST, and SUCCESS.

Referenced by get_serialization_map().

◆ serialize_genQueryInp_ptr()

static error irods::re_serialization::serialize_genQueryInp_ptr ( boost::any  _p,
serialized_parameter_t _out 
)
static

◆ serialize_genQueryOut_ptr()

static error irods::re_serialization::serialize_genQueryOut_ptr ( boost::any  _p,
serialized_parameter_t _out 
)
static

Definition at line 870 of file irods_re_serialization.cpp.

References ERROR, INVALID_ANY_CAST, get_db_schema_version::l, and SUCCESS.

Referenced by get_serialization_map().

◆ serialize_hierarchy_parser_ptr()

static error irods::re_serialization::serialize_hierarchy_parser_ptr ( boost::any  _p,
serialized_parameter_t _out 
)
static

Definition at line 94 of file irods_re_serialization.cpp.

References ERROR, INVALID_ANY_CAST, pid_age::p, and SUCCESS.

Referenced by get_serialization_map().

◆ serialize_int()

static error irods::re_serialization::serialize_int ( boost::any  _p,
serialized_parameter_t _out 
)
static

Definition at line 160 of file irods_re_serialization.cpp.

References ERROR, INVALID_ANY_CAST, get_db_schema_version::l, and SUCCESS.

Referenced by get_serialization_map().

◆ serialize_int_ptr()

static error irods::re_serialization::serialize_int_ptr ( boost::any  _p,
serialized_parameter_t _out 
)
static

Definition at line 176 of file irods_re_serialization.cpp.

References ERROR, INVALID_ANY_CAST, get_db_schema_version::l, and SUCCESS.

Referenced by get_serialization_map().

◆ serialize_keyValPair()

static void irods::re_serialization::serialize_keyValPair ( const keyValPair_t _kvp,
serialized_parameter_t _out 
)
static

◆ serialize_keyValPair_ptr()

static error irods::re_serialization::serialize_keyValPair_ptr ( boost::any  _p,
serialized_parameter_t _out 
)
static

Definition at line 455 of file irods_re_serialization.cpp.

References ERROR, INVALID_ANY_CAST, get_db_schema_version::l, and SUCCESS.

Referenced by get_serialization_map().

◆ serialize_modAccessControlInp_ptr()

static error irods::re_serialization::serialize_modAccessControlInp_ptr ( boost::any  _p,
serialized_parameter_t _out 
)
static

Definition at line 610 of file irods_re_serialization.cpp.

References ERROR, INVALID_ANY_CAST, get_db_schema_version::l, and SUCCESS.

Referenced by get_serialization_map().

◆ serialize_modAVUMetaInp_ptr()

static error irods::re_serialization::serialize_modAVUMetaInp_ptr ( boost::any  _p,
serialized_parameter_t _out 
)
static

Definition at line 580 of file irods_re_serialization.cpp.

References ERROR, INVALID_ANY_CAST, get_db_schema_version::l, and SUCCESS.

Referenced by get_serialization_map().

◆ serialize_modDataObjMeta_ptr()

static error irods::re_serialization::serialize_modDataObjMeta_ptr ( boost::any  _p,
serialized_parameter_t _out 
)
static

Definition at line 635 of file irods_re_serialization.cpp.

References ERROR, INVALID_ANY_CAST, get_db_schema_version::l, irods::log(), irods::error::ok(), PASS, serialize_dataObjInfo_ptr(), and SUCCESS.

Referenced by get_serialization_map().

Here is the call graph for this function:

◆ serialize_parameter()

error irods::re_serialization::serialize_parameter ( boost::any  _in_param,
serialized_parameter_t _out_param 
)

Definition at line 1006 of file irods_re_serialization.cpp.

References demangle(), get_serialization_map(), and SUCCESS.

Referenced by exec_rule().

Here is the call graph for this function:

◆ serialize_plugin_context()

static error irods::re_serialization::serialize_plugin_context ( boost::any  _p,
serialized_parameter_t _out 
)
static

Definition at line 286 of file irods_re_serialization.cpp.

References ERROR, INVALID_ANY_CAST, get_db_schema_version::l, irods::error::ok(), PASS, serialize_rsComm_ptr(), and SUCCESS.

Referenced by get_serialization_map().

Here is the call graph for this function:

◆ serialize_rodslong()

static error irods::re_serialization::serialize_rodslong ( boost::any  _p,
serialized_parameter_t _out 
)
static

Definition at line 112 of file irods_re_serialization.cpp.

References ERROR, INVALID_ANY_CAST, get_db_schema_version::l, and SUCCESS.

Referenced by get_serialization_map().

◆ serialize_rodslong_ptr()

static error irods::re_serialization::serialize_rodslong_ptr ( boost::any  _p,
serialized_parameter_t _out 
)
static

Definition at line 128 of file irods_re_serialization.cpp.

References ERROR, INVALID_ANY_CAST, get_db_schema_version::l, and SUCCESS.

Referenced by get_serialization_map().

◆ serialize_rodsObjStat_ptr()

static error irods::re_serialization::serialize_rodsObjStat_ptr ( boost::any  _p,
serialized_parameter_t _out 
)
static

Definition at line 788 of file irods_re_serialization.cpp.

References ERROR, INVALID_ANY_CAST, get_db_schema_version::l, serialize_spec_coll_info_ptr(), and SUCCESS.

Referenced by get_serialization_map().

Here is the call graph for this function:

◆ serialize_rodsObjStat_ptr_ptr()

static error irods::re_serialization::serialize_rodsObjStat_ptr_ptr ( boost::any  _p,
serialized_parameter_t _out 
)
static

Definition at line 749 of file irods_re_serialization.cpp.

References ERROR, INVALID_ANY_CAST, get_db_schema_version::l, serialize_spec_coll_info_ptr(), and SUCCESS.

Referenced by get_serialization_map().

Here is the call graph for this function:

◆ serialize_rsComm_ptr()

static error irods::re_serialization::serialize_rsComm_ptr ( boost::any  _p,
serialized_parameter_t _out 
)
static

◆ serialize_ruleExecSubmitInp_ptr()

static error irods::re_serialization::serialize_ruleExecSubmitInp_ptr ( boost::any  _p,
serialized_parameter_t _out 
)
static

Definition at line 667 of file irods_re_serialization.cpp.

References ERROR, INVALID_ANY_CAST, get_db_schema_version::l, and SUCCESS.

Referenced by get_serialization_map().

◆ serialize_sizet()

static error irods::re_serialization::serialize_sizet ( boost::any  _p,
serialized_parameter_t _out 
)
static

Definition at line 144 of file irods_re_serialization.cpp.

References ERROR, INVALID_ANY_CAST, get_db_schema_version::l, and SUCCESS.

Referenced by get_serialization_map().

◆ serialize_spec_coll_info_ptr()

◆ serialize_std_string()

static error irods::re_serialization::serialize_std_string ( boost::any  _p,
serialized_parameter_t _out 
)
static

Definition at line 79 of file irods_re_serialization.cpp.

References ERROR, INVALID_ANY_CAST, and SUCCESS.

Referenced by get_serialization_map().

◆ serialize_std_string_ptr()

static error irods::re_serialization::serialize_std_string_ptr ( boost::any  _p,
serialized_parameter_t _out 
)
static

Definition at line 63 of file irods_re_serialization.cpp.

References ERROR, INVALID_ANY_CAST, and SUCCESS.

Referenced by get_serialization_map().

◆ serialize_userInfo_ptr()

static error irods::re_serialization::serialize_userInfo_ptr ( boost::any  _p,
serialized_parameter_t _out 
)
static

Definition at line 480 of file irods_re_serialization.cpp.

References ERROR, INVALID_ANY_CAST, get_db_schema_version::l, and SUCCESS.

Referenced by get_serialization_map().