Odil
A C++11 library for the DICOM standard
Public Member Functions | List of all members
odil::webservices::Selector Class Reference

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...
 
Selectorset_study (std::string const &study)
 set the wanted study More...
 
Selectorset_series (std::string const &series)
 set the wanted series More...
 
Selectorset_instance (std::string const &instance)
 set the wanted instance More...
 
Selectorset_frames (std::vector< int > const &frames)
 set the wanted frames More...
 

Detailed Description

Target (in the DICOM data model) of the request.

Constructor & Destructor Documentation

◆ Selector()

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.

Member Function Documentation

◆ get_frames()

std::vector<int> const& odil::webservices::Selector::get_frames ( ) const

return the wanted frames

◆ get_instance()

std::string const& odil::webservices::Selector::get_instance ( ) const

return the wanted instance

◆ get_path()

std::string odil::webservices::Selector::get_path ( bool  include_frames) const

Return the associated URL path, with the optional "frames" component.

◆ get_series()

std::string const& odil::webservices::Selector::get_series ( ) const

return the wanted series

◆ get_study()

std::string const& odil::webservices::Selector::get_study ( ) const

return the wanted study

◆ is_instance_present()

bool odil::webservices::Selector::is_instance_present ( ) const

return if instance field is present in the selector

◆ is_series_present()

bool odil::webservices::Selector::is_series_present ( ) const

return if series field is present in the selector

◆ is_study_present()

bool odil::webservices::Selector::is_study_present ( ) const

return if study field is present in the selector

◆ operator!=()

bool odil::webservices::Selector::operator!= ( Selector const &  other) const

Difference operator.

◆ operator==()

bool odil::webservices::Selector::operator== ( Selector const &  other) const

Equality operator.

◆ set_frames()

Selector& odil::webservices::Selector::set_frames ( std::vector< int > const &  frames)

set the wanted frames

◆ set_instance()

Selector& odil::webservices::Selector::set_instance ( std::string const &  instance)

set the wanted instance

◆ set_series()

Selector& odil::webservices::Selector::set_series ( std::string const &  series)

set the wanted series

◆ set_study()

Selector& odil::webservices::Selector::set_study ( std::string const &  study)

set the wanted study


The documentation for this class was generated from the following file: