2 #ifndef __TERRALIB_COMMON_INTERNAL_URI_UTILS_H 3 #define __TERRALIB_COMMON_INTERNAL_URI_UTILS_H 26 inline std::string
convert(
const char* v) {
return v;}
void TECOMMONEXPORT append_hex(char v, std::string &s)
Convert the char v to hex and add the 2 chars to the end of s.
bool TECOMMONEXPORT isspaces(const char *s)
Test if string is empty or all isspace.
#define TECOMMONEXPORT
You can use this macro in order to export/import classes and functions from this module.
std::string TECOMMONEXPORT convert(const path &v)
URI path to string.
bool TECOMMONEXPORT 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.