33 #include "dcmtk/config/osconfig.h" 35 #include "dcmtk/dcmdata/dcbytstr.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);
130 const OFBool checkLength = OFTrue);
virtual ~DcmCodeString()
destructor
DcmCodeString & operator=(const DcmCodeString &obj)
assignment operator
virtual DcmObject * clone() const
clone method
this class encapsulates an attribute tag (group, element) and a VR.
virtual OFCondition copyFrom(const DcmObject &rhs)
Virtual object copying.
Abstract base class for most classes in module dcmdata.
a class representing the DICOM value representation 'Code String' (CS)
base class for all DICOM value representations storing a character string
static OFCondition checkStringValue(const OFString &value, const OFString &vm="1-n")
check whether given string value conforms to the VR "CS" (Code String) and to the specified VM...
virtual OFCondition getOFString(OFString &stringVal, const unsigned long pos, OFBool normalize=OFTrue)
get a copy of a particular string component
virtual DcmEVR ident() const
get element type identifier
static OFBool checkVR(const OFString &value, size_t *pos=NULL, const OFBool checkLength=OFTrue)
check whether given value conforms to value representation CS (Code String).
DcmCodeString(const DcmTag &tag, const Uint32 len=0)
constructor.
a simple string class that implements a subset of std::string.
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
General purpose class for condition codes.