vdj_pipe
pipeline for processing DNA sequence data
sanitize_string.hpp
Go to the documentation of this file.
1 
7 #ifndef SANITIZE_STRING_HPP_
8 #define SANITIZE_STRING_HPP_
9 #include <string>
10 #include "boost/utility/string_ref.hpp"
11 #include "vdj_pipe/config.hpp"
12 
13 namespace vdj_pipe{
14 
17 VDJ_PIPE_DECL std::string sanitize(const char c);
18 
21 VDJ_PIPE_DECL std::string sanitize(std::string const& str);
22 
25 VDJ_PIPE_DECL std::string sanitize(
26  const boost::string_ref str,
27  const std::size_t max_len
28 );
29 
30 }//namespace vdj_pipe
31 #endif /* SANITIZE_STRING_HPP_ */
Main namespace of vdj_pipe library.
Definition: keywords_variable.hpp:11
#define VDJ_PIPE_DECL
Definition: config.hpp:23
std::string sanitize(const char c)
Definition: sanitize_string.cpp:53