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.hpp
Go to the documentation of this file.
1 
2 
3 #ifndef IRODS_AVRO_SERIALIZATION_HPP
4 #define IRODS_AVRO_SERIALIZATION_HPP
5 
7 #include "apiHeaderAll.h"
8 #include "icatStructs.hpp"
9 
10 #include <boost/shared_ptr.hpp>
11 #include <boost/any.hpp>
12 #include <map>
13 #include <vector>
14 #include <typeindex>
15 
16 typedef std::vector<rodsLong_t> leaf_bundle_t;
17 
18 namespace irods {
19  namespace re_serialization {
20  typedef std::type_index index_t;
21  typedef std::map<std::string,std::string> serialized_parameter_t;
22  typedef std::function<error(boost::any,serialized_parameter_t&)> operation_t;
23  typedef std::map<index_t, operation_t> serialization_map_t;
24 
27  const index_t& _index,
28  operation_t _operation );
30  boost::any _in_param,
31  serialized_parameter_t& _out_param );
32 
33  }; // re_serialization
34 
35 }; // namespace irods
36 
37 #endif // IRODS_AVRO_SERIALIZATION_HPP
38 
39 
40 
41 
irods::re_serialization::serialized_parameter_t
std::map< std::string, std::string > serialized_parameter_t
Definition: irods_re_serialization.hpp:21
irods::re_serialization::index_t
std::type_index index_t
Definition: irods_re_serialization.hpp:20
irods::re_serialization::operation_t
std::function< error(boost::any, serialized_parameter_t &)> operation_t
Definition: irods_re_serialization.hpp:22
irods
Definition: apiHandler.hpp:35
irods::re_serialization::add_operation
error add_operation(const index_t &_index, operation_t _operation)
Definition: irods_re_serialization.cpp:980
icatStructs.hpp
leaf_bundle_t
std::vector< rodsLong_t > leaf_bundle_t
Definition: irods_re_serialization.hpp:16
irods::re_serialization::serialization_map_t
std::map< index_t, operation_t > serialization_map_t
Definition: irods_re_serialization.hpp:23
irods::re_serialization::serialize_parameter
error serialize_parameter(boost::any _in_param, serialized_parameter_t &_out_param)
Definition: irods_re_serialization.cpp:1006
irods::error
Definition: irods_error.hpp:23
irods_hierarchy_parser.hpp
irods::re_serialization::get_serialization_map
serialization_map_t & get_serialization_map()
Definition: irods_re_serialization.cpp:942
apiHeaderAll.h
error
int error
Definition: filesystem.cpp:101