Odil
A C++11 library for the DICOM standard
|
Go to the documentation of this file.
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);
125 #endif // _1cd2d27d_2d97_405b_b9d5_4104210e543a
URL const & get_base_url() const
Return base_url.
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.
QIDO-RS request generator and parser.
Definition: QIDORSRequest.h:33
HTTP request.
Definition: HTTPRequest.h:26
std::string const & get_media_type() const
Return the media type.
void set_base_url(URL const &url)
Set the base URL; the query and fragment must be empty.
Definition: Association.h:25
#define ODIL_API
Definition: odil.h:28
URL const & get_url() const
Return the url.
Uniform resource locator.
Definition: URL.h:26
Representation const & get_representation() const
Return the representation.
A DICOM element tag.
Definition: Tag.h:25
Target (in the DICOM data model) of the request.
Definition: Selector.h:27
bool operator==(QIDORSRequest const &other) const
Equality operator.
bool operator!=(QIDORSRequest const &other) const
Difference operator.
HTTPRequest get_http_request() const
Generate the associated HTTP request.
QIDORSRequest(HTTPRequest const &request)
Constructor.
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.
QIDORSRequest(URL const &base_url)
Constructor.
int get_limit() const
Return the wanted limit.
std::set< std::vector< Tag > > const & get_includefields() const
Return the wanted fields.
Selector const & get_selector() const
brief Return the selector.
bool get_fuzzymatching() const
Return whether fuzzymatching is wanted or not.
Representation
Data representation for DICOM requests and responses.
Definition: Utils.h:36