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_serialization.hpp
Go to the documentation of this file.
1 #ifndef IRODS_SERIALIZATION_HPP__
2 #define IRODS_SERIALIZATION_HPP__
3 
4 #ifdef __cplusplus
5 #include <string>
6 #include <vector>
7 
8 namespace irods {
9  std::string serialize_list( const std::vector<std::string>& metadata );
10  std::vector<std::string> deserialize_list( const std::string& metadata );
11  std::string serialize_metadata( const std::vector<std::string>& metadata );
12  std::vector<std::string> deserialize_metadata( const std::string& metadata );
13  std::string serialize_acl( const std::vector<std::vector<std::string> >& acl );
14  std::vector<std::vector<std::string> > deserialize_acl( const std::string& acl );
15 }
16 #endif
17 
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21 
22 char* serialize_list_c( const char** list, size_t list_len );
23 char* serialize_metadata_c( const char** metadata, size_t metadata_len );
24 char* serialize_acl_c( const char** acl, size_t acl_len );
25 
26 #ifdef __cplusplus
27 }
28 #endif
29 
30 #endif
irods::serialize_list
std::string serialize_list(const std::vector< std::string > &list, const boost::regex &special_character_set_regex, const char delimiter_char, const char escape_char)
Definition: irods_serialization.cpp:185
irods::deserialize_acl
std::vector< std::vector< std::string > > deserialize_acl(const std::string &acl)
Definition: irods_serialization.cpp:332
irods::deserialize_metadata
std::vector< std::string > deserialize_metadata(const std::string &metadata)
Definition: irods_serialization.cpp:313
irods::deserialize_list
std::vector< std::string > deserialize_list(const std::string &list, const std::string &delimiters, const char escape_char)
Definition: irods_serialization.cpp:257
irods
Definition: apiHandler.hpp:35
serialize_list_c
char * serialize_list_c(const char **list, size_t list_len)
Definition: irods_serialization.cpp:359
serialize_acl_c
char * serialize_acl_c(const char **acl, size_t acl_len)
Definition: irods_serialization.cpp:380
irods::serialize_acl
std::string serialize_acl(const std::vector< std::vector< std::string > > &acl)
Definition: irods_serialization.cpp:346
serialize_metadata_c
char * serialize_metadata_c(const char **metadata, size_t metadata_len)
Definition: irods_serialization.cpp:367
irods::serialize_metadata
std::string serialize_metadata(const std::vector< std::string > &metadata)
Definition: irods_serialization.cpp:325
list
Definition: irods_list.h:13