32 #include "dcmtk/config/osconfig.h" 33 #include "dcmtk/ofstd/ofglobal.h" 233 void setVR(DcmEVR evr);
238 void setVR(
const char* vrName);
OFBool isEquivalent(const DcmVR &avr) const
check if VRs are equivalent VRs are considered equivalent if equal or if one of them is an internal V...
DcmVR()
default constructor
DcmEVR vr
the enumerated VR value
OFBool isForInternalUseOnly() const
returns true if VR is for internal use only
DcmVR(const char *vrName)
constructor
Uint32 getMinValueLength() const
return minimum length of a value with this VR (in bytes), assuming single byte characters ...
DcmVR(const DcmVR &avr)
copy constructor
DcmVR(DcmEVR evr)
constructor
a class representing a DICOM Value Representation
DcmVR & operator=(const DcmVR &arg)
copy assignment operator
void setVR(const DcmVR &avr)
assign new VR value
Uint32 getMaxValueLength() const
return maximum length of a value with this VR (in bytes), assuming single byte characters ...
OFBool isaString() const
returns true if VR represents a string
const char * getValidVRName() const
get symbolic standard VR name for this object If this object manages a non-standard, internal VR such as EVR_ox, this method returns the name of the VR to which the internal VR will be mapped when writing the DICOM object.
DcmEVR getValidEVR() const
get enumerated standard VR managed by this object.
size_t getValueWidth() const
compute the size for non-empty values of this VR.
void setVR(DcmEVR evr)
assign new VR value
DcmEVR getEVR() const
get enumerated VR managed by this object
OFBool usesExtendedLengthEncoding() const
returns true if VR uses an extended length encoding for explicit transfer syntaxes ...
const char * getVRName() const
get symbolic VR name for this object
OFBool isStandard() const
returns true if VR is a standard DICOM VR
Template class which allows to declare global objects that are protected by a Mutex if used in multi-...