DCMTK  Version 3.6.1 20120515
OFFIS DICOM Toolkit
Public Member Functions
DSRMammographyCadSRConstraintChecker Class Reference

Class for checking the content relationship constraints of the Mammography CAD SR IOD. More...

+ Inheritance diagram for DSRMammographyCadSRConstraintChecker:

List of all members.

Public Member Functions

 DSRMammographyCadSRConstraintChecker ()
 default constructor
virtual ~DSRMammographyCadSRConstraintChecker ()
 destructor
virtual OFBool isByReferenceAllowed () const
 check whether by-reference relationships are allowed for this SR IOD
virtual OFBool isTemplateSupportRequired () const
 check whether this SR IOD requires template support
virtual const char * getRootTemplateIdentifier () const
 get identifier of the root template
virtual E_DocumentType getDocumentType () const
 get the associated document type of the SR IOD
virtual OFBool checkContentRelationship (const E_ValueType sourceValueType, const E_RelationshipType relationshipType, const E_ValueType targetValueType, const OFBool byReference=OFFalse) const
 check whether specified content relationship is allowed for this IOD

Detailed Description

Class for checking the content relationship constraints of the Mammography CAD SR IOD.


Member Function Documentation

virtual OFBool DSRMammographyCadSRConstraintChecker::checkContentRelationship ( const E_ValueType  sourceValueType,
const E_RelationshipType  relationshipType,
const E_ValueType  targetValueType,
const OFBool  byReference = OFFalse 
) const [virtual]

check whether specified content relationship is allowed for this IOD

Parameters:
sourceValueTypevalue type of the source content item to be checked
relationshipTypetype of relationship between source and target item
targetValueTypevalue type of the target content item to be checked
byReferenceoptional flag indicating whether the node/relationship should be added by-value (default) or by-reference
Returns:
OFTrue if content relationship is allowed, OFFalse otherwise

Implements DSRIODConstraintChecker.

get the associated document type of the SR IOD

Returns:
document type (DSRTypes::DT_MammographyCadSR)

Implements DSRIODConstraintChecker.

virtual const char* DSRMammographyCadSRConstraintChecker::getRootTemplateIdentifier ( ) const [virtual]

get identifier of the root template

Returns:
root template identifier (TID) "4000"

Implements DSRIODConstraintChecker.

check whether by-reference relationships are allowed for this SR IOD

Returns:
always returns OFTrue, i.e. by-reference relationships are allowed

Implements DSRIODConstraintChecker.

check whether this SR IOD requires template support

Returns:
always returns OFTrue, i.e. template support is required

Implements DSRIODConstraintChecker.


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


Generated on Tue May 15 2012 for DCMTK Version 3.6.1 20120515 by Doxygen 1.7.5.1-20111027