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

Class for checking the content relationship constraints of an SR IOD (abstract) More...

+ Inheritance diagram for DSRIODConstraintChecker:

List of all members.

Public Member Functions

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

Detailed Description

Class for checking the content relationship constraints of an SR IOD (abstract)


Member Function Documentation

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

check whether specified content relationship is allowed for this IOD (abstract)

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

Implemented in DSRImplantationPlanSRDocumentConstraintChecker, DSRKeyObjectSelectionDocumentConstraintChecker, DSRMacularGridThicknessAndVolumeReportConstraintChecker, DSRSpectaclePrescriptionReportConstraintChecker, DSRBasicTextSRConstraintChecker, DSRChestCadSRConstraintChecker, DSRColonCadSRConstraintChecker, DSRComprehensiveSRConstraintChecker, DSREnhancedSRConstraintChecker, DSRMammographyCadSRConstraintChecker, DSRProcedureLogConstraintChecker, and DSRXRayRadiationDoseSRConstraintChecker.

virtual E_DocumentType DSRIODConstraintChecker::getDocumentType ( ) const [pure virtual]
virtual const char* DSRIODConstraintChecker::getRootTemplateIdentifier ( ) const [pure virtual]
virtual OFBool DSRIODConstraintChecker::isByReferenceAllowed ( ) const [pure virtual]
virtual OFBool DSRIODConstraintChecker::isTemplateSupportRequired ( ) const [pure virtual]

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