URI.cpp File Reference

A class for representing an Uniform Resource Identifier (URI). More...

#include "URI.h"
#include <boost/regex.hpp>

Go to the source code of this file.

Classes

struct  te::core::URI::Impl
 

Variables

static const std::string regex_fragment = "(#(?<FRAGMENT_TYPE>.+))?"
 
static const std::string regex_host = "(?<HOST_TYPE>[^\\]\\[:/?#@!$&'()*+,;=]+)"
 
static const std::string regex_path = "(?<PATH_TYPE>[^\\]\\[?#!$&'()*+,;=]+)?"
 
static const std::string regex_port = "(:(?<PORT_TYPE>[0-9]{1,5}))?"
 
static const std::string regex_query = "(\\?(?<QUERY_TYPE>[^\\]\\[?#@!$'()*+,]+)?)?"
 
static const std::string regex_scheme = "(?<SCHEME_TYPE>[^\\]\\[:/?#@!$&'()*+,;=]+?):"
 
static const std::string regex_userInfo = "((?<USER_TYPE>.+):(?<PASSWORD_TYPE>.*)@)?"
 

Detailed Description

A class for representing an Uniform Resource Identifier (URI).

Author
Vinicius Campanha
Gilberto Ribeiro de Queiroz

Definition in file URI.cpp.

Variable Documentation

const std::string regex_fragment = "(#(?<FRAGMENT_TYPE>.+))?"
static

Definition at line 48 of file URI.cpp.

Referenced by te::core::URI::parse().

const std::string regex_host = "(?<HOST_TYPE>[^\\]\\[:/?#@!$&'()*+,;=]+)"
static

Definition at line 40 of file URI.cpp.

Referenced by te::core::URI::parse().

const std::string regex_path = "(?<PATH_TYPE>[^\\]\\[?#!$&'()*+,;=]+)?"
static

Definition at line 44 of file URI.cpp.

Referenced by te::core::URI::parse().

const std::string regex_port = "(:(?<PORT_TYPE>[0-9]{1,5}))?"
static

Definition at line 42 of file URI.cpp.

Referenced by te::core::URI::parse().

const std::string regex_query = "(\\?(?<QUERY_TYPE>[^\\]\\[?#@!$'()*+,]+)?)?"
static

Definition at line 46 of file URI.cpp.

Referenced by te::core::URI::parse().

const std::string regex_scheme = "(?<SCHEME_TYPE>[^\\]\\[:/?#@!$&'()*+,;=]+?):"
static

Definition at line 36 of file URI.cpp.

Referenced by te::core::URI::parse().

const std::string regex_userInfo = "((?<USER_TYPE>.+):(?<PASSWORD_TYPE>.*)@)?"
static

Definition at line 38 of file URI.cpp.

Referenced by te::core::URI::parse().