OFFIS DCMTK  Version 3.6.0
Public Member Functions | Private Member Functions | Private Attributes | List of all members
DcmProfileMap Class Reference

this helper class maintains a map of association negotiation profile keys. More...

Collaboration diagram for DcmProfileMap:
[legend]

Public Member Functions

 DcmProfileMap ()
 constructor
 
 ~DcmProfileMap ()
 destructor
 
OFCondition add (const char *key, const char *presentationContextKey, const char *roleSelectionKey, const char *extendedNegotiationKey)
 add new entry to list within map.
 
OFBool isKnownKey (const char *key) const
 checks if the key is known
 
const char * getPresentationContextKey (const char *key) const
 returns the presentation context key for the given profile
 
const char * getRoleSelectionKey (const char *key) const
 returns the role selection key for the given profile
 
const char * getExtendedNegotiationKey (const char *key) const
 returns the extended negotiation key for the given profile
 

Private Member Functions

 DcmProfileMap (const DcmProfileMap &arg)
 private undefined copy constructor
 
DcmProfileMapoperator= (const DcmProfileMap &arg)
 private undefined copy assignment operator
 

Private Attributes

DcmSimpleMap< DcmProfileEntry * > map_
 map of profiles
 

Detailed Description

this helper class maintains a map of association negotiation profile keys.

Not intended for use by the end user.

Definition at line 107 of file dccfprmp.h.

Member Function Documentation

OFCondition DcmProfileMap::add ( const char *  key,
const char *  presentationContextKey,
const char *  roleSelectionKey,
const char *  extendedNegotiationKey 
)

add new entry to list within map.

Parameters
keymap key, must not exist in map
presentationContextKeysymbolic identifier of the presentation context list, must not be NULL
roleSelectionKeysymbolic identifier of the role selection list, may be NULL
extendedNegotiationKeysymbolic identifier of the extended negotiation list, may be NULL
Returns
EC_Normal if successful, an error code otherwise
const char* DcmProfileMap::getExtendedNegotiationKey ( const char *  key) const

returns the extended negotiation key for the given profile

Parameters
keykey name, must not be NULL
Returns
extended negotiation key, NULL if not found or empty
const char* DcmProfileMap::getPresentationContextKey ( const char *  key) const

returns the presentation context key for the given profile

Parameters
keykey name, must not be NULL
Returns
presentation context key, NULL if not found
const char* DcmProfileMap::getRoleSelectionKey ( const char *  key) const

returns the role selection key for the given profile

Parameters
keykey name, must not be NULL
Returns
role selection key, NULL if not found or empty
OFBool DcmProfileMap::isKnownKey ( const char *  key) const

checks if the key is known

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

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


Generated on Thu Dec 20 2012 for OFFIS DCMTK Version 3.6.0 by Doxygen 1.8.2