Skip to content

Commit

Permalink
[irods#7570] Apply clang-format.
Browse files Browse the repository at this point in the history
  • Loading branch information
korydraughn committed Apr 8, 2024
1 parent fb49dcf commit 44ced15
Showing 1 changed file with 39 additions and 40 deletions.
79 changes: 39 additions & 40 deletions server/re/src/irods_re_serialization.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1217,46 +1217,45 @@ namespace irods::re_serialization
#endif

serialization_map_t& get_serialization_map() {
static serialization_map_t the_map {
{ std::type_index(typeid(float*)), serialize_float_ptr },
{ std::type_index(typeid(const std::string*)), serialize_const_std_string_ptr },
{ std::type_index(typeid(std::string*)), serialize_std_string_ptr },
{ std::type_index(typeid(std::string)), serialize_std_string },
{ std::type_index(typeid(hierarchy_parser*)), serialize_hierarchy_parser_ptr },
{ std::type_index(typeid(rodsLong_t)), serialize_rodslong },
{ std::type_index(typeid(rodsLong_t*)), serialize_rodslong_ptr },
{ std::type_index(typeid(size_t)), serialize_sizet },
{ std::type_index(typeid(int)), serialize_int },
{ std::type_index(typeid(int*)), serialize_int_ptr },
{ std::type_index(typeid(char*)), serialize_char_ptr },
{ std::type_index(typeid(const char*)), serialize_const_char_ptr },
{ std::type_index(typeid(rsComm_t*)), serialize_rsComm_ptr },
{ std::type_index(typeid(plugin_context)), serialize_plugin_context },
{ std::type_index(typeid(dataObjInp_t*)), serialize_dataObjInp_ptr },
{ std::type_index(typeid(bulkOprInp_t*)), serialize_bulkOprInp_ptr },
{ std::type_index(typeid(authResponseInp_t*)), serialize_authResponseInp_ptr },
{ std::type_index(typeid(dataObjInfo_t*)), serialize_dataObjInfo_ptr },
{ std::type_index(typeid(keyValPair_t*)), serialize_keyValPair_ptr },
{ std::type_index(typeid(userInfo_t*)), serialize_userInfo_ptr },
{ std::type_index(typeid(collInfo_t*)), serialize_collInfo_ptr },
{ std::type_index(typeid(collInp_t*)), serialize_collInp_ptr },
{ std::type_index(typeid(modAVUMetadataInp_t*)), serialize_modAVUMetaInp_ptr },
{ std::type_index(typeid(modAccessControlInp_t*)), serialize_modAccessControlInp_ptr },
{ std::type_index(typeid(modDataObjMeta_t*)), serialize_modDataObjMeta_ptr },
{ std::type_index(typeid(ruleExecSubmitInp_t*)), serialize_ruleExecSubmitInp_ptr },
{ std::type_index(typeid(dataObjCopyInp_t*)), serialize_dataObjCopyInp_ptr },
{ std::type_index(typeid(rodsObjStat_t**)), serialize_rodsObjStat_ptr_ptr },
{ std::type_index(typeid(rodsObjStat_t*)), serialize_rodsObjStat_ptr },
{ std::type_index(typeid(genQueryInp_t*)), serialize_genQueryInp_ptr },
{ std::type_index(typeid(genQueryOut_t*)), serialize_genQueryOut_ptr },
{ std::type_index(typeid(char**)), serialize_char_ptr_ptr },
{ std::type_index(typeid(openedDataObjInp_t*)), serialize_openedDataObjInp_ptr },
{ std::type_index(typeid(openedDataObjInp_t**)), serialize_openedDataObjInp_ptr_ptr },
{ std::type_index(typeid(bytesBuf_t*)), serialize_bytesBuf_ptr },
{ std::type_index(typeid(Genquery2Input*)), serialize_Genquery2Input_ptr },
{ std::type_index(typeid(const std::vector<std::string>*)), serialize_const_vector_of_strings_ptr },
{ std::type_index(typeid(std::vector<std::string>*)), serialize_vector_of_strings_ptr }
};
static serialization_map_t the_map{
{std::type_index(typeid(float*)), serialize_float_ptr},
{std::type_index(typeid(const std::string*)), serialize_const_std_string_ptr},
{std::type_index(typeid(std::string*)), serialize_std_string_ptr},
{std::type_index(typeid(std::string)), serialize_std_string},
{std::type_index(typeid(hierarchy_parser*)), serialize_hierarchy_parser_ptr},
{std::type_index(typeid(rodsLong_t)), serialize_rodslong},
{std::type_index(typeid(rodsLong_t*)), serialize_rodslong_ptr},
{std::type_index(typeid(size_t)), serialize_sizet},
{std::type_index(typeid(int)), serialize_int},
{std::type_index(typeid(int*)), serialize_int_ptr},
{std::type_index(typeid(char*)), serialize_char_ptr},
{std::type_index(typeid(const char*)), serialize_const_char_ptr},
{std::type_index(typeid(rsComm_t*)), serialize_rsComm_ptr},
{std::type_index(typeid(plugin_context)), serialize_plugin_context},
{std::type_index(typeid(dataObjInp_t*)), serialize_dataObjInp_ptr},
{std::type_index(typeid(bulkOprInp_t*)), serialize_bulkOprInp_ptr},
{std::type_index(typeid(authResponseInp_t*)), serialize_authResponseInp_ptr},
{std::type_index(typeid(dataObjInfo_t*)), serialize_dataObjInfo_ptr},
{std::type_index(typeid(keyValPair_t*)), serialize_keyValPair_ptr},
{std::type_index(typeid(userInfo_t*)), serialize_userInfo_ptr},
{std::type_index(typeid(collInfo_t*)), serialize_collInfo_ptr},
{std::type_index(typeid(collInp_t*)), serialize_collInp_ptr},
{std::type_index(typeid(modAVUMetadataInp_t*)), serialize_modAVUMetaInp_ptr},
{std::type_index(typeid(modAccessControlInp_t*)), serialize_modAccessControlInp_ptr},
{std::type_index(typeid(modDataObjMeta_t*)), serialize_modDataObjMeta_ptr},
{std::type_index(typeid(ruleExecSubmitInp_t*)), serialize_ruleExecSubmitInp_ptr},
{std::type_index(typeid(dataObjCopyInp_t*)), serialize_dataObjCopyInp_ptr},
{std::type_index(typeid(rodsObjStat_t**)), serialize_rodsObjStat_ptr_ptr},
{std::type_index(typeid(rodsObjStat_t*)), serialize_rodsObjStat_ptr},
{std::type_index(typeid(genQueryInp_t*)), serialize_genQueryInp_ptr},
{std::type_index(typeid(genQueryOut_t*)), serialize_genQueryOut_ptr},
{std::type_index(typeid(char**)), serialize_char_ptr_ptr},
{std::type_index(typeid(openedDataObjInp_t*)), serialize_openedDataObjInp_ptr},
{std::type_index(typeid(openedDataObjInp_t**)), serialize_openedDataObjInp_ptr_ptr},
{std::type_index(typeid(bytesBuf_t*)), serialize_bytesBuf_ptr},
{std::type_index(typeid(Genquery2Input*)), serialize_Genquery2Input_ptr},
{std::type_index(typeid(const std::vector<std::string>*)), serialize_const_vector_of_strings_ptr},
{std::type_index(typeid(std::vector<std::string>*)), serialize_vector_of_strings_ptr}};
return the_map;

} // get_serialization_map
Expand Down

0 comments on commit 44ced15

Please sign in to comment.