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

Class implementing a document tree node filter that checks for a given template identification. More...

+ Inheritance diagram for DSRDocumentTreeNodeTemplateIdentificationFilter:

Public Member Functions

 DSRDocumentTreeNodeTemplateIdentificationFilter (const OFString &templateIdentifier, const OFString &mappingResource, const OFString &mappingResourceUID="")
 constructor More...
 
virtual ~DSRDocumentTreeNodeTemplateIdentificationFilter ()
 destructor
 
virtual OFBool matches (const DSRDocumentTreeNode *node) const
 check whether given node matches the filter criterion (template identification) More...
 
- Public Member Functions inherited from DSRDocumentTreeNodeFilter
virtual ~DSRDocumentTreeNodeFilter ()
 destructor
 
virtual OFBool matches (const DSRDocumentTreeNode *node) const =0
 check whether given node matches the filter criterion (abstract) More...
 

Private Attributes

const OFString TemplateIdentifier
 template identifier to check for
 
const OFString MappingResource
 mapping resource to check for
 
const OFString MappingResourceUID
 mapping resource unique identifier to check for (if not empty)
 

Detailed Description

Class implementing a document tree node filter that checks for a given template identification.

Constructor & Destructor Documentation

◆ DSRDocumentTreeNodeTemplateIdentificationFilter()

DSRDocumentTreeNodeTemplateIdentificationFilter::DSRDocumentTreeNodeTemplateIdentificationFilter ( const OFString templateIdentifier,
const OFString mappingResource,
const OFString mappingResourceUID = "" 
)

constructor

Parameters
templateIdentifiertemplate identifier to check for
mappingResourcemapping resource that defines the template
mappingResourceUIDuniquely identifies the mapping resource (optional). Not used for comparison if the value is empty.

Member Function Documentation

◆ matches()

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

check whether given node matches the filter criterion (template identification)

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 Tue Dec 19 2023 for DCMTK Version 3.6.8 by Doxygen 1.9.4