DcmOverlayData Class Reference

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

Inheritance diagram for DcmOverlayData:

DcmPolymorphOBOW DcmOtherByteOtherWord DcmElement DcmObject 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)

Definition at line 37 of file dcovlay.h.


Constructor & Destructor Documentation

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

constructor

Parameters:
tag attribute tag
len length of the attribute value

Definition at line 45 of file dcovlay.h.

Referenced by clone().

DcmOverlayData::DcmOverlayData ( const DcmOverlayData oldObj  )  [inline]

copy constructor

Parameters:
oldObj element to be copied

Definition at line 54 of file dcovlay.h.


Member Function Documentation

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

copy assignment operator

Parameters:
obj element to be copied

Definition at line 68 of file dcovlay.h.

References DcmPolymorphOBOW::operator=().

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

clone method

Returns:
deep copy of this object

Reimplemented from DcmPolymorphOBOW.

Definition at line 77 of file dcovlay.h.

References DcmOverlayData().

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.

Definition at line 94 of file dcovlay.h.

References ident(), and DcmObject::ident().

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.

Definition at line 110 of file dcovlay.h.

Referenced by copyFrom().


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