Inheritance diagram for DcmUnsignedLongOffset:
Public Member Functions | |
DcmUnsignedLongOffset (const DcmTag &tag, const Uint32 len=0) | |
constructor. | |
DcmUnsignedLongOffset (const DcmUnsignedLongOffset &old) | |
copy constructor | |
virtual | ~DcmUnsignedLongOffset () |
destructor | |
DcmUnsignedLongOffset & | operator= (const DcmUnsignedLongOffset &) |
assignment operator. | |
virtual DcmObject * | clone () const |
clone method | |
virtual OFCondition | copyFrom (const DcmObject &rhs) |
Virtual object copying. | |
virtual DcmEVR | ident () const |
get element type identifier | |
virtual OFCondition | clear () |
clear the currently stored value | |
virtual DcmObject * | getNextRecord () |
get stored object reference | |
virtual DcmObject * | setNextRecord (DcmObject *record) |
set stored object reference | |
virtual OFCondition | verify (const OFBool autocorrect=OFFalse) |
check the currently stored element value | |
Private Attributes | |
DcmObject * | nextRecord |
pointer to the referenced object. NULL means that no object is referenced. |
Definition at line 40 of file dcvrulup.h.
DcmUnsignedLongOffset::DcmUnsignedLongOffset | ( | const DcmTag & | tag, | |
const Uint32 | len = 0 | |||
) |
constructor.
Create new element from given tag and length.
tag | DICOM tag for the new element | |
len | value length for the new element |
Referenced by clone().
DcmUnsignedLongOffset::DcmUnsignedLongOffset | ( | const DcmUnsignedLongOffset & | old | ) |
copy constructor
old | element to be copied |
DcmUnsignedLongOffset& DcmUnsignedLongOffset::operator= | ( | const DcmUnsignedLongOffset & | ) |
assignment operator.
the | offset to be copied |
virtual DcmObject* DcmUnsignedLongOffset::clone | ( | ) | const [inline, virtual] |
clone method
Reimplemented from DcmUnsignedLong.
Definition at line 71 of file dcvrulup.h.
References DcmUnsignedLongOffset().
virtual OFCondition DcmUnsignedLongOffset::copyFrom | ( | const DcmObject & | rhs | ) | [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 DcmUnsignedLong.
virtual DcmEVR DcmUnsignedLongOffset::ident | ( | ) | const [virtual] |
get element type identifier
Reimplemented from DcmUnsignedLong.
virtual OFCondition DcmUnsignedLongOffset::clear | ( | ) | [virtual] |
clear the currently stored value
Reimplemented from DcmElement.
virtual DcmObject* DcmUnsignedLongOffset::getNextRecord | ( | ) | [virtual] |
get stored object reference
set stored object reference
record | pointer to the object to be referenced |
virtual OFCondition DcmUnsignedLongOffset::verify | ( | const OFBool | autocorrect = OFFalse |
) | [virtual] |
check the currently stored element value
autocorrect | correct value length if OFTrue |
Reimplemented from DcmUnsignedLong.