fw4spl
|
Helper class to manage DICOM coded attributes. More...
#include <DicomCodedAttribute.hpp>
Public Types | |
typedef std::vector< ::fwGdcmIO::container::DicomCodedAttribute > | DicomCodedAttributeVectorType |
DicomCodedAttribute container type. | |
Static Public Member Functions | |
static FWGDCMIO_API DicomCodedAttributeVectorType | convertEntryToCodedAttribute (const std::string &entry) |
Convert an entry of the form '(AAA;BBB;CCC)' into a list of DicomCodedAttributes. Several DicomCodedAttributes can be detected in a single entry. More... | |
static FWGDCMIO_API::gdcm::Segment::BasicCodedEntryVector | convertEntryToGDCMCodedAttribute (const std::string &entry) |
Convert an entry of the form '(AAA;BBB;CCC)' into GDCM's BasicCodedEntryVector. Several DicomCodedAttributes can be detected in a single entry. More... | |
static FWGDCMIO_API bool | checkAndFormatEntry (std::string &entry, bool multipleValue=false) |
Retrieve '(AAA;BBB;CCC)' patterns inside of the entry string. Remove spaces or other characters that might be present between matches. If a single value is requested, check the uniqueness of the value. More... | |
Helper class to manage DICOM coded attributes.
Definition at line 24 of file helper/DicomCodedAttribute.hpp.
|
static |
Retrieve '(AAA;BBB;CCC)' patterns inside of the entry string. Remove spaces or other characters that might be present between matches. If a single value is requested, check the uniqueness of the value.
[in,out] | entry | Value that shall be verified and formatted |
[in] | multipleValue | If set to 'false', check the uniqueness of the value |
Definition at line 62 of file helper/DicomCodedAttribute.cpp.
Referenced by fwGdcmIO::helper::SegmentedPropertyRegistry::SegmentedPropertyRegistry().
|
static |
Convert an entry of the form '(AAA;BBB;CCC)' into a list of DicomCodedAttributes. Several DicomCodedAttributes can be detected in a single entry.
[in] | entry | Entry containing one or several coded attributes. |
Definition at line 19 of file helper/DicomCodedAttribute.cpp.
Referenced by convertEntryToGDCMCodedAttribute().
|
static |
Convert an entry of the form '(AAA;BBB;CCC)' into GDCM's BasicCodedEntryVector. Several DicomCodedAttributes can be detected in a single entry.
[in] | entry | Entry containing one or several coded attributes. |
Definition at line 47 of file helper/DicomCodedAttribute.cpp.
References convertEntryToCodedAttribute().
Referenced by fwGdcmIO::writer::ie::Surface::writeSurfaceSegmentationAndSurfaceMeshModules().