Utils.h File Reference

This file contains utility functions used to manipulate data from a URI. More...

#include "../Config.h"
#include <map>
#include <string>

Go to the source code of this file.

Namespaces

 te
 TerraLib.
 
 te::core
 

Functions

TECOREEXPORT std::map< std::string, std::string > te::core::Expand (const std::string &query_str)
 Split a query string into its components. More...
 
TECOREEXPORT std::string te::core::SetURIParameter (const std::string &srcUri, const std::string &key, const std::string &value)
 Sets the given key and value to the given URI. If the key already exists, it will be replaced. If the key does not exists, it will be added. More...
 
TECOREEXPORT std::string te::core::URIDecode (const std::string &srcUri)
 Decodes an encoded URI. The algorithm implementation is based on http://www.codeguru.com/cpp/cpp/algorithms/strings/article.php/c12759/URI-Encoding-and-Decoding.htm. More...
 
TECOREEXPORT std::string te::core::URIEncode (const std::string &srcUri)
 Encodes an decoded URI. The algorithm implementation is based on http://www.codeguru.com/cpp/cpp/algorithms/strings/article.php/c12759/URI-Encoding-and-Decoding.htm. More...
 

Detailed Description

This file contains utility functions used to manipulate data from a URI.

Author
Andre Gomes de Oliveira
Gilberto Ribeiro de Queiroz

Definition in file Utils.h.