a class representing the DICOM value representation 'Integer String' (IS) More...
Public Member Functions | |
DcmIntegerString (const DcmTag &tag, const Uint32 len=0) | |
constructor. | |
DcmIntegerString (const DcmIntegerString &old) | |
copy constructor | |
virtual | ~DcmIntegerString () |
destructor | |
DcmIntegerString & | operator= (const DcmIntegerString &obj) |
assignment operator | |
virtual DcmObject * | clone () 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 |
a class representing the DICOM value representation 'Integer String' (IS)
Definition at line 45 of file dcvris.h.
DcmIntegerString::DcmIntegerString | ( | 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().
DcmIntegerString::DcmIntegerString | ( | const DcmIntegerString & | old | ) |
copy constructor
old | element to be copied |
virtual DcmObject* DcmIntegerString::clone | ( | ) | const [inline, virtual] |
clone method
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
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 |
Reimplemented from DcmByteString.
virtual OFCondition DcmIntegerString::getSint32 | ( | Sint32 & | sintVal, | |
const unsigned long | pos = 0 | |||
) | [virtual] |
get particular integer value
sintVal | reference to result variable | |
pos | index of the value to be retrieved (0..vm-1) |
Reimplemented from DcmElement.
virtual DcmEVR DcmIntegerString::ident | ( | ) | const [virtual] |
get element type identifier
Reimplemented from DcmByteString.
DcmIntegerString& DcmIntegerString::operator= | ( | const DcmIntegerString & | obj | ) |
assignment operator
obj | element to be assigned/copied |
Reimplemented from DcmByteString.