DcmPresentationContextMap Class Reference

this helper class maintains a map of presentation context lists. More...

List of all members.

Public Member Functions

 DcmPresentationContextMap ()
 constructor
 ~DcmPresentationContextMap ()
 destructor
OFCondition add (const char *key, const char *abstractSyntaxUID, const char *transferSyntaxKey)
 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 DcmPresentationContextListgetPresentationContextList (const char *key) const
 returns the list of presentation contexts identified by the given key

Private Member Functions

 DcmPresentationContextMap (const DcmPresentationContextMap &arg)
 private undefined copy constructor
DcmPresentationContextMapoperator= (const DcmPresentationContextMap &arg)
 private undefined copy assignment operator

Private Attributes

DcmSimpleMap< DcmPresentationContextList * > map_
 map of presentation context lists


Detailed Description

this helper class maintains a map of presentation context lists.

Not intended for use by the end user.

Definition at line 120 of file dccfpcmp.h.


Member Function Documentation

OFCondition DcmPresentationContextMap::add ( const char *  key,
const char *  abstractSyntaxUID,
const char *  transferSyntaxKey 
)

add new entry to list within map.

If key is new, new list is created. Otherwise value is appended to existing list.

Parameters:
key map key
abstractSyntaxUID abstract syntax UID
transferSyntaxKey symbolic name of transfer syntax UID list, not checked here.
Returns:
EC_Normal if successful, an error code otherwise

OFBool DcmPresentationContextMap::isKnownKey ( const char *  key  )  const

checks if the key is known

Parameters:
key key name, must not be NULL
Returns:
true if key is known, false otherwise

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.

Parameters:
key presentation context list to search
abstractSyntax abstract syntax UID to search
Returns:
true if abstract syntax is in list, false otherwise

const DcmPresentationContextList* DcmPresentationContextMap::getPresentationContextList ( const char *  key  )  const

returns the list of presentation contexts identified by the given key

Parameters:
key presentation context list to search
Returns:
pointer to presentation context list if found, NULL otherwise


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


Generated on 6 Jan 2011 for OFFIS DCMTK Version 3.6.0 by Doxygen 1.5.1