DCMTK
Version 3.6.6
OFFIS DICOM Toolkit
|
Base class for a list of document tree node filters. More...
Public Member Functions | |
DSRDocumentTreeNodeFilterList () | |
default constructor | |
virtual | ~DSRDocumentTreeNodeFilterList () |
destructor | |
OFCondition | addFilter (DSRDocumentTreeNodeFilter *filter) |
add a document tree node filter to the list More... | |
virtual OFBool | matches (const DSRDocumentTreeNode *node) const =0 |
check whether given node matches the filter criteria in the list (abstract) More... | |
![]() | |
virtual | ~DSRDocumentTreeNodeFilter () |
destructor | |
Protected Attributes | |
OFList< DSRDocumentTreeNodeFilter * > | FilterList |
list of pointers to filter criteria | |
Base class for a list of document tree node filters.
OFCondition DSRDocumentTreeNodeFilterList::addFilter | ( | DSRDocumentTreeNodeFilter * | filter | ) |
add a document tree node filter to the list
filter | pointer to a single filter or to a list of filters to be added. Ownership is passed to this list, i.e. memory is deleted by the destructor. Therefore, the instance has to be created with new(). |
|
pure virtual |
check whether given node matches the filter criteria in the list (abstract)
node | pointer to the node to be checked |
Implements DSRDocumentTreeNodeFilter.
Implemented in DSRDocumentTreeNodeOrFilter, and DSRDocumentTreeNodeAndFilter.