#include <gdcmTagKey.h>
Public Member Functions | |
TagKey (uint16_t gr, uint16_t elt) | |
TagKey () | |
std::string | str () const |
void | SetGroup (uint16_t group) |
uint16_t | GetGroup () const |
void | SetElement (uint16_t elem) |
uint16_t | GetElement () const |
TagKey & | operator= (const TagKey &_val) |
TagKey (const TagKey &_val) | |
const uint16_t & | operator[] (const unsigned int &_id) const |
const uint16_t & | operator[] (const unsigned int &_id) |
bool | operator== (const TagKey &_val) const |
bool | operator!= (const TagKey &_val) const |
bool | operator< (const TagKey &_val) const |
Private Attributes | |
uint16_t | tag [2] |
Friends | |
std::ostream & | operator<< (std::ostream &_os, const TagKey &_val) |
Definition at line 32 of file gdcmTagKey.h.
|
Definition at line 35 of file gdcmTagKey.h. References tag.
|
|
Definition at line 36 of file gdcmTagKey.h. References tag.
|
|
Definition at line 60 of file gdcmTagKey.h. References tag.
|
|
Definition at line 51 of file gdcmTagKey.h. References tag. 00051 { return tag[1]; }
|
|
Definition at line 48 of file gdcmTagKey.h. References tag. 00048 { return tag[0]; }
|
|
Definition at line 82 of file gdcmTagKey.h. References tag.
|
|
Definition at line 87 of file gdcmTagKey.h. References tag. 00088 { 00089 return tag[0] < _val.tag[0] 00090 || (tag[0] == _val.tag[0] && tag[1] < _val.tag[1]); 00091 }
|
|
Definition at line 53 of file gdcmTagKey.h. References tag.
|
|
Definition at line 77 of file gdcmTagKey.h. References tag.
|
|
Definition at line 71 of file gdcmTagKey.h. References tag. 00072 { 00073 assert(_id<2); 00074 return tag[_id]; 00075 }
|
|
Definition at line 66 of file gdcmTagKey.h. References tag. 00067 { 00068 assert(_id<2); 00069 return tag[_id]; 00070 }
|
|
Definition at line 50 of file gdcmTagKey.h. References tag. Referenced by gdcm::DicomEntry::DicomEntry(), and gdcm::DictEntry::DictEntry(). 00050 { tag[1] = elem; }
|
|
Definition at line 47 of file gdcmTagKey.h. References tag. Referenced by gdcm::DicomEntry::DicomEntry(), and gdcm::DictEntry::DictEntry(). 00047 { tag[0] = group; }
|
|
Definition at line 40 of file gdcmTagKey.h. References tag. Referenced by gdcm::DicomDirElement::Print(). 00041 { 00042 char res[10]; 00043 sprintf(res,"%04x|%04x",tag[0],tag[1]); 00044 return std::string(res); 00045 }
|
|
Definition at line 98 of file gdcmTagKey.h. 00099 { 00100 _os.setf( std::ios::right); 00101 _os << std::hex << std::setw( 4 ) << std::setfill( '0' ) 00102 << _val.tag[0] << '|' << std::setw( 4 ) << std::setfill( '0' ) 00103 << _val.tag[1] << std::setfill( ' ' ) << std::dec; 00104 return _os; 00105 }
|
|
Definition at line 94 of file gdcmTagKey.h. Referenced by GetElement(), GetGroup(), operator!=(), operator<(), gdcm::operator<<(), operator=(), operator==(), operator[](), SetElement(), SetGroup(), str(), and TagKey(). |