|
| DcmTag () |
| default constructor
|
|
| DcmTag (const DcmTagKey &akey) |
| constructor.
|
|
| DcmTag (Uint16 g, Uint16 e) |
| constructor.
|
|
| DcmTag (const DcmTagKey &akey, const DcmVR &avr) |
| constructor.
|
|
| DcmTag (Uint16 g, Uint16 e, const DcmVR &avr) |
| constructor.
|
|
| DcmTag (const DcmTag &tag) |
| copy constructor
|
|
| ~DcmTag () |
| destructor
|
|
DcmTag & | operator= (const DcmTag &tag) |
| copy assignment operator
|
|
DcmVR | setVR (const DcmVR &avr) |
| set specific VR
|
|
DcmVR | getVR () const |
| returns VR object by value
|
|
DcmEVR | getEVR () const |
| returns VR code
|
|
const char * | getVRName () const |
| returns name of VR
|
|
Uint16 | getGTag () const |
| returns tag group
|
|
Uint16 | getETag () const |
| returns tag element
|
|
DcmTagKey | getXTag () const |
| returns a copy of the tag key by value
|
|
const char * | getTagName () |
| returns name of attribute tag.
|
|
const char * | getPrivateCreator () const |
| returns the current private creator string for this object if any, NULL otherwise.
|
|
void | setPrivateCreator (const char *privCreator) |
| assigns a private creator code and deletes a possibly cached attribute name since the attribute name could change if a different private creator code is used.
|
|
void | lookupVRinDictionary () |
| performs a look-up of the VR for the current tag key in the dictionary, under consideration of the private creator (if defined).
|
|
OFBool | isSignable () const |
| returns true if a data element with the given tag and VR can be digitally signed, false otherwise
|
|
OFBool | isUnknownVR () const |
| returns true if the VR used for writing is "UN"
|
|
OFCondition | error () const |
| returns current status flag
|
|
| DcmTagKey () |
| default constructor
|
|
| DcmTagKey (const DcmTagKey &key) |
| copy constructor
|
|
| DcmTagKey (Uint16 g, Uint16 e) |
| constructor
|
|
virtual | ~DcmTagKey () |
| destructor
|
|
void | set (const DcmTagKey &key) |
| set value to given tag key
|
|
void | set (Uint16 g, Uint16 e) |
| set value to given group and element
|
|
void | setGroup (Uint16 g) |
| set group to given number
|
|
void | setElement (Uint16 e) |
| set element to given number
|
|
Uint16 | getGroup () const |
| returns group number
|
|
Uint16 | getElement () const |
| returns element number
|
|
OFBool | isGroupLength () const |
| checks whether the tag key is a valid group length element.
|
|
OFBool | isPrivate () const |
| returns true if the tag key is private, ie.
|
|
OFBool | isPrivateReservation () const |
| returns true, if tag is a private reservation tag of the form (gggg,00xx) with gggg being odd and xx in the range of 10 and FF.
|
|
OFBool | hasValidGroup () const |
| returns true, if group is valid (permitted in DICOM files).
|
|
Uint32 | hash () const |
| generate a simple hash code for this attribute tag, used for fast look-up in the DICOM dictionary
|
|
DcmTagKey & | operator= (const DcmTagKey &key) |
| assignment operator for initializing this tag key from an existing one.
|
|
int | operator== (const DcmTagKey &key) const |
| Comparison operator.
|
|
int | operator!= (const DcmTagKey &key) const |
| negation operator.
|
|
int | operator< (const DcmTagKey &key) const |
| 'less than' operator.
|
|
int | operator> (const DcmTagKey &key) const |
| 'greater than' operator.
|
|
int | operator<= (const DcmTagKey &key) const |
| 'less or equal' operator.
|
|
int | operator>= (const DcmTagKey &key) const |
| 'greater or equal' operator.
|
|
OFString | toString () const |
| convert tag key to string having the form "(gggg,eeee)".
|
|
OFBool | isSignableTag () const |
| returns true if a data element with the given tag key can be digitally signed, false otherwise
|
|
|
int | groupLT (const DcmTagKey &key) const |
| less-than operation comparing only group numbers
|
|
int | groupGT (const DcmTagKey &key) const |
| greater-than operation comparing only group numbers
|
|
int | groupEQ (const DcmTagKey &key) const |
| comparison operation comparing only group numbers
|
|
int | elementLT (const DcmTagKey &key) const |
| less-than operation comparing only element numbers
|
|
int | elementGT (const DcmTagKey &key) const |
| greater-than operation comparing only element numbers
|
|
int | elementEQ (const DcmTagKey &key) const |
| comparison operation comparing only element numbers
|
|
this class encapsulates an attribute tag (group, element) and a VR.
It maintains a private creator name for private tags and caches the attribute name, once it is looked up in the data dictionary. This class maintains the interface to the DICOM data dictionary, i.e. performs look-ups of attribute VR and name in the background. Therefore, creation of DcmTag element is significantly more expensive than creation of simple DcmTagKey objects unless the VR is passed in the constructor.
Definition at line 50 of file dctag.h.