Inheritance diagram for DcmOverlayData:
Public Member Functions | |
DcmOverlayData (const DcmTag &tag, const Uint32 len=0) | |
constructor | |
DcmOverlayData (const DcmOverlayData &oldObj) | |
copy constructor | |
virtual | ~DcmOverlayData () |
destructor | |
DcmOverlayData & | operator= (const DcmOverlayData &obj) |
copy assignment operator | |
virtual DcmObject * | clone () const |
clone method | |
virtual OFCondition | copyFrom (const DcmObject &rhs) |
Virtual object copying. | |
virtual DcmEVR | ident () const |
return identifier for this class. |
Definition at line 37 of file dcovlay.h.
DcmOverlayData::DcmOverlayData | ( | const DcmTag & | tag, | |
const Uint32 | len = 0 | |||
) | [inline] |
DcmOverlayData::DcmOverlayData | ( | const DcmOverlayData & | oldObj | ) | [inline] |
DcmOverlayData& DcmOverlayData::operator= | ( | const DcmOverlayData & | obj | ) | [inline] |
copy assignment operator
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
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.
rhs | - [in] The instance to copy from. Has to be of the same class type as "this" object |
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.
Reimplemented from DcmOtherByteOtherWord.
Definition at line 110 of file dcovlay.h.
Referenced by copyFrom().