GDCM
2.2.6
|
Class to represent a Private DICOM Data Element (Attribute) Tag (Group, Element, Owner) More...
#include <gdcmPrivateTag.h>
Public Member Functions | |
PrivateTag (uint16_t group=0, uint16_t element=0, const char *owner="") | |
PrivateTag (Tag const &t, const char *owner="") | |
DataElement | GetAsDataElement () const |
const char * | GetOwner () const |
bool | operator< (const PrivateTag &_val) const |
bool | ReadFromCommaSeparatedString (const char *str) |
void | SetOwner (const char *owner) |
![]() | |
Tag (uint16_t group, uint16_t element) | |
Constructor with 2*uint16_t. More... | |
Tag (uint32_t tag=0) | |
Constructor with 1*uint32_t Prefer the cstor that takes two uint16_t. More... | |
Tag (const Tag &_val) | |
uint16_t | GetElement () const |
Returns the 'Element number' of the given Tag. More... | |
uint32_t | GetElementTag () const |
Returns the full tag value of the given Tag. More... | |
uint16_t | GetGroup () const |
Returns the 'Group number' of the given Tag. More... | |
uint32_t | GetLength () const |
return the length of tag (read: size on disk) More... | |
Tag | GetPrivateCreator () const |
Return the Private Creator Data Element tag of a private data element. More... | |
bool | IsGroupLength () const |
return whether the tag correspond to a group length tag: More... | |
bool | IsGroupXX (const Tag &t) const |
e.g 6002,3000 belong to groupXX: 6000,3000 More... | |
bool | IsIllegal () const |
return if the tag is considered to be an illegal tag More... | |
bool | IsPrivate () const |
bool | IsPrivateCreator () const |
bool | IsPublic () const |
bool | operator!= (const Tag &_val) const |
bool | operator< (const Tag &_val) const |
bool | operator<= (const Tag &t2) const |
Tag & | operator= (const Tag &_val) |
bool | operator== (const Tag &_val) const |
const uint16_t & | operator[] (const unsigned int &_id) const |
Returns the Group or Element of the given Tag, depending on id (0/1) More... | |
uint16_t & | operator[] (const unsigned int &_id) |
Returns the Group or Element of the given Tag, depending on id (0/1) More... | |
std::string | PrintAsPipeSeparatedString () const |
template<typename TSwap > | |
std::istream & | Read (std::istream &is) |
Read a tag from binary representation. More... | |
bool | ReadFromCommaSeparatedString (const char *str) |
bool | ReadFromPipeSeparatedString (const char *str) |
void | SetElement (uint16_t element) |
Sets the 'Element number' of the given Tag. More... | |
void | SetElementTag (uint16_t group, uint16_t element) |
Sets the 'Group number' & 'Element number' of the given Tag. More... | |
void | SetElementTag (uint32_t tag) |
Sets the full tag value of the given Tag. More... | |
void | SetGroup (uint16_t group) |
Sets the 'Group number' of the given Tag. More... | |
void | SetPrivateCreator (Tag const &t) |
Set private creator: More... | |
template<typename TSwap > | |
const std::ostream & | Write (std::ostream &os) const |
Write a tag in binary rep. More... | |
Friends | |
std::ostream & | operator<< (std::ostream &_os, const PrivateTag &_val) |
Class to represent a Private DICOM Data Element (Attribute) Tag (Group, Element, Owner)
|
inline |
|
inline |
References gdcm::Tag::GetElement().
DataElement gdcm::PrivateTag::GetAsDataElement | ( | ) | const |
|
inline |
Referenced by gdcm::PrivateDict::PrintXML().
bool gdcm::PrivateTag::operator< | ( | const PrivateTag & | _val | ) | const |
bool gdcm::PrivateTag::ReadFromCommaSeparatedString | ( | const char * | str | ) |
Read PrivateTag from a string. Element number will be truncated to 8bits. Eg: "1234,5678,GDCM" is private tag: (1234,78,"GDCM")
|
inline |
|
friend |