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.cpp File Reference
#include <string>
#include <sstream>
#include <vector>
#include <set>
#include <boost/regex.hpp>
#include "irods_serialization.hpp"
#include "irods_exception.hpp"
#include "rodsErrorTable.h"
Include dependency graph for irods_serialization.cpp:

Go to the source code of this file.

Namespaces

 irods
 

Functions

std::string irods::get_format_string_for_escape (const char escape_char)
 
boost::regex irods::character_set_regex (const std::set< char > &character_set)
 
boost::regex irods::character_set_regex (const std::string &character_set)
 
std::vector< std::string > irods::escape_strings (const std::vector< std::string > &strs, const boost::regex &special_character_set_regex, const char escape_char)
 
std::vector< std::string > irods::escape_strings (const std::vector< std::string > &strs, const std::set< char > &special_character_set, const char escape_char)
 
std::vector< std::string > irods::escape_strings (const std::vector< std::string > &strs, const std::string &special_character_set, const char escape_char)
 
std::vector< std::string > irods::escape_strings (const std::vector< std::string > &strs, const boost::regex &special_character_set_regex)
 
std::vector< std::string > irods::escape_strings (const std::vector< std::string > &strs, const std::set< char > &special_character_set)
 
std::vector< std::string > irods::escape_strings (const std::vector< std::string > &strs, const std::string &special_character_set)
 
std::vector< std::string > irods::escape_strings (const std::vector< std::string > &strs)
 
std::string irods::escape_string (const std::string &str, const boost::regex &special_character_set_regex, const char escape_char)
 
std::string irods::escape_string (const std::string &str, const std::set< char > &special_character_set, const char escape_char)
 
std::string irods::escape_string (const std::string &str, const std::string &special_character_set, const char escape_char)
 
std::string irods::escape_string (const std::string &str, const boost::regex &special_character_set_regex)
 
std::string irods::escape_string (const std::string &str, const std::set< char > &special_character_set)
 
std::string irods::escape_string (const std::string &str, const std::string &special_character_set)
 
std::string irods::escape_string (const std::string &str)
 
std::string irods::join (std::vector< std::string > &strs, const std::string &separator)
 
std::string irods::join (std::vector< std::string > &strs, const char separator)
 
std::string irods::serialize_list (const std::vector< std::string > &list, const boost::regex &special_character_set_regex, const char delimiter_char, const char escape_char)
 
std::string irods::serialize_list (const std::vector< std::string > &list, const std::set< char > &special_character_set, const char delimiter_char, const char escape_char)
 
std::string irods::serialize_list (const std::vector< std::string > &list, const std::string &special_character_set, const char delimiter_char, const char escape_char)
 
std::string irods::serialize_list (const std::vector< std::string > &list, const boost::regex &special_character_set_regex, const char delimiter_char)
 
std::string irods::serialize_list (const std::vector< std::string > &list, const std::set< char > &special_character_set, const char delimiter_char)
 
std::string irods::serialize_list (const std::vector< std::string > &list, const std::string &special_character_set, const char delimiter_char)
 
std::string irods::serialize_list (const std::vector< std::string > &list, const boost::regex &special_character_set_regex)
 
std::string irods::serialize_list (const std::vector< std::string > &list, const std::set< char > &special_character_set)
 
std::string irods::serialize_list (const std::vector< std::string > &list, const std::string &special_character_set)
 
std::string irods::serialize_list (const std::vector< std::string > &list)
 
std::vector< std::string > irods::deserialize_list (const std::string &list, const std::string &delimiters, const char escape_char)
 
std::vector< std::string > irods::deserialize_list (const std::string &list, const char delimiter_char, const char escape_char)
 
std::vector< std::string > irods::deserialize_list (const std::string &list, const std::string &delimiters)
 
std::vector< std::string > irods::deserialize_list (const std::string &list, const char delimiter_char)
 
std::vector< std::string > irods::deserialize_list (const std::string &list)
 
std::vector< std::string > irods::deserialize_metadata (const std::string &metadata)
 
std::string irods::serialize_metadata (const std::vector< std::string > &metadata)
 
std::vector< std::vector< std::string > > irods::deserialize_acl (const std::string &acl)
 
std::string irods::serialize_acl (const std::vector< std::vector< std::string > > &acl)
 
char * serialize_list_c (const char **list, size_t list_len)
 
char * serialize_metadata_c (const char **metadata, size_t metadata_len)
 
char * serialize_acl_c (const char **acl, size_t acl_len)
 

Variables

static const char irods::default_escape_char = '\\'
 
static const char irods::default_delimiter_char = ';'
 
static const std::string irods::default_special_characters = std::string( 1, default_escape_char ) + default_delimiter_char
 

Function Documentation

◆ serialize_acl_c()

char* serialize_acl_c ( const char **  acl,
size_t  acl_len 
)

Definition at line 380 of file irods_serialization.cpp.

References NULL, and irods::serialize_acl().

Here is the call graph for this function:

◆ serialize_list_c()

char* serialize_list_c ( const char **  list,
size_t  list_len 
)

Definition at line 359 of file irods_serialization.cpp.

References irods::serialize_list().

Here is the call graph for this function:

◆ serialize_metadata_c()

char* serialize_metadata_c ( const char **  metadata,
size_t  metadata_len 
)

Definition at line 367 of file irods_serialization.cpp.

References NULL, and irods::serialize_metadata().

Here is the call graph for this function: