DCMTK  Version 3.6.1 20120515
OFFIS DICOM Toolkit
Public Member Functions
DcmOverlayData Class Reference

a class used to represent overlay data (60xx,3000) More...

+ Inheritance diagram for DcmOverlayData:

List of all members.

Public Member Functions

 DcmOverlayData (const DcmTag &tag, const Uint32 len=0)
 constructor
 DcmOverlayData (const DcmOverlayData &oldObj)
 copy constructor
virtual ~DcmOverlayData ()
 destructor
DcmOverlayDataoperator= (const DcmOverlayData &obj)
 copy assignment operator
virtual DcmObjectclone () const
 clone method
virtual OFCondition copyFrom (const DcmObject &rhs)
 Virtual object copying.
virtual DcmEVR ident () const
 return identifier for this class.

Detailed Description

a class used to represent overlay data (60xx,3000)


Constructor & Destructor Documentation

DcmOverlayData::DcmOverlayData ( const DcmTag tag,
const Uint32  len = 0 
) [inline]

constructor

Parameters:
tagattribute tag
lenlength of the attribute value
DcmOverlayData::DcmOverlayData ( const DcmOverlayData oldObj) [inline]

copy constructor

Parameters:
oldObjelement to be copied

Member Function Documentation

virtual DcmObject* DcmOverlayData::clone ( ) const [inline, virtual]

clone method

Returns:
deep copy of this object

Reimplemented from DcmPolymorphOBOW.

virtual OFCondition DcmOverlayData::copyFrom ( const DcmObject rhs) [inline, virtual]

Virtual object copying.

This method can be used for DcmObject and derived classes to get a deep copy of an object. Internally the assignment operator is called if the given DcmObject parameter is of the same type as "this" object instance. If not, an error is returned. This function permits copying an object by value in a virtual way which therefore is different to just calling the assignment operator of DcmElement which could result in slicing the object.

Parameters:
rhs- [in] The instance to copy from. Has to be of the same class type as "this" object
Returns:
EC_Normal if copying was successful, error otherwise

Reimplemented from DcmPolymorphOBOW.

virtual DcmEVR DcmOverlayData::ident ( void  ) const [inline, virtual]

return identifier for this class.

Every class derived from this class returns a unique value of type enum DcmEVR for this call. This is used as a "poor man's RTTI" to correctly identify instances derived from this class even on compilers not supporting RTTI.

Returns:
type identifier of this class

Reimplemented from DcmOtherByteOtherWord.

DcmOverlayData& DcmOverlayData::operator= ( const DcmOverlayData obj) [inline]

copy assignment operator

Parameters:
objelement to be copied

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


Generated on Tue May 15 2012 for DCMTK Version 3.6.1 20120515 by Doxygen 1.7.5.1-20111027