22 ,m_SecondaryCriterion(secondaryCriterion)
34 ,m_SecondaryCriterion(other.m_SecondaryCriterion)
53 return m_SecondaryCriterion.GetPointer();
64 while (criterionToCheck)
67 allTags.insert( allTags.end(), newElements.begin(), newElements.end() );
78 if (m_SecondaryCriterion.IsNotNull())
80 return m_SecondaryCriterion->IsLeftBeforeRight(left, right);
84 return (
void*)left < (
void*)right;
DICOMSortCriterion::ConstPointer GetSecondaryCriterion() const
The fallback criterion.
itk::SmartPointer< Self > Pointer
std::vector< DICOMTag > DICOMTagList
DICOMSortCriterion::Pointer m_SecondaryCriterion
DICOMSortCriterion & operator=(const DICOMSortCriterion &other)
itk::SmartPointer< const Self > ConstPointer
Interface to datasets that is presented to sorting classes such as DICOMDatasetSorter.
DICOMSortCriterion(DICOMSortCriterion::Pointer secondaryCriterion)
DICOMTagList GetAllTagsOfInterest() const
Tags used for comparison (includes seconary criteria).
A tag based sorting criterion for use in DICOMTagBasedSorter.
virtual DICOMTagList GetTagsOfInterest() const =0
Tags used for comparison.
virtual ~DICOMSortCriterion()
bool NextLevelIsLeftBeforeRight(const mitk::DICOMDatasetAccess *left, const mitk::DICOMDatasetAccess *right) const