Odil
A C++11 library for the DICOM standard
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
odil::webservices::URL Struct Reference

Uniform resource locator. More...

#include <URL.h>

Public Member Functions

bool operator== (URL const &other) const
 
bool operator!= (URL const &other) const
 
 operator std::string () const
 Recompose the components.
 
std::vector< std::pair< std::string, std::string > > parse_query (std::string const &separator="&") const
 Parse attribute-value pairs in query string.
 

Static Public Member Functions

static URL parse (std::string const &string)
 Parse an URL into its five components.
 

Public Attributes

std::string scheme
 
std::string authority
 
std::string path
 
std::string query
 
std::string fragment
 

Detailed Description

Uniform resource locator.

Member Function Documentation

◆ operator std::string()

odil::webservices::URL::operator std::string ( ) const

Recompose the components.

◆ operator!=()

bool odil::webservices::URL::operator!= ( URL const &  other) const

◆ operator==()

bool odil::webservices::URL::operator== ( URL const &  other) const

◆ parse()

static URL odil::webservices::URL::parse ( std::string const &  string)
static

Parse an URL into its five components.

◆ parse_query()

std::vector< std::pair< std::string, std::string > > odil::webservices::URL::parse_query ( std::string const &  separator = "&") const

Parse attribute-value pairs in query string.

Member Data Documentation

◆ authority

std::string odil::webservices::URL::authority

◆ fragment

std::string odil::webservices::URL::fragment

◆ path

std::string odil::webservices::URL::path

◆ query

std::string odil::webservices::URL::query

◆ scheme

std::string odil::webservices::URL::scheme

The documentation for this struct was generated from the following file: