Odil
A C++11 library for the DICOM standard
src
odil
webservices
URL.h
Go to the documentation of this file.
1
/*************************************************************************
2
* odil - Copyright (C) Universite de Strasbourg
3
* Distributed under the terms of the CeCILL-B license, as published by
4
* the CEA-CNRS-INRIA. Refer to the LICENSE file or to
5
* http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
6
* for details.
7
************************************************************************/
8
9
#ifndef _37346dec_0ab4_46d2_a54f_e349e79cd27d
10
#define _37346dec_0ab4_46d2_a54f_e349e79cd27d
11
12
#include <string>
13
14
#include "
odil/odil.h
"
15
16
namespace
odil
17
{
18
19
namespace
webservices
20
{
21
23
struct
ODIL_API
URL
24
{
25
std::string
scheme
;
26
std::string
authority
;
27
std::string
path
;
28
std::string
query
;
29
std::string
fragment
;
30
31
bool
operator==(
URL
const
& other)
const
;
32
bool
operator!=(
URL
const
& other)
const
;
33
35
operator
std::string()
const
;
36
38
static
URL
parse(std::string
const
&
string
);
39
};
40
41
}
42
43
}
44
45
#endif // _37346dec_0ab4_46d2_a54f_e349e79cd27d
odil.h
odil::webservices::URL::path
std::string path
Definition:
URL.h:27
odil::webservices::URL::fragment
std::string fragment
Definition:
URL.h:29
odil
Definition:
Association.h:24
odil::webservices::URL
Uniform resource locator.
Definition:
URL.h:23
odil::webservices::URL::query
std::string query
Definition:
URL.h:28
odil::webservices::URL::authority
std::string authority
Definition:
URL.h:26
ODIL_API
#define ODIL_API
Definition:
odil.h:28
odil::webservices::URL::scheme
std::string scheme
Definition:
URL.h:25
Generated by
1.8.13