fw4spl
|
This class defines a UIDREF node in a SR document. More...
#include <DicomSRUIDRefNode.hpp>
Public Member Functions | |
FWGDCMIO_API | DicomSRUIDRefNode (const DicomCodedAttribute &codedAttribute, const std::string &relationship, const std::string uidValue) |
Constructor. | |
virtual FWGDCMIO_API | ~DicomSRUIDRefNode () |
Destructor. | |
virtual FWGDCMIO_API void | write (::gdcm::DataSet &dataset) const |
Write the SR node in the dataset. More... | |
const std::string & | getUIDValue () const |
Get UID value. | |
void | setUIDValue (const std::string &uidValue) |
Set UID 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 DicomCodedAttribute & | getCodedAttribute () 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_uidValue |
Text Value (0040, a124) | |
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 |
This class defines a UIDREF node in a SR document.
Definition at line 26 of file DicomSRUIDRefNode.hpp.
|
virtual |
Write the SR node in the dataset.
[in] | dataset | Destination dataset |
Reimplemented from fwGdcmIO::container::sr::DicomSRNode.
Definition at line 36 of file DicomSRUIDRefNode.cpp.
References m_uidValue, and fwGdcmIO::container::sr::DicomSRNode::write().