34 #include "dcmtk/config/osconfig.h" 36 #include "dcmtk/dcmsr/dsrtypes.h" 37 #include "dcmtk/dcmsr/dsrdoctn.h" 38 #include "dcmtk/dcmsr/dsrcodvl.h" 39 #include "dcmtk/dcmsr/dsrnumvl.h" 40 #include "dcmtk/dcmsr/dsrscovl.h" 41 #include "dcmtk/dcmsr/dsrtcovl.h" 42 #include "dcmtk/dcmsr/dsrcomvl.h" 43 #include "dcmtk/dcmsr/dsrimgvl.h" 44 #include "dcmtk/dcmsr/dsrwavvl.h" 46 #include "dcmtk/ofstd/ofstring.h" 84 void setMark(
const OFBool flag);
Interface class for content items.
DSRCodedEntryValue * getCodeValuePtr()
get pointer to code value.
OFBool isMarked() const
check for mark flag.
Class for spatial coordinate values.
const DSRNumericMeasurementValue & getNumericValue() const
get numeric value.
static const DSRSpatialCoordinatesValue EmptySpatialCoordinates
empty spatial coordinates value. Used as default return value for getSpatialCoordinates() ...
DSRContentItem()
default constructor (protected)
Class for image reference values.
OFCondition setContinuityOfContent(const E_ContinuityOfContent continuityOfContent)
set continuity of content flag.
const DSRTemporalCoordinatesValue & getTemporalCoordinates() const
get temporal coordinates.
E_ValueType getValueType() const
get value type.
E_ContinuityOfContent
SR continuity of content flag.
Class managing the SR document tree.
OFCondition getTemplateIdentification(OFString &templateIdentifier, OFString &mappingResource) const
get template identifier and mapping resource.
E_RelationshipType
SR relationship types.
OFCondition setNumericValue(const DSRNumericMeasurementValue &numericValue)
set numeric value.
E_ContinuityOfContent getContinuityOfContent() const
get continuity of content flag.
OFCondition setSpatialCoordinates(const DSRSpatialCoordinatesValue &coordinatesValue)
set spatial coordinates.
DSRImageReferenceValue * getImageReferencePtr()
get pointer to image reference.
const DSRImageReferenceValue & getImageReference() const
get image reference.
DSRNumericMeasurementValue * getNumericValuePtr()
get pointer to numeric value.
OFCondition setImageReference(const DSRImageReferenceValue &referenceValue)
set image reference.
const DSRCompositeReferenceValue & getCompositeReference() const
get composite reference.
const OFString & getObservationDateTime() const
get observation date time.
DSRTemporalCoordinatesValue * getTemporalCoordinatesPtr()
get pointer to temporal coordinates.
Class for spatial coordinate values.
OFCondition setStringValue(const OFString &stringValue)
set string value.
size_t getReferencedNodeID() const
get ID of the referenced node.
Class for coded entry values.
static const DSRCompositeReferenceValue EmptyCompositeReference
empty composite reference value. Used as default return value for getCompositeReference() ...
OFCondition setCompositeReference(const DSRCompositeReferenceValue &referenceValue)
set composite reference.
virtual ~DSRContentItem()
destructor
E_ValueType
SR value types.
const DSRSpatialCoordinatesValue & getSpatialCoordinates() const
get spatial coordinates.
const DSRCodedEntryValue & getConceptName() const
get concept name.
OFCondition setTemplateIdentification(const OFString &templateIdentifier, const OFString &mappingResource)
set template identifier and mapping resource.
static const DSRCodedEntryValue EmptyCodedEntry
empty coded entry value. Used as default return value for getCodeValue() and getConceptName() ...
Class for composite reference values.
static const DSRImageReferenceValue EmptyImageReference
empty image reference value. Used as default return value for getImageReference() ...
static const DSRTemporalCoordinatesValue EmptyTemporalCoordinates
empty temporal coordinates value. Used as default return value for getTemporalCoordinates() ...
const OFString & getStringValue() const
get string value.
Base class for content items.
Class for numeric measurement values.
OFCondition setConceptName(const DSRCodedEntryValue &conceptName)
set concept name.
OFBool isValid() const
check for validity/completeness.
General purpose class hiding global functions, constants and types from the global namespace...
const DSRWaveformReferenceValue & getWaveformReference() const
get waveform reference.
a simple string class that implements a subset of std::string.
OFCondition setTemporalCoordinates(const DSRTemporalCoordinatesValue &coordinatesValue)
set temporal coordinates.
DSRCompositeReferenceValue * getCompositeReferencePtr()
get pointer to composite reference.
DSRSpatialCoordinatesValue * getSpatialCoordinatesPtr()
get pointer to spatial coordinates.
OFCondition setCodeValue(const DSRCodedEntryValue &codeValue)
set code value.
const DSRCodedEntryValue & getCodeValue() const
get code value.
OFCondition setWaveformReference(const DSRWaveformReferenceValue &referenceValue)
set waveform reference.
DSRDocumentTreeNode * TreeNode
internal tree node pointer (current conten item)
static const OFString EmptyString
empty string value. Used as default return value for getStringValue()
static const DSRWaveformReferenceValue EmptyWaveformReference
empty waveform reference value. Used as default return value for getWaveformReference() ...
static const DSRNumericMeasurementValue EmptyNumericMeasurement
empty numberic measurement value. Used as default return value for getNumericValue() ...
E_RelationshipType getRelationshipType() const
get relationship type.
DSRCodedEntryValue * getConceptNamePtr()
get pointer to concept name.
void setTreeNode(DSRDocumentTreeNode *node)
set internal tree node pointer (protected)
OFCondition setObservationDateTime(const OFString &observationDateTime)
set observation date time.
General purpose class for condition codes.
void setMark(const OFBool flag)
mark/unmark item.
DSRWaveformReferenceValue * getWaveformReferencePtr()
get pointer to waveform reference.