| 
    DCMTK
    Version 3.6.9
    
   OFFIS DICOM Toolkit 
   | 
 
class maintaining a attribute tag (group and element number) More...
 Inheritance diagram for DcmTagKey:Public Member Functions | |
| DcmTagKey () | |
| default constructor  | |
| DcmTagKey (const DcmTagKey &key) | |
| copy constructor  More... | |
| DcmTagKey (Uint16 g, Uint16 e) | |
| constructor  More... | |
| virtual | ~DcmTagKey () | 
| destructor  | |
| void | set (const DcmTagKey &key) | 
| set value to given tag key  More... | |
| void | set (Uint16 g, Uint16 e) | 
| set value to given group and element  More... | |
| void | setGroup (Uint16 g) | 
| set group to given number  More... | |
| void | setElement (Uint16 e) | 
| set element to given number  More... | |
| Uint16 | getGroup () const | 
| returns group number  More... | |
| Uint16 | getElement () const | 
| returns element number  More... | |
| DcmTagKey | getBaseTag () const | 
| returns base tag, i.e.  More... | |
| OFBool | isGroupLength () const | 
| checks whether the tag key is a valid group length element.  More... | |
| OFBool | isPrivate () const | 
| returns true if the tag key is private, i.e.  More... | |
| 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.  More... | |
| OFBool | hasValidGroup () const | 
| returns true, if group is valid (permitted in DICOM command or data sets).  More... | |
| Uint32 | hash () const | 
| generate a simple hash code for this attribute tag.  More... | |
| DcmTagKey & | operator= (const DcmTagKey &key) | 
| assignment operator for initializing this tag key from an existing one  More... | |
| OFBool | operator== (const DcmTagKey &key) const | 
| comparison operator.  More... | |
| OFBool | operator!= (const DcmTagKey &key) const | 
| negation operator.  More... | |
| OFBool | operator< (const DcmTagKey &key) const | 
| 'less than' operator.  More... | |
| OFBool | operator> (const DcmTagKey &key) const | 
| 'greater than' operator.  More... | |
| OFBool | operator<= (const DcmTagKey &key) const | 
| 'less or equal' operator.  More... | |
| OFBool | operator>= (const DcmTagKey &key) const | 
| 'greater or equal' operator.  More... | |
| OFString | toString () const | 
| convert tag key to string having the form "(gggg,eeee)".  More... | |
| OFBool | isSignableTag () const | 
| returns true if a data element with the given tag key can be digitally signed, false otherwise  More... | |
Protected Member Functions | |
| int | groupLT (const DcmTagKey &key) const | 
| less-than operation comparing only group numbers  More... | |
| int | groupGT (const DcmTagKey &key) const | 
| greater-than operation comparing only group numbers  More... | |
| int | groupEQ (const DcmTagKey &key) const | 
| comparison operation comparing only group numbers  More... | |
| int | elementLT (const DcmTagKey &key) const | 
| less-than operation comparing only element numbers  More... | |
| int | elementGT (const DcmTagKey &key) const | 
| greater-than operation comparing only element numbers  More... | |
| int | elementEQ (const DcmTagKey &key) const | 
| comparison operation comparing only element numbers  More... | |
Private Attributes | |
| Uint16 | group | 
| tag group number  | |
| Uint16 | element | 
| tag element number  | |
Friends | |
| DCMTK_DCMDATA_EXPORT STD_NAMESPACE ostream & | operator<< (STD_NAMESPACE ostream &s, const DcmTagKey &k) | 
| stream output operator for tag keys  More... | |
class maintaining a attribute tag (group and element number)
      
  | 
  inline | 
copy constructor
| key | [in] The tag key to initialize from | 
      
  | 
  inline | 
constructor
| g | group | 
| e | element | 
      
  | 
  inlineprotected | 
comparison operation comparing only element numbers
| key | the object to compare to | 
References getElement().
Referenced by operator==().
      
  | 
  inlineprotected | 
greater-than operation comparing only element numbers
| key | the object to compare to | 
References getElement().
Referenced by operator>().
      
  | 
  inlineprotected | 
less-than operation comparing only element numbers
| key | the object to compare to | 
References getElement().
Referenced by operator<().
| DcmTagKey DcmTagKey::getBaseTag | ( | ) | const | 
returns base tag, i.e.
in case of a repeating group tag always the base group number 0x5000 (curve) or 0x6000 (overlay) is used. For non-repeating group tags "this" tag key is returned.
      
  | 
  inline | 
returns element number
References element.
Referenced by elementEQ(), elementGT(), elementLT(), DcmTag::getETag(), hash(), and DcmDictEntry::isRepeatingElement().
      
  | 
  inline | 
returns group number
References group.
Referenced by DcmTag::getGTag(), groupEQ(), groupGT(), groupLT(), hash(), DcmDictEntry::isRepeatingGroup(), DcmDictEntry::setEQ(), and DcmDictEntry::subset().
      
  | 
  inlineprotected | 
comparison operation comparing only group numbers
| key | the object to compare to | 
References getGroup().
Referenced by operator<(), operator==(), and operator>().
      
  | 
  inlineprotected | 
greater-than operation comparing only group numbers
| key | the object to compare to | 
References getGroup().
Referenced by operator>().
      
  | 
  inlineprotected | 
less-than operation comparing only group numbers
| key | the object to compare to | 
References getGroup().
Referenced by operator<().
      
  | 
  inline | 
generate a simple hash code for this attribute tag.
Used for fast look-up in the DICOM dictionary.
References getElement(), and getGroup().
      
  | 
  inline | 
returns true, if group is valid (permitted in DICOM command or data sets).
Referring to the standard, groups 1, 3, 5, 7 and 0xFFFF are illegal.
References group.
Referenced by isGroupLength(), and isPrivate().
      
  | 
  inline | 
checks whether the tag key is a valid group length element.
Also calls hasValidGroup().
References element, and hasValidGroup().
      
  | 
  inline | 
returns true if the tag key is private, i.e.
whether it has an odd group number. Also hasValidGroup() is called.
References group, and hasValidGroup().
Referenced by isPrivateReservation().
      
  | 
  inline | 
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.
References element, and isPrivate().
| OFBool DcmTagKey::isSignableTag | ( | ) | const | 
returns true if a data element with the given tag key can be digitally signed, false otherwise
      
  | 
  inline | 
negation operator.
Returns true if either group or element number are not the same.
| key | key to compare with | 
      
  | 
  inline | 
'less than' operator.
Returns true if the given tag key is greater than "this".
| key | key to compare with | 
References elementLT(), groupEQ(), and groupLT().
      
  | 
  inline | 
'less or equal' operator.
Returns true if the given tag key is greater or the same as "this".
| key | key to compare with | 
assignment operator for initializing this tag key from an existing one
| key | [in] The key to copy from | 
References set().
      
  | 
  inline | 
comparison operator.
Returns true if both group and element number are the same.
| key | key to compare with | 
References elementEQ(), and groupEQ().
      
  | 
  inline | 
'greater than' operator.
Returns true if the given tag key is smaller than "this".
| key | key to compare with | 
References elementGT(), groupEQ(), and groupGT().
      
  | 
  inline | 
'greater or equal' operator.
Returns true if the given tag key is smaller or equal as "this".
| key | key to compare with | 
      
  | 
  inline | 
set value to given tag key
| key | attribute tag to copy | 
References element, and group.
Referenced by operator=().
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
| OFString DcmTagKey::toString | ( | ) | const | 
convert tag key to string having the form "(gggg,eeee)".
      
  | 
  friend | 
stream output operator for tag keys
| s | output stream | 
| k | tag key |