34 #include "dcmtk/config/osconfig.h" 36 #include "dcmtk/dcmsr/dsrtypes.h" 38 #include "dcmtk/ofstd/oflist.h" 115 OFBool
empty()
const;
151 const size_t flags = 0)
const;
315 DSRCodingSchemeIdentificationList &operator=(const DSRCodingSchemeIdentificationList &);
a class representing a list of DICOM elements in which each element has a different tag and elements ...
OFCondition addPrivateDcmtkCodingScheme()
add private OFFIS DCMTK coding scheme entry to the list.
OFString CodingSchemeVersion
Coding Scheme Version (VR=SH, VM=1, Type=3)
void clear()
empty the string of all contents
OFCondition readXML(const DSRXMLDocument &doc, DSRXMLCursor cursor, const size_t flags)
read list of items from XML document
OFString CodingSchemeUID
Coding Scheme UID (VR=UI, VM=1, Type=1C)
OFCondition writeXML(STD_NAMESPACE ostream &stream, const size_t flags=0) const
write current list in XML format
ItemStruct(const OFString &codingSchemeDesignator)
constructor
void clear()
clear additional information
const OFString & getCodingSchemeVersion(OFString &stringValue) const
get the coding scheme version of the currently selected item
OFListIterator(ItemStruct *) Iterator
internal cursor to current (selected) list item
OFCondition setCodingSchemeVersion(const OFString &value)
set the coding scheme version of the currently selected entry.
const OFString & getCodingSchemeDesignator(OFString &stringValue) const
get the coding scheme designator of the currently selected item.
ItemStruct * getCurrentItem() const
get pointer to currently selected item structure (if any)
Class that maps Coding Scheme Designators to an external coding system registration, or to a private or local coding scheme.
OFCondition addItem(const OFString &codingSchemeDesignator)
add the specified coding scheme to the list.
OFCondition setResponsibleOrganization(const OFString &value)
set the responsible organization of the currently selected entry.
size_t getNumberOfItems() const
get number of items stored in the list
OFCondition setCodingSchemeUID(const OFString &value)
set the coding scheme UID of the currently selected entry.
OFCondition gotoFirstItem()
select the first item in the list
OFString CodingSchemeName
Coding Scheme Name (VR=ST, VM=1, Type=3)
OFString CodingSchemeExternalID
Coding Scheme External ID (VR=ST, VM=1, Type=2C)
OFCondition removeItem()
remove the current item from the list.
DSRCodingSchemeIdentificationList()
constructor (default)
double linked list template class.
OFCondition setCodingSchemeName(const OFString &value)
set the coding scheme name of the currently selected entry.
const OFString & getCodingSchemeUID(OFString &stringValue) const
get the coding scheme UID of the currently selected item
OFList< ItemStruct * > ItemList
list of items
Internal structure defining the list items.
OFCondition write(DcmItem &dataset) const
write list of items to the coding scheme identification sequence.
const OFString & getCodingSchemeRegistry(OFString &stringValue) const
get the coding scheme registry of the currently selected item
OFString CodingSchemeRegistry
Coding Scheme Registry (VR=LO, VM=1, Type=1C)
OFCondition setCodingSchemeExternalID(const OFString &value)
set the coding scheme external ID of the currently selected entry.
General purpose class hiding global functions, constants and types from the global namespace...
a simple string class that implements a subset of std::string.
OFBool empty() const
check whether list is empty
const OFString CodingSchemeDesignator
Coding Scheme Designator (VR=SH, VM=1, Type=1)
const OFString & getResponsibleOrganization(OFString &stringValue) const
get the responsible organization of the currently selected item
const OFString & getCodingSchemeExternalID(OFString &stringValue) const
get the coding scheme external ID of the currently selected item
OFCondition gotoItem(const OFString &codingSchemeDesignator)
select the specified item as the current one
Class for XML document cursors.
OFString ResponsibleOrganization
Responsible Organization (VR=ST, VM=1, Type=3)
~DSRCodingSchemeIdentificationList()
destructor
OFCondition gotoNextItem()
select the next item in the list
const OFString & getCodingSchemeName(OFString &stringValue) const
get the coding scheme name of the currently selected item
OFCondition setCodingSchemeRegistry(const OFString &value)
set the coding scheme registry of the currently selected entry.
General purpose class for condition codes.
OFCondition read(DcmItem &dataset)
read list of items from the coding scheme identification sequence