DCMTK
Version 3.6.1 20170228
OFFIS DICOM Toolkit
|
this helper class maintains a map of transfer syntax lists. More...
Public Member Functions | |
DcmTransferSyntaxMap () | |
constructor | |
~DcmTransferSyntaxMap () | |
destructor | |
DcmTransferSyntaxMap (const DcmTransferSyntaxMap &arg) | |
Copy constructor, performs deep copy. | |
DcmTransferSyntaxMap & | operator= (const DcmTransferSyntaxMap &arg) |
Copy assignment operator, performs deep copy. | |
OFMap< OFString, DcmTransferSyntaxList * > ::const_iterator | begin () |
const iterator pointing to start of transfer syntax map More... | |
OFMap< OFString, DcmTransferSyntaxList * > ::const_iterator | end () |
const iterator pointing to end of transfer syntax map (behind last entry) More... | |
void | clear () |
Resets DcmTransferSyntaxMap and frees any allocated memory. | |
size_t | size () const |
Returns number of entries in transfer syntax map. More... | |
OFCondition | add (const char *key, const char *transferSyntaxUID) |
add new entry to list within map. More... | |
OFBool | isKnownKey (const char *key) const |
checks if the key is known More... | |
const DcmTransferSyntaxList * | getTransferSyntaxList (const char *key) const |
returns the list of transfer syntaxes identified by the given key More... | |
Private Attributes | |
OFMap< OFString, DcmTransferSyntaxList * > | map_ |
map of transfer syntax lists | |
this helper class maintains a map of transfer syntax lists.
Not intended for use by the end user.
OFCondition DcmTransferSyntaxMap::add | ( | const char * | key, |
const char * | transferSyntaxUID | ||
) |
add new entry to list within map.
If key is new, new list is created. Otherwise transfer syntax is appended to existing list.
key | map key |
transferSyntaxUID | transfer syntax UID |
OFMap<OFString, DcmTransferSyntaxList*>::const_iterator DcmTransferSyntaxMap::begin | ( | ) |
const iterator pointing to start of transfer syntax map
OFMap<OFString, DcmTransferSyntaxList*>::const_iterator DcmTransferSyntaxMap::end | ( | ) |
const iterator pointing to end of transfer syntax map (behind last entry)
const DcmTransferSyntaxList* DcmTransferSyntaxMap::getTransferSyntaxList | ( | const char * | key | ) | const |
returns the list of transfer syntaxes identified by the given key
key | transfer syntax list to search |
OFBool DcmTransferSyntaxMap::isKnownKey | ( | const char * | key | ) | const |
checks if the key is known
key | key name, must not be NULL |
size_t DcmTransferSyntaxMap::size | ( | ) | const |
Returns number of entries in transfer syntax map.