33 #include "dcmtk/config/osconfig.h"
35 #include "dcmtk/dcmdata/dcchrstr.h"
51 const Uint32 len = 0);
93 virtual DcmEVR
ident()
const;
101 const OFBool oldFormat = OFFalse);
108 virtual unsigned long getVM();
117 const unsigned long pos,
118 OFBool normalize = OFTrue);
126 OFBool normalize = OFTrue);
virtual DcmObject * clone() const
clone method
virtual OFCondition copyFrom(const DcmObject &rhs)
Virtual object copying.
static OFCondition checkStringValue(const OFString &value)
check whether given string value conforms to the VR "ST" (Short Text)
virtual unsigned long getVM()
get the value multiplicity.
DcmShortText & operator=(const DcmShortText &obj)
assignment operator
this class encapsulates an attribute tag (group, element) and a VR.
virtual ~DcmShortText()
destructor
Abstract base class for most classes in module dcmdata.
base class for DICOM elements with value representation LO, LT, PN, SH, ST, UT
a class representing the DICOM value representation 'Short Text' (ST)
virtual OFCondition getOFString(OFString &stringVal, const unsigned long pos, OFBool normalize=OFTrue)
get a copy of a particular string component
DcmShortText(const DcmTag &tag, const Uint32 len=0)
constructor.
a simple string class that implements a subset of std::string.
virtual OFCondition getOFStringArray(OFString &stringVal, OFBool normalize=OFTrue)
get the string value (all compenents)
virtual OFCondition checkValue(const OFString &vm="", const OFBool oldFormat=OFFalse)
check whether stored value conforms to the VR and to the specified VM
General purpose class for condition codes.
virtual DcmEVR ident() const
get element type identifier