Odil
A C++11 library for the DICOM standard
|
This container encapsulates the item with parameters as found in varied HTTP headers (Accept, Accept-Charset, Accept-Encoding, Accept-Language, Content-Type). More...
#include <ItemWithParameters.h>
Public Member Functions | |
ItemWithParameters (std::string const &name="", std::map< std::string, std::string > const &name_parameters={}, std::map< std::string, std::string > const &extension_parameters={}) | |
ItemWithParameters (ItemWithParameters const &)=default | |
ItemWithParameters (ItemWithParameters &&)=default | |
ItemWithParameters & | operator= (ItemWithParameters const &)=default |
ItemWithParameters & | operator= (ItemWithParameters &&)=default |
~ItemWithParameters ()=default | |
operator std::string () const | |
Public Attributes | |
std::string | name |
std::map< std::string, std::string > | name_parameters |
std::map< std::string, std::string > | extension_parameters |
This container encapsulates the item with parameters as found in varied HTTP headers (Accept, Accept-Charset, Accept-Encoding, Accept-Language, Content-Type).
name_parameters are used to store the parameters up to and excluding "q" (the weight of this item), while extension_parameters will store the optional weight and subsequent parameters.
odil::webservices::ItemWithParameters::ItemWithParameters | ( | std::string const & | name = "" , |
std::map< std::string, std::string > const & | name_parameters = {} , |
||
std::map< std::string, std::string > const & | extension_parameters = {} |
||
) |
|
default |
|
default |
|
default |
odil::webservices::ItemWithParameters::operator std::string | ( | ) | const |
|
default |
|
default |
std::map<std::string, std::string> odil::webservices::ItemWithParameters::extension_parameters |
std::string odil::webservices::ItemWithParameters::name |
std::map<std::string, std::string> odil::webservices::ItemWithParameters::name_parameters |