fw4spl
fwGdcmIO::container::DicomCodedAttribute Class Reference

This class represents a DICOM basic coded entry. It stores the four mains attributes : Code Value, Coding Scheme Designator, Coding Scheme Version and Code Meaning. See DICOM PS 3.3 - Table 8.8-1a. Basic Code Sequence Macro Attributes. More...

#include <DicomCodedAttribute.hpp>

Public Member Functions

FWGDCMIO_API DicomCodedAttribute (const std::string &codeValue="", const std::string &codingSchemeDesignator="", const std::string &codeMeaning="", const std::string &codingSchemeVersion="")
 Constructor. More...
 
FWGDCMIO_API bool isEmpty () const
 Returns true if the attribute is empty.
 
const std::string getCodeValue () const
 Get code value.
 
void setCodeValue (const std::string &codeValue)
 Set code value.
 
const std::string getCodingSchemeDesignator () const
 Get coding scheme designator.
 
void setCodingSchemeDesignator (const std::string &codingSchemeDesignator)
 Set coding scheme designator.
 
const std::string getCodeMeaning () const
 Get code meaning.
 
void setCodeMeaning (const std::string &codeMeaning)
 Set code meaning.
 
const std::string getCodingSchemeVersion () const
 Get coding scheme version.
 
void setCodingSchemeVersion (const std::string &codingSchemeVersion)
 Set coding scheme version.
 
FWGDCMIO_API::gdcm::SegmentHelper::BasicCodedEntry toGDCMFormat () const
 Convert entry to GDCM format.
 
FWGDCMIO_API bool operator== (const DicomCodedAttribute &other) const
 Comparison operators overloading.
 

Friends

FWGDCMIO_API friend std::ostream & operator<< (std::ostream &os, const DicomCodedAttribute &attribute)
 Dump operator.
 

Detailed Description

This class represents a DICOM basic coded entry. It stores the four mains attributes : Code Value, Coding Scheme Designator, Coding Scheme Version and Code Meaning. See DICOM PS 3.3 - Table 8.8-1a. Basic Code Sequence Macro Attributes.

Definition at line 28 of file container/DicomCodedAttribute.hpp.

Constructor & Destructor Documentation

fwGdcmIO::container::DicomCodedAttribute::DicomCodedAttribute ( const std::string &  codeValue = "",
const std::string &  codingSchemeDesignator = "",
const std::string &  codeMeaning = "",
const std::string &  codingSchemeVersion = "" 
)

Constructor.

Parameters
[in]codeValueCode Value (0008,0100)
[in]codingSchemeDesignatorCoding Scheme Designator (0008,0102)
[in]codeMeaningCode Meaning (0008,0104)
[in]codingSchemeVersionCoding Scheme Version (0003,0103)

Definition at line 16 of file container/DicomCodedAttribute.cpp.


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