|
DCMTK Version 3.6.9
OFFIS DICOM Toolkit
|
this helper class maintains a map of presentation context lists. More...
Public Member Functions | |
| DcmPresentationContextMap () | |
| constructor | |
| ~DcmPresentationContextMap () | |
| destructor | |
| void | clear () |
| Resets DcmPresentationContextMap and frees any allocated memory. | |
| DcmPresentationContextMap (const DcmPresentationContextMap &arg) | |
| Copy constructor, creates deep copy. | |
| DcmPresentationContextMap & | operator= (const DcmPresentationContextMap &arg) |
| Copy assignment operator, creates deep copy. | |
| OFMap< OFString, DcmPresentationContextList * >::const_iterator | begin () |
| const iterator pointing to start of presentation context map | |
| OFMap< OFString, DcmPresentationContextList * >::const_iterator | end () |
| const iterator pointing to end of presentation context map (behind last entry) | |
| const DcmPresentationContextList * | getPresentationContextList (const OFString &pcName) |
| get list of presentation contexts given the corresponding symbolic name | |
| OFCondition | add (const OFString &key, const OFString &abstractSyntaxUID, const OFString &transferSyntaxKey, OFBool scuMode) |
| add new entry to list within map. | |
| OFBool | isKnownKey (const char *key) const |
| checks if the key is known | |
| OFBool | isKnownAbstractSyntax (const char *key, const DcmUIDHandler &abstractSyntax) const |
| checks if the given abstract syntax is contained in the list identified by the given key. | |
| const DcmPresentationContextList * | getPresentationContextList (const char *key) const |
| returns the list of presentation contexts identified by the given key | |
Private Attributes | |
| OFMap< OFString, DcmPresentationContextList * > | map_ |
| map of presentation context lists | |
this helper class maintains a map of presentation context lists.
Not intended for use by the end user.
| OFCondition DcmPresentationContextMap::add | ( | const OFString & | key, |
| const OFString & | abstractSyntaxUID, | ||
| const OFString & | transferSyntaxKey, | ||
| OFBool | scuMode ) |
add new entry to list within map.
If key is new, new list is created. Otherwise value is appended to existing list.
| key | map key |
| abstractSyntaxUID | abstract syntax UID |
| transferSyntaxKey | symbolic name of transfer syntax UID list, not checked here. |
| scuMode | true if the configuration is intended for an SCU (i.e. the limit of 128 presentation contexts must be preserved), false otherwise |
| OFMap< OFString, DcmPresentationContextList * >::const_iterator DcmPresentationContextMap::begin | ( | ) |
const iterator pointing to start of presentation context map
| OFMap< OFString, DcmPresentationContextList * >::const_iterator DcmPresentationContextMap::end | ( | ) |
const iterator pointing to end of presentation context map (behind last entry)
| const DcmPresentationContextList * DcmPresentationContextMap::getPresentationContextList | ( | const char * | key | ) | const |
returns the list of presentation contexts identified by the given key
| key | presentation context list to search |
| const DcmPresentationContextList * DcmPresentationContextMap::getPresentationContextList | ( | const OFString & | pcName | ) |
get list of presentation contexts given the corresponding symbolic name
| pcName | the symbolic name of the pc list |
| OFBool DcmPresentationContextMap::isKnownAbstractSyntax | ( | const char * | key, |
| const DcmUIDHandler & | abstractSyntax ) const |
checks if the given abstract syntax is contained in the list identified by the given key.
| key | presentation context list to search |
| abstractSyntax | abstract syntax UID to search |
| OFBool DcmPresentationContextMap::isKnownKey | ( | const char * | key | ) | const |
checks if the key is known
| key | key name, must not be NULL |