DCMTK  Version 3.6.4
OFFIS DICOM Toolkit
Public Member Functions | Private Attributes | List of all members
DSRDocumentTreeNodeHasChildrenFilter Class Reference

Class implementing a document tree node filter that checks for the presence (or absence) of child nodes. More...

+ Inheritance diagram for DSRDocumentTreeNodeHasChildrenFilter:

Public Member Functions

 DSRDocumentTreeNodeHasChildrenFilter (const OFBool hasChildren=OFTrue)
 (default) constructor More...
 
virtual ~DSRDocumentTreeNodeHasChildrenFilter ()
 destructor
 
virtual OFBool matches (const DSRDocumentTreeNode *node) const
 check whether given node matches the filter criterion More...
 
- Public Member Functions inherited from DSRDocumentTreeNodeFilter
virtual ~DSRDocumentTreeNodeFilter ()
 destructor
 

Private Attributes

const OFBool HasChildren
 mode specifying whether the filter matches on the presence or absence of child nodes
 

Detailed Description

Class implementing a document tree node filter that checks for the presence (or absence) of child nodes.

Constructor & Destructor Documentation

◆ DSRDocumentTreeNodeHasChildrenFilter()

DSRDocumentTreeNodeHasChildrenFilter::DSRDocumentTreeNodeHasChildrenFilter ( const OFBool  hasChildren = OFTrue)

(default) constructor

Parameters
hasChildrenmode specifying whether the filter matches on the presence (default) or absence of child nodes

Member Function Documentation

◆ matches()

virtual OFBool DSRDocumentTreeNodeHasChildrenFilter::matches ( const DSRDocumentTreeNode node) const
virtual

check whether given node matches the filter criterion

Parameters
nodepointer to the node to be checked
Returns
OFTrue if 'node' matches the filter criterion, OFFalse otherwise

Implements DSRDocumentTreeNodeFilter.


The documentation for this class was generated from the following file:


Generated on Thu Nov 29 2018 for DCMTK Version 3.6.4 by Doxygen 1.8.14