|
Odil
A C++11 library for the DICOM standard
|
Target (in the DICOM data model) of the request. More...
#include <Selector.h>
Public Member Functions | |
| Selector (std::map< std::string, std::string > const &selector=std::map< std::string, std::string >(), std::vector< int > const &frames=std::vector< int >()) | |
| Default constructor. More... | |
| bool | operator== (Selector const &other) const |
| Equality operator. More... | |
| bool | operator!= (Selector const &other) const |
| Difference operator. More... | |
| std::string | get_path (bool include_frames) const |
| Return the associated URL path, with the optional "frames" component. More... | |
| bool | is_study_present () const |
| return if study field is present in the selector More... | |
| bool | is_series_present () const |
| return if series field is present in the selector More... | |
| bool | is_instance_present () const |
| return if instance field is present in the selector More... | |
| std::string const & | get_study () const |
| return the wanted study More... | |
| std::string const & | get_series () const |
| return the wanted series More... | |
| std::string const & | get_instance () const |
| return the wanted instance More... | |
| std::vector< int > const & | get_frames () const |
| return the wanted frames More... | |
| Selector & | set_study (std::string const &study) |
| set the wanted study More... | |
| Selector & | set_series (std::string const &series) |
| set the wanted series More... | |
| Selector & | set_instance (std::string const &instance) |
| set the wanted instance More... | |
| Selector & | set_frames (std::vector< int > const &frames) |
| set the wanted frames More... | |
Target (in the DICOM data model) of the request.
| odil::webservices::Selector::Selector | ( | std::map< std::string, std::string > const & | selector = std::map< std::string, std::string >(), |
| std::vector< int > const & | frames = std::vector< int >() |
||
| ) |
Default constructor.
| std::vector<int> const& odil::webservices::Selector::get_frames | ( | ) | const |
return the wanted frames
| std::string const& odil::webservices::Selector::get_instance | ( | ) | const |
return the wanted instance
| std::string odil::webservices::Selector::get_path | ( | bool | include_frames | ) | const |
Return the associated URL path, with the optional "frames" component.
| std::string const& odil::webservices::Selector::get_series | ( | ) | const |
return the wanted series
| std::string const& odil::webservices::Selector::get_study | ( | ) | const |
return the wanted study
| bool odil::webservices::Selector::is_instance_present | ( | ) | const |
return if instance field is present in the selector
| bool odil::webservices::Selector::is_series_present | ( | ) | const |
return if series field is present in the selector
| bool odil::webservices::Selector::is_study_present | ( | ) | const |
return if study field is present in the selector
| bool odil::webservices::Selector::operator!= | ( | Selector const & | other | ) | const |
Difference operator.
| bool odil::webservices::Selector::operator== | ( | Selector const & | other | ) | const |
Equality operator.
| Selector& odil::webservices::Selector::set_frames | ( | std::vector< int > const & | frames | ) |
set the wanted frames
| Selector& odil::webservices::Selector::set_instance | ( | std::string const & | instance | ) |
set the wanted instance
| Selector& odil::webservices::Selector::set_series | ( | std::string const & | series | ) |
set the wanted series
| Selector& odil::webservices::Selector::set_study | ( | std::string const & | study | ) |
set the wanted study
1.8.13