Sorter General class to do sorting using a custom function You simply need to provide a function of type: Sorter::SortFunction.
More...
#include <gdcmSorter.h>
Sorter General class to do sorting using a custom function You simply need to provide a function of type: Sorter::SortFunction.
- Warning
- implementation details. For now there is no cache mechanism. Which means that everytime you call Sort, all files specified as input paramater are read
- See also
- Scanner
- Examples:
- SortImage.cxx, and VolumeSorter.cxx.
typedef bool(* gdcm::Sorter::SortFunction) (DataSet const &, DataSet const &) |
Set the sort function which compares one dataset to the other.
virtual gdcm::Sorter::~Sorter |
( |
| ) |
|
|
virtual |
bool gdcm::Sorter::AddSelect |
( |
Tag const & |
tag, |
|
|
const char * |
value |
|
) |
| |
const std::vector<std::string>& gdcm::Sorter::GetFilenames |
( |
| ) |
const |
|
inline |
void gdcm::Sorter::Print |
( |
std::ostream & |
os | ) |
const |
virtual bool gdcm::Sorter::Sort |
( |
std::vector< std::string > const & |
filenames | ) |
|
|
virtual |
virtual bool gdcm::Sorter::StableSort |
( |
std::vector< std::string > const & |
filenames | ) |
|
|
virtual |
std::ostream& operator<< |
( |
std::ostream & |
_os, |
|
|
const Sorter & |
s |
|
) |
| |
|
friend |
std::vector<std::string> gdcm::Sorter::Filenames |
|
protected |
std::map<Tag,std::string> gdcm::Sorter::Selection |
|
protected |
The documentation for this class was generated from the following file: