Inheritance diagram for DcmDecimalString:
Public Member Functions | |
DcmDecimalString (const DcmTag &tag, const Uint32 len=0) | |
constructor. | |
DcmDecimalString (const DcmDecimalString &old) | |
copy constructor | |
virtual | ~DcmDecimalString () |
destructor | |
DcmDecimalString & | operator= (const DcmDecimalString &obj) |
assignment operator | |
virtual DcmObject * | clone () const |
clone method | |
virtual DcmEVR | ident () const |
get element type identifier | |
virtual OFCondition | getFloat64 (Float64 &doubleVal, const unsigned long pos=0) |
get particular float value | |
virtual OFCondition | getOFString (OFString &stringVal, const unsigned long pos, OFBool normalize=OFTrue) |
get a particular value as a character string |
Definition at line 46 of file dcvrds.h.
DcmDecimalString::DcmDecimalString | ( | 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().
DcmDecimalString::DcmDecimalString | ( | const DcmDecimalString & | old | ) |
copy constructor
old | element to be copied |
DcmDecimalString& DcmDecimalString::operator= | ( | const DcmDecimalString & | obj | ) |
assignment operator
obj | element to be assigned/copied |
virtual DcmObject* DcmDecimalString::clone | ( | ) | const [inline, virtual] |
clone method
Reimplemented from DcmByteString.
Definition at line 78 of file dcvrds.h.
References DcmDecimalString().
virtual DcmEVR DcmDecimalString::ident | ( | ) | const [virtual] |
get element type identifier
Reimplemented from DcmByteString.
virtual OFCondition DcmDecimalString::getFloat64 | ( | Float64 & | doubleVal, | |
const unsigned long | pos = 0 | |||
) | [virtual] |
get particular float value
doubleVal | reference to result variable | |
pos | index of the value to be retrieved (0..vm-1) |
Reimplemented from DcmElement.
virtual OFCondition DcmDecimalString::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.