#include "utils.h"#include <stdlib.h>#include <ctype.h>#include <errno.h>#include <sstream>#include <stdexcept>#include <boost/algorithm/string.hpp>Go to the source code of this file.
Namespaces | |
| te | |
| URI C++ Library.  | |
| te::common | |
| Namespace for the Common module of TerraLib.  | |
| te::common::uri | |
Functions | |
| void | te::common::uri::append_hex (char v, std::string &s) | 
| Convert the char v to hex and add the 2 chars to the end of s.  More... | |
| std::string | te::common::uri::convert (bool v) | 
| bool to string, true="1", false="0"  More... | |
| std::string | te::common::uri::convert (int v) | 
| int to string  More... | |
| std::string | te::common::uri::convert (unsigned int v) | 
| uint to string  More... | |
| std::string | te::common::uri::convert (long int v) | 
| long int to string  More... | |
| std::string | te::common::uri::convert (unsigned long int v) | 
| unsigned long int to string  More... | |
| std::string | te::common::uri::convert (long long int v) | 
| long long int to string  More... | |
| std::string | te::common::uri::convert (unsigned long long int v) | 
| unsigned long long int to string  More... | |
| std::string | te::common::uri::convert (double v) | 
| double to string  More... | |
| std::string | te::common::uri::convert (const std::string &v) | 
| string to trimmed string  More... | |
| bool | te::common::uri::convert (const std::string &s, bool &v) | 
| String to bool, returning true if set, which is when the string is not empty or all isspace.  More... | |
| bool | te::common::uri::convert (const std::string &s, int &v) | 
| String to int, returning true if set, which is when the string is not empty or all isspace.  More... | |
| bool | te::common::uri::convert (const std::string &s, unsigned int &v) | 
| String to unsigned int, returning true if set, which is when the string is not empty or all isspace.  More... | |
| bool | te::common::uri::convert (const std::string &s, unsigned long int &v) | 
| String to size_t, returning true if set, which is when the string is not empty or all isspace.  More... | |
| bool | te::common::uri::convert (const std::string &s, long long int &v) | 
| String to long long int, returning true if set, which is when the string is not empty or all isspace.  More... | |
| bool | te::common::uri::convert (const std::string &s, unsigned long long int &v) | 
| String to unsigned long long int, returning true if set, which is when the string is not empty or all isspace.  More... | |
| bool | te::common::uri::convert (const std::string &s, double &v) | 
| String to double, returning true if set, which is when the string is not empty or all isspace.  More... | |
| bool | te::common::uri::convert (const std::string &s, std::string &v) | 
| String to trimmed string, returning true if set, which is when the string is not empty or all isspace.  More... | |
| bool | te::common::uri::isspaces (const char *s) | 
| Test if string is empty or all isspace.  More... | |
| bool | te::common::uri::parse_hex (const std::string &s, size_t pos, char &chr) | 
| Parse hex chars at pos, returning success, and set the char and advance first on success.  More... | |
| template<typename T > | |
| std::string | stringstream_convert (const T &v) | 
Variables | |
| static const char | iso_8859_1_nonctl_nonpercnt_chars_ [] | 
| std::string stringstream_convert | ( | const T & | v | ) | 
Definition at line 13 of file utils.cpp.
Referenced by te::common::uri::convert().
      
  | 
  static |