fw4spl
fwGdcmIO::container::sr::DicomSRTextNode Class Reference

This class defines a TEXT node in a SR document. More...

#include <DicomSRTextNode.hpp>

+ Inheritance diagram for fwGdcmIO::container::sr::DicomSRTextNode:
+ Collaboration diagram for fwGdcmIO::container::sr::DicomSRTextNode:

Public Member Functions

FWGDCMIO_API DicomSRTextNode (const DicomCodedAttribute &codedAttribute, const std::string &relationship, const std::string textValue)
 Constructor.
 
virtual FWGDCMIO_API ~DicomSRTextNode ()
 Destructor.
 
virtual FWGDCMIO_API void write (::gdcm::DataSet &dataset) const
 Write the SR node in the dataset. More...
 
const std::string & getTextValue () const
 Get Text value.
 
void setTextValue (const std::string &textValue)
 Set Text value.
 
- Public Member Functions inherited from fwGdcmIO::container::sr::DicomSRNode
FWGDCMIO_API void addSubNode (const std::shared_ptr< DicomSRNode > &node)
 Add a sub node. More...
 
const SubNodeContainer & getSubNodeContainer () const
 Get Sub node container.
 
void setSubNodeContainer (const SubNodeContainer &subNodeContainer)
 Set Sub node container.
 
const DicomCodedAttributegetCodedAttribute () const
 Get Coded attribute.
 
void setCodedAttribute (const DicomCodedAttribute &codedAttribute)
 Set Coded attribute.
 
const std::string & getType () const
 Get Type.
 
void setType (const std::string &type)
 Set Type.
 
const std::string & getRelationship () const
 Get Relationship.
 
void setRelationship (const std::string &relationship)
 Set Relationship.
 

Protected Member Functions

virtual void print (std::ostream &os) const
 Dump function.
 
- Protected Member Functions inherited from fwGdcmIO::container::sr::DicomSRNode
 DicomSRNode (const DicomCodedAttribute &codedAttribute, const std::string &type, const std::string &relationship="")
 Constructor.
 
virtual ~DicomSRNode ()
 Destructor.
 
::gdcm::SmartPointer< ::gdcm::SequenceOfItems > createConceptNameCodeSequence (const DicomCodedAttribute &codedAttribute) const
 Create a concept name code sequence. More...
 
void writeContentSequence (::gdcm::DataSet &dataset) const
 Write a content sequence. More...
 

Protected Attributes

std::string m_textValue
 Text Value (0040, a160)
 
- Protected Attributes inherited from fwGdcmIO::container::sr::DicomSRNode
SubNodeContainer m_subNodeContainer
 SubNode container.
 
DicomCodedAttribute m_codedAttribute
 Coded entry of the node.
 
std::string m_type
 Node type (0040, a040)
 
std::string m_relationship
 Node relationship (0040, a010)
 

Additional Inherited Members

- Public Types inherited from fwGdcmIO::container::sr::DicomSRNode
typedef std::vector< std::shared_ptr< DicomSRNode > > SubNodeContainer
 

Detailed Description

This class defines a TEXT node in a SR document.

Definition at line 26 of file DicomSRTextNode.hpp.

Member Function Documentation

void fwGdcmIO::container::sr::DicomSRTextNode::write ( ::gdcm::DataSet &  dataset) const
virtual

Write the SR node in the dataset.

Parameters
[in]datasetDestination dataset

Reimplemented from fwGdcmIO::container::sr::DicomSRNode.

Definition at line 36 of file DicomSRTextNode.cpp.

References m_textValue, and fwGdcmIO::container::sr::DicomSRNode::write().

+ Here is the call graph for this function:


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