#include <gdcmTagKey.h>
Public Member Functions | |
TagKey (uint16_t group, uint16_t elem) | |
TagKey () | |
std::string | str () const |
void | SetGroup (uint16_t group) |
sets the Group Number for the TagKey | |
uint16_t | GetGroup () const |
void | SetElement (uint16_t elem) |
sets the Element Number for the TagKey | |
uint16_t | GetElement () const |
void | SetGroupElem (uint16_t group, uint16_t elem) |
sets the Group Number and Element Number for the TagKey | |
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 65 of file gdcmTagKey.h. References tag.
|
|
Definition at line 52 of file gdcmTagKey.h. References tag. Referenced by GDCM_NAME_SPACE::File::GetTSize(). 00052 { return tag[1]; }
|
|
Definition at line 48 of file gdcmTagKey.h. References tag. Referenced by GDCM_NAME_SPACE::File::GetTSize(). 00048 { return tag[0]; }
|
|
Definition at line 87 of file gdcmTagKey.h. References tag.
|
|
Definition at line 92 of file gdcmTagKey.h. References tag. 00093 { 00094 return tag[0] < _val.tag[0] 00095 || (tag[0] == _val.tag[0] && tag[1] < _val.tag[1]); 00096 }
|
|
Definition at line 58 of file gdcmTagKey.h. References tag.
|
|
Definition at line 82 of file gdcmTagKey.h. References tag.
|
|
Definition at line 76 of file gdcmTagKey.h. References tag. 00077 { 00078 assert(_id<2); 00079 return tag[_id]; 00080 }
|
|
Definition at line 71 of file gdcmTagKey.h. References tag. 00072 { 00073 assert(_id<2); 00074 return tag[_id]; 00075 }
|
|
sets the Element Number for the TagKey
Definition at line 51 of file gdcmTagKey.h. References tag. Referenced by GDCM_NAME_SPACE::DictEntry::DictEntry(). 00051 { tag[1] = elem; }
|
|
sets the Group Number for the TagKey
Definition at line 47 of file gdcmTagKey.h. References tag. Referenced by GDCM_NAME_SPACE::DictEntry::DictEntry(). 00047 { tag[0] = group; }
|
|
sets the Group Number and Element Number for the TagKey
Definition at line 55 of file gdcmTagKey.h. References tag. Referenced by GDCM_NAME_SPACE::DocEntry::DocEntry().
|
|
Definition at line 40 of file gdcmTagKey.h. References tag. 00041 { 00042 char res[10]; 00043 sprintf(res,"%04x|%04x",tag[0],tag[1]); 00044 return std::string(res); 00045 }
|
|
Definition at line 103 of file gdcmTagKey.h. 00104 { 00105 _os.setf( std::ios::right); 00106 _os << std::hex << std::setw( 4 ) << std::setfill( '0' ) 00107 << _val.tag[0] << '|' << std::setw( 4 ) << std::setfill( '0' ) 00108 << _val.tag[1] << std::setfill( ' ' ) << std::dec; 00109 return _os; 00110 }
|
|
Definition at line 99 of file gdcmTagKey.h. Referenced by GetElement(), GetGroup(), operator!=(), operator<(), GDCM_NAME_SPACE::operator<<(), operator=(), operator==(), operator[](), SetElement(), SetGroup(), SetGroupElem(), str(), and TagKey(). |