Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages

DcmUIDHandler Class Reference

helper class that manages a single DICOM UID. More...

List of all members.

Public Member Functions

 DcmUIDHandler ()
 default constructor

 DcmUIDHandler (const OFString &arg)
 construct from OFString

 DcmUIDHandler (const char *arg)
 construct from C string

 DcmUIDHandler (const DcmUIDHandler &arg)
 copy constructor

DcmUIDHandleroperator= (const DcmUIDHandler &arg)
 copy assignment operator

DcmUIDHandleroperator= (const OFString &arg)
 assign from OFString

DcmUIDHandleroperator= (const char *arg)
 assign from C string

 ~DcmUIDHandler ()
 destructor

OFBool operator== (const DcmUIDHandler &arg) const
 equal operator

OFBool operator!= (const DcmUIDHandler &arg) const
 not equal operator

OFBool isValidUID () const
 checks if the UID maintained by this object is a syntactically valid UID string

const char * c_str () const
 returns UID as C string

const OFStringstr () const
 returns UID as const OFString reference


Private Member Functions

void lookupSymbolicUID ()
 this method checks if the UID value passed to this object is a symbolic UID and in this case attempts to resolve by name.


Private Attributes

OFString uid_
 the UID maintained by this object.


Detailed Description

helper class that manages a single DICOM UID.

Unlike class DcmUniqueIdentifier, this class does not manage an attribute tag or means of encoding/decoding UIDs. Instead it allows to convert between numeric and symbolic representation of a UID and implements a syntactical check.

This class supports two special Transfer Syntax names, "LocalEndianExplicit" and "OppositeEndianExplicit". These are resolved to the explicit VR transfer syntaxes of the local byte order and the opposite byte order of the system the application is running on.

Definition at line 53 of file dccfuidh.h.


Member Function Documentation

const char* DcmUIDHandler::c_str  )  const [inline]
 

returns UID as C string

Returns:
UID

Definition at line 100 of file dccfuidh.h.

References OFString::c_str().

Referenced by DcmPresentationContextItem::getAbstractSyntax(), and DcmExtendedNegotiationItem::getAbstractSyntaxC().

void DcmUIDHandler::lookupSymbolicUID  )  [private]
 

this method checks if the UID value passed to this object is a symbolic UID and in this case attempts to resolve by name.

This method is called from the constructor, must never be virtual.

const OFString& DcmUIDHandler::str  )  const [inline]
 

returns UID as const OFString reference

Returns:
UID

Definition at line 108 of file dccfuidh.h.


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


Generated on 27 May 2004 for OFFIS DCMTK Version 3.5.3 by Doxygen 1.3.6