22 #ifndef __TERRALIB_COMMON_INTERNAL_URISYN_H 
   23 #define __TERRALIB_COMMON_INTERNAL_URISYN_H 
   24 #include "../Config.h" 
   62           bool TECOMMONEXPORT parse(
const traits& ts, std::string::const_iterator& first, std::string::const_iterator last, std::string& comp, 
char* endc = 0);
 
const char * begin_cstring
begin cstring (or 0 if none) 
 
const traits AUTHORITY_TRAITS
authority traits 
 
const char end_char
end char (or 0 if none) 
 
const char ENCODE_BEGIN_CHAR
encode begin char ('%') 
 
void convertPlus2Space(std::string &s)
 
bool parse(const traits &ts, std::string::const_iterator &first, std::string::const_iterator last, std::string &comp, char *endc)
Parse the URI componet, returning whether successful and setting the string and end char and advancin...
 
std::string encode(const traits &ts, const std::string &comp)
Encode the URI (sub) component. 
 
#define TECOMMONEXPORT
You can use this macro in order to export/import classes and functions from this module. 
 
const traits QUERY_TRAITS
query traits 
 
const traits PATH_TRAITS
path traits 
 
bool decode(std::string &s)
Decode the pct-encoded (hex) sequences, if any, return success. 
 
Traits used for parsing and encoding components. 
 
const traits SCHEME_TRAITS
scheme traits 
 
const char begin_char
begin char (or 0 if none) 
 
const traits FRAGMENT_TRAITS
fragment traits 
 
valid anywhere but 1st position