urisyn.h File Reference
#include "../Config.h"
#include "utils.h"
#include <string>

Go to the source code of this file.

Classes

struct  te::common::uri::urisyn::traits
 Traits used for parsing and encoding components. More...
 

Namespaces

 te
 URI C++ Library.
 
 te::common
 Namespace for the Common module of TerraLib.
 
 te::common::uri
 
 te::common::uri::urisyn
 URI syntax declarations.
 

Enumerations

enum  te::common::uri::urisyn::char_class_e { te::common::uri::urisyn::CINV = -2, te::common::uri::urisyn::CEND = -1, te::common::uri::urisyn::CVAL = 0, te::common::uri::urisyn::CVA2 = 1 }
 Char class. More...
 

Functions

void TECOMMONEXPORT te::common::uri::urisyn::convertPlus2Space (std::string &s)
 
bool TECOMMONEXPORT te::common::uri::urisyn::decode (std::string &s)
 Decode the pct-encoded (hex) sequences, if any, return success. More...
 
std::string TECOMMONEXPORT te::common::uri::urisyn::encode (const traits &ts, const std::string &comp)
 Encode the URI (sub) component. More...
 
bool TECOMMONEXPORT te::common::uri::urisyn::parse (const traits &ts, std::string::const_iterator &first, std::string::const_iterator last, std::string &comp, char *endc=0)
 Parse the URI componet, returning whether successful and setting the string and end char and advancing if so. More...
 

Variables

const traits TECOMMONEXPORT te::common::uri::urisyn::AUTHORITY_TRAITS
 authority traits More...
 
const char TECOMMONEXPORT te::common::uri::urisyn::ENCODE_BEGIN_CHAR
 encode begin char ('%') More...
 
const traits TECOMMONEXPORT te::common::uri::urisyn::FRAGMENT_TRAITS
 fragment traits More...
 
const traits TECOMMONEXPORT te::common::uri::urisyn::PATH_TRAITS
 path traits More...
 
const traits TECOMMONEXPORT te::common::uri::urisyn::QUERY_TRAITS
 query traits More...
 
const traits TECOMMONEXPORT te::common::uri::urisyn::SCHEME_TRAITS
 scheme traits More...