33 #include "dcmtk/config/osconfig.h"
35 #include "dcmtk/ofstd/ofvector.h"
36 #include "dcmtk/dcmdata/dcbytstr.h"
53 const Uint32 len = 0);
95 virtual DcmEVR
ident()
const;
105 const OFBool oldFormat = OFFalse);
113 const unsigned long pos = 0);
133 const unsigned long pos,
134 OFBool normalize = OFTrue);
142 const size_t flags = 0);
DcmDecimalString & operator=(const DcmDecimalString &obj)
assignment operator
virtual OFCondition writeXML(STD_NAMESPACE ostream &out, const size_t flags=0)
write object in XML format
a class representing the DICOM value representation 'Decimal String' (DS)
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
this class encapsulates an attribute tag (group, element) and a VR.
virtual DcmObject * clone() const
clone method
Abstract base class for most classes in module dcmdata.
virtual DcmEVR ident() const
get element type identifier
this is a resizable array.
virtual OFCondition getFloat64Vector(OFVector< Float64 > &doubleVals)
get stored float values as a vector.
static OFCondition checkStringValue(const OFString &value, const OFString &vm="1-n")
check whether given string value conforms to the VR "DS" (Decimal String) and to the specified VM...
base class for all DICOM value representations storing a character string
virtual ~DcmDecimalString()
destructor
virtual OFCondition checkValue(const OFString &vm="1-n", const OFBool oldFormat=OFFalse)
check whether stored value conforms to the VR and to the specified VM
virtual OFCondition copyFrom(const DcmObject &rhs)
Virtual object copying.
DcmDecimalString(const DcmTag &tag, const Uint32 len=0)
constructor.
a simple string class that implements a subset of std::string.
General purpose class for condition codes.