|
DCMTK Version 3.6.9
OFFIS DICOM Toolkit
|
Class implementing a document tree node filter that checks for a given range of observation date/time values. More...
Inheritance diagram for DSRDocumentTreeNodeObservationDateTimeFilter:Public Member Functions | |
| DSRDocumentTreeNodeObservationDateTimeFilter (const OFString &fromDateTime, const OFString &toDateTime) | |
| constructor. | |
| virtual | ~DSRDocumentTreeNodeObservationDateTimeFilter () |
| destructor | |
| virtual OFBool | matches (const DSRDocumentTreeNode *node) const |
| check whether given node matches the filter criterion (observation date/time) | |
Public Member Functions inherited from DSRDocumentTreeNodeFilter | |
| virtual | ~DSRDocumentTreeNodeFilter () |
| destructor | |
Private Attributes | |
| const OFString | FromDateTime |
| start observation date/time to check for (as a string, might be empty) | |
| const OFString | ToDateTime |
| end observation date/time to check for (as a string, might be empty) | |
| OFDateTime | FromDateTimeValue |
| start observation date/time to check for (as a converted OFDateTime instance) | |
| OFDateTime | ToDateTimeValue |
| end observation date/time to check for (as a converted OFDateTime instance) | |
Class implementing a document tree node filter that checks for a given range of observation date/time values.
| DSRDocumentTreeNodeObservationDateTimeFilter::DSRDocumentTreeNodeObservationDateTimeFilter | ( | const OFString & | fromDateTime, |
| const OFString & | toDateTime ) |
constructor.
Empty date/time values are not used for checking. E.g. if only 'fromDateTime' is specified (non-empty) all moments in time subsequent to and including it match. If both date/time values are empty, only an empty observation date/time of the document tree node matches.
| fromDateTime | start observation date/time to check for (might be empty) |
| toDateTime | end observation date/time to check for (might be empty) |
|
virtual |
check whether given node matches the filter criterion (observation date/time)
| node | pointer to the node to be checked |
Implements DSRDocumentTreeNodeFilter.