Thrill
0.1
escape_uri.hpp
Go to the documentation of this file.
1
/*******************************************************************************
2
* tlx/string/escape_uri.hpp
3
*
4
* Part of tlx - http://panthema.net/tlx
5
*
6
* Copyright (C) 2007-2017 Timo Bingmann <
[email protected]
>
7
*
8
* All rights reserved. Published under the Boost Software License, Version 1.0
9
******************************************************************************/
10
11
#ifndef TLX_STRING_ESCAPE_URI_HEADER
12
#define TLX_STRING_ESCAPE_URI_HEADER
13
14
#include <string>
15
16
namespace
tlx
{
17
18
//! \addtogroup tlx_string
19
//! \{
20
21
/*!
22
* Escape a string into a URI-encoding. This maps all non A-Z0-9 characters to
23
* %HH hex representation.
24
*/
25
std::string
escape_uri
(
const
std::string
& str);
26
27
/*!
28
* Escape a string into a URI-encoding. This maps all non A-Z0-9 characters to
29
* %HH hex representation.
30
*/
31
std::string
escape_uri
(
const
char
* str);
32
33
//! \}
34
35
}
// namespace tlx
36
37
#endif // !TLX_STRING_ESCAPE_URI_HEADER
38
39
/******************************************************************************/
tlx::escape_uri
std::string escape_uri(const std::string &str)
Escape a string into a URI-encoding.
Definition:
escape_uri.cpp:17
tlx
Definition:
exclusive_scan.hpp:17
thrill::mem::string
std::basic_string< char, std::char_traits< char >, Allocator< char > > string
string with Manager tracking
Definition:
allocator.hpp:220
extlib
tlx
tlx
string
escape_uri.hpp
Generated on Mon Apr 6 2020 09:17:55 for Thrill by
1.8.13