DSRIODConstraintChecker Class Reference

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

Inheritance diagram for DSRIODConstraintChecker:

DSRTypes DSRBasicTextSRConstraintChecker DSRChestCadSRConstraintChecker DSRColonCadSRConstraintChecker DSRComprehensiveSRConstraintChecker DSREnhancedSRConstraintChecker DSRImplantationPlanSRDocumentConstraintChecker DSRKeyObjectSelectionDocumentConstraintChecker DSRMacularGridThicknessAndVolumeReportConstraintChecker DSRMammographyCadSRConstraintChecker DSRProcedureLogConstraintChecker DSRSpectaclePrescriptionReportConstraintChecker DSRXRayRadiationDoseSRConstraintChecker 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).

Definition at line 45 of file dsriodcc.h.


Member Function Documentation

virtual OFBool DSRIODConstraintChecker::isByReferenceAllowed (  )  const [pure virtual]

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

Returns:
OFTrue if by-reference relationships are allowed, OFFalse otherwise

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

virtual OFBool DSRIODConstraintChecker::isTemplateSupportRequired (  )  const [pure virtual]

check whether this SR IOD requires template support (abstract)

Returns:
OFTrue if template support is required, OFFalse otherwise

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

virtual const char* DSRIODConstraintChecker::getRootTemplateIdentifier (  )  const [pure virtual]

get identifier of the root template

Returns:
root template identifier (TID) if required, NULL otherwise

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

virtual E_DocumentType DSRIODConstraintChecker::getDocumentType (  )  const [pure virtual]

get the associated document type of the SR IOD (abstract)

Returns:
document type (see DSRTypes::E_DocumentType)

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

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:
sourceValueType value type of the source content item to be checked
relationshipType type of relationship between source and target item
targetValueType value type of the target content item to be checked
byReference optional 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 DSRBasicTextSRConstraintChecker, DSRChestCadSRConstraintChecker, DSRColonCadSRConstraintChecker, DSRComprehensiveSRConstraintChecker, DSREnhancedSRConstraintChecker, DSRImplantationPlanSRDocumentConstraintChecker, DSRKeyObjectSelectionDocumentConstraintChecker, DSRMacularGridThicknessAndVolumeReportConstraintChecker, DSRMammographyCadSRConstraintChecker, DSRProcedureLogConstraintChecker, DSRSpectaclePrescriptionReportConstraintChecker, and DSRXRayRadiationDoseSRConstraintChecker.


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


Generated on 6 Jan 2011 for OFFIS DCMTK Version 3.6.0 by Doxygen 1.5.1