Helper class which wraps searchPropertyEqual and findItem to make it easier to search through an IOD.
More...
template<typename IOD, typename Item, typename type, typename arg2, arg2 argument2>
class DRTSearch::searchPropertyEqualHelper< IOD, Item, type, arg2, argument2 >
Helper class which wraps searchPropertyEqual and findItem to make it easier to search through an IOD.
- Template Parameters
-
| IOD | the type of the IOD that should be checked |
| Item | this should always be IOD::Item. Sadly, MSC6 can't figure that out by itself and so we must explicitly tell it about this type. |
| type | the type that is being searched for |
| arg2 | the type of the second argument to the getter function |
| argument2 | the value of the second argument to the getter function |
◆ search()
template<typename IOD , typename Item , typename type , typename arg2 , arg2 argument2>
Find an item in a sequence.
- Parameters
-
| seq | the sequence to search through |
| wanted | the value that should be found |
| func | function that gets a value from a sequence item |
- Returns
- Reference to the first item that matches or to the empty default item.
The documentation for this class was generated from the following file:
- dcmrt/include/dcmtk/dcmrt/drmsrch.h