Public Member Functions | |
DcmVR () | |
default constructor | |
DcmVR (DcmEVR evr) | |
constructor | |
DcmVR (const char *vrName) | |
constructor | |
DcmVR (const DcmVR &avr) | |
copy constructor | |
void | setVR (DcmEVR evr) |
assign new VR value | |
void | setVR (const char *vrName) |
assign new VR value by name | |
void | setVR (const DcmVR &avr) |
assign new VR value | |
DcmVR & | operator= (const DcmVR &arg) |
copy assignment operator | |
DcmEVR | getEVR () const |
get enumerated VR managed by this object | |
DcmEVR | getValidEVR () const |
get enumerated standard VR managed by this object. | |
const char * | getVRName () const |
get symbolic VR name for this object | |
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. | |
size_t | getValueWidth () const |
compute the size for non-empty values of this VR. | |
OFBool | isStandard () const |
returns true if VR is a standard DICOM VR | |
OFBool | isForInternalUseOnly () const |
returns true if VR is for internal use only | |
OFBool | isaString () const |
returns true if VR represents a string | |
OFBool | usesExtendedLengthEncoding () const |
returns true if VR uses an extended length encoding for explicit transfer syntaxes | |
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 VR and the other one is a possible standard VR to which the internal one maps. | |
Uint32 | getMinValueLength () const |
return minimum length of a value with this VR (in bytes), assuming single byte characters | |
Uint32 | getMaxValueLength () const |
return maximum length of a value with this VR (in bytes), assuming single byte characters | |
Private Attributes | |
DcmEVR | vr |
the enumerated VR value |
Definition at line 119 of file dcvr.h.
|
constructor
Definition at line 132 of file dcvr.h. References setVR(). |
|
constructor
Definition at line 142 of file dcvr.h. References setVR(). |
|
get enumerated VR managed by this object
Definition at line 181 of file dcvr.h. References vr. Referenced by DcmTag::getEVR(), and DcmDictEntry::getEVR(). |
|
return maximum length of a value with this VR (in bytes), assuming single byte characters
|
|
return minimum length of a value with this VR (in bytes), assuming single byte characters
|
|
get enumerated standard VR managed by this object. If this object manages a non-standard, internal VR such as EVR_ox, this method returns the enumerated VR to which the internal VR will be mapped when writing the DICOM object.
|
|
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.
|
|
compute the size for non-empty values of this VR. For fixed size VRs such as OW, US, SL, the method returns the size of each value, in bytes. For variable length VRs (strings), it returns 1. For internal VRs it returns 0.
|
|
get symbolic VR name for this object
Referenced by DcmTag::getVRName(). |
|
returns true if VR represents a string
Referenced by DcmObject::isaString(). |
|
check if VRs are equivalent VRs are considered equivalent if equal or if one of them is an internal VR and the other one is a possible standard VR to which the internal one maps.
|
|
returns true if VR is for internal use only
|
|
returns true if VR is a standard DICOM VR
|
|
copy assignment operator
Definition at line 172 of file dcvr.h. References vr. |
|
assign new VR value
Definition at line 167 of file dcvr.h. References vr. |
|
assign new VR value by name
|
|
assign new VR value
Referenced by DcmVR(). |
|
returns true if VR uses an extended length encoding for explicit transfer syntaxes
|