9#ifndef _1cd2d27d_2d97_405b_b9d5_4104210e543a
10#define _1cd2d27d_2d97_405b_b9d5_4104210e543a
86 std::shared_ptr<DataSet> query,
bool fuzzymatching=
false,
87 int limit=-1,
int offset=0,
bool numerical_tags=
false);
91 std::string _media_type;
95 std::shared_ptr<DataSet> _query_data_set;
107 static bool _is_selector_valid (
Selector const & selector);
110 static std::string _tag_to_string(
Tag const & tag,
bool numerical_tag);
113 void _from_url(
URL const & url);
116 URL _generate_url(
bool numerical_tags=
false);
A DICOM element tag.
Definition: Tag.h:25
HTTP request.
Definition: HTTPRequest.h:26
QIDO-RS request generator and parser.
Definition: QIDORSRequest.h:33
QIDORSRequest(HTTPRequest const &request)
Constructor.
void set_base_url(URL const &url)
Set the base URL; the query and fragment must be empty.
URL const & get_base_url() const
Return base_url.
std::string const & get_media_type() const
Return the media type.
Selector const & get_selector() const
brief Return the selector.
Representation const & get_representation() const
Return the representation.
bool operator==(QIDORSRequest const &other) const
Equality operator.
QIDORSRequest(URL const &base_url)
Constructor.
bool operator!=(QIDORSRequest const &other) const
Difference operator.
void request_datasets(Representation representation, Selector const &selector, std::shared_ptr< DataSet > query, bool fuzzymatching=false, int limit=-1, int offset=0, bool numerical_tags=false)
Prepare a qido request.
HTTPRequest get_http_request() const
Generate the associated HTTP request.
std::set< std::vector< Tag > > const & get_includefields() const
Return the wanted fields.
URL const & get_url() const
Return the url.
bool get_fuzzymatching() const
Return whether fuzzymatching is wanted or not.
int get_offset() const
Return the wanted offset.
std::shared_ptr< DataSet const > get_query_data_set() const
Return the dataSet containing the wanted attribute values.
int get_limit() const
Return the wanted limit.
Target (in the DICOM data model) of the request.
Definition: Selector.h:27
Representation
Data representation for DICOM requests and responses.
Definition: Utils.h:36
Definition: Association.h:25
#define ODIL_API
Definition: odil.h:28
Uniform resource locator.
Definition: URL.h:26