DCMTK
Version 3.6.1 20120515
OFFIS DICOM Toolkit
|
a class used to represent overlay data (60xx,3000) More...
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. |
a class used to represent overlay data (60xx,3000)
DcmOverlayData::DcmOverlayData | ( | const DcmTag & | tag, |
const Uint32 | len = 0 |
||
) | [inline] |
constructor
tag | attribute tag |
len | length of the attribute value |
DcmOverlayData::DcmOverlayData | ( | const DcmOverlayData & | oldObj | ) | [inline] |
copy constructor
oldObj | element to be copied |
virtual DcmObject* DcmOverlayData::clone | ( | ) | const [inline, virtual] |
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.
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.
DcmOverlayData& DcmOverlayData::operator= | ( | const DcmOverlayData & | obj | ) | [inline] |
copy assignment operator
obj | element to be copied |