33 #include "dcmtk/config/osconfig.h"
35 #include "dcmtk/dcmdata/dcchrstr.h"
52 const Uint32 len = 0);
94 virtual DcmEVR
ident()
const;
104 const OFBool oldFormat = OFFalse);
113 const unsigned long pos,
114 OFBool normalize = OFTrue);
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
DcmShortString(const DcmTag &tag, const Uint32 len=0)
constructor.
virtual DcmObject * clone() const
clone method
this class encapsulates an attribute tag (group, element) and a VR.
Abstract base class for most classes in module dcmdata.
base class for DICOM elements with value representation LO, LT, PN, SH, ST, UT
virtual OFCondition copyFrom(const DcmObject &rhs)
Virtual object copying.
a class representing the DICOM value representation 'Short String' (SH)
DcmShortString & operator=(const DcmShortString &obj)
assignment operator
virtual ~DcmShortString()
destructor
virtual OFCondition getOFString(OFString &stringVal, const unsigned long pos, OFBool normalize=OFTrue)
get a copy of a particular string component
a simple string class that implements a subset of std::string.
static OFCondition checkStringValue(const OFString &value, const OFString &vm="1-n")
check whether given string value conforms to the VR "SH" (Short String) and to the specified VM...
virtual DcmEVR ident() const
get element type identifier
General purpose class for condition codes.