A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/cgi__util_8hpp_source.html below:

NCBI C++ ToolKit: include/cgi/cgi_util.hpp Source File

Go to the documentation of this file.

Go to the SVN repository for this file.

1 #ifndef CGI___CGI_UTIL__HPP 2 #define CGI___CGI_UTIL__HPP

static const char * str(char *buf, int n)

#define NCBI_DEPRECATED_CLASS

Macro used to mark a class as deprecated.

string URL_DecodeString(const string &str, EUrlEncode encode_flag=eUrlEncode_SkipMarkChars)

NCBI_DEPRECATED_CLASS NCBI_XCGI_EXPORT CCgiArgs

SIZE_TYPE URL_DecodeInPlace(string &str, EUrlDecode decode_flag=eUrlDecode_All)

void SetQueryString(const string &query, const IUrlEncoder *encoder=0)

string URL_EncodeString(const string &str, EUrlEncode encode_flag=eUrlEncode_SkipMarkChars)

NCBI_DEPRECATED_CLASS NCBI_XCGI_EXPORT EUrlEncode decode

NCBI_DEPRECATED_CLASS NCBI_XCGI_EXPORT EUrlEncode encode

string GetQueryString(EAmpEncoding amp_enc, EUrlEncode encode) const

NCBI_DEPRECATED_CLASS NCBI_XCGI_EXPORT CCgiArgs_Parser

@ eUrlEncode_SkipMarkChars

@ eUrlEncode_ProcessMarkChars

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

NCBI_NS_STD::string::size_type SIZE_TYPE

EUrlEncode

URL-encode flags.

@ eUrlEnc_ProcessMarkChars

Convert all non-alphanumeric chars, spaces are converted to '+'.

@ eUrlEnc_None

Do not encode.

@ eUrlEnc_PercentOnly

Convert all non-alphanumeric chars including space and '' to %## format.

@ eUrlEnc_Path

Same as ProcessMarkChars but preserves valid path characters ('/', '.')

@ eUrlEnc_SkipMarkChars

Do not convert chars like '!', '(' etc.

@ eUrlDec_All

Decode '+' to space.

@ eUrlDec_Percent

Decode only XX.

string GetQueryString(EAmpEncoding amp_enc, NStr::EUrlEncode encode) const

Construct and return complete query string.

void SetQueryString(const string &query, NStr::EUrlEncode encode)

Parse query string, call AddArgument() to store each value.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4