DcmUnsignedLongOffset Class Reference

a class used for DICOMDIR byte offsets More...

Inheritance diagram for DcmUnsignedLongOffset:

DcmUnsignedLong DcmElement DcmObject List of all members.

Public Member Functions

 DcmUnsignedLongOffset (const DcmTag &tag, const Uint32 len=0)
 constructor.
 DcmUnsignedLongOffset (const DcmUnsignedLongOffset &old)
 copy constructor
virtual ~DcmUnsignedLongOffset ()
 destructor
virtual DcmObject * clone () const
 clone method
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

Protected Attributes

DcmObject * nextRecord
 pointer to the referenced object. NULL means that no object is referenced.

Private Member Functions

DcmUnsignedLongOffset & operator= (const DcmUnsignedLongOffset &)
 private undefined copy assignment operator

Detailed Description

a class used for DICOMDIR byte offsets

Definition at line 45 of file dcvrulup.h.


Constructor & Destructor Documentation

DcmUnsignedLongOffset::DcmUnsignedLongOffset ( const DcmTag &  tag,
const Uint32  len = 0 
)

constructor.

Create new element from given tag and length.

Parameters:
tag DICOM tag for the new element
len value length for the new element

Referenced by clone().

DcmUnsignedLongOffset::DcmUnsignedLongOffset ( const DcmUnsignedLongOffset &  old  ) 

copy constructor

Parameters:
old element to be copied


Member Function Documentation

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

clone method

Returns:
deep copy of this object

Reimplemented from DcmUnsignedLong.

Definition at line 71 of file dcvrulup.h.

References DcmUnsignedLongOffset().

virtual DcmEVR DcmUnsignedLongOffset::ident (  )  const [virtual]

get element type identifier

Returns:
type identifier of this class (internal type: EVR_up)

Reimplemented from DcmUnsignedLong.

virtual OFCondition DcmUnsignedLongOffset::clear (  )  [virtual]

clear the currently stored value

Returns:
status, EC_Normal if successful, an error code otherwise

Reimplemented from DcmElement.

virtual DcmObject* DcmUnsignedLongOffset::getNextRecord (  )  [virtual]

get stored object reference

Returns:
pointer to the currently referenced object (might be NULL)

virtual DcmObject* DcmUnsignedLongOffset::setNextRecord ( DcmObject *  record  )  [virtual]

set stored object reference

Parameters:
record pointer to the object to be referenced
Returns:
pointer to the newly referenced object (might be NULL)

virtual OFCondition DcmUnsignedLongOffset::verify ( const OFBool  autocorrect = OFFalse  )  [virtual]

check the currently stored element value

Parameters:
autocorrect correct value length if OFTrue
Returns:
status, EC_Normal if value length is correct, an error code otherwise

Reimplemented from DcmUnsignedLong.


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


Generated on 23 Jul 2007 for OFFIS DCMTK Version 3.5.4 by Doxygen 1.5.2