DcmIntegerString Class Reference

a class representing the DICOM value representation 'Integer String' (IS) More...

Inheritance diagram for DcmIntegerString:
Inheritance graph
[legend]
Collaboration diagram for DcmIntegerString:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 DcmIntegerString (const DcmTag &tag, const Uint32 len=0)
 constructor.
 DcmIntegerString (const DcmIntegerString &old)
 copy constructor
virtual ~DcmIntegerString ()
 destructor
DcmIntegerStringoperator= (const DcmIntegerString &obj)
 assignment operator
virtual DcmObjectclone () const
 clone method
virtual DcmEVR ident () const
 get element type identifier
virtual OFCondition getSint32 (Sint32 &sintVal, const unsigned long pos=0)
 get particular integer value
virtual OFCondition getOFString (OFString &stringVal, const unsigned long pos, OFBool normalize=OFTrue)
 get a particular value as a character string

Detailed Description

a class representing the DICOM value representation 'Integer String' (IS)

Definition at line 45 of file dcvris.h.


Constructor & Destructor Documentation

DcmIntegerString::DcmIntegerString ( 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().

DcmIntegerString::DcmIntegerString ( const DcmIntegerString old  ) 

copy constructor

Parameters:
old element to be copied

Member Function Documentation

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

clone method

Returns:
deep copy of this object

Reimplemented from DcmByteString.

Definition at line 77 of file dcvris.h.

References DcmIntegerString().

virtual OFCondition DcmIntegerString::getOFString ( OFString stringVal,
const unsigned long  pos,
OFBool  normalize = OFTrue 
) [virtual]

get a particular value as a character string

Parameters:
stringVal variable in which the result value is stored
pos index of the value in case of multi-valued elements (0..vm-1)
normalize delete leading and trailing spaces if OFTrue
Returns:
status, EC_Normal if successful, an error code otherwise

Reimplemented from DcmByteString.

virtual OFCondition DcmIntegerString::getSint32 ( Sint32 &  sintVal,
const unsigned long  pos = 0 
) [virtual]

get particular integer value

Parameters:
sintVal reference to result variable
pos index of the value to be retrieved (0..vm-1)
Returns:
status status, EC_Normal if successful, an error code otherwise

Reimplemented from DcmElement.

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

get element type identifier

Returns:
type identifier of this class (EVR_IS)

Reimplemented from DcmByteString.

DcmIntegerString& DcmIntegerString::operator= ( const DcmIntegerString obj  ) 

assignment operator

Parameters:
obj element to be assigned/copied
Returns:
reference to this object

Reimplemented from DcmByteString.


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


Generated on 12 Dec 2009 for OFFIS DCMTK Version 3.5.4 by Doxygen 1.6.1