Public Member Functions | |
DcmShortString (const DcmTag &tag, const Uint32 len=0) | |
constructor. | |
DcmShortString (const DcmShortString &old) | |
copy constructor | |
virtual | ~DcmShortString () |
destructor | |
DcmShortString & | operator= (const DcmShortString &obj) |
assignment operator | |
virtual DcmObject * | clone () const |
clone method | |
virtual DcmEVR | ident () const |
get element type identifier | |
virtual OFCondition | getOFString (OFString &stringVal, const unsigned long pos, OFBool normalize=OFTrue) |
get a copy of a particular string component |
Definition at line 45 of file dcvrsh.h.
DcmShortString::DcmShortString | ( | 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().
DcmShortString::DcmShortString | ( | const DcmShortString & | old | ) |
copy constructor
old | element to be copied |
DcmShortString& DcmShortString::operator= | ( | const DcmShortString & | obj | ) |
assignment operator
obj | element to be assigned/copied |
virtual DcmObject* DcmShortString::clone | ( | ) | const [inline, virtual] |
clone method
Reimplemented from DcmCharString.
Definition at line 77 of file dcvrsh.h.
References DcmShortString().
virtual DcmEVR DcmShortString::ident | ( | ) | const [virtual] |
get element type identifier
Reimplemented from DcmByteString.
virtual OFCondition DcmShortString::getOFString | ( | OFString & | stringVal, | |
const unsigned long | pos, | |||
OFBool | normalize = OFTrue | |||
) | [virtual] |
get a copy of a particular string component
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.